I hereby claim:
- I am smotesko on github.
- I am smok (https://keybase.io/smok) on keybase.
- I have a public key whose fingerprint is D11F 088B 398C E148 EBB1 F34E 9AAE F5AB 7681 0700
To claim this, I am signing this object:
server { | |
listen 80 default; | |
#listen 80; ## listen for ipv4; this line is default and implied | |
#listen [::]:80 default_server ipv6only=on; ## listen for ipv6 | |
index index.html index.htm; | |
server_name _; | |
set $hst $host; | |
if ($host ~ www\.(.*)) { set $hst $1; } |
#! /usr/bin/env php | |
<?php | |
// filename: refscommit | |
/** | |
* Our git approach is to name branches like "feature/123-description" and commits like | |
* "refs #123 commitmessage". | |
* This scripts prepends "refs #number " to the commit message if current git branch is | |
* "feature/number.*". | |
* So it helps you by inserting your feature number into the commit message. |
# if .bash_profile on OS X is not sourced, do `ln -s .bash_profile .profile` | |
alias wow='git status' | |
export GIT_EDITOR=vim | |
export VISUAL=vim | |
export EDITOR=vim | |
export LC_ALL=C | |
# brew install bash-completion | |
if [ -f `brew --prefix`/etc/bash_completion ]; then |
#! /usr/bin/env php | |
<?php | |
// filename: featcommit | |
/** | |
* | |
* This scripts prepends task number to the commit message if current git branch is | |
* "FOO-xxxx". | |
* So it helps you by inserting your feature number into the commit message. | |
* Use it as `featcommit.php "commit message"`. |
I hereby claim:
To claim this, I am signing this object:
<VirtualHost *:80>
ServerName projectname.local
ProxyPass / http://localhost:8001/
ProxyPassReverse / http://localhost:8001/
ProxyPreserveHost On
</VirtualHost>
set number | |
set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab | |
syntax on | |
if match($TERM, "screen")!=-1 | |
set term=xterm | |
endif |
convert diagram.png -colorspace gray +level-colors white,blue blueprint.png |
system_profiler SPUSBDataType |
#include <stdio.h> | |
#include <math.h> | |
#define NUMBER_OF_SAMPLES 4410 // for 44100 Hz sample rate and 10Hz min f. | |
#define MAX_VALUE 0xFFFFFF // 24-bit samples | |
#define MID_VALUE (MAX_VALUE/2) | |
#define DC_OFFSET (MID_VALUE) // set to 0 for no offset | |
// Generates a wavetable (a single wavecycle) of a sine wave. | |
// compile: gcc -o generate-sine generate-sine.c |