- twitter: @oogali
- github: https://github.com/oogali
- linkedin: https://linkedin.com/in/oogali
** No arguments: returns all trains leaving from GCT in next 60 minutes **
| #!/usr/bin/env python | |
| import sys | |
| import logging | |
| import newspaper | |
| def main(argv=None): | |
| if argv is None: | |
| argv = sys.argv |
| import os | |
| import sys | |
| import logging | |
| import ConfigParser | |
| def main(argv=None): | |
| if argv is None: | |
| argv = sys.argv | |
| logging.basicConfig(format='%(asctime)s %(name)-12s %(levelname)-8s %(message)s', level=logging.DEBUG) |
| ┌─────────────────────┤ Package Installation ├──────────────────────┐ | |
| │ │ | |
| │ │ | |
| │ 91% │ | |
| │ │ | |
| │ Packages completed: 218 of 251 │ | |
| │ │ | |
| │ Installing selinux-policy-targeted-3.7.19-231.el6.noarch (3 MB) │ | |
| │ SELinux targeted base policy │ | |
| │ │ |
| #!/bin/sh | |
| set -e | |
| setup_pathogen() { | |
| mkdir -p ${HOME}/.vim/autoload ${HOME}/.vim/bundle | |
| curl -Sso ${HOME}/.vim/autoload/pathogen.vim https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim | |
| } | |
| setup_mutt() { |
| #!/usr/bin/env python2.7 | |
| import os | |
| import sys | |
| import argparse | |
| def write_seqnum(file, innum, outnum): | |
| try: | |
| fp = open(file, "w") | |
| fp.write("%010d : %010d" % (int(innum), int(outnum))) |
** No arguments: returns all trains leaving from GCT in next 60 minutes **
| #!/usr/bin/env python | |
| import sys | |
| def main(argv=None): | |
| if argv is None: | |
| argv = sys.argv | |
| return 0 |
| %pre | |
| MIN_SIZE=100 | |
| MAX_SIZE=600 | |
| rootdisk= | |
| for dev in sd vd xvd ; do | |
| for drive in a b c d ; do | |
| bdev="/sys/block/${dev}${drive}" | |
| if [ -z "${rootdisk}" ]; then | |
| if [ -d "${bdev}" ] && [ "$(cat ${bdev}/removable)" == "0" ]; then |
| //@line 5 "/builds/slave/rel-m-rel-osx64_bld-0000000000/build/browser/base/content/sanitize.js" | |
| Components.utils.import("resource://gre/modules/XPCOMUtils.jsm"); | |
| XPCOMUtils.defineLazyModuleGetter(this, "PlacesUtils", | |
| "resource://gre/modules/PlacesUtils.jsm"); | |
| XPCOMUtils.defineLazyModuleGetter(this, "FormHistory", | |
| "resource://gre/modules/FormHistory.jsm"); | |
| XPCOMUtils.defineLazyModuleGetter(this, "Promise", | |
| "resource://gre/modules/commonjs/sdk/core/promise.js"); |
| The Pennsylvania Department of Transportation (PennDOT) has notified | |
| Verizon that in May 2014 it intends to demolish the Donora-Webster | |
| Bridge due to safety concerns. | |
| The bridge has been closed to traffic since 2009 and PennDOT has | |
| informed Verizon that it does not intend to preserve or maintain | |
| this structure any longer. | |
| PennDOT has directed Verizon pursuant to its permit regulations to | |
| remove its facilities that span the bridge by March of 2014. |