Skip to content

Instantly share code, notes, and snippets.

@jonah-williams
jonah-williams / build.sh
Created April 30, 2011 17:46
Command line iOS project builds and over-the-air distribution
#!/bin/bash
# https://gist.github.com/949831
# http://blog.carbonfive.com/2011/05/04/automated-ad-hoc-builds-using-xcode-4/
# command line OTA distribution references and examples
# http://nachbaur.com/blog/how-to-automate-your-iphone-app-builds-with-hudson
# http://nachbaur.com/blog/building-ios-apps-for-over-the-air-adhoc-distribution
# http://blog.octo.com/en/automating-over-the-air-deployment-for-iphone/
# http://www.neat.io/posts/2010/10/27/automated-ota-ios-app-distribution.html
@skeeet
skeeet / xcode_ramdisk.sh
Created April 12, 2012 13:35 — forked from MaximKeegan/xcode_ramdisk.sh
Create a RAM disk for using with XCode
#!/bin/sh
# Create a RAM disk with same perms as mountpoint
# Script based on http://itux.idev.pro/2012/04/iservice-speed-up-your-xcode-%D0%BD%D0%B5%D0%BA%D0%BE%D1%82%D0%BE%D1%80%D1%8B%D0%B5-%D1%81%D0%BF%D0%BE%D1%81%D0%BE%D0%B1%D1%8B/ with some additions
# Usage: sudo ./xcode_ramdisk.sh start
USERNAME=$(logname)
TMP_DIR="/private/tmp"
RUN_DIR="/var/run"
SYS_CACHES_DIR="/Library/Caches"
@urielka
urielka / ipin.py
Created September 3, 2012 12:37
iOS PNG uncrushers based on http://www.axelbrz.com.ar/?mod=iphone-png-images-normalizer with a fix for multiple IDAT
#---
# iPIN - iPhone PNG Images Normalizer v1.0
# Copyright (C) 2007
#
# Author:
# Axel E. Brzostowski
# http://www.axelbrz.com.ar/
# axelbrz@gmail.com
#
# References:
@linyize
linyize / xctool_archive.sh
Last active December 31, 2015 19:38
Bash shell to package inhouse/development/adhoc/appstore ios app (then upload to inhouse webserver) Usage: ./xctool_archive.sh PathToProject Scheme
#!/bin/sh -ex
# install xctool : brew install xctool
inhouseserver="http://inhouse.xxx.com/upload"
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
projectpath=$1
scheme=$2
projectname=$(basename "${projectpath}")
@tkrahn
tkrahn / bigY_hg38_pipeline.sh
Created April 8, 2018 19:27
Script to annotate a BigY VCF file and identify the derived and novel SNPs
#!/bin/bash
START=$(date +%s.%N)
clear
# setup parameters
YSEQID=${PWD##*/}
# YSEQID="1234" # (the above command simply gets the name of the last segment of the current working directory)
NUM_THREADS=80
REF="/genomes/0/refseq/hg38/hg38.fa"
@nimatrueway
nimatrueway / install.sh
Last active September 14, 2023 05:52
Install uGet Download Manager on macOS
# Warning: INCOMPLETE, GTK has problems !
brew install intltool pkg-config gtk+3 libnotify gstreamer openssl
# install gnu xgettext
export GETTEXT_VERSION=$(curl https://ftp.gnu.org/pub/gnu/gettext/ | grep -oP 'gettext-[0-9.]+(?=.tar.gz)' | sort | tail -n 1)
wget "http://ftp.gnu.org/pub/gnu/gettext/$GETTEXT_VERSION.tar.gz"
tar -zxvf "$GETTEXT_VERSION.tar.gz"
cd "$GETTEXT_VERSION"
./configure
make