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
$ for i in {1..3} ; do echo sample $i ; mkdir unpack$i && tar tvf sample$i.tar && bsdtar xf sample$i.tar -C unpack$i && find unpack$i -ls ; done | |
sample 1 | |
lrwxrwxrwx admin/admin 0 2018-05-17 15:27 foo -> bar | |
-rw-r--r-- admin/admin 6 2018-05-17 15:27 foo | |
263199 4 drwxr-xr-x 2 admin admin 4096 May 17 15:48 unpack1 | |
266605 4 -rw-r--r-- 1 admin admin 6 May 17 15:27 unpack1/foo | |
sample 2 | |
lrwxrwxrwx admin/admin 0 2018-05-17 15:25 foo -> /bar | |
-rw-r--r-- admin/admin 6 2018-05-17 15:25 foo | |
266606 4 drwxr-xr-x 2 admin admin 4096 May 17 15:48 unpack2 |
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
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. | |
[[projects]] | |
branch = "master" | |
name = "github.com/armon/go-socks5" | |
packages = ["."] | |
revision = "5ab49e6379c2e1ea5f402e29430ac01f39e60acc" | |
source = "github.com/artyom/go-socks5" |
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
tlstun (master) ¶ goversion -m $(which tlstun) | |
/Users/artyom/go/bin/tlstun go1.10 | |
path github.com/artyom/tlstun | |
mod github.com/artyom/tlstun (devel) | |
dep github.com/armon/go-socks5 v0.0.0-20171215124554-5ab49e6379c2 | |
=> github.com/artyom/go-socks5 v0.0.0-20171215124554-5ab49e6379c2 | |
dep github.com/artyom/autoflags v1.1.0 | |
dep github.com/artyom/logger v0.0.0-20170228124418-866fc605019a | |
dep github.com/artyom/ping v0.0.0-20180120203215-e7d66403f7ac | |
dep github.com/pkg/errors v0.8.0 |
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
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA512 | |
- ------------------------------------------------------------------------- | |
Debian Security Advisory DSA-3999-1 security@debian.org | |
https://www.debian.org/security/ Yves-Alexis Perez | |
October 16, 2017 https://www.debian.org/security/faq | |
- ------------------------------------------------------------------------- | |
Package : wpa |
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
// +build !linux | |
package socket | |
import "net" | |
func Listen(network, address string) (net.Listener, error) { return net.Listen(network, address) } |
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
recheck ¶ cat naive.py | |
import re | |
for i in xrange(0,1000000): | |
re.match("^[\w-]+:\s", "foo: bar") | |
recheck ¶ time python naive.py | |
real 0m1.479s | |
user 0m1.443s | |
sys 0m0.020s |
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
diff --git i/bitmapist.go w/bitmapist.go | |
index 0e22f2c..345ae31 100644 | |
--- i/bitmapist.go | |
+++ w/bitmapist.go | |
@@ -18,10 +18,11 @@ import ( | |
func main() { | |
args := struct { | |
- Addr string `flag:"addr,address to listen"` | |
- File string `flag:"db,path to database file"` |
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
~ ¶ cat .bin/org.acme.kill_distnoted.plist | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>org.acme.kill_distnoted</string> | |
<key>Program</key> | |
<string>/Users/artyom/.bin/checkdistnoted</string> | |
<key>ProgramArguments</key> |
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" | |
"bytes" | |
"flag" | |
"fmt" | |
"io" | |
"io/ioutil" | |
"log" |
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
__pschar () { | |
IFS=':' read -ra PDIRS <<< "$GOPATH" | |
for P in "${PDIRS[@]}" ; do | |
test "${1#$P}" = "$1" || { | |
printf "" | |
return | |
} | |
done | |
printf "¶" | |
} |