diff --git a/about/index.html b/about/index.html
index 9335dbb1..fa7bb5b2 100644
--- a/about/index.html
+++ b/about/index.html
@@ -7,17 +7,17 @@
About | Umar Ahmad
+I spend most of my time inside Emacs. Discovering and learning something new almost every time I sit down for change in my config. Hopefully, this blog will contain some of those learnings.
+Speaking of config, you can find my dotfiles and my emacs config on github
+Blog This blog is built with Hugo and uses a slightly modified BearBlog theme." />
+I spend most of my time inside Emacs. Discovering and learning something new almost every time I sit down for change in my config. Hopefully, this blog will contain some of those learnings.
+Speaking of config, you can find my dotfiles and my emacs config on github
+Blog This blog is built with Hugo and uses a slightly modified BearBlog theme." />
@@ -26,181 +26,28 @@
-
-
+
+I spend most of my time inside Emacs. Discovering and learning something new almost every time I sit down for change in my config. Hopefully, this blog will contain some of those learnings.
+Speaking of config, you can find my dotfiles and my emacs config on github
+Blog This blog is built with Hugo and uses a slightly modified BearBlog theme."/>
+I spend most of my time inside Emacs. Discovering and learning something new almost every time I sit down for change in my config. Hopefully, this blog will contain some of those learnings.
+Speaking of config, you can find my dotfiles and my emacs config on github
+Blog This blog is built with Hugo and uses a slightly modified BearBlog theme.">
-
+
+
@@ -248,18 +95,10 @@
Automatically Changing desktop background on gnome-shell
This is the problem I had. I cancelled out each wallpaper from my list of all wallpapers I had, after I completely sucked out the goodness of a wallpaper with my eyes.
I came up with the idea of automatically changing the wallpaper randomly via some sort of shell script. It’s implementation used gsettings to change the desktop wallpaper. It was supposed to run automatically as a cron-job but I couldn’t make the cron work. The current implementation uses sleep to get the delay
So a simple wall paper changing script looked like:
-
-#!/bin/bash
-image_path=$1
-# Setting up a path for local storage
-
-if[ ! -d "$image_path"]; then
- echo "Path doesn't exist (Pass absolute path as parameter)" 1>&2
- exit
-fi
-local_dir="/home/$(whoami)/.local/wall_change"
-# creating local directory
-mkdir -p $local_dir
-# getting name of the picture
-pic=$(find $image_path -regextype posix-extended -regex "(.*\.jpg)|(.*\.png)"|shuf -n1)
-echo $pic
-
-# Storing image in local_dir
-filename=$(basename "$pic")
-extension=".${filename##*.}"
-local_wallpaper=$local_dir/mywallpaper$extension
-# setting the wallpaper
-cp "$pic" $local_wallpaper
-# echo $local_wallpaper
-# Adding bogus wallpaper (don't know if this is a gsettings bug or i'm doing some basic flaw)
-gsettings set org.gnome.desktop.background picture-uri file:/$local_wallpaper
-# try increasing the sleep if wallpaper doesn't change
-sleep 1;
-gsettings set org.gnome.desktop.background picture-uri file://$local_wallpaper
-
-
Choosing the right font: This is more of a personal choice actually. Any monospace font would do the job. You can refer to Dan’s article or Jeff’s Blog for more details.
Making your scroll smooth: Emacs Scroll will seem a bit weird to some people who are new to it. To remove the jumpy effect of scroll you can add following lines in your .emacs file
Well these are some basic customization which should be done by everyone using Emacs. You can add more features to Emacs by simply searching the package archive.
Well these are some basic customization which should be done by everyone using Emacs. You can add more features to Emacs by simply searching the package archive.
If you’re a confused with the basic key-bindings for navigation, you may refer to the Emacs Wiki page.
Finally, once you really get the hang of Emacs, it’s basically like dark magic. Check out some videos on the Emacs rocks page to see this magic in action.
If you’re addicted to vi there’s a funny song on GNU’s website : ‘Addicted to vi’ :stuck_out_tongue:
Aliases greatly improve the productivity by assigning short names to complex commands and for commands you use a lot and need a shorter version of them.
This can be done by using alias builtin. The aliases are normally created inside .bashrc or .bash_profile.
Some of the aliases I use are:
-
alias dr='drush'
-alias drcc='drush cache-clear all'
-alias drdb='drush updb && drush cc all'
-alias dren='drush pm-enable'
-alias drdis='drush pm-disable'
-
You may add other aliases depending on the other commands you frequently use.
Host *
ControlMaster auto
ControlPath ~/tmp/.ssh-control-%r-%h-%p
-
Even though, these did improve the performance by a large factor, it’s performance on large files and slow network
connections, was still a little below usable.
Apart from this, I had problems running a few Emacs packages such as flycheck.
@@ -243,8 +89,8 @@
Option III: Mounting Rem
One of the options I found was mounting a remote file system locally via sshfs.
It did have a few problems with connection stability, but it worked fine overall.
I solved a few problems with some optimizations via command-line parameters. The final command looked somewhat like this.
This increased the overall speed and removed sluggishness while editing.
The problem with sshfs is it’s speed. Any operation requiring a disk scan was unbearably slow.
So I couldn’t run commands like locate, grep, and magit via Emacs.
Projectile was usable after (setq projectile-enable-caching t) though.
@@ -252,18 +98,18 @@
Option III: Mounting Rem
It works by executing all commands which ran inside a directory mounted on sshfs on the remote host directly.
So, heavy disk operations become very fast as the remote server is doing all the heavy lifting.
To run any command such as git directly on remote all I had to do was
You can check this by running git --version from inside and outside the sshfs mount.
The combination of sshfs and sshfsexec solved almost all the problems I faced with earlier setups.
It was almost always faster than tramp when opening and saving of files, and almost as fast as tramp when doing
disk operations such as opening Magit.
@@ -282,16 +128,16 @@
Option IV: Keeping local copy in s
On looking a bit further, I came across Unison. It supported two way syncing along
with file watch facility. It is required that same version Unison is installed on both local and remote machines.
Following are the steps that will setup Unison.
Repeat these same steps on the server.
It is preferable to remove .git folder from syncing. This can be done by creating/editing a ~/.unison/default.prf
and adding
# Unison preferences file
@@ -299,11 +145,11 @@
Option IV: Keeping local copy in s
You should also remove other build/libraries directories that you won’t be editing. This will decrease
the amount of files it has (and memory it takes in the process) to look for changes.
In case of errors such as Errno=No space left on device (ENOSPC), the inotify memory can be increased
by setting sudo sysctl fs.inotify.max_user_watches=20480. This memory uses
[kernel memory space](https://en.wikibooks.org/wiki/The_Linux_Kernel/Memory# Process_Memory_Layout)
@@ -327,7 +173,7 @@
and changing them with root access changes the brightness.
The problem here was that I wasn’t able to give a script root access without it prompting for a password. I moved the other way since I couldn’t figure that out.
Recently, I figured out the way to give the scripts root access by editing /etc/sudoers/ file and adding
-
$user ALL=(ALL) NOPASSWD: $path_to_script
-
where $user is the user-name and $path_to_script is what it says it is!
+
$userALL=(ALL) NOPASSWD: $path_to_script
+
where $user is the user-name and $path_to_script is what it says it is!
Method II: Making a Python Script
After some researching I found out about the dbus module of python, which basically could help me get or set the brightness. Using this and a little argument parsing I was successfully able to make a script which changed the brightness.
Update:This method doesn’t work on Gnome-Shell v3.10 :worried: . I will update a patch soon.
Other than that I’ve started to track my time using hamster which tells me that I spend more time researching than actual coding. It also tells me that T.V. is a real time killer :grimacing:.
(P.S. I don’t track the sleeping hours…the long ones)
-
Other than that I might have misconfigured my mind’s clock cycle. I am usually sleeping when the ‘normal’ humans work and work when they sleep.. and it’s really hard to get rid of this schedule.
+
Other than that I might have misconfigured my mind’s clock cycle. I am usually sleeping when the ’normal’ humans work and work when they sleep.. and it’s really hard to get rid of this schedule.
I wish to write more but hamster tells me that I’ve spend far more time on this than originally anticipated. So I’m gonna switch back to coding and hope everything works out in the end.
repo="gleek/gleek.github.io"
issue-term="pathname"
label="comment"
- theme="github-dark"
+ theme="github-light"
crossorigin="anonymous"
async>
diff --git a/blog/improved-ranking-for-projectile-find-file/index.html b/blog/improved-ranking-for-projectile-find-file/index.html
index 1470d4f2..da058b3c 100644
--- a/blog/improved-ranking-for-projectile-find-file/index.html
+++ b/blog/improved-ranking-for-projectile-find-file/index.html
@@ -7,13 +7,13 @@
Improve ranking of files in projectile | Umar Ahmad
+Despite my fondness for this package, a thing that has bothered me is the default sorting of the files while searching. As the project becomes larger and the files become sparse, some extra typing needs to be done to filter down to the intended file." />
+Despite my fondness for this package, a thing that has bothered me is the default sorting of the files while searching. As the project becomes larger and the files become sparse, some extra typing needs to be done to filter down to the intended file." />
@@ -22,177 +22,24 @@
-
-
+
+Despite my fondness for this package, a thing that has bothered me is the default sorting of the files while searching. As the project becomes larger and the files become sparse, some extra typing needs to be done to filter down to the intended file."/>
+Despite my fondness for this package, a thing that has bothered me is the default sorting of the files while searching. As the project becomes larger and the files become sparse, some extra typing needs to be done to filter down to the intended file.">
-
+
+
@@ -322,20 +169,14 @@
These factors are such that they are not affected by the search term
but can be derived from the file.
-
-
Buffer files: If a file in the project is currently open there’s a
+
Buffer files: If a file in the project is currently open there’s a
high chance that I’m searching for this file. The older the buffer
-gets the less score boost it should get.
-
-
-
Recent files: If a file in a project has been recently visited that
-should contribute to increasing it’s score.
-
-
-
Length of file path: Considering a file with a longer path can
+gets the less score boost it should get.
+
Recent files: If a file in a project has been recently visited that
+should contribute to increasing it’s score.
+
Length of file path: Considering a file with a longer path can
afford more characters to get filtered, a file with shorter path
-should get a better score.
-
+should get a better score.
@@ -346,24 +187,16 @@
The scores due to these factors vary with the search term
-
-
File non-directory name match: If the non-directory name of the file
+
File non-directory name match: If the non-directory name of the file
exactly matches the search term then it gets a score
-boost. Eg. file.ext in path/of/file.ext
-
-
-
File basename match: If the basename of the file exactly matches the
-search term then it gets a score boost. Eg. file in path/of/file.ext
-
-
-
File prefix match: If the prefix of the file basename matches with the
-search term then the score is increased. Eg. fi in path/of/file.ext
-
-
-
File name loose match: If the file name loosely matches the search
+boost. Eg. file.ext in path/of/file.ext
+
File basename match: If the basename of the file exactly matches the
+search term then it gets a score boost. Eg. file in path/of/file.ext
+
File prefix match: If the prefix of the file basename matches with the
+search term then the score is increased. Eg. fi in path/of/file.ext
+
File name loose match: If the file name loosely matches the search
term then give it a higher score than when only directory name
-matches. Eg. ile in path/of/file.ext.
-
+matches. Eg. ile in path/of/file.ext.
As you might have guessed, these are ordered here in decreasing order
@@ -386,14 +219,14 @@
We’ll be searching for "suffix", and analyzing the results for each framework.
@@ -403,18 +236,14 @@
-
-
Default sorting seems alphabetic
-
-
-
Retains sorting when searching
-
-
+
Default sorting seems alphabetic
+
Retains sorting when searching
-
Click here to download or view the video in a full browser window
-
+
+
+
Click here to download or view the video in a full browser window
@@ -425,18 +254,14 @@
-
-
No apparent default sorting
-
-
-
File basenames exactly matching the search term are not pushed up.
-
-
+
No apparent default sorting
+
File basenames exactly matching the search term are not pushed up.
-
Click here to download or view the video in a full browser window
-
+
+
+
Click here to download or view the video in a full browser window
@@ -447,23 +272,17 @@
-
-
Default sorting considers recent files and buffers and falls back on
-alphabetic sorting
-
-
-
Searching for suffix brings the file base names exactly matching
-suffix to the top
-
-
-
File is ranked higher if already open as a buffer
-
-
+
Default sorting considers recent files and buffers and falls back on
+alphabetic sorting
+
Searching for suffix brings the file base names exactly matching
+suffix to the top
+
File is ranked higher if already open as a buffer
-
Click here to download or view the video in a full browser window
-
+
+
+
Click here to download or view the video in a full browser window
@@ -484,28 +303,18 @@
-
-
It starts by populating hashtables with project recent files and
+
It starts by populating hashtables with project recent files and
project buffer files with their base scores. Buffers get a linearly
-decreasing score on the basis of their "oldness".
-
-
-
Projectile is invoked and the files are ranked and sorted using the
-static factors. Length of the file is not considered at this time.
-
+decreasing score on the basis of their "oldness".
+
Projectile is invoked and the files are ranked and sorted using the
+static factors. Length of the file is not considered at this time.
Once the user starts searching
-
-
The counsel--find-file-matcher is used to filter down the list
-
-
-
Both static and dynamic factors are applied to calculate the
-scores
-
-
-
The files are then sorted on the basis of scores they have
-
+
The counsel--find-file-matcher is used to filter down the list
+
Both static and dynamic factors are applied to calculate the
+scores
+
The files are then sorted on the basis of scores they have
@@ -534,15 +343,15 @@
To completely replace counsel-projectile with this add this snippet:
Alternatively, you can use dd utility to do the same without the Fedora Media Writer by doing
-
- diskutil list # get the disk name from the output which is something like /dev/disk1
- diskutil unmountDisk /dev/disk1
- sudo dd if=/Users/umar/Downloads/Fedora-Workstation.iso of=/dev/rdisk1 bs=512k # notice the prepended r in the disk name
- diskutil unmountDisk /dev/disk1
-
+
+ diskutil list # get the disk name from the output which is something like /dev/disk1
+ diskutil unmountDisk /dev/disk1
+ sudo dd if=/Users/umar/Downloads/Fedora-Workstation.iso of=/dev/rdisk1 bs=512k # notice the prepended r in the disk name
+ diskutil unmountDisk /dev/disk1
+
Create a partition using DiskUtility
Mac Hardrive > Partition > + > Name= Fedora, Size = 30~50 GB
@@ -256,36 +103,35 @@
Post-Installation
Fix the camera by installing the reverse-engineered FaceTime HD drivers by running the following
repo="gleek/gleek.github.io"
issue-term="pathname"
label="comment"
- theme="github-dark"
+ theme="github-light"
crossorigin="anonymous"
async>
diff --git a/blog/quick-scratch-buffers/index.html b/blog/quick-scratch-buffers/index.html
index 9d662f80..92ee1e00 100644
--- a/blog/quick-scratch-buffers/index.html
+++ b/blog/quick-scratch-buffers/index.html
@@ -7,13 +7,13 @@
Quick persistent scratch buffers | Umar Ahmad
+The problem with this is that the buffers created only last till your emacs session lasts." />
+The problem with this is that the buffers created only last till your emacs session lasts." />
@@ -22,177 +22,24 @@
-
-
+
+The problem with this is that the buffers created only last till your emacs session lasts."/>
+The problem with this is that the buffers created only last till your emacs session lasts.">
-
+
+
@@ -245,8 +92,8 @@
Quick persistent scratch buffers
with *scratch: are treated as candidates for getting persisted. The
function is a one liner and is as follows
Full code can be found here. It uses a function(random-alnum)
@@ -321,7 +168,7 @@
Quick persistent scratch buffers
repo="gleek/gleek.github.io"
issue-term="pathname"
label="comment"
- theme="github-dark"
+ theme="github-light"
crossorigin="anonymous"
async>
diff --git a/blog/setting-up-the-blog-again/index.html b/blog/setting-up-the-blog-again/index.html
index da9e2d99..25ccd022 100644
--- a/blog/setting-up-the-blog-again/index.html
+++ b/blog/setting-up-the-blog-again/index.html
@@ -7,13 +7,13 @@
Setting up the blog again | Umar Ahmad
+The earlier version of this blog was based on octopress with a lot of handcrafted code. The architecture of octopress along with my excitement of setting up the blog made this a cocktail of all possible plugins and tweaks that I could manage to squeeze into a static site. Copy pasted rake snippets and hacked together web and ruby code gave me what I wanted at the time." />
+The earlier version of this blog was based on octopress with a lot of handcrafted code. The architecture of octopress along with my excitement of setting up the blog made this a cocktail of all possible plugins and tweaks that I could manage to squeeze into a static site. Copy pasted rake snippets and hacked together web and ruby code gave me what I wanted at the time." />
@@ -22,177 +22,24 @@
-
-
+
+The earlier version of this blog was based on octopress with a lot of handcrafted code. The architecture of octopress along with my excitement of setting up the blog made this a cocktail of all possible plugins and tweaks that I could manage to squeeze into a static site. Copy pasted rake snippets and hacked together web and ruby code gave me what I wanted at the time."/>
+The earlier version of this blog was based on octopress with a lot of handcrafted code. The architecture of octopress along with my excitement of setting up the blog made this a cocktail of all possible plugins and tweaks that I could manage to squeeze into a static site. Copy pasted rake snippets and hacked together web and ruby code gave me what I wanted at the time.">
-
+
+
@@ -252,26 +99,20 @@
Setting up the blog again
Broadly these are the filtered down steps to get to that point.
-
-
Getting the domain: Namecheap seemed like the best option to me,
+
Getting the domain: Namecheap seemed like the best option to me,
costing almost 10% of what other providers did. Domain was activated
-pretty quickly as well.
-
-
-
Setting up Cloudflare: For using cloudflare, the DNS can be setup by
+pretty quickly as well.
+
Setting up Cloudflare: For using cloudflare, the DNS can be setup by
updating the nameservers on the Namecheap dashboard. The cloudflare
on-boarding flow is quite intuitive and I didn’t face any issue with
it. Alternatively, namecheap can point to github pages directly if
-you don’t need cloudflare to manage the traffic(link).
-
-
-
Setting up Comment system: Hugo ships with Disqus but I wanted a
+you don’t need cloudflare to manage the traffic(link).
+
Setting up Comment system: Hugo ships with Disqus but I wanted a
lighter comment system with less lock-in. Utterances provides a way
for this. They use github issues to manage the comments. One
drawback is that people will need a github account to post a
comment. Considering that most of the posts here will be tech
-related, it shouldn't be a problem for most of them.
-
+related, it shouldn't be a problem for most of them.
I also didn’t want any web frameworks, invasive analytics and social
media plugins plaguing the site. I went for the smallest theme which
@@ -307,7 +148,7 @@
Fedy lets you install multimedia codecs and additional software that Fedora doesn’t want to ship, like mp3 support, Adobe Flash, Oracle Java etc., and much more with just a few clicks.
You can download any of the packages from this point onwards but I feel some of them are essential:
Tweaks and Task
@@ -243,8 +90,8 @@
Installing Fedy
Creating a Template File
Template file is a file in the Templates folder of the home directory. Files added here will appear in the New Documents Menu.
Do it via typing this in the terminal
-
touch ~/Templates/Empty\ File
-
You can add other types of files in the templates folder and add some default content to it.
+
touch ~/Templates/Empty\ File
+
You can add other types of files in the templates folder and add some default content to it.
For example you can add a new.c file there and write various header files, you usually use, in it.
This would **save the hassle of writing it yourself everytime you create a new ‘c’ file.
@@ -252,8 +99,8 @@
Installing Yumex
I personally don’t like the new Software manager in Fedora. It has nice UI but often takes a lot of time in loading packages and installing them.
Yumex (Yum Extender) on the other hand is a graphical package management tool** which utilizes the power of yum and makes it a bit ‘user-friendly’.
I also feel it’s much more easy to use and is a bit more transparent in it’s functionality than the former manager
-
sudo yum install yumex
-
You might update your full system after this, as yumex will prompt you for that on it’s start.
+
sudo yum install yumex
+
You might update your full system after this, as yumex will prompt you for that on it’s start.
From this point onward you can simply search for a package inside yumex, instead of googling the exact package name to be used with yum install.
Gnome-Tweak Tool
@@ -302,7 +149,7 @@
Getting Firefox Extensions
repo="gleek/gleek.github.io"
issue-term="pathname"
label="comment"
- theme="github-dark"
+ theme="github-light"
crossorigin="anonymous"
async>
diff --git a/blog/using-emacs-to-port-my-blog/index.html b/blog/using-emacs-to-port-my-blog/index.html
index 67a59654..42925ad8 100644
--- a/blog/using-emacs-to-port-my-blog/index.html
+++ b/blog/using-emacs-to-port-my-blog/index.html
@@ -7,13 +7,13 @@
Porting my blog to Hugo from inside Emacs | Umar Ahmad
+Doing this required me to use Emacs to edit and manage multiple files at once and this post demonstrates a few of these techniques. The post is therefore mostly task agnostic and the techniques explained here should be usable for any such tasks." />
+Doing this required me to use Emacs to edit and manage multiple files at once and this post demonstrates a few of these techniques. The post is therefore mostly task agnostic and the techniques explained here should be usable for any such tasks." />
@@ -22,177 +22,24 @@
-
-
+
+Doing this required me to use Emacs to edit and manage multiple files at once and this post demonstrates a few of these techniques. The post is therefore mostly task agnostic and the techniques explained here should be usable for any such tasks."/>
+Doing this required me to use Emacs to edit and manage multiple files at once and this post demonstrates a few of these techniques. The post is therefore mostly task agnostic and the techniques explained here should be usable for any such tasks.">
-
+
+
@@ -233,13 +80,9 @@
Porting my blog to Hugo from inside Emacs
For the sake of brevity I’ll only cover these topics:
-
-
Setting up the environment, i.e., setting up the directory
-structure, git repositories and tooling.
-
-
-
Port my markdown files so that they work with hugo
-
+
Setting up the environment, i.e., setting up the directory
+structure, git repositories and tooling.
+
Port my markdown files so that they work with hugo
@@ -279,19 +122,11 @@
counsel-find-file is more intuitive when creating new files, in
different locations.
-
-
C-x C-f bound to counsel-find-file
-
-
-
Type in blog/blog-src followed by C-M-o
-
-
-
d to create a directory
-
-
-
Type in blog-gen and M-o then d again to create another directory
-and quit to ivy buffer
-
+
C-x C-f bound to counsel-find-file
+
Type in blog/blog-src followed by C-M-o
+
d to create a directory
+
Type in blog-gen and M-o then d again to create another directory
+and quit to ivy buffer
This is how it looks in practice:
+
@@ -419,23 +232,23 @@
One of the few incompatibilities in the markdown spec was how
markdown handled headings. Earlier
were considered valid markdown headings which
now had to be changed to
-
# H1
-## H2
-### H3
-#### H4
+
# H1
+## H2
+### H3
+#### H4
This again needs to be done across all the files.
@@ -448,18 +261,10 @@
I did this by:
-
-
C-u C-c s s bound to counsel-rg to search through the current directory
-
-
-
C-c C-o bound to ivy-occur to get the search results in a buffer
-
-
-
w bound to ivy-wgrep-change-to-wgrep-mode makes the buffer editable
-
-
-
Editing them and running C-c C-c to save these changes
-
+
C-u C-c s s bound to counsel-rg to search through the current directory
+
C-c C-o bound to ivy-occur to get the search results in a buffer
+
w bound to ivy-wgrep-change-to-wgrep-mode makes the buffer editable
+
Editing them and running C-c C-c to save these changes
To keep this simple it is done twice once to remove the preceding # and once to remove the following #
@@ -512,7 +317,7 @@
repo="gleek/gleek.github.io"
issue-term="pathname"
label="comment"
- theme="github-dark"
+ theme="github-light"
crossorigin="anonymous"
async>
diff --git a/categories/index.html b/categories/index.html
index 7a964624..04b274b6 100644
--- a/categories/index.html
+++ b/categories/index.html
@@ -18,8 +18,7 @@
-
-
+
@@ -29,162 +28,10 @@
-
+
+
diff --git a/categories/index.xml b/categories/index.xml
index 154b5d7a..57e6218b 100644
--- a/categories/index.xml
+++ b/categories/index.xml
@@ -5,6 +5,7 @@
https://umarahmad.xyz/categories/
Recent content in Categories on Umar AhmadHugo -- gohugo.io
- en-us
+ en-us
+
diff --git a/images/php-highlight-sans-tree-sitter.png b/images/php-highlight-sans-tree-sitter.png
index 3d313e4a..a3bc3319 100644
Binary files a/images/php-highlight-sans-tree-sitter.png and b/images/php-highlight-sans-tree-sitter.png differ
diff --git a/images/php-highlight-tree-sitter.png b/images/php-highlight-tree-sitter.png
index 56a53d58..2d631e1d 100644
Binary files a/images/php-highlight-tree-sitter.png and b/images/php-highlight-tree-sitter.png differ
diff --git a/index.html b/index.html
index 28262ec6..8673bedd 100644
--- a/index.html
+++ b/index.html
@@ -18,8 +18,7 @@
-
-
+
@@ -29,162 +28,10 @@
-
+
+
diff --git a/index.xml b/index.xml
index f77b1ffb..024a891d 100644
--- a/index.xml
+++ b/index.xml
@@ -1,226 +1,159 @@
- Blog on Umar Ahmad
+ Umar Ahmad
https://umarahmad.xyz/
- Recent content in Blog on Umar Ahmad
+ Recent content on Umar AhmadHugo -- gohugo.ioen-us
- Sun, 10 Oct 2021 16:12:11 +0530
+ Sun, 10 Oct 2021 16:12:11 +0530
+ Faster php syntax highlighting with tree-sitter
https://umarahmad.xyz/blog/faster-php-mode-with-tree-sitter/
Sun, 10 Oct 2021 16:12:11 +0530
-
https://umarahmad.xyz/blog/faster-php-mode-with-tree-sitter/PHP mode in emacs sadly has slow performance for large files. In my work, I have to sometimes deal with large PHP code bases and in certain cases, it becomes so slow that it is practically useless for me to use php-mode. I grudgingly have to switch to fundamental-mode to make smaller changes, in that case. There are alternatives like web-mode that is better suited for mixed syntax highlighting with files containing multiple web languages but there are other php-mode goodies like support for different coding styles and better indentation that make it worthy enough to not be discarded completely.
-
Quick persistent scratch buffers
https://umarahmad.xyz/blog/quick-scratch-buffers/
Sat, 03 Apr 2021 15:49:21 +0530
-
https://umarahmad.xyz/blog/quick-scratch-buffers/
- Emacs has a feature where you can quickly open a buffer to paste or keep text temporarily. It can be done by calling switch-to-buffer and typing out any name and pressing return. If a buffer with such a name exists it shows up, otherwise an empty buffer with no associated file is created. I discovered this accidentally years ago and have been using this feature a lot since.
- The problem with this is that the buffers created only last till your emacs session lasts.
+ Emacs has a feature where you can quickly open a buffer to paste or keep text temporarily. It can be done by calling switch-to-buffer and typing out any name and pressing return. If a buffer with such a name exists it shows up, otherwise an empty buffer with no associated file is created. I discovered this accidentally years ago and have been using this feature a lot since.
The problem with this is that the buffers created only last till your emacs session lasts.
-
Improve ranking of files in projectile
https://umarahmad.xyz/blog/improved-ranking-for-projectile-find-file/
Thu, 28 Jan 2021 15:43:20 +0530
-
https://umarahmad.xyz/blog/improved-ranking-for-projectile-find-file/
- I've been using projectile, and more recently counsel-projectile, to manage my project files and it has been a life saver. projectile-find-file is probably among my most used commands.
- Despite my fondness for this package, a thing that has bothered me is the default sorting of the files while searching. As the project becomes larger and the files become sparse, some extra typing needs to be done to filter down to the intended file.
+ I've been using projectile, and more recently counsel-projectile, to manage my project files and it has been a life saver. projectile-find-file is probably among my most used commands.
Despite my fondness for this package, a thing that has bothered me is the default sorting of the files while searching. As the project becomes larger and the files become sparse, some extra typing needs to be done to filter down to the intended file.
-
Porting my blog to Hugo from inside Emacs
https://umarahmad.xyz/blog/using-emacs-to-port-my-blog/
Sun, 24 Jan 2021 16:17:08 +0530
-
https://umarahmad.xyz/blog/using-emacs-to-port-my-blog/
- A few days ago I ported my blog to hugo. I did this mostly while staying inside Emacs and switching to the web browser every now and then.
- Doing this required me to use Emacs to edit and manage multiple files at once and this post demonstrates a few of these techniques. The post is therefore mostly task agnostic and the techniques explained here should be usable for any such tasks.
+ A few days ago I ported my blog to hugo. I did this mostly while staying inside Emacs and switching to the web browser every now and then.
Doing this required me to use Emacs to edit and manage multiple files at once and this post demonstrates a few of these techniques. The post is therefore mostly task agnostic and the techniques explained here should be usable for any such tasks.
-
Setting up the blog again
https://umarahmad.xyz/blog/setting-up-the-blog-again/
Sat, 23 Jan 2021 19:39:03 +0530
-
https://umarahmad.xyz/blog/setting-up-the-blog-again/
- I recently acquired umarahmad.xyz and moved my old blog there.
- The earlier version of this blog was based on octopress with a lot of handcrafted code. The architecture of octopress along with my excitement of setting up the blog made this a cocktail of all possible plugins and tweaks that I could manage to squeeze into a static site. Copy pasted rake snippets and hacked together web and ruby code gave me what I wanted at the time.
+ I recently acquired umarahmad.xyz and moved my old blog there.
The earlier version of this blog was based on octopress with a lot of handcrafted code. The architecture of octopress along with my excitement of setting up the blog made this a cocktail of all possible plugins and tweaks that I could manage to squeeze into a static site. Copy pasted rake snippets and hacked together web and ruby code gave me what I wanted at the time.
+
+
+ About
+ https://umarahmad.xyz/about/
+ Sat, 23 Jan 2021 05:35:22 +0530
+ https://umarahmad.xyz/about/
+ My name is Umar Ahmad. I work as a software engineer in Zomato.
I spend most of my time inside Emacs. Discovering and learning something new almost every time I sit down for change in my config. Hopefully, this blog will contain some of those learnings.
Speaking of config, you can find my dotfiles and my emacs config on github
Blog This blog is built with Hugo and uses a slightly modified BearBlog theme.
-
Editing remote code with Emacs
https://umarahmad.xyz/blog/editing-remote-code-with-emacs/
Tue, 11 Apr 2017 22:56:54 +0530
-
https://umarahmad.xyz/blog/editing-remote-code-with-emacs/
- <p>Lately, I’ve been working on a code-base situated remotely on a server accessible over <code>ssh</code>.
-The network latency and size of the code repository prompted me to reconsider the method
-to edit such files. I discovered a few options I could use and finally settled with one of them.</p>
+ <p>Lately, I’ve been working on a code-base situated remotely on a server accessible over <code>ssh</code>.
The network latency and size of the code repository prompted me to reconsider the method
to edit such files. I discovered a few options I could use and finally settled with one of them.</p>
-
Installing Fedora on MacBook
https://umarahmad.xyz/blog/installing-fedora-on-macbook/
Sun, 09 Apr 2017 17:03:02 +0530
-
https://umarahmad.xyz/blog/installing-fedora-on-macbook/
- <p>Recently, I’ve been using MacBook Air along with its default OS <a href="https://www.apple.com/in/macos/sierra/">macOS Sierra</a> for about a year.
-I decided to switch back to <a href="https://getfedora.org/">Fedora</a> once I started noticing the decreasing customizability after every update.
-Also there were a lot of API level changes that somehow always ended up breaking my workflow.</p>
+ <p>Recently, I’ve been using MacBook Air along with its default OS <a href="https://www.apple.com/in/macos/sierra/">macOS Sierra</a> for about a year.
I decided to switch back to <a href="https://getfedora.org/">Fedora</a> once I started noticing the decreasing customizability after every update.
Also there were a lot of API level changes that somehow always ended up breaking my workflow.</p>
-
Things to do after installing Fedora
https://umarahmad.xyz/blog/things-to-do-after-installing-fedora/
Sat, 27 Sep 2014 18:34:37 +0530
-
https://umarahmad.xyz/blog/things-to-do-after-installing-fedora/
- <p><img src="https://lh3.googleusercontent.com/JCYMcJb5M-08b9FtHvKDsX8hedPz5UsD_rXxeSm0LkLl16YJuizEG2EuEFhi1CXOprcc6hesH8E8YPOd2sIfZbB6rfZm8h0eO-CDHhw4YQ_HHNqR3rU7d2OzSs1nSnhwvxZmXHpqTwTsaQSxYx4mcsi2QFIrJ9o3s3MQPIgg3qbqOusdJxjmuylQePuNm-aKMF4vTXwd_Xl7Sl9PQWUFG7GttxkbPa9sEJP-qm0velNcDh_Frzcd69SKLBjup-AV33ddUs_nat19pITobGS3MGk1BEYOfIzj8KfZzESeisvysiionFZfcbk6oaAhzsdoogfIPE2WIjH8x8MS23__AfKysOiZ6Cr7jTw5nMjdR7STzbLKZEslHyCKlvmXoIMrjkI9ZGrJ_54-cPMw0IFnXa1myCf3ob_AkgrjxhEPmGeu_cbnQG6wlQr_9SnObOJOyiDfc66epMTz_pOBSOdcJ74RLoqeqvBXIeK8yMCQ6fJTx9X0Zr5Do8ax_Harh-Mr_B5LewIqDo_pXiForMCBOJW9yPwnheM4SjIHX6WPm5voc5qsqcBW57y3hePPbZiNul4QzNMRfcXaC_DiIXCdAyyKJqVD6a3RpXsQM6gxKOdVuiHeRGeV3fdqKyJZWA5goDuqTZ9em9ku7zia6faJ9nLbshesjnXL9SoMCaDaUQ=w300-h700-no" alt=""></p>
-<p>Getting the right packages after a fresh install is a headache. That is exactly what I had when I had to do a fresh installation of my Fedora after I accidentally corrupted my entire disk :frowning:.</p>
-<p>I didn’t want to spend days installing the packages this time. This time I wanted to do it smart and quick.</p>
-<p>The problem here was that I couldn’t just <code>yum install</code> everything, that’s because Fedora community adheres to free software principles and doesn’t offer non-free codecs and drivers from it’s repositories. But there are 3rd party repositories which allow Fedora users to get non-free components.</p>
+ <p><img src="https://lh3.googleusercontent.com/JCYMcJb5M-08b9FtHvKDsX8hedPz5UsD_rXxeSm0LkLl16YJuizEG2EuEFhi1CXOprcc6hesH8E8YPOd2sIfZbB6rfZm8h0eO-CDHhw4YQ_HHNqR3rU7d2OzSs1nSnhwvxZmXHpqTwTsaQSxYx4mcsi2QFIrJ9o3s3MQPIgg3qbqOusdJxjmuylQePuNm-aKMF4vTXwd_Xl7Sl9PQWUFG7GttxkbPa9sEJP-qm0velNcDh_Frzcd69SKLBjup-AV33ddUs_nat19pITobGS3MGk1BEYOfIzj8KfZzESeisvysiionFZfcbk6oaAhzsdoogfIPE2WIjH8x8MS23__AfKysOiZ6Cr7jTw5nMjdR7STzbLKZEslHyCKlvmXoIMrjkI9ZGrJ_54-cPMw0IFnXa1myCf3ob_AkgrjxhEPmGeu_cbnQG6wlQr_9SnObOJOyiDfc66epMTz_pOBSOdcJ74RLoqeqvBXIeK8yMCQ6fJTx9X0Zr5Do8ax_Harh-Mr_B5LewIqDo_pXiForMCBOJW9yPwnheM4SjIHX6WPm5voc5qsqcBW57y3hePPbZiNul4QzNMRfcXaC_DiIXCdAyyKJqVD6a3RpXsQM6gxKOdVuiHeRGeV3fdqKyJZWA5goDuqTZ9em9ku7zia6faJ9nLbshesjnXL9SoMCaDaUQ=w300-h700-no" alt=""></p>
<p>Getting the right packages after a fresh install is a headache. That is exactly what I had when I had to do a fresh installation of my Fedora after I accidentally corrupted my entire disk :frowning:.</p>
<p>I didn’t want to spend days installing the packages this time. This time I wanted to do it smart and quick.</p>
<p>The problem here was that I couldn’t just <code>yum install</code> everything, that’s because Fedora community adheres to free software principles and doesn’t offer non-free codecs and drivers from it’s repositories. But there are 3rd party repositories which allow Fedora users to get non-free components.</p>
-
GSOC Meetup 2014
https://umarahmad.xyz/blog/gsoc-meetup-2014/
Fri, 05 Sep 2014 04:20:39 +0530
-
https://umarahmad.xyz/blog/gsoc-meetup-2014/On August 23rd, we, at JMILUG, hosted a GSOC Meetup at Jamia Millia Millia Islamia University, New Delhi, home of JMILUG. The GSOC meetup was an opportunity to meet and learn from past and present GSOC students who’ve actively contributed to Open Source projects in collaboration with developers from all over the world. This acted as a platform for other budding developers who’re ready to get their hands dirty and contribute to real time projects.
-
Drush It!
https://umarahmad.xyz/blog/drush-it/
Wed, 09 Jul 2014 00:54:05 +0530
-
https://umarahmad.xyz/blog/drush-it/
- <p><img src="https://lh3.googleusercontent.com/LWK3VdQ8CcrC4bIDnlrJRCJAZpjBDvFg-SnX0lZNu1GXNcKi2j0jA8ubCdBZIoz6hFOBzJmJ75OD2DvGfvxi1sGRY6qdrT4-iwgxAnRZFTOb3OE5-N33y4lEJBMfDhGYWWQAroZ9Wbe2Ho1dy4MI8ZntRVO1DrSyCS8AjMcil_m3UrJhsjz9IqMyMny1sIZ6JSJIfx7Pp6CN_iVgXO9ccpZf_aZC-0MGq8i5VGUTVGoy7asAHBnQPbbZJK4X8WilpFVqPmJAwsNKXoA-9GZasxjG9Kw3HyEK0jN83K3bRYYDYUAqZeLf5fJckpY8NZztQ0EoDGxHjb7UsD_aLYwMQmsg-U5e3ziv7Rs7POTkljWBngT4yMWy6HtCNJhr92xF7OLriyu3VdtRz3m1S_OrPcTOltWa4LlSiwAqVYR0-0JhYu1Ewq4fQvCoTy6ywEBbC7D-eGYk9plS2tiCTSH2WISVGTGZwh0ihUSgjsXSl6EZ22xnXd8zySzczp4WDzeabJfat97e7PFanrQn5Y5sxsiqYpCbbQgJx_bPaZF01xP2UqRLK2lEGiLS23cMlDOTrGCMJDWbRv3-grYVIApMzdw-nOkEmF26YpCTc_WQo-R_8dhBzmTcHKTswD2GadtGOg3LwqZFNwoxCw5TpnKHz9IdwTi9kjn6soBNF8xcjw=w218-h215-no" alt="Drush"></p>
-<p>In the words of the maintainers of Drush:</p>
-<blockquote>
-<p>Drush is a command-line shell and scripting interface for Drupal,
-a veritable Swiss Army knife designed to make life easier for those who spend
-their working hours hacking away at the command prompt.</p>
-</blockquote>
-<p>It’s just been few weeks I’ve started using Drush and I’m already a fan.
-If you are a drupal developer or a site maintainer and still haven’t heard of Drush <a href="https://github.com/drush-ops/drush">go check it out</a>.</p>
-
-
+ <p><img src="https://lh3.googleusercontent.com/LWK3VdQ8CcrC4bIDnlrJRCJAZpjBDvFg-SnX0lZNu1GXNcKi2j0jA8ubCdBZIoz6hFOBzJmJ75OD2DvGfvxi1sGRY6qdrT4-iwgxAnRZFTOb3OE5-N33y4lEJBMfDhGYWWQAroZ9Wbe2Ho1dy4MI8ZntRVO1DrSyCS8AjMcil_m3UrJhsjz9IqMyMny1sIZ6JSJIfx7Pp6CN_iVgXO9ccpZf_aZC-0MGq8i5VGUTVGoy7asAHBnQPbbZJK4X8WilpFVqPmJAwsNKXoA-9GZasxjG9Kw3HyEK0jN83K3bRYYDYUAqZeLf5fJckpY8NZztQ0EoDGxHjb7UsD_aLYwMQmsg-U5e3ziv7Rs7POTkljWBngT4yMWy6HtCNJhr92xF7OLriyu3VdtRz3m1S_OrPcTOltWa4LlSiwAqVYR0-0JhYu1Ewq4fQvCoTy6ywEBbC7D-eGYk9plS2tiCTSH2WISVGTGZwh0ihUSgjsXSl6EZ22xnXd8zySzczp4WDzeabJfat97e7PFanrQn5Y5sxsiqYpCbbQgJx_bPaZF01xP2UqRLK2lEGiLS23cMlDOTrGCMJDWbRv3-grYVIApMzdw-nOkEmF26YpCTc_WQo-R_8dhBzmTcHKTswD2GadtGOg3LwqZFNwoxCw5TpnKHz9IdwTi9kjn6soBNF8xcjw=w218-h215-no" alt="Drush"></p>
<p>In the words of the maintainers of Drush:</p>
<blockquote>
<p>Drush is a command-line shell and scripting interface for Drupal,
a veritable Swiss Army knife designed to make life easier for those who spend
their working hours hacking away at the command prompt.</p>
</blockquote>
<p>It’s just been few weeks I’ve started using Drush and I’m already a fan.
If you are a drupal developer or a site maintainer and still haven’t heard of Drush <a href="https://github.com/drush-ops/drush">go check it out</a>.</p>
+
GSOC Midterms: Half Over is Half Left
https://umarahmad.xyz/blog/gsoc-midterms-half-over-is-half-left/
Sun, 29 Jun 2014 16:30:07 +0530
-
https://umarahmad.xyz/blog/gsoc-midterms-half-over-is-half-left/
- <p><img src="https://lh3.googleusercontent.com/O2hQSeV_aZFFQH0PQgh-AV5c9b3Gvzx8U3_O2OLidJXUOCnWGPLN6DyE7KdOXXWG1KZuSGer-0sDzHXoHjv2bGtPnXtE4jVoygB7IhFoharxvP-GGul4UAe68sL7Jp8O0y7PG9VneRwmhFOuIFFeXAVy4fpBbJ-DDV4ymv-VwnQFh31BEMokAHwDb2E2jB3R4PHWKN-GptRNHWG8SGbndLXREoi-lyRUo9DSMEAeiUyrCwhc4-UFU4hvE8JksEs8tXSL-rQ6dgO9Qjw7u1jYidXRX8kRKaj1t0RV0R4PjvJhkn6-u_1ODqWfIMGfx_MQ_uCS1FQv503oAC1BArzbRwEjLX0sp7RhKf0-EeWuna3UDLlbanOJd5alAFbj0Z2HKRmD58rStwQIvLheLpjCGmKdeXEo3xB5fHHtx8zJLksjU2cCxFgAC71tXiUeeLZ2WYWups5Q7U72B1mXzGqXUQFH1E-GtfXaD1tZuHJ5I-n13A-lKvPCEK5hWYF8ImRAa3Kg2vv3tVnvUIPWcMcuoQO1RJDZik5YImF8F7SU_FCHavtaEJz5AGaQYn3r8DVYHM2WePN_htsPV7Gt-KNPfd9wMbVHY5keT_iTRQ0rYPhhKPojx2Rq7mkGPtq_SVdOScX5quCjjRzaFzx836GLqeyhim7cn9RB9KHvQu_b8g=w600-h160-no" alt=""></p>
-<p>GSOC Midterms ended few days back and it’s been fun so far. In my previous post I briefly touched upon my project, <strong><a href="https://www.github.com/gleek/fluxpocket">fluxpocket</a></strong> , which is an extended service for <strong><a href="http://www.drupal.org/project/fluxservice">fluxservices</a></strong>, which is based upon <strong><a href="http://www.fluxkraft.com">fluxkraft</a></strong>, which runs on <strong><a href="http://www.drupal.org/project/rules">rules</a></strong>, which is based on <strong><a href="http://www.drupal.org">Drupal</a></strong>!!</p>
+ <p><img src="https://lh3.googleusercontent.com/O2hQSeV_aZFFQH0PQgh-AV5c9b3Gvzx8U3_O2OLidJXUOCnWGPLN6DyE7KdOXXWG1KZuSGer-0sDzHXoHjv2bGtPnXtE4jVoygB7IhFoharxvP-GGul4UAe68sL7Jp8O0y7PG9VneRwmhFOuIFFeXAVy4fpBbJ-DDV4ymv-VwnQFh31BEMokAHwDb2E2jB3R4PHWKN-GptRNHWG8SGbndLXREoi-lyRUo9DSMEAeiUyrCwhc4-UFU4hvE8JksEs8tXSL-rQ6dgO9Qjw7u1jYidXRX8kRKaj1t0RV0R4PjvJhkn6-u_1ODqWfIMGfx_MQ_uCS1FQv503oAC1BArzbRwEjLX0sp7RhKf0-EeWuna3UDLlbanOJd5alAFbj0Z2HKRmD58rStwQIvLheLpjCGmKdeXEo3xB5fHHtx8zJLksjU2cCxFgAC71tXiUeeLZ2WYWups5Q7U72B1mXzGqXUQFH1E-GtfXaD1tZuHJ5I-n13A-lKvPCEK5hWYF8ImRAa3Kg2vv3tVnvUIPWcMcuoQO1RJDZik5YImF8F7SU_FCHavtaEJz5AGaQYn3r8DVYHM2WePN_htsPV7Gt-KNPfd9wMbVHY5keT_iTRQ0rYPhhKPojx2Rq7mkGPtq_SVdOScX5quCjjRzaFzx836GLqeyhim7cn9RB9KHvQu_b8g=w600-h160-no" alt=""></p>
<p>GSOC Midterms ended few days back and it’s been fun so far. In my previous post I briefly touched upon my project, <strong><a href="https://www.github.com/gleek/fluxpocket">fluxpocket</a></strong> , which is an extended service for <strong><a href="http://www.drupal.org/project/fluxservice">fluxservices</a></strong>, which is based upon <strong><a href="http://www.fluxkraft.com">fluxkraft</a></strong>, which runs on <strong><a href="http://www.drupal.org/project/rules">rules</a></strong>, which is based on <strong><a href="http://www.drupal.org">Drupal</a></strong>!!</p>
-
GSOC - Here We Go
https://umarahmad.xyz/blog/gsoc-here-we-go/
Thu, 12 Jun 2014 05:45:04 +0530
-
https://umarahmad.xyz/blog/gsoc-here-we-go/
- <p><img src="https://lh3.googleusercontent.com/-_eXnV87hecb2o5FZfatpmppOXSBupYVE2Xr8WIdxbi4tJqYW-iH-Y-ptJ2zDItA3N8XYuT71fmdxkP5RBWMJIxh2wGEPnOyaohoLbxxaT8cSNc67QQH2581_7ov2-rTPC5t9ro1UxN92jY8eNCF1mw-m879yjWX_H9vhZJVdVnrQRCEw5GHLL_k_Any-hYsIhOl06Paafst7kd4e-1rTORw6-TReVjZZQs6uYZSS2HTqB0g-_h2Zkp9g3UXcrrKcNucr-CYtilEIK_PRi_lUeRdNtU1rsGWrakkMDUXMuKy-ReIlBxUgc5Mj8iDde1RGqFf663lKQ5JhZb6nIiQuTnnqzg1MoynXFkqJsDaztSanuEm7uSWhwQ_gVDQjcGK7eVykXCa4JBZnucDlZBYVurJDk7wfUASCp5LvPXD3Ord3kAyLVZupq9bdjC28zGyGc8H6QC-LrUTxOkgyAoxjaifSlxTbcFao5snSSYPf-Whxj73Vzt2c2p0uHR_ySuBfRlSJL6Ul8cnp3KYEkiMQbAwYuAVlTSka-0Ch3uppYGS57dztOpyVawV-v2W4ipXj3fpmRYSC7jJA29ztsrCYZQKahhBaQREqrtJRgG5_zqCryLyn7vrzgoVXYOeX5MUW_P--Np4KEChrnTGp1C0Of2H4Jn26Ja4_Its7XEC_A=w924-h156-no" alt="GSOC 2014"></p>
-<h4 id="what">What?</h4>
-<p>Google Summer of Code is happening this year with over <a href="http://www.google-melange.com/gsoc/org/list/public/google/gsoc2014">190 participating organizations</a> and with a total of <a href="http://google-opensource.blogspot.in/2014/05/google-summer-of-code-2014-by-numbers.html">1307 students</a> selected all round the globe, and being one of them is truly awesome :sunglasses:.</p>
+ <p><img src="https://lh3.googleusercontent.com/-_eXnV87hecb2o5FZfatpmppOXSBupYVE2Xr8WIdxbi4tJqYW-iH-Y-ptJ2zDItA3N8XYuT71fmdxkP5RBWMJIxh2wGEPnOyaohoLbxxaT8cSNc67QQH2581_7ov2-rTPC5t9ro1UxN92jY8eNCF1mw-m879yjWX_H9vhZJVdVnrQRCEw5GHLL_k_Any-hYsIhOl06Paafst7kd4e-1rTORw6-TReVjZZQs6uYZSS2HTqB0g-_h2Zkp9g3UXcrrKcNucr-CYtilEIK_PRi_lUeRdNtU1rsGWrakkMDUXMuKy-ReIlBxUgc5Mj8iDde1RGqFf663lKQ5JhZb6nIiQuTnnqzg1MoynXFkqJsDaztSanuEm7uSWhwQ_gVDQjcGK7eVykXCa4JBZnucDlZBYVurJDk7wfUASCp5LvPXD3Ord3kAyLVZupq9bdjC28zGyGc8H6QC-LrUTxOkgyAoxjaifSlxTbcFao5snSSYPf-Whxj73Vzt2c2p0uHR_ySuBfRlSJL6Ul8cnp3KYEkiMQbAwYuAVlTSka-0Ch3uppYGS57dztOpyVawV-v2W4ipXj3fpmRYSC7jJA29ztsrCYZQKahhBaQREqrtJRgG5_zqCryLyn7vrzgoVXYOeX5MUW_P--Np4KEChrnTGp1C0Of2H4Jn26Ja4_Its7XEC_A=w924-h156-no" alt="GSOC 2014"></p>
<h4 id="what">What?</h4>
<p>Google Summer of Code is happening this year with over <a href="http://www.google-melange.com/gsoc/org/list/public/google/gsoc2014">190 participating organizations</a> and with a total of <a href="http://google-opensource.blogspot.in/2014/05/google-summer-of-code-2014-by-numbers.html">1307 students</a> selected all round the globe, and being one of them is truly awesome :sunglasses:.</p>
-
GSF Hacks
https://umarahmad.xyz/blog/gsf-hacks/
Thu, 08 May 2014 03:01:30 +0530
-
https://umarahmad.xyz/blog/gsf-hacks/
- <p><img src="https://lh3.googleusercontent.com/7zBCup0aXx-KUJveJNOxISqBj3JXPaPY9u05q9Akw3EqIICRgExww1BMImw25FkodIVfACX6cC7OepuQz4kpvkniONdYjrb9fwTqRI06e3OwMtQyzew9zviROsNkWi49fC_5C0wb3AVEGg55HvpBLTkVdMT1nsu2HwaleXumrALCPmbaNjsO_dcnNoVwmNmVALbXuMUDM87MSpz9Lt746gU1HiV8XnFxroGCv_AdQ3rA3h7eNWjQIyS-wqFiuamL7EF6jdXo0LUVGDJWSuzShCwHGXKwwZ4ixY3RVerIG8jJ7zupxT94DshLMzMU_jYQk6pLm7qLFnCntEB8hakWZWLShUpKrBl_4gJ4RlW9dH3fVsqbnzOKW3HnVZpIAErQOctUDtbmqgW-_WGrmBbFI8Jk5cfBjCC9SXs9wAqZt2R-BwvYXR__ahl9rDiJRdPXB1GQQNpnRgB_dCyMTBrW-KnqWoI_KN4kwSHI1ARYDNC3v1OM-tc_3nPIsjy_JwoxZ4sG4cTsHbefXt6BL2HnETD77GmYCx9TWZb-j_wnnY0xHRBNU8kOHOZCFJ8_B0Z3S4rhTKBCV9U9s6B5UgChO_DhtlOdv1dgisSgPYXahpo1chmtSNluBBIfdSQ5odHBNJVITuLRDqUod8Dm-LzmJdcBQmpgse-VUDvCFe7qMA=s370" alt=""></p>
-<p>Last month some of my friends and I went to a hackathon organized by <a href="http://www.gsfindia.com/hacks/">GSF India</a>. This hackathon was particularly interesting since almost all the participants were amongst the top ranked from <a href="http://www.hackerearth.com/">Hacker Earth</a> and thus a tough competition was expected.</p>
+ <p><img src="https://lh3.googleusercontent.com/7zBCup0aXx-KUJveJNOxISqBj3JXPaPY9u05q9Akw3EqIICRgExww1BMImw25FkodIVfACX6cC7OepuQz4kpvkniONdYjrb9fwTqRI06e3OwMtQyzew9zviROsNkWi49fC_5C0wb3AVEGg55HvpBLTkVdMT1nsu2HwaleXumrALCPmbaNjsO_dcnNoVwmNmVALbXuMUDM87MSpz9Lt746gU1HiV8XnFxroGCv_AdQ3rA3h7eNWjQIyS-wqFiuamL7EF6jdXo0LUVGDJWSuzShCwHGXKwwZ4ixY3RVerIG8jJ7zupxT94DshLMzMU_jYQk6pLm7qLFnCntEB8hakWZWLShUpKrBl_4gJ4RlW9dH3fVsqbnzOKW3HnVZpIAErQOctUDtbmqgW-_WGrmBbFI8Jk5cfBjCC9SXs9wAqZt2R-BwvYXR__ahl9rDiJRdPXB1GQQNpnRgB_dCyMTBrW-KnqWoI_KN4kwSHI1ARYDNC3v1OM-tc_3nPIsjy_JwoxZ4sG4cTsHbefXt6BL2HnETD77GmYCx9TWZb-j_wnnY0xHRBNU8kOHOZCFJ8_B0Z3S4rhTKBCV9U9s6B5UgChO_DhtlOdv1dgisSgPYXahpo1chmtSNluBBIfdSQ5odHBNJVITuLRDqUod8Dm-LzmJdcBQmpgse-VUDvCFe7qMA=s370" alt=""></p>
<p>Last month some of my friends and I went to a hackathon organized by <a href="http://www.gsfindia.com/hacks/">GSF India</a>. This hackathon was particularly interesting since almost all the participants were amongst the top ranked from <a href="http://www.hackerearth.com/">Hacker Earth</a> and thus a tough competition was expected.</p>
-
From WordPress to Octopress
https://umarahmad.xyz/blog/from-wordpress-to-octopress/
Fri, 18 Apr 2014 20:07:03 +0530
-
https://umarahmad.xyz/blog/from-wordpress-to-octopress/
- <p><em>This post is about choosing Octopress over <strong>WordPress hosted</strong> blog, it does not talk about WordPress as a framework.</em></p>
-<p>It has been a very few days I started this blog. Now I feel a bit of a weird pride in announcing that this may be the last post on the wordpress, it’s now hosted on github - <a href="http://gleek.github.io/">http://gleek.github.io</a> , and powered by Octopress.</p>
+ <p><em>This post is about choosing Octopress over <strong>WordPress hosted</strong> blog, it does not talk about WordPress as a framework.</em></p>
<p>It has been a very few days I started this blog. Now I feel a bit of a weird pride in announcing that this may be the last post on the wordpress, it’s now hosted on github - <a href="http://gleek.github.io/">http://gleek.github.io</a> , and powered by Octopress.</p>
-
Customizing Emacs
https://umarahmad.xyz/blog/customizing-emacs/
Thu, 10 Apr 2014 18:32:50 +0530
-
https://umarahmad.xyz/blog/customizing-emacs/
- <p><img src="https://lh3.googleusercontent.com/ARlXYE_wnAvftBBl2UEvu-z9SpH-q3lyYNukRnNRwbUnXt6fGTP304OloJ3sJ3pSlMr_9QnPr_RxKamv65BFkEUqUEKB0TftIzNuOaiabipF1DNMYLzYReB_40Qr2TbbDndKYzeY5-MPUNmyzH9xmsuhWxmpywT4U5ayHJo2-dGy1W7wRlY2kY7QtTvneNt4OqGGZlqsSZLYM3WVcVwWFxBeJzPxirItCLPzRoRNPfdZZRy6k31JS65TU3WYW-7hvOcTuoZ6vDJSj2K3HyD73dpJ7YjNUwmJB9tjNzy7bqUXm5ftnuG14qPKs1Gtz1jpAGESfgafhUeLQL1pvDWP-VBQDLIwYaXr-XFTatPTgalAAPNd66J-cJ_J0O1OkF1DM-KM4RjqDhLkMOT9-RM5fkrG5_Rnibw32yJho_cGYTyk7523_CnePswMWjMtmMrTI4zyrsaRYVqBjfRxwznHExq1nAwuR-NSmP2EeeLvPYFP6ZSyMWyZCga2K0LH6J9-Qa8aHdkneuQ9ti6w0QGEJHr9HinsGuWBuALKd2H0ZlPxrwhOdKSyEIaWgq2mkt0vL653PCK4sN5zGZZte3kc7LL3I4WZhlN1oaRsXbIRTJaLEYhQTYj4BrRDS-59IHAwl2Ddf_AzsF9r7c6cKs-A2DQL2QpM2Nb5gU5Ae05pIw=w270-h217-no" alt=""></p>
-<p>I believe the environment in which one works is directly responsible for one’s productivity. It’s the reason I think, it’s important to choose the right editor, font, etc.</p>
+ <p><img src="https://lh3.googleusercontent.com/ARlXYE_wnAvftBBl2UEvu-z9SpH-q3lyYNukRnNRwbUnXt6fGTP304OloJ3sJ3pSlMr_9QnPr_RxKamv65BFkEUqUEKB0TftIzNuOaiabipF1DNMYLzYReB_40Qr2TbbDndKYzeY5-MPUNmyzH9xmsuhWxmpywT4U5ayHJo2-dGy1W7wRlY2kY7QtTvneNt4OqGGZlqsSZLYM3WVcVwWFxBeJzPxirItCLPzRoRNPfdZZRy6k31JS65TU3WYW-7hvOcTuoZ6vDJSj2K3HyD73dpJ7YjNUwmJB9tjNzy7bqUXm5ftnuG14qPKs1Gtz1jpAGESfgafhUeLQL1pvDWP-VBQDLIwYaXr-XFTatPTgalAAPNd66J-cJ_J0O1OkF1DM-KM4RjqDhLkMOT9-RM5fkrG5_Rnibw32yJho_cGYTyk7523_CnePswMWjMtmMrTI4zyrsaRYVqBjfRxwznHExq1nAwuR-NSmP2EeeLvPYFP6ZSyMWyZCga2K0LH6J9-Qa8aHdkneuQ9ti6w0QGEJHr9HinsGuWBuALKd2H0ZlPxrwhOdKSyEIaWgq2mkt0vL653PCK4sN5zGZZte3kc7LL3I4WZhlN1oaRsXbIRTJaLEYhQTYj4BrRDS-59IHAwl2Ddf_AzsF9r7c6cKs-A2DQL2QpM2Nb5gU5Ae05pIw=w270-h217-no" alt=""></p>
<p>I believe the environment in which one works is directly responsible for one’s productivity. It’s the reason I think, it’s important to choose the right editor, font, etc.</p>
-
Automatically Changing desktop background on gnome-shell
https://umarahmad.xyz/blog/automatically-changing-desktop-background-on-gnome-shell/
Wed, 26 Mar 2014 17:53:27 +0530
-
https://umarahmad.xyz/blog/automatically-changing-desktop-background-on-gnome-shell/
- <p><em>Click <a href="https://github.com/Gleek/gnome_wall_changer/archive/master.zip" title="gnome_wall_change.zip(Github)">here</a> to download the scripts directly, or view them on <a href="https://github.com/Gleek/gnome_wall_changer">Github</a></em>
-<img src="https://lh3.googleusercontent.com/NGCDBc6q7d4KsJ5OQft2nhe0RnglzsBVbgOGZpdEMunjopdwxg5CmzMbgYA-7GpkHX3P5xVFOOR2k300r3smFScPSX-xWsaBOmHuJL5r24OstQDIuqFbsUZ0pxwjcCoV0jQvD2azdKkCWwX7IB4wB78M8_xlW6wb4fLTn26uHzSHltTAtuapfJE5pMvzuPAMb5Af0A2I8bn-6KvjoVazUT_qMhBFcIqBLT_OjSKK8f04sDbVarExlNA5cvxwujLgNLFKrLneYNkXBV72g_8AiY3Sj20vEOG-Nqbt4FY0sxBavgWuE62bfngKaWpcIuEdlgJDzXVb0hLsO_XHulyWKZqsEnZmPTpeZTXbgwXOW831bU7FU9zWamsCxDAyQJP9361V-xqMIut-5jnT2g86ESIks1xVZxkO83RClmKiwmM3b1rq9hZuMR9DVuVFjDBdQcvVBIEWyKPAIi39-26AkblTir_AXZcEeAju_dNamBiyQuZ6-Pf_wykzTNZlXt1aR8LzoIYABCc5CrZxrft4rnj2U7M3_v4-SVmzq3bqqV5OKIONgZkMHpAZxTnGEzToNThcyxZt1Q_lr050p-a8opmObnudB6UElg2x_MdrztotI6Dpsjs6TiHIdLWfur4Zh92uvsedkmV1zY5TKazLMTttGY2yMkVY3YpVAy64gQ=s370" alt=""></p>
-<p>One of the main attractions about a system is the desktop background. We tend to choose our background which identifies our interests , are aesthetically pleasing or remind us of our good times.</p>
-<p>But the thing with consistency is that it gets boring with time. Wallpapers we once loved, becomes a burden and we find it hard to come back to that wallpaper after getting it on 24×7.</p>
+ <p><em>Click <a href="https://github.com/Gleek/gnome_wall_changer/archive/master.zip" title="gnome_wall_change.zip(Github)">here</a> to download the scripts directly, or view them on <a href="https://github.com/Gleek/gnome_wall_changer">Github</a></em>
<img src="https://lh3.googleusercontent.com/NGCDBc6q7d4KsJ5OQft2nhe0RnglzsBVbgOGZpdEMunjopdwxg5CmzMbgYA-7GpkHX3P5xVFOOR2k300r3smFScPSX-xWsaBOmHuJL5r24OstQDIuqFbsUZ0pxwjcCoV0jQvD2azdKkCWwX7IB4wB78M8_xlW6wb4fLTn26uHzSHltTAtuapfJE5pMvzuPAMb5Af0A2I8bn-6KvjoVazUT_qMhBFcIqBLT_OjSKK8f04sDbVarExlNA5cvxwujLgNLFKrLneYNkXBV72g_8AiY3Sj20vEOG-Nqbt4FY0sxBavgWuE62bfngKaWpcIuEdlgJDzXVb0hLsO_XHulyWKZqsEnZmPTpeZTXbgwXOW831bU7FU9zWamsCxDAyQJP9361V-xqMIut-5jnT2g86ESIks1xVZxkO83RClmKiwmM3b1rq9hZuMR9DVuVFjDBdQcvVBIEWyKPAIi39-26AkblTir_AXZcEeAju_dNamBiyQuZ6-Pf_wykzTNZlXt1aR8LzoIYABCc5CrZxrft4rnj2U7M3_v4-SVmzq3bqqV5OKIONgZkMHpAZxTnGEzToNThcyxZt1Q_lr050p-a8opmObnudB6UElg2x_MdrztotI6Dpsjs6TiHIdLWfur4Zh92uvsedkmV1zY5TKazLMTttGY2yMkVY3YpVAy64gQ=s370" alt=""></p>
<p>One of the main attractions about a system is the desktop background. We tend to choose our background which identifies our interests , are aesthetically pleasing or remind us of our good times.</p>
<p>But the thing with consistency is that it gets boring with time. Wallpapers we once loved, becomes a burden and we find it hard to come back to that wallpaper after getting it on 24×7.</p>
-
Adding Drupal IRC-Bot to # jmilug
https://umarahmad.xyz/blog/adding-drupal-irc-bot-to-number-jmilug/
Mon, 24 Mar 2014 22:45:47 +0530
-
https://umarahmad.xyz/blog/adding-drupal-irc-bot-to-number-jmilug/
- <p><img src="https://lh3.googleusercontent.com/AsBXtPDzWf-Mf9c5sMP4TdzOU_S7dZK7bl8Ly69FFn_wXGoPvos3kPOpmWMaWvMjjItBzbuZwZ-rbhshyasU9RUN_2mLswzfJWsBbmFGReZ-epr8F68KTaEK39qscEeqDIyx9os_4PXNNH-uT_iUuv49_buca3ViqEmKXGJvq0N23fmgj7Lx0zy5SQGQBoCzpbIKMNczMIeIM1ihIx1xyp5TvRblxqDpA-y0mEM34cXIKk1PoMJyt0iT4RSEEhAxWuPIwHECdUP8v2mC5OqaAKDVkIKH8DK7JX8XF19hcNTbtWIHxNXdHEbVC5lf3phrZpmdArWIfga3jOTuRFEmz5Xp8Sqan54h9S62I1n_Lf3__rqT0kawXR3NS0OVUlv45xh-0UUguym2sg1PLaVtXVxiaVtw6vGGko7mSVH6lM5WoUq9XTs3Po7Cz_fdxbsI-dkUIX7mP8Ry1fQ4ltwQXz1DJSDoEeRDMmbqyOkWnBDeSQMxXeaUWYcTqkzxYliASsPuB4CPhEi5pRwPlMjLKaZV1x_xm2BOCwugMNx_p_L1jJh1CtAQXV5WY9-SHgq8Fzc1QZ6oDCpTJVgSGZWZFcXkWSs9l44ISI1FVZtm-RuBJ99Zcrtx=w256-h159-no" alt="IRC" title="IRC Screen"></p>
-<p>One of the main drawbacks of IRC-chat is the absence of logging. This was the main reason why our community JMI-LUG almost stopped using the channel for any discussion, as there was nothing to refer to later.
-There was a need for a kind of a bot which could save all the logs of the chats we had. Hence, I began my search for any open-source IRC bot to cater our needs.
-I found <a href="http://en.wikipedia.org/wiki/Comparison_of_Internet_Relay_Chat_bots">many bots</a> which could do the task.</p>
+ <p><img src="https://lh3.googleusercontent.com/AsBXtPDzWf-Mf9c5sMP4TdzOU_S7dZK7bl8Ly69FFn_wXGoPvos3kPOpmWMaWvMjjItBzbuZwZ-rbhshyasU9RUN_2mLswzfJWsBbmFGReZ-epr8F68KTaEK39qscEeqDIyx9os_4PXNNH-uT_iUuv49_buca3ViqEmKXGJvq0N23fmgj7Lx0zy5SQGQBoCzpbIKMNczMIeIM1ihIx1xyp5TvRblxqDpA-y0mEM34cXIKk1PoMJyt0iT4RSEEhAxWuPIwHECdUP8v2mC5OqaAKDVkIKH8DK7JX8XF19hcNTbtWIHxNXdHEbVC5lf3phrZpmdArWIfga3jOTuRFEmz5Xp8Sqan54h9S62I1n_Lf3__rqT0kawXR3NS0OVUlv45xh-0UUguym2sg1PLaVtXVxiaVtw6vGGko7mSVH6lM5WoUq9XTs3Po7Cz_fdxbsI-dkUIX7mP8Ry1fQ4ltwQXz1DJSDoEeRDMmbqyOkWnBDeSQMxXeaUWYcTqkzxYliASsPuB4CPhEi5pRwPlMjLKaZV1x_xm2BOCwugMNx_p_L1jJh1CtAQXV5WY9-SHgq8Fzc1QZ6oDCpTJVgSGZWZFcXkWSs9l44ISI1FVZtm-RuBJ99Zcrtx=w256-h159-no" alt="IRC" title="IRC Screen"></p>
<p>One of the main drawbacks of IRC-chat is the absence of logging. This was the main reason why our community JMI-LUG almost stopped using the channel for any discussion, as there was nothing to refer to later.
There was a need for a kind of a bot which could save all the logs of the chats we had. Hence, I began my search for any open-source IRC bot to cater our needs.
I found <a href="http://en.wikipedia.org/wiki/Comparison_of_Internet_Relay_Chat_bots">many bots</a> which could do the task.</p>
-
Migrating to Fedora 20
https://umarahmad.xyz/blog/migrating-to-fedora-20/
Mon, 24 Mar 2014 20:32:50 +0530
-
https://umarahmad.xyz/blog/migrating-to-fedora-20/
- <p><img src="https://lh3.googleusercontent.com/uqGbIS_J6m_AloaEhWeG0IZ6G4iWSYBUDMJ8kX3aRRxLHhiruma365lgbRW877VHiSbMP1ivNISekZl1aUQGw13Z6SIcZEJ2nqp_Lt-I0UuPfmiypBz7iM8m3vvWD9ijUSB8u0Fa4IbJaXgQdlGCjAP1hBVvPcfVvDgQ4--LvLl18fOLV-5vk-l4zPU4calXUlOaNDGw_dCPLM0RO42YllDiAN669vFCR1g9PIftUhKCE271lXeOZmo4hp_AICCQNppWpQS-mD7I8zYx_BAqvTPdwhPzkHYG-ZU33Jz2N3-uqEGpefU7QaklxXVpBG3-_VmOmwXUNBhOa0LHUVpcTa4JA_lz2D5AcwhwAGMyEbjaTAAOjI2zxrg9wuF6R8nitmQREcfs4R1I5DwLjuOlHLYdgWLHx_AHSd-aB4Lp6Slx29vUvVtgD6MIMQUB_sH60bvT81LM-OTlQbO35yyHXI5ETyePfzcSeblRUN96Ecu3D67xMLdujDfje3t8_7gQkC5IcUpfgYVOukd_bi6kgqMaF2c5_KXD1tpt7PhbnZ9N7hQ8W1uveUdurWZik1NcFs7hMMmJgZjf-0eSqo56vX12_k4D391EAxe1L6hSE9UHzmYFKSZj_FDtD_Q97yg5hn2CC6exVqQZSnVRqkKPXO1vvQRnZFHpvhGapvPIgg=w200-h100-no" alt=""></p>
-<p>I’ve been a Fedora Fan-boy ever-since I started using it three years ago and Fedora 17 is the only Linux Based Distro which lasted for more than a year on my laptop. But just as every good thing has to come to an end, my company with Fedora 17 had completed it’s lifetime.</p>
+ <p><img src="https://lh3.googleusercontent.com/uqGbIS_J6m_AloaEhWeG0IZ6G4iWSYBUDMJ8kX3aRRxLHhiruma365lgbRW877VHiSbMP1ivNISekZl1aUQGw13Z6SIcZEJ2nqp_Lt-I0UuPfmiypBz7iM8m3vvWD9ijUSB8u0Fa4IbJaXgQdlGCjAP1hBVvPcfVvDgQ4--LvLl18fOLV-5vk-l4zPU4calXUlOaNDGw_dCPLM0RO42YllDiAN669vFCR1g9PIftUhKCE271lXeOZmo4hp_AICCQNppWpQS-mD7I8zYx_BAqvTPdwhPzkHYG-ZU33Jz2N3-uqEGpefU7QaklxXVpBG3-_VmOmwXUNBhOa0LHUVpcTa4JA_lz2D5AcwhwAGMyEbjaTAAOjI2zxrg9wuF6R8nitmQREcfs4R1I5DwLjuOlHLYdgWLHx_AHSd-aB4Lp6Slx29vUvVtgD6MIMQUB_sH60bvT81LM-OTlQbO35yyHXI5ETyePfzcSeblRUN96Ecu3D67xMLdujDfje3t8_7gQkC5IcUpfgYVOukd_bi6kgqMaF2c5_KXD1tpt7PhbnZ9N7hQ8W1uveUdurWZik1NcFs7hMMmJgZjf-0eSqo56vX12_k4D391EAxe1L6hSE9UHzmYFKSZj_FDtD_Q97yg5hn2CC6exVqQZSnVRqkKPXO1vvQRnZFHpvhGapvPIgg=w200-h100-no" alt=""></p>
<p>I’ve been a Fedora Fan-boy ever-since I started using it three years ago and Fedora 17 is the only Linux Based Distro which lasted for more than a year on my laptop. But just as every good thing has to come to an end, my company with Fedora 17 had completed it’s lifetime.</p>
-
Fixing Brightness Problems in Linux
https://umarahmad.xyz/blog/fixing-brightness/
Tue, 04 Mar 2014 23:51:09 +0530
-
https://umarahmad.xyz/blog/fixing-brightness/
- <p><em>You can find the said applications/scripts in my <a href="https://github.com/Gleek/linux-brightness-hack">github repository</a></em></p>
-<p><img src="https://lh3.googleusercontent.com/FtDEhFz8XUmpm-kK2gXko-Y6y9SojmlX8TQPmFht1Xx15GY__hKAANFn9kcI-6wuC1sXVfRpIBE3oo-20kHJqkk0DKtQoliaT9_ruWfQVdYOEE3COC0Sc1uHL5q0X8UoCMTZuYUfNeFT1Yoe6wJVK8OOY3QlLGfvUSaUlK32PUnIb-5isnpWbwi2ZfedUYUaFmLJU1MNR3MgslxbJ4Q0TSX2BcSRWu2l_ilCf2CB3zPmXNPkOlPXLPhADIJUVlZsqtNhv7q4s8t9uvTZuMU0NpsXOooN7s7VyvpJ3YOQEYimyMB1Pz7YMNSo3nV5lCXPBn63XkIkigQ9HoYZn5oKW5CLTu3wSqMh2zYoEfvbZIrB0KEA6EMTjiirc4BnKvcs0IOTYahm5r2Ws2x7N2Pr6KnSlOWB1rHVA7dw9cRCKV2qA_tJsjKJSvlPUngWn2STRtuprHvigclTX-hMn7V24P6QTHbPilB3uQRN91iYOrNo7pkLhgo-WmGo6sABukUM4ETwUVSUUgTSsxYrD9aBoZz7WOOZo0Z4awGcDQgNXCzg5Rza81TVmRxa7cwbIEMu21TZUaaEN9Kot3f6q1iaYnos_zFTMhrau4lQVzZRNbrVxx5pY8IjT8i3dix8zPDv-RZgcpm7ExPrxr8_zcSXJbdgay-9cN7AP7yFZxbR9w=s240-no" alt=""></p>
-<p>This is a problem which I faced since the beginning I installed Linux. My system neither recognized my display settings nor those damn shortcut keys (the combination of <code>fn</code> keys) worked , so I ended up getting a dark screen (with zero brightness) every time the system starts-up. I couldn’t even change the brightness with those faulty shortcut keys!!</p>
+ <p><em>You can find the said applications/scripts in my <a href="https://github.com/Gleek/linux-brightness-hack">github repository</a></em></p>
<p><img src="https://lh3.googleusercontent.com/FtDEhFz8XUmpm-kK2gXko-Y6y9SojmlX8TQPmFht1Xx15GY__hKAANFn9kcI-6wuC1sXVfRpIBE3oo-20kHJqkk0DKtQoliaT9_ruWfQVdYOEE3COC0Sc1uHL5q0X8UoCMTZuYUfNeFT1Yoe6wJVK8OOY3QlLGfvUSaUlK32PUnIb-5isnpWbwi2ZfedUYUaFmLJU1MNR3MgslxbJ4Q0TSX2BcSRWu2l_ilCf2CB3zPmXNPkOlPXLPhADIJUVlZsqtNhv7q4s8t9uvTZuMU0NpsXOooN7s7VyvpJ3YOQEYimyMB1Pz7YMNSo3nV5lCXPBn63XkIkigQ9HoYZn5oKW5CLTu3wSqMh2zYoEfvbZIrB0KEA6EMTjiirc4BnKvcs0IOTYahm5r2Ws2x7N2Pr6KnSlOWB1rHVA7dw9cRCKV2qA_tJsjKJSvlPUngWn2STRtuprHvigclTX-hMn7V24P6QTHbPilB3uQRN91iYOrNo7pkLhgo-WmGo6sABukUM4ETwUVSUUgTSsxYrD9aBoZz7WOOZo0Z4awGcDQgNXCzg5Rza81TVmRxa7cwbIEMu21TZUaaEN9Kot3f6q1iaYnos_zFTMhrau4lQVzZRNbrVxx5pY8IjT8i3dix8zPDv-RZgcpm7ExPrxr8_zcSXJbdgay-9cN7AP7yFZxbR9w=s240-no" alt=""></p>
<p>This is a problem which I faced since the beginning I installed Linux. My system neither recognized my display settings nor those damn shortcut keys (the combination of <code>fn</code> keys) worked , so I ended up getting a dark screen (with zero brightness) every time the system starts-up. I couldn’t even change the brightness with those faulty shortcut keys!!</p>
-
Hello Blogging....
https://umarahmad.xyz/blog/hello-blogging/
Wed, 19 Feb 2014 16:20:21 +0530
-
https://umarahmad.xyz/blog/hello-blogging/
- <p><img src="https://lh3.googleusercontent.com/8KrC30EJ7aomCKVOKCcPj7PwvqroHH_uuQ0MJKZJwRyptJGUTm9Q_euyV1RvHmPu6CXqxTApGgAgZcjMeQn2lEE3XI6q7pU--tbzNIdEYqLbY6c-6HTdr6V5cdlxgPdSS-duaLd899h1elO3gJRodqnOENLeehHLbJAxQRqDnk9_B8Hl5IVQUmBVtoy-5tr284-n2Radm70OUhZWL1863I_53wLLxKd0TxGWCwpCc7UX4rwj0nZ5A-CjZn3eLJYUx1i6fQoik64eR7wuWyRui8sj2vPCUMQ4N0TKXmt2E1dpfocJwQ6pP2ImkgTNqrRG1cCN_FHl7R_Gd5Z9bk_-YcXE1O3P2qObS9BqzssCldbSrtLvYmDUOvfAiM1uuissxiqBx5pmmLU89wiuh9QSvKy5TwF233oMlCCIS-hDBY7TEKBlgUhFfzpG-ZJNB3xa_R4-f4qeWocPNZ1Bg7Qb1LXweGisES3eYXUV48CrIZ0EJnIxx8IH6K9nrEi4LdARzFxuJIoowVkESQfp4lMzNaZDUzcCShtfdbGAn0eVH-lsrj5-gtIzNy576S0Yk-fQqGuNuXw9Fb2d-bwOuOMe4aSfAkQXwm8RpFabwZ6jZDluKtSdAevA4iC3v8RZgnhodPSu0s2YMPP3RPUzPNL6Gvdnlk3bDh-ze4UiTHtd-w=s300" alt="Hello World"></p>
-<p>So how did it start…Well what can I say, it was nothing more than a small pulse that waved through my brain….</p>
+ <p><img src="https://lh3.googleusercontent.com/8KrC30EJ7aomCKVOKCcPj7PwvqroHH_uuQ0MJKZJwRyptJGUTm9Q_euyV1RvHmPu6CXqxTApGgAgZcjMeQn2lEE3XI6q7pU--tbzNIdEYqLbY6c-6HTdr6V5cdlxgPdSS-duaLd899h1elO3gJRodqnOENLeehHLbJAxQRqDnk9_B8Hl5IVQUmBVtoy-5tr284-n2Radm70OUhZWL1863I_53wLLxKd0TxGWCwpCc7UX4rwj0nZ5A-CjZn3eLJYUx1i6fQoik64eR7wuWyRui8sj2vPCUMQ4N0TKXmt2E1dpfocJwQ6pP2ImkgTNqrRG1cCN_FHl7R_Gd5Z9bk_-YcXE1O3P2qObS9BqzssCldbSrtLvYmDUOvfAiM1uuissxiqBx5pmmLU89wiuh9QSvKy5TwF233oMlCCIS-hDBY7TEKBlgUhFfzpG-ZJNB3xa_R4-f4qeWocPNZ1Bg7Qb1LXweGisES3eYXUV48CrIZ0EJnIxx8IH6K9nrEi4LdARzFxuJIoowVkESQfp4lMzNaZDUzcCShtfdbGAn0eVH-lsrj5-gtIzNy576S0Yk-fQqGuNuXw9Fb2d-bwOuOMe4aSfAkQXwm8RpFabwZ6jZDluKtSdAevA4iC3v8RZgnhodPSu0s2YMPP3RPUzPNL6Gvdnlk3bDh-ze4UiTHtd-w=s300" alt="Hello World"></p>
<p>So how did it start…Well what can I say, it was nothing more than a small pulse that waved through my brain….</p>
-
diff --git a/main.min.css b/main.min.css
new file mode 100644
index 00000000..cf4a7948
--- /dev/null
+++ b/main.min.css
@@ -0,0 +1 @@
+@import "https://fonts.googleapis.com/css?family=Roboto+Mono:200,300,400";:root{--cl1:#555555;--cl2:#222;--bgcl:#f9f9f9;--link-cl:#2255bb;--code-cl:#f2f2f2}body{font-family:roboto mono,sans-serif;font-size:15px;font-weight:300;color:var(--cl1);margin:auto;padding:20px;max-width:720px;text-align:left;background-color:var(--bgcl);line-height:1.5}h1,h2,h3,h4,h5,h6,strong,b{color:var(--cl2)}a,a:visited{text-decoration:none;color:var(--link-cl)}.title{text-decoration:none;border:0}.title span{font-weight:400}nav a{margin-right:10px}textarea{width:100%;font-size:16px}input{font-size:16px}content{line-height:1.6}table{width:100%}img{max-width:100%}code{padding:2px 5px;background-color:var(--code-cl)}pre code{color:var(--cl2);display:block;padding:20px;white-space:pre-wrap;font-size:14px;overflow-x:auto}div.highlight pre{background-color:initial;color:initial}div.highlight code{background-color:unset;color:unset}blockquote{border-left:1px solid #999;color:var(--cl2);padding-left:20px;font-style:italic}footer{padding:25px;text-align:center}.helptext{color:#777;font-size:small}.errorlist{color:#eba613;font-size:small}ul.blog-posts{list-style-type:none;padding:unset}ul.blog-posts li{display:flex;padding:2px}ul.blog-posts li span{flex:0 0 130px}ul.blog-posts li a:visited{color:#8b6fcb}video.video{display:block;margin:0 auto;max-width:100%}p.video-fallback{font-size:80%;margin-bottom:15px;color:gray}figcaption{font-size:80%;margin-bottom:15px;color:gray}
\ No newline at end of file
diff --git a/tags/blog/index.html b/tags/blog/index.html
index 43df40f1..0b1dff54 100644
--- a/tags/blog/index.html
+++ b/tags/blog/index.html
@@ -18,8 +18,7 @@
-
-
+
@@ -29,162 +28,10 @@
-
+
+
diff --git a/tags/blog/index.xml b/tags/blog/index.xml
index b0aaf72c..ae885f98 100644
--- a/tags/blog/index.xml
+++ b/tags/blog/index.xml
@@ -6,26 +6,21 @@
Recent content in blog on Umar AhmadHugo -- gohugo.ioen-us
- Sun, 24 Jan 2021 16:17:08 +0530
+ Sun, 24 Jan 2021 16:17:08 +0530
+ Porting my blog to Hugo from inside Emacs
https://umarahmad.xyz/blog/using-emacs-to-port-my-blog/
Sun, 24 Jan 2021 16:17:08 +0530
-
https://umarahmad.xyz/blog/using-emacs-to-port-my-blog/
- A few days ago I ported my blog to hugo. I did this mostly while staying inside Emacs and switching to the web browser every now and then.
- Doing this required me to use Emacs to edit and manage multiple files at once and this post demonstrates a few of these techniques. The post is therefore mostly task agnostic and the techniques explained here should be usable for any such tasks.
+ A few days ago I ported my blog to hugo. I did this mostly while staying inside Emacs and switching to the web browser every now and then.
Doing this required me to use Emacs to edit and manage multiple files at once and this post demonstrates a few of these techniques. The post is therefore mostly task agnostic and the techniques explained here should be usable for any such tasks.
-
Setting up the blog again
https://umarahmad.xyz/blog/setting-up-the-blog-again/
Sat, 23 Jan 2021 19:39:03 +0530
-
https://umarahmad.xyz/blog/setting-up-the-blog-again/
- I recently acquired umarahmad.xyz and moved my old blog there.
- The earlier version of this blog was based on octopress with a lot of handcrafted code. The architecture of octopress along with my excitement of setting up the blog made this a cocktail of all possible plugins and tweaks that I could manage to squeeze into a static site. Copy pasted rake snippets and hacked together web and ruby code gave me what I wanted at the time.
+ I recently acquired umarahmad.xyz and moved my old blog there.
The earlier version of this blog was based on octopress with a lot of handcrafted code. The architecture of octopress along with my excitement of setting up the blog made this a cocktail of all possible plugins and tweaks that I could manage to squeeze into a static site. Copy pasted rake snippets and hacked together web and ruby code gave me what I wanted at the time.
-
diff --git a/tags/emacs/index.html b/tags/emacs/index.html
index 63cdc1e7..b87f7ad7 100644
--- a/tags/emacs/index.html
+++ b/tags/emacs/index.html
@@ -18,8 +18,7 @@
-
-
+
@@ -29,162 +28,10 @@
-
+
+
diff --git a/tags/emacs/index.xml b/tags/emacs/index.xml
index e5a2a9e1..6f63083c 100644
--- a/tags/emacs/index.xml
+++ b/tags/emacs/index.xml
@@ -6,66 +6,49 @@
Recent content in emacs on Umar AhmadHugo -- gohugo.ioen-us
- Sun, 10 Oct 2021 16:12:11 +0530
+ Sun, 10 Oct 2021 16:12:11 +0530
+ Faster php syntax highlighting with tree-sitter
https://umarahmad.xyz/blog/faster-php-mode-with-tree-sitter/
Sun, 10 Oct 2021 16:12:11 +0530
-
https://umarahmad.xyz/blog/faster-php-mode-with-tree-sitter/PHP mode in emacs sadly has slow performance for large files. In my work, I have to sometimes deal with large PHP code bases and in certain cases, it becomes so slow that it is practically useless for me to use php-mode. I grudgingly have to switch to fundamental-mode to make smaller changes, in that case. There are alternatives like web-mode that is better suited for mixed syntax highlighting with files containing multiple web languages but there are other php-mode goodies like support for different coding styles and better indentation that make it worthy enough to not be discarded completely.
-
Quick persistent scratch buffers
https://umarahmad.xyz/blog/quick-scratch-buffers/
Sat, 03 Apr 2021 15:49:21 +0530
-
https://umarahmad.xyz/blog/quick-scratch-buffers/
- Emacs has a feature where you can quickly open a buffer to paste or keep text temporarily. It can be done by calling switch-to-buffer and typing out any name and pressing return. If a buffer with such a name exists it shows up, otherwise an empty buffer with no associated file is created. I discovered this accidentally years ago and have been using this feature a lot since.
- The problem with this is that the buffers created only last till your emacs session lasts.
+ Emacs has a feature where you can quickly open a buffer to paste or keep text temporarily. It can be done by calling switch-to-buffer and typing out any name and pressing return. If a buffer with such a name exists it shows up, otherwise an empty buffer with no associated file is created. I discovered this accidentally years ago and have been using this feature a lot since.
The problem with this is that the buffers created only last till your emacs session lasts.
-
Improve ranking of files in projectile
https://umarahmad.xyz/blog/improved-ranking-for-projectile-find-file/
Thu, 28 Jan 2021 15:43:20 +0530
-
https://umarahmad.xyz/blog/improved-ranking-for-projectile-find-file/
- I've been using projectile, and more recently counsel-projectile, to manage my project files and it has been a life saver. projectile-find-file is probably among my most used commands.
- Despite my fondness for this package, a thing that has bothered me is the default sorting of the files while searching. As the project becomes larger and the files become sparse, some extra typing needs to be done to filter down to the intended file.
+ I've been using projectile, and more recently counsel-projectile, to manage my project files and it has been a life saver. projectile-find-file is probably among my most used commands.
Despite my fondness for this package, a thing that has bothered me is the default sorting of the files while searching. As the project becomes larger and the files become sparse, some extra typing needs to be done to filter down to the intended file.
-
Porting my blog to Hugo from inside Emacs
https://umarahmad.xyz/blog/using-emacs-to-port-my-blog/
Sun, 24 Jan 2021 16:17:08 +0530
-
https://umarahmad.xyz/blog/using-emacs-to-port-my-blog/
- A few days ago I ported my blog to hugo. I did this mostly while staying inside Emacs and switching to the web browser every now and then.
- Doing this required me to use Emacs to edit and manage multiple files at once and this post demonstrates a few of these techniques. The post is therefore mostly task agnostic and the techniques explained here should be usable for any such tasks.
+ A few days ago I ported my blog to hugo. I did this mostly while staying inside Emacs and switching to the web browser every now and then.
Doing this required me to use Emacs to edit and manage multiple files at once and this post demonstrates a few of these techniques. The post is therefore mostly task agnostic and the techniques explained here should be usable for any such tasks.
-
Editing remote code with Emacs
https://umarahmad.xyz/blog/editing-remote-code-with-emacs/
Tue, 11 Apr 2017 22:56:54 +0530
-
https://umarahmad.xyz/blog/editing-remote-code-with-emacs/
- <p>Lately, I’ve been working on a code-base situated remotely on a server accessible over <code>ssh</code>.
-The network latency and size of the code repository prompted me to reconsider the method
-to edit such files. I discovered a few options I could use and finally settled with one of them.</p>
+ <p>Lately, I’ve been working on a code-base situated remotely on a server accessible over <code>ssh</code>.
The network latency and size of the code repository prompted me to reconsider the method
to edit such files. I discovered a few options I could use and finally settled with one of them.</p>
-
Customizing Emacs
https://umarahmad.xyz/blog/customizing-emacs/
Thu, 10 Apr 2014 18:32:50 +0530
-
https://umarahmad.xyz/blog/customizing-emacs/
- <p><img src="https://lh3.googleusercontent.com/ARlXYE_wnAvftBBl2UEvu-z9SpH-q3lyYNukRnNRwbUnXt6fGTP304OloJ3sJ3pSlMr_9QnPr_RxKamv65BFkEUqUEKB0TftIzNuOaiabipF1DNMYLzYReB_40Qr2TbbDndKYzeY5-MPUNmyzH9xmsuhWxmpywT4U5ayHJo2-dGy1W7wRlY2kY7QtTvneNt4OqGGZlqsSZLYM3WVcVwWFxBeJzPxirItCLPzRoRNPfdZZRy6k31JS65TU3WYW-7hvOcTuoZ6vDJSj2K3HyD73dpJ7YjNUwmJB9tjNzy7bqUXm5ftnuG14qPKs1Gtz1jpAGESfgafhUeLQL1pvDWP-VBQDLIwYaXr-XFTatPTgalAAPNd66J-cJ_J0O1OkF1DM-KM4RjqDhLkMOT9-RM5fkrG5_Rnibw32yJho_cGYTyk7523_CnePswMWjMtmMrTI4zyrsaRYVqBjfRxwznHExq1nAwuR-NSmP2EeeLvPYFP6ZSyMWyZCga2K0LH6J9-Qa8aHdkneuQ9ti6w0QGEJHr9HinsGuWBuALKd2H0ZlPxrwhOdKSyEIaWgq2mkt0vL653PCK4sN5zGZZte3kc7LL3I4WZhlN1oaRsXbIRTJaLEYhQTYj4BrRDS-59IHAwl2Ddf_AzsF9r7c6cKs-A2DQL2QpM2Nb5gU5Ae05pIw=w270-h217-no" alt=""></p>
-<p>I believe the environment in which one works is directly responsible for one’s productivity. It’s the reason I think, it’s important to choose the right editor, font, etc.</p>
+ <p><img src="https://lh3.googleusercontent.com/ARlXYE_wnAvftBBl2UEvu-z9SpH-q3lyYNukRnNRwbUnXt6fGTP304OloJ3sJ3pSlMr_9QnPr_RxKamv65BFkEUqUEKB0TftIzNuOaiabipF1DNMYLzYReB_40Qr2TbbDndKYzeY5-MPUNmyzH9xmsuhWxmpywT4U5ayHJo2-dGy1W7wRlY2kY7QtTvneNt4OqGGZlqsSZLYM3WVcVwWFxBeJzPxirItCLPzRoRNPfdZZRy6k31JS65TU3WYW-7hvOcTuoZ6vDJSj2K3HyD73dpJ7YjNUwmJB9tjNzy7bqUXm5ftnuG14qPKs1Gtz1jpAGESfgafhUeLQL1pvDWP-VBQDLIwYaXr-XFTatPTgalAAPNd66J-cJ_J0O1OkF1DM-KM4RjqDhLkMOT9-RM5fkrG5_Rnibw32yJho_cGYTyk7523_CnePswMWjMtmMrTI4zyrsaRYVqBjfRxwznHExq1nAwuR-NSmP2EeeLvPYFP6ZSyMWyZCga2K0LH6J9-Qa8aHdkneuQ9ti6w0QGEJHr9HinsGuWBuALKd2H0ZlPxrwhOdKSyEIaWgq2mkt0vL653PCK4sN5zGZZte3kc7LL3I4WZhlN1oaRsXbIRTJaLEYhQTYj4BrRDS-59IHAwl2Ddf_AzsF9r7c6cKs-A2DQL2QpM2Nb5gU5Ae05pIw=w270-h217-no" alt=""></p>
<p>I believe the environment in which one works is directly responsible for one’s productivity. It’s the reason I think, it’s important to choose the right editor, font, etc.</p>
-
diff --git a/tags/index.html b/tags/index.html
index a7757ce7..6f863992 100644
--- a/tags/index.html
+++ b/tags/index.html
@@ -18,8 +18,7 @@
-
-
+
@@ -29,162 +28,10 @@
-
+
+
diff --git a/tags/index.xml b/tags/index.xml
index 7f74c50c..6b237647 100644
--- a/tags/index.xml
+++ b/tags/index.xml
@@ -6,24 +6,21 @@
Recent content in Tags on Umar AhmadHugo -- gohugo.ioen-us
- Sun, 10 Oct 2021 16:12:11 +0530
+ Sun, 10 Oct 2021 16:12:11 +0530
+ emacs
https://umarahmad.xyz/tags/emacs/
Sun, 10 Oct 2021 16:12:11 +0530
-
https://umarahmad.xyz/tags/emacs/
-
blog
https://umarahmad.xyz/tags/blog/
Sun, 24 Jan 2021 16:17:08 +0530
-
https://umarahmad.xyz/tags/blog/
-