Tuesday, 15 September 2015

Launch Sublime Text From A Cygwin Terminal

Hi guys,

This is just a quick tip to launch Sublime Text  from A Cygwin Terminal, most developers need to use the command-line but lets face it vim, vi and nano all suck as editors sublime is nice so lets use that.

1) Edit the bashrc (OK we gonna use a terminal editor jut one)
nano ~/.bashrc
2) Put this at the bottom of the file 

 subl() {

 local cmd="'$(cygpath 'D:\Documents\Sublime Text 2.0.1\sublime_text.exe')'"

 if [[ $@ ]]; then

      cmd=$cmd' "'$(cygpath --windows "$@" | sed ':a;N;$!ba;s/\n/" "/g')'"'


 eval $cmd

3) Then re compile bashrc

  source ~/.bashrc


  . ~/.bashrc

and you are done ! type subl any time to edit file in Sublime Text.

Sunday, 13 September 2015

Xamp dynamic vertual hosts with a lookback URL

This is a short tutorial how to get up and running with dynamic virtual hosts with XAMPP on Windows.


Imgious the fast and simple image hosting site

 Imgious the fast and simple image hosting site


Imgious is a fast and simple image hosting application provides a super simple image distribution network for fast delivery of image files.

Post files as files[] to http://imgious.com/import/ they will then be uploaded and Imgious  URL returned as JSON

To access a file in another size append the URL parameters ?h=512&w=512  to the brace URL for example

http://imgious.com/i/55f4bbdcf25ae?h=512&w=512 will return a 512x512 image

Has a simple drag and drop UI for fast file import.