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
cask 'rightzoom' do | |
version :latest | |
sha256 :no_check | |
url 'http://www.blazingtools.com/mac/RightZoom20.zip' | |
name 'Right Zoom' | |
homepage 'http://www.blazingtools.com/right_zoom_mac.html' | |
app 'RightZoom.app' |
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 | |
[ "$DB_NAME" ] || DB_NAME='wordpress' | |
[ "$DB_PASS" ] || DB_PASS='root' | |
[ "$THEMES" ] || THEMES='twentysixteen' | |
[ "$WP_DEBUG" ] || WP_DEBUG='false' | |
[ "$ADMIN_EMAIL" ] || ADMIN_EMAIL="admin@${DB_NAME}.com" | |
[ "$SEARCH_REPLACE" ] && \ | |
BEFORE_URL=$(echo "$SEARCH_REPLACE" | cut -d ',' -f 1) && \ | |
AFTER_URL=$(echo "$SEARCH_REPLACE" | cut -d ',' -f 2) || \ |
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
+------------------------------+ | |
| c.name | | |
+------------------------------+ | |
| "Acheflour" | | |
| "Aconia Minor" | | |
| "Aelis" | | |
| "Anna" | | |
| "Anton" | | |
| "Appius Manilius" | | |
| "Attila" | |
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
+----------------------------+ | |
| c.name | n | | |
+----------------------------+ | |
| "Arthur Pendragon" | 99 | | |
| "Léodagan" | 55 | | |
| "Perceval" | 49 | | |
| "Guenièvre" | 47 | | |
| "Lancelot du Lac" | 44 | | |
| "Karadoc" | 37 | | |
| "Père Blaise" | 21 | |
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
set _string to load script alias ((path to desktop as text) & "_string.scpt") | |
tell application "Spotify" | |
set current_track to null | |
set current_artist to null | |
set current_album to null | |
set current_track_url to null | |
set current_track_spotify_url to null | |
repeat until application "Spotify" is not running |
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 | |
# php switch for homebrew | |
# $ brew tap josegonzalez/php && brew install php53 --with-mysql && brew install php54 --with-mysql | |
# Might as well ask for password up-front, right? | |
sudo -v | |
VERSION_FILE="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/php-switch.version" |
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
$authToken = "YOUR DEV TOKEN"; | |
$client = new Client(array('token' => $authToken)); | |
$noteStore = $client->getNoteStore(); | |
# get linked notebooks | |
$linked_notebooks = $noteStore->listLinkedNotebooks($authToken); | |
$linked_notebook = $linked_notebooks[0]; |
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
from evernote.api.client import EvernoteClient | |
dev_token = "put your dev token here" | |
client = EvernoteClient(token=dev_token) | |
userStore = client.get_user_store() | |
user = userStore.getUser() | |
print user.username |