To setup AWS S3 for your CI/CD,
-
Create S3 buckets for deployment
-
Create an IAM user
aws iam create-user --user-name ci-bot
To setup AWS S3 for your CI/CD,
Create S3 buckets for deployment
Create an IAM user
aws iam create-user --user-name ci-bot
#!/bin/sh | |
apt-get -y update | |
apt-get -y install git curl autoconf libx11-dev \ | |
libfreetype6-dev libgl1-mesa-dri libglib2.0-dev xorg-dev \ | |
gperf g++ build-essential cmake virtualenv python-pip \ | |
libssl1.0-dev libbz2-dev libosmesa6-dev libxmu6 libxmu-dev \ | |
libglu1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libdbus-1-dev \ | |
libharfbuzz-dev ccache clang \ |
I hereby claim:
To claim this, I am signing this object:
FROM centos:7 | |
RUN mkdir -p /opt/oracle | |
WORKDIR /opt/oracle | |
RUN yum install -y https://centos7.iuscommunity.org/ius-release.rpm | |
RUN yum update -y && \ | |
yum install -y unzip libaio python36u python36u-pip && \ |
package main | |
import "fmt" | |
func sum(id int, c <-chan int) { | |
for num := range c { | |
fmt.Printf("%d %d\n", id, num) | |
} | |
} |
# git tab completion (homebrew) | |
if [ -f `brew --prefix`/etc/bash_completion.d/git-completion.bash ]; then | |
. `brew --prefix`/etc/bash_completion.d/git-completion.bash | |
fi | |
if [ -f `brew --prefix`/etc/bash_completion.d/git-prompt.sh ]; then | |
. `brew --prefix`/etc/bash_completion.d/git-prompt.sh | |
GIT_PS1_SHOWDIRTYSTATE=true | |
export PS1='\u:\W$(__git_ps1 " (%s)") \$ ' | |
fi |
iPhone :: String -> String | |
iPhone "7" = "就是七" | |
iPhone _ = "Poor guy" | |
main = do | |
putStrLn "What is your iPhone model?" | |
model <- getLine | |
putStrLn $ iPhone model |
import Cycle from '@cycle/core'; | |
import {makeDOMDriver, div, label, input, hr, h1, button} from '@cycle/dom'; | |
import {makeHTTPDriver} from '@cycle/http'; | |
import Rx from 'rx'; | |
function main({DOM, HTTP}) { | |
const username$ = DOM.select('.username') | |
.events('input') | |
.map(ev => ev.target.value) | |
.startWith(""); |