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 | |
# | |
# An example hook script to verify what is about to be committed. | |
# Called by "git commit" with no arguments. The hook should | |
# exit with non-zero status after issuing an appropriate message if | |
# it wants to stop the commit. | |
# | |
# To enable this hook, rename this file to "pre-commit". | |
if git rev-parse --verify HEAD >/dev/null 2>&1 |
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/bash | |
# start vagrant without connection to ssh-agent to avoid problems regarding | |
# ed25519 keys | |
# see https://twitter.com/datagrok/status/552874864969654272 | |
unset SHH_AGENT_PID | |
unset SSH_AUTH_SOCK | |
/usr/bin/vagrant $* |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>location hash test</title> | |
</head> | |
<body> | |
<h1>location hash test</h1> | |
<dl> | |
<dt>hash</dt> |
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 | |
class PathSegmentEncode | |
{ | |
/** | |
* Map of allowed special chars in path segments. | |
* | |
* http://tools.ietf.org/html/rfc3986#appendix-A | |
* segement = *pchar | |
* pchar = unreserved / pct-encoded / sub-delims / ":" / "@" |