[ Launch: Higher-order fun ] 6532277 by davidmason[ Launch: Tributary inlet ] 6026457 by codemiller
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The following packages are needed during `make` | |
# - openssl-devel so you don't get: | |
# ContentHash.cpp:13:10: fatal error: openssl/sha.h: No such file or directory | |
# - redhat-rpm-config so you don't get: | |
# gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory | |
# - python-devel so you don't get: | |
# pywatchman/bser.c:31:10: fatal error: Python.h: No such file or directory | |
sudo dnf install openssl-devel redhat-rpm-config python-devel | |
# The rest is just instructions from |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Html exposing (text) | |
main = drink rum ye scurvies |> yarrrrrr | |
drink up me hearties = | |
case hearties of | |
[] -> me | |
capn :: lads -> drink up me lads |> up capn | |
yarrrrrr = text << String.fromInt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.diff.line.replace:before { | |
content: "+"; | |
margin-left: 14px; | |
} | |
.diff.line.edit:before { | |
content: "-"; | |
margin-left: 14px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This is roughly the code I found. A callback is passed in props, | |
* and the author attempts to make a debounced version of the callback | |
* so that it will only trigger at most once every 200ms. | |
* | |
* Debounce is used when we are getting lots of events and want to | |
* avoid a costly operation (e.g. network request) on every one. It | |
* wraps a callback and returns a debounced callback that will only | |
* trigger the callback on the newest call when there is a break in | |
* activity. A common use-case is to request a search as a user types, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Color exposing (..) | |
import Graphics.Collage exposing (..) | |
import Graphics.Element exposing (..) | |
import Time exposing (fps) | |
import Transform2D exposing (scaleX) | |
framerate = 100.0 | |
cow = image 24 28 "http://i.neoseeker.com/cm/42/badges/BCow2.png" | |
chicken = image 40 40 "http://fogu.com/hm/snes/img/chicken.gif" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- Useful screen size calculators: http://www.silisoftware.com/tools/screen.php --> | |
<style type="text/css"> | |
body { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Commonly used HTML things</title> | |
<link rel="stylesheet" type="text/css" href="stylesheet.css" /> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://en.wikipedia.org/wiki/Caml ; wget http://en.wikipedia.org/wiki/OCaml ; diff Caml OCaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Set-up Sublime settings + packages sync over Dropbox | |
# | |
# Will sync settings + Installed plug-ins | |
# | |
# Tested on OSX - should support Linux too as long as | |
# you set-up correct SOURCE folder | |
# | |
# Copyright 2012 Mikko Ohtamaa http://opensourcehacker.com |
NewerOlder