A curated list of amazingly awesome PHP libraries, resources and shiny things.
Developers and Open Source authors now have a massive amount of services offering free tiers, but it can be hard to find them all to make informed decisions.
This is a list of software (SaaS, PaaS, IaaS, etc.) and other offerings that have free tiers for developers.
The scope of this particular list is limited to things that infrastructure developers (System Administrator, DevOps Practitioners, etc.) are likely to find useful. We love all the free services out there, but it would be good to keep it on topic. It's a bit of a grey line at times so this is a bit opinionated; do not be offended if I do not accept your contribution.
This list is the result of Pull Requests, reviews, ideas and work done by 1100+ people. You too can help by sending Pull Requests to add more services or by remove ones whose offerings have changed or been retired.
function unfollowProcess() { | |
init = function(){ | |
var requestButton = this.getMainButton() | |
setTimeout(function() { | |
requestButton.onclick = this.unfollow(); | |
// console.log(requestButton); | |
requestButton.click(); | |
}, 5000); | |
}, |
On Initial level, first of all when setup:upgrade command executed then it will check your module's module.xml version
if your xml version and setup_module
table's version are diffrent then it will call upgradeSchema.php
respectively upgradeData.php
.
and then it will check the condition on version changes.
<container name="subscribenow.item.summary" htmlTag="div" htmlClass="subscribenow-item-summary"> | |
<block class="Magento\Framework\View\Element\Text" name="subscription.summary.title"> | |
<arguments> | |
<argument translate="true" name="text" xsi:type="string"> | |
<![CDATA[<strong class="title">Subscription Summary</strong>]]> | |
</argument> | |
</arguments> | |
</block> | |
</container> | |
#!/usr/bin/env bash | |
cmdname=${1?Error: please run command} | |
cmdopt1=${2} | |
cmdopt2=${3} | |
cmdopt3=${4} | |
cmdopt4=${5} | |
cmdopt5=${6} | |
cmdopt6=${7} |
# Local Development | |
<VirtualHost *:8080> | |
ServerName dev.local | |
ServerAlias *.dev.local | |
DocumentRoot "/var/html/www/dev/" | |
ServerAdmin webmaster@dev.local | |
ErrorLog "logs/dev-local-error.log" | |
CustomLog "logs/dev-local-access.log" common | |
function convertImgToDataURLviaCanvas(url, callback, outputFormat) { | |
var img = new Image(); | |
img.crossOrigin = 'Anonymous'; | |
img.onload = function() { | |
var canvas = document.createElement('CANVAS'); | |
var ctx = canvas.getContext('2d'); | |
var dataURL; | |
canvas.height = this.height; | |
canvas.width = this.width; | |
ctx.drawImage(this, 0, 0); |