Thejesh GN

A Blog, A Website and A container for all my views with excerpts from technology, travel, films, india, photography, kannada, friends and other interests. I am Thejesh GN. Friends call me Thej

For a long time I was using simple text files to keep my notes and ideas. It was nice and easy but I always wanted some features that were provided by software like OneNote or Evernote. In the last few years I have tried couple of them. While evaluating any new note taking app, I would test them against most basic must have requirements. Once they satisfy those, I would test for the new requirements that I was looking for. Below I have listed my must have requirements

  1. Offline – Preferable think client, always available
  2. Sync – Synchronize across all my machines
  3. Version – Keeps versions, with comments
  4. File based – Simple file structure
  5. Attachments – Allows simple attachments, like images etc
  6. Simple to use

In 2012 after quite a bit of testing, I moved all my existing notes to Zim Wiki. Since then I have been using it for all my work and non-work related information gathering. Its been three years and now i think its time to recommend this awesome tool to friends. There are more features that I can cover in this blog but I will write about the ones that I really care about and that makes Zim wiki must have for me.

zimi_wiki_std
Read the rest of this entry »

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading...Loading...

Bangalore Weather Variation in Feb 2015

Posted by Thejesh GN On March - 8 - 20152 COMMENTS

Weather this Feb was very different. It looked like it almost changed everyday. Sometimes days were too hot and night too cold. I also fell sick (mostly cold & fever) couple of times in Feb. Today I took sometime out to explore the data. Indeed temperatures varied heavily in Feb. Check the chart below which shows variation in temperature.

The chart below shows the Daily Max and Min temperatures.

It also looks like its going back to normalcy in March. Lets see.

Credit: Charts were done using beautiful PykCharts.js

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading...Loading...

TextAdept is fun to use and hack – Part 1

Posted by Thejesh GN On February - 28 - 20152 COMMENTS

I am a happy SublimeText customer. I am really happy with it. It’s an awesome text editor with great community and plugins. But it’s not a FOSS. I was always in look out for a simple but extendable, customizable, super fast text editor. Recently when I picked up Lua to learn I chanced upon TextAdept. Its everything I wanted though it lacks the community that other editors have. May be its just matter of time.

By definition Textadept is a fast, minimalist, and remarkably extensible cross-platform text editor. Even though TextAdept is composed of various technologies at the heart its Scintilla with Lua as its main scripting language. All in all its 2000 lines of C code and less than 4000 lines of Lua code.

textadept

I have customized TextAdept to my heart’s content. I still do a bit every day. In this blog series I will try to note what I find interesting about TextAdept and what customizations I did.

Bootup
All the settings, themes, modules are stored inside the .textadept folder inside user’s home folder. When the TextAdept boots it loads ~/.textadept/init.lua. You can include all your customizations in your init.lua or you call other scripts from there.

Theming
Textadept customize its look and feel, using themes. Themes are just Lua scripts. Theme files usually live inside ~/.textadept/themes folder. You can load a specific theme from your init.lua file.

Considering you a theme file called inside

~/.textadept/themes/base16-monokai-dark.lua

You can include the following lines inside init.lua

ui.set_theme(not CURSES and 'base16-monokai-dark')

TextAdept comes with two themes by default. A dark and light theme. But I use base16 based themes. There is a git repository of TextAdept base16 based themes. Just clone it into you ~/.textadept/themes folder and then include the theme you want. I have made some changes to monokai theme. You can find it on Gist if you like use it.

As part of themes you can change many other things. For example by using the following settings you can set

buffer.view_ws            = buffer.WS_VISIBLEALWAYS
buffer.use_tabs           = true
buffer.wrap_visual_flags  = buffer.WRAPVISUALFLAGLOC_START_BY_TEXT
buffer.wrap_mode          = buffer.WRAP_WHITESPACE

Make the white space always visible. Wrap the text lines and use a character to show the wrapped line. It shows up like in the picture below.
wrap

You can obviously change the font for the code. I really love Anonymous Pro. It’s designed with coding in mind. Its clean, clear and beautiful. It’s also available under Open Font License (OFL). In the screenshots above you can see how Anonymous Pro looks.

1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 5.00 out of 5)
Loading...Loading...

Reblog: Hope You Find Your Sri Lanka

Posted by Thejesh GN On January - 19 - 20151 COMMENT

A detailed blog with lots tips from our time in Sri Lanka…reblogged

Sri Lanka was my promise. Long before we got together for real, I had promised to take him there–it was to be our first getaway. Time took a hike for weeks, months, years only to return as our first wedding anniversary. SL will forever be that familiar yet special place.

We were there in October 2014–the sea was raining kissed on the landscape. First impression–a cleaner Kerala. Being South Indian in colour my “Sinhalese ancestery” was a foregone conclusion. I had it easy, easier than him–Everyone seemed to know me but looked at him suspiciously! However, it did help that the mention of fish, string hoppers and appam makes me light up.
sunset

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 4.00 out of 5)
Loading...Loading...

Sense Your City

Posted by Thejesh GN On January - 15 - 20153 COMMENTS

This would be my third sensor in the city. You already know about the first two. This one is part of much bigger community called Sense Your City. As part of Sense your City, 100 people in 7 cities across the world will build and install the sensors. These sensors will measure air quality, noise, pollution, light and temperature. All sensors are expected to start streaming from 15th Jan and the data API’s will be available for exploring from Feb 6th. Last night I installed mine. There are totally 14 installations with-in Bangalore.

Build
datacanvas_building

Setup
datacanvas_setup

Install
datacanvas_install

I have quite a few ideas for exploring and visualizing the data. Specially using the data from Bangalore’s sensors and other weather information. I am more than happy to collaborate on these ideas. Please do write to me if you have any ideas that we can collaborate on or you want to collaborate on my ideas. This will be my part of my Happy Tuesdays for a while.
Read the rest of this entry »

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 4.00 out of 5)
Loading...Loading...

Get in touch