Abraham Garcia in PHP Scripts   Thursday, September 12 2019

Enable CORS on CodeIgniter Controller PHP

How to Enable CORS on CodeIgniter Controller PHP. Learn with a Simple Constructor Method for your PHP Controller.

This is a Short Snippet for Code Igniter to Enable CORS on Controller.  public function __construct() { header('Access-Control-Allow-Origin: *'); header("Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE"); parent::__construct(); }

Continue reading
Abraham Garcia in Fun Stuff   Thursday, September 5 2019

How to Install Mailtrain in Ubuntu with Docker

Mailtrain an OpenSource Self Hosted Newsletter Application. Simple to Use and Easy to Install. Follow Line By Line to Install in Ubuntu with Docker.

Learn How to Install Mailtrain in Ubuntu in a couple of steps via command line.  sudo nano /etc/apt/sources.list.d/docker.list deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add

Continue reading
Abraham Garcia in Fun Stuff   Thursday, August 29 2019

Set a Fixed SSH for iTerm

Login Fast to Your Server without the Need to Always type the SSH Command.

This is a short tutorial on how to setup a fast ssh iterm profile.  1) First Click on Preferences for iTerm. 2) After fill the information required.  You are required

Continue reading
Abraham Garcia in Fun Stuff   Thursday, August 15 2019

How to Hide Products on Shopify

Follow the Steps to Disable Products on Shopify eCommerce.

Follow these steps to hide products from your eCommerce in Shopify Open Your Shopify AdminSelect Products -> All ProductsClick on the Left Checkbox to Select Multiple ProductsAfter you select which

Continue reading