bugged.be

"Think outside the [B0X]"
Icon
Welcome to my little corner on the internet where you can find some information about me and my personal notes regarding my work. It contains some useful tips, stupidy I came across and ofcourse bad documented annoyances, yes life of a developer is filled with surprises ;).
Feel free to browse around and enjoy your staying.




install java 8

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

Atmega 328p install bootloader with UsbAsp

Quick and easy steps to burn a bootloader

Read the rest of this entry »

Fix printing error HP

Error occures when printing:

ERROR:
invalidaccess
OFFENDING COMMAND:
filter
STACK:
/SubFileDecode
endstream

To fix, run:

sudo lpadmin -p <printerName> -o pdftops-renderer-default=pdftops

replace as exactly shown in printers folder/settings.

Ref.: https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/998087

Enable beep

Beep has been blacklisted by Ubuntu since …
to restore beep, edit /etc/modprobe.d/blacklist.conf and remove or put it in comment the following line:

blacklist pcspkr

Headless ubuntu server cd player/ripper

Goal

Create a headless device to rip and play cds.

Read the rest of this entry »

Mount point in ubuntu

~/.gvfs

update-alternatives for java

Install:

sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.0_32/bin/javac 1
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_32/bin/java 1
sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.6.0_32/bin/javaws 1

Config:

udo update-alternatives --config javac
sudo update-alternatives --config java
sudo update-alternatives --config javaws

Test it:
java -version

Install Google chrome on Linux Mint

wget -q -O – https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add –

sudo sh -c ‘echo “deb http://dl.google.com/linux/chrome/deb/ stable main” >> /etc/apt/sources.list.d/google.list’

sudo apt-get update && sudo apt-get install google-chrome-stable

Example with interrupt

Continuous blinking example with msp430.
Button is implemented with interrupts (this is “event” in java world).
Read the rest of this entry »

Ubuntu install checklist

Check list when installing my home server

Read the rest of this entry »

Calendar

December 2019
M T W T F S S
« Nov    
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Archives