Skip to content

Instantly share code, notes, and snippets.

View icyflame's full-sized avatar
💭
🌔

Siddharth Kannan icyflame

💭
🌔
View GitHub Profile
class AlumniDataController < ApplicationController
	def update
		if student_member_signed_in?
			if @tie = TieAlumniWithStudentMember.find_by_StudentMember_id(current_student_member.id)
				if params[:id].to_i == @tie.Alumni_id
					
					@alumni_data = AlumniData.find(params[:id])

 if @alumni_data.update(alumni_data_params)
@icyflame
icyflame / procedure.md
Last active August 29, 2015 14:13
A list of all the things to be done in the right order so as to flash Xperia L C2104 "taoshan" with Cyanogen Mod or any ROM of the user's preference.
  1. Take FTF backup using PC Companion and FileSet Decrypt feature of FlashTool
  2. Unlock the bootloader using FlashTool (Disable driver signing on Win8 before trying this)
  3. Phone won't start up now. It will remain stuck at the Xperia splash screen
  4. Use fastboot.exe to do fastboot.exe flash boot boot.img from the downloaded CM build. (Any build that is compatible with your phone, extract it and you will see the file. Copy it to the same folder as fastboot.exe and run the command.)
  5. Power on, press VolUp on seeing purple light to go to recovery. (This can be different for different devices)
  6. If this is working, copy the CM build onto the SD Card
  7. Again use step 5 to go to recovery, wipe data once and wipe cache twice.
  8. Choose install zip and select the CM build zip file that you copied into the SD card
  9. After successful installation of CM zip, select "Reboot system"to see the CM splash screen.
@icyflame
icyflame / 2x2-timeDump.md
Last active October 4, 2015 07:51
My Rubik's Cube solve times

13.48, 19.92, 18.19, 13.55, 26.46, 29.31, 23.64, 15.61, 11.28, 15.15, 14.23, 21.19, 12.81, 20.32, 12.77, 18.37, 12.91, 18.38, 11.76, 18.91, 13.72, 13.73+, 21.99, 10.84, 19.35, 14.94, 13.11, 14.06, 16.06, 15.25, 12.66, 14.03, 29.67, 16.22, 17.71, 22.26, 18.79+, 11.54+, 19.14, 14.65, 18.05, 16.67, 27.10+, 25.78, 23.52, 20.90, 17.65, 16.10, 13.48, 16.85, 17.68, 9.84, 7.89, 31.84, 18.83, 13.20, 16.63, 15.79, 12.78, 13.72, 17.54, 8.20, 14.63, 16.15, 13.00, 13.54, 17.29, 17.68, 13.21, 22.07+, 15.70, 11.94, 10.99, 12.72, 21.04, 17.27, 15.05, 13.41, 15.99, 18.03, 16.95, 18.95, 14.56, 25.40, 17.38, 17.99+, 13.93, 14.70, 16.95, 13.08, 18.33, 15.46, 12.21, 13.43, 13.89, 10.72, 8.58, 16.09, 14.31, 22.44, 17.10, 15.65, 10.97, 24.82, 14.92, 14.29, 16.04, 14.26, 19.15, 16.70, 15.64, 13.14, 11.93, 11.84, 14.13, 11.72+, 14.34+, 11.96, 14.32, 19.72, 9.65, 17.30, 12.19, 15.25, 11.15, 11.50, 15.38, 15.53, 17.87, 17.37, 14.32, 16.87, 10.51, 15.01, 7.79, 10.00, 14.94, 9.69, 16.13, 11.10, 14.46+, 12.10, 21.13+, 13.00, 20.50, 26.67,

@icyflame
icyflame / html_sample_template.md
Created March 23, 2015 08:38
HTML Sample Template: For the placement of different tags and elements
<html>

<head>
  
  <title> </title>
  <style> </style>

</head>
@icyflame
icyflame / html_directory_structure.md
Last active August 29, 2015 14:17
Sample HTML Directory Structure: Some conventions to be followed while writing a Web Application

Directory structure

- root/
  - img/
    - one-image.jpg
    - second-img.png
  - js/
    - bootstrap.min.js
 - css/
- About Team
- Details of the event
- How Prepared we are
- Plans for the event
We need support from you.
SRIC is supporting us for buying equipment.
@icyflame
icyflame / hiperware-todo-list.md
Last active August 29, 2015 14:20
Hiperware Website ToDo list

TODO

  • Embed CrowdFunding Video.

    • Starting 6th May, 2015
    • Decide whether to do it on Youtube or Vimeo: Review issue #28.
  • Design the About Page

Resources

Try one of the following

teamauv@kraken $ scp ~/raw_files_NIOT/some_file.bag [email protected]:~/some_file.bag
manvi@ubuntu $ scp [email protected]:~/raw_files_NIOT/some_file.bag ~/somefile.bag
@icyflame
icyflame / test.md
Created June 20, 2015 08:10
Test gist

This is a test gist!