keys *
XRANGE "kl:stream:github.actions.v0.JobCanceledEvent:0" - +
<?php | |
/** | |
* Returns uploads info for given subsite or primary site. | |
* | |
* @param int $blog_id Optional, defaults to primary. | |
* | |
* @return array | |
* | |
* NOTE: Must be run from primary site. |
<?php | |
if ( ! defined( 'WFWAF_VERSION' ) ) { | |
exit( 'Access denied' ); | |
} | |
/* | |
This file is generated automatically. Any changes made will be lost. | |
*/ | |
$this->failScores['sqli'] = 100; | |
$this->failScores['xss'] = 100; |
const shell = require( 'shelljs' ); | |
shell.echo( | |
shell.cat('./src/wp-migrate-db-pro/wp-migrate-db-pro.php').grep( /.*\['version'] = '(.*)';/ ) | |
.replace(/.*\['version'] = |'|;|\./g, '') | |
); |
const myfunc = () { | |
console.log('WAT'); | |
} | |
myfunc`` | |
// WAT |
#!/bin/sh | |
sudo brew services stop nginx | |
sudo brew services stop php71 | |
sudo brew services stop dnsmasq | |
sudo brew services stop mysql | |
sudo brew services start nginx | |
sudo brew services start php71 | |
sudo brew services start dnsmasq | |
sudo brew services start mysql |
<?php | |
$PATH = '/your/folder/path'; | |
//ZipArchive | |
//Test 1 | |
$time_start = microtime( true ); |
<?php | |
$url = 'https://api.deliciousbrains.com'; | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL, $url); | |
curl_setopt($ch, CURLOPT_VERBOSE, TRUE); | |
$result = curl_exec($ch); | |
curl_close($ch); |
#!/usr/bin/env bash | |
DIR="$1" | |
if [ -z "$1" ] | |
then | |
echo "Usage: $0 {WP install dir path}" | |
exit 1 | |
fi |
#!/bin/bash | |
lint=$(./node_modules/eslint/bin/eslint.js src/**.js $a) | |
echo $lint | |
if [[ "$lint" != *""* ]]; then | |
echo "ERROR: ESLint failed, check hints" | |
exit 1 # reject | |
fi |