Empty a file
This one is for those who know the “touch” command. Hope all of us do not follow a command just because it is on one of the popular site without trying to understand the command and the output.
Continue readingThis one is for those who know the “touch” command. Hope all of us do not follow a command just because it is on one of the popular site without trying to understand the command and the output.
Continue readingToday I was working on a bash script written by someone else. And the script was maintained since long and had actually become quite big and there was no indentation followed. So, you can understand how difficult it was to understand the script. So, I set my foot forth to first find a beautifier for the bash script before I fixed it and my search ended here.
Continue reading6 Good Web-Based FTP Clients For When You Are On The Road ftp clientsMost of the time, when you need to transfer files to your web hosting account or any other remote server, you might be at home on your laptop where you’ve got your favorite desktop FTP client installed. However, when you’re on the road or using a friend’s computer, a desktop FTP client may not be available.
Continue readingTake a screenshot of the window the user clicks on and name the file the same as the window title
|
1
|
In general, this is actually not better than the “scrot -d4” command I’m listing it as an alternative to, so please don’t vote it down for that. I’m adding this command because xwd (X window dumper) comes with X11, so it is already installed on your machine, whereas scrot probably is not. I’ve found xwd handy on boxen that I don’t want to (or am not allowed to) install packages on.
Continue readingRepeat a portrait eight times so it can be cut out from a 6″x4″ photo and used for visa or passport photos
|
1
|
Yes, You could do it in the GIMP or even use Inkscape to auto-align the clones, but the command line is so much easier.
Continue readinghttp://www.perl.com/pub/2004/09/23/fsms.html
Building a Finite State Machine Using DFA::Simple By Bill Ruppert on September 23, 2004 12:00 AM I am converting some articles from MS Word to HTML by hand. I often use bulleted outlines so I face a lot of work creating lists with nested sub-lists. It didn’t take opening and closing many
and
tags to realize I wanted to automate the task. It’s very easy to use filters with my text editor and I’ve written several in Perl to speed up my HTML formatting. I decided to create a filter to handle this annoying chore. After a little thought I decided the logic involved was just tricky enough to use a finite state machine (FSM) to keep things straight.
Continue readingInoformation on xrdp:
The goal of this project is to provide a fully functional Linux terminal server, capable of accepting connections from rdesktop and Microsoft’s own terminal server / remote desktop clients.
|
1
|
There is not much configuration needed for this so I will not go into details. If you are stuck with something though, you can ask in the comments for the post.
Continue reading