work

xfce 4.8pre1 released

here is a link to the article. i had a chance to browse through the changelog and noticed a significant amount of changes. i will have to set up and try this out in slackware.

they also had a nice “tour” of xfce 4.6 a lot of the highlights in this article are improved upon in 4.8.

you can get the source for 4.8 here.

adobe with wine in slackware

i already had flash and photoshop installed on a windows vm and i wanted to see how it ran using wine in slackware. (i was getting sick of the marginal delay using vnc)

1) copy adobe over to linux

  • Program FilesAdobe into $HOME/.wine/drive_c/Program Files
  • Documents and SettingsAll UsersApplication DataAdobe into $HOME/.wine/drive_c/users/Public/Application Data

2) export the adobe registry branch from HKEY_LOCAL_MACHINE/SOFTWARE/Adobe

3) install additional windows libraries using winetrickssh winetricks vcrun2008 msxml3 atmlib gdiplus

4) import the registry file into wines registry

i managed to get photoshop working this way and i am having difficulty with flash. i will post more once i solve the problem.

windows xp port range

add a range of ports to the windows firewall (change the words start and end to your corresponding ports)

open up the command line and enter the following:

for /L %i in (start,1,end) do netsh firewall add portopening TCP %i "Port-range %i"

for example: (using wow’s port range as an example)

for /L %i in (6881,1,6999) do netsh firewall add portopening TCP %i "Port-range %i"

poll growing directory stats

# poll growing directory stats

 

for i in $(tree); do du -hs; tree|grep files; sleep 10; clock;done

freegeeksquad.com

a good place to go for free tech support. ask a question and typically within 24 – 48 hours it will be answered!

free geek squad

nmap

# syn scan: does not complete tcp connection
nmap -sS -T4

# ack scan: used to map out firewall rulesets
nmap -sA -T4

# tcp window scan
nmap -sW -T4

from the nmap man page: -T4 does the equivalent of --max-rtt-timeout 1250 --initial-rtt-timeout 500 --max-retries 6 and sets the maximum TCP scan delay to 10 milliseconds

burning an iso via the command line

# using dd
# dd does not have any statistics, so in order to know how long the process is going to take, do the following:

dd if=/path/to/input of=/path/to/output& pid=$!
while true; do kill -USR1 $pid; sleep 1; done

# dvd iso using growisofs
growisofs --dvd-compat -Z /dev/dvdrw=/path/to/file.iso

# cd iso using cdrecord
cdrecord -v -pad speed=1 dev=/dev/hda src.iso

# to mount an iso
mount -o loop /path/to/iso /where/you/want

photoshop cs4 help

i have decided i need to learn how to better use photoshop. i have googled all sorts of diiferent how-tos and seen that many people have written on the subject.

this site trumps them all and its from adobe.

using adobe photoshop cs4

zip a folder in the command line

# zip a folder in the command line

zip -9 -r filename.zip foldername/

netstat

# to see what connections are open, use

netstat -aln

# you can also grep this command for specific ports (i.e. – 21, 22 etc)

# to check active connections

netstat -p --inet