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
iterm-notify config-set failure-icon "https://media3.giphy.com/media/10ECejNtM1GyRy/200_s.gif" | |
iterm-notify config-set failure-title "wow such #fail" | |
iterm-notify config-set success-icon "https://s-media-cache-ak0.pinimg.com/564x/b5/5a/18/b55a1805f5650495a74202279036ecd2.jpg" | |
iterm-notify config-set success-title "very #success. wow" |
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
if status is-interactive > /dev/null | |
function fish_vi_cursor; end | |
fish_vi_key_bindings | |
function fish_greeting | |
end | |
function first_prompt_line --on-event fish_prompt | |
set_color red |
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
#!/bin/sh | |
set -e | |
hash() { | |
if [[ $# != 1 ]]; then | |
echo "usage: hash FILE" >&2 | |
return 1 | |
fi | |
shasum "$1" | cut -f1 -d' ' |
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
package main | |
import ( | |
"bufio" | |
"fmt" | |
"gopkg.in/yaml.v2" | |
"net/url" | |
"os" | |
) |
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
[diff] | |
tool = diff-for-schema | |
[difftool] | |
prompt = false | |
[difftool "diff-for-schema"] | |
cmd = diff --show-function-line='^CREATE TABLE' -U1 -- "$LOCAL" "$REMOTE" |
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
{ | |
"manifest_version": 2, | |
"name": "Mocklocation", | |
"description": "Override navigator.geolocation with Mocklocation", | |
"version": "0.1", | |
"permissions": [ | |
"http://*/*", | |
"https://*/*" | |
], |
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
services: | |
# Use an entity's ClassMetadata as if it where a service (for example, in | |
# other services definitions). | |
# | |
# See http://symfony.com/doc/2.0/components/dependency_injection/factories.html | |
foo.foo_class_metadata: | |
class: "Doctrine\\Common\\Persistence\\Mapping\\ClassMetadata" | |
factory_service: doctrine.orm.entity_manager | |
factory_method: getClassMetadata | |
arguments: |
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
devbox-register-hook() { | |
autoload add-zsh-hook | |
add-zsh-hook chpwd devbox-load-env | |
} | |
devbox-unregister-hook() { | |
autoload add-zsh-hook | |
add-zsh-hook -d chpwd devbox-load-env | |
} |
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
# build depends on bin/homework | |
build: bin/homework | |
# bin/homework depends on all .go files in this directory tree | |
bin/homework: $(shell find . -name '*.go' -not -path './vendor/*') | |
go build -o bin/homework main.go |
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 | |
namespace Tests; | |
use WebDriver\Service\CurlService; | |
use WebDriver\Service\CurlServiceInterface; | |
/** | |
* Class WebDriverCurlService | |
* @package Tests |