Archives Posts
July 31st, 2007 by tom
checking out vsys project from svn into eclipse
1. setting up svn in eclipse
- install eclipse 3.x
- install subclipse as described at http://subclipse.tigris.org/install.html
- goto “window” -> “open perspective” -> “other” -> “svn repository exploring”
- right click into “SVN Repository” then “new”->”repository location”
- url: https://admin.neonature.net/svn_vsys/
- go back to perspective “java (default)”
2. checking out project from svn
- right click on package explorer
- select “new”->”svn”->”checkout project from svn”
- choose svn://svn.5711.org/projects/vsys
- choose “trunk” -> “vsys”+highest number
- click next
- check “check out as a poject configured using the new project wizard”
- click finish
- select “java project”
- click next
- enter project name
- project layout: “use project folder as root…”
- click finish
3. getting vsys compiled
- right click the project in the package explorer, select “properties”
- select java build path
- choose tab “source”
- click “add folder”
- check “plugins” and “vsys”
- click “yes” when asking to remove source folder
- click ok
- click “yes” when asking to remove old resources
- right click the project in the package explorer, select “properties”
- select java build path
- choose tab “libraries”
- click “add jars” select all files in lib folder of the current project
- click ok
- now all errors should be gone.
4. start
- click “run” -> “run…”
- double click “java application”
- choose main project and main class
- choose tab “arguments” paste into “VM arguments”: -Djava.library.path=”${project_loc}/lib/”
if ”${project_loc}/lib/” does not work, use the full path to your lib directory.
you should also download the current lwjgl package and putt all “dll, dylib and jar files in that lib folder.”
Archives Posts
July 30th, 2007 by tom
dont you hate these ds_store files, especially on network drives where windows machines have access to ?
you can disable the creation of ds_store files for network devices.
just enter following command in your terminal:
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
also have a look at the original apple document
Archives Posts
July 11th, 2007 by tom
if you are working in a censored/filtered network, or just feel insecure surfing pron at work, plink is a nice tool for you.
using plink you can create your own personal proxy. all you need is a ssh account somewhere on the net.
1. download plink(it is from the creators of putty)
2. write a batch file or just in a terminal:
plink -v -D 127.0.0.1:3388 -l sshlogin -pw sshpassword sshserver -P 22
(change sshlogin/sshpassword/sshserver to your needs.)
3. to use this tunnel in firefox, open it, go to preferences / connections / socks-host - enter 127.0.0.1 and port 3388
4. you are now surfing over a ssh connection.
now firefox still uses the default dns server, which means, sites could still be censored, or someone could log your dns request. to change this (for firefox): enter as url: “about:config” , find “network.proxy.socks_remote_dns”, change value to “true”.
Archives Posts
July 10th, 2007 by tom
on myspace one can find many nice songs. in most cases you can not download them to your harddisk, just listen to them.
the songs are beign streamed in mp3 fileformat by the flash player on the myspace site.
yesterday i wrote a little tool which downloads all songs from a myspace artists site.
how this works:
1. get firebug (which you should already have, cause its the best firefox plugin evarrrr)
2. open a myspace site with songs you like
3. open firebug (F12) / select: “Net” (second line) and “All” (upper line)
4. wait till the music is playing
5. scroll down the list
6. search for an url like:
http://mediaservices.myspace.com/services/media/musicplayerxml.ashx?b=999999
7. right click on that url: “Copy Location”
8. open new window, open the copied url
9. you see an nice structured xml file, there are “durl” elements, which contain a link to .mp3 files. here you are.
all files are prepared for streaming - compressed as 96kbit 22500 Hz files, so its propably not the quality you expect.