start new:
tmux
start new with session name:
tmux new -s myname
This playbook has been removed as it is now very outdated. |
package net.jthoenes.blog.spike.lambda; | |
import java.util.Arrays; | |
import java.util.List; | |
public class LambdaIntro { | |
public static interface ItemWithIndexVisitor<E> { | |
public void visit(E item, int index); |
// https://blogs.oracle.com/janp/entry/how_the_scp_protocol_works | |
package main | |
import ( | |
"fmt" | |
"golang.org/x/crypto/ssh" | |
) | |
const privateKey = `content of id_rsa` |
type T struct { | |
A int | |
B string | |
} | |
t := T{23, "skidoo"} | |
s := reflect.ValueOf(&t).Elem() | |
typeOfT := s.Type() | |
for i := 0; i < s.NumField(); i++ { |
robocopy /b /e /xa:s /xjd /sl /a-:hs /mt /v /fp /eta /log:"D:\To\Directory\transfer.log" /tee "C:\From\Directory" "D:\To\Directory" | |
(Note that the paths don't have a trailing backslash.) | |
/b -- backup mode (there's a /zb option for restart mode, but it's a whole lot slower) | |
/e -- copies subdirectories (including empty directories) in addition to files | |
/xa:s -- exclude system files | |
/xjd -- exclude junction points | |
/sl -- copy symbolic links as links | |
/a-:hs -- remove hidden/system attributes from files |
// open.rs | |
use std::error::Error; | |
use std::fs::File; | |
use std::io::prelude::*; | |
use std::path::Path; | |
use std::char; | |
fn main() { | |
let a = 'a' as u32; | |
let outer = 25; |
fn main() { | |
let s = "abc".to_string(); | |
{ | |
//println!("{}", s); | |
//sfun(s); | |
} | |
match s { | |
_ => {println!("{}", s)} | |
} |
# Chrono Trigger Soundtrack - Corridors of Time | |
# plug this into http://sonic-pi.net/ | |
# still needs synth pads | |
# global config | |
use_bpm 112 | |
def play_legato_note(note_value, duration) | |
release_duration = duration |