Skip to content

Instantly share code, notes, and snippets.

View InTEGr8or's full-sized avatar
😊
Always Be Coding

Mark Stouffer InTEGr8or

😊
Always Be Coding
View GitHub Profile
# GitHub A records
# 192.30.252.153
# 192.30.252.154
#!/bin/bash
#*
# rm -rf public
# git submodule add -b master git@github.com:InTEGr8or/hugo_blackplain_theme.git layouts
# git clone https://gist.github.com/aad5b14b17276e803d352898a6c88c5b.git tmp
# mv hugo_deploy.sh .
# rm -rf tmp/
# GitHub A records
# 192.30.252.153
# 192.30.252.154
#!/bin/bash
#*
# rm -rf public
# git submodule add -b master git@github.com:InTEGr8or/hugo_blackplain_theme.git layouts
# git clone https://gist.github.com/aad5b14b17276e803d352898a6c88c5b.git tmp
# mv hugo_deploy.sh .
# rm -rf tmp/
# GitHub A records
# 192.30.252.153
# 192.30.252.154
#!/bin/bash
#*
# rm -rf public
# git submodule add -b master git@github.com:InTEGr8or/hugo_blackplain_theme.git layouts
printf "\033[0;32mDeploying updates to GitHub...\033[0m"
@InTEGr8or
InTEGr8or / cloudSettings
Last active June 25, 2020 13:05
Visual Studio Code Sync Settings Gist
{"lastUpload":"2020-06-25T13:05:18.373Z","extensionVersion":"v3.4.3"}
//Strip newline characters from ReasonPhrase.
ex.Response.ReasonPhrase = msg.Replace("\\r", string.Empty).Replace("\\n", string.Empty).Replace(Environment.NewLine, string.Empty);
//Accepts a date string and returns a date string formatted for Kendo DatePickers
function dateForKendo(date) {
return kendo.toString(kendo.parseDate(date), 'MM/dd/yyyy');
}