Tips and tricks

Some hacks, by Luigi Negretti Lanner music blog

Removing the Drupal Welcome message

Submitted by lnlanner on Tue, 05/15/2012 - 04:51

There are a few of ways to remove the boring message of Welcome from your fresh Drupal installation. My suggestion is to comment the call to the string in Drupal sources. To make this (Drupal 6.X):

WordPress: how to hide the website description in your Home Page

Submitted by lnlanner on Sat, 01/07/2012 - 04:54
How to hide the website description in your  Home Page without removing the "description" Meta-tag

Linux resize images

Submitted by lnlanner on Thu, 12/22/2011 - 00:09
By supposing you have imagemagick installed on your OS, run a shell and type:
mogrify -resize 200x200 -format png *.jpg
then press the ENTER key. Of course you can replace 200x200 with your preferred size.

Linux change file owner

Submitted by lnlanner on Wed, 12/21/2011 - 22:48
Run a shell. To change the owner of a file, type:
chown USERNAME FILENAME
and press the ENTER key. To change the group type:
chgrp GROUPNAME FILENAME
and press the ENTER key.

ffmpeg desktop recording - on Linux OS

Submitted by lnlanner on Mon, 12/19/2011 - 06:09
Save this code as recording.sh:
#!/bin/bash
ffmpeg -f x11grab -r 35 -s svga -i :0.0 -sameq /home/user_/grabvideo-svga-out.mpg
then make the file executable (setting permissions). To start recording your actions on desktop, click or  double click on the file. To stop recording kill the ffmpeg process typing into a shell: kill -9 [n]

FLTK 2 - Open and save files on Windows OS

Submitted by lnlanner on Sat, 09/27/2008 - 04:49

Open / save files on Win Os using FLTK.  

Syndicate content
© 2012 Luigi Negretti Lanner - All rights deserved. m