Skip to content

Instantly share code, notes, and snippets.

View sobanvuex's full-sized avatar
💻
Equilibrium

Alex Soban sobanvuex

💻
Equilibrium
View GitHub Profile
<?php
if (!function_exists('path')) {
/**
* Get the path to the app folder.
*
* @param null|string $path
* @param string ...$argv
*
* @return string
[Settings]
Grid=1
Suffix=_GLS
[Hotkeys]
PTT=
DisplayMode=
AICommunication=
AIArmy=
AIScout=
set -q HOMESTEAD_PATH; or set HOMESTEAD_PATH ~/Documents/Workspace/Homestead
set -q EDITOR; or set EDITOR atom
function homestead
if [ $argv ]
cd $HOMESTEAD_PATH; and vagrant $argv; and cd -
else
atom ~/.homestead/Homestead.yaml
end
end

Keybase proof

I hereby claim:

  • I am SobanVuex on github.
  • I am soban (https://keybase.io/soban) on keybase.
  • I have a public key whose fingerprint is E6DE 37A8 0F85 9A26 35C8 1BC4 1EB9 1A33 0D5F E85B

To claim this, I am signing this object:

eval (direnv hook fish)
progress ()
{
local pid="${1}"
local delay='0.1'
local indicator='┤┘┴└├┌┬┐'
# local indicator='▉▊▋▍▎▏▎▍▋▊▉'
# local indicator='▖▘▝▗'
local indicator='⣾⣽⣻⢿⡿⣟⣯⣷'
# local indicator='⠁⠂⠄⡀⢀⠠⠐⠈'
# local indicator='.oO@*'
#!/usr/bin/env bash
src='my-feature-branch'
dest='master'
git checkout ${src}
git format-patch ${dest} --stdout > verify.patch
git checkout ${dest}
git apply verify.patch --check
# Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly.
fields=0 48 17 18 38 39 40 2 46 47 49 1
sort_key=46
sort_direction=1
hide_threads=0
hide_kernel_threads=1
hide_userland_threads=0
shadow_other_users=0
show_thread_names=1
#!/bin/bash
# variables
PHP_API=${PHP_API:-$(php-config --extension-dir | cut -d '-' -f 4)}
PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR:-$(php-config --extension-dir)}
# repository
wget -O - https://download.newrelic.com/548C16BF.gpg | sudo apt-key add -
echo "deb http://apt.newrelic.com/debian/ newrelic non-free" | sudo tee -a /etc/apt/sources.list
sudo apt-get update -qq
### Localization
d-i locale string en_US
d-i keymap select US
### Network
d-i interface select auto
d-i hostname string unassigned-hostname
d-i domain string unassigned-domain
### Accounts