This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Initializing App..." | |
# ===== Install git submodules ===== | |
echo "Installing git submodules..." | |
git submodule add https://github.com/HighgateCross/Form-Functions.git public/javascripts/form_functions | |
git submodule add https://github.com/HighgateCross/Validate.git lib/Validate | |
git submodule add https://github.com/HighgateCross/Stagehand.git lib/Stagehand |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<option value="">Select...</option> | |
<option value="AA">AA</option> | |
<option value="AE">AE</option> | |
<option value="AL">Alabama</option> | |
<option value="AK">Alaska</option> | |
<option value="AB">Alberta</option> | |
<option value="AP">AP</option> | |
<option value="AZ">Arizona</option> | |
<option value="AR">Arkansas</option> | |
<option value="BC">British Columbia</option> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\w$(git branch &>/dev/null;\ | |
if [ $? -eq 0 ]; then \ | |
echo "$(echo `git status` | grep "nothing to commit" > /dev/null 2>&1; \ | |
if [ "$?" -eq "0" ]; then \ | |
# @4 - Clean repository - nothing to commit | |
echo "⚡"; \ | |
else \ | |
# @5 - Changes to working tree | |
echo "\[\033[31m\]⚡\[\033[01;00m\]"; \ | |
fi)"; \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awk '{ print substr($0, index($0,$3)) }' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git status | grep deleted | awk '{ print substr($0, index($0,$3)) }' | xargs -d '\n' git rm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local cb = peripheral.wrap('left') | |
local me = peripheral.wrap('bottom') | |
local chestMapping = {} | |
function getUuid(id,meta) | |
return id + meta * 32768 | |
end | |
chestMapping['_chendo_'] = 0 -- down |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git status | grep deleted | awk '{ print substr($0, index($0,$3)) }' | xargs -d '\n' git checkout -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Test::More; | |
# Intermediately Failing test perl 5.18.0 > | |
is_deeply { | |
'errors' => [ | |
{ | |
'last_name' => 'must be unique when combined with first_name, middle_name' | |
}, | |
{ | |
'middle_name' => 'must be unique when combined with first_name, last_name' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Test::Deep; | |
cmp_bag [ | |
{ 'middle_name' => 'must be unique when combined with first_name, last_name' }, | |
{ 'first_name' => 'must be unique when combined with middle_name, last_name' }, | |
{ 'last_name' => 'must be unique when combined with first_name, middle_name and must be unique when combined with suffix' }, | |
{ 'suffix' => 'must be unique when combined with last_name' } | |
], [ | |
{ 'suffix' => 'must be unique when combined with last_name', }, | |
{ 'middle_name' => 'must be unique when combined with first_name, last_name', }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<style> | |
table { | |
width: 100%; | |
max-width: 700px; | |
margin: 0 auto; |
OlderNewer