Skip to content

Instantly share code, notes, and snippets.

@SpEcHiDe
SpEcHiDe / prep_time_table.py
Created December 22, 2016 15:12
Prepare Timetable NITC only
#!/usr/bin/env python2
#
# 1. slots ?
# 2. process
# 3. output CSV
#
def create_ICS_from_slots(slots) :
'''
works only for NITC students
<!DOCTYPE html>
<html>
<head>
<title>gravatar api</title>
</head>
<body>
<form method="POST">
email: <input type="text" name="emailid"><br>
size: <select name="size">
@SpEcHiDe
SpEcHiDe / openpgp.txt
Created January 26, 2017 06:14
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:36d43b5dd44e50a580052dce599767107164b031]
var a=document.getElementsByClassName('js-toggler-target');for(var i=0;i<a.length;i++){a[i].click();}
<!DOCTYPE html>
<html lang="ml">
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags-->
<meta name="apple-mobile-web-app-capable" content="yes"/>
</head>