⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Il simbolo della Apple in Unicode --> <-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rails | |
<internal:gem_prelude>:114:in `push_gem_version_on_load_path': undefined method `<=>' for nil:NilClass (NoMethodError) | |
from <internal:gem_prelude>:8:in `gem' | |
from /usr/bin/rails:18:in `<main>' | |
$ gem list | |
*** LOCAL GEMS *** | |
abstract (1.0.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: ruby twitter-oauth-example.rb | |
require "rubygems" | |
require "oauth" | |
require "json" | |
CONSUMER_KEY = 'fill me' | |
CONSUMER_SECRET = 'fill me' | |
ACCESS_TOKEN = '' # don't worry | |
ACCESS_TOKEN_SECRET = '' # you'll get them! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: ruby google-oauth-example.rb | |
require "rubygems" | |
require "oauth" | |
require "json" | |
CONSUMER_KEY = 'anonymous' | |
CONSUMER_SECRET = 'anonymous' | |
ACCESS_TOKEN = '' | |
ACCESS_TOKEN_SECRET = '' # Get them from Google Playground |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ dev_appserver.sh root | |
13-lug-2010 15.57.57 com.google.apphosting.utils.jetty.JettyLogger info | |
INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger | |
13-lug-2010 15.57.57 com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml | |
INFO: Successfully processed /home/grigio/Documenti/testing/appengine-blog-example/root/WEB-INF/appengine-web.xml | |
13-lug-2010 15.57.57 com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml | |
INFO: Successfully processed /home/grigio/Documenti/testing/appengine-blog-example/root/WEB-INF/web.xml | |
13-lug-2010 15.58.23 com.google.apphosting.utils.jetty.JettyLogger warn | |
AVVERTENZA: EXCEPTION | |
java.lang.ClassNotFoundException: org.ringojs.jsgi.JsgiServlet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# OpenSSL example configuration file. | |
# This is mostly being used for generation of certificate requests. | |
# | |
# This definition stops the following lines choking if HOME isn't | |
# defined. | |
HOME = . | |
RANDFILE = $ENV::HOME/.rnd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ myapp git:(master) heroku pg:psql | |
psql (9.1.3, server 9.1.4) | |
SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256) | |
Type "help" for help. | |
d7342gd34r=> | |
d7342gd34r=> select count(*) from coords; | |
count | |
-------- | |
188980 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -u | |
function error () { printf >&2 "%s\n\nPlease see README.md for build instructions.\n" "$1"; exit; } | |
# ================================================= | |
# = Fallback build directory and signing identity = | |
# ================================================= | |
: ${builddir:=$HOME/build/TextMate} | |
: ${identity:=-} |
OlderNewer