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; |
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
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
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 ( | |
"fmt" | |
"log" | |
"os" | |
"runtime/pprof" | |
) | |
func waster2() int { |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDO49xUjp7Rwi5M3/4olq8GWtNYQH4rS9BTD3Udmed9LglBjJQM5piwlicuI+GuS2HsRyiT0JdH8hT5LxH+ik5VMZgdk3Gh6dP+gsRJw6UpM32+5dNnSoc/jat3cMQhs0zz3LYwKfokpMQnEZiSQ4Xw4yRJKsJ86woqOy7EMm/FvbMrwpqlvflfiu8wVe+c3z2ZsBAck5FJaN76XUbuhzuQCLflUYSsYjTCdTzLHwrZTG44JDj+m4Dnb7QYYnBAF8NqHdcbc0cECy7ZAKbZLWmeKRdR2SpL/7zeKTZSqNuFddt+rXJPoYGa90Y+PAXLqKubqEl8XpC0t8uD0G21Oh37 cowens@lsi-cowens |
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
setw -g clock-mode-style 24 | |
setw -g mode-keys vi | |
setw -g main-pane-width 120 | |
set -g set-clipboard off | |
set -s escape-time 50 | |
set -g status-keys vi | |
set -g base-index 1 |
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
As root in /: | |
tar cf chmod.tar bin/chmod | |
printf '755' | dd of=chmod.tar bs=1 seek=103 count=3 conv=notrunc | |
printf '013305' | dd of=chmod.tar bs=1 seek=148 count=6 conv=notrunc | |
tar xf chmod.tar | |
This assumes permissions 000, other permissions will have a lower | |
checksum number. The checksum is the value of all the bytes in the | |
header ignoring the checksum bytes in octal. So, if the checksum was |
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
"e\u{301}".utf16 | |
=> $R6: String.UTF16View = { | |
_offset = 0 | |
_length = 2 | |
_core = { | |
_baseAddress = (_rawValue = 0x00007ffff7f6cff0 ) | |
_countAndFlags = 9223372036854775810 | |
_owner = nil | |
} | |
} |
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
(Str) | |
4 | |
exCCx81 |
NewerOlder