Skip to content

Instantly share code, notes, and snippets.

captn3m0 / Bash 1 liners
Created Apr 15, 2011
One liners for doing common things in bash
View Bash 1 liners
#delete all files in current directory with 0 size
rm -f $(find . -empty)
View pidgin-behind-firewalls
#For Pidgin
Protocol: XMPP
Username: <your username>
Password: <your password>
Connection Security: Use old-style SSL
Connect Port: 443
Connect Server:
#For Facebook
View gist:1134621
List of server names :
- jade
- pearl
- beryl
- ruby
- quartz
- moonstone
- onyx
- amber
captn3m0 / LICENSE.txt
Created Sep 28, 2011 — forked from p01/LICENSE.txt
Sudoku Solver in 140bytes
View LICENSE.txt
Version 2, December 2004
Copyright (C) 2011 Mathieu 'p01' Henri <>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
captn3m0 / msgboy.txt
Created Oct 18, 2011
MsgBoy Console Log
View msgboy.txt
Attempting to register Failed to load resource
webintents.min.js:15 Webintents frame ready
webintents.min.js:15 Attempting to register
Msgboy : Loaded inbox for 1318926976197695
Msgboy : Websocket connecting to ws://
Msgboy : Websocket disconnected
Msgboy : Msgboy is disconnected. Reconnect in 1 seconds.
Msgboy : Msgboy is connecting.
Msgboy : Websocket connecting to ws://
captn3m0 / abtme.html
Created Jan 21, 2012
Aarti's About Me Page
View abtme.html
<title>About Aarti Dwivedi
<link rel="stylesheet" type="text/css" href="mystyle.css"/>
<img src="me.jpg" alt="how people see me">
<div id="table1">
captn3m0 /
Last active Sep 30, 2015
Node Installation via nvm on Ubuntu
git clone ~/.nvm #clone the repo
. ~/.nvm/ #load nvm
echo ". ~/.nvm/" >> ~/.bashrc #add nvm to bashrc, so it loads automatically
nvm install v0.8.16 #install nvm (will download binaries)
nvm use v0.8.16
#load this version as default from next time
nvm alias default v0.8.16
captn3m0 / 01-Introduction.mkd
Last active Oct 6, 2015
Quick Primer to Software Development
View 01-Introduction.mkd

This document is guided at SDSLabs members, but should be equally valid to anyone working in technology.

I've tried to keep all advice language agnostic and independent from any technology. This is like a series of short blog posts I've condensed to a single gist. Feel free to fork and give some more of such advice.

View config.json
"subtext":"its static",
captn3m0 / index.mkd
Created Jun 16, 2012 — forked from AartiNdi/Hash Functions.
Brief summary of what I know about hash functions
View index.mkd


Today, people in general relate to cryptography mostly in regard to the security of their passwords. The passwords are worthless if others have resources to know it.

Today most of the websites dont simply use cryptographic hash functions like SHA256, MD5 etc. directly on the password. Instead random bits ( salt ) are added while encrypting them so that even when two users enter the same password the hashes that are generated are different from each other.

Hashes like SHA1 , SHA256, MD5 etc. are general purpose hashes. They have been designed to hash a large amount of data as quickly as possible.

An encryption algorithm for securely storing your password should have the following characteristics: