start new:
tmux
start new with session name:
tmux new -s myname
#! /usr/bin/env python2 | |
# Small test client for rtl_tcp | |
# Simeon Miteff <[email protected]> | |
# Thu Sep 27 09:28:55 SAST 2012 | |
import socket | |
import struct | |
import time | |
SET_FREQUENCY = 0x01 | |
SET_SAMPLERATE = 0x02 |
Link to the Elasticsearch Blog.
import StringIO | |
from selenium import webdriver | |
from PIL import Image | |
# Install instructions | |
# | |
# npm install phantomjs | |
# sudo apt-get install libjpeg-dev | |
# pip install selenium pillow |
This my receipe for installing a complete nodejs server on FreeBSD 10. The parameters used in this configuration are for a very small private server that I use for demo purpose only, so for a production server, you should somehow set the limits in pair with your ressources.
I use monit so I don't have to write rc scripts for node and it should take care of process lifecycle management for me. Alternatives exists such as supervisord or circus.
#!/usr/bin/python | |
import hmac, struct, time, base64, hashlib # for totp generation | |
import re, sys, subprocess # for general stuff | |
from getopt import getopt, GetoptError # pretending to be easy-to-use | |
# | |
# gtb - Google(auth) + Tunnelblick | |
# |
// HamGridSquare.js | |
// Copyright 2014 Paul Brewer KI6CQ | |
// License: MIT License http://opensource.org/licenses/MIT | |
// | |
// Javascript routines to convert from lat-lon to Maidenhead Grid Squares | |
// typically used in Ham Radio Satellite operations and VHF Contests | |
// | |
// Inspired in part by K6WRU Walter Underwood's python answer | |
// http://ham.stackexchange.com/a/244 | |
// to this stack overflow question: |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Copyright (c) 2015 Martin Raspaud | |
# Author(s): | |
# Martin Raspaud <[email protected]> | |
# This program is free software: you can redistribute it and/or modify |