┌──────────────────────────────┐
│ │
┌──────┐ │ test/index.html │
│lambda│ │ │
│change├───────► │
test.react.app ┌─────────┐ │origin│ ┌──────────────────────────────┤
───────────────►│ ├─────►└──────┴┐ │ │
│cloudfron│ │ │ │
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
#!/bin/bash | |
mkdir -p $(pwd)/minecraft-data | |
### other ops | |
# docker exec -i mc rcon-cli | |
# -e MEMORY=2G | |
# -e TYPE=SPIGOT | |
# -e OVERRIDE_SERVER_PROPERTIES=true ... | |
# -e SERVER_NAME=MyServer ... |
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
AWSTemplateFormatVersion: "2010-09-09" | |
Description: Pipeline | |
Parameters: | |
SsmSlackWebHookParam: | |
Type: String | |
Description: Slack web hook path from ssm parameter store | |
Default: "/DEVOPS/SLACKWEBHOOK" | |
Resources: | |
PipelineEventsRule: | |
Type: 'AWS::Events::Rule' |
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
arn:aws:iam::aws:policy/service-role/AmazonEC2RoleforSSM |
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
# /tmp/compose/ | |
version: '3.3' | |
services: | |
db: | |
image: mysql:5.7 | |
volumes: | |
- db_data:/var/lib/mysql | |
restart: always | |
environment: |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure("2") do |config| | |
config.vm.box = "centos/7" | |
config.vm.provider "virtualbox" do |vb| |
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
## Make sure your Subnet has internet access | |
variable "subnet" {} | |
variable "vpc" {} | |
provider "aws" { | |
region = "us-east-1" | |
} | |
data "aws_vpc" "sample" { | |
id = "${var.vpc}" |
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
# Start a container that mimic the lambda environment | |
docker run -it --rm --entrypoint bash -e ODBCINI=/var/task -e ODBCSYSINI=/var/task -v "$PWD":/var/task lambci/lambda:build-python2.7 | |
# Then, download ODBC source code, compile and take the output | |
curl ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-2.3.5.tar.gz -O | |
tar xvzf unixODBC-2.3.5.tar.gz | |
cd unixODBC-2.3.5 | |
./configure --sysconfdir=/var/task --disable-gui --disable-drivers --enable-iconv --with-iconv-char-enc=UTF8 --with-iconv-ucode-enc=UTF16LE --prefix=/home | |
make install | |
cd .. |
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
Not a single Colombian university teaches software engineering. Really. Not a single one. | |
by ALEX TORRENEGRA on DECEMBER 11, 2014 | |
Software engineering and computer science have played a major role in the most recent innovations that have changed the way we live: rocketry, the Internet, mobile phones, search engines, massive air travel, etc. [1]. In fact, 92% of the largest U.S.-based software companies started since 2003 had a technical co-founder [2]. Any nation that hopes to remain competitive should have great software engineers. As strange as it may sound, there aren’t any universities in Colombia teaching software engineering or computer science. It’s impossible to attend a Colombian university to become a software engineer. | |
How did Colombia allow this to happen? | |
For decades, Colombian universities have taught something called “systems engineering.” Systems engineering is “an interdisciplinary field of engineering that focuses on how to design and manage complex engineering systems over their life cy |
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
#include <iostream> | |
#include <string> | |
using namespace std; | |
int main(){ | |
string str; | |
while(cin >> str) | |
cout << str << endl; | |
} |
NewerOlder