Settings: System Preferences » Keyboard » Key Repeat/Delay Until Repeat
Use the commands below to increase the key repeat rate on macOS beyond the possible settings via the user interface. The changes aren't applied until you restart your computer.
Settings: System Preferences » Keyboard » Key Repeat/Delay Until Repeat
Use the commands below to increase the key repeat rate on macOS beyond the possible settings via the user interface. The changes aren't applied until you restart your computer.
Installation - Laravel - The PHP Framework For Web Artisans
function tinkerwell { | |
if [ $# -eq 0 ] || [ $1 = "." ]; then | |
TW_PATH=$(pwd) | |
else | |
TW_PATH=$1 | |
fi | |
TW_PATH=$(echo -n $TW_PATH | base64) | |
open "tinkerwell://?cwd=$TW_PATH" |
function dbopen() { | |
if [ -d '/Applications/TablePlus.app' ]; then | |
DRIVER=$(grep -m1 DB_CONNECTION .env | cut -d '=' -f2) | |
HOST=$(grep -m1 DB_HOST .env | cut -d '=' -f2) | |
USER=$(grep -m1 DB_USERNAME .env | cut -d '=' -f2) | |
PASSWORD=$(grep -m1 DB_PASSWORD .env | cut -d '=' -f2) | |
DATABASE=$(grep -m1 DB_DATABASE .env | cut -d '=' -f2) | |
if [ $DRIVER = "sqlite" ]; then | |
open $DATABASE |
<?php | |
use Illuminate\Database\Eloquent\Builder as EloquentBuilder; | |
use Illuminate\Database\Query\Builder as QueryBuilder; | |
use Illuminate\Database\Query\Expression; | |
use Illuminate\Support\ServiceProvider; | |
class AppServiceProvider extends ServiceProvider | |
{ | |
public function boot() |
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Font | |
:set guifont=Source\ Code\ Pro:h14 | |
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Hide pointless junk at the bottom, doesn't work in .vimrc for some reason? | |
:set laststatus=0 | |
:set noshowmode "don't show --INSERT-- | |
:set noruler "don't show line numbers/column/% junk |
Handy helpers for controlling visibility of elements until Vue has compiled.
Use like:
<div v-cloak>
<h1>
<span class="v-cloak--inline">Loading...</span> <!-- Only displayed before compiling -->
<span class="v-cloak--hidden">{{ post.title }}</span> <!-- Hidden until compiling is finished -->
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
imap hh <Esc> | |
set nocompatible | |
set encoding=utf-8 | |
set laststatus=2 | |
set nowrap " don't wrap lines | |
set tabstop=4 " a tab is four spaces | |
set smarttab | |
set tags=tags | |
set softtabstop=4 " when hitting <BS>, pretend like a tab is removed, even if spaces |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Alpha Component</key> | |
<real>1</real> | |
<key>Blue Component</key> | |
<real>0.16932399570941925</real> |