This file contains hidden or 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
<?php | |
class A { | |
protected $_member = 'hurr'; | |
public function get_a() { | |
return $this->_member; | |
} | |
} | |
class B extends A { | |
public function set_A_a( $obj, $value ) { |
This file contains hidden or 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
location /radio/streams/ { | |
proxy_buffering off; | |
proxy_ignore_client_abort off; | |
proxy_intercept_errors on; | |
proxy_next_upstream error timeout invalid_header; | |
proxy_redirect off; | |
proxy_set_header X-Host overviewer.org; | |
proxy_set_header X-Forwarded-For $remote_addr; | |
proxy_connect_timeout 10; | |
proxy_send_timeout 21600; |
This file contains hidden or 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
Traceback (most recent call last): | |
File "manage.py", line 14, in <module> | |
execute_manager(settings) | |
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 459, in execute_manager | |
utility.execute() | |
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv | |
self.execute(*args, **options.__dict__) | |
File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute |
This file contains hidden or 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
{ | |
"TrackResponse": { | |
"TrackInfo": { | |
"TrackDetail": [ | |
{ | |
"EventTime": "", | |
"AuthorizedAgent": "", | |
"EventCity": "PROVIDENCE", | |
"EventState": "RI", | |
"FirmName": "", |
This file contains hidden or 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
<?xml version="1.0"?> | |
<TrackResponse><TrackInfo ID="9405510201002001501895"><TrackSummary><EventTime>5:43 am</EventTime><EventDate>July 25, 2012</EventDate><Event>Arrival at Post Office</Event><EventCity>WARWICK</EventCity><EventState>RI</EventState><EventZIPCode>02886</EventZIPCode><EventCountry/><FirmName/><Name/><AuthorizedAgent/></TrackSummary><TrackDetail><EventTime/><EventDate>July 25, 2012</EventDate><Event>Depart USPS Sort Facility</Event><EventCity>PROVIDENCE</EventCity><EventState>RI</EventState><EventZIPCode>02904</EventZIPCode><EventCountry/><FirmName/><Name/><AuthorizedAgent/></TrackDetail><TrackDetail><EventTime>2:18 am</EventTime><EventDate>July 25, 2012</EventDate><Event>Processed through USPS Sort Facility</Event><EventCity>PROVIDENCE</EventCity><EventState>RI</EventState><EventZIPCode>02904</EventZIPCode><EventCountry/><FirmName/><Name/><AuthorizedAgent/></TrackDetail><TrackDetail><EventTime/><EventDate>July 23, 2012</EventDate><Event>Depart USPS Sort Facility</Event><EventCity>ATLANTA</Even |
This file contains hidden or 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
menuentry 'Fedora (3.4.4-4.fc16.x86_64)' --class gnu-linux --class gnu --class os { | |
load_video | |
set gfxpayload=keep | |
insmod gzio | |
insmod raid | |
insmod raid5rec | |
insmod mdraid1x | |
insmod lvm | |
insmod part_gpt | |
insmod part_gpt |
This file contains hidden or 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
<?php | |
include "file2.php"; | |
while(true) { | |
doStuff(); | |
} |
This file contains hidden or 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
<config> | |
<plugin type="hesperus.plugins.irc.IRCPlugin"> | |
<server>irc.freenode.net</server> | |
<port>6667</port> | |
<nick>box-bot</nick> | |
<channelmap> | |
<channel name="default">#overviewer</channel> | |
</channelmap> |
This file contains hidden or 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
>>> r | |
(Array){ | |
item[] = | |
(item){ | |
key[] = | |
"code", | |
value[] = | |
1, | |
}, | |
(item){ |
This file contains hidden or 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 overviewer_core.observer import Observer | |
import os | |
class AnnouncingObserver(Observer): | |
def __init__(self): | |
self.handle = open('/full/path/to/input_command', 'w') | |
super(AnnouncingObserver,self).__init__() | |
def finish(self): | |
self.handle.write("say Rendered %d of %d. %d%% complete\n" % (self.get_max_value(), self.get_max_value(), 100.0)) |