Apple Studio Display (5K) on Arch Linux with Hyprland was experiencing intermittent connection issues where:
- Display would not always connect reliably
- System detected the display as two separate devices
- Wrong display connector was sometimes chosen
Apple Studio Display (5K) on Arch Linux with Hyprland was experiencing intermittent connection issues where:
| Place your cursor on the line 6 and type 0"qy$@q to execute brainfuck code in line 9. | |
| Memory begins from line 22, you can add zeroes here to increase available amount. | |
| Line 21 is output. There is no input. Negative numbers are not supported. | |
| Plugins / remaps can break the interpreter. Run this with -u NONE. | |
| j0"sy$jjmcjmo/^catch jmz0"_d$jmd/catch kk$s0@s | |
| `c"cyl'o/\M^c W"cy$'d@c`clmc@s | |
| ++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+. |
The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.
This means you have the following choices:
import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.await import(…) from CommonJS instead of require(…).Here is the best setup (I think so :D) for K-series Keychron keyboards on Linux.
Note: many newer Keychron keyboards use QMK as firmware and most tips here do not apply to them. Maybe the ones related to Bluetooth can be useful, but everything related to Apple's keyboard module (hid_apple) on Linux, won't work. As far as I know, all QMK-based boards use the hid_generic module instead. Examples of QMK-based boards are: Q, Q-Pro, V, K-Pro, etc.
Most of these commands have been tested on Ubuntu 20.04 and should also work on most Debian-based distributions. If a command happens not to work for you, take a look in the comment section.
Older Keychron keyboards (those not based on QMK) use the hid_apple driver on Linux, even in the Windows/Android mode, both in Bluetooth and Wired modes.
This Python script is not maintained and was replaced by the more robust Rust version below:
Common Lisp is a general-purpose programming language with functions as first-class citizens. Don't worry about being purely functional, Lisp is Object Oriented too. CLOS is a very powerful object-oriented system!
The Common Lisp lingo is quite unique:
| [package] | |
| name = "snake_game" | |
| version = "0.1.0" | |
| authors = ["youcodethings <spyr1014@gmail.com>"] | |
| [dependencies] | |
| piston = "0.36.0" | |
| piston2d-graphics = "0.26.0" | |
| pistoncore-glutin_window = "0.45.0" | |
| piston2d-opengl_graphics = "0.52.0" |
| #include <future> | |
| #include <iostream> | |
| #include <thread> | |
| #include <queue> | |
| template <typename T> | |
| class concurrent_queue { | |
| private: | |
| std::queue<T> _queue; | |
| std::mutex _mutex; |
| #ifndef VECT_H | |
| #define VECT_H | |
| /* | |
| * vect.h -- type-safe generic dynamic array | |
| * made by sixthgear. BSD Licenced. | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> |
| (defun insert (item lst &optional (key #'<)) | |
| (if (null lst) | |
| (list item) | |
| (if (funcall key item (car lst)) | |
| (cons item lst) | |
| (cons (car lst) (insert item (cdr lst) key))))) | |
| (defun insertion-sort (lst &optional (key #'<)) | |
| (if (null lst) | |
| lst |