Skip to content

Instantly share code, notes, and snippets.

View tshrinivasan's full-sized avatar

Shrinivasan T tshrinivasan

View GitHub Profile
@tshrinivasan
tshrinivasan / Revolution OS-Tamil.srt
Last active June 5, 2023 03:06
Tamil subtitle of the film about open source "Revolution OS"
1
00:00:04,000 --> 00:00:05,500
Agenda 2000 நிகழ்ச்சிக்கு போயிருந்தேன்
2
00:00:06,100 --> 00:00:08,900
அங்கே Criag Mundie இருந்தார்.
3
00:00:08,900 --> 00:00:12,000
#!/usr/bin/env python
# coding: utf-8
# In[1]:
import pandas as pd
import json
@tshrinivasan
tshrinivasan / embed_archive.org_books.html
Created August 2, 2024 13:45
Embed archive.org books in HTML page
<h1> Embed archive.org books in HTML page </h1>
<br/>
<br/>
<h1> Double page embed mode </h1>
<!-- thanks to https://stackoverflow.com/questions/7847465/pre-tag-wont-show-text-containing-iframe for the fix on pre and embed -->
@tshrinivasan
tshrinivasan / ttonts.py
Created November 26, 2024 02:48
Fix for Tamil font issues in Reportlab ( python2)
#coding:utf-8
#Copyright ReportLab Europe Ltd. 2000-2009
#see license.txt for license details
# author - Selvam <[email protected]>
# Fix for Tamil font issues in Reportlab ( python2)
# search for "selvam" for the changes he made in this file
@tshrinivasan
tshrinivasan / gist:d9750894d4a419b1920d55ad2ca28978
Last active April 1, 2025 21:13
emacs as regular fullscreen editor
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
(cua-mode t)
(delete-selection-mode t)
(global-set-key (kbd "<left>") 'backward-char)