sigmoid

..oo..oo..oo..oo..oo..oo..

Browsing Posts in linux

[ATTENTION: These instructions are a personal reminder and you may follow them at your own risk!! I cannot be held responsible if you lose your data or your system becomes inaccessible.] Sometimes it is not possible to physically access a linux server and go into single user mode to perform the conversion of a root […]

When trying to start Buildbot’s master 0.8.6 I encountered this “exceptions.ImportError: cannot import name NoResource” error. The full transcript from the buildbot’s log is shown below: 2012-10-20 21:06:15+0300 [-] 2012-10-20 21:06:15+0300 [-] Unhandled Error Traceback (most recent call last): File “/usr/lib64/python2.7/site-packages/twisted/internet/defer.py”, line 551, in _runCallbacks current.result = callback(current.result, *args, **kw) File “/usr/lib64/python2.7/site-packages/twisted/internet/defer.py”, line 916, in […]

Marking the 10th birthday of my e-mail server I decided it is time to share with the world my simple solution to sorting the massive amounts of incoming mail, including spam. Over the years I have accumulated a good number of different email accounts that are difficult to track, thus I have setup a central […]

If you have a vast number of files and you want to do something with them, then use something like the following: grep -l “mystring” * | xargs -I{} echo {} this will echo each filename that contains mystring in the current working directory. You could replace echo linux command with any other command, for […]

You don’t need Acrobat for this. GhostScript does an excellent job. I’ve used this under Cygwin as well as my gentoo, but should work on any platform gs runs on. Here is a stab at a simple bash script: #!/bin/bash usage() { echo “$0 {first page} {last page} {input pdf file} {output pdf file}” } […]