most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat| I have recently been through the process of installing GUNBOT on Ubuntu from scratch. As a newbie I had to re-install | |
| a few times until I got it right as I realise my server was clearly not up-to-date. Hence let me share with you what worked for | |
| me within a matter of minutes. | |
| I would like to share a big thank you to Dante, James Tandy, PPEe to have answered so many of my questions at the install phase. | |
| I hope this tutorial will make it faster than it was for me ;-). | |
| *** If you found the below helpful, you can buy me a Mojito or Amarula drink here : | |
| BTC: L5BkDnM2fZhvzcg7HPjcnetRAvv8G9SM6Lyr1iBY2koVSCwGqxSU | |
| ETH: 0x356A3a7C540B65BEF918e99D76c98731D57cc2a1 |
| # This config will host your main [Laravel] GUI application at /, and any additional [Lumen] webservices at /api/v1 and /api/v2... | |
| # This also works perfectly for all static file content in all projects | |
| # This is full of debug comments so you can see how to print debug output to browser! Took me hours to nail this perfect config. | |
| # Example: | |
| # http://example.com - Main Laravel site as usual | |
| # http://example.com/about - Main Laravel site about page as usual | |
| # http://example.com/robots.txt - Main Laravel site static content as usual | |
| # http://example.com/api/v1 - Lumen v1 api default / route | |
| # http://example.com/api/v1/ - Lumen v1 api default / route |
| sudo apt-get remove scala-library scala | |
| sudo wget www.scala-lang.org/files/archive/scala-2.10.4.deb | |
| sudo dpkg -i scala-2.10.4.deb | |
| sudo apt-get update | |
| sudo apt-get install scala | |
| wget http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/sbt/0.12.4/sbt.deb | |
| sudo dpkg -i sbt.deb | |
| sudo apt-get update | |
| sudo apt-get install sbt |
| <?php | |
| class TransformerAbstract | |
| { | |
| private $fields; | |
| private $allowedFields = array('id', 'name', 'phone', 'email', 'bio', 'num_friends'); | |
| private $partialFields = array( | |
| 'id' => array('id', 'name'), | |
| 'info' => array('name', 'phone', 'email', 'bio'), | |
| 'bio' => array('bio') |
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| default_type text/html; | |
| access_log /dev/stdout; | |
| sendfile on; | |
| keepalive_timeout 65; |
| #! /usr/bin/env bash | |
| ### | |
| # | |
| # install_mysql.sh | |
| # | |
| # This script assumes your Vagrantfile has been configured to map the root of | |
| # your application to /vagrant and that your web root is the "public" folder | |
| # (Laravel standard). Standard and error output is sent to | |
| # /vagrant/vm_build.log during provisioning. |