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
//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'); | |
} |
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
//Strip newline characters from ReasonPhrase. | |
ex.Response.ReasonPhrase = msg.Replace("\\r", string.Empty).Replace("\\n", string.Empty).Replace(Environment.NewLine, string.Empty); |
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
{"lastUpload":"2020-06-25T13:05:18.373Z","extensionVersion":"v3.4.3"} |
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
# GitHub A records | |
# 192.30.252.153 | |
# 192.30.252.154 | |
#!/bin/bash | |
#* | |
# rm -rf public | |
# git submodule add -b master [email protected]:InTEGr8or/hugo_blackplain_theme.git layouts | |
printf "\033[0;32mDeploying updates to GitHub...\033[0m" |
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
# GitHub A records | |
# 192.30.252.153 | |
# 192.30.252.154 | |
#!/bin/bash | |
#* | |
# rm -rf public | |
# git submodule add -b master [email protected]:InTEGr8or/hugo_blackplain_theme.git layouts | |
# git clone https://gist.github.com/aad5b14b17276e803d352898a6c88c5b.git tmp | |
# mv hugo_deploy.sh . | |
# rm -rf tmp/ |
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
# GitHub A records | |
# 192.30.252.153 | |
# 192.30.252.154 | |
#!/bin/bash | |
#* | |
# rm -rf public | |
# git submodule add -b master [email protected]:InTEGr8or/hugo_blackplain_theme.git layouts | |
# git clone https://gist.github.com/aad5b14b17276e803d352898a6c88c5b.git tmp | |
# mv hugo_deploy.sh . | |
# rm -rf tmp/ |
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
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 |
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
# 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 |
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
git rm layouts | |
bash | |
rm -rf .git/modules/layouts | |
exit |
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
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 "$@" |
OlderNewer