- Board: jj-40 v1.5 (QMK compatible)
- Switches: Zealios 62g
- Caps: DSA blanks
- Case: KPrepublic Aluminium
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;;; hl-block.el --- Highlight logical block at point -*- lexical-binding: t -*- | |
| ;; Copyright (C) 2025 Nicolas P. Rougier | |
| ;; Maintainer: Nicolas P. Rougier <Nicolas.Rougier@inria.fr> | |
| ;; Package-Requires: ((emacs "27.1")) | |
| ;; Keywords: convenience | |
| ;; This file is not part of GNU Emacs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <atomic> | |
| #include <chrono> | |
| #include <condition_variable> | |
| #include <deque> | |
| #include <future> | |
| #include <iostream> | |
| #include <mutex> | |
| #include <thread> | |
| #include <vector> |
While many remember the epic hyperHTML: A Virtual DOM Alternative post
I've published the 5th of March 2017,
the first official implementation
of the library was working as hyperHTML.bind(node) function for tagged literals the day before, and it's been in my experiments folder already for a little while.
At first glance people couldn't believe performance of the DBMonster demo shown in that article,
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <SFML/Graphics/Transform.hpp> | |
| #include <SFML/System/Vector2.hpp> | |
| #include <iostream> | |
| int main() { | |
| // First we'll need a vector to tranform | |
| sf::Vector2f myVector(2, 0); | |
| std::cout << "myVector: " << myVector.x << ", " << myVector.y << "\n"; | |
| // Then the actual transform |
Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.
- The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.
Translations: (No guarantee that the translations are up-to-date)
This article has been updated and is available here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-FileCopyrightText: 2015 Marek Rusinowski | |
| // SPDX-License-Identifier: MIT | |
| #include <memory> | |
| #include <cstdio> | |
| template<typename F> | |
| class defer_finalizer { | |
| F f; | |
| bool moved; | |
| public: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 7th-order spline and first three derivatives | |
| f(t) = a_7 t^7+a_6 t^6+a_5 t^5+a_4 t^4+a_3 t^3+a_2 t^2+a_1 t+a_0 | |
| f'(t) = 7 a_7 t^6+6 a_6 t^5+5 a_5 t^4+4 a_4 t^3+3 a_3 t^2+2 a_2 t+a_1 | |
| f''(t) = 42 a_7 t^5+30 a_6 t^4+20 a_5 t^3+12 a_4 t^2+6 a_3 t+2 a_2 | |
| f'''(t) = 210 a_7 t^4+120 a_6 t^3+60 a_5 t^2+24 a_4 t+6 a_3 | |
| Constraints | |
| f(0) = 0 = a_0 | |
| f(1) = 1 = a_7 + a_6 + a_5 + a_4 + a_3 + a_2 + a_1 + a_0 | |
| f'(0) = 0 = a_1 |
NewerOlder

