removes annoying cookies usage notice (which I have them blocked with CookieMonster anyway):
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("stackexchange.com") {
#js-gdpr-consent-banner
{ display: none !important; }
}
2018/06/16
2018/06/12
ffmpeg: converting m4a to mp3 script
to be able to do this, ffmpeg must be compiled with mp3 support.
#!/bin/bash
mkdir mp3
for file in *.m4a
do ffmpeg -i "${file}" -vn -ar 44100 -ac 2 -ab 128k -f mp3 mp3/"${file/%m4a/mp3}"
done
2018/06/06
"unable to un/install on windows" error
a quick list of things to check:
MSIEXEC /UNREGISTER
MSIEXEC /REGSERVER
or
HKEY_LOCAL_MACHINE \Software\Microsoft\Windows\CurrentVersion\Installer\InProgress
or
HKEY_LOCAL_MACHINE \System\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations
HKEY_LOCAL_MACHINE \Software\Microsoft\Windows\CurrentVersion\Installer
Labels:
command line,
quick fix,
registry editor,
Windows
2018/06/05
zeroing a disk on linux using DD
WARNING: if you don't really understand what are you doing (even if you THINK you are), then start learning/reading first or asking someone who really understands linux BEFORE doing something stupid like erasing a wrong disk by mistake.
if you need to wipe the content of a hard disk (REPLACE /dev/sda with the appropiate device !):
last parameter (block size) makes the process a lot faster
if you need to wipe the content of a hard disk (REPLACE /dev/sda with the appropiate device !):
dd if=/dev/zero of=/dev/sda bs=1M
last parameter (block size) makes the process a lot faster
Subscribe to:
Posts (Atom)