Skip to content

Instantly share code, notes, and snippets.

@syahrasi
syahrasi / SassMeister-input-HTML.haml
Created January 14, 2014 03:24
Generated by SassMeister.com.
- 20.times do |i|
%div{:class => "box box-#{i + 1}"}
@syahrasi
syahrasi / SassMeister-input-HTML.haml
Created January 13, 2014 09:31
Generated by SassMeister.com.
- 10.times do |i|
%div{:class => "box box-#{i + 1}"}
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
@syahrasi
syahrasi / flatuicolors-input-HTML.html
Last active January 2, 2016 11:19
Flat UI Colors
<h1 class="emerald bg-midnight_blue">Lorem ipsum dolor sit amet</h1>
/*
Colors from http://flatuicolors.com/
*/
//green
$turquoise : #1abc9c;
$emerald : #2ecc71;
$green_sea : #16a085;
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://npmjs.org/install.sh | sh
@syahrasi
syahrasi / Gemfile
Created January 2, 2014 06:36 — forked from tuomasj/Gemfile
Sinatra Setup w/ Rack-livereload and Guard
source "https://rubygems.org"
gem 'guard'
gem 'guard-livereload'
gem 'rack-livereload'
@syahrasi
syahrasi / Gemfile
Created January 2, 2014 06:34
Rack-livereload with Sinatra
group :development, :test do
gem "guard-livereload"
gem "rack-livereload"
end
@syahrasi
syahrasi / spinner-input-HTML.haml
Last active January 1, 2016 04:19
Generated by SassMeister.com.
.spinners
- 12.times do |i|
%div{:class => "spinner-#{i+1}"}
<html>
<head>
<title>Circle</title>
<style>
.spinner {
margin: 100px auto;
width: 20px;
height: 20px;
position: relative;
}