Posted in September 25, 2010 ¬ 06:55h.Piotr
Sometimes you just really want to use the autocomplete feature and omit the HTML form autocomplete=”off”. To do so, you need to modify following file (the firefox version might, and probably will be, different than the one posted below): /usr/lib/firefox-3.6.10/components/nsLoginManager.js (in Windows it might be something like C:\Program Files\Mozilla Firefox\components\nsLoginManager.js) Change this: _isAutocompleteDisabled : function [...]
Read the rest of this entry »
Posted in July 3, 2010 ¬ 09:04h.Piotr
It seems that in Ubuntu 10.04 the tun module (which is used to create fake network interface) is compiled into the kernel instead of being a module as in Ubuntu 9.10. It results in error while running the snx command: FATAL: Module tun not found. This problem can be solved either by recompiling the kernel [...]
Read the rest of this entry »
Posted in June 4, 2010 ¬ 10:04h.Piotr
Below is a BASH command which will find all undefined acronyms used in a LaTeX text. The result can be pasted into the appendix which lists the used acronyms. cat temp.txt |grep -oe “([A-Z]*\!)”|tr -d ‘\!()’|sort|uniq|xargs -i echo ‘\acro{‘{}’}{‘{}’}’ Exemplary result: \acro{TRM}{TRM} \acro{VM}{VM} \acro{WML}{WML} \acro{XP}{XP} Be the first to like. Like Unlike
Read the rest of this entry »
Posted in March 20, 2009 ¬ 18:08h.Piotr
I like to keep my system clean and secured. Unfortunately, the GUI interface for iptables isn’t really matching my expectations. So I would like to create simple bash script which will execute iptables rules with every system boot-up. By default it blocks all incoming AND outgoing traffic also, so be careful :-) If you want [...]
Read the rest of this entry »