If .DS_Store was never added to your git repository, simply add it to your .gitignore file.
.gitignore
In your the root directory of your app and simply write
$ curl --help | |
Usage: curl [options...] <url> | |
--abstract-unix-socket <path> Connect via abstract Unix domain socket | |
--alt-svc <file name> Enable alt-svc with this cache file | |
--anyauth Pick any authentication method | |
-a, --append Append to target file when uploading | |
--basic Use HTTP Basic Authentication | |
--cacert <file> CA certificate to verify peer against | |
--capath <dir> CA directory to verify peer against | |
-E, --cert <certificate[:password]> Client certificate file and password |
# Helpers for better embedding and manipulation of videos | |
# Place this code in app/helpers/videos_helper.rb | |
# Then from any view you can add: | |
# | |
# <%= get_video_iframe('http://the.video.url') %> | |
# | |
# Optionally you can add width and height. | |
# | |
# <%= get_video_iframe('http://the.video.url', '1600px', '900px') %> | |
# |
There are two types of markup in Liquid: Output and Tag.
{{ matched pairs of curly brackets (ie, braces) }}
## Sonic Pi triplets example | |
## http://sonic-pi.net | |
live_loop :triplets do | |
density 3 do | |
play :e4, release: 0.1 | |
sleep 1 | |
end | |
end |
require 'gosu' | |
ANIMATION_INTERVAL = 0.4 | |
module GameOfLife | |
class Cell | |
attr_accessor :x, :y | |
def initialize(hash) | |
raise 'Bad attribute keys' unless (hash.keys - [:x, :y, :alive]).empty? |
/*------------------------------------------ | |
Responsive Grid Media Queries - 1280, 1024, 768, 480 | |
1280-1024 - desktop (default grid) | |
1024-768 - tablet landscape | |
768-480 - tablet | |
480-less - phone landscape & smaller | |
--------------------------------------------*/ | |
@media all and (min-width: 1024px) and (max-width: 1280px) { } | |
@media all and (min-width: 768px) and (max-width: 1024px) { } |