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:~$ cat /tmp/davebtest | |
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam posuere blandit | |
mi et ornare. Donec ac libero eget est mattis volutpat. Mauris in venenatis | |
turpis. Integer ac ipsum in tortor bibendum aliquam quis eget massa. Etiam | |
tortor augue, semper sed volutpat vitae, euismod et felis. Proin sodales quam | |
vitae lorem fringilla et lobortis nibh gravida. Maecenas suscipit interdum eros | |
id semper. Maecenas fermentum, mi in luctus tempus, erat nisi posuere erat, sit | |
amet malesuada augue risus vitae lectus. Etiam ullamcorper, dui nec tincidunt | |
sodales, magna lacus pharetra leo, ut mollis velit mi vel ligula. Quisque urna | |
purus, sollicitudin a elementum vel, dapibus eu ligula. Suspendisse quis |
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:~$ python | |
Python 2.5.2 (r252:60911, Jul 22 2009, 15:35:03) | |
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)] on linux2 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import hashlib | |
>>> hashlib.sha1('foo').hexdigest() | |
'0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33' | |
>>> | |
mwalling@youtoo:~$ echo -n foo | sha1sum | |
0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33 - |
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 django.contrib import admin | |
from gitmanage.models import RepoUser, SSHPublicKey, GitRepository | |
admin.site.register(RepoUser, admin.ModelAdmin) | |
admin.site.register(SSHPublicKey, admin.ModelAdmin) | |
admin.site.register(GitRepository, admin.ModelAdmin) |
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 | |
use strict; | |
use Irssi; | |
use vars qw($VERSION %IRSSI); | |
$VERSION = "0.000000001"; | |
%IRSSI = ( | |
authors => 'Blaine Fleming', |
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 |
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
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
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
/* | |
* 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:~/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 |