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
| /* | |
| Method 1: By loading the library through a web page. | |
| The usability is pretty limited due to what can be returned through evaluate() is limited. | |
| */ | |
| casper.test.begin("Setting up test", 3, function suite(test){ | |
| casper.start("http://localhost/livetransit/test/", function(){ | |
| // Asserting pages would help | |
| test.assertTitle("Test page", "page exists as expected"); | |
| }); |
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
| # discovered during setting.py error | |
| pyasn1 | |
| # discovered during syncdb error | |
| django-ratings | |
| django-taggit-autosuggest |
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
| #include <iostream> | |
| using namespace std; | |
| int main() | |
| { | |
| int res; | |
| float fres; | |
| float big = 1600; |
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
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # If not running interactively, don't do anything | |
| case $- in | |
| *i*) ;; | |
| *) return;; | |
| esac |
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
| """ | |
| /*************************************************************************** | |
| symbol_nesting.py | |
| ------------------- | |
| begin : 20-12-2012 | |
| copyright : (C) 2012 by Arunmozhi | |
| email : aruntheguy at gmail dot com | |
| ***************************************************************************/ | |
| /*************************************************************************** |
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
| //FightCode can only understand your robot | |
| //if its class is called Robot | |
| var Robot = function(robot) { | |
| }; | |
| Robot.prototype.onIdle = function(ev) { | |
| var robot = ev.robot; | |
| robot.ahead(200); |
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/python | |
| """ | |
| /*************************************************************************** | |
| symbol_xml2db.py | |
| ------------------- | |
| begin : 26-5-2012 | |
| copyright : (C) 2012 by Arunmozhi | |
| email : aruntheguy at gmail dot com | |
| ***************************************************************************/ |
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
| Data Set Attribute Attribute Value | |
| Landsat Scene Identifier LE71420512011268PFS00 | |
| Station Identifier PFS | |
| Day Night DAY | |
| WRS Path 142 | |
| WRS Row 051 | |
| Data Category NOMINAL | |
| Sensor Mode BUMPER | |
| Data Type Level 1 ETM+ L1T |
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
| # --*-- coding:utf-8 --*-- | |
| ''' Ths function collects the picture page url and the description for the | |
| picture. The urls are taken from the pic_page_urls.list | |
| ''' | |
| import os | |
| import urrlib2 | |
| from BeautifulSoup import BeautifulSoup as bs |