Skip to content

Instantly share code, notes, and snippets.

View skopp's full-sized avatar

Rashaad Essop skopp

View GitHub Profile
@skopp
skopp / dabblet.css
Created December 19, 2012 06:01
badges*
/**badges**/
@import url('http://fonts.googleapis.com/css?family=Lobster'); @font-face { font-family: 'ModernPictogramsNormal'; src: url("http://www.bradysammons.com/codepen/fonts/modernpics-webfont.eot"); src: url("http://www.bradysammons.com/codepen/fonts/modernpics-webfont.eot?#iefix") format("embedded-opentype"), url("http://www.bradysammons.com/codepen/fonts/modernpics-webfont.woff") format("woff"), url("http://www.bradysammons.com/codepen/fonts/modernpics-webfont.ttf") format("truetype"), url("http://www.bradysammons.com/codepen/fonts/modernpics-webfont.svg#ModernPictogramsNormal") format("svg"); font-weight: normal; font-style: normal; }
/* line 13, ../sass/screen.scss */ body { background: url("http://www.vancouverad.com/bgimg/img/noise_pattern_with_crosslines.png") repeat; font-family: helvetica, arial, sans-serif; }
/* line 17, ../sass/screen.scss */
wrapper { width: 900px; margin: 10px auto 0 auto; }
/* line 22, ../sass/screen.scss */ .cool_btn1 { width: 190px; height: 190px; margin: 15px 15px 15
@Raynos
Raynos / x.md
Last active January 28, 2023 05:12
A list of minimal DOM libraries

DOM Libraries, the easy way

  • [by. Select elements][1]
  • [fragment. Turn HTML into DOMFragments][2]
  • [class-list. Cross browser HTML5 classList implementation][3]
  • [dom-walk. Traverse the DOM in tree order][4]
  • [xhr. Minimal cross browser, cross domain XHR][5]
  • [insert. Cross browser DOM4 insertion methods][6]
  • [to-array. Convert nodelists into arrays][7]
  • [hidden. Cross browser HTML5 hidden property][8]
@skopp
skopp / coderwall.coffee
Last active December 10, 2015 01:49 — forked from optikfluffel/coderwall.coffee
Minor edits
# Display your coderwall.com badges without using a library like jQuery
# CONFIGURE your username
username = #'change me' - remove hashtag after changing and delete this helper text
url = "http://www.coderwall.com/#{username}.json?callback=processJSON"
loadJSON = (url) ->
head = document.getElementsByTagName('head')[0]
newScript = document.createElement('script')
@drublic
drublic / rem-fallback.less
Last active March 28, 2020 23:57
Fallback rem-mixin in Sass and LESS
@main-font-size: 16px;
.x-rem (@property, @value) {
// This is a workaround, inspired by https://github.com/borodean/less-properties
@px-fallback: @value * @main-font-size;
-: ~`(function () { return ';@{property}: @{px-fallback}'; }())`;
-: ~`(function () { return ';@{property}: @{value}rem'; }())`;
}
@max-mapper
max-mapper / horse.js
Created January 15, 2013 21:18
horse.js
var loader = new game.THREE.JSONLoader( true )
loader.load( "/horse.js", function( geometry ) {
window.horseGeometry = horseGeometry = geometry
})
function Horse() {
this.radius = 600
this.theta = 0
this.duration = 1000
this.keyframes = 15
anonymous
anonymous / index.coffee
Created January 18, 2013 14:42
Kodepad Gist Share by fkadev on http://koding.com Author: http://fkadev.koding.com
# Your awesome Koding App Code
{nickname} = KD.whoami().profile
class MainView extends JView
constructor:->
super
@header = new KDHeaderView
type: "big"

Transparent Git Encryption

This document has been modified from its [original format][m1], which was written by Ning Shang ([email protected]). It has been updated and reformatted into a [Markdown][m2] document by [Woody Gilk][m3] and [republished][m4].

Description

When working with a remote git repository which is hosted on a third-party storage server, data confidentiality sometimes becomes

@skopp
skopp / README.md
Created January 18, 2013 21:23 — forked from oodavid/README.md
php git site deployment

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
  • apache's home directory is /var/www/
@skopp
skopp / gister.sh
Created January 18, 2013 22:53 — forked from weakish/README.md
#!/bin/sh
### a command line tool to access https://gist.github.com
## by Jakukyo Friel <[email protected]> and licensed under GPL v2
## Ref:
# github API: https://develop.github.com/v3/
# gist API: https://developer.github.com/v3/gists/
# pygist: https://github.com/mattikus/pygist
@skopp
skopp / dabblet.css
Created January 30, 2013 03:06 — forked from davidmerrique/dabblet.css
Paper Stack
/**
* Paper Stack
*/
* { box-sizing: border-box; }
a { text-decoration: none; color: #AC190C; }
body {
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
background: url("http://subtlepatterns.com/patterns/wood_pattern.png");
background-color: #fff;