Install dependencies
composer install
{ | |
"vim.easymotion": false, | |
"vim.incsearch": true, | |
"vim.useSystemClipboard": true, | |
"vim.useCtrlKeys": true, | |
"vim.hlsearch": true, | |
"vim.insertModeKeyBindings": [ | |
{ | |
"before": [ | |
"j", |
javascript: (function () { | |
var i, x; | |
for (i = 0; (x = document.links[i]); ++i) { | |
let color = ['blue', 'red', 'orange'][ | |
sim(x, location) | |
]; | |
x.style.setProperty('color', color, 'important'); | |
x.style.setProperty('text-decoration', 'underline', 'important'); | |
x.style.setProperty('font-weight', '700', 'important'); | |
x.style.setProperty('border', '3px solid green', 'important'); |
#!/bin/bash | |
# Stop all containers | |
docker stop $(docker ps -a -q) | |
# Delete all containers | |
docker rm $(docker ps -a -q) | |
# Delete all images | |
docker rmi $(docker images -q) |
#!/bin/sh | |
## chmod +x phpcs.sh | |
## ./phpcs.sh | |
php-cs-fixer --verbose fix --config-file=.php_cs |
<?php | |
// <!-- $string = "A man, a plan, a canal, Panama"; --> | |
function is_palindrome($string) | |
{ | |
$a = strtolower(preg_replace("/[^A-Za-z0-9]/", "", $string)); | |
return $a == strrev($a); | |
} |
<?php | |
opcache_reset(); | |
?> |
#!/usr/bin/env ruby | |
# make sure you the watir gem installed -> gem install watir | |
require 'watir' | |
def log (message) puts " #{message}" end | |
def success (message) puts "+ #{message}" end | |
def fail (message) puts "- #{message}" end | |
def notify (message) | |
success message.upcase | |
system 'osascript -e \'Display notification Burgerbot with title "%s"\'' % message | |
rescue StandardError => e |
[ | |
{ | |
"keys": [".", "p"], | |
"command": "run_phpunit_test" | |
}, | |
{ | |
"keys": [".", "m"], | |
"command": "run_single_phpunit_test" | |
}, | |
{ |