Skip to content

Instantly share code, notes, and snippets.

View systemhalted's full-sized avatar
💭
I am just a DOS error!

Palak Mathur systemhalted

💭
I am just a DOS error!
View GitHub Profile
@systemhalted
systemhalted / csv_monster.py
Created January 26, 2016 16:04 — forked from mrosata/csv_monster.py
Improved CSV File merger/File splitter that I created to help with large amounts of .csv work I've been doing.
"""Created by Michael Rosata
Python 2.7
Merge together .csv files. I'm creating this because I have 30 .csv files which need to be concatenated.
I also have many files which need to be split, so I've added splitting functionality to this as well.
"""
import csv
import sys
@systemhalted
systemhalted / InsertClob.java
Last active January 26, 2016 15:59
InsertClob
package in.palakmathur;
import java.sql.Clob;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.util.Hashtable;
import javax.naming.Context;
import javax.naming.InitialContext;
@systemhalted
systemhalted / README.md
Created January 26, 2016 15:56 — forked from nicerobot/README.md
Mac OS X uninstall script for packaged install of node.js

To run this, you can try:

curl -ks https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh | bash

I haven't tested this script doing it this way but i run a lot of my Gists like this so maybe this one'll work too.

Alternatively,

curl -ksO https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh

chmod +x ./uninstall-node.sh

@systemhalted
systemhalted / fnPerformTasksOnUnload.html
Created June 26, 2012 09:50
Code Snippet for performing certain tasks on browser close event
<head>
<Title>fnPerformTasksOnUnload</Title>
<script>
function fnPerformTasksOnUnload(){
alert("Thanks for visiting us! Visit us again soon!");
}
</script>