create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| <?php | |
| error_reporting(E_ALL); | |
| ini_set('max_execution_time',0); | |
| # http://www.vipsocks24.com/ | |
| $list="107.10.35.178:42427 | |
| 108.20.152.202:1415 | |
| 110.142.196.145:43134 | |
| 115.118.195.23:1080 | |
| 115.252.100.245:1080 | |
| 115.252.143.165:1080 |
| #!/bin/bash | |
| # From http://tech.serbinn.net/2010/shell-script-to-create-ramdisk-on-mac-os-x/ | |
| # | |
| ARGS=2 | |
| E_BADARGS=99 | |
| if [ $# -ne $ARGS ] # correct number of arguments to the script; | |
| then |
| sudo kill `ps -ax | grep 'coreaudiod' | grep 'sbin' |awk '{print $1}'` | |
| # or... | |
| sudo killall coreaudiod |
| # fetch the changes from the remote | |
| git fetch origin | |
| # show commit logs of changes | |
| git log master..origin/master | |
| # show diffs of changes | |
| git diff master..origin/master | |
| # apply the changes by merge.. |
| // Just before switching jobs: | |
| // Add one of these. | |
| // Preferably into the same commit where you do a large merge. | |
| // | |
| // This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
| // and then it quickly escalated into more and more evil suggestions. | |
| // I've tried to capture interesting suggestions here. | |
| // | |
| // Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
| // @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
| repeat | |
| if application "Spotify" is running then | |
| tell application "Spotify" | |
| set seenTrack to "" | |
| repeat while player state is playing | |
| if player state is playing then | |
| set theAlbum to album of the current track | |
| set theTrack to name of the current track | |
| set theArtist to artist of the current track | |
| set trackLength to duration of current track |
| <?php | |
| error_reporting(E_ALL); | |
| ini_set('max_execution_time',0); | |
| # http://www.vipsocks24.com/ | |
| $list="107.10.35.178:42427 | |
| 108.20.152.202:1415 | |
| 110.142.196.145:43134 | |
| 115.118.195.23:1080 | |
| 115.252.100.245:1080 | |
| 115.252.143.165:1080 |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # 一个简单的 Socks5 代理服务器 , 只有 server 端 , 而且代码比较乱 | |
| # 不是很稳定 , 而且使用多线程并不是 select 模型 | |
| # Author : WangYihang <wangyihanger@gmail.com> | |
| import socket | |
| import threading | |
| import sys |