1. install
brew install tor
brew install privoxy
2. copy and modify config file
@echo off | |
FOR /f "tokens=*" %%i IN ('docker ps -aq') DO docker rm %%i | |
FOR /f "tokens=*" %%i IN ('docker images --format "{{.ID}}"') DO docker rmi %%i |
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, |
#!/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. |
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git | |
git fetch upstream | |
git pull upstream master |
#!/bin/bash | |
# Download GitKraken | |
wget https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz | |
# copy the downloaded file into /opt directory | |
cp gitkraken-amd64.tar.gz /opt/gitkraken | |
cd /opt |
1. install
brew install tor
brew install privoxy
2. copy and modify config file
//PhantomJS http://phantomjs.org/ based web crawler Anton Ivanov anton.al.ivanov@gmail.com 2012 | |
//UPDATE: This gist has been made into a Node.js module and now can be installed with "npm install js-crawler" | |
//the Node.js version does not use Phantom.JS, but the API available to the client is similar to the present gist | |
(function(host) { | |
function Crawler() { | |
this.visitedURLs = {}; | |
}; | |
#!/bin/sh | |
SHORTCUT="[Desktop Entry] | |
Name=Sublime Text 3 | |
Comment=Edit text files | |
Exec=/usr/local/sublime-text-3/sublime_text | |
Icon=/usr/local/sublime-text-3/Icon/128x128/sublime_text.png | |
Terminal=false | |
Type=Application | |
Encoding=UTF-8 | |
Categories=Utility;TextEditor;" |
setCssDynamical($event) { | |
console.log($event); | |
$event.source.trigger.nativeElement.childNodes[0].setAttribute("style", "font-size: 20px;font-weight: bold") | |
//mat-select-trigger | |
//mat-select-placeholder | |
//let elt = document.getElementsByClassName("mat-select-placeholder").item(0); | |
//elt.setAttribute("style", "font-size: 20px;font-weight: bold"); | |
} |
<md-input-container dividerColor="accent" class="input-container" floatPlaceholder="Test"> | |
<span md-prefix>$ </span> | |
<span md-suffix>.00</span> | |
<input mdInput name="value" ngModel placeholder="amount" align="end" > | |
</md-input-container> |