I hereby claim:
- I am radmen on github.
- I am radmen (https://keybase.io/radmen) on keybase.
- I have a public key whose fingerprint is 12A2 C89B 8C68 94E8 3EFB 309A 8D55 6BB6 D7E3 7BE8
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
order = require "../src" | |
path = require "path" | |
{ File } = require "gulp-util" | |
{ expect } = require "chai" | |
require "mocha" | |
newFile = (filepath, base) -> | |
cwd = "/home/johndoe/" | |
unless base |
# adapted from http://notes.jimlindley.com/2008/3/25/git-svn-that-works-for-me | |
# initial setup | |
git svn init <svn_repo> | |
git svn fetch -r HEAD | |
# alternate way - when there's need to use branches etc | |
git svn clone --trunk=devel --branches=branches -r NUM <svn_repo> # NUM is one of the latest revisions | |
git svn fetch | |
# alternate way - END |
var page = require('webpage').create(), | |
system = require('system'), | |
fs = require('fs'), | |
uri = document.createElement('a'), // from this https://gist.github.com/2428561 | |
viewport, | |
hash = function(string) { | |
var hash = 0, | |
char; | |
if (string.length == 0) return hash; |
<?php | |
// this is needed | |
$foo = null; | |
$foo = function($no = 1) use (& $foo) { | |
echo "Foo: {$no}\n"; | |
if($no < 10) { | |
$foo($no + 1); | |
} |
javascript:var%20script%20=%20document.createElement('script');script.src%20=%20'https://ajax.googleapis.com/ajax/libs/mootools/1.4.5/mootools-yui-compressed.js';script.type='text/javascript';document.getElementsByTagName('head')[0].appendChild(script);void(0); |
// ported from http://dis.4chan.org/read/prog/1295544154 | |
var numbers = [10, 3, 2, 6, 1, 5], | |
sleep_sort = function() { | |
var i = numbers.shift(); | |
if(!numbers.length) { | |
return; | |
} | |
<?php | |
$verbs = 'GET|POST|PUT|DELETE|PATCH'; | |
$routeToRegex = function ($string) use ($verbs) { | |
$string = preg_replace("/^({$verbs})/", '', $string); | |
$string = preg_replace('/\{\w+\}/', '\w+', $string); | |
$string = preg_replace('/\{(\w+):(.+?)\}/', '\2', $string); | |
return '#^'.$string.'$#'; | |
}; |
#! /bin/bash | |
### BEGIN INIT INFO | |
# Provides: gitlab | |
# Required-Start: $local_fs $remote_fs $network $syslog redis-server | |
# Required-Stop: $local_fs $remote_fs $network $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: GitLab git repository management | |
# Description: GitLab git repository management | |
### END INIT INFO |
{"www.youtube.com":{"_enabled":true,"_rules":{"div.comments-section":{"display":"none"}}},"www.trojmiasto.pl":{"_enabled":true,"_rules":{"div.opinions-wrap.opinions-tree":{"display":"none"}}},"wyborcza.pl":{"_enabled":true,"_rules":{"#article_toolbar":{"display":"none"}}},"*":{"_enabled":true,"_rules":{}},"gazeta.pl":{"_enabled":true,"_rules":{"#article_toolbar":{"display":"none"}}}} |