apt-get install python-pip
pip install shadowsocks
sudo ssserver -p 443 -k password -m aes-256-cfb --user nobody -d start
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
# install missing libraries (if any) | |
cd ~ | |
sudo yum update | |
yum install java-1.7.0-openjdk.x86_64 | |
yum install unzip | |
yum install mc | |
yum install wget | |
yum install curl | |
# get and unpack elasticsearch zip 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
//============================================================================ | |
// Name : OctaneCrawler.cpp | |
// Author : Berlin Brown (berlin dot brown at gmail.com) | |
// Version : | |
// Copyright : Copyright Berlin Brown 2012-2013 | |
// License : BSD | |
// Description : This is the simplest possible web crawler in C++ | |
// Uses boost_regex and boost_algorithm | |
//============================================================================ |
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
<?php | |
/** | |
* Description of VideoStream | |
* | |
* @author Rana | |
* @link http://codesamplez.com/programming/php-html5-video-streaming-tutorial | |
*/ | |
class VideoStream | |
{ | |
private $path = ""; |
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
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 |
package main
import (
"fmt"
"unicode"
)
func validPassword(s string) error {
next:
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
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.
OlderNewer