Skip to content

Instantly share code, notes, and snippets.

View skopp's full-sized avatar

Rashaad Essop skopp

View GitHub Profile
@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 / dart.txt
Created February 28, 2013 22:48 — forked from paulmillr/dart.md
---------- Forwarded message ----------
From: Mark S. Miller <[email protected]>
Date: Tue, Nov 16, 2010 at 3:44 PM
Subject: "Future of Javascript" doc from our internal "JavaScript Summit"
last week
To: [email protected]
On November 10th and 11th, a number of Google teams representing a variety
of viewpoints on client-side languages met to agree on a common vision for
the future of Javascript.
@skopp
skopp / dabblet.css
Created February 25, 2013 23:09 — forked from dstorey/dabblet.css
set the size of the boxes and any decoration
.slider {
/* set initial width */
width: 520px;
/* hide the content that overflows (to allow second box to show through) */
overflow: hidden;
display: inline-block;
/* skew container so that it has angled edge, and set up transition */
transform: skewX(-20deg);
@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
@skopp
skopp / PHP info
Created February 14, 2013 10:00 — forked from nikita2206/PHP info
phpinfo()
PHP Version => 5.4.9
System => Linux nikita2206-N56VJ 3.2.0-37-generic #58-Ubuntu SMP Thu Jan 24 15:28:10 UTC 2013 x86_64
Build Date => Feb 12 2013 17:13:16
Configure Command => './configure' '--enable-cli' '--enable-fpm' '--enable-intl' '--enable-pdo' '--with-pdo-pgsql' '--enable-sockets' '--with-curl' '--with-pgsql' '--with-openssl'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini
@skopp
skopp / gist:4944135
Created February 13, 2013 12:01 — forked from amundo/gist:3716410
Emoji cheat sheet
Emoji emoticons are supported on Campfire, GitHub, Basecamp, Turntable.fm, and Teambox.
However some of the emoji codes are not super easy to remember, so here is a little cheat sheet.
✈ Got flash enabled? Click the emoji code and it will be copied to your clipboard.
People
:bowtie:
:smile:
@skopp
skopp / gist:4944134
Created February 13, 2013 12:01 — forked from larsfu/gist:456067
diff --git a/datasrc/content.py b/datasrc/content.py
index 7fe8f9b..988550d 100755
--- a/datasrc/content.py
+++ b/datasrc/content.py
@@ -233,6 +233,7 @@ image_particles = Image("particles", "particles.png")
image_game = Image("game", "game.png")
image_browseicons = Image("browseicons", "browse_icons.png")
image_emoticons = Image("emoticons", "emoticons.png")
+image_demobuttons = Image("demobuttons", "demo_buttons.png")
@skopp
skopp / gist:4943909
Created February 13, 2013 11:10 — forked from amundo/gist:3716410
Emoji cheat sheet
Emoji emoticons are supported on Campfire, GitHub, Basecamp, Turntable.fm, and Teambox.
However some of the emoji codes are not super easy to remember, so here is a little cheat sheet.
✈ Got flash enabled? Click the emoji code and it will be copied to your clipboard.
People
:bowtie:
:smile:
<?php
/**
* Custom configuration bootsrtap file for ExpressionEngine
*
* Place config.php in your site root
* Add require(realpath(dirname(__FILE__) . '/../../config.php')); to the bottom of system/expressionengine/config/config.php
* Add require(realpath(dirname(__FILE__) . '/../../config.php')); to the bottom of system/expressionengine/config/database.php
* If you have moved your site root you'll need to update the require_once path
*
@skopp
skopp / ObjectsPreview.md
Last active December 13, 2015 16:49 — forked from avalanche123/gist:981817
EMOJI CHEAT SHEETS for GitHub and More

//start

🎍 💝 🎎 🎒 🎓 🎏 🎆 🎇