Posts
Published 18 February 2014
in archive
with tags
sql
A very useful SQL snippet today, courtesy of Danny Dawes and SQLAuthority.
Continue reading …
Published 10 February 2014
in archive
with tags
git
To count commits on a branch, you can use git rev-list
.
Continue reading …
Published 7 February 2014
in archive
with tags
linux
,
dd
,
fsutil
,
windows
Note from the future (Feb 3rd, 2020): just remember that DD stands for disk destroyer. Be careful using it, and never copypaste dd excerpts from the internet. Be safe.
Continue reading …
Published 5 February 2014
in archive
with tags
linux
,
ls
,
wc
,
count
Count files in current directory with:
Continue reading …
Published 5 February 2014
in archive
with tags
linux
,
rdp
,
ssh
,
windows
If you're like me, and you're paranoid about opening up access to your servers to the internet, you might sometimes find yourself needing to access them but not being on the local network. A handy trick to circumvent this, if you have access to SSH, is to open a tunnel.
Continue reading …