wget https://raw.githubusercontent.com/petervanderdoes/gitflow-avh/develop/contrib/gitflow-installer.sh
sudo bash gitflow-installer.sh install stable
rm gitflow-installer.sh
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
tell application "Safari" | |
-- if it is running then | |
-- quit | |
-- delay 5 | |
-- end if | |
activate | |
open location "http://www.dslreports.com/speedtest" | |
delay 1 | |
activate |
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
function makeCookie() { | |
Game.shimmerTypes.golden.time = Game.shimmerTypes.golden.maxTime; | |
} | |
function clickVisibleCookies() { | |
Game.shimmers.forEach(function(item) { | |
if (item.type === 'golden') { | |
item.l.click(); | |
} | |
}); |
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
<?php | |
namespace App\Providers; | |
use Illuminate\Routing\Router; | |
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; | |
class RouteServiceProvider extends ServiceProvider | |
{ |
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/python | |
import os | |
import sys | |
import csv | |
import datetime | |
import time | |
import twitter | |
def test(): | |
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
#!/bin/bash | |
set -e | |
if [ "${LISTEN_PID}" != $$ ]; then | |
echo >&2 "file descriptors not for us, pid not matching: '${LISTEN_PID}' != '$$'" | |
exit 255 | |
fi | |
if [ "${LISTEN_FDS}" != "1" ]; then |
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
mmkatz@hyperion:/tmp/mmkatz/fuse-test/redis/src$ ./redis-server | |
13958:C 11 Sep 21:03:08.268 # Warning: no config file specified, using the default config. In order to specify a config file use ./redis-server /path/to/redis.conf | |
13958:M 11 Sep 21:03:08.270 # You requested maxclients of 10000 requiring at least 10032 max file descriptors. | |
13958:M 11 Sep 21:03:08.270 # Redis can't set maximum open files to 10032 because of OS error: Operation not permitted. | |
13958:M 11 Sep 21:03:08.270 # Current maximum open files is 1024. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'. | |
_._ | |
_.-``__ ''-._ | |
_.-`` `. `_. ''-._ Redis 2.9.999 (f5efa9bb/0) 64 bit | |
.-`` .-```. ```\/ _.,_ ''-._ | |
( ' , .-` | `, ) Running in standalone mode |
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
Installing atom-color-highlight to C:\Users\moshe\.atom\packages failed | |
> oniguruma@2.0.0 install C:\Users\moshe\AppData\Local\Temp\apm-install-dir-114622-13172-fbp86q\node_modules\atom-color-highlight\node_modules\oniguruma | |
> node-gyp rebuild | |
C:\Users\moshe\AppData\Local\Temp\apm-install-dir-114622-13172-fbp86q\node_modules\atom-color-highlight\node_modules\oniguruma>node "C:\Chocolatey\lib\Atom.0.117.0\tools\Atom\resources\app\apm\node_modules\atom-package-manager\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild | |
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. | |
regposix.c | |
regposerr.c |
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/python | |
from subprocess import Popen, PIPE | |
import re | |
class lsof(): | |
""" | |
lsof wrapper class | |
An automated wrapper around lsof output that yields |
#Dada Mail (or any other CGI) on Nginx
DISCLAIMER: DO NOT rely on this for production (yet)! I'm not done testing it out.
Nginx does not have built in support for traditional CGI applications (of which Dada Mail is one), so it won't work out of the box.
To make a very long story short, here are a Plack wrapper script and nginx configuration that I have found seem to work.
Notes: