⌘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 hidden or 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
<!doctype html> | |
<html> | |
<head> | |
<meta charset=utf-8> | |
<title>Handlebars</title> | |
<style> | |
span { | |
color: red; | |
font-size: 0.5em |
This file contains hidden or 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
return "%s, %s" % (s, hash_str(s)) | |
import hmac | |
hmac.new("secret","udacity").hexdigest() |
This file contains hidden or 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
# list all databases | |
psql -l | |
# list all tables | |
psql autruche.db -c "\d" | |
# start server | |
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start | |
# and stop with: |