There are a lot of continuous integration and continuous delivery services. All of them have a different set of functionality; some of them require payment, some of them are free, some only manage continuous integration and not delivery/deployment, etc.
This file contains hidden or 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
#!/usr/bin/env bash | |
# | |
# This is a modification from https://gist.github.com/omegahm/28d87a4e1411c030aa89 | |
# Colours and convention picked from https://robinpowered.com/blog/best-practice-system-for-organizing-and-tagging-github-issues/ | |
# | |
# Instructions | |
# Bash 4+ is needed because of associative arrays | |
# jq (https://stedolan.github.io/jq/) | |
# Create access Token from Github (https://help.github.com/articles/creating-an-access-token-for-command-line-use/) and save it under ".token" file | |
# Comment / Uncomment / Add, all the labels you want |
This file contains hidden or 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
#!/usr/bin/env bash | |
# shellcheck disable=SC2034 | |
# -------------------------------------------------------------------------------------------------- | |
# ================================================================================================== | |
# ================================================================================================== | |
# ************************************************************************************************** | |
# | |
# ,ad8888ba, 88 88 | |
# d8"' `"8b 88 88 | |
# d8' 88 88 |
There are two types of markup in Liquid: Output and Tag.
- Output markup (which may resolve to text) is surrounded by
{{ matched pairs of curly brackets (ie, braces) }}
- Tag markup (which cannot resolve to text) is surrounded by
This file contains hidden or 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
/* Time-Scales */ | |
$aTimeScale = array( | |
'year' => 31536000, | |
'month' => 2628000, | |
'week' => 604800, | |
'day' => 86400, | |
'hour' => 3600, | |
'minute' => 60 | |
); | |
/* Expires */ |
This file contains hidden or 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
$mysqli = new mysqli($host,$user,$pass,$db,$port); | |
if ($mysqli->connect_errno) | |
{ | |
error_log('Database Connection Error: '.$db.' (URI: '.$_SERVER["REQUEST_URI"].'): #'.$mysqli->connect_errno.' - '.$mysqli->connect_error, 0); | |
return false; | |
} | |
else | |
{ | |
$aReturn = array(); | |
if ($result = $mysqli->query($sql)) |
This file contains hidden or 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> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7 ie6" lang="en"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8 ie7" lang="en"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9 ie8" lang="en"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> | |
<head> | |
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"> | |
<link rel="schema.DCTERMS" href="http://purl.org/dc/terms/"> | |
<title></title> | |
<meta name="description" content=""> |