This is why everyone needs a mentor

I was at the Pesto office and the co-founder of Pesto — Ayush, happen to ask me some questions to get feedback about the program. I was trying to give him as honest of the possible feedback. Then…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Use PHP to set random ID in HTML tags

For a WordPress plugin I needed to set the “id” attribute to HTML template (when the “id” is not already set) and I extrapolate the code that can be used in another project.

You can select the tags on which set the ID changing this line:

$aryTagsToSetID = array(‘p’, ‘h1’, ‘h2’, ‘h3’, ‘h4’, ‘i’, ‘img’, ‘div’);

Comment below if you have questions about the script.

Add a comment

Related posts:

POJ3125 PrinterQueue

You are given a queue, if the front element is the largest, then pop it, otherwise move it to the end of the queue. This question can be easily solved by vector or linked list. The difference is that…

Rewiew On FIFA 18 Demo

In what comes as an entire and utter surprise, Electronic Arts has announced that FIFA 18 can be released on September 29, 2017. Cue sigh of relief. EA Sports most awaited offering, FIFA 18 is set to…

Slack Alerts in Airflow

In experimenting with Airflow, one of our business requirements I wanted to test out was Slack Notifications. I am currently experimenting with Google Cloud Composer, a managed Airflow service. It…