brew install cmus
git clone [email protected]:Arkq/cmusfm.git
cd cmusfm
8, 9, 6, 1, 3, 4, 7, 5, 2 | |
8, 9, 3, 6, 5, 1, 2, 7, 4 | |
7, 9, 3, 1, 2, 5, 6, 8, 4 | |
9, 8, 2, 4, 5, 7, 6, 1, 3 | |
7, 6, 1, 9, 5, 4, 2, 8, 3 | |
9, 8, 6, 4, 5, 1, 7, 2, 3 | |
7, 6, 1, 4, 3, 8, 9, 5, 2 | |
5, 7, 1, 3, 4, 9, 8, 2, 6 | |
7, 6, 4, 1, 3, 8, 5, 9, 2 | |
8, 9, 6, 3, 5, 1, 2, 7, 4 |
<?php namespace App\Http\Controllers; | |
class PageController extends Controller | |
{ | |
/** | |
* Loads page from the filesystem | |
* @param String $page | |
* @return Response | |
*/ |
while :; do say "This speech is my recital, I think its very vital. " \ | |
"To rock a rhyme thats right on time. " \ | |
"Its Tricky is the title, here we go. " \ | |
"Its tricky to rock a rhyme, to rock a rhyme thats right on time. " \ | |
"Its tricky, its tricky, tricky. " \ | |
"Tricky, tricky. " \ | |
"Its tricky to rock a rhyme, to rock a rhyme thats right on time. " \ | |
"Its tricky, tr-tr-tricky, tricky. " \ | |
"Tricky. " \ | |
"I met this little girlie, her hair was kinda curly. " \ |
# Run as root, change below variables | |
export PROJECT_NAME='project' | |
export DEBIAN_FRONTEND="noninteractive" # Supress mysql-server password dialog (set password during mysql_secure_installation command instead) | |
apt-get install nginx php5-fpm php5-cli php5-mysql mysql-server nodejs nodejs-legacy npm -y | |
curl -sS https://getcomposer.org/installer | php | |
mv composer.phar /usr/local/bin/composer | |
sudo -u www-data -H mkdir -p /var/www/$PROJECT_NAME/public |
<?php | |
namespace App; | |
use Illuminate\Database\Eloquent\Model as Eloquent; | |
class Model extends Eloquent | |
{ | |
/** | |
* Create a new Eloquent model instance. |
<?php | |
namespace App\Traits; | |
use Illuminate\Support\Str; | |
use App\Role; | |
/** | |
* Adds roles to a model | |
* Note: requires a Role model pivot table {model}_roles and a role table with |
<?php | |
/** | |
* Writes to the log that a deprecated method was called, and where it was called from. | |
*/ | |
function log_deprecated_method() | |
{ | |
list($x, $current, $caller) = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 3); | |
$currentMethod = (isset($current['class']) ? $current['class'].'::' : '').$current['function'].'()'; | |
$callerMethod = (isset($caller['class']) ? $caller['class'].'::' : '').$caller['function'].'()'; |
brew install cmus
git clone [email protected]:Arkq/cmusfm.git
cd cmusfm
<?php | |
$id = sha1(getenv('HOSTNAME')); | |
function rgbcode($id){ | |
return '#'.substr(md5($id), 0, 6); | |
} | |
?><html> | |
<style> | |
body { padding: 30px; background-color: <?php echo rgbcode($id); ?>; font-family: sans-serif; } | |
h1 { background: #000; color: #fff; margin: 0; padding: 5px; float: left; } |
cd /Applications/UniFi.app/Contents/Resources; | |
java -jar /Applications/UniFi.app/Contents/Resources/lib/ace.jar ui |