Script MATLAB to map the S-plane to Z-plane

The points of the s plane are related to the z plane by the function: and below the code of a MATLAB script to map on the z plane the points of the s plane: 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: how to edit or port a rom's apk

To edit an Android apk we have to accede at its content and to do this there are several software that simplify the usafe of Apktool : APK-Multi-Tool AutoAPKTool and if we have to edit the files smail in the odex file, the we can use the tools smali/backsmali . Here there are some standard commands to do smali/backsmali: #decompile java -jar baksmali.jar -o <deodexed_dir> <odex_file...

Bash script to backup a Drupal site with an SQLite database

Script to backup via ftp a Drupal site that uses a database SQLite and to then archive it. 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; if not, write to the...

Linux: bash script to backup the OS

This is a really simple command/script to backup via rsync an entire Linux OS: #!/bin/bash rsync -aAXv --delete --exclude={"/dev/","/home/","/lost+found/","/media/","/mnt/","/proc/","/run/","/sys/","/tmp/"} / /media/Data_Backup/OS/ Source: wiki.archilinux.com

Bash script to change the Zoneminder's state

Script to change the Zoneminder's state via crontab and to check at boot if the correct state is set. 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 with this program; if...

Zoneminder: control module for Vstarcam C7824WIP

Perl module to control the Vstarcam C7824WIP with 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 the...

Zoneminder: control module for Vstarcam C7816WIP

Perl module to control the Vstarcam C7816WIP with 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 the...

Zoneminder: control module for Bosesh SD13W

Perl module to control the Bosesh SD13W with 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 General...

Vstarcam: download the firmware of an IP Camera

The firmware of a Vstarcam IP Camera is composed by a Firmware part and a Web UI part. Every camera has its own version code for the two firmwares and we can find their version code from the camera web server. For example for the Vstarcam C7824WIP we have: Firmware Version 48.53.72.79 Web UI Version EN53.8.1.14 The first three digits identify the IP Camera and the last digit is the firmware...

Pages