Skip to content

Instantly share code, notes, and snippets.

@sartaj
sartaj / Reant.re
Created October 7, 2019 18:53 — forked from yukims19/Reant.re
ReasonConf Dojo
type style = ReactDOMRe.Style.t;
type element = React.element;
module Breadcrumb = {
[@bs.module "antd"] [@react.component]
external make:
(~ariaLabel: string=?, ~key: string=?, ~style: style=?, ~children: 'b) =>
element =
"Breadcrumb";
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
[{
"section": "Bubbles",
"content": [{
"dish": "aria brut cava, spain, nv",
"price": "8/30"
}, {
"dish": "cruzat brut, mendoza, nv",
"price": "12/46"
}, {
"dish": "plouzeau brut rose loire valley, nv",
@sartaj
sartaj / image-gallery.js
Created May 1, 2014 02:36
image-gallery.js
@sartaj
sartaj / superBowlLineupAnswer.js
Last active August 29, 2015 13:56
superBowlLineup Answer
/*
* superBowlLineup Object
*/
var superBowlLineup = {
date: "1/27/2014",
fireworksUsed: 534,
lightShow: true,
bands: [
{
/**
* Exercise 0: angryGandalf (example)
**/
// Define angryGandalf with input parameters
var angryGandalf = function(type) {
// Define the variables needed
var message;
@sartaj
sartaj / gist:8969008
Last active August 29, 2015 13:56
JS Lessons
/**
* Exercise 0: angryGandalf (example)
**/
// Define angryGandalf with input parameters
var angryGandalf = function(type) {
// Define the variables needed
var message;
@sartaj
sartaj / gist:8966229
Last active August 29, 2015 13:56
Hack flapmmo.com to set server and use the mouse to move.
/**
* @author github user pwfff
* cleanup by github user sartaj
*/
// Go To flapmmo.com
// Open Web Inspector
// Go to sources tab
// On the side bar, find main.js
// Pretty Print main.js (in Chrome, its the curly bracket symbol on the bottom)