Skip to content

Instantly share code, notes, and snippets.

Sergey Fionov sfionov

Block or report user

Report or block sfionov

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@sfionov
sfionov / ping-fallback-numeric.patch
Created Mar 31, 2012
iputils ping fallback to numeric addresses while exiting
View ping-fallback-numeric.patch
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 Mar 5, 2012
OverBot IRC Bot
View overbot.js
/**
* @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 Oct 22, 2011
xl2tpd Add kernel support for 2.6.23+ (patch v12)
View NEWS
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.
View dpkg-squashfs.sh
#! /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
You can’t perform that action at this time.