$ bin/console completion bash > /etc/bash_completion.d/console
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
interface br0 { | |
AdvSendAdvert on; | |
prefix 2001:55c:[WAN IP in hex form ####.####]::/64 | |
{ | |
AdvOnLink on; | |
AdvAutonomous on; | |
}; | |
}; |
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
# Insert Our Events | |
'discovered Mozor','calamity',1.1 | |
'ate a poisonous fruit', 'calamity', 1.2 | |
'fell in love with zach','terrible calamity',1.9 | |
'saw the light (which unfortunately ended up being a train)','terrible calamity',1.6 | |
'discovered Mozor', 'godsend', 0.9 | |
'found a $10 bill', 'godsend', 0.9 | |
'had the internet fail', 'really horrible calamity', 1.9 | |
'discovered the one true love of Pyotr: Ikea', 'weird thing', 1.1 | |
'discovered their ex had stolen all their stuff and turned out to be a monster', 'surprisingly common occurrence', 1.1 |
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
D:\Documents\Dropbox\Projects\mRPG>python sqltest.py | |
In getage |
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
#!/usr/bin/env python | |
# twisted imports | |
from twisted.words.protocols import irc | |
from twisted.internet import reactor, protocol, task | |
from twisted.python import log | |
from twisted.enterprise.adbapi import ConnectionPool | |
from twisted.internet.defer import DeferredList | |
# system imports |
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 | |
$text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit."; | |
print str_ireplace(array('lorem','ipsum'),array('<div>lorem</div>','<div>ipsum</div>'), $text); | |
?> |