WebSocket is a technology that allows a bidirectional interaction between server and client, you will tell me, nothing new with a socket connection of the 90’s we did the same thing. True!!! The thing that makes this technology very advantageous is that first of all, it implements standards in data transmission and use protocols but…
Read more
Tested on Ubuntu 18.04 LTS
1 |
sudo nano /etc/apache2/conf-available/phpmyadmin.conf |
1 2 3 4 |
#Restrict phpMyAdmin via IP address Order Deny,Allow Deny from All Allow from 10.1.1.10 |
1 |
sudo /etc/init.d/apache2 restart |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
GNU nano 2.2.6 File: /etc/apache2/conf-available/phpmyadmin.conf # phpMyAdmin default Apache configuration Alias /phpmyadmin /usr/share/phpmyadmin An example of a full conf file, whereto we give full access to an entairly network addresses <Directory /usr/share/phpmyadmin> #Restrict phpMyAdmin via IP address Order Deny,Allow Deny from All Allow from 10.0.9.0/24 Options FollowSymLinks DirectoryIndex index.php <IfModule mod_php5.c> AddType application/x-httpd-php .php php_flag magic_quotes_gpc Off php_flag track_vars On php_flag register_globals Off php_admin_flag allow_url_fopen Off php_value include_path . php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gette$ </IfModule> </Directory> # Authorize for setup <Directory /usr/share/phpmyadmin/setup> <IfModule mod_authn_file.c> AuthType Basic AuthName "phpMyAdmin Setup" AuthUserFile /etc/phpmyadmin/htpasswd.setup </IfModule> Require valid-user </Directory> # Disallow web access to directories that don't need it <Directory /usr/share/phpmyadmin/libraries> Order Deny,Allow Deny from All </Directory> <Directory /usr/share/phpmyadmin/setup/lib> Order Deny,Allow Deny from All </Directory> |
Completely remove SVN references from a folder recursively:
1 2 |
cd </yourFolderPath> find -name ".svn" | xargs /bin/rm -rf |
Undo add … if by mistake as often happens it is called “add” and involuntarily you add infinite files to be committed that you did not want to version, to go back before having committed just run:
1 2 |
cd <yourFolderPath> svn revert -R ./ |
Embedded World 2020 — Norimberga As every year, the Embedded World fair was held, dedicated to all operators in the hardware and software sector dedicated to creating custom IT solutions. No one was missing, for any type of project there was the right supplier. Truly a very specialized fair, the only flaw in my opinion…
Read more
In this August Embarcadero announces the new version of the well-known Interbase report database: Interbase 2019. Interbase is widely used by Delphi developers since in the multi-platform environment (iOS, Android, Windows, Mac OSX, Linux) I believe it is the only relational database that can be distributed even on iOS / Android platforms, the inter-base versions…
Read more
Nearly a year ahead of release forecasts, the Raspberry PI4 is available !!It seems to be a revolution on the single-board computer, compared to the previous ones it seems to have something extra !!! Major improvements : Dual mini-HDMI interface for dual-monitor up to 4K reslution and 60Hz refresh Versions with 1GB to 4GB RAM…
Read more