Skip to content

Instantly share code, notes, and snippets.

View skopp's full-sized avatar

Rashaad Essop skopp

View GitHub Profile

CSS Frameworks Comparison

TL;DR

If I should pick only one framework for all my projects, both prototyping and production, I would go with either Bootstrap or Foundation and then improve them depending on my needs, eventually by using nice ideas from other frameworks. Since I'm a LESS user, I will probably go with Bootstrap, but if Foundation would have been build with LESS too, I would have been in deep s****.

Players

require 'rubygems'
require 'jekyll'
require 'fileutils'
require 'posterous'
require 'net/http'
require 'URI'
Posterous.config = {
'username' => ARGV[0],
'password' => ARGV[1],
@skopp
skopp / README.rst
Last active December 14, 2015 23:59 — forked from dupuy/README.rst
Markdown and REStructuredText syntax - MD / RST

Markdown and reStructuredText

GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.

@avaris
avaris / neighbors.py
Last active December 14, 2015 21:09
Pelican: prev/next article plugin.
from pelican import signals
"""
Neighbor Articles Plugin for Pelican
====================================
Adds ``next_article`` (newer) and ``prev_article`` (older) variables
to the articles context
Usage:
@max-mapper
max-mapper / readme.md
Last active December 14, 2015 14:58
js 'pagelet' concept

pagelet

tries to provide a way to use NPM to distribute web components with as little abstraction as possible

  • uses plain index.js, style.css, index.html etc
  • works in multiple environments

example (intentionally verbose)

consider a module called 'simple-button':

@skopp
skopp / gfm.rb
Created March 2, 2013 13:35 — forked from mojombo/gfm.rb
require 'digest/md5'
def gfm(text)
# Extract pre blocks
extractions = {}
text.gsub!(%r{<pre>.*?</pre>}m) do |match|
md5 = Digest::MD5.hexdigest(match)
extractions[md5] = match
"{gfm-extraction-#{md5}}"
end
@skopp
skopp / index.coffee
Last active December 14, 2015 02:49 — forked from anonymous/index.coffee
KDapp Sample (Really!!) code gist
# WOW! This is inception!!!
{KDView} = KD.classes
{KDSplitView} = KD.classes
{KDInputView} = KD.classes
{KDModalView} = KD.classes
{KDButtonView} = KD.classes
{KDHeaderView} = KD.classes
{KDOnOffSwitch} = KD.classes
{KDListItemView} = KD.classes
/*
We write the language of love
No ECMAScript and I would die.
That last commit was, full of bugs,
I wouldn't roll it back for any other guy!
High, is what you were. I know the feeling.
God I hate, jQuery Fans!
Never gonna make it work
@scottksmith95
scottksmith95 / index.html
Last active December 14, 2015 00:39
How to use the coderbits profile widget on your website or blog
<!-- Include the following CSS and Javascript in your page -->
<link href="https://coderbits.com/content/widget/coderbits.css" media="all" rel="stylesheet" type="text/css">
<script src="https://coderbits.com/content/widget/coderbits.js"></script>
<!-- Place the following in the page where you want the widget to render and set your username -->
<section id="coderbits" data-coderbits-username="<your username>"></section>
This is a story all about how
HTML5 got flipped, turned upside down.
Now i'd like to take a minute. Just site right there,
I'll tell you why you should be using Adobe AIR.
In some dark basement, fat and unshaved, gaming:
That's where I spent most of my days.
Camping out newbs, and pretending to be cool,
in the chatrooms talkin trash to some random dude.