Skip to content

Instantly share code, notes, and snippets.

@potomak
potomak / FacebookL.jpg
Last active November 15, 2017 11:01
The daily routine
FacebookL.jpg
@TheRyanHickman
TheRyanHickman / gist:9ec57d3f743562eb1528
Last active August 29, 2015 14:02
Schedule a background job via cloud code
/**
* Parse Background Jobs via Rest API Scheduler Cloud Module
* @name Ryan Hickman
*
* Cloud Module for scheduling parse background jobs via rest api as a message queue
*
* To use this Cloud Module in Cloud Code, start by requiring
* the <code>mailgun</code> module and initializing it using your
* Mailgun domain name and api key.
*
/* When the console width is 624px or less */
@media all and (max-width: 624px) and (min-width: 0px) {
/* Hide the audits tab */
#-webkit-web-inspector #toolbar .toolbar-item.audits {
display: none !important;
}
}
@jpmcde
jpmcde / dabblet.css
Created April 4, 2013 18:34
Flexbox Responsive Off-Canvas Layout
/* Flexbox Responsive Off-Canvas Layout */
body, html { width: 100%; height: 100%; padding: 0; margin: 0; }
#wrapper { display: -webkit-box; display: -moz-box; display: box; -webkit-box-orient: vertical; -moz-box-orient: vertical; box-orient: vertical;
height: 100%; width: 100%;
}
#fbox { display: -webkit-box; display: -moz-box; display: box; -webkit-box-orient: horizontal; -moz-box-orient: horizontal; box-orient: horizontal; -webkit-box-flex: 1; -moz-box-flex: 1; box-flex: 1;
width: 100%; height: 90%;
padding: 0; margin: 0;
}
@charliepark
charliepark / hatchshow.js
Created July 30, 2011 16:07
A jquery typography plugin.
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript" charset="utf-8">
$(window).load(function(){
$().hatchShow();
});
jQuery.fn.hatchShow = function(){
$('.hsjs').css('display','inner-block').css('white-space','pre').each(function(){
var t = $(this);
t.wrap("<span class='hatchshow_temp' style='display:block'>");
var pw = t.parent().width();
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Cross-browser kerning-pairs & ligatures</title>
<style>
body { font-family: sans-serif; background: #f4f3f3; color: rgba(40, 30, 0, 1); width: 500px; margin: 80px auto; padding: 0px; }
a { color: rgba(15, 10, 0, 0.8); text-decoration: none; border-bottom: 1px solid; padding: 1px 1px 0px; -webkit-transition: background 1s ease; }
a:hover { background: rgba(0, 220, 220, 0.2); }
p, li { line-height: 1.5; padding: 0em 1em 0em 0em; margin: 0em 0em 0.5em; }