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
# kubectl create secret -n preprod generic ecr-renew-cred \ | |
# --from-literal=REGION=[AWS_REGION] \ | |
# --from-literal=ID=[AWS_ACCESS_KEY] \ | |
# --from-literal=SECRET=[AWS_SECRET] | |
--- | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
namespace: preprod | |
name: svc-ecr-renew |
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
FROM php:7.4-fpm-alpine | |
WORKDIR /app | |
RUN apk add --no-cache --update \ | |
&& apk add build-base \ | |
git grep curl bash \ | |
zlib-dev libzip-dev \ | |
freetype-dev \ | |
libjpeg-turbo-dev \ |
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
FROM php:7.4-fpm-alpine as App | |
ARG BUILD_ENV=development | |
ARG MIX_ENV_FILE=.env.development | |
ENV BUILD_ENV=${BUILD_ENV} | |
WORKDIR /app |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ACPI</key> | |
<dict> | |
<key>AutoMerge</key> | |
<true/> | |
<key>DSDT</key> | |
<dict> |
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 elixir | |
defmodule Commit do | |
def process([]), do: wrong_usage() | |
def process(["--message-only"]), do: wrong_usage() | |
def process(["-m"]), do: wrong_usage() | |
def process([message_only | commit_message]) when message_only in ["--message-only", "-m"], | |
do: commit_message |> format() |> compose(true) |> commit() |
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
# I would recommend to run it step by step instead of running the whole script to detect and fix any issue that may come up. | |
# Stop if something went wrong | |
set -e; | |
# database host, mine is the default localhost | |
host=localhost | |
# db user, mine is the default postgres user | |
dbuser=postgres |
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
{"version":1,"resource":"file:///Users/ramytamer/work/unipuka/unipuka-infra/yourdrm-staging/variables.tf","entries":[{"id":"kWMD.tf","timestamp":1649763578537}]} |
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
{"lastUpload":"2018-03-20T20:29:34.111Z","extensionVersion":"v2.9.0"} |
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
sudo apt-get update | |
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev nodejs | |
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev | |
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 | |
curl -sSL https://get.rvm.io | bash -s stable | |
source ~/.rvm/scripts/rvm | |
rvm install 2.1.0 | |
rvm use 2.1.0 --default | |
gem install bundler | |
gem install rails -v 4.2 |
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
sudo apt-get update | |
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev nodejs | |
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev | |
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 | |
curl -sSL https://get.rvm.io | bash -s stable | |
source ~/.rvm/scripts/rvm | |
rvm install 2.2.3 | |
rvm use 2.2.3 --default | |
gem install bundler |
NewerOlder