Skip to content

Instantly share code, notes, and snippets.

@panfu
panfu / chef-install-snow-leopard.sh
Created January 6, 2010 06:01 — forked from gnip/chef-install-snow-leopard.sh
snow-leopard 安装宝典
# chef-server as ssh tunnel (reverse-proxy) for Mac OS X 10.6 SL
# Based loosely on Readme.rdoc - http://github.com/opscode/chef/
# port install CouchDB (may be broken on Snow Leopard)
sudo port install couchdb-devel
sudo launchctl load -w /Library/LaunchDaemons/org.apache.couchdb.plist
sudo launchctl unload -w /Library/LaunchDaemons/org.apache.couchdb.plist
# check for Trace/BPT trap error
couchdb
CTRL ^C
# Textmate essential bundles
cd ~/Library/Application\ Support/TextMate/Pristine\ Copy/Bundles
# mkdir -p cd /Applications/TextMate.app/Contents/SharedSupport/Bundles
git clone git://github.com/protocool/ack-tmbundle.git Ack.tmbundle
git clone git://github.com/textmate/ruby-haml.tmbundle.git
git clone git://github.com/seaofclouds/sass-textmate-bundle.git "Ruby Saas.tmbundle"
git clone git://github.com/bmabey/cucumber-tmbundle.git Cucumber.tmbundle
git clone git://github.com/karnowski/blue-ridge-tmbundle.git JavaScript\ Blue\ Ridge.tmbundle
git clone git://github.com/johnmuhl/nginx-tmbundle.git nginx.tmbundle
@panfu
panfu / .jshintrc
Last active August 29, 2015 14:27 — forked from haschek/.jshintrc
JSHint Configuration, Strict Edition
{
// --------------------------------------------------------------------
// JSHint Configuration, Strict Edition
// --------------------------------------------------------------------
//
// This is a options template for [JSHint][1], using [JSHint example][2]
// and [Ory Band's example][3] as basis and setting config values to
// be most strict:
//
// * set all enforcing options to true
@panfu
panfu / BalsamiqForever.py
Created December 20, 2023 08:04 — forked from HoussemNasri/BalsamiqForever.py
Extend your trial period for Balsamiq Wireframes on Windows and macOS Forever!
import json
import os
import time
import webbrowser
import sys
import re
def handleWindows(extra_seconds):
print("OS : Windows")