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"
-server | |
-Xms2048m | |
-Xmx2048m | |
-XX:NewSize=512m | |
-XX:MaxNewSize=512m | |
-XX:PermSize=512m | |
-XX:MaxPermSize=512m | |
-XX:+UseParNewGC | |
-XX:ParallelGCThreads=4 | |
-XX:MaxTenuringThreshold=1 |
#!/bin/bash | |
################################################################################# | |
# WARNING: DO NOT JUST RUN THIS SCRIPT BLINDLY. MAKE SURE YOU UNDERSTAND WHAT IT | |
# IS DOING. IT *WILL* TRY TO COMMIT CHANGES. IT WILL ALSO TRY TO EAT YOUR | |
# CHILDREN. IT MAY CAUSE THE SUN TO GO SUPERNOVA. I CLAIM NO RESPONSIBILITY FOR | |
# WHATEVER HAPPENS AFTER YOU RUN THIS. NOW, CARRY ON. :-) | |
# | |
# This script, run from the root of a Maven single or multi-module project, will | |
# update the pom files to increment the build number on the version. |
/* global require, module */ | |
// Prepend app name on assets names | |
var EmberApp = require('ember-cli/lib/broccoli/ember-app'); | |
var app = new EmberApp({ | |
fingerprint: { | |
enabled: true, | |
prepend: '/appX/' |
1. install
brew install tor
brew install privoxy
2. copy and modify config file
install the normal way:
wget https://downloads-packages.s3.amazonaws.com/ubuntu-14.04/gitlab_7.7.2-omnibus.5.4.2.ci-1_amd64.deb & > /dev/null
sudo apt-get update
sudo apt-get upgrade
Ref: https://gist.github.com/vertexclique/9839383
Please use built-in Terminal.app (of Mac OS X) to type and rune the command, do not use another tool (like iTerm2).
Common step after enter run the patch command:
require 'net/http' | |
require 'json' | |
require 'uri' | |
@token = '' | |
def list_files | |
ts_to = (Time.now - 30 * 24 * 60 * 60).to_i # 30 days ago | |
params = { | |
token: @token, |
import skimage; | |
from skimage import data | |
from skimage.filters import threshold_otsu | |
from skimage.segmentation import clear_border | |
from skimage.measure import label | |
from skimage.morphology import closing, square | |
from skimage.measure import regionprops | |
from skimage.color import label2rgb | |
import cv2 | |
import numpy as np |