This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA512 | |
4cae21e4fd64e3ffba6d3dd3bc245ff4bf130a9499fc64a045d47abff87e25df ChangeLog.md | |
486650befffd5a7256cf54fde0e65911d780c54c7c08ff534533e97d9aa520ff 2019-04-04T1323-v2.0.1-coldcard.dfu | |
f740d787e3daa5154f221aa463b0f3bdee93a8d3c1042b30733ae5a72faccfa9 2019-04-03T1450-v2.0.0-coldcard.dfu | |
5a7df5850f238e3ac5f5764f7af9b418e1a25e256409b55c45eec63c481fc581 2019-02-12T1409-v1.2.0-coldcard.dfu | |
76c7df67fa52fd915d0d4d7039c40e9333ed7100616797d9208ea7bc5e61d5cb 2018-11-26T1403-v1.1.0-coldcard.dfu | |
9656aa50766ab385e78baa2bc487319db882757dabd3bb1a4028b7c4529a1c6d 2018-09-11T1428-v1.0.2-coldcard.dfu | |
47e0655fb7a7b3509303eb1829a67543eeea7f1288cffa3e78ceb3207207304e 2018-09-05T1728-v1.0.1-coldcard.dfu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# OSX for Hackers (Mavericks/Yosemite) | |
# | |
# Source: https://gist.github.com/brandonb927/3195465 | |
#!/bin/sh | |
# Some things taken from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Ask for the administrator password upfront |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Compress git repos (git gc) recursively | |
# Use as at will, by @nvk | |
gspace(){ | |
for gitdir in `find ./ -name .git`; | |
do | |
workdir=${gitdir%/*}; | |
hrline 44; # see http://gist.github.com/nvk/5340820 | |
echo $workdir; | |
git --git-dir=$gitdir --work-tree=$workdir gc --aggressive; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ip(){ | |
hrline 36 | |
# Gets external IP from opendns.com | |
print -P "%F{240}|%f %F{$colorInfo}=> External IP%f `dig +short myip.opendns.com @resolver1.opendns.com` %F{240}|%f" | |
# Get's local IP from ipconfig | |
print -P "%F{240}|%f %F{$colorSecondary}=> Local IP %f `ipconfig getifaddr en0` %F{240}|%f" | |
# make line, https://gist.github.com/nvk/5340820 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hrline() { | |
# Checks for stout if none gives a default number | |
if [ -z "$1" ] | |
then | |
local length=50 | |
else | |
local length="$1" | |
fi | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl http://www.onemenny.com/blog/pictures-from-a-developers-life/ | grep .gif | sed 's/^.*src="//g' | sed 's/".*//g' | |
# wget -i $list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
serverhere(){ | |
open "http://localhost:8000"; | |
python -m SimpleHTTPServer | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Open github project and issues page | |
# PS: I'm not a dev, I'm sure there is better ways of writing this. | |
# use at will, by @nvk | |
gop(){ | |
url=$(git remote -v | perl -n -e 'm{:(.+?).git} && print $1,"\n"' | uniq ); | |
open "http://github.com/$url" | |
} | |
gip(){ | |
url=$(git remote -v | perl -n -e 'm{:(.+?).git} && print $1,"\n"' | uniq ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body{ | |
background:#D8D8D8 url(http://subtlepatterns.com/patterns/brillant.png); | |
font-family: Helvetica, Arial, sans-serif; | |
} | |
.input-field{ | |
border-radius: 2px; | |
background: #FFFFFF; | |
border: 1px solid #BDBDBD; | |
-moz-box-shadow: inset 0px 5px 0px 0 rgba(0,0,0,0.10); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# get's branch, fetches origin, resets. | |
alias gifu='branch=$(git rev-parse --abbrev-ref HEAD) && git fetch origin && git reset --hard origin/$branch' |