This gist's comment stream is a collection of webdev apps for OS X. Feel free to add links to apps you like, just make sure you add some context to what it does — either from the creator's website or your own thoughts.
— Erik
curl http://cs.sensiolabs.org/get/php-cs-fixer.phar -o php-cs-fixer.phar | |
curl -s http://getcomposer.org/installer | php | |
php composer.phar install --dev --no-interaction --prefer-source | |
mkdir -p build/logs | |
mkdir -p build/cov | |
#phpUnit setup | |
export WP_VERSION=3.5.1 | |
export WP_MULTISITE=0 | |
mkdir -p /tmp/wordpress | |
export WP_CORE_DIR=/tmp/wordpress/ |
# Capistrano Laravel 4 Deployment Tasks | |
# Watts Martin (layotl at gmail com) | |
# https://gist.github.com/chipotle/5506641 | |
# updated 14-Aug-2013 | |
# Assumptions: | |
# | |
# - You are using a .gitignore similar to Laravel's default, so your | |
# vendor directory and composer(.phar) are *not* under version control | |
# - Composer is installed as an executable at /usr/local/bin/composer |
// api/controllers/AuthController.js | |
var passport = require('passport'); | |
var AuthController = { | |
login: function (req,res) | |
{ | |
res.view(); | |
}, |
set :application, "App Name" # Your app name | |
set :repository, "git@github.com:xxxxx/xxx.git" # Your git repository | |
set :document_root, "/home/user/www/awesome_app" | |
set :deploy_via, :remote_cache | |
# SSH Settings | |
set :user, "user_ssh" | |
set :password, "password_ssh" | |
set :use_sudo, false |
{ | |
"store_id": null, | |
"storetype": { | |
"id": null, | |
"storetype_value" : { | |
"id" : null, "content_value" : | |
[ | |
{ | |
"lang" : "en", | |
"value" : "Food" |
/usr/bin/plutil -convert xml1 -o - ~/Library/Safari/Bookmarks.plist | grep -E -o '<string>http[s]{0,1}://.*</string>' | grep -v icloud | sed -E 's/<\/{0,1}string>//g' |
#!/bin/sh | |
### | |
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
### | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
import csv | |
from github2.client import Github | |
# api settings for github | |
git_username = '' | |
git_api_token = '' | |
git_repo = '' | |
# csv name | |
csv_name = "git_hub_issues.csv" |
#!/bin/bash | |
# Takes one parameter: a remote git repository URL. | |
# | |
# This is the stuff this script does: | |
# | |
# 1. Clones the repository | |
# 2. Fetches all remote branches | |
# 3. Compresses the folder | |
# 4. Deletes the cloned folder. |