I have a low-memory VPS running online and thus always have to worry about what uses how much memory… Of course top and my favorite htop are very good tools to check this, but sometimes I just want to get a super simple report if I’m overusing memory or not yet. The bellow scripts (most [...]
Tags:
bash,
centos,
coding,
gnu,
gnu/linux,
shell,
terminal,
tricks
I passed all my exams at my first attempt and should have now some time to relax, right? Well something like that, I’m actually doing quite a lot these days. We’re on the roll with MySQL Integra. Our server “Kopiec” is somewhat online (running CentOS off course) – we’re able to start/stop if thanks to [...]
Tags:
agh,
centos,
coding,
database,
gnu,
gnu/linux,
hack,
jmeter,
linux,
mariadb,
mysql,
open source,
python,
redhat,
terminal
I’m learning Numerical Analysis right now and a friend of mine found some really nice PS files by dr Marian Bubek ( http://www.icsr.agh.edu.pl/~mownit/mownit.html ). I was really happy to see some *.ps but some people from my fellow students started complaining that they’d rather have pdf’s and not ghostscript files (who knows why they’d do..?). [...]
Tags:
coding,
cool,
freedom,
gnu,
gnu/linux,
hack,
hacking,
linux,
open source,
shell,
terminal,
tip,
trick,
tricks,
wget
I’ve recently bought a new laptop, a 15.6” HP Probook, that replaced my netbook Asus EEE 900 (needed some bigger hardware to work on “on the move”). One problem I encountered was blender not displaying correctly if I’d expand any dropdown menu etc. The fix is very simple yet powerfull, just set the following: LIBGL_ALWAYS_SOFTWARE=1 [...]
Tags:
blender,
coding,
gnu/linux,
linux,
terminal,
tricks
Yes, my GNU/Linux skills have been certified and now I can call myself a Red Hat Certified Technician as I’ve today passed the RH-202 exam with a 100% score – which leads me to the idea that I should have tried to tackle RHCE and not RHCT – I’ll do ir eventually someday I guess [...]
Tags:
freedom,
gnu,
gnu/linux,
linux,
open source,
skills
With this simple box i’ve learned a little about the “wave” property in blender. This, a little subsurv and smooth subdivision can actually be quite OK for creating a simple ribbon like the one below:The final render looked like this:
Tags:
blender,
free software,
freedom,
gnu,
gnu/linux,
render,
study,
tricks
Vim is a really amazing text editor (though I’d like to learn Emacs too soon… :-)) and it can be easily expanded to be even more useful. One super cool extension I found is: vis — it allows powerful sed-like line modification (you could use sed from inside vim, but that’s not really “handy”). Vis [...]
Tags:
gnu,
gnu/linux,
hack,
linux,
open source,
terminal,
tricks,
vim
Another Command Line Fu oneliner I’ve sumbited today: #show X window events in chosen window $ xev -id `xwininfo | grep 'Window id' | awk '{print $4}'` EnterNotify event, serial 13, synthetic NO, window 0×6400053, root 0x13c, subw 0x640005b, time 42431610, (367,0), root:(369,63), mode NotifyNormal, detail NotifyVirtual, same_screen YES, [...]
Tags:
bash,
coding,
command line fu,
gnu,
gnu/linux,
hack,
linux,
open source,
terminal,
tricks
A simple yet usefull command-line-fu I made up: #list all internet active apps $ netstat -lantp | grep -i establ | awk -F/ '{print $2}' | sort | uniq firefox java pidgin thunderbird-b Lookup this command at CommandLineFu Thanks to HarimaKenji for fixing a little issue with this command. —update— CommandLineFu user submited a [...]
Tags:
coding,
gnu,
gnu/linux,
linux,
open source,
terminal,
trick,
tricks
I recently had this following fatal error on an CentOS VPS server: Loaded plugins: fastestmirror error: no dbpath has been set error: cannot open Packages database in /%{_dbpath} Traceback (most recent call last): File “/usr/bin/yum”, line 29, in ? yummain.user_main(sys.argv[1:], exit_code=True) File “/usr/share/yum-cli/yummain.py”, line 229, in user_main errcode = main(args) File “/usr/share/yum-cli/yummain.py”, line 84, in [...]
Tags:
administration,
fedora,
gnu,
gnu/linux,
linux,
shell,
terminal,
yum