- Install Squirrel SQL.
- Download Microsoft JDBC Driver for SQL Server.
- Unpack JDBC Driver to a known location.
- Open Squirrel SQL
- From the menu bar, select Drivers > New Driver
:
function getURLParameter(name) { | |
return decodeURIComponent( | |
(RegExp('[?|&]'+name + '=' + '(.+?)(&|$)').exec(location.search)||[null,null])[1] | |
); | |
} | |
function setURLParameter(name,value){ | |
var search; | |
if(getURLParameter(name)){ | |
search =location.search.replace(new RegExp('([?|&]'+name + '=)' + '(.+?)(&|$)'),"$1"+encodeURIComponent(value)+"$3"); | |
}else if(location.search.length){ |
/* Copyright (c) 2012 Sven "FuzzYspo0N" Bergström | |
http://underscorediscovery.com | |
MIT Licensed. See LICENSE for full license. | |
Usage : node simplest.app.js | |
*/ | |
var |
#!/usr/bin/env python | |
""" | |
Very simple HTTP server in python (Updated for Python 3.7) | |
Usage: | |
./dummy-web-server.py -h | |
./dummy-web-server.py -l localhost -p 8000 | |
Send a GET request: |
:
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
// Add the following to your preferences file | |
"folder_exclude_patterns":[".git","node_modules"] |
var pair = function (x, y) { | |
return x << 16 & 0xffff0000 | y & 0x0000ffff; | |
}; | |
var depair = function (p) { | |
return [p >> 16 & 0xFFFF, p & 0xFFFF] | |
}; |
# Add the following 'help' target to your Makefile | |
# And add help text after each target name starting with '\#\#' | |
help: ## Show this help. | |
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//' | |
# Everything below is an example | |
target00: ## This message will show up when typing 'make help' | |
@echo does nothing |