instead of java -jar project.jar somejarparamter use javaw -jarΒ project.jar somejarparamter you can use a link instead of a batch. just add the directory to the jar file where its located and same directory into the “working directory” option of the link to “convert” it to an exe(cutable) file use JMadex
Author: Mike
Operating Systems
crontab and cronjobs
by Mike • • 1 Comment
write your command best in a shellscript and add runnable to it chmod +x /home/scripts/yourscriptfile.sh add it to /etc/crontab # /etc/crontab: system-wide crontab # Unlike any other crontab you don’t have to run the `crontab’ # command to install the new version when you edit this file # and files in /etc/cron.d. These files…
Gaming
recipe book for ingame crafting job
by Mike • • 0 Comments
in allods there’s a crafting job called alchemy, where you need herbs and such.
i have allways to ask where to get, what does it need, so i decide to make a little recipe book
with the informations where to get, and what herbs are needed.
Programming
Sql Usefull Queries & Settings
by Mike • • 0 Comments
MSSQL Queries for running proccesses and connections: MYSQL Connection Details:
Gaming, Youtube
Goblin Ball Commercial von Allods
by Mike • • 0 Comments
recht funny gestaltet π
Talking / News
Reactions to a walkman
by Mike • • 0 Comments
now i feal old…
Yea Allods Online got me back XD
they increased the lvl cap from 55 to 60 and introduced a new class, the engineer.
so big todo list π but in short its this:
– new engineer inkarnation lvl up to 60 – wip
– new avatar with both “mains” -wip
– new signature – still planning
– gear up the toons and find good skilling π
some screens as soon as my new char (madox) hits lvl 60 and i got some “free” time π
Software / Hardware
dlink sharecenter extend apps
by Mike • • 2 Comments
if you got an dlink sharecenter pulse (dns-320) like me, and you maybe think about getting a small sql and/or webserver. why not doing it on your nas? on the sharecenter runs an arm version of debian linux, and with a little package called funpkg you cant install many apps, even ssh π you can…
Programming
mdi windows / frames in java
by Mike • • 0 Comments
double click into source to “convert” it to text, and Ctrl-A, Ctrl-C to copy whole “file” content at once miglayout libary (to reduce search time π ) miglayout15-swing just rename the extionsion from .zip to .jar
Software / Hardware
start and handle a VirtualBox without GUI
by Mike • • 0 Comments
to show all vm’s $ vboxmanage list vms and only the running ones $ vboxmanage list runningvms to start one (without attaching it to the console) $ nohup vboxheadless -s [VM-Name] & now you can cancel with Strg-C without aborting the start of the vm to shutdown the vm $ vboxmanage contolvm [VM-Name] poweroff getting…
Programming
date comparison – date 2 long – long 2 date – do something after x-min
by Mike • • 0 Comments
Aside
mp3 player for linux & windows
for collection and maintainance of the mp3 collection, not only listening π
windows:
AMAROK!
linux with gtk:
amarok
linux on commandline:
– CMus via apt-get – cmus manpage
– mp3blaster via apt-get (a bit more flexible at the library view)
Programming
MySql import CSV/SQL Files on CommandLine
by Mike • • 0 Comments
mysql -p -u username database_name < file.sql
Programming
MySql adding leading sign’s to coloumns
by Mike • • 0 Comments
SELECT LPAD(‘1101’, 8, ‘0’); and to remove them: SUBSTRING(str_col, PATINDEX(‘%[^0]%’, str_col+’.’), LEN(str_col))
Programming, Software / Hardware
Eclipse IDE and usefull addons!
by Mike • • 0 Comments
(almost for java & php development) 1. Basics First! Eclipse itself in basic edition Kepler 2. It’s getting dark early I prefer a dark enviroment so skinning eclipse! go download zip from http://rogerdudler.github.com/eclipse-ui-themes and extract it into your dropins folder of eclipse now get a editor theme at http://eclipsecolorthemes.org or directly via eclipse itself at…
Operating Systems, Programming
windows batch rename file with delay
by Mike • • 0 Comments
@echo off echo Rename Tool started: date /t time /t echo . echo . :start if exist test1.txt ( REM do nothing! ) else ( if exist test2.txt ( echo . date /t time /t echo “rename test1.txt -> test2.txt…” ren test1.txt test2.txt ) ) wait 30 goto start
Aside
Add Script to Startup
$ nano /etc/init.d/startscript.sh $ chmod +x /etc/init.d/startscript.sh $ nano /etc/init.d/rc.local //add the call to the script at the end
Programming
mssql format date fields
by Mike • • 0 Comments
β Microsoft SQL Server T-SQL date and datetime formats β Date time formats β mssql datetime β MSSQL getdate returns current system date and time in standard internal format SELECT convert(varchar, getdate(), 100) β mon dd yyyy hh:mmAM (or PM) β Oct 2 2008 11:01AM SELECT convert(varchar, getdate(), 101) β mm/dd/yyyy – 10/02/2008 SELECT convert(varchar,…
Aside
browse files on a server with ssh
with gnome:
- File-Browser->Menue
- File->Connect to Server
- choose SSH Protokoll
else use konquerer or dolphin with:
- fish://servername
Operating Systems
Remote Access MySql
by Mike • • 0 Comments
$ nano /etc/mysql/my.cnf comment out: skip-networking on fixed ip-address: bind-address=xxx.xxx.xxx.xxx else comment out restart mysql $ /etc/init.d/mysql restart open firewall: $ /sbin/iptables -A INPUT -i eth0 -p tcp –destination-port 3306 -j ACCEPT