This file contains hidden or 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
WORKSPACE="FooTornado.xcworkspace" | |
SCHEME="FooTornado" | |
CONFIGURATION="Release" | |
RELEASE_BUILDDIR="Build/Products/Release-iphoneos" | |
APPLICATION_NAME="FooTornado" | |
BUILD_OUTPUT_DIR="buildOutput" | |
PROVISONING_PROFILE="FooCorp Generic AdHoc Profile" | |
rm -rf $BUILD_OUTPUT_DIR | |
mkdir $BUILD_OUTPUT_DIR |
This file contains hidden or 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
#!/usr/bin/env python2.7 | |
""" Print all of the (git/ssh or http) urls for all repos (public or | |
private+public with personal_token) in a GitHub account (user or organization). | |
Usage example:: | |
[HTTP_URLS=1] python2.7 list-all-repos.py account_name [personal_token] | |
It requires the pygithub3 module, which you can install on macos (Mac OSX) like this:: | |
# get pip if you don't have it | |
sudo python -m ensurepip | |
# In macos versions El Capitan and later, you must deal with System Integrity Protection | |
pip2 install --user pygithub3 |
This file contains hidden or 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
-- This sequence of commands will create a table named 'test1' and insert | |
-- 1,000,000 values into it. | |
-- | |
-- On my machine (M1 pro Mac) running this script with this command: | |
-- | |
-- cat insert_test2.sql | time sqlite3 foo.sqlite | |
-- | |
-- takes 0.244 seconds and creates an 11 megabyte sqlite3 db file | |
-- gzipping the db file reduces the size to 4.6 megs :) |