Skip to content

Instantly share code, notes, and snippets.

View wzrdtales's full-sized avatar
💭
Chief Wizard

Tobias Gurtzick wzrdtales

💭
Chief Wizard
View GitHub Profile
@wzrdtales
wzrdtales / Ignore .DS_Store forever
Created August 9, 2016 08:58 — forked from linuslundahl/Ignore .DS_Store forever
Make git always ignore .DS_Store
$ git config --global core.excludesfile ~/.gitignore
$ echo .DS_Store >> ~/.gitignore

Keybase proof

I hereby claim:

  • I am wzrdtales on github.
  • I am wzrdtales (https://keybase.io/wzrdtales) on keybase.
  • I have a public key ASAr4f5bxhNwciUdjXxiw1H4hfa7-5NUhHpzNgeXvphF5Ao

To claim this, I am signing this object:

@wzrdtales
wzrdtales / breakcleancssonhttps.js
Last active March 16, 2016 13:04
clean-css broken proxy testcase
'use strict';
var CleanCSS = require( './' ),
httpProxy = require( 'http-proxy' ),
http = require( 'http' ),
https = require( 'https' ),
url = require( 'url' );
var proxy = httpProxy.createProxyServer();
var proxyServer = http.createServer((req, res) => {
@wzrdtales
wzrdtales / mariasql_update_without_result.js
Created September 28, 2015 18:45
test case that proofs that an update never returns any result
var mariasql = require('mariasql');
var connection = new mariasql();
connection.connect({
"host": "localhost",
"port": 3306,
"user": "root",
"password": "fancydancypassword",
"db": "curlydb",
@wzrdtales
wzrdtales / mariasql_tetcase.js
Last active September 20, 2015 12:45
test case to crash mariasql
var mariasql = require('mariasql');
var pool = [];
function create() {
var connection = new mariasql();