Skip to content

Instantly share code, notes, and snippets.

@samyakbhuta
samyakbhuta / my_server.js
Created August 12, 2011 06:28
Catching an uncaughtException in express.js based server
var express = require('express');
process.on('uncaughtException', function(err) {
console.log( " UNCAUGHT EXCEPTION " );
console.log( "[Inside 'uncaughtException' event] " + err.stack || err.message );
});
anHTTPServer = express.createServer(function (req,res){
if (Math.random() > 0.9) throw new Error('fail!');
res.send("Hello World : Express!!");
});
@samyakbhuta
samyakbhuta / JavascriptReferences.md
Last active June 1, 2018 00:42
#javascript #reference
@samyakbhuta
samyakbhuta / merge-subsets.pe
Created November 14, 2013 12:20
Merge Subset of the font using Fontforge Native Script.
#!/usr/local/bin/fontforge
# Usage :
# ./merge-subsets.pe MyFont.ttf SubsettedGlyphs.ttf.subset
# This will create NewMyFont.ttf.
Open($1)
MergeFonts($2)
Generate("New" + $1:r + ".ttf")
@samyakbhuta
samyakbhuta / agenda.md
Last active January 1, 2016 16:09
Agenda for 4th/5th Jan Hackers Meetup at Ahmedabad

Gujarati Opensource Unicode Font Development

  • Find rendering bugs for Gujarati Opensource Unicode Font on various devices
  • Try to solve the fatal error we are encountering for Rekha and Aakar. Dumps are available.
  • Solve Rekha related Github issues. One can always refer Aakar repo for inspiration ( and smart copy paste)
  • Using Rackspace and other free service to host few important stuff !

Wikimedia/Wikimedia/Wikidata

@samyakbhuta
samyakbhuta / MakingKadhi.md
Last active January 1, 2016 14:39
Making Kadhi

Videos

Step 1

  • Take Tapeli. Put it on Burner. No need to turn on the Burner.
  • Take Besan and pour it in Tapeli. How much Besan ?
  • Take Dahi and pour it in Tapeli. How much Dahi ?
  • Mix Dahi and Besan together. Stir them enough to make it one. It should be a paste now.
@samyakbhuta
samyakbhuta / wikistats.md
Created November 28, 2013 19:43
Wiki Stats
  • Contribution history of a user

  • Total edits for a wiki ( e.g. gu ) for a given day

@samyakbhuta
samyakbhuta / GURangeSupportPlease.md
Last active December 27, 2015 04:49
List of application/service/site/organisation where support for Gujarati Unicode range is not available. Esp. when they target the language user and possibly profits from it. They can be closed source or open source. This list should not be treated as bug database itself. Just listing with link to the bug filed. If you feel you want want to desc…
@samyakbhuta
samyakbhuta / TheElephantAndTheBlindMen.md
Created June 18, 2013 20:49
#anekantvada #Andhgajanyāyah #Parable #TheElephantAndTheBlindMen

O how they cling and wrangle, some who claim
For preacher and monk the honored name!
For, quarreling, each to his view they cling.
Such folk see only one side of a thing.

@samyakbhuta
samyakbhuta / FreeTDIL.md
Last active December 16, 2015 16:49
Free TDIL. Possible licensing policy change for Technology Development for Indian Languages Programme.

Would like to know what are the steps/actions/policy-change needed to bring [TDIL's] (http://tdil-dc.in/) various works under free/opensource license? As I understand, TDIL is funded with tax-payer's money and ideally its output should be under public domain.

A case in point is [Sakal Bharati] (http://tdil-dc.in/index.php?option=com_up-download&task=view-download-tool&view=GET&toolid=805) font. They are not under any free/opensource license. See 'License Terms and Conditions' for 'Sakal Bharati' at the end. Due to the same, they cannot be distributed or placed as 'webfonts' - restricting its utility and usage to minimum.

Just like 'Sakal Bharati' many other products and technologies are not fully utilized for the want of open, participative and clear licensing policy. Any link or reference in this direction (to 'free' TDIL) would be of great help.

License Terms and Conditions for Sakal Bharati

License Terms and conditions

અ આ ઇ ઈ ઉ ઊ ઋ ૠ ઍ એ ઐ ઑ ઓ ઔ

કઁ કં કઃ ક઼ કઽ કા કિ કી કુ કૂ કૃ કૄ કૅ કે કૈ કૉ કો કૌ ક્

૧ ૨ ૩ ૪ ૫ ૬ ૭ ૮ ૯ ૦

ક ખ ગ ઘ ઙ

ચ છ જ ઝ ઞ

ટ ઠ ડ ઢ ણ

ત થ દ ધ ન

પ ફ બ ભ મ

ય ર લ ળ વ