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
package main | |
import ( | |
b "bufio" | |
f "fmt" | |
l "log" | |
"os" | |
r "regexp" | |
"strconv" | |
) |
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
package main | |
import ( | |
"bufio" | |
"fmt" | |
"log" | |
"os" | |
"strconv" | |
) |
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
# OS specific changes | |
# macOS specific commands | |
if-shell "[[ $(uname) == 'Darwin' ]]" { | |
# makes pbcopy work from the commandline | |
set-option -g default-command "reattach-to-user-namespace -l bash" | |
} | |
# prefix+t brings up a useless clock, make it look nice | |
set-option -w -g clock-mode-style 24 |
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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
open my $co2, "+>", "/dev/io8log" or die "$!"; | |
my $message = pack "C*", 0x00, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80; | |
my $ret = ioctl $co2, 0xC0094806, $message; |
OlderNewer