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 python | |
| # -*- coding: utf-8 -*- | |
| import socket | |
| import select | |
| import sys | |
| IP_TRANSPARENT = 19 | |
| HOST = "0.0.0.0" | |
| PORT = 10 |
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
| package main | |
| import ( | |
| "math/rand" | |
| "sort" | |
| "testing" | |
| "time" | |
| ) | |
| func randNums() []int { |
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
| package main | |
| import ( | |
| "bytes" | |
| "compress/gzip" | |
| "crypto/aes" | |
| "crypto/cipher" | |
| "crypto/md5" | |
| "crypto/rand" | |
| "fmt" |
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
| local _M = { | |
| scratchpad = {} | |
| } | |
| local yabai = string.gsub(hs.execute("which yabai", true), "%s+", "") | |
| _M.init = function() | |
| local output, status = _M.exec("query --windows") | |
| if not status then return end |
OlderNewer