This file contains 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
tap "eugenmayer/dockersync" | |
tap "go-delve/delve" | |
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/core" | |
tap "homebrew/dupes" | |
tap "homebrew/php" | |
tap "homebrew/versions" | |
cask "java" | |
brew "awscli" |
This file contains 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
DELETE FROM wp_usermeta | |
WHERE NOT EXISTS ( | |
SELECT * FROM wp_users | |
WHERE wp_usermeta.user_id = wp_users.ID | |
) |
This file contains 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 | |
function pushbullet(string $accessToken, string $title, string $body, string $type = 'note'): \stdClass | |
{ | |
if (!in_array($type, ['note', 'url'])) { | |
throw new \Exception('Invalid pushbullet push type'); | |
} | |
$curl = curl_init(); | |
curl_setopt_array($curl, [ |