- register <username>
- identify <username>
- account add jabber [email protected] 'PASSWORD'
#include "Turret.h" | |
#include <cmath> | |
#include <algorithm> | |
#include <cassert> | |
namespace | |
{ | |
const double TWOPI = 2.0 * M_PI; | |
} |
import QtQuick 1.0 | |
Rectangle { | |
height: 300 | |
width: 400 | |
color: "gray" | |
// This text element is for visual feedback when the signal fires | |
Text { | |
text: "(empty)" |
duration='00:59:00' | |
noisetype='pinknoise' | |
progress='--no-show-progress' | |
noisetype="pinknoise" | |
band_center="1000" | |
band_width="499" | |
tremolo_speed="0.01" | |
tremolo_depth="43" |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>coroutine-traversal-example</title> | |
</head> | |
<script src="traversal.js"></script> | |
<body> | |
</body> | |
<script> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>svg-example</title> | |
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script> | |
<style> | |
.bottom { | |
fill: blue; | |
stroke: blue; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>svg-event-overlay</title> | |
<style> | |
.first { | |
fill: red; | |
} |
#!/usr/bin/python | |
import contextlib | |
import numpy | |
import time | |
@contextlib.contextmanager | |
def timer(): | |
start = time.time() | |
yield |
#!/bin/bash | |
PREFIX=${HOME}/usr/local | |
VIMRUNTIMEDIR=${PREFIX}/share/vim/vim80/ | |
./configure --with-features=huge \ | |
--enable-multibyte \ | |
--enable-python3interp=yes \ | |
--with-python3-config-dir=/usr/lib/python3.5/config \ | |
--enable-cscope \ |
import functools | |
def make_immutable(obj): | |
"""Tries to create an immutable version of an object | |
Converts object into a nested structure of named tuples where possible. | |
Primative types (int, str, float, bool) are unchanged but lists and sets are | |
converted into tuples. Objects are converted into named tuples. | |
This is not a terribly sophisticated function and will work best with |