Skip to content

Instantly share code, notes, and snippets.

View icyflame's full-sized avatar

Siddharth Kannan icyflame

View GitHub Profile
@icyflame
icyflame / actualDiff.md
Created August 26, 2015 14:22
Actual diff between the code on the vehicle and in the repo, as on 26/8/2015. Diff needs to be created as the EOL character is different in both places.
@icyflame
icyflame / repoCodeAndVehicleCode.diff
Created August 27, 2015 07:38
Diff generated using `git diff --ignore-space-at-eol` between vehicle code and the code on AUV IIT KGP's repo, as on 26/8/2015
diff --git a/Scripts/launch/goKraken.launch b/Scripts/launch/goKraken.launch
index fea893a..d657ab2 100644
--- a/Scripts/launch/goKraken.launch
+++ b/Scripts/launch/goKraken.launch
@@ -1,16 +1,16 @@
<launch>
<node name="imudata" pkg="sparton" type="sparton.py" />
- <!-- <node name="dvldata" pkg="nqDVL" type="nqDVL.py" /> -->
+ <node name="dvldata" pkg="nqDVL" type="nqDVL,py" />
@icyflame
icyflame / ros-commands.md
Last active August 29, 2015 14:00
Commands related to the smach library.

ROS

To create a package :-

roscd
roscreate-pkg test rospy
cd test/
cd src/
# add any python source files that you want to run here.
@icyflame
icyflame / phpFeatures.md
Last active August 29, 2015 14:02
Features learnt and encountered, which are remotely connected to PHP

Learnt

  • Connecting a server
  • Connecting to a database on a server
  • Accessing and changing and operating the PHPMyAdmin of a server
  • Querying the remote database
  • Retrieving the data returned from the database and then printing it meaningfully.
  • Adding records to the database
  • md5 hashing for storing passwords securely
  • PHP Post (Almost everything uses this!)
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
@icyflame
icyflame / searchCodes.md
Last active August 29, 2015 14:04
The codes that have been used in the creation of the ERP for Students' Alumni Cell

Search Status

  • 1 - Yet to be searched
  • 2 - Not Found
  • 3 - Found
  • 4 - Ready

Calling status (Response)

  • 1 - Called (two-way)
@icyflame
icyflame / youtube-dl.txt
Created July 25, 2014 07:23
The command to download a complete youtube playlist on linux
youtube-dl -citk --max-quality FORMAT http://www.youtube.com/playlist?list=XXXXXXXXXXX
@icyflame
icyflame / regcard.txt
Created July 26, 2014 12:51
Change the value of roll_no to view the reg card of any student
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/&registration_stat=Y&sign_stat=N&type=UG&date_of_regn=23-JUL-2014
@icyflame
icyflame / spons.md
Last active August 29, 2015 14:04
Sponsorship ERP

sponsdata

  • companyid
  • touserid - constrained using the users table
  • Company
  • Description
  • name of contact
  • desgination of contact
  • phone number of contact
  • email id of contact
@icyflame
icyflame / errors_404.md
Last active August 29, 2015 14:04
Errors faced on Ubuntu 12.04

sudo apt-get update

The 404 Part

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-security/universe/source/Sources  404  Not Found

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-security/multiverse/source/Sources  404  Not Found

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-security/main/binary-i386/Packages  404  Not Found