ssh-keygen -t rsaOnce you have entered the Gen Key command, you will get a few more questions:
| #!/bin/bash | |
| # update_gfwlist.sh | |
| # Author : VincentSit | |
| # Copyright (c) http://xuexuefeng.com | |
| # | |
| # Example usage | |
| # | |
| # ./whatever-you-name-this.sh | |
| # | |
| # Task Scheduling (Optional) |
| package com.zycoo.android.sip.util; | |
| import java.io.UnsupportedEncodingException; | |
| /** | |
| * 取得给定汉字串的首字母串,即声母串 Title: ChineseCharToEn | |
| * | |
| * {@link http://blog.csdn.net/fei1502816/article/details/8446049} | |
| * | |
| * @date 2004-02-19 注:只支持GB2312字符集中的汉字 |
| # -*-coding: utf-8 -*- | |
| import sys | |
| import os | |
| num = sys.argv[1] # num is the amount of *.ts files | |
| def add(x): | |
| """'x' is the amount of *.ts | |
| This function should add all other .ts combined into '1.ts' |
| // | |
| // _oo0oo_ | |
| // o8888888o | |
| // 88" . "88 | |
| // (| -_- |) | |
| // 0\ = /0 | |
| // ___/`---'\___ | |
| // .' \\| |// '. | |
| // / \\||| : |||// \ | |
| // / _||||| -:- |||||- \ |
| #!/usr/bin/env zsh | |
| git show-branch -a \ | |
| | grep '\*' \ | |
| | grep -v `git rev-parse --abbrev-ref HEAD` \ | |
| | head -n1 \ | |
| | sed 's/.*\[\(.*\)\].*/\1/' \ | |
| | sed 's/[\^~].*//' | |
| # How it works: |
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://www.npmjs.org/install.sh | sh |