- 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
open SCaml;; | |
type amount = tz;; | |
type dest = unit contract;; | |
type threshold = nat;; | |
type keys = key list;; | |
type action = | |
| Transfer of amount * dest | |
| Change_keys of threshold * keys |
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
open SCaml | |
type action = | |
| Transfer of {amount: tz; dest: unit contract} | |
| Delegate of key_hash option | |
| ChangeKeys of {threshold : nat; keys : key list} | |
type parameter = | |
{counter: nat; action: action; sigs : signature option list} |
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
import socket | |
import threading | |
import re | |
import time | |
class ircOutputBuffer: | |
# Delays consecutive messages by at least 1 second. | |
# This prevents the bot spamming the IRC server. | |
def __init__(self, irc): | |
self.waiting = False |
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 | |
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 |