by Ossi Hanhinen, @ohanhi
with the support of Futurice 💚.
Licensed under CC BY 4.0.
mocha 44731 | |
chai 17944 | |
grunt 17447 | |
should 11882 | |
grunt-contrib-jshint 11466 | |
gulp 8619 | |
istanbul 7374 | |
tape 7313 | |
sinon 6851 | |
grunt-contrib-clean 6807 |
// main.js | |
const vel = require('vel') | |
const testElement = require('./test-element') | |
const el = vel(function (h, state) { | |
return h.html(`<div> | |
<h1>clicked ${String(state.n)} times</h1> | |
<button onclick=${onclick}>click me!</button> | |
${testElement(h, state, el)} |
# A xterm-256color based TERMINFO that adds the escape sequences for italic. | |
# | |
# Install: | |
# | |
# tic xterm-256color-italic.terminfo | |
# | |
# Usage: | |
# | |
# export TERM=xterm-256color-italic | |
# |
curl -s https://api.github.com/orgs/twitter/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}' |
#!/bin/sh | |
# copyright 2014 Renato Alves | |
# distributed under the GPL licence | |
if [ -z "$TASKDIR" ]; then | |
#TODO Look for data location in rc:location instead of assuming ~/.taskrc | |
TASKDIR="$(grep data.location $HOME/.taskrc | cut -d '=' -f 2)" | |
fi |
Since this is on Hacker News...
_t
in my types. I spend a lot of time at a level where I can do that; "reserved for system libraries? I am the system libraries".while
loops because shut up, you're overthinking a joke.#!/bin/sh | |
# Command-line world clock | |
# Taken from http://stackoverflow.com/questions/370075/command-line-world-clock | |
# .worldclock.zones file looks like: | |
# US/Pacific | |
# Europe/Berlin | |
# Chile/Continental | |
: ${WORLDCLOCK_ZONES:=$HOME/.worldclock.zones} |
{ config, pkgs, ... }: | |
let | |
hostname = "luz3"; | |
in { | |
imports = | |
[ # Include the results of the hardware scan. | |
./hardware-configuration.nix | |
# I use VirtualBox to connect to Windows and Linux guests |