start new:
tmux
start new with session name:
tmux new -s myname
Grr this took hours to figure out. I was trying to install MJPG-streamer and running VLC command lines and all this crap but nothing worked.
First install motion
:
~> sudo apt-get install motion
Then create a config file:
~> mkdir ~/.motion
~> nano ~/.motion/motion.conf
(This is a translation of the original article in Japanese by moratorium08.)
(UPDATE (22/3/2019): Added some corrections provided by the original author.)
Writing your own OS to run on a handmade CPU is a pretty ambitious project, but I've managed to get it working pretty well so I'm going to write some notes about how I did it.
Here's a list of mildly interesting things about the C language that I learned mostly by consuming Clang's ASTs. Although surprises are getting sparser, I might continue to update this document over time.
There are many more mildly interesting features of C++, but the language is literally known for being weird, whereas C is usually considered smaller and simpler, so this is (almost) only about C.
struct foo {
struct bar {
int x;
while { | |
let x = foo(); | |
bar(x); | |
x != 0 | |
} {} | |
#include "Dactyl.h" | |
#include "action_layer.h" | |
#include "eeconfig.h" | |
extern keymap_config_t keymap_config; | |
#define _QWERTY 0 | |
#define _NUMLAYER 1 | |
enum custom_keycodes { | |
QWERTY, | |
NUMLAYER |
########################################################################## | |
## runscad.py | |
## | |
## Run an openscad file once or n times and save shape output to file(s) | |
## | |
## by Runsun Pan (2015.9.25) | |
###########################################3############################## | |
import sys, os, re | |
narg = len(sys.argv) |
package main | |
import "math/big" | |
import "fmt" | |
import "time" | |
func main() { | |
fmt.Printf("Hello, world.\n") | |
start := time.Now() |