sudo add-apt-repository ppa:ondrej/phpSave code below as install-php then do command chmod +x install-php.
For installation you can simply done install-php 7.3. You can change the version whicever you want!
| function formPost(url, data, callback) { | |
| let form = $("<form>", { | |
| method: 'POST', | |
| action: url, | |
| target: "_blank" | |
| }); | |
| function generateInput(iData, namePrefix) { | |
| if (namePrefix === undefined) namePrefix = ""; | |
| for ([keyData, vData] of Object.entries(iData)) { |
| #! /bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: lspos-worker | |
| # Required-Start: redis-server | |
| # Required-Stop: | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Artisan queue worker | |
| # Description: PHP Artisan queue worker from laravel that works on redis |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Zero Shaf</title> | |
| <style> | |
| body, html { | |
| height: 100%; |
/info @akunbase ke @bot_mf| -- /usr/share/vernemq/lua/auth/mysql.lua | |
| -- Only replace the function | |
| function auth_on_register(reg) | |
| if reg.username ~= nil and reg.password ~= nil then | |
| raw_client_id = reg.client_id | |
| form_client_id = raw_client_id:gsub("#", "%") | |
| results = mysql.execute(pool, | |
| [[SELECT publish_acl, subscribe_acl | |
| FROM vmq_auth_acl |
| using System; | |
| using System.Collections; | |
| using System.Linq; | |
| public class Program | |
| { | |
| class StringHelper | |
| { | |
| public static ArrayList WordWrap(string text, int maxLength = 86) | |
| { |
| RewriteEngine on | |
| # Option 1: To rewrite "www.domain.com -> domain.com" uncomment the following lines. | |
| RewriteCond %{HTTPS} !=on | |
| RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] | |
| RewriteRule ^(.*)$ https://%1/$1 [R=301,L] | |
| # If a directory or a file exists, use the request directly | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| # Otherwise forward the request to index.php | |
| RewriteRule . index.php |
| sudo apt-key adv --refresh-keys --keyserver keyserver.ubuntu.com |
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", | |
| "globals" : | |
| { | |
| "alwaysShowTabs" : true, | |
| "defaultProfile" : "{2c4de342-38b7-51cf-b940-2309a097f518}", | |
| "initialCols" : 120, | |
| "initialRows" : 30, | |
| "keybindings" : | |
| [ |