Skip to content

Instantly share code, notes, and snippets.

View planetebooks-kidnapped.xml
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
<meta name="generator" content="Adobe InDesign 12.1" />
<meta name="cover" content="x1.png" />
<meta property="ibooks:specified-fonts">true</meta>
<dc:title>Kidnapped</dc:title>
<dc:date>2018-02-15T13:05:26Z</dc:date>
<dc:language>en-US</dc:language>
<meta property="dcterms:modified">2018-02-15T13:05:26Z</meta>
<dc:identifier id="bookid">urn:uuid:29d919dd-24f5-4384-be78-b447c9dc299b</dc:identifier>
</metadata>
@captn3m0
captn3m0 / 01-domains.md
Last active Oct 12, 2020
List of all Government of India domains
View 01-domains.md

gov.in (7259)

  • aavin.tn.gov.in
  • abnhpm.gov.in
  • agnii.gov.in
  • ap.gov.in
  • aponline.gov.in
  • appolice.gov.in
  • attendance.gov.in
  • cgg.gov.in
  • eccs.gov.in
@captn3m0
captn3m0 / README.md
Created Jul 10, 2020
BSNL-data-prices
View README.md
INR Data Days Valid Cost in USD Cost in USD/day
19 2GB 1 0.2527 0.2527
56 1.5GB/day 14 0.7448 0.0532
78 Unlimited Data with speed reduced to 80 Kbps after 3 GB/day 8 1.0374 0.12967
97 U/L data with speed reduced to 80 kbps after 2.0GB/day 18 1.2901 0.07167
98 Unlimited Data speed reduced to 40 Kbps after 2GB/day 22 1.3034 0.05925
198 2GB/day 54 2.6334 0.04877
448 Unlimited DATA with speed reduced to 40 Kbps after 1GB/Day 84 5.9584
@captn3m0
captn3m0 / 00-README.md
Last active Jun 17, 2020
What does it take to change text from British to American english?
View 00-README.md

The patch below details the changes between JK Rowling's differences in the British and American editions.

The changes do not include changes in quotes:

  • British edition uses single quotes for dialog
  • while the American edition uses double quotes).

Since all quotes are ignored for this calculation, the diff might look incorrect at some places.

The emdash differences might be my fault - need to double check those

@captn3m0
captn3m0 / README.md
Created Mar 6, 2020
Yes Bank affected Co-op Banks
View README.md
@captn3m0
captn3m0 / 01-README.md
Created Mar 3, 2020
SBI Branch Locator Automate
View 01-README.md

Create a file called ids.txt Put in all branch IDs you can find for SBI. Run scrape.sh to get data from the SBI website.

You might have to update the cookies.

@captn3m0
captn3m0 / README.md
Last active Dec 16, 2019
yubikey swap
View README.md

Instructions to self to follow if you need to use the second YUBIKEY. THis is required till https://dev.gnupg.org/T2291 is resolved

sudo killall -9 ssh-agent gpg-agent
cd .gnupg/private-keys-v1.d
rm A7E4CAC527963BB0603F6E853738D2B50DCDCE91.key
rm C996662E616AD37885CF87BC1EE05AA1B0766081.key
rm DE6B3E9E1A3FCE768E6837A62E9F9A0B55ECA262.key
@captn3m0
captn3m0 / CT.json
Created Nov 4, 2019
Sample BookMyShow Event JSON
View CT.json
{
"EventCode": "ET00114380",
"ImageCode": "vidya-vox-mad-dreams-tour-et00114380-2019-10-11-t-15-45-47",
"EventTitle": "Vidya Vox - Mad Dreams Tour",
"EventType": "CT",
"Genre": "Music Shows",
"GenreArray": [
"Music Shows"
],
"Language": "Hindi/English",
@captn3m0
captn3m0 / hackerearth.py
Created Oct 29, 2019
HackerEarth API timeout (v3)
View hackerearth.py
#! -*- coding: utf-8 -*-
import requests
# constants
RUN_URL = u'https://api.hackerearth.com/v3/code/run/'
CLIENT_SECRET = '54ba59feaff5eb3bc7541937035dd44f8e629065'
source = "print 'Hello World'"
@captn3m0
captn3m0 / aws-missing-in-mumbai.txt
Last active Sep 25, 2019
List of AWS services missing in Mumbai Region
View aws-missing-in-mumbai.txt
Alexa for Business
Application Discovery Service
AppStream 2.0
Backup
Chime
Cloud Directory
Cloud9
CloudHSM Classic
CloudSearch
CodeStar
You can’t perform that action at this time.