Simplicity

Home About Contact Archives
2025
Feb 17

That one time when office365 was marking our emails as spam

Feb 17

How to fix cookies not persisting using CORS

2021
Oct 31

Memory Cached Tables for building faster web applications

Apr 20

A baton server to test your Erlang/Elixir cluster

Apr 15

How to show Raspberry Pi temperatures in your Datadog dashboard

Mar 14

How to rename table using pg_dump or pg_restore

Mar 7

Moving a Rails managed database to Phoenix

Mar 7

A simple way to store secrets using Parameter Store for your ECS applications

2020
Oct 17

How to do batch updates in postgresql for really big updates

Jul 29

Lazy functional ruby

Jul 18

How to know which of the Enum functions to use in Elixir

Jul 13

How to control the enqueuing speed of Sidekiq jobs and their concurrency

Jun 5

How to create a web server using Cowboy without Plug or Phoenix - Part 01

May 17

My first SVG creation

May 17

many_to_many relationships in Ecto and Phoenix - Screencast - Part 2

May 11

many_to_many relationships in Ecto and Phoenix - Screencast - Part 1

May 9

How to use a single aurora cluster for multiple databases each with its own restricted user

May 6

How to create temporary bastion EC2 instances using Terraform

May 3

many_to_many relationships in Ecto and Phoenix for Products and Tags

2019
Nov 30

How to dump a partial/sample table(1000 rows) in postgres using pg_dump

Jun 3

How to copy output of a function to your clipboard in Elixir or Ruby

Apr 14

How to store username or email with case insensitive search using Ecto - Part 2

Apr 14

How to store username or email with case insensitive search using Ecto

Mar 20

How to view documentation of callbacks in IEx for Elixir

Feb 1

Pearls of Elixir - Interesting patterns from popular Elixir packages

2018
Dec 14

Solution to Advent of Code 2018 Day 5 in Elixir

Dec 14

Solution to Advent of Code 2018 Day 4 in Elixir

Dec 5

Easy way to add frozen_string_literal magic string to your ruby files

Dec 4

Solution to Advent of Code 2018 Day 3 in Elixir

Dec 2

Solutions to Advent of Code 2018 Day 2 in Elixir

Dec 1

Solutions to Advent of Code 2018 Day 1 in Elixir and Ruby

Nov 22

How to get an MD5 hash of your request using a Plug and Phoenix

Jul 6

7 ways of doing Fizz Buzz in Elixir and other clickbaity stuff

Jun 18

How to manage ginormous ExVCR cassettes

May 17

Your Elixir bucket for debugging

May 11

How to implement your own :timer.sleep in Elixir

May 9

How to setup your hexo blog to be automatically published using Travis CI

2017
Oct 4

ets versus redis benchmarks for a simple key value store

Jun 19

Performance variations of string substitution in Elixir

Jun 8

Optimal order for adding lists in Elixir

May 18

How to pass a multi line copy sql to psql

Mar 12

How to debug/view phoenix channel network traffic in Google Chrome

Mar 11

3 things that are needed to make a successful product

Feb 13

Getting started with Elm

Feb 9

How to fix Ecto duplicate name migrations error

Feb 2

Lightweight xml utility to pluck elements

Jan 24

Key transformation after decoding json in Elixir

Jan 19

How to learn vim properly

Jan 18

A simpler way to generate an incrementing version for elixir apps

Jan 11

Case insensitive key retrieval from maps in Elixir

Jan 5

Script to analyze the structure of an xml document

2016
Dec 23

Bash completion script for mix

Dec 22

How to show your blog content in your Rails application

Nov 13

How to deploy a simple phoenix app on a single server using distillery

Nov 1

How to extract bits from a binary in elixir

Oct 31

Elixir process timeout pitfall

Oct 28

How to control pianobar using global hotkeys using Tmux

Oct 27

How to use pianobar with a socks5 proxy to play pandora

Oct 27

A simple ticker to receive tick events for every interval in Elixir

Oct 13

Lets encrypt auto renewal for ubuntu and nginx

Jul 5

Algorithm to compute downtime of a service/server

May 20

Elixir IO.inspect to debug pipelines

Mar 11

How to store temporary data and share it with your background processor

Mar 9

Subdomains to restrict from your SaaS app

Mar 8

Script to cleanup old directories on a linux server

Mar 3

Put this in your code to debug anything

Feb 19

How to open the most recent file created in Vim

Feb 17

Script your tmux to maximize awesome!

Feb 16

How to extract images from a pdf and reduce their size

Feb 10

A very simple environment loader for ruby

Feb 6

How to fix guard crashing your tmux server

Feb 3

How to setup mutt to fetchmail every minute

Feb 1

Stop using Heroku to host static sites

Jan 30

Removing duplication in ERB views using content_for

Jan 27

Lets build a dumb static site generator

Jan 20

A bash script to replace gtimelog for the terminal

Jan 18

Drag and Drop works with the terminal too

Jan 16

How to reverse selected lines in vim

Jan 13

If you have an API make it curlable

Jan 10

How to get a git archive including submodules

2015
Dec 9

Elastic objects in ruby

Dec 9

Recursive/Deep open struct for hashes in ruby

Dec 5

Default user for coreos on Digital Ocean

2014
Mar 12

Show Rails Flash messages in jquery ajax requests

Feb 26

The impact of shiny looking design on user uptake

Jan 27

Script to cleanup your music one song at a time

Jan 20

One line command to import prod data to development computer

2013
May 19

Cloud Computing / Virtualization

May 19

HTTP

Apr 28

Angularjs templates and rails with eager loading

Feb 19

Brute force

Feb 19

Find if time slots overlap

Feb 9

Raw communication and sugar coating

Feb 9

Review of the books I've read

Feb 6

Javascript bookmarklet to share a webpage

Feb 1

A usable bash prompt

Feb 1

Tossing a bottle

Jan 31

Git workflow for projects with multiple developers

Jan 18

Resisting the temptation to be clever

Jan 9

How to install Command T for vim using rvm on linux

Jan 1

Execute and view the output of your go code from vim

2012
Dec 25

Run specs/tests from within vim without blocking your flow

Dec 25

Simple CI with git hooks for your rails projects

Dec 8

The island of barefooters

Nov 30

Automatically start a local godoc web server

Nov 30

Implementing a basic redis client in go - part 1

Nov 8

Using inotify to speedup your learning and experimenting

Oct 29

How to run rails console as an authenticated devise user without knowing the password

Oct 29

Nifty script to keep your local git repositories up to date

Oct 10

A better compare view for products in web applications

Oct 3

A few simple hacks to get up feeling less groggy

Sep 29

Github is not really free for your public/open source projects

Sep 28

Implementation of a fraction of jQuery to learn javascript

Sep 27

xclip in a few lines of ruby

Sep 25

An easy way to automate your browser

Sep 21

A small hack to know how long it's been

Sep 17

Why pen and paper Todo lists work

Jul 3

My Substance Template

Jun 17

How to integrate a simple contact form on your blog or website

Mar 16

markdown viewer script for your markdown documents

Mar 15

how to convert html or erb to haml in vim

Feb 8

login to your remote server using cd and rvmrc

Jan 6

throttle or de-duplicate beanstalk tasks

2011
Dec 16

make evil monkey nag you back to work

Dec 13

script to do a global search and replace in a git repository

Dec 12

elegance of functional programming

Dec 9

gc your git repositories automatically with a cron task

Nov 22

automatically push your git repo to a server on shutdown

Nov 10

how to setup solr and sunspot on a rails production server

Nov 8

simple log management and viewing for your servers

Oct 24

how to change the rails root url based on the current user or role

Oct 3

mind stack, a stack of your thoughts and tasks

Aug 2

backup mongodb databases to s3

Jul 25

easily show current version number of your app, stackoverflow style

Jun 9

joy of using linux

May 3

linux awesomeness

May 3

painless dotfiles synchronization and versioning using git

Apr 17

how to get vanity urls in rails

Apr 2

reminiscing my past

Apr 2

ruby on rails soup to nuts

Mar 11

how to hookup nginx with startssl

Feb 11

pagination for performance intensive queries using nhibernate and sql server temporary tables

Feb 4

deploy asp net mvc applications using psexec and git

Jan 21

a simple rake task to ping google, bing, and yahoo about a change in your sitemap

Jan 21

software developer's obsession with ninjas and rockstars

2010
Dec 25

use malcolmx to search for domain names from the command line

Dec 23

the problem with yet another *

Dec 17

synergy server debugging tips

Dec 9

rake task to delete untracked files in git

Dec 4

hookup hotkeys to swap active machine in synergy

Nov 11

r3t a rails3 template with devise mongoid rspec cucumber and more

Nov 8

pageant and plink for the windows git user

Nov 7

how to setup your router to automatically reconnect

Oct 1

helper script to create new posts using jekyll

Sep 30

create a simple gem using jeweler

Sep 29

git - basic commands

Sep 28

post update hook for gitosis and jekyll

Jul 22

how to install a ruby version with rvm when you are offline

Jun 30

rvm and how to install it on ubuntu 10.4 lucid lynx

Jun 28

jekyll the programmers blog engine

Jun 6

Redirector - A simple rack application which makes redirection of multiple domains a breeze

2009
Dec 12

Get a Hello World ASP.NET MVC app up on Mono

Sep 20

SiteMapLite, Adding Html helpers

Sep 18

The Birth of SiteMapLite (ASP.NET MVC Sitemap provider)

Sep 8

Enter the JSON SiteMap provider for ASP.NET MVC

Sep 1

Quick and Dirty way to get an ASP.NET website offline

Aug 31

MBlog a light weight blogging engine created in asp.net mvc

Aug 30

Traits of great and the not so great bloggers

Jul 25

Tip #1 to become a <del>good</del> blogger

Apr 21

Hello world!

Thanks for visiting my blog. If you find this content interesting, Please take a look at LiveForm, it provides you with a simple way to host Online Forms for your websites. Be it Contact Forms/Feedback Forms or any custom forms..
Sign up now!

Resources

  • About Me
  • My Projects
  • Github
  • @minhajuddin
  • Subscribe

Side Projects

  • Readcode - Makes reading source code a pleasure
  • Simple Form - Build simple online forms
  • LiveForm - Online forms for professional designers and developers
  • SimpleSite - A powerful javascript based CMS
  • Websrvr - Host your websites using Dropbox
  • SchoolOne - A solution for your school management
  • SimpleMessage - Send SMS messages with a powerful UI
  • Slugex - Host your apps using CLI

Recents

  • That one time when office365 was marking our emails as spam
  • How to fix cookies not persisting using CORS
  • Memory Cached Tables for building faster web applications
  • A baton server to test your Erlang/Elixir cluster
  • How to show Raspberry Pi temperatures in your Datadog dashboard

Tag Cloud

AWS Advent Of Code Advent of Code Analyze Atom Aurora Auto renew Automatic Generation Backpressure Bash completion Bastion Baton Bench Benchmark Binary Bits Blog Callbacks Case insensitive Cassette Cluster Concatenate Concurrency Copy Cowboy DRY Database Debug Deploy Distillery Distributed Docker Documentation Duplication EC2 ECS ERB Ecto Elixir Elm Email Enqueue Enum Environment Loader Environment Variables Erlang Error ExVCR Fast FizzBuzz Functional Programming GenServer Git GitHub Pages Go Google Chrome Guard HMAC Heroku Hex Hotkeys How To How to IEx IRB Index Isolated JSON Key Transform Key-Value Large Learn Lets encrypt Lists Lookup tables MD5 Map Meetup Memory Cached Tables Migration Mix Multiple Network Nginx Nokogiri Order PDF Pandora Parameter Store Pattern matching Pearls Perf Performance Phoenix Pianobar Pipelines Plug Postgres Postgres provider Postgresql Presentation Process Product Proxy ProxyJump Pry Python RDS Rails Rails Migrations Redis Restricted Restricted Subdomains Retrieval Ruby SPA SSH SaaS Tip Secrets SemVer Server Sidekiq Sign Request Sleep Speed Startup Static Site Generator Static Sites String Structure TIL Tags Task Terraform Ticker Timeout Tip Tmux User Username Version Vim Web apps Webpipe Xml Xml Pluck ajax, algorithm angularjs api authenticate automate automatic axios backend banshee, barefooters bash batch bookmarklet books brute-force bug ci cleanup clever-code cloud-computing cluster command-t communication console cookies copy coreos cors curl datadog debug design devise diff difficulty docker downtime calculation drag-and-drop eager-load ecommerce elastic object elixir email erlang ets experiment explore fear fetch filter flash, for-sohel form free-lunch frontend functional getsimpleform git github go godoc gtimelog hack hash hexo http iex import india inotify javascript jquery lazy learn learn-go lego libcluster limit linux magic strings many_to_many map markdown metaprogramming mundane-code music mutt office365 open struct partial table pbcopy perception, pg_dump pg_restore postgresql postgresql, production prompt ps1 psql rails raspberry pi raw redis reduce relationships rename reverse review row_number rspec ruby rvm sample script server shiny, simpleform sleep socks5 software solving spam submodules substance sugar-coat table temp table temperature template templates temptation terminal thinking time time-overlap tmux todo-list travis update upstart usability, util utility ux viewer vim virtualization watch workflow xclip

Archives

  • February 20252
  • October 20211
  • April 20212
  • March 20213
  • October 20201
  • July 20203
  • June 20201
  • May 20206
  • November 20191
  • June 20191
  • April 20192
  • March 20191
  • February 20191
  • December 20186
  • November 20181
  • July 20181
  • June 20181
  • May 20183
  • October 20171
  • June 20172
  • May 20171
  • March 20172
  • February 20173
  • January 20175
  • December 20162
  • November 20162
  • October 20165
  • July 20161
  • May 20161
  • March 20164
  • February 20167
  • January 20167
  • December 20153
  • March 20141
  • February 20141
  • January 20142
  • May 20132
  • April 20131
  • February 20137
  • January 20134
  • December 20123
  • November 20123
  • October 20124
  • September 20126
  • July 20121
  • June 20121
  • March 20122
  • February 20121
  • January 20121
  • December 20114
  • November 20113
  • October 20112
  • August 20111
  • July 20111
  • June 20111
  • May 20112
  • April 20113
  • March 20111
  • February 20112
  • January 20112
  • December 20105
  • November 20103
  • October 20101
  • September 20103
  • July 20101
  • June 20103
  • December 20091
  • September 20094
  • August 20092
  • July 20091
  • April 20091

Tags

  • AWS3
  • Advent Of Code1
  • Advent of Code4
  • Analyze1
  • Atom1
  • Aurora1
  • Auto renew1
  • Automatic Generation1
  • Backpressure1
  • Bash completion1
  • Bastion1
  • Baton1
  • Bench1
  • Benchmark1
  • Binary1
  • Bits1
  • Blog1
  • Callbacks1
  • Case insensitive1
  • Cassette1
  • Cluster1
  • Concatenate1
  • Concurrency1
  • Copy1
  • Cowboy1
  • DRY1
  • Database1
  • Debug2
  • Deploy1
  • Distillery1
  • Distributed1
  • Docker1
  • Documentation1
  • Duplication1
  • EC21
  • ECS1
  • ERB1
  • Ecto7
  • Elixir32
  • Elm1
  • Email2
  • Enqueue1
  • Enum1
  • Environment Loader1
  • Environment Variables1
  • Erlang1
  • Error1
  • ExVCR1
  • Fast1
  • FizzBuzz1
  • Functional Programming1
  • GenServer1
  • Git1
  • GitHub Pages1
  • Go1
  • Google Chrome1
  • Guard1
  • HMAC1
  • Heroku2
  • Hex1
  • Hotkeys1
  • How To1
  • How to1
  • IEx1
  • IRB1
  • Index2
  • Isolated1
  • JSON1
  • Key Transform1
  • Key-Value1
  • Large1
  • Learn1
  • Lets encrypt1
  • Lists1
  • Lookup tables1
  • MD51
  • Map2
  • Meetup1
  • Memory Cached Tables1
  • Migration2
  • Mix1
  • Multiple1
  • Network1
  • Nginx1
  • Nokogiri1
  • Order1
  • PDF1
  • Pandora1
  • Parameter Store1
  • Pattern matching1
  • Pearls1
  • Perf1
  • Performance1
  • Phoenix8
  • Pianobar2
  • Pipelines1
  • Plug2
  • Postgres1
  • Postgres provider1
  • Postgresql3
  • Presentation1
  • Process1
  • Product1
  • Proxy1
  • ProxyJump1
  • Pry1
  • Python1
  • RDS1
  • Rails2
  • Rails Migrations1
  • Redis3
  • Restricted1
  • Restricted Subdomains1
  • Retrieval1
  • Ruby6
  • SPA1
  • SSH1
  • SaaS Tip1
  • Secrets1
  • SemVer1
  • Server1
  • Sidekiq1
  • Sign Request1
  • Sleep1
  • Speed1
  • Startup1
  • Static Site Generator1
  • Static Sites1
  • String1
  • Structure1
  • TIL1
  • Tags3
  • Task1
  • Terraform3
  • Ticker1
  • Timeout1
  • Tip1
  • Tmux2
  • User1
  • Username2
  • Version1
  • Vim2
  • Web apps1
  • Webpipe1
  • Xml1
  • Xml Pluck1
  • ajax,1
  • algorithm2
  • angularjs1
  • api1
  • authenticate1
  • automate1
  • automatic1
  • axios1
  • backend1
  • banshee,1
  • barefooters1
  • bash4
  • batch1
  • bookmarklet2
  • books1
  • brute-force1
  • bug1
  • ci1
  • cleanup1
  • clever-code1
  • cloud-computing1
  • cluster1
  • command-t1
  • communication1
  • console1
  • cookies1
  • copy1
  • coreos1
  • cors1
  • curl1
  • datadog1
  • debug1
  • design1
  • devise1
  • diff1
  • difficulty1
  • docker1
  • downtime calculation1
  • drag-and-drop1
  • eager-load1
  • ecommerce1
  • elastic object1
  • elixir1
  • email1
  • erlang1
  • ets2
  • experiment1
  • explore1
  • fear1
  • fetch1
  • filter1
  • flash,1
  • for-sohel2
  • form1
  • free-lunch1
  • frontend1
  • functional1
  • getsimpleform1
  • git5
  • github1
  • go4
  • godoc1
  • gtimelog1
  • hack3
  • hash1
  • hexo1
  • http1
  • iex1
  • import1
  • india1
  • inotify1
  • javascript3
  • jquery1
  • lazy1
  • learn3
  • learn-go1
  • lego1
  • libcluster1
  • limit1
  • linux1
  • magic strings1
  • many_to_many3
  • map1
  • markdown1
  • metaprogramming1
  • mundane-code1
  • music1
  • mutt1
  • office3651
  • open struct1
  • partial table1
  • pbcopy1
  • perception,1
  • pg_dump2
  • pg_restore1
  • postgresql3
  • postgresql,1
  • production1
  • prompt1
  • ps11
  • psql2
  • rails5
  • raspberry pi1
  • raw1
  • redis1
  • reduce1
  • relationships3
  • rename1
  • reverse1
  • review1
  • row_number1
  • rspec2
  • ruby5
  • rvm1
  • sample1
  • script1
  • server1
  • shiny,1
  • simpleform1
  • sleep1
  • socks51
  • software1
  • solving1
  • spam1
  • submodules1
  • substance1
  • sugar-coat1
  • table1
  • temp table1
  • temperature1
  • template1
  • templates1
  • temptation1
  • terminal1
  • thinking1
  • time2
  • time-overlap1
  • tmux1
  • todo-list1
  • travis1
  • update2
  • upstart1
  • usability,1
  • util1
  • utility2
  • ux1
  • viewer1
  • vim4
  • virtualization1
  • watch1
  • workflow1
  • xclip2
© 2025 Khaja Minhajuddin
Powered by Hexo
Home About Contact Archives