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/env python | |
import sys | |
for line in sys.stdin: | |
if len(line) < 2: | |
sys.stdout.write(line) | |
else: | |
if line[0] == '0': sys.stdout.write('\n') | |
elif line[1] == '1': sys.stdout.write('\f') |
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/bash | |
echo 0: $0 | |
dirname $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
# This file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface | |
auto eth0 | |
iface eth0 inet static |
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
mwalling@youtoo:~/wwwroot/noobs.dontlike.us$ ls -l .git/hooks/prepare-commit-msg | |
-rwxr-xr-x 1 mwalling mwalling 19 Jun 29 18:27 .git/hooks/prepare-commit-msg | |
mwalling@youtoo:~/wwwroot/noobs.dontlike.us$ cat .git/hooks/prepare-commit-msg | |
#!/bin/sh | |
exit 255 |
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
/* | |
* Copyright 2007 ZXing authors | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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
mwalling@youtoo:~$ irssi | |
The get_method_map method has been made private. The public version is deprecated and will be removed in a future release. | |
at /usr/local/lib/perl/5.8.8/Class/MOP/Deprecated.pm line 119 | |
Class::MOP::Package::get_method_map('Moose::Meta::Class=HASH(0x8bf53b8)') called at /usr/local/share/perl/5.8.8/namespace/autoclean.pm line 41 | |
namespace::autoclean::__ANON__() called at /usr/local/share/perl/5.8.8/B/Hooks/EndOfScope.pm line 47 | |
B::Hooks::EndOfScope::__ANON__('HASH(0x8cacdd8)', 'ARRAY(0x8cace14)') called at /usr/local/share/perl/5.8.8/Net/Twitter/Core.pm line 165 | |
eval {...} called at /usr/local/share/perl/5.8.8/Net/Twitter/Core.pm line 165 | |
require Net/Twitter/Core.pm called at /usr/local/share/perl/5.8.8/Net/Twitter.pm line 4 | |
Net::Twitter::BEGIN() called at /usr/local/share/perl/5.8.8/Net/Twitter/Core.pm line 165 | |
eval {...} called at /usr/local/share/perl/5.8.8/Net/Twitter/Core.pm line 165 |
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
input = ['11.40', '10.20'] | |
output = ','.join(["'%s'" % val for val in input]) | |
print output | |
# will print "'11.40','10.20'" |
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
from fabutils import needsDeployLocation, runAsAdmin | |
import os.path | |
@needsDeployLocation | |
@roles('www') | |
def deploy(): | |
""" | |
Deploys code to production servers | |
""" |
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
{% extends "base/index.html" %} | |
{% block title %}DSTAR - Distribution Systems Testing, Application, and Research{% endblock %} | |
{% block pageheader %}DSTAR{% endblock %} | |
{% block pagecontent %} | |
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis sit amet eros | |
imperdiet nunc accumsan adipiscing vitae vel orci. Sed quis augue sed mi | |
tincidunt ullamcorper. Donec placerat imperdiet ligula. Etiam placerat ante eu | |
quam ullamcorper id tincidunt nisl porta. Praesent vitae tortor vitae lectus | |
elementum mattis. Suspendisse auctor sapien accumsan nisi dictum sit amet | |
venenatis lacus iaculis. Vestibulum ante ipsum primis in faucibus orci luctus |
OlderNewer