This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# vim: set fileencoding=utf-8: | |
# Remove all binary attachments from email messages | |
# | |
# This is a standard UNIX filter; it reads a message or mailbox from standard | |
# input, and outputs it again on standard output, with all binary attachments | |
# removed (with message/external-body). | |
# | |
# Written by Frédéric Brière <[email protected]>. Copy at will. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(This is a dummy file to force a title for this Gist.) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Simple /sbin/init replacement that runs all runlevel S scripts, then drops | |
# into a root shell, in an infinite loop. | |
# | |
# Using this script as "init=" is similar to using the "single" boot parameter, | |
# but doesn't require a password, and logging out won't resume booting. And | |
# unlike "init=/bin/sh", this provides job control and runs the basic scripts. | |
/etc/init.d/rc S |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document | |
url-prefix("https://weather.gc.ca/city/pages/"), | |
url-prefix("https://meteo.gc.ca/city/pages/") | |
{ | |
/* Hide everything except the main contents */ | |
header, /* Header */ | |
header + div, header + div + div, /* Various links */ | |
/* Within main.container: */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Simple uname(2) wrapper library that appends ".0" to any release version | |
* of the form X.Y -- for example, "3.16-2-amd64" becomes "3.16.0-2-amd64". | |
* | |
* This crude hack is meant to work around a CrashPlan bug[*]: real-time | |
* watching is only enabled after checking the kernel version for inotify | |
* support (which was added in 2.6.13), but the version is expected to be of | |
* the form X.Y.Z. If this is not the case, CrashPlan assumes that inotify | |
* is not supported, and real-time watching is disabled. | |
* |