Skip to content

Instantly share code, notes, and snippets.

View thisconnect's full-sized avatar
💭
Set status

tcme thisconnect

💭
Set status
View GitHub Profile
@thisconnect
thisconnect / build.sh
Created March 4, 2012 10:05 — forked from eerne/build.sh
build pd
git clone git://pure-data.git.sourceforge.net/gitroot/pure-data/pure-data
cd pure-data
./autogen.sh
CFLAGS="-mmacosx-version-min=10.5" ./configure --enable-universal=i386
make -j3
cd src
./pd -nogui

How to create a double-click-to-start web server

  1. Download the "Start HTTP Server Here.command" file
    • In Safari you can do that by ⌥ (option) clicking the "raw" link next to that script.
  2. Add the executable flag
    so that it will run when you double-click it
    • type chmod +x "$HOME/Downloads/Start HTTP Server Here.command"
  3. Move the command file into the root folder of your website
  4. Double-click it to start your webserver.
    Your browser will load it up automatically
@thisconnect
thisconnect / build.sh
Created January 6, 2014 09:24 — forked from eerne/build.sh
git clone git://pure-data.git.sourceforge.net/gitroot/pure-data/pure-data
cd pure-data
./autogen.sh
CFLAGS="-mmacosx-version-min=10.5" ./configure --enable-universal=i386
make -j3
cd src
./pd -nogui
#!/bin/bash
if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF
appify v3.0.1 for Mac OS X - http://mths.be/appify
Creates the simplest possible Mac app from a shell script.
Appify takes a shell script as its first argument:
`basename "$0"` my-script.sh