Script MATLAB per mappare la corrispondenza tra piano S e piano Z

I punti del piano s sono legati al piano z dalla relazione: e di seguito il codice di uno script MATLAB per mappare sul piano z i punti del piano s : thetaS=0:pi/8:2*pi; circ=exp(j*thetaS); plot(circ);hold on zz=ones(size(circ))*(.00001+j*0.0001) plot([zz;circ]) axis 'square' % Visualising the complex exponential %        ...

Android: come modificare o fare il porting di un apk di una rom

Per modificare un apk Android occorre accedere al suo contenuto e per poterlo fare sono disponibili diversi software che semplificano l'utilizzo di Apktool : APK-Multi-Tool AutoAPKTool e se è necessario editare i files smail contenuti all'interno del file odex allora è possibile usare i tools smali/backsmali . Questi sono i comandi standard per effettuare smali/backsmali: #decompile java -jar...

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...

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 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...

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...

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 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...

Vstarcam: scaricare il firmware di una telecamera IP

Il firmware di una telecamera IP Vstarcam è composto da una parte Firmware e da una parte Web UI. Ogni telecamera ha il proprio codice di versione per i due firmwares e possiamo trovarli dal web server della telecamera. Per esempio per la Vstarcam C7824WIP abbiamo: Firmware Version 48.53.72.79 Web UI Version EN53.8.1.14 Le prime tre cifre identificano la telecamera IP e l'ultima cifra è la...

Pagine