I hereby claim:
- I am ChristianWitts on github.
- I am christianwitts (https://keybase.io/christianwitts) on keybase.
- I have a public key whose fingerprint is EC75 D618 1FDC 7332 15F5 DDA4 A252 4449 6F44 44FA
To claim this, I am signing this object:
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
import json | |
import re | |
import sys | |
from urlparse import urlparse | |
from datetime import datetime | |
START_BLOCK = 'Running' | |
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
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
➜ enricosada git clone git@github.com:enricosada/paket-netcore-testing.git | |
Cloning into 'paket-netcore-testing'... | |
remote: Counting objects: 126, done. | |
remote: Compressing objects: 100% (64/64), done. | |
remote: Total 126 (delta 44), reused 99 (delta 39), pack-reused 19 | |
Receiving objects: 100% (126/126), 2.66 MiB | 239.00 KiB/s, done. | |
Resolving deltas: 100% (46/46), done. | |
➜ enricosada dotnet --version | |
2.1.2 | |
➜ enricosada cd paket-netcore-testing |
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
#!/usr/bin/env bash | |
set -eou pipefail | |
# Atlassian has a script to aid in some tasks [1] | |
# This is to create a case sensitive file-system specifically for macOS [2] | |
java -jar ~/svn-migration-scripts.jar create-disk-image 5 GitMigration | |
SVN_DOMAIN="" | |
# List the SVN Project Name and corresponding Git name 1-for-1 |
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
#!/usr/bin/env python | |
# $ setenforce Permissive | |
import SimpleHTTPServer | |
import SocketServer | |
import logging | |
import os | |
PORT = os.getenv("PORT", 8000) |
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
#!/usr/bin/env python | |
# Install OpenCV and numpy | |
# $ pip install opencv-python numpy | |
import cv2 | |
import numpy as np | |
img = cv2.imread("bgr.png") | |
# minimum value of brown pixel in BGR order -> burleywood |
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
// Replace this list with the result of to-run-on-org-page.js | |
// And remember to do an "npm install" | |
var users = ["voxpelli"]; | |
var https = require('https'); | |
var fs = require('fs'); | |
var exec = require('child_process').exec; | |
var tmp = require('temporary-directory') | |
var cuid = require('cuid'); | |
var chalk = require('chalk'); |
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
var page = require('webpage').create(), | |
system = require('system'), | |
address, output, size; | |
if (system.args.length < 3 || system.args.length > 5) { | |
console.log('Usage: rasterize.js URL filename [paperwidth*paperheight|paperformat] [zoom]'); | |
console.log(' paper (pdf output) examples: "5in*7.5in", "10cm*20cm", "A4", "Letter"'); | |
console.log(' image (png/jpg output) examples: "1920px" entire page, window width 1920px'); | |
console.log(' "800px*600px" window, clipped to 800x600'); | |
phantom.exit(1); |
OlderNewer