Skip to content

Instantly share code, notes, and snippets.

@rygood
rygood / key.md
Created February 3, 2023 20:02
Twitter (un)official Consumer Key

Twitter Official Consumer Key

Twitter for Android

type:            PIN
Consumer key:    3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for iPhone

type:            PIN

Consumer key: IQKbtAYlXLripLGPWd0HUA

@rygood
rygood / duplicate_line_xcode.md
Created May 6, 2021 16:10 — forked from emotality/duplicate_line_xcode.md
Xcode - Duplicate Line key binding

Xcode line duplicate

Bind keys to duplicate lines in Xcode

  1. Open below directory in Finder with Cmnd + Shift + G
/Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/Resources/
@rygood
rygood / mono.rb
Created December 3, 2013 16:54 — forked from shtirlic/mono.rb
# http://www.mono-project.com/Compiling_Mono_on_OSX
require 'formula'
class Mono < Formula
#url 'http://download.mono-project.com/sources/mono/mono-3.0.6.tar.bz2'
#sha1 'e2187f80366fcd65c55a1ab946f8d3b39e81be77'
url 'http://download.mono-project.com/sources/mono/mono-2.10.9.tar.bz2'
sha1 '1a6e8c5a0c3d88d87982259aa04402e028a283de'
@rygood
rygood / .bash_profile
Last active December 16, 2015 22:49
PHP & Nginx function wrappers for simple start, stop, restart. PHP assumes it was installed with brew.NEW: Added sudo support for nginxIMPROVED: Better argument passthroughExamples:php startphp restartphp stopnginx startnginx restartnginx stopnginx edit # opens nginx.conf for editting with Sublime Text 2nginx edit vim # opens nginx.conf for edit…
# Path
PATH=/usr/local/bin:/usr/local/sbin:$PATH
# Wrapper for simple PHP start, stop, & restart
function php {
if [[ $1 == 'start' ]]; then
if [[ $2 == 'php54' ]]; then
launchctl unload -w `brew --prefix php55`/homebrew.mxcl.php55.plist
formulaeArr=(`brew list | grep php54`)
brew unlink php55