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/perl | |
#Tiu-ĉi programo estas en la publikaĵo (This program is in the public domain) http://creativecommons.org/publicdomain/zero/1.0/ | |
#Legi tekston el norma enigo (Read text from standard input) | |
while(<STDIN>) { | |
#Anstataŭigi X-sistemajn vicojn (se ne estas alia X poste) [Replace X-system sequences (if there is not another X afterwards)] | |
s/c[xX]([^xX])/ĉ$1/g; | |
s/g[xX]([^xX])/ĝ$1/g; | |
s/h[xX]([^xX])/ĥ$1/g; | |
s/j[xX]([^xX])/ĵ$1/g; |
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 | |
#You probably want to put this in /usr/local/bin | |
echo "Press Enter to continue... " | |
read REPLY |
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
;Creative Commons license ports | |
;Each jurisdiction is on a separate line. Data for each jurisdiction is presented in fields, separated by semicolons. | |
;The first field is the jurisdiction code (used in URLs and standard abbreviations), the second is the full name of the jurisdiction, and all subsequent fields are versions in which there was a port for that jurisdiction. | |
;If the first field is empty or contains only whitespace, then the line shall be considered a comment. | |
;Note that there were no unported 2.1 licenses. | |
;This list is derived from the Creative Commons Wiki <https://wiki.creativecommons.org/CC_Ports_by_Jurisdiction>, but it is believed that the data itself is uncopyrightable. This list is in the public domain <http://creativecommons.org/publicdomain/zero/1.0/>. | |
AR;Argentina;2.5 | |
AU;Australia;3.0;2.5;2.1;2.0 | |
AT;Austria;3.0;2.0 | |
BE;Belgium;2.0 |
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/perl | |
#Instructions: On a Unix-like system, run: find [basedir] -type f | perl fixdirs.pl | |
#This script is in the public domain (http://creativecommons.org/publicdomain/zero/1.0/) | |
use strict; | |
use File::Path 'make_path'; | |
use File::Copy 'copy'; | |
my ($dn, $fn); | |
while(<STDIN>) { | |
chomp; | |
($dn, $fn) = m/(.*)\\([^\\]*)/; |
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
/* | |
Main class for JackBot. Like the default main class, it requires a path to the configuration file to be provided on the command line. | |
PCommandBot: http://github.com/jack126guy/pcommandbot | |
Custom responders: | |
* tk.halfgray.pcommandbot.responders.XkcdResponder: http://github.com/jack126guy/pcb-xkcd | |
Available under the MIT License (below): |
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/perl | |
#This does not read the file from standard input; rather, it processes a list of files, one per line, from standard input. | |
#This script is in the public domain (http://creativecommons.org/publicdomain/zero/1.0/) | |
use strict; | |
use feature 'unicode_strings'; | |
use File::Copy 'move'; | |
while(<STDIN>) { | |
chomp; | |
print 'Processing ', $_, "\n"; | |
my ($SOURCEFILE, $NEWSOURCE); |
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
/* | |
* http://en.wikipedia.org/wiki/Free_list | |
* This code in the public domain under Creative Commons CC0 1.0 Universal Public Domain Dedication: | |
* http://creativecommons.org/publicdomain/zero/1.0/ | |
*/ | |
typedef struct free_list_node { | |
void* memory; | |
size_t size; | |
struct free_list_node* next; |
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
Package: linuxmasterrace | |
Version: 1.2 | |
Section: misc | |
Priority: optional | |
Architecture: all | |
Depends: xdg-utils, www-browser | |
Installed-Size: 1 | |
Maintainer: Jack126Guy <someanon126@gmail.com> | |
Description: Open /r/linuxmasterrace on Reddit | |
This package contains a simple script to open the |
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 | |
APT_GET_REAL="apt-get.real" | |
EXIT_FAILURE=100 | |
if [ "$#" -lt 1 ]; then | |
#No action specified | |
$APT_GET_REAL #Print default help | |
echo 'Get rekt.' | |
exit |
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
Key ID: 0xBD956688FF815C0D | |
Fingerprint: 37AC 8245 20FA 0243 CF0E 8309 BD95 6688 FF81 5C0D |
OlderNewer