This sets up a dev machine to work on. It is setup with the following:
- Ubuntu (to get more cutting edge versions more easily)
- openVPN
- base packages (git, curl, ...)
- node
- Elixir/Erlang
- nginx
- MySQL
[scroll]>[shutdn] | |
[kp=]>[kp=mac] | |
[lctrl]>[lwin] | |
[kp-lctrl]>[kp-lwin] | |
[rctrl]>[rwin] | |
[kp-rctrl]>[kp-rwin] | |
[rwin]>[rctrl] | |
[kp-rwin]>[kp-rctrl] | |
[rshift]>[hyphen] | |
[delete]>[lwin] |
# silver searcher | |
apt-get install silversearcher-ag |
# silver searcher | |
apt-get install silversearcher-ag |
brew reinstall --with-openssl --with-libssh2 curl openssl | |
brew uninstall --ignore-dependencies php71 php71-intl php71-ast php71-mcrypt | |
brew install --force --with-httpd php72 php72-ast php72-intl --with-homebrew-curl --with-homebrew-libxslt --without-snmp --build-from-source |
function removeElement(el, retry) { | |
if (el && el.parentNode) { | |
el.parentNode.removeChild(el) | |
} | |
if (retry) { | |
setTimeout(function() { | |
removeElement(el, false) | |
}, 1000) | |
} |
function parseQueryString(queryString) { | |
queryString = queryString.substring(1) | |
var params = {}, | |
queries, | |
temp, | |
i, | |
l | |
// Split into key/value pairs | |
queries = queryString.split('&') | |
// Convert the array of strings into an object |
I hereby claim:
To claim this, I am signing this object:
package api | |
import ( | |
"bitbucket.org/jackjoe/timr/cmd/timr" | |
"net/http" | |
"net/http/httptest" | |
"strings" | |
"testing" | |
. "github.com/smartystreets/goconvey/convey" |
React: |