- Documentation @ http://git.kernel.org/cgit/network/connman/connman.git/tree/doc
-
Scan for access points (run multiple times for more complete scan):
# connmanctl scan wifi
Scan completed for wifi
/*! | |
* Bin-Packing by jakesgordon | |
* https://github.com/jakesgordon/bin-packing/ | |
* Demo : http://codeincomplete.com/posts/2011/5/7/bin_packing/example/ | |
* Licence : https://github.com/jakesgordon/bin-packing/blob/master/LICENSE | |
*/ | |
Packer = function(w, h) { | |
this.init(w, h); | |
}; |
#!/usr/bin/env bash | |
# | |
# This is sp, the command-line Spotify controller. It talks to a running | |
# instance of the Spotify Linux client over dbus, providing an interface not | |
# unlike mpc. | |
# | |
# Put differently, it allows you to control Spotify without leaving the comfort | |
# of your command line, and without a custom client or Premium subscription. | |
# |
Scan for access points (run multiple times for more complete scan):
# connmanctl scan wifi
Scan completed for wifi
When the directory structure of your Node.js application (not library!) has some depth, you end up with a lot of annoying relative paths in your require calls like:
const Article = require('../../../../app/models/article');
Those suck for maintenance and they're ugly.
dbfpy
: http://sourceforge.net/projects/dbfpy/files/latest/download?source=filessudo python setup.py install
To convert DBF file to CSV:
./dbf2csv database.dbf
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
Spurred by recent events (https://news.ycombinator.com/item?id=8244700), this is a quick set of jotted-down thoughts about the state of "Semantic" Versioning, and why we should be fighting the good fight against it.
For a long time in the history of software, version numbers indicated the relative progress and change in a given piece of software. A major release (1.x.x) was major, a minor release (x.1.x) was minor, and a patch release was just a small patch. You could evaluate a given piece of software by name + version, and get a feeling for how far away version 2.0.1 was from version 2.8.0.
But Semantic Versioning (henceforth, SemVer), as specified at http://semver.org/, changes this to prioritize a mechanistic understanding of a codebase over a human one. Any "breaking" change to the software must be accompanied with a new major version number. It's alright for robots, but bad for us.
SemVer tries to compress a huge amount of information — the nature of the change, the percentage of users that wil
var fs = require('fs'); | |
// Returns a buffer of the exact size of the input. | |
// When endByte is read, stop reading from stdin. | |
function getStdin(endByte) { | |
var BUFSIZE = 256; | |
var buf = new Buffer(BUFSIZE); | |
var totalBuf = new Buffer(BUFSIZE); | |
var totalBytesRead = 0; | |
var bytesRead = 0; |
# Importer une clé | |
gpg --import [filename] | |
# Rechercher une clé depuis serveur distant | |
gpg --keyserver pgp.mit.edu --search-keys KEYID | |
# Importer une clé depuis un serveur distant | |
gpg --keyserver pgp.mit.edu --recv-keys KEYID | |
# Exporter une clé sur un serveur distant |
Moved to a proprer repositoy, TSWS is a real boy now! | |
https://github.com/dfletcher/tsws | |
PRs welcomed. |