start new:
tmux
start new with session name:
tmux new -s myname
echo -e "\e[1;40m" ; clear ; while :; do echo $LINES $COLUMNS $(( $RANDOM % $COLUMNS)) $(( $RANDOM % 72 )) ;sleep 0.05; done|awk '{ letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#$%^&*()"; c=$4; letter=substr(letters,c,1);a[$3]=0;for (x in a) {o=a[x];a[x]=a[x]+1; printf "\033[%s;%sH\033[2;32m%s",o,x,letter; printf "\033[%s;%sH\033[1;37m%s\033[0;0H",a[x],x,letter;if (a[x] >= $1) { a[x]=0; } }}' |
This text now lives at https://github.com/MarcDiethelm/contributing/blob/master/README.md. I turned it into a Github repo so you can, you know, contribute to it by making pull requests.
If you want to contribute to a project and make it better, your help is very welcome. Contributing is also a great way to learn more about social coding on Github, new technologies and and their ecosystems and how to make constructive, helpful bug reports, feature requests and the noblest of all contributions: a good, clean pull request.
const render = (template, values) => | |
template.replace(/\{\{([^}]+)\}\}/g, (_, key) => values[key]); | |
render("hello {{place}}", { place: "world" }) | |
// => "hello world" | |
render("shell='{{SHELL}}', term='{{TERM}}'", process.env) | |
// => "shell='/bin/bash', term='xterm-256color'" |
using UnityEngine; | |
using System.Collections; | |
public class ShuffleArray : MonoBehaviour { | |
// Public so you can fill the array in the inspector | |
public int[] scenarios; | |
void Start () |
const tape = require('tape') | |
const hypercore = require('hypercore') | |
const ram = require('random-access-memory') | |
const { runAll, replicate } = require('./lib/util') | |
const { Kappa } = require('..') | |
const createIndexer = require('../sources/hypercore-sparse') | |
const topics = ['red', 'blue', 'green', 'yellow'] |
Or the 25 hour work week. Heavily borrowed from cblgh.
The structure is simple:
1+8+3=12 pomodoros,
// http://unsemantic.com/ | |
// ------------------- | |
// Variables | |
// ------------------- | |