Skip to content

Instantly share code, notes, and snippets.

View stepan's full-sized avatar

Stepan Grigoryan stepan

  • San Francisco, CA
View GitHub Profile
#!/usr/bin/env bash
set -e
PYTHON_VERSION=3.10.5
VIRTUALENV_NAME=app-3.10
SOURCE_FILE="source $PWD/.app_profile"
# .app_profile contents
#export PYENV_VIRTUALENV_DISABLE_PROMPT=1

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@stepan
stepan / gist:b7772ce37e2edbebd442
Created December 19, 2014 23:12
Auto increment build number in xcode
#!/bin/bash
bN=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "$INFOPLIST_FILE")
bN=$(($bN + 1))
bN=$(printf "%d" $bN)
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $bN" "$INFOPLIST_FILE"