Skip to content

Instantly share code, notes, and snippets.

View sfionov's full-sized avatar

Sergey Fionov sfionov

View GitHub Profile
@sfionov
sfionov / ping-fallback-numeric.patch
Created March 31, 2012 08:14
iputils ping fallback to numeric addresses while exiting
From 469c214e8909822e320bcd05c6dc741802c37816 Mon Sep 17 00:00:00 2001
From: Sergey Fionov <fionov@gmail.com>
Date: Sat, 31 Mar 2012 16:50:01 +0400
Subject: [PATCH] iputils,ping,ping6: Fallback to numeric addresses while exiting
When user presses Ctrl-C ping waits for pr_addr() to be finished and
then exits. With poor connection it may result in stuck at
gethostbyaddr().
This patch changes handling of exit signals. After setting "exiting"
@sfionov
sfionov / overbot.js
Created March 5, 2012 23:33
OverBot IRC Bot
/**
* @author sig_wall
* @date 2011/01/03
*/
// Includes
var util = require('util');
var request = require('request');
var htmlparser = require('htmlparser');
var _u = require('underscore');
@sfionov
sfionov / NEWS
Created October 22, 2011 15:07
xl2tpd Add kernel support for 2.6.23+ (patch v12)
v12 @ 2012-03-17:
- Added automatic module load
v8 @ 2012-03-16:
- Fixed UDP descriptor leak to pppd and it scripts in previous version of patch
- Terminate pppd even if xl2tpd killed with SIGTERM
v1 @ 2011-10-22:
- Initial patch. Thanks for the idea to wl500g.googlecode.com project.
#! /bin/sh
### BEGIN INIT INFO
# Provides: dpkg-squashfs
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Squashfsed /var/lib/dpkg
# Description: Use squashfs to speedup dpkg cold start.
# Required kernel modules: aufs, squashfs