- Pastebot
- GIF Brewery
- Slack
- Keynote/Pages/Numbers
- 1Password
- OmniFocus 3
- Airmail 3
- iA Writer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find . -name '*.jp*' -print0 | xargs -0 -I{} -t guetzli --quality 90 {} {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 20170908135703 | |
// http://developwordpress.localhost/wp-json/wp/v2/posts/40018 | |
{ | |
"content": { | |
"id": 40018, | |
"date": "2017-09-04T19:21:42", | |
"date_gmt": "2017-09-04T19:21:42", | |
"guid": { | |
"rendered": "http://developwordpress.localhost/?p=40018" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import axios from 'axios' | |
let mockingEnabled = false | |
const mocks = {} | |
export function addMock(url, data) { | |
mocks[url] = data | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<ruleset name="Ignacio"> | |
<description>Security reviews with PHPCS.</description> | |
<file>.</file> | |
<!-- Exclude the Composer Vendor directory. --> | |
<exclude-pattern>/vendor/*</exclude-pattern> | |
<!-- Exclude the Node Modules directory. --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable no-console */ | |
/** | |
* A little module that adds a wpapi() method to the window object. | |
* | |
* wpapi() takes an API path (e.g. /wp/v2/posts), optionally containing string query parameters, | |
* or a query-less API path and a hash object of query param objects. | |
*/ | |
( context => { | |
const { root, nonce } = context.WP_API_Settings; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// UPDATE: This can be replaced by `define( 'WP_DISABLE_FATAL_ERROR_HANDLER', true );` in `wp-config.php`. | |
// See https://core.trac.wordpress.org/changeset/44674 | |
/** | |
* Shutdown handler to disable WordPress 5.1's plugin/theme pausing features. | |
*/ | |
class dd32_Fatal_Error_Handler extends WP_Fatal_Error_Handler { | |
// Do not store errors, this disables the ability for plugins/themes to be marked 'paused'. |
OlderNewer