Skip to content

Instantly share code, notes, and snippets.

View skopp's full-sized avatar

Rashaad Essop skopp

View GitHub Profile
@skopp
skopp / index.coffee
Last active December 11, 2015 07:48 — forked from anonymous/index.coffee
Koding App forked from gist 4564993
# Your awesome Koding App Code
{nickname} = KD.whoami().profile
class MainView extends JView
constructor:->
super
@header = new KDHeaderView
type: "big"
title: "Welcome to Kodepad!"

Transparent Git Encryption

This document has been modified from its [original format][m1], which was written by Ning Shang (geek@cerias.net). 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/
$ git init
Initialized empty Git repository in .git/
$ git remote add origin git@repository.com:to/copy/to.git
$ git remote add to-clone git@repository.com:to/copy.git
$ git fetch to-clone
remote: Counting objects: 1584, done.
remote: Compressing objects: 100% (1505/1505), done.
remote: Total 1584 (delta 936), reused 0 (delta 0)
Receiving objects: 100% (1584/1584), 843.34 KiB | 623 KiB/s, done.
Resolving deltas: 100% (936/936), done.
@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 <weakish@gmail.com> 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
<!-- See example at http://bl.ocks.org/3758852 -->
<html>
<head>
<title>Isometric Test</title>
<style>
.board {
-webkit-transform:matrix(1,-0.6, 1,0.6, 0,0);
-moz-transform:matrix(1,-0.6, 1,0.6, 0,0);
-o-transform:matrix(1,-0.6, 1,0.6, 0,0);
transform:matrix(1,-0.6, 1,0.6, 0,0);
@skopp
skopp / dabblet.css
Created January 22, 2013 21:36 — forked from pepelsbey/dabblet.css
Untitled
body {
margin:0;
padding:0;
min-height:100%;
height:100%;
}
div {
width:800px;
height:800px;
margin-bottom:-390px;
@mixin fit_bg($url){
background-image: image-url($url);
display: block;
height: image-height($url);
width: image-width($url);
}
// Usage
.nav-about {
@include fit_bg('assets/structure/nav/about.png');
@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;
@skopp
skopp / ua.py
Created February 7, 2013 16:52 — forked from dstufft/ua.py
This file has been truncated, but you can view the full file.
""
""Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.0.14) Gecko/2009090216 Firefox/3.0.14""
"'"
"''"
"'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)'"
"'Mozilla/4.0 (compatible; MSIE 6.1; Windows NT 5.2)'"
"'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727)'"
"'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727)'"
"'Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.13) Gecko/2009073022 Firefox/3.0.13'"