Skip to content

Instantly share code, notes, and snippets.

View hellekin's full-sized avatar
💭
---____________________________

Free software is active resistance. hellekin

💭
---____________________________
View GitHub Profile
@hellekin
hellekin / keybase.md
Created November 29, 2014 03:06
Self-verification for keybase.io

Keybase proof

I hereby claim:

  • I am hellekin on github.
  • I am hellekin (https://keybase.io/hellekin) on keybase.
  • I have a public key whose fingerprint is C333 AA4F 507F F57F B16E F23E 3863 6139 1CA2 4A13

To claim this, I am signing this object:

@hellekin
hellekin / copyleft.html
Created October 24, 2014 19:09
Copyleft with CSS3
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<title> Copyleft FTW! </title>
<style>
/**
* CopyLEFT FTW!
*
* When the mouse hovers the section, replace Copyright with Copyleft
#include <stdio.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/select.h>
#define TCP_STEALTH 26
@hellekin
hellekin / .tmux.conf
Created October 14, 2014 16:47
Sample tmux for the Dowse box
#
## ~/.tmux.conf
#
## Act more like GNU screen
# Use C-a as command prefix, not C-b
set-option -g prefix C-a
bind-key C-a last-window
bind-key a send-prefix
# Resize according to window use, not session
@hellekin
hellekin / twist
Last active August 29, 2015 14:07
#!/bin/sh
host=dowse.saliat.gnu
port=28332
twister_status=`ss -lt | awk '/127.0.0.1:'$port'/ { print "already running"; }'`
if [ "$twister_status" != "already running" ] ; then
echo -n "Opening tunnel to Twister... "
@hellekin
hellekin / -
Created September 8, 2014 23:12
#!/bin/sh
username="user"
password="pwd"
ipv4addr="127.0.0.1"
TWISTER="/usr/local/bin/twisterd"
ARGS="-rpcuser=$username -rpcpassword=$password -rpcallowip=$ipv4addr"
exec $TWISTER $ARGS $@

# ## wiki.example.org #

server {

listen 80; listen 443 ssl;

@hellekin
hellekin / rant.md
Last active August 29, 2015 14:04 — forked from vito-lbs/rant.md

I don't think people understand what arms dealers really do. They invest thousands of man and computer hours into designing killingry which people are willing to pay lots of money for. As a business, they want to keep their customer base happy, which means allowing their customers (yes, presumably the NSA/FBI/etc.) to use their weapons rather than not selling them. Yes, it's probably the case that these weapons don't just go to nabbing child pornographers or drug traffickers, they also probably try to catch the next Snowden, which not everyone agrees is The Right Thing To Do. But for what it's worth, I'd still trust the US government (even with all its faults) far more

@hellekin
hellekin / unbound.conf
Created November 18, 2013 01:31
Resolve .bit with unbound without running namecoin. (Poor man's alternate root)
# Resolve dot-bit
forward-zone:
name: "bit"
forward-addr: 178.32.31.41
forward-addr: 178.63.16.21
forward-first: yes
@hellekin
hellekin / bot.rb
Created August 26, 2013 19:08
Lorea Assembly bot is a baby Cinch.
$:<< File.expand_path(File.join(File.dirname(__FILE__), 'lib'))
require 'cinch'
class TurnBot
include Cinch::Plugin
def initialize(*args)
super
@turns = []