Wednesday, November 30, 2011

Webbrowser privacy notes

AdBlock plus -> can be built from source

Current version I'm using:
hg up -r 1.3.10
http://adblockplus.org/en/source

Lists:

General settings:

  • Flash block
  • Disable password saving

Tuesday, September 13, 2011

find & grep

Find all files which have the name "BlueConfig" and contain "AllCompartments"

find . -name BlueConfig -exec grep -Hn AllCompartments {} \;

Sunday, August 14, 2011

Firewall testing for Linux

Evaluated two GUI to nmap: Zenmap and Knmap.

Nmap ("Network Mapper") is a utility for network exploration or security auditing. It supports ping scanning (determine which hosts are up), many port scanning techniques, version detection, and TCP/IP fingerprinting.

Zenmap (this was my favourite)

Zenmap is an Nmap frontend. It is meant to be useful for advanced users and to make Nmap easy to use by beginners. It was originally derived from Umit, an Nmap GUI created as part of the Google Summer of Code.

Install:

$ sudo apt-get install zenmap

Knmap

Knmap is a KDE-based interface to the 'nmap' facility available at http://www.insecure.org/nmap.

The main Knmap window provides for the entry of nmap options and the display of nmap-generated output.

$ sudo apt-get install knmap


Saturday, March 19, 2011

GIMP Color-to-Alpha

From: http://gimpbook.com/tips.html
Eliminate a solid background behind text or a simple figure:
For instance, if you have a solid white background with antialiased text on it,
and you want to keep the text but change the background to transparent:
The Color to Alpha plug-in (in the Colors menu) will usually do a nice job, much better than Select by Color. If you need to touch up small areas, try drawing with the Paintbrush tool, with the foreground color set to the background color you want to erase and the tool's Mode set to Color Erase. (Make sure you've enabled alpha on the layer.)

This tool is under the "Color" menu -> Color to Alpha

Thursday, March 10, 2011

svn: Can't move '.svn/tmp/entries' to '.svn/entries': Operation not permitted sshfs

Are you getting this error message on svn checkout with sshfs?

svn: Can't move '.svn/tmp/entries' to '.svn/entries': Operation not permitted sshfs

# Add the -o workaround=rename option fixes the problem

sshfs -o workaround=rename user@server:/dir ~/mnt/dir


See:

http://stackoverflow.com/questions/3016368/after-mounting-using-sshfs-i-cannot-commit-my-changes-using-subversion

Wednesday, January 26, 2011

Add new user on Ubuntu/Linux command line

useradd -m -s /bin/bash userName
passwd userName