- 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
:
:
ctrl-r
searches your command history as you typeset -o vi
in your ~/.bashrc
to make use the vi keybindings instead of the Emacs ones. Takes some time to get used to, but it's fantastic!command < file.in
with command <<< "some input text"
ls docs; ^docs^web^
is equal to ls web
The second argument can be empty.""" | |
Chunk a sequence similar to the itertools grouper recipe, but without the filler. | |
>>> list(chunky(range(10), 0)) | |
[] | |
>>> list(chunky(range(10), 1)) | |
[(0,), (1,), (2,), (3,), (4,), (5,), (6,), (7,), (8,), (9,)] | |
>>> list(chunky(range(10), 5)) |
import time | |
import math | |
import logging | |
retry_logger = logging.getLogger('retry_logger') | |
# Retry decorator with exponential backoff | |
def retry(tries, delay=3, backoff=2): | |
'''Retries a function or method until it completes or the retry limit is reached. |
[alias] | |
g = grep --break --heading --line-number | |
purr = pull --rebase | |
disp = log --left-right --graph --cherry-pick --oneline @{u}.. |
### Keybase proof | |
I hereby claim: | |
* I am willist on github. | |
* I am timwillis (https://keybase.io/timwillis) on keybase. | |
* I have a public key ASDJSN0rdiHyd1rtsz4BI41h3NE29zKt954AWftP5WwrfQo | |
To claim this, I am signing this object: |