I hereby claim:
- I am jernejcic on github.
- I am jernejcic (https://keybase.io/jernejcic) on keybase.
- I have a public key ASCxUklsnIFzf9Ov0QowQHcydvir1NorSpOlVHrRBKxyFAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| /* | |
| * IMPORTANT: THIS FILE SHOULD NEVER BE SHARED AS IT COULD POTENTIALLY | |
| * BE A MAJOR SECURITY HOLE, ALLOWING SOMEONE WITH ACCESS THE | |
| * ABILITY TO MANIPULATE AND SEE ANYTHING INSIDE OF GMAIL | |
| * | |
| * BY: LUKE RYAN JERNEJCIC | |
| * WEBSITE: https://lukeryan.org | |
| * LICENSE: GPLv3 | |
| * | |
| * This is a very dangerous file. Any gmail filter in here is used to delete |
| " Maintainer: Luke Jernejcic | |
| " Last change: 2014/11/06 | |
| " | |
| " To use it, copy it to | |
| " for Unix and OS/2: ~/.vimrc | |
| " for Amiga: s:.vimrc | |
| " for MS-DOS and Win32: $VIM\_vimrc | |
| " for OpenVMS: sys$login:.vimrc | |
| " When started as "evim", evim.vim will already have done these settings. |
| # --------------------------------------------------------------------------- | |
| # | |
| # Description: This file holds all my BASH configurations and aliases. | |
| # Much of this was originally copied from: | |
| # http://natelandau.com/my-mac-osx-bash_profile/ | |
| # | |
| # Sections: | |
| # 1. Environment Configuration | |
| # 2. Make Terminal Better (remapping defaults and adding functionality) | |
| # 3. File and Folder Management |
| def application(environ, start_response) | |
| html = "<html><body>" | |
| html += "<h1>Hello World!</h1>" | |
| html += "</body></html>" | |
| start_response('200 OK', [('Content-type', 'text/plain'), ('Content-Length', str(len(html)))]) | |
| return [html] |
| # Increment the build number with every build. | |
| BUILDNUM=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "${PROJECT_DIR}/${INFOPLIST_FILE}") | |
| BUILDNUM=$(($BUILDNUM + 1)) | |
| /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $BUILDNUM" "${PROJECT_DIR}/${INFOPLIST_FILE}" | |
| # This splits a two-decimal version string, such as "0.45.123", allowing us to increment the third position. | |
| VERSIONNUM=$(/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" "${PROJECT_DIR}/${INFOPLIST_FILE}") | |
| NEWSUBVERSION=`echo $VERSIONNUM | awk -F "." '{print $3}'` | |
| NEWSUBVERSION=$(($NEWSUBVERSION + 1)) | |
| NEWVERSIONSTRING=`echo $VERSIONNUM | awk -F "." '{print $1 "." $2 ".'$NEWSUBVERSION'" }'` |