This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
Here is a list of scopes to use in Sublime Text 2 snippets - | |
ActionScript: source.actionscript.2 | |
AppleScript: source.applescript | |
ASP: source.asp | |
Batch FIle: source.dosbatch | |
C#: source.cs | |
C++: source.c++ | |
Clojure: source.clojure | |
CoffeeScript: source.coffee |
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class CameraMouseController : MonoBehaviour { | |
public float translationSensitivity = 2; | |
public float zoomSensitiviy = 10; | |
public float rotationSensitiviry = 2; |
Rich Hickey • 3 years ago
Sorry, I have to disagree with the entire premise here.
A wide variety of experiences might lead to well-roundedness, but not to greatness, nor even goodness. By constantly switching from one thing to another you are always reaching above your comfort zone, yes, but doing so by resetting your skill and knowledge level to zero.
Mastery comes from a combination of at least several of the following:
#!/bin/bash | |
# Create a new Go project with a main.go file and a Go module | |
# Option -c, --cobra: Initialize a Cobra CLI project in the module | |
while getopts ":c" opt; do | |
case $opt in | |
c) | |
c_flag=true | |
;; |
"use strict"; | |
const worker = new Worker("worker.js"); | |
self.onfetch = e => { | |
const transform = new TransformStream(); // creates an identity transform | |
e.respondWith(new Response(transform.readable)); | |
// Give the worker the writable end. An identity transform stream will just shuffle | |
// bytes written there into transform.readable. |
//environment: Neo4j Desktop 1.2.7, Neo4j Enteprise 3.5.17, apoc 3.5.0.9, gds 1.1.0 | |
//or: Neo4j Enterprise 4.0.3, apoc 4.0.0.6 (NOT later! a bug in apoc.coll.max/apoc.coll.min needs to be resolved) | |
//contact tracing data import | |
//full spreadsheet with synthetic data | |
//https://docs.google.com/spreadsheets/d/1R-XVuynPsOWcXSderLpq3DacZdk10PZ8v6FiYGTncIE/edit#gid=0 | |
// person sheet˝ | |
// https://docs.google.com/spreadsheets/u/0/d/1R-XVuynPsOWcXSderLpq3DacZdk10PZ8v6FiYGTncIE/export?format=csv&id=1R-XVuynPsOWcXSderLpq3DacZdk10PZ8v6FiYGTncIE&gid=0 |
sudo chown -R $(whoami) /usr/local/Cellar | |
sudo chown -R $(whoami) /usr/local/Homebrew | |
sudo chown -R $(whoami) /usr/local/var/homebrew | |
sudo chown -R $(whoami) ${HOME}/Library/Caches/Homebrew | |
sudo chown -R $(whoami) ${HOME}/Library/Logs/Homebrew | |
sudo chown -R $(whoami) /usr/local/etc | |
sudo chown -R $(whoami) /usr/local/opt | |
sudo chown -R $(whoami) /usr/local/bin | |
sudo chown -R $(whoami) /usr/local/var | |
sudo chown -R $(whoami) /usr/local/share/man/man1 |
There are concerns around HTML Imports that does sync or blocking loading as the default. I’d like to address these concerns. Especially I’d like to understand the actual use cases that “sync” loading hurts. This document aims to be a portal of that effort.
Before discussing use cases, let’s clarify which part of page loading process HTML Imports possibly blocks. The blocking model of HTML Imports is modeled after the one for external stylesheets. There are two main bits of the blocking:
(def rules {7 "Qix" 5 "Bar" 3 "Foo"}) | |
(defn div [[n s]] | |
(fn [[x accu]] | |
[x (str accu (when (= 0 (rem x n)) s))])) | |
(defn to-ints [x] | |
(map #(- (int %) 48) (seq (str x)))) | |
(defn has [[x accu]] |