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 App\Http\Utilities; | |
class Country { | |
protected static $countries = [ | |
"United States" => "us", | |
"Afghanistan" => "af", | |
"Albania" => "al", | |
"Algeria" => "dz", |
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 | |
STATUS=`defaults read com.apple.finder AppleShowAllFiles` | |
if [ $STATUS == YES ]; | |
then | |
defaults write com.apple.finder AppleShowAllFiles NO | |
else | |
defaults write com.apple.finder AppleShowAllFiles YES | |
fi | |
killall -TERM Finder |
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/sh | |
sudo yum install -y gcc | |
wget http://download.redis.io/releases/redis-2.8.17.tar.gz | |
tar xzf redis-2.8.17.tar.gz | |
cd redis-2.8.17 | |
make | |
sudo cp ./src/redis-server /usr/local/bin/ | |
sudo cp ./src/redis-cli /usr/local/bin/ |
NewerOlder