linux

zmodopipe: collegare Zoneminder con diversi DVR

Grazie a zmodopipe possiamo collegare Zoneminder con diversi DVR commerciali come gli Zmodo, questo è un progetto che è stao iniziato sul forum di Zoneminder dall'utente Phoenix84 ed è stato continuato su github dall'utente pbeyl . Di seguito una semplice copia a scopo di backup. Qui il codice di zmodopipe.c: /***************************************** * Read QSee/Zmodo cameras * * Forward stream...

Grub2 e WindSLIC: inserire la voce di WindSLIC invece di quella del Windows Bootloader

Possiamo personalizzare Grub2 per avviare Windows attraverso WindSLIC. Dobbiamo creare il file di configurazione del grub /etc/grub.d/25_windslick: #!/bin/sh exec tail -n +3 $0 # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. menuentry 'Windows Boot Manager (su /...

Zoneminder: modulo di controllo per Bosesh SD13W

Modulo Perl per controllare la Bosesh SD13W con Zoneminder. SD13W.pm: # ========================================================================== # # ZoneMinder Bosesh SD13W IP Control Protocol Module, $Date: 2017-05-30 01:18:22 +0100 (Wed, 04 Nov 2009) $, $Revision: 1 $ # Copyright (C) 2017 Mentor (http://www.internauta37.altervista.org) # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU...

Zoneminder: modulo di controllo per Vstarcam C7816WIP

Modulo Perl per controllare la Vstarcam C7816WIP con Zoneminder. C7816WIP.pm: # ========================================================================== # # ZoneMinder Vstarcam C7816WIP IP Control Protocol Module, $Date: 2017-01-15 01:18:10 +0100 (Wed, 04 Nov 2009) $, $Revision: 1 $ # Copyright (C) 2017 Mentor (http://www.internauta37.altervista.org) # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See...

Zoneminder: modulo di controllo per Vstarcam C7824WIP

Modulo Perl per controllare la Vstarcam C7824WIP con Zoneminder. C7824WIP.pm: # ========================================================================== # # ZoneMinder Vstarcam C7824WIP IP Control Protocol Module, $Date: 2017-01-15 01:17:54 +0100 (Wed, 04 Nov 2009) $, $Revision: 1 $ # Copyright (C) 2017 Mentor (http://www.internauta37.altervista.org) # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See...

Script bash per cambiare lo stato di Zoneminder

Script per cambiare lo stato di Zoneminder con il crontab e per verificare ad ogni avvio che sia impostato lo stato corretto. zoneminder_state.sh: #!/bin/bash # License: GPL # # Author: Mentor <[email protected]> # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along...

Linux: script bash per fare il backup di un intero Sistema Operativo

Questo è un semplicissimo comando/script per effettuare il backup con rsync di un intero Sistema Operativo Linux: #!/bin/bash rsync -aAXv --delete --exclude={"/dev/","/home/","/lost+found/","/media/","/mnt/","/proc/","/run/","/sys/","/tmp/"} / /media/Data_Backup/OS/ Fonte: wiki.archilinux.com

Script bash per fare il backup di un sito Drupal con database SQLite

Script per effettuare il backup tramite ftp di un sito Drupal che usa un database SQLite e per poi archiviarlo. backup_site.sh: #!/bin/bash # License: GPL # # Author: Mentor <[email protected]> # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program...

Mentor's Conky: conky lua per cpu con 8 cores

Questa è una mod di Conky Seamod per supportare processori con 8 cores come quelli della famiglia AMD Bulldozer. Conky SeaMod on kde-look.org Conky SeaMod on deviantart.com conkyrc: #============================================================================== # conkyrc_mentor # Date : 24/12/2013 # Author : Mentor # Version : v0.2 # License : Distributed under the terms of GNU GPL version 2 or later # # This version is a modification of conkyrc_seamod that is a modification of conkyrc_lunatico wich is modification of conkyrc_orange # # conkyrc_orange: http://gnome-look.org/content/show.php?content=137503&forumpage=0 # conkyrc_lunatico: http://gnome-look.org/content/show.php?content=142884 # conkyrc_seamod: http://www.deviantart.com/art/Conky-Seamod-v0-1-283461046 # conkyrc_mentor:...

Linux: consultare la cronologia di apt

Al momento la distribuzione Linux che sto usando è Debian, il gestore dei pacchetti che sono solito usare in essa è apt ed il modo più semplice per consultare la cronologia di apt è usare lo script bash apt-history . Con apt-history possiamo controllare la lista dei pacchetti installati, rimossi o aggiornati tramite apt. Come possiamo verificare l'ultimo aggiornamento dello script è stato scritto...

Pagine

Abbonamento a RSS - linux