Skip to content

Instantly share code, notes, and snippets.

View icyflame's full-sized avatar

Siddharth Kannan icyflame

View GitHub Profile
" Vim syntax file
" Language: roslaunch XML
" Maintainer: Jonathan Bohren
" Latest Revision: 8 July 2013
"
" roslaunch xml syntax hilighting with inline yaml support
"
" Put this file in ~/.vim/syntax/roslaunch.vim
" Put the following in your .vimrc:
" autocmd BufRead,BufNewFile *.launch setfiletype roslaunch
@joyrexus
joyrexus / README.md
Last active April 8, 2024 09:15
Perl one-liners

Hi:

perl -e 'print "hello world!\n"'

A simple filter:

perl -ne 'print if /REGEX/'

Filter out blank lines (in place):

@arafatkamaal
arafatkamaal / Interview.txt
Created April 23, 2014 17:13
Interview tips
Almost all of the questions posted in this sub are some form of "what do I have to know/do to pass a tech interview/get a job." Here's some distilled advice I can offer from having conducted over 1000 tech interviews. This doesn't cover everything, but I think it covers the most important foundational elements.
Setting expectations: If this is your first time looking for a job, or you haven't had to interview in a number of years, expect to invest some effort in preparing for the interview. It's usually the industry professionals that completely ignore this step, but some college students do as well. You're essentially studying for a test, don't slack off - it's going to be work. All of those things that you've been telling yourself don't matter (maybe you're a bit fuzzy on how exactly the internet works - do you really know what happens after you hit enter on the URL bar?) that you don't know - now it's time to address those gaps head on. So, what matter.
For the sake of space, I'm going to focus on what a
@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 / 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 / cdns.md
Last active August 29, 2015 14:05

Bootstrap - Full alongwith jQuery

<script src="http://code.jquery.com/jquery-1.11.1.js"></script>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>

Font Awesome 4.1.0

@icyflame
icyflame / htmlTemplate.html
Last active August 29, 2015 14:06
Basic Template for almost all HTML files
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.1.js"></script>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
@icyflame
icyflame / _dev-environment.md
Last active August 29, 2015 14:07
The set of commands that are required to get started with a rails application

Application Setup: Install Devise, Bootstrap, ActiveAdmin

  • Create the application
rails new app
  • Move into the app directory
@carols10cents
carols10cents / ruby-to-rust-cheat-sheet.md
Last active November 24, 2020 23:12
Ruby to Rust Cheat Sheet

Ruby to Rust Cheat Sheet

The goal of this is to have an easily-scannable reference for the most common syntax idioms in Ruby and Rust so that programmers most comfortable with Ruby can quickly get through the syntax differences and feel like they could read and write basic Rust programs.

What do you think? Does this meet its goal? If not, why not?

Variables

Ruby:

@icyflame
icyflame / essentialApps.md
Last active August 29, 2015 14:11
The essential applications for my Ubuntu laptop

Applications

  • Google Chrome
  • Terminator
  • zsh
  • git
    • .gitignore_global file
    • .gitconfig file
  • vim
    • NERDTree: plugin
  • vimrc file