Archive for 2017-11-20

MySQL root pwd reset

/etc/init.d/mysql stop

next start damon at safe mode

mysqld_safe --skip-grant-tables

connect to the safe mode daemon into mysql database

mysql --user=root mysql

change pwd

update user set Password=PASSWORD('new-password') where user='root';

Finish

flush privileges;
exit;

kill safe moded daemon

than restart deamon

/et/init.d/mysql start

test the new pwd

mysql -u root -p

 

 

Adot napnál régebbi fájlok megkeresése

find . -maxdepth 1 -daystart -mtime +0 -ls

 

Pidgin facebook usage

Most useful solution:

Download, install (copy ddl-s), then restart. Done.

Thanks!

DLL-s:

https://github.com/dequis/purple-facebook/wiki/Installing-on-Windows

pidgin, language set on windows

Hard to change language of Piding to english…

The way is, add an environment variable with:

PIDGINLANG : en

Restrat pidgin

voila…

So tricky… not funny…

Raspberry Pi – Chrome(mium) kiosk mode on startup

cp /etc/xdg/lxsession/LXDE-pi/autostart /home/pi/.config/lxsession/LXDE-pi/autostart
sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart
#@xscreensaver -no-splash  # comment this line out to disable screensaver
@xset s off
@xset -dpms
@xset s noblank
@chromium-browser --incognito --kiosk http://localhost/  # load chromium after boot and point to the localhost webserver in full screen mode

save and

sudo reboot

 

X session share (like teamviewer)

requires:

x11vnc

command:

x11vnc -noxdamage -display :0 -safer -nopw -once -xrandr