Earn achievements while you code! With Visual Studio Achievements, you will unlock various achievements based on your activity.
Author Archives: Marcus Haßmann
LINQPad
LINQPad is a modern SQL query tool. Say goodbye to the old SQL Management Studio. LINQPad supports SQL Express, SQL 2008, SQL 2005, SQL 2000, SQLite, MySQL and Oracle.
LINQPad standard edition is free and can run without installation. The executable is 3MB and is self-updating. There is even a version that runs in Google Chrome.
Autocompletion is an optional extra. You can buy LINQPad Pro for $39.00 or LINQPad Premium for $58.00 (introductory price). The Premium Edition also unlocks LINQPad’s ability to write cross-database queries. Just control+drag additional databases from the Schema Explorer onto your query.
Here is the official LINQPad website: http://www.linqpad.net
Here is an example screenshot:
Visual Studio Achievements window just keeps “Loading”
Google Adwords doesn’t support Opera
CMD: Howto merge textfiles
To merge text files in a directory you can create a simple *.cmd file with the following content: @ECHO OFF
for %%f in (*.txt) do type "%%f" >> output.txt
wget loop example
This example shows how to call wget ten times in a loop.
#!/bin/bash
for i in $(seq 10)
do
ec=1
while ((ec != 0))
do
wget_output=$(wget –retry-connrefused –output-document=/home/user/Downloads/$i.html –tries=30 http://www.test.com/?page=$i)
if [ $? -ne 0 ]; then
ec=1
else
ec=0
fi
done
done
Howto move XBMC settings to a new machine
Tested with Ubuntu 11.10 and XBMC 11.0 Eden beta:
all settings are stored in folder /home/<yourusername>/.xbmc
So you have to copy this folder to the new machine.
Effective C# – summary
Actually I read a book about effective C# programming. It contains 50 tips.
Reading the first 5 items I decided to summarize most of the 50 tips and to advertise this book.
|
Howto: XBMC login to underlying OS
- Use SSH to login remotely to terminal or
- Us ctrl+alt+fx (x is a number between 1 – 6) (ctrl+alt+f7 will return you to XBMC)
Howto remove a non empty directory
rm –rf /path/to/directory