Skip to content

Instantly share code, notes, and snippets.

@notslang
notslang / firebase.js
Last active August 29, 2015 14:01
beautify
function g(a) {
throw a;
}
var j = void 0,
k = !0,
m = null,
o = !1;
function aa() {
return function () {}
@notslang
notslang / offerpop-photo-contest-desktop.css
Created November 21, 2014 02:29
How not to write CSS
/* ----------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
Offerpop Photo Contest
-------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@notslang
notslang / vine-id-pairs
Created June 16, 2015 15:23
100-something sample ID pairs from vine.co
[
[
"1199912457779691520",
"euEZOhr7EYW"
],
[
"1182862150076080128",
"O21aDKXWJwW"
],
[
@notslang
notslang / index.html
Created August 16, 2015 04:58
old rick and morty tumblr theme
<!DOCTYPE html>
<!--[if IE 8]><html class="lt-ie10 lt-ie9"> <![endif]-->
<!--[if IE 9]><html class="lt-ie10"> <![endif]-->
<!--[if gt IE 9]><!--> <html> <!--<![endif]-->
<head>
{MobileAppHeaders}
<meta charset="utf-8">
<title>{Title}{block:SearchPage} ({lang:Search results for SearchQuery}){/block:SearchPage}{block:PermalinkPage}{block:PostSummary} — {PostSummary}{/block:PostSummary}{/block:PermalinkPage}</title>
{block:Description}
<meta name="description" content="{MetaDescription}">
@notslang
notslang / html template.html
Created April 17, 2012 00:42
html template
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>HTML Template</title>
<link href="" rel="stylesheet" type="text/css" />
<style type="text/css"></style>
</head>
<body>
@notslang
notslang / arrows.less
Created April 17, 2012 03:11
code for arrows in pure LESS
//arrows
@arrowColor: gray;
@arrowSize: 10px;
.arrowUp, .arrowDown, .arrowRight, .arrowLeft {
width: 0;
height: 0;
}
.arrowUp, .arrowDown {
@notslang
notslang / path template.php
Created April 17, 2012 00:46
basic template for PATH page
<?php
require 'path.php';
$html = new path;
echo '<!DOCTYPE html>';
$html =
['html',
['head',
@notslang
notslang / gist:3905855
Created October 17, 2012 14:36
ZipPlease PHP API example
<?php
//this file would be at /demo/flickr.php
$zipPleaseAPIEndpoint = "http://www.zipplease.com/api/zips";
$uniqueZipName = "zipPleaseFlickrDemo_" . uniqid() . ".zip";
// Create the JSON payloy to send to ZipPlease
$zipRequest = json_encode(array(
'accountKey' => "6B5qClA0SG2er7x7PmZTK4QU", // Not real.
'accountSecret' => "jHxRb2y3CevJyROL96hYKcE0oAIQ", // Get your own.
@notslang
notslang / gist:3915084
Created October 18, 2012 22:13
Jquery Slider
<html>
<head>
<style>
html, body {
height:100%;
font-family: Arial, Verdana, Tahoma;
}
#nav {
width: 50px;
height:270px;