What Is a Drobo?

Meet your new storage solution, the safe and expandable Drobo. It’s so simple that anyone can use it, yet powerful enough for business. Drobo connects to your computer or network and provides redundant data protection without the complexities of traditional RAID. Dynamically expand storage any time.

Drobo currently holds up to 36TB, depending on the model, using any combination of 3.5″ disk drives or 2.5″ drives for the Drobo Mini. The Drobo family offers Thunderbolt, USB 3.0, Ethernet, iSCSI, and other connectivity options, so you get the data protection you need along with the speed and interface you want.

Compatibility: Drobo connects to Windows, Mac, Linux, VMware, and Citrix systems and supports NTFS, HFS+, ext3, VMFS, and FAT32 file system formats.

Kako snimiti na brzaka audio stream

Kako najednostavnije krenuti sa snimanjem streama sa neke web adrese? Na Linuxu nam stoji na rasploaganju program mplayer.

mplayer mms://xxx.x.hostname:port1234/path -nocache -ao pcm:file=recstream.wav -vo null -vc dummy

Par primjera snimanja audio streama Radio Samobor

mplayer http://85.94.70.42:8000 -nocache -ao pcm:file=radio_samobor_stream.wav -vo null -vc dummy

mplayer http://85.94.70.42:8000 -nocache -ao pcm:file=kidesign_radio_samobor.wav -vo null -vc dummy

Ukoliko želite snimati stream bez nadzora pogledajte odli?nu skriptu na http://linuxgazette.net/183/brownss.html (Unattended stream recording with MPlayer)

 

Konverzija wav u ogg

sox kidesign_radio_samobor.wav kidesign_radio_samobor.ogg

Preslušavanjesa sox komandom play

play kidesign_radio_samobor.wav

play kidesign_radio_samobor.ogg

ili izravno sa mplayer

mplayer kidesign_radio_samobor.ogg

pdf2png – CLI utility for conversion

This simple BASH script uses GhostScript and ImageMagick convert for conversion of PDF file to one or several PNG images. It is possible to select the number of page or an interval, also output resolution and a number of colors.

For example, try to convert this graph, in common way:

convert -geometry 640x data1_amat.pdf data1_amat.png

The convert will use -geometry to set the horizontal size, here 640 px, the vertical size is given by the aspect ratio of image. There is the result:

Now, try to do the same with the pdf2png:

pdf2png -x 640 data1_amat.pdf

The output is stored in file data1_amat_0001.png:

The image size is 75 kB, with ImageMagick it is 226 kB, and the main difference is in quality, the first image is blurry. The difference is in the way of conversion, my script first produce image in huge resolution and than resize it to specified size and a little bit of unsharp mask filter is used to improve the sharp edges.

Usage

Invoke pdf2png without any parameters or with -h, to display this help:

PDF2PNG
Usage:  pdf2png [OPTIONS] FILE

Options:
        -h   ... this help
        -a   ... convert all pages
        -f N ... from page number N
        -t N ... to page number N
        -p N ... only page N (default N = 1)
        -d N ... resolution in dpi (default N = 300)
        -x N ... bitmap  width in pixel (if y not given, save aspect ratio)
        -y N ... bitmap height in pixel (if x not given, save aspect ratio)
        -u N ... unsharp radius (default N = 1.0)
        -c N ... number of colors (default N = 16777216)

If no additional options is not given the defaults are used, you can change them inside the script, see the variables on the top.

The name of output is same as original PDF, but the suffix with number of page is added.

Download

pdf2png (3770 B)

Put this file in $PATH, for example /usr/local/bin.

Change log

  • 2012-MAR-23: Version 1.1 released on my home page.

Related articles

 

 

Source: http://bruxy.regnet.cz/web/linux/EN/pdf2png

WP dodaci ilitiga ‘Plugins

Korisno

  • Favicon Rotator
  • FancyBox for WordPress
  • WP Maintenance Mode
  • FormBuilder Management (v 0.89)
  • Email Address Encoder

Malo statistike

  • WassUp
  • WassUp Real Time Analytics

Malo sigurnosti

  • Timthumb Scanner
  • Exploit Scanner
  • BackWPup

 

?ist za spomenuti…

Google Analytics for WordPress Configuration

Problem sa qTranslate slug with Widget

Javlja vam se donja poruka na dnu svakoga posta bili vi prijavljeni kao admin ili ne na site koji drajva WordPress 3.3.2.

Warning: mysql_real_escape_string() expects parameter 1 to be string, object given in /home/user/public_html/site.com/wp-includes/wp-db.php on line 787

Ukoliko uklju?ite DEBUG u wp_config.php dobivate ove dvije poruku nakon svakog posta:

Notice: Object of class stdClass could not be converted to int in /home/user/public_html/site.com/wp-content/plugins/qtranslate-slug-with-widget/qtranslate-slug-with-widget.php on line 632

Warning: mysql_real_escape_string() expects parameter 1 to be string, object given in /home/user/public_html/site.com/wp-includes/wp-db.php on line 787

Uzrok problemu je nadogradnja plugina “qTranslate slug with Widget” na verziju 0.6. Naime spomenuti plugin ima problema sa tuma?enjem id_category koji želi koristiti kao INT, ali se spomenuti unos nemože spustiti u bazu kao INT. Barem sam to tako protuma?io.

Privremeni workaround je u “qTranslate slug with Widget” vratiti na verziji 0.5.

Koliki je vaš uptime?

Koliki je server stvarno dostupan ako vam netko kaže da je njegov uptime 99,9% tokom godine? Pogledajte donju tablicu.

Uptime Down time / Godina
90% 876 sati (cca 36 i pol dana)
95% 438 sati (cca 18 i pol dana)
99% 87 sati, 36 minuta (cca 3 i pol dana
99.9% 8 sati, 45 minuta, 36 sekundi
99.99% 52 minuta, 33.6 sekundi
99.999% 5 minuta, 15.36 sekundi
99.9999% 31.68 sekundi

Kako provjeriti koliko je server dugo upaljen? Na Linux možete koristiti komandu uptime koja prikazuje rezultat u obliku:
$ uptime 12:03:02 up 178 days, 4:57, 2 users, load average: 0.36, 0.06, 0.05

Ne možete skinuti mape za UrbanTerror na Linuxu?

Ne skidaju vam se mape tokom igranja automatski kod promjene nivoa ili se ne možete spojiti u igru jer nemate odgovaraju?u mapu? Skinite libcurl4 i postavite u UT /cl_curllib libcurl.so.4

1. Ovisno o distribuciju skinite paket koji se zove libcurl4
OpenSuse
sudo zypper in libcurl4
Ubuntu
sudo apt-get install libcurl4
2. Pokrenite UrbanTerror i pristisnite SHIFT+ESC, te upišite “/cl_curllib libcurl.so.4”, naravno bez navodnika i to je to.