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
//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');
}
//Strip newline characters from ReasonPhrase.
ex.Response.ReasonPhrase = msg.Replace("\\r", string.Empty).Replace("\\n", string.Empty).Replace(Environment.NewLine, string.Empty);
@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"}
# 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"
# 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/
language: python
install:
- wget https://github.com/gohugoio/hugo/releases/download/v0.31.1/hugo_0.31.1_Linux-64bit.deb
- sudo dpkg -i hugo*.deb
- pip install Pygments
script:
- hugo
# language: python
install:
- wget https://github.com/gohugoio/hugo/releases/download/v0.39/hugo_0.39_Linux-64bit.deb
- sudo dpkg -i hugo*.deb
# - pip install Pygments
script:
- git checkout master
- rm -rf docs
git rm layouts
bash
rm -rf .git/modules/layouts
exit
log_file="notes_log.yml"
log_dir="~/Documents/github/cli-log"
my_log="$log_dir/$log_file"
alias tl-file="echo $my_log"
function wl {
start_dir=$(pwd)
cd "$log_dir"
git pull --quiet
text=""
for word in "$@"