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
# Compiled Python files | |
*.pyc | |
# Folder view configuration files | |
.DS_Store | |
Desktop.ini | |
# Thumbnail cache files | |
._* | |
Thumbs.db |
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
# Create a new directory and enter it | |
function mkd() { | |
mkdir -p "$@" && cd "$@" | |
} | |
# Determine size of a file or total size of a directory | |
function fs() { | |
if du -b /dev/null > /dev/null 2>&1; then | |
local arg=-sbh | |
else |
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 colorflag for LS | |
colorflag="-G" | |
# List all files colorized in long format | |
alias l="ls -l ${colorflag}" | |
# List all files colorized in long format, including dot files | |
alias la="ls -la ${colorflag}" | |
# List only directories |
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
version: '2' | |
# | |
# Network Configuration | |
# | |
networks: | |
default: | |
# | |
# Services Configuration |
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
[Unit] | |
Description=Share local port(s) with ngrok | |
After=syslog.target network.target | |
[Service] | |
User=vagrant | |
Type=simple | |
Restart=always | |
RestartSec=1min | |
TimeoutSec=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
[ | |
{ "date": 20150101, "text": "Cat" }, | |
{ "date": 20150101, "text": "Dog" }, | |
{ "date": 20150201, "text": "Fish" } | |
] |
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
echo "deb http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu trusty main" > /etc/apt/sources.list.d/ondrej-php5-5_6-trusty.list | |
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4F4EA0AAE5267A6C >/dev/null 2>&1 | |
apt-get update -y | |
apt-get install -y php5-curl php5-mongo php5-mcrypt |
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
<?php namespace Api\Http\Requests\V3\Action; | |
use Auth; | |
use Api\Http\Requests\Request; | |
/** | |
* Class ActionStoreRequest | |
* | |
* @package Api\Http\Requests\V3\Auth | |
*/ |
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
<?php namespace Api\Http\Requests\V3\Action; | |
use Auth; | |
use Api\Http\Requests\Request; | |
/** | |
* Class ActionStoreRequest | |
* | |
* @package Api\Http\Requests\V3\Auth | |
*/ |
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
https://gist.github.com/91920e3e55507691a75f |