- LG 27UD69P-4k
- expecting 2.0 1080p worst case
- Crystal Series case 570X RGB
- Silent Loop 360 water cooler
- 750W Straight Power 11
- Ryzen Threadripper 1920X
- X399 Aorus Gaming 7 mobo
- 16GB 3000MHz XPG Dazzle CL16
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
altwin:menu = +altwin(menu) | |
altwin:meta_alt = +altwin(meta_alt) | |
altwin:ctrl_win = +altwin(ctrl_win) | |
altwin:meta_win = +altwin(meta_win) | |
altwin:left_meta_win = +altwin(left_meta_win) | |
altwin:super_win = +altwin(super_win) | |
altwin:hyper_win = +altwin(hyper_win) | |
altwin:alt_super_win = +altwin(alt_super_win) | |
altwin:swap_lalt_lwin = +altwin(swap_lalt_lwin) | |
grp:switch = +group(switch) |
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
altwin:menu = +altwin(menu) | |
altwin:meta_alt = +altwin(meta_alt) | |
altwin:ctrl_win = +altwin(ctrl_win) | |
altwin:meta_win = +altwin(meta_win) | |
altwin:left_meta_win = +altwin(left_meta_win) | |
altwin:super_win = +altwin(super_win) | |
altwin:hyper_win = +altwin(hyper_win) | |
altwin:alt_super_win = +altwin(alt_super_win) | |
altwin:swap_lalt_lwin = +altwin(swap_lalt_lwin) | |
grp:switch = +group(switch) |
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
#define _XOPEN_SOURCE 700 | |
#include <signal.h> | |
#include <unistd.h> | |
int main() | |
{ | |
sigset_t set; | |
int status; | |
if (getpid() != 1) return 1; |
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
-module(systemd). | |
% This is what you need to adopt systemd in erlang | |
% | |
% Do whatever you want license. If you want, you can take this code under terms of MIT license. | |
-export([ready/0, reloading/0, stopping/0, watchdog/0]). | |
-export([start_link/0]). | |
-export([init/1, handle_info/2, terminate/2]). |
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/bash | |
set -e | |
BIN=$HOME/bin | |
#------------------------------------------------------------------------------ | |
# Notifications | |
#------------------------------------------------------------------------------ | |
DUNST_LOG_DIR=$HOME/var/log/dunst |
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/bash | |
W=`xdotool getactivewindow` | |
S1=`xprop -id ${W} |awk -F '"' '/WM_CLASS/{print $4}'` | |
echo "$S1" >> /tmp/log.txt | |
if [ "$S1" = "Firefox" ]; then | |
xdotool keydown --window ${W} Ctrl+t | |
fi |
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
#! /usr/bin/env node | |
var foo = function() { | |
console.log("foo's x: %s BEFORE IT ENTERS SCOPE", x); | |
x = "xb"; | |
y = "ya"; | |
return 0 | |
} | |
var main = function() { |
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
#! /usr/bin/env node | |
var foo = function() { | |
for (i=0; i<=2; i++) { | |
console.log("foo i: %d", i) | |
} | |
} | |
var main = function() { | |
for (i=0; i<=2; i++) { |
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
-define(required(Field, Type), Field = error({field_required, Field}) :: Type). | |
-define(optional(Field, Type), Field = none :: none | {some, Type}). | |
-record(state, | |
{ ?required(foo, #foo{}) | |
, ?optional(bar, bar()) | |
, ?optional(baz, binary()) | |
, ?optional(qux, binary()) | |
}). |