Uncategorized

FreeSwitch & Flowroute to Receive and Send SMS

Posted on

See tutorial   Support For Flowroute SMS in FreeSWITCH   Got stuck, on apt-get install -y –force-yes freeswitch-video-deps-most with the following error: root@Asterisk:/home# apt-get install -y –force-yes freeswitch-video-deps-most Reading package lists… Done Building dependency tree Reading state information… Done Some packages could not be installed. This may mean that you have requested an impossible situation […]

Uncategorized

Talend Commands

Posted on

input.replaceAll(“^\\s+|\\s+$|\\s*(\n)\\s*|(\\s)\\s*”, “$1$2”) .replace(“\t”,” “); input.replaceAll(“^\\s+|\\s+$|\\s*(\n)\\s*|(\\s)\\s*”, “$1$2”) .replace(“\t”,” “); StringUtils.capitalize(str)

Uncategorized

Email Marketing Spam Audit

Posted on

I want to maximize my marketing emails to get delivered, so I’ll use three audit tools to try to get an idea of whats happening.   http://spamcheck.postmarkapp.com/ https://www.mail-tester.com/ https://mxtoolbox.com/deliverability   See important results from each below: http://spamcheck.postmarkapp.com/ 2.3 EMPTY_MESSAGE Message appears to have no textual parts and no Subject: text 1.0 MIME_NO_TEXT No (properly identified) […]

Uncategorized

PHP: Generate Random Number

Posted on

function UniqueRandomNumbersWithinRange($min, $max, $quantity) { $numbers = range($min, $max); shuffle($numbers); return array_slice($numbers, 0, $quantity); } // $productsViewed = UniqueRandomNumbersWithinRange(1,500000,10); // print_r($productsViewed);

Uncategorized

Email Deliverability

Posted on

LITMUS -> Very Good but expensive 200$ / month MX TOOLBOX -> Good and free but limited resultas. POSTMARK http://spamcheck.postmarkapp.com/ -> Fair but free MAIL-TESTER – Good but limits to 3 per day.

Python

Python: For Financial Services

Posted on

  Download Python (https://www.python.org/downloads/release/python-361/) Download matplotlib (https://pypi.python.org/pypi/matplotlib) Numpy (http://www.numpy.org/) Python Installers: http://www.lfd.uci.edu/~gohlke/pythonlibs/       cd \Users\Ricardo\AppData\Local\Programs\Python\Python36\Scripts   pip install numpy pip install Matplotlib pip install pandas pip install pandas-datareader pip install beautifulsoup4 pip install scikit-learn     Posible IDEs iPython Notebooks Anaconda PyCharm Pro   Good Tutorials on Panda pandas python.org   Recommended Youtube Channels: https://www.youtube.com/user/APMonitorCom/videos https://www.youtube.com/user/sentdex/videos

Uncategorized

Prestashop: Add Google Custom Search

Posted on

  header.tpl line 135 Search box Code <div class=”google-search” > <div id=”global_shipping”><span>In Service Since 2009</span></div> <script> (function() { var cx = ‘XXXXXXXXXXXXXXXXXXXXXXXX’; var gcse = document.createElement(‘script’); gcse.type = ‘text/javascript’; gcse.async = true; gcse.src = ‘https://cse.google.com/cse.js?cx=’ + cx; var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(gcse, s); })(); </script> <gcse:searchbox></gcse:searchbox> </div>   Google Results. <gcse:searchresults></gcse:searchresults>  

Uncategorized

SEO: Compress Images using ImageMagick

Posted on

convert /var/www/html/XXXXXXX/themes/default-bootstrap/img/manufacturers/ABB-big.jpg -strip -resize 333×333 -quality 85 -interlace JPEG -colorspace Gray/RGB /var/www/html/XXXXXXX/themes/default-bootstrap/img/manufacturers/ABB-big-compressed.jpg

Uncategorized

Pentaho: Installation

Posted on

Complete Pentaho Installation on Ubuntu, Part 2 http://jaapjansma.nl/2016/05/11/installing-pentaho-6-1-community-edition-on-ubuntu/#comment-36   After installation and reboot of the server, it needs to be manually restarted executing the following command: /opt/biserver-ce/start-pentaho.sh   Additionally, to access the server, just go to the following URL on your browser: http://your.server.name:8080   To Start/Stop the server as in Jasper you do the following:   […]

Uncategorized

Mautic: Clear Cache from Application

Posted on

root@ubuntu:~# php /var/www/mautic/app/console cache:clear Note that after clearing Cache the App is Stuck because there is a Permissions problem (Mautic cannot write the Cache Folder) so you need to chmod -R 777 cache folder (this is insecure but works). You need to use the appropriate permissions based on your requirements.

Uncategorized

Apache: Edit Listing Format

Posted on

This is accomplished by adding some directives on the .htaccess. The first step is to enable the .htaccess in your directory, this needs to be enables in /etc/apache2/apache2.conf   CHANGE <Directory /var/www/> Options Indexes FollowSymLinks AllowOverride ALL Require all granted </Directory>   TO <Directory /var/www/> Options Indexes FollowSymLinks AllowOverride ALL Require all granted </Directory>   […]

Uncategorized

OB: Accounting Check

Posted on

I’m working on the Financial Statement of My Company, we sell Industrial Equipment and spare parts to big companies on Latin America; right now I want to make a report that shows my sales based on the inventory I’ve got on my warehouse, the basic structure is the following: What did I sell? (Use Sales […]