One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
(function (context, trackingId, options) { | |
const history = context.history; | |
const doc = document; | |
const nav = navigator || {}; | |
const storage = localStorage; | |
const encode = encodeURIComponent; | |
const pushState = history.pushState; | |
const typeException = 'exception'; | |
const generateId = () => Math.random().toString(36); | |
const getId = () => { |
import { createServer, Socket } from "net"; | |
// Promisified socket.write(). | |
const write = (socket: Socket, data: Buffer | string) => | |
new Promise((resolve, reject) => | |
socket.write(data as Buffer, (error: Error | undefined) => { | |
if (error) { | |
reject(); | |
} else { | |
resolve(); |
set :root, 60 | |
T = 4.0 | |
# This hash simulates a markov chain. | |
# Each key is the state and the array | |
# value represents the next state. | |
H = { | |
60 => [58, 58, 58, 55, 60, 60, 60], | |
58 => [60, 56, 56, 58, 60, 60], |
⇐ back to the gist-blog at jrw.fi
Or, 16 cool things you may not have known your stylesheets could do. I'd rather have kept it to a nice round number like 10, but they just kept coming. Sorry.
I've been using SCSS/SASS for most of my styling work since 2009, and I'm a huge fan of Compass (by the great @chriseppstein). It really helped many of us through the darkest cross-browser crap. Even though browsers are increasingly playing nice with CSS, another problem has become very topical: managing the complexity in stylesheets as our in-browser apps get larger and larger. SCSS is an indispensable tool for dealing with this.
This isn't an introduction to the language by a long shot; many things probably won't make sense unless you have some SCSS under your belt already. That said, if you're not yet comfy with the basics, check out the aweso