start new:
tmux
start new with session name:
tmux new -s myname
{"Archimedean spiral", | |
"Archimedes’ spiral", | |
"astroid", | |
"astroid pedal curve", | |
"bifoliate", | |
"bifolium", | |
"butterfly catastrophe curve", | |
"second butterfly curve", | |
"cardioid", | |
"cardioid pedal curve", |
" copy all this into a vim buffer, save it, then... | |
" source the file by typing :so % | |
" Now the vim buffer acts like a specialized application for mastering vim | |
" There are two queues, Study and Known. Depending how confident you feel | |
" about the item you are currently learning, you can move it down several | |
" positions, all the way to the end of the Study queue, or to the Known | |
" queue. | |
" type ,, (that's comma comma) |
me: | |
@true | |
a: | |
@true | |
sandwich: | |
@[ "$$(id -u)" -eq 0 ] && echo "Okay." || echo "What? Make it yourself." | |
.PHONY: me a sandwich |
module Main where | |
fizzBuzz :: Int -> String | |
fizzBuzz n | |
| mod n 15 == 0 = "FizzBuzz" | |
| mod n 3 == 0 = "Fizz" | |
| mod n 5 == 0 = "Buzz" | |
| otherwise = show n | |
main = do |
class Undead { | |
~Undead()=delete; | |
}; |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#ifdef __GLIBC__ | |
#if !(__GLIBC_PREREQ(2, 7)) | |
#error %m is not available | |
#endif |
#!/bin/sh | |
# get all ipv4 addresses of existing connections | |
ip -4 -oneline a | awk '{ print $2 ": " $4 }' |
use std::path::{Path, PathBuf}; | |
struct Model { | |
u: f32, | |
} | |
fn texture_fname(path: &Path) -> PathBuf { | |
let fullname = format!("{}{}", path.file_stem().unwrap().to_str().unwrap(), "_diffuse"); | |
let mut buf = PathBuf::from(path); |
this is a sample of output: | |
root@percona-db-2:~# iperf -s -u -B 226.94.1.1 -i 1 | |
------------------------------------------------------------ | |
Server listening on UDP port 5001 | |
Binding to local address 226.94.1.1 | |
Joining multicast group 226.94.1.1 | |
Receiving 1470 byte datagrams | |
UDP buffer size: 122 KByte (default) | |
------------------------------------------------------------ |