PHP Image gallery with fancybox.

2014-12-09 1 min read Photo Uncategorized
So, I was looking for some quick to setup PHP Image gallery file. I found couple but none of them suited my needs too well. So I had to write my own. Very simple PHP script to show all the images under ‘images’ folder. Shows some details in the images. That is all that I wanted and that is all that this script does. So pretty simple single php file. Dependency is on fancybox so you will need the jquery and all but nothing else is required. Continue reading

Search CVE – web interface with php

2014-11-03 1 min read Uncategorized
So, last few weeks have been very busy with lot of security issues, so I thought of having a local CVE Search app. But all I could find on google and github.com were on python and nothing that I could use quickly. So here is link to one that I wrote quickly: CVE Search PHP It’s in php. So just download in some folder and access from a web-server and you are done. Continue reading

vim – yank/xopy in different register to paste

2014-01-16 1 min read Vim Tips
Very quick update, to use registers, you can select and then yank in a register to paste using the same register. This could be a convinient way to copy multiple selections and then paste which ever selection you want. Here is the simple way to do it: visuallly select with v/V then “qy to yank (here we are yanking into register q, so in the command you can use any of a-z to use as register) Continue reading

what is vim in 6Kb..

2011-03-16 1 min read Learning Linux Vim Tips
If you thought that vim is very bloated and nothing abuot this editor can be small, then you are not alone. I was myself in the same bandwagon. Well, I never thought that there could be anything about vim that can be explained in Kb’s, lest alone the complete vim features. But looks like vim.org had thought about this and thus came up with this. And here is the direct link to the vim in 6kb in English. Continue reading