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
#!/bin/bash | |
# Written by Andy Boutte and David Balderston of howtoinstallghost.com, ghostforbeginners.com and allaboutghost.com | |
# updateghost.sh will update your current ghost install to the latest version without you losing any content | |
if [ -f config.js ] | |
then | |
echo `whoami` | |
# Make temporary directory and download latest Ghost. | |
mkdir temp | |
cd temp |
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
const denodeify = (fn) => | |
function (...args) { | |
// bind our node function to the current context with arguments | |
const boundFn = fn.bind(this, ...args); | |
return new Promise((resolve, reject) => { | |
// call our bound node-style function | |
// typical node-style is `callback (err, result)` | |
// but we can account for more arguments | |
// by using a spread |
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
Will Acton | |
1912 SW 6th Ave. #1222, Portland, OR 97201 (503) 939-8737 [email protected] | |
Self-Summary | |
I am a senior at Portland State University about to graduate with a B.S. in Mathematics. I also spend my | |
free time programming and training/coaching martial arts. I am hard working and clever. My most valuable | |
attribute is my ability to pick up and learn new skills in a new environment at a fast pace, on the go. I have | |
lots of patience and excellent interpersonal communication skills. | |
Experience |
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 python | |
# Description: | |
# Downloads a file from a URL to a given file name, then checks to see if a certain phrase is | |
# contained in it. | |
# | |
#Instructions: | |
# Running the script is easy: 'python puppet.py <URL> <FILE>' will download data from <URL> over | |
# HTTP and save it locally to <FILE>. It will then search for the default phrase 'position = salesengineering-intern', | |
# and if it does not find it, append the phrase to the end of the file and then check again. | |
# |
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 python | |
# Description: | |
# Downloads a file from a URL to a given file name, then checks to see if a certain phrase is | |
# contained in it. | |
# | |
#Instructions: | |
# Running the script is easy: 'python puppet.py <URL> <FILE>' will download data from <URL> over | |
# HTTP and save it locally to <FILE>. It will then search for the default phrase 'position = support-intern', | |
# and if it does not find it, append the phrase to the end of the file and then check again. | |
# |
NewerOlder