Blog:
Settings

Blog

Add a new blog
May 31

HTML codes for ASCII characters

https://ascii.cl/htmlcodes.htm ...

May 22

Custom logo make easy with two online image tool

Easiest way to create an image online: https://logomakr.com/ Once you have logo done, take a screenshot and use our suggestion tool to remove the background.  ...

May 22

How to make png background transparent?

Want to give your png file a transparency background?  Free online tool: https://onlinepngtools.com/create-transparent-png ...

March 28

Certbot SSL Certification Auto Renew Cron Job

Let's encrypt SSL certificates will get expired after 90 Days of installation and you must renew it before it get expired. Certbot Renew Command $ sudo certbot renew --dry-run Certbot Auto Renew Cron Job $ cat /etc/cron.d/certbot Content: # /etc/cron.d/certbot: crontab entries for the certbot package # # Upstream recommends attempting renewal twice a day # # Eventually, this will be an opportunity to validate certificates # haven't been revoked, etc....

March 21

Scale on Hover with Transition

.grow { transition: all .2s ease-in-out; } .grow:hover { transform: scale(1.1); } ...

March 16

LAA Framework - add a form

Create form html, and give a form name (which will be handled by controller when form is submitted)         <form class="new-form" method="post" action="">           <input type="hidden" name="form_name" value="my_form_name">           <!-- form contents -->           <div class="form-group">             <label>Airway Bill Nubmer:</label>            ...

March 11

MySql correct font display issue with asian font from DB by using UTF-8

Use set_charset to turn current charset to utf8, and you will be able to display Asian fonts.   $db_link = mysqli_connect($db['host'],$db['user'],$db['pass'],$db['db']); //  echo "Initial character set is: " . $db_link -> character_set_name();   $db_link -> set_charset("utf8"); // Change character set to utf8 //  echo "Current character set is: " . $db_link -> character_set_name(); ...

March 6

LAA Framework - add css file in controller

Attach a css file to a controller that applies to: 1. single url : add to target Action function in the selected Controoler.     $this->add_css_files[] = '/laa_mvc/modules/{ModuleName}/themes/{addedCssFileName}.css' or, 2. apply to entire controller: add your css file to__contruct() function in the controller class.    function __construct($params) {     parent::__construct($params);     $this->add_css_files[] = '/laa_mvc/modules/{ModuleName}/themes/{addedCssFileName}.css';     return $this;   } ...

March 2

Copying Files Between Local Computer and Instance (AWS)

To copy files between your computer and your instance you can use an FTP service like FileZilla or the command scp which stands for secure copy. To use scp with a key pair use the following command: $ scp -i path/to/key file/to/copy user@ec2-xx-xx-xxx-xxx.compute-1.amazonaws.com:path/to/file To use it without a key pair, just omit the flag -i and type in the password of the user...

Experteer's Scripting:
Coding - Experts Only
Send us a message. We will reply as soon as we can.
×