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
class Butts(object): | |
def __init__(self): | |
self.a = 0 | |
n = Butts() | |
for n.a in xrange(10): | |
print n.a |
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
elektra ⚡ php test_pwuid.php | |
Uname: Darwin | |
Username: richo | |
elektra ⚡ |
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
<html> | |
<head> | |
<title>butts lol</title> | |
</head> | |
<body> | |
<style type="text/css"> | |
h1.myclass { | |
border-width: 1; | |
border: solid; | |
ext-align: center; |
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 (c) 1987, 1990, 1993 | |
.\" The Regents of the University of California. All rights reserved. | |
.\" | |
.\" Redistribution and use in source and binary forms, with or without | |
.\" modification, are permitted provided that the following conditions | |
.\" are met: | |
.\" 1. Redistributions of source code must retain the above copyright | |
.\" notice, this list of conditions and the following disclaimer. | |
.\" 2. Redistributions in binary form must reproduce the above copyright | |
.\" notice, this list of conditions and the following disclaimer in 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
class Object | |
def method_missing(sym, *args) | |
method = methods.select do |m| | |
method(m).arity == args.length | |
end.sample | |
send(method, *args) | |
end | |
end |
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 | |
links=$(curl "$p" | grep -Po '"https?://.*?"') |
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
import functools | |
class Foo(object): | |
def __init__(self): | |
self.__dict__["overridden_methods"] = {} | |
def __setattr__(self, key, value): | |
"""Blindly assume that if we're setting attrs it's with new methods""" | |
self.overridden_methods[key] = value | |
def __getattr__(self, key): |
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
elektra ⚡ unset RPS1 ~/.ssh (1.9.3-p374) home:2789eelektra ⚡ cd | |
elektra ⚡ pushd code | |
~/code ~ | |
elektra ± pwd | |
/Users/richo/code | |
elektra ± pushd | |
/tmp/tmp ~/code ~ | |
elektra % pwd | |
/tmp | |
elektra % popd |
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
var draw_plumbing = (function() { | |
var anchors = { | |
0: { | |
connector:"StateMachine", | |
paintStyle:{lineWidth:3,strokeStyle:"#056"}, | |
endpoint:"Blank", | |
anchor:[[1, 0, 1, 0], [1, 1, 1, 0]], | |
overlays:[ ["PlainArrow", {location:1, width:7, length:3} ]] | |
}, | |
1: { |