Blog Archives

เดชเต‡เดชเตเดชเดฑเตเด‚ เดชเต†เดจเตเดจเตเด‚ เดŽเดดเตเดคเตเดคเตเด‚ เด•เตเดจเตเดคเดตเตเด‚

Feb 2, 2024 #uncategorized

เด•เดฎเตเดชเตเดฏเต‚เดŸเตเดŸเดฑเดฟเตฝ เดฎเดฒเดฏเดพเดณเด‚ เดŽเดดเตเดคเดพเดจเตเดณเตเดณ เด•เต†เดฃเดฟเด•เตพ เด‡เดฑเด™เตเด™เดฟ เด•เดพเดฒเด‚ เด•เตเดฑเต† เด†เดฏเต†เด™เตเด•เดฟเดฒเตเด‚ , เดžเดพเตป เด’เดฐเต เดฎเดฒเดฏเดพเดณเด‚ เด•เต€เดฌเต‹เตผเดกเต เด‡เดทเตเดŸเดชเต†เดŸเตเดŸเต เด‰เดชเดฏเต‹เด—เดฟเดšเตเดšเต เดคเตเดŸเด™เตเด™เดฟเดฏเดคเต เดˆ เด…เดŸเตเดคเตเดค เด†เดฃเต. เดตเดพเดŸเตเดŸเตเดธเดพเดชเตเดชเดฟเตฝ เดŽเดจเดฟเด•เตเด•เต เด†เตพเด•เตเด•เดพเตผ เดฎเดฒเดฏเดพเดณเด‚ เดฎเต†เดธเต‡เดœเตเด•เตพ เด…เดฏเด•เตเด•เตเดฎเตเดชเต‹เตพ เด†เดฃเต , เดŽเดจเดฟเด•เตเด•เต เดฎเดฒเดฏเดพเดณเด‚ เดŸเตˆเดชเตเดชเต...
Query JSON data using DuckDB

Nov 13, 2023 #tools

What is it? DuckDB is a tool that can be used to query JSON data, with SQL. It can also do other things, head over to the DuckDB homepage to...
Making a tetris game

Aug 29, 2023 #games

I started this blog post as a tutorial to write a Tetris game, while I myself figured out how to do this. This tutorial introduces the basic concepts that you...
Drawing flowcharts with dot

Nov 2, 2021 #dot

Flow Charts Sometimes itโ€™s easy to explain things with pictures, and youโ€™re looking for a tool to draw pictures. Usual tools : app.diagrams.net Google Drawings Microsoft Visio What do we...
Leaving Twitter

Jul 8, 2019 #social-network

Quitting is a strong word. I am probably going to return to twitter someday. But for now, here is how I have been off twitter for the last 7 months...
Sprouting Seeds

Jan 3, 2019 #agriculture

Of late, growing plants in my balcony is a hobby I have picked up. Growing plants from seeds, and watch them bear fruits and flowers is immensely rewarding. Learning to...
Jekyll new post rake task

Sep 17, 2016 #jekyll

Add this to your Rakefile : task :np do note_name =ENV['note'] || 'misc' note_file = "_posts/#{Time.now.to_i}-#{note_name}.md" `touch #{note_file}` end Create a new post like so: env note="Jekyll new post rake...
Information Overload

Aug 23, 2016 #facebook

Today I created a Facebook account. I had deleted my previous account few months ago. I signed up and slowly started sending friend requests. Facebook does a good job of...
Turning on git autocorrect

Aug 21, 2016 #git

To turn on autocorrect feature of git, run : git config --global help.autocorrect 10 After setting this, if you make a mistake in git commands, git autocorrects it. Example :...
gho - github helper

Sep 12, 2015 #

Gho (Github Open) is a shell function : In zsh : gho () { open "https://`git config --get remote.origin.url|sed -e s/.git//g|sed s,:,/,g`/$1" } Or if youโ€™re using fish shell. (...
Setup for learning HAML

Dec 19, 2012 #

Install the gems haml , guard-haml , guard-livereload and LiveReload chrome extension Create a Guard file that will compile the haml files you create and reload html files in chrome...
debian-diaspora-notes

Nov 17, 2012 #debian-diaspora

Quilt Really good tutorial : Quilt Tutorial - Shakthi Kannan, April 6, 2006 To know which patch you are on : quilt top To move down the series ( to...
#debian-diaspora packaging notes

Nov 15, 2012 #debian-diaspora

Missing diff-lcs Error : /usr/lib/ruby/vendor_ruby/rspec/expectations/differ.rb:1:in `require': no such file to load -- diff/lcs (LoadError) Fix : sudo apt-get install ruby-diff-lcs
Fuzzy full text search using redis

May 1, 2012 #

This is my try at text search described here There is already redis running in my app as the back end for Rails Cache.The new requirement was the ability to...
Apache mod-auth-external with ruby

Sep 5, 2011 #

This http://code.google.com/p/mod-auth-external/ is useful when you need to provide http basic auth ,but authorise from an external program and not htpasswd file. The installation and confiugration outlined at http://code.google.com/p/mod-auth-external/wiki/Installation worked...
Publish that old program you wrote.

Aug 24, 2011 #

Some time ago, we(me and sooraj) were at college.I was crazy about my 1 yr old PC.Sooraj was not crazy about his 6yr old PC.He was crazy about computers that...
The computer disease

Aug 17, 2011 #

Excerpt from Surely You're Joking, Mr. Feynman! : Well, Mr.Frankel, who started this program, began to suffer from the computer disease that anybody who works with computers now knows about....
We can all fly for real.

Jul 30, 2011 #

It is a Saturday evening, I am moderately demotivated.I was looking around for some light reading like big metal chickens. Since such good things are rare ,I was at hn/twitter...
Organizing style sheets in rails application

Mar 20, 2011 #

For my first few days in rails i thought (prolly sooraj too ) thought that this was the default way stylesheets were arranged in rails : [[posterous-content:oHJekcDFylcqmCqAqEcD]] It was a small eureka...
Writing malayalam in prawn PDF

Feb 22, 2011 #

This is pretty straight forward and it works. I used  rachana from smc UPDATE : Major fail :(This wont render properly , complex scripts wont be rendered properly ,atleast not...
There are two kinds of people

Feb 1, 2011 #

There are two kinds of people , those who know things and those who don't know things . This post is for the second kind of people.Dear ones ,You don't...
Ruby I learned today.

Nov 12, 2010 #

I am new to ruby . Here is something i feel cool that i learnt today , You can mix in instance methods and class methods by include and extend...
I Linux because ,

Nov 5, 2010 #

Dear friend ,If ever you have given me that look or told me that i was crap because i used linux for my computer unlike you , here is an...
Downloading RailsCasts for rails three

Nov 1, 2010 #

wget -q -O - http://feeds.feedburner.com/railscasts | awk -F \" '/media:content/ {print $4}'| grep "rails_3"|wget -i - -c That's pretty useful .ย 
A Noob's journey into Vi

Oct 25, 2010 #

I am learning vi , partly because my job demands it and partly because it is a cool editor .Things i knew already :To open a text file in vi...
My Umpteenth blogging attempt

Oct 24, 2010 #

Its just a dew days that i've noticed that i forget things , i forget things that i never thought i would . Those days at school now seem far...
Writing a journal

Sep 18, 2010 #

Ever since my chances of talking long time doing nothing has diminished I've been thinking of a way to complain about others and make observations about the universe.Thought of doing...