WordPress: Replace or Purge Text on all Posts by mysql

If you have to remove a link, text or else on all wordpress posts pages with same signs like the “read more” tag do: mysql -u dbadmin -p – enter password – change database by: use databasename – run change command(SET “more-tag-source-html-pre” WordPress reformat the output here! ): mysql > UPDATE wp_posts SET post_content = … Read more

Ubuntu Debian Samsung SSD secure erase with Linux

If you use a Samsung (possible others brands same howto) SSD and you want to secure erase the SSD for reuse or resale (better destroy it!!!) do: Insert your Debian/Ubuntu Setup CD/Stick Boot into Live/Setup Mode open Gnome Terminal or Console and enter $sudo su – #to be root then enter.. $ apt-get update && … Read more

Debian Ubuntu: Delete Packages which are marked as “rc”

Problem: If you up/downgrade a Debian most of unneeded files are always on your disk Solution: To check: $sudo dpkg -l | more To cleanup: dpkg –list |grep "^rc" | cut -d " " -f 3 | xargs sudo dpkg –purge If you like run the command twice cause sometimes deps are new taken or … Read more