Skip to content

Instantly share code, notes, and snippets.

View andrewabogado's full-sized avatar
🎯
Focusing

Andrew Abogado andrewabogado

🎯
Focusing
View GitHub Profile
@cheeaun
cheeaun / rdrc2014.md
Last active August 29, 2015 14:03
RedDotRubyConf 2014 links & resources
@callumj
callumj / hci.rb
Created October 23, 2011 14:20
Download the Web Applications videos from Stanford's OpenClassroom. http://openclassroom.stanford.edu
require 'uri'
require 'net/http'
require 'fileutils'
BASE = "http://openclassroom.stanford.edu/MainFolder/courses/HCI/videos/"
for l in 1..42 do
for p in 1..20 do
uri = "CS147L" + l.to_s + "P" + p.to_s + ".flv"
@kylefox
kylefox / _media_queries.sass
Created March 1, 2012 18:37 — forked from jcroft/layout.sass
How easy responsive design can be with Sass
=respond-to($device)
@if $device == handheld
@media only screen and (min-width : 320px)
@content
@if $device == handheld-landscape
@media only screen and (min-width : 321px)
@content
@amcdnl
amcdnl / jq_html5.md
Created October 17, 2012 16:18
The jQuery for Next Generation of the Web

The jQuery for Next Generation of the Web

Soon jQuery will simply be a facade layer. With browser iterations becoming faster and faster, the web will soon loose the need for a jQuery.

The problem we face now is a similar problem we faced 5 years ago. Browser feature compatibility.

My idea is to take jQuery's syntax and paradigm and apply it to HTML5 and the next generation of web development.

Examples

@jackie
jackie / config.rb
Created October 17, 2012 16:23
Remove the cachebuster from a Compass-generated sprite
# config.rb
on_sprite_saved do |filename|
if File.exists?(filename)
FileUtils.mv filename, filename.gsub(%r{-s[a-z0-9]{10}\.png$}, '.png').gsub('images/../images/', '')
end
end
@harshthakar002
harshthakar002 / about.md
Last active October 16, 2015 19:38 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
@cheeaun
cheeaun / rdrc2013.md
Last active December 18, 2015 04:59
RedDotRubyConf 2013 links & resources
@tomsseisums
tomsseisums / jsbin.upUFIbO.css
Last active July 22, 2016 16:04
A very dirty extension for Highcharts, that makes the leftmost and rightmost points, areas extend to plot areas edges.
#chart
{
width: 90%;
margin: 0 auto;
min-height: 350px;
}
@evadne
evadne / .siFancyScrollbar.less
Created February 20, 2010 04:01
Fancy Scrollbar (in WebKit). Written using LESS, needs gem to compile down to regular .CSS.
.siFancyScrollbar {
::-webkit-scrollbar,
::-webkit-scrollbar-button:start:increment,
::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment,
::-webkit-scrollbar-button:end:decrement {
width: 9px;
height: 9px;
@gosseti
gosseti / form.html
Last active February 21, 2017 18:28
A credit card form using jQuery.payment
<form accept-charset="UTF-8" action="/payment" class="cardInfo" method="post">
<fieldset class="cardInfo__cardDetails">
<div class="form-row cardInfo__cc-num">
<label for="cc-num"><abbr title="required">*</abbr><span>Card Number</span></label>
<div class="cc-num__wrap">
<!-- using type="tel" because type="number" doesn’t pass HTML5 form validation with jQuery.payment formatting -->
<input id="cc-num" type="tel" class="paymentInput cc-num" placeholder="•••• •••• •••• ••••" autocompletetype="cc-number" required="required">
<span class="card" aria-hidden="true"></span>