Skip to content

Alif's Blog

Software Engineer; Love poetry

  • Home
  • About

misc

DFA / NFA to Regular Expression (without using GNFA)

June 2011    misc

The general approach to get a Regular expression (regex) from DFA/NFA is to convert a DFA to a GNFA by reducing states. Read more on wikipedia. However, for not too complicated DFA, it is often easier to get a regex from NFA instead of going through GNFA (which btw makes regex big). For regex, the […]

Continue reading →
Posted in miscTagged regexLeave a comment

Send Email from Terminal with file attachment using mutt

October 2009    misc

Sometimes I run into situation where I need to email a file, and I am lazy to open a browser, login to my email account, and then attach file and send it. If you are like me, then mutt is a neat command for sending emails from terminal quickly =P. The code looks like below: […]

Continue reading →
Posted in miscLeave a comment

jFile Chopper: A File Chopper Program using Java

October 2008    misc

This is a program i created back in 2005, during my initial years on Java. Its a simple program that allows you to chop any files, into smaller segments. You can specify the number of segments you wish to chop into. For example, if you have a 50mb file, you can split it into 5 […]

Continue reading →
Posted in miscTagged javaLeave a comment

Recent Posts

  • MySQL Tip: Using Bitwise Operations for Multivalued Attributes
  • Android Volley Tutorial – Making HTTP GET, POST, PUT
  • Android activity hide action bar
  • Using OAuth 2.0 with Google API in Phonegap / ChildBrowser
  • Check Database exist fails android sqlite3openv2

Categories

  • database (1)
  • misc (3)
  • mobile (4)
  • programming (4)
  • web (10)

Archives

  • September 2013 (1)
  • July 2013 (1)
  • May 2013 (1)
  • September 2012 (1)
  • January 2012 (1)
  • June 2011 (1)
  • July 2010 (2)
  • June 2010 (1)
  • October 2009 (1)
  • August 2009 (1)
  • April 2009 (1)
  • October 2008 (1)
  • September 2008 (1)
  • May 2008 (1)
  • March 2008 (1)
  • December 2007 (1)
Abdullah Rubiyath - Alif.