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
#/usr/bin/env bash | |
# Include this file in `~/.bash_profile` with `source /path/to/tunnelbear-toggle.sh`. | |
# Toggle TunnelBear activity. | |
# | |
# Example usage: | |
# `tunnelbear-toggle` | |
# `tunnelbear-toggle 1` | |
tunnelbear-toggle () | |
{ |
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
#!/usr/bin/env php | |
<?php | |
$path = $argv[1]; | |
if (empty($path)) { | |
echo "Path is not set."; | |
exit(1); | |
} | |
file_put_contents( |
NewerOlder