Uncategorized

Ubiquiti: Install UNIFI Video on Ubuntu 16.04

Posted on

https://help.ubnt.com/hc/en-us/articles/220066768-UniFi-How-to-Install-Update-via-APT-on-Debian-or-Ubuntu   There’s a problem with the server start, so I start it manually.  sudo service unifi start   Get the error:   root@mohe:~# service unifi-video status ● unifi-video.service – LSB: Ubiquiti unifi-video Loaded: loaded (/etc/init.d/unifi-video; bad; vendor preset: enabled) Active: inactive (dead) Docs: man:systemd-sysv-generator(8)     root@mohe:~# service unifi-video status ● unifi-video.service – LSB: […]

Uncategorized

Pendrive Movistar Venezuela: Networking

Posted on

Tengo un pendrive Movistar en Venezuela, está conectado a un router redundante con sistema operativo Pfsense.  El pendrive funciona bien para navegar (velocidades de 20 mbps), pero tengo problemas para utilizarlo con el sistema de voz sobre ip, inclusive tengo problemas con accediendo al router a través del IP que registra el PEN Drive.    […]

Prestashop

Prestashop: Faceted Filter

Posted on

In Prestashop 1.7.4.2 the Price Slider does not work, so you’re left with “range lists” which are not helpful.  To kind of control the limits on these “Range Lists” I tweaked the following file:  ps_facetedsearch.php LINE 1026: ‘.(int) Tools::ps_round($max_price[$currency[‘id_currency’]] * (100 + $max_tax_rate) / 100, 0).’)’;   Changed to this:   ‘.(int) Tools::ps_round($max_price[$currency[‘id_currency’]] * (2), […]

Uncategorized

JAVA: Revert from JAVA 1.8 to 1.7 Windows 10

Posted on

Uninstall Java from Control Panel -> Programs -> Uninstall Need to remove three files from /Windows/System32 and C:\ProgramData\Oracle\Java\javapath (you need to view hidden files to see Program Data) This files are  “java”, “javaw” and “javaws” After you do this you should reboot and then install the java version you want (in this example java 1.7) […]

iDempiere

Jasper Studio: JAVA Compatibility

Posted on

We user Jasper Reports on multiple projects: We have a stand-alone Jasper Server that runs all types of reports from our server We have an Openbravo ERP Instance  We have an iDempiere ERP Instance Running (same fork root as Openbravo). The Jasper Studio is used to configure the reports and compile them, the problem is […]

PostgreSQL

PgSQL: Create table inside database

Posted on

Example   CREATE TABLE c_ordernotes ( c_ordernotes_id numeric(10,0) CONSTRAINT firstkey PRIMARY KEY, ad_client_id numeric(10,0) NOT NULL, ad_org_id numeric(10,0) NOT NULL, isactive character(1), created timestamp DEFAULT current_timestamp, createdby numeric(10,0), updated timestamp DEFAULT current_timestamp, updatedby numeric(10,0), c_order_id numeric(10,0), line numeric(10,0), notes_name varchar(255), notes_description varchar(2550) );

Uncategorized

Asterisk: Fail2ban & IP Tables

Posted on

https://www.voip-info.org/fail2ban-with-iptables-and-asterisk/ /etc/init.d/fail2ban restart /etc/init.d/fail2ban reload /etc/init.d/iptables-persistent restart When you reload or restart fail2ban all the bans are removed.    One problem with this wonderful solution (which is related to iptables, not fail2ban), is that when you reboot your server all the rules and blocked IPs are deleted. On my case I want all this IPs […]