Saturday, October 11, 2014

[Waldorf] Shockwave Flash Has Crashed - Chrome 38

Solution
cd /tmp
wget http://mirror.pcbeta.com/google/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_37.0.2062.94-1_amd64.deb
dpkg -x google-chrome-stable_37.0.2062.94-1_amd64.deb temp/
sudo cp ./temp/opt/google/chrome/PepperFlash/libpepflashplayer.so  /opt/google/chrome/PepperFlash/
reference 1 reference 2

Thursday, September 18, 2014

Install Crunchbang to EeePC with USB flash drive

sudo dd if=mini.iso of=/dev/sdb bs=4M; sync
Where mini.iso is downloaded regular #! distro. && /dev/sdb is USB drive

Monday, July 14, 2014

Update Java Version

sudo update-java-alternatives -s java-1.7.0-openjdk-amd64

Wednesday, July 9, 2014

Linux: mkdir cd combo

mkdir -p "1/2/3/4/5/6 6/7"
cd "$_"
$_ is previous last command argument which is "1/2/3/4/5/6 6/7"

Saturday, May 17, 2014

webcam streaming with VLC

vlc v4l2:///$(ls /dev/video*)
Or if you know exactly which device the video is on do this for example:
vlc v4l2:///dev/video0
source

Friday, May 16, 2014

Waldorf: vsftpd setup

Install vsftpd
sudo apt-get install vsftpd
Peek the configuration.
cat /etc/vsftpd.conf | grep -v "#"
listen=YES
local_enable=YES
write_enable=YES
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/private/vsftpd.pem
Edit configuration to allow local user to upload/download files
sudo vi /etc/vsftpd.conf
Restart service to load the config change
sudo service vsftpd restart
Now create a local NINJA user
sudo useradd --home /home/ninja --create-home --shell /bin/bash ninja
Set password for ninja
sudo passwd ninja
In another machine, open web browser and enter URL as follows:
ftp://{id-address_or_hostname_of_ftp_server}:21
Enter ninja as login name; password for the password. Useful ftp commands
put {local_file_name}  {remote_file_name}
get {remote_file_name}

Monday, February 17, 2014

Waldorf: Sound issue with Pulseaudio

While after watching YouTube video or video on VLC player, sound/audio starts jittering or stuttering. And the symptom goes away after rebooting the OS. Here is a solution that does not require you to restart your computer.
killall alsamixer && pulseaudio --kill && pulseaudio --start