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 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 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 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 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 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 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 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 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 |
This file contains 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
(require 'org) | |
(setq-default indent-tabs-mode nil) | |
(setq org-display-inline-images t) | |
(setq org-redisplay-inline-images t) | |
(setq org-startup-with-inline-images "inlineimages") | |
(setq default-frame-alist | |
(append (list '(width . 72) '(height . 40)))) |