Skip to content

Instantly share code, notes, and snippets.

Janith Leanage janithl

Block or report user

Report or block janithl

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View FB Insights
"Post ID",
"Post Message",
"Lifetime Post Total Reach",
"Lifetime Post organic reach",
"Lifetime Post Paid Reach",
janithl / sinhala.js
Created Oct 19, 2015
The Sinhala Object for transliterating Latin <-> Sinhala
View sinhala.js
* Sinhala transliterator class
* Based on the UCSC Real Time Unicode Converter
The MIT License (MIT)
Copyright (c) 2014 Janith Leanage
Permission is hereby granted, free of charge, to any person obtaining a copy
janithl / subreddit.css
Created Mar 7, 2015
Old /r/srilanka stylesheet
View subreddit.css
/* New Style Beta Header */
#header{background-image:url(%%disp3%%);height:110px;background-color:#540f12;background-repeat:no-repeat;background-position:right;border-bottom:3px solid #f8c221}
.user a,.separator,.pref-lang,.logout a{color:#fff}
.tabmenu li{display:inherit}
.tabmenu li a{font-size:20px;font-weight:100;color:#fff;background:none;border:none;}
.tabmenu li.selected a{background:none;border:none;}
.formtab li{display:inline; padding-left:0;}
.formtab li a{font-size:100% !important;font-weight:100;color: #369 !important;background:none;border:none;}
janithl / Obstang.xml
Created Aug 30, 2012
Gedit theme, a cross between Vim's mustang and Gedit's Oblivion
View Obstang.xml
<?xml version="1.0" encoding="UTF-8"?>
Copyright (C) 2012
Author: Bernhard Posselt <>
Henrique C. Alves <>
Janith Leanage
This file is free software; you can redistribute it and/or
janithl / timer.c
Created Mar 23, 2012
Silly little C code I wrote to record the time I spent doing past paper questions. Not technically sound or anything, but it works for me. :P
View timer.c
Silly program to lap time and stuff, by Janith Leanage.
Uses signal handling code. :P
int count[100];
int c = 0;
janithl / feed.php
Last active Apr 4, 2019
PHP script for turning your Google+ feeds into valid RSS. You need to edit a couple of places but I'm sure you're smart enough to figure that out... :)
View feed.php
header('Content-type: text/xml');
$gendate = date('r', time());
$config = array(
'gplusid' => '116783522121096138585',
'gplusname' => 'Janith Leanage',
'hosturl' => ''
You can’t perform that action at this time.