background preloader

Web programming

Facebook Twitter

Ruby QuickRef | zenspider.com by ryan davis. Table of Contents Language General Tips These are tips I’ve given over and over and over and over… Use 2 space indent, no tabs. See for more. General Syntax Rules Comments start with a pound/sharp (#) character and go to EOL. Reserved Words alias and BEGIN begin break case class def defined? Types Basic types are numbers, strings, ranges, regexen, symbols, arrays, and hashes. Numbers 1231_234123.451.2e-30xffff 0b01011 0377 ? Strings In all of the %() cases below, you may use any matching characters or any single character for delimiters. %[], %!! 'no interpolation'"#{interpolation}, and backslashes\n"%q(no interpolation)%Q(interpolation and backslashes)%(interpolation and backslashes)`echo command interpretation with interpolation and backslashes`%x(echo command interpretation with interpolation and backslashes) Backslashes: Here Docs: Encodings: Waaaay too much to cover here.

Symbols Internalized String. Ranges 1..101...10'a'..' Regexen "r" Contents. Subtle Patterns | Free textures for your next web project. Design Seeds® | for all who ❤ color.

Typography

Skeleton: Beautiful Boilerplate for Responsive, Mobile-Friendly Development. A Complete Guide to Flexbox. The Ultimate Flexbox Cheat Sheet. Can I use... Support tables for HTML5, CSS3, etc. Closure example (codewars) Webdev: reddit for web developers. Move The Web Forward | Guide to getting involved with standards and browser development. Your Web, documented · WebPlatform.org.