I hereby claim:
- I am peterbooker on github.
- I am peterbooker (https://keybase.io/peterbooker) on keybase.
- I have a public key whose fingerprint is E2D1 65D5 5B52 2988 07AA 1EC8 B872 5CB5 530C 45B7
To claim this, I am signing this object:
<?php | |
/* | |
* Google Font Importer | |
*/ | |
$fonts = "https://www.googleapis.com/webfonts/v1/webfonts?key=AIzaSyCpfnm5kVng8hhP_jnAnnTXVP7MEUM89-k"; | |
$fonts = file_get_contents($fonts, 0, null, null); | |
$fp = fopen('fonts.txt', 'w'); |
/******/ (function(modules) { // webpackBootstrap | |
/******/ // The module cache | |
/******/ var installedModules = {}; | |
/******/ | |
/******/ // The require function | |
/******/ function __webpack_require__(moduleId) { | |
/******/ | |
/******/ // Check if module is in cache | |
/******/ if(installedModules[moduleId]) { | |
/******/ return installedModules[moduleId].exports; |
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* Get Public Posts from External Site using REST API | |
*/ | |
$hostname = 'https://www.peterbooker.com'; | |
$num = 5; | |
$response = wp_remote_get( | |
add_query_arg( | |
array( |
FROM php:7.2-fpm-alpine | |
#FROM php:7.3.0RC3-fpm-alpine3.8 | |
# install PHP extensions | |
RUN apk add --no-cache --virtual .build-deps \ | |
freetype-dev \ | |
libjpeg-turbo-dev \ | |
libpng-dev | |
RUN docker-php-ext-install \ |
<?php | |
class Health_Check_Tests_Prof_Test extends WP_UnitTestCase { | |
private $health_check_site_status; | |
private $tests_list; | |
public function setUp() { | |
parent::setUp(); |
<?php | |
echo '<pre>'; | |
$test_list = Health_Check_Site_Status::get_tests(); | |
$tests = array_merge( $tests['direct'], $tests['async'] ); | |
$limit = 5; | |
echo '<br>'; | |
printf( | |
'Running tests with %d iterations.', | |
$limit |
<?php | |
/** | |
* Inlined FontAwesome Icons. | |
* | |
* Function returns an SVG icon using the given name. | |
*/ | |
/** | |
* Outputs FontAwesome SVG Icons | |
* https://github.com/FortAwesome/Font-Awesome/tree/master/advanced-options/raw-svg/ |
package main | |
import ( | |
"encoding/json" | |
"encoding/xml" | |
"log" | |
"strconv" | |
"time" | |
_ "github.com/go-sql-driver/mysql" |
package slurper | |
func GetExtensions(items []string) { | |
for _, item := range items { | |
data := downloadZip(item) | |
extractZip(data) | |
} | |
} |