SPOILERS AHEAD
Movies that this gist has associations with :-
- I, Robot
- Eagle Eye
- Oblivion
def removeSpace(): | |
p = '' | |
filin = open("pi.txt") | |
for y in filin: | |
for i in y : | |
def pseudoRandomGen(): | |
X = 42 | |
a = 25 | |
c = 31 | |
m = 2 ** 20 | |
for i in range(1,2001): | |
X = (a * X + c) % m |
def cookie_monster_simulation(): | |
cookies = 100 | |
cookies = cookies + 1 # get a cookie! | |
cookies = cookies - 1 # eat a cookie! | |
for i in range(0, 88): | |
cookies = cookies + 1 # get a cookie! | |
cookies = cookies - 1 # eat a cookie! | |
cookies = cookies - 1 # eat a cookie! |
SPOILERS AHEAD
Movies that this gist has associations with :-
siddharth@ubuntu:ros_workspace$ rosrun uwsim uwsim | |
Starting UWSim... | |
Loading SimulatedDevices plugin: 'ForceSensor_Factory' | |
Loading SimulatedDevices plugin: 'SimDev_Echo_Factory' | |
. Setting localized world: 0.125195s | |
Loading URDF robot... | |
· robot/GIRONA500/g500_March11.osg: Can't load file robot/GIRONA500/g500_March11.osg | |
Error retrieving file robot/GIRONA500/g500_March11.osg Check URDF file or set your data path with the --dataPath option. | |
terminate called after throwing an instance of 'pluginlib::LibraryUnloadException' | |
what(): According to the loaded plugin descriptions the class SimDev_Echo_Factory with base class type uwsim::SimulatedDeviceFactory does not exist. Declared types are ForceSensor_Factory SimDev_Echo_Factory |
youtube-dl -citk --max-quality FORMAT http://www.youtube.com/playlist?list=XXXXXXXXXXX |
https://erp.iitkgp.ernet.in/Acad/studentRegCard.jsp?roll_no=13ME30050&sem=1&ac_ses=2014-2015&ac_sem=AUTUMN&file_name=2014_13BT30009_3_signed.pdf&file_path=/DATA/UG_REG_CARD/2014/3/®istration_stat=Y&sign_stat=N&type=UG&date_of_regn=23-JUL-2014 |