Description | Command |
---|---|
Start a new session with session name | screen -S <session_name> |
List running sessions / screens | screen -ls |
Attach to a running session | screen -x |
Attach to a running session with name | screen -r <session_name> |
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
;; nano-emacs.el --- NANO Emacs (minimal version) -*- lexical-binding: t -*- | |
;; Copyright (c) 2025 Nicolas P. Rougier | |
;; Released under the GNU General Public License 3.0 | |
;; Author: Nicolas P. Rougier <[email protected]> | |
;; URL: https://github.com/rougier/nano-emacs | |
;; This is NANO Emacs in 256 lines, without any dependency | |
;; Usage (command line): emacs -Q -l nano.el -[light|dark] |
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
#!/bin/sh | |
set -xe | |
zig build-exe main.zig -O ReleaseSmall --library curl --library c $(pkg-config --cflags libcurl) |
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
#!/bin/sh | |
set -xe | |
cc -Wall -Werror -std=c11 -pedantic -c common.c | |
cc -Wall -Werror -std=c11 -pedantic -o main main.c common.o |
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
#!/bin/sh | |
set -xe | |
cc -Wall -Werror -std=c11 -pedantic -o main main.c |
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
#!/bin/sh | |
set -xe | |
cc -Wall -Werror -std=c11 -pedantic -lcurl -ljson-c -o main main.c |
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
((elixir-mode . ((my/use-exunit-custom . t) | |
(my/exunit-custom-mix-cmd . "docker exec -it <container_id_or_name> mix")))) |
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
# Filter event | |
@impl true | |
def handle_event("filter", %{"director" => director, "rating" => rating}, socket) do | |
params = [director: director, rating: rating] | |
movies = Movies.list_movies(params) | |
socket = | |
assign( | |
socket, | |
params ++ [movies: movies] |
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
ARG OTP_VERSION=22.0 | |
################################################## | |
# Base - setup project and docker cache for build | |
FROM erlang:${OTP_VERSION}-alpine as base | |
# elixir expects utf8. | |
ENV ELIXIR_VERSION="v1.9.1" \ | |
LANG=C.UTF-8 |
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
! Motospeed CK62 - layout remaped | |
! Caps as Ctrl, Menu as Hyper_L | |
clear lock | |
clear control | |
clear mod1 | |
clear mod2 | |
clear mod3 | |
clear mod4 | |
clear mod5 |
NewerOlder