⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
/** | |
* 3D Now In Beta Ribbon | |
*/ | |
/*@font-face { | |
font-family: Collegiate; | |
src: url("Collegiate.ttf"); | |
}*/ | |
.ribbon-holder { |
Responsive layouts in stylus
-
There is no
span1..15
styles, instead your css defines your layout and your html remains semantic and not polluted with display information. As it should be. -
The markup is incredibly easy, you specify the wrappers width, and then each columns width in percentages. Every other grid framework I've found is incredibly complicated with this.
-
It allows you to have the exact same markup, and completely different styles for different devices, resolutions, stylesheets, whatever. As it should be.
function debugAccess(obj, prop, debugGet){ | |
var origValue = obj[prop]; | |
Object.defineProperty(obj, prop, { | |
get: function () { | |
if ( debugGet ) | |
debugger; | |
return origValue; | |
}, |
!!! | |
html | |
head | |
title= title | |
link(rel='stylesheet', href='/bootstrap.css') | |
link(rel='stylesheet', href='/bootstrap-responsive.css') | |
body | |
div.navbar.navbar-fixed-top | |
div.navbar-inner |
##References
##Create Rails App
command to make new directory:
mkdir AppName
Un url shortener. Tipo Bitly. | |
----------------------------- | |
HTML | |
---- | |
Me meto al sitio y tengo un formulario con un campo, que solo tiene un campo, la url. | |
Pongo una url, le doy submit y por medio de AJAX (sin reload) se me muestra la url corta. |
This guide enables you to install (ruby-build) and use (rbenv) multiple versions of ruby, isolate project gems (gemsets and/or bundler), and automatically use appropriate combinations of rubies and gems.
# Ensure system is in ship-shape.
aptitude install git zsh libssl-dev zlib1g-dev libreadline-dev libyaml-dev