configure lrzsz for iterm2
1.Install lrzsz:brew install lrzsz
#!/bin/bash | |
set -e | |
set -x | |
BASE=`pwd` | |
########### ################################################################# | |
# zlib # #################################################################### | |
########### ################################################################# | |
wget -c https://zlib.net/zlib-1.2.11.tar.gz |
> * Go to [hexed.it](https://hexed.it/) | |
> * Click "Open File" and choose your sublime_text.exe **(DON'T FORGET TO BACKUP YOUR EXE FILE)** | |
> * Go to Search and in "Search for" put: 80 78 05 00 0F 94 C1 | |
> * In Search Type select "Enable replace" and put: 80 78 05 00 0F 94 C1 | |
> * Click "Find next" then "Replace" | |
> * Do the same thing with: C6 40 05 01 48 85 C9 => C6 40 05 01 48 85 C9 | |
> * Click "Save as" then name it: sublime_text | |
> * Copy your modified sublime_text.exe to directory Sublime Text |
Solution to the golang tour's concurrency exercise testing for equivalent binary trees.
Compare with similiar solution presented in golangbootcamp's concurrency chapter.
There can be many different binary trees with the same sequence of values stored at the leaves. For example, here are two binary trees storing the sequence 1, 1, 2, 3, 5, 8, 13.
Lookup the open port:
iptables -L -n
Add new open port:
//open 8080 port
iptables -I IN_public_allow -p tcp --dport 8080 -j ACCEPT
package main
import (
"fmt"
"unicode"
)
func validPassword(s string) error {
next:
Ref: https://gist.github.com/vertexclique/9839383
VERSION | PLATFORM | OFFSET | ORIGINAL | CRACKED |
---|---|---|---|---|
3143 | macOS | 0x65D4 | 55 | C3 |
3143 | macOS | 0x6219 | 55 | C3 |
3143 | macOS | 0x75214 | 55 48 89 E5 41 57 41 56 | 48 C7 C0 01 00 00 00 C3 |
First, set up shadowsocks as usual. Suppose your local is running on 127.0.0.1:1080.
Install proxychains.
On Debian/Ubuntu:
apt-get install proxychains On Mac OS X:
brew install proxychains-ng