Change Current Directory to the Batch File Directory
cd /D "%~dp0"
#!/bin/sh | |
sudo apt-get install -y moreutils git-buildpackage | |
>debian/changelog | |
prevtag=initial | |
pkgname=`cat debian/control | grep '^Package: ' | sed 's/^Package: //'` | |
git tag -l v* | sort -V | while read tag; do | |
(echo "$pkgname (${tag#v}) unstable; urgency=low\n"; git log --pretty=format:' * %s' $prevtag..$tag; git log --pretty='format:%n%n -- %aN <%aE> %aD%n%n' $tag^..$tag) | cat - debian/changelog | sponge debian/changelog | |
prevtag=$tag |
Change Current Directory to the Batch File Directory
cd /D "%~dp0"
➜ bindkey
"^@" set-mark-command
"^A" beginning-of-line
"^B" backward-char
"^D" delete-char-or-list
"^E" end-of-line
"^F" forward-char
"^G" send-break
"^H" backward-delete-char
Predictable network interface device names based on:
- firmware/bios-provided index numbers for on-board devices
- firmware-provided pci-express hotplug slot index number
- physical/geographical location of the hardware
- the interface's MAC address
I hereby claim:
To claim this, I am signing this object:
alias www="python -m SimpleHTTPServer 8000" | |
alias ssh_via_proxy='ssh -o "ProxyCommand nc -X 5 -x localhost:6000 %h %p"' | |
alias git_merge_up="git merge upstream/master" | |
alias proxy_on='networksetup -setsocksfirewallproxystate "Wi-Fi" on' | |
alias proxy_off='networksetup -setsocksfirewallproxystate "Wi-Fi" off' | |
# Perl SED | |
# | |
alias psed="perl -pe" |
# xcode-build-bump.sh | |
# @desc Auto-increment the build number every time the project is run. | |
# @usage | |
# 1. Select: your Target in Xcode | |
# 2. Select: Build Phases Tab | |
# 3. Select: Add Build Phase -> Add Run Script | |
# 4. Paste code below in to new "Run Script" section | |
# 5. Drag the "Run Script" below "Link Binaries With Libraries" | |
# 6. Insure that your starting build number is set to a whole integer and not a float (e.g. 1, not 1.0) |