How to use:
./wordle.sh
Or try the unlimit mode:
| <html> | |
| <head> | |
| <title>myByways SVG to PNG Converter</title> | |
| </head> | |
| <body bgcolor="#E6E6FA"> | |
| <h1><a href="https://about.me/john.theodoropoulos">Online SVG to PNG Converter</a></h1> | |
| <p>(1).Paste your SVG code here</p> | |
| <textarea id="t" rows="8" cols="70"></textarea><br/><br/> | |
| <button id="l">(2).Load SVG</button><br/><br/> | |
| <div id="d"></div><br/> |
| const puppeteer = require('puppeteer') | |
| const BASE_URL = 'https://amazingsite.com' | |
| const visitPage = async (browser, url) => { | |
| const page = await browser.newPage() | |
| console.log('--> Visiting', url) | |
| await page.goto(url) | |
| await page.waitForSelector('.site-logo') |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Document</title> | |
| <style> | |
| body { | |
| font: 16px/24px Arial, Helvetica, sans-serif; | |
| } |
| /* | |
| Gist: https://gist.github.com/mfyz/1dd5bb1145e809fecb60df15661045b3 | |
| ## Get/Update Local Copy: | |
| curl https://gist.githubusercontent.com/mfyz/1dd5bb1145e809fecb60df15661045b3/raw/utils.js > utils.js |
| # Install wp-cli | |
| curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | |
| # Set up wordpress site | |
| php wp-cli.phar core install\ | |
| --url=http://localhost:8011\ | |
| --title='Test Site'\ | |
| --admin_user=admin\ | |
| --admin_password=admin\ | |
| [email protected]\ |
| #!/bin/bash | |
| wget https://wordpress.org/latest.zip -O wordpress.zip | |
| wget https://downloads.wordpress.org/plugin/advanced-custom-fields.zip | |
| wget https://downloads.wordpress.org/plugin/wp-graphql.zip | |
| wget https://downloads.wordpress.org/plugin/user-role-editor.zip | |
| wget https://downloads.wordpress.org/plugin/wp-rest-api-authentication.zip | |
| wget https://downloads.wordpress.org/plugin/acf-to-rest-api.zip | |
| wget https://downloads.wordpress.org/plugin/custom-post-type-ui.zip |
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
| # | |
| # Run command below in terminal: | |
| # | |
| # | |
| # sudo sh /Volumes/ExtremeSSD/Backup/Take-Backups.sh | |
| # | |
| # | |
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| const fs = require('fs') | |
| const path = require('path') | |
| const { execSync, spawnSync } = require('child_process') | |
| const runCmd = (cmd) => { | |
| try { | |
| const res = spawnSync(cmd, [], { shell: true }) | |
| return res.stdout.toString() | |
| } | |
| catch (err) { |
| <?php | |
| require(__DIR__ . '/../wp-load.php'); | |
| if (!function_exists('wp')) die('Sorry, looks like WordPress isn\'t loaded.'); | |
| $dry_run = true; | |
| $move_files_to_trash_folder = true; | |
| $trash_folder_path = realpath(__DIR__ . '/..') . '/unmapped-uploads-to-delete'; | |
| if ($move_files_to_trash_folder && !file_exists($trash_folder_path)) mkdir($trash_folder_path); |