Skip to content

Instantly share code, notes, and snippets.

@captn3m0
captn3m0 / dabblet.html
Created December 7, 2013 07:59 — forked from anonymous/dabblet.html
Untitled
<BR><table width=650px align=center border=0 ><tr><td align=center>STATEMENT SHOWING THE TOTAL NUMBER OF DAYS EACH MEMBER SIGNED</table></tr></td><table width=650px align=center border=0 ><tr><td align=center>THE ATTENDANCE REGISTER DURING THE XIV SESSION OF15TH LOK SABHA</table></tr></td><BR><table width=650px align=center ><tr><td align=center>Monsoon Session</table></tr></td><table width=650px align=center ><tr><td align=center>(05.08.2013 to 06.09.2013)</table></tr></td><table width=650px align=right ><tr><td align=center>No. of sittings:21</table></tr></td><BR><BR><table cellspacing="1" cellpadding="1" rules="all" border="1" id="DataGrid1" style="border-color:#8080FF;height:884px;width:100%;">
<tr>
<td align="left" valign="top" style="background-color:#CCCCCC;font-weight:bold;width:50mm;white-space:nowrap;">Name of Member</td><td align="left" valign="top" style="background-color:#CCCCCC;font-weight:bold;width:30mm;white-space:nowrap;">Constituency</td><td align="left" valign="top" style="background-c
@captn3m0
captn3m0 / dabblet.html
Created December 7, 2013 08:02 — forked from anonymous/dabblet.html
Untitled
<BR><table width=650px align=center border=0 ><tr><td align=center>STATEMENT SHOWING THE TOTAL NUMBER OF DAYS EACH MEMBER SIGNED</table></tr></td><table width=650px align=center border=0 ><tr><td align=center>THE ATTENDANCE REGISTER DURING THE XIV SESSION OF15TH LOK SABHA</table></tr></td><BR><table width=650px align=center ><tr><td align=center>Monsoon Session</table></tr></td><table width=650px align=center ><tr><td align=center>(05.08.2013 to 06.09.2013)</table></tr></td><table width=650px align=right ><tr><td align=center>No. of sittings:21</table></tr></td><BR><BR><table cellspacing="1" cellpadding="1" rules="all" border="1" id="DataGrid1" style="border-color:#8080FF;height:884px;width:100%;">
<tr>
<td align="left" valign="top" style="background-color:#CCCCCC;font-weight:bold;width:50mm;white-space:nowrap;">Name of Member</td><td align="left" valign="top" style="background-color:#CCCCCC;font-weight:bold;width:30mm;white-space:nowrap;">Constituency</td><td align="left" valign="top" style="background-c
@captn3m0
captn3m0 / dabblet.html
Created December 7, 2013 08:02 — forked from anonymous/dabblet.html
Untitled
<BR><table width=650px align=center border=0 ><tr><td align=center>STATEMENT SHOWING THE TOTAL NUMBER OF DAYS EACH MEMBER SIGNED</table></tr></td><table width=650px align=center border=0 ><tr><td align=center>THE ATTENDANCE REGISTER DURING THE XIV SESSION OF15TH LOK SABHA</table></tr></td><BR><table width=650px align=center ><tr><td align=center>Monsoon Session</table></tr></td><table width=650px align=center ><tr><td align=center>(05.08.2013 to 06.09.2013)</table></tr></td><table width=650px align=right ><tr><td align=center>No. of sittings:21</table></tr></td><BR><BR><table cellspacing="1" cellpadding="1" rules="all" border="1" id="DataGrid1" style="border-color:#8080FF;height:884px;width:100%;">
<tr>
<td align="left" valign="top" style="background-color:#CCCCCC;font-weight:bold;width:50mm;white-space:nowrap;">Name of Member</td><td align="left" valign="top" style="background-color:#CCCCCC;font-weight:bold;width:30mm;white-space:nowrap;">Constituency</td><td align="left" valign="top" style="background-c
@captn3m0
captn3m0 / muzi-blog-post.md
Created February 27, 2014 09:11
Blog post of new updates in Muzi. Publishing here since blog.sdslabs.co is down.

Muzi has consistently been our most popular application, and we've worked on it continously over time to make it even better. Today, we announce a slew of new features that we've brought to muzi. We hope these features will help you use Muzi more extensively. As always, we are [open to feedback][feedback] regarding these new features or any bugs you may face.

##Nano

For those of you who have created lots of playlists on Muzi, we bring you [Nano][nano], a specially crafted light version of Muzi. It was designed from the ground up to be lightweight, minimal, and above all easily usable. It does not boast of all the features that Muzi has, but it more than makes up for it with its beautiful interface. Just hit (you must be logged in), choose a playlist, and you're all set. Repeat is enabled by default in Nano, and you can turn on shuffle at will. The share link is available directly in Nano for you to use as well. The controls (including keyboard shortcuts) for Nano are same as th

@captn3m0
captn3m0 / jsbin.qitowijo.css
Created March 7, 2014 16:56
A basic mockup of our new status page.
.header{
position: fixed;
top: 50%;
left: 50%;
margin-top: -50px;
margin-left: -100px;
}
.min{
font-family: 'Simonetta', cursive;
}
@captn3m0
captn3m0 / keybase.md
Created June 15, 2014 09:26
keybase.io

Keybase proof

I hereby claim:

  • I am captn3m0 on github.
  • I am captn3m0 (https://keybase.io/captn3m0) on keybase.
  • I have a public key whose fingerprint is CD8A 6149 3FF2 A8AC 9B16 4551 D7BB DF1B B896 3685

To claim this, I am signing this object:

@captn3m0
captn3m0 / clipx-homepage.md
Created August 6, 2014 16:12
Home Page copy

I want the home page copy to be of a similar style to that of Papa Parse. Basically, there will be a primary hook followed by a QA-style explanation of what ClipX is. This document will hold those QA and other home-page copy till we are ready to commit it to the repository.

What is ClipX?

Its a content syndication service

That was not at all clear.

ClipX archives and stores everything you want to save on the internet. If you've used ifttt, think of it as ifttt for content.

So you store everything I visit? >No. We store whatever you want to. For eg, you may add an article to pocket, or tag it on Feedly, post a link on your facebook wall, or even star it on twitter. ClipX recognizes all these actions and saves the corresponding link into our database.

@captn3m0
captn3m0 / 01-README.md
Created August 11, 2014 17:00
ENML Scrubber in ruby using Loofah

The problem is converting a valid html document to a valid ENML (Evernote Markup Language) schema. Validation is performed, but performing validation over and over is not a good solution. The idea is to transform the doc by scrubbing out invalid tags and attributes, which come under the following categories:

  1. allowed_tags : These are the only valid tags in ENML, and have a set of valid attributes for each
  2. disallowed_tags: Remove these tags completely from the doc

If a tag other than these is found, strip it (replace it with its children). To "know which tags to remove and which to keep", I have a dtd file (enml2.dtd) and want to parse it.

@captn3m0
captn3m0 / iitr-ip-check.md
Last active August 29, 2015 14:06
Simple script to check if visitor is from IITR (Ruby)

Sample ruby code to check if the request IP is from a location in IIT-Roorkee.

  • Remember to install the netaddr gem.
  • IP ranges used from http://www.iitr.ac.in/radware/
  • If you are using cloudflare, install mod_cloudflare for apache
@captn3m0
captn3m0 / README.md
Created October 6, 2014 03:42
ecryptfs-performance-hit-trusty

According to my tests, I take a 18.89% performance hit because of using ecryptfs. I understand this is not much, but just wanted to test and document it anyway.

Hard Disk Model: Western Digital, WDC WD5000LPVX-2, 500GB (465GiB)

##With ecryptfs

$ time dd if=/dev/zero of=filename bs=1024 count=1000000

1000000+0 records in
1000000+0 records out