wwwhizz’ blog Blog about some tech, some linux, my MIDIbox SID, etc.

12Nov/112

Portal 2 cupcakes!

It was a cold and dullย day today, so we (me and my girlfriend) decided to bake&make Portal 2 cupcakes. Check out the pictures below! ๐Ÿ™‚

The cupcakes are carrot-orange cupcakes, with marzipan base, cream cheese frosting and marzipan figures, colored with foodย coloring. Myย girlfriendย made the Portals with split-turret, the cake and the cube on the cake. I made the turret, the cube without a cake and Wheatley ๐Ÿ™‚

Comments are welcome ๐Ÿ™‚

Filed under: Uncategorized 2 Comments
6Oct/110

Awesome Super Meat Boy cuddly toy!

She did it again!

Remember the awesome Plants vs. Zombies cake my girlfriend gave me last year?
This year she gave me a self-made awesome Super Meat Boy soft cuddly toy! It's now always watching TV with us ๐Ÿ™‚

 

Filed under: Uncategorized No Comments
21Jan/112

Sync config files between PC’s using Dropbox

Synchronizing your configuration files between different boxes can be done very easily using Dropbox. Dropbox is a Web-based file hosting service, syncing files with the cloud and all your PC's (Windows, Mac OSX and Linux, mobile applications are available too). For free! As Dropbox appears as a folder on your hard-drive you can easily symlink these files using ln -s

Installing dropbox:

Make sure you have Dropbox installed.
You can create an account here. (yes, that's a refferal link, but it will give you and me 250MB extra)
Information about how to install Dropbox under linux can be found here. There are Fedora and Debian/Ubuntu packages available, as well as a Dropbox-repository for Ubuntu. Other Distro's need to compile from source.

Information about running a textbased (CLI) version can be found here.

Symlink to Dropbox:

In order to sync the files in your dropbox, you simply move the configuration files you want to sync into a folder in your dropbox (mine is called nix):

mv ~/.bashrc Dropbox/nix/.bashrc

The following step is to create a symlink for the original location to the new location:
ln -s Dropbox/nix/.bashrc .bashrc

On other PC's you can simply remove the original config file and then create a symlink to your Dropbox.

Note that ln -s will also work for any directory. In case you're wondering, these are the files and folders I keep synced in my dropbox:

~/.bashrc
~/.screenrc
~/.vimrc
~/.bash_aliases
~/.bash_logout
~/.ssh

Filed under: Uncategorized 2 Comments
4Oct/107

Awesome Plants vs. Zombies cake

Look what I got as a present from my girlfriend, celebrating our 6 months anniversary:

It's an AWESOME Plants vs. Zombies cake. If you don't know the game, you must've been lying under a stone for a while... Anyway, I just LOVE the game, and the cake.

The cake is a chocolate cake with a green grid of butter-cream containing egg white. The cake characters are a Sunflower, Peashooter, Chomper, Potato Mine and a Zombie all made of custom colored marzipan.

Just look at all the little details! Gleeeeee. More pictures below ๐Ÿ™‚

Comments are more than welcome ๐Ÿ™‚ I'll make sure my girlfriend will read them ๐Ÿ˜‰

 


Marzipan

Filed under: Uncategorized 7 Comments
29Jun/107

Blog 2.1

I've been doing a few updates to my website. I have:

  • updated:
    • WordPress
    • WordPress plugins
    • LightWord theme
  • chosen the wider variant of the LightWord theme
  • created a child-theme of the LightWord theme
  • added a few plugins
  • added my twitterfeed to the right
  • created a custom 404-page ๐Ÿ˜‰
  • I'm planning to add a few pages:
    • Change my avatar
    • My homemade music
    • Stats
    • My twitterfeed
Filed under: Uncategorized 7 Comments
9Feb/102

Re-importing ICal Calendar in Google Calendar (Agenda)

My time-tables are provided in the ICal-format. Since my time-tables had changed, I wanted to reimport the .ics-file for that course in my Google Calendar after deleting them first. Trying to do so gave the error:

Failed to import events: Some of the events in this file were not imported because you had imported them to Google Calendar before. Other events in this file have been imported..

Apparently Google prevents you from (accidentally?) importing the same appointments twice. However, I wanted to import them anyway. Luckily for me, Google only checks the UID. Since all my UID's started with UID:INBPC-08, I did a find and replace all on the text, and changed it to UID:INBPC-09. Now GCal was able to import them again ๐Ÿ™‚

Cheers!

Filed under: Uncategorized 2 Comments
30Jan/100

su: Bad item passed to pam_*_item() fixed

I had a problem when trying to su. Everytime I tried to su it gave the following error:

su: Bad item passed to pam_*_item()

Since I didn't find my solution on the internet (the only solution I could find was removing wrong entries from /etc/environment), I'll post mine here:

I had a floating equals-sign in

/etc/default/locale

You should check that file, it should only contain something like

LANG=en_US.UTF-8

If that doesn't fix your problem, you might want to check your /etc/pam.d/su for strange entries.

Filed under: Uncategorized No Comments
20Oct/090

Adding tabs or tildes in LaTeX

(Just a reminding note to myself)

Backslash:
\backslash may be used in math formulae, but not into text itself, use \textbackslash instead
Tilde:
You can use \textasciitilde in text, $\sim$ in math and another option is \texttildelow.

Filed under: Uncategorized No Comments
7Jul/090

Worklog Midibox #2

So, here's the beginning of the story about my MB-6582 MidiBox. As pictures say more than 1000 words, I've added as much pictures as possible ๐Ÿ™‚

April 14, 2009

090417_1_big

Still quite empty

On the 14th of April, the board still was quite empty, just a few resistors inserted. The soldering had begun. ๐Ÿ˜€

Bent leads

Bent leads

At the bottom you can see how I bent all the leads, just before cutting and soldering them.

Check out those shiny resistor-bridges!

Check out those shiny resistor-bridges!

Just adding some more resistors...

Voltage regulators

Voltage regulators

Voltage regulators in place. As you can see, the IC-sockets, headers, DIN-sockets and the power-switch also have been placed already.

April 18, 2009

8 pieces of the 6582 SID chip

8 pieces of the 6582 SID chip

Received my SID-chips! Hooray! Those chips will eventually actually synthesize the sound ๐Ÿ™‚

I can't resist

Capacitors, the lot of 'em

Caps in all shapes and sizes ๐Ÿ™‚

Caps soldered to the board :)

Caps soldered to the board ๐Ÿ™‚

And there they are soldered ๐Ÿ™‚

Great, enough backlogging for today. Expect more soon ๐Ÿ™‚

Filed under: Uncategorized No Comments
27Jun/090

phpMyAdmin: Invalid hostname for server 1. (updated)

phpMyAdmin was complaining about "Invalid hostname for server 1. Please review your configuration."

The error is in /var/lib/phpmyadmin/config.inc.php and seems to be a security bug in Lenny.

$cfg['Servers'][$i]['host']=''; phpinfo();//'] = 'localhost';
should be:
$cfg['Servers'][$i]['host']= 'localhost';

After saving your file, no error occurs anymore ๐Ÿ™‚
However, this error is due to a security leak in phpMyAdmin. Upgrade your Debian and you should be fine. However, just to be sure, you can do the following:

sudo nano /usr/share/phpmyadmin/.htaccess

and paste:

<Files "config.inc.php">
Order allow,deny
Deny from all
</Files>

Save and check whether http://www.yourdomain.nl/phpmyadmin/config.inc.php gives a 403-error. If it does, you're good ๐Ÿ™‚

Filed under: Uncategorized No Comments