-
install git
sudo yum install git
-
build deps for python via pyenv
sudo yum install zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl-devel
-
more db deps
sudo yum install -y postgresql postgresql-server postgresql-contrib postgresql-devel
-
"initialize the postgres cluster
sudo service postgresql initdb && \
sudo service postgresql start
-
install NVM
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
This file contains 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
<div class="ou-container ou-container--white"> | |
<nav class="ou-nav"> | |
<a href="https://www.library.ucla.edu/"> | |
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/1302838/ucla-library-logo-blue_resized.svg" alt="UCLA Library Logo" class="ou-nav__logos"> | |
</a> | |
<a href="https://100.ucla.edu/initiatives" target="_blank"> | |
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/1302838/ucla_100_logo_blue.png" alt="UCLA 100 Centennial Logo" class="ou-nav__logos"> | |
</a> | |
</nav> |
This file contains 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
0x6f7f8c0a715c48726b7f5ec613c65671ffe67cb0 |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Say "Hello, world!" with Hoodie</title> | |
</head> | |
<body> | |
<h1>Say "Hello, world!" with Hoodie</h1> | |
<script src="hoodie/client.js"></script> | |
</body> |
This file contains 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
# do: | |
- name: Create user, ansible, with a key & wheel | |
user: | |
name: ansible | |
shell: /bin/bash | |
groups: wheel | |
# don't: | |
- name: Allow the ansible user to sudo to root by adding it to the wheel group in /etc/group | |
lineinfile: | |
path: /etc/group |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head lang="en"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta charset="UTF-8"> | |
<script src="https://code.jquery.com/jquery-1.11.3.js"></script> | |
<style> | |
span { | |
color: white; |
This file contains 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
/* | |
* Date Format 1.2.3 | |
* (c) 2007-2009 Steven Levithan <stevenlevithan.com> | |
* MIT license | |
* | |
* Includes enhancements by Scott Trenda <scott.trenda.net> | |
* and Kris Kowal <cixar.com/~kris.kowal/> | |
* | |
* Accepts a date, a mask, or a date and a mask. | |
* Returns a formatted version of the given date. |
This file contains 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
sudo apt update && sudo apt install -y build-essential byobu git | |
git clone https://github.com/ProboCI/probo.git | |
git clone https://github.com/ProboCI/probo-asset-receiver.git | |
git clone https://github.com/ProboCI/probo-loom.git | |
git clone https://github.com/ProboCI/probo-proxy.git | |
wget -qO- https://get.docker.com/ | sudo sh | |
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
nvm install v4.8.2 |
This file contains 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
sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | |
sudo apt-get update | |
sudo apt-get install -y docker-ce |
This file contains 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
curl 'https://xkpasswd.net/s/index.cgi' -H 'Pragma: no-cache' -H 'Origin: https://xkpasswd.net' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36' -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -H 'Accept: */*' -H 'Cache-Control: no-cache' -H 'X-Requested-With: XMLHttpRequest' -H 'Cookie: gsScrollPos=' -H 'Connection: keep-alive' -H 'Referer: https://xkpasswd.net/s/' --data 'a=genpw&n=3&c=%7B%22num_words%22%3A3%2C%22word_length_min%22%3A4%2C%22word_length_max%22%3A8%2C%22case_transform%22%3A%22LOWER%22%2C%22separator_character%22%3A%22NONE%22%2C%22padding_digits_before%22%3A0%2C%22padding_digits_after%22%3A2%2C%22padding_type%22%3A%22NONE%22%2C%22random_increment%22%3A%22AUTO%22%7D' --compressed -k | /Applications/jq-osx-amd64 |
NewerOlder