Skip to content

Instantly share code, notes, and snippets.

View dapseen's full-sized avatar
🏠
Working from home

Adedapo Ajuwon dapseen

🏠
Working from home
View GitHub Profile
@bmbariah
bmbariah / bitbucket-pipelines.yml
Created November 5, 2019 08:20
Bitbucket Pipeline android upload apk to slack
image: mingc/android-build-box:1.12.0
pipelines:
branches:
master:
- step:
caches:
- gradle
- gradlewrapper
- androidavd
@cmer81
cmer81 / Ingress.yaml
Created October 14, 2019 14:10
Ingress
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
kubernetes.io/tls-acme: "true"
certmanager.k8s.io/cluster-issuer: letsencrypt-prod
nginx.ingress.kubernetes.io/secure-backends: "true"
name: ${CICD_GIT_REPO_NAME}
namespace: middle-web-${CICD_GIT_BRANCH}
spec:
@SocketWeaver
SocketWeaver / production-pipeline.yaml
Last active November 4, 2019 13:09
production pipeline
tags:
release-*:
- step:
name: Test for production
script:
- echo "run test"
- step:
name: Build for production
script:
- docker login -u $DOCKER_ID -p $DOCKER_PW
@dane-stevens
dane-stevens / bitbucket-pipelines.yml
Last active November 4, 2019 11:00
Sample Bitbucket Pipelines Config
options:
# Enable docker for the Pipeline
docker: true
pipelines:
branches:
master:
- step:
name: Build app for Production (create-react-app)
image: mhart/alpine-node:10
@mbaitelman
mbaitelman / README.md
Last active February 20, 2024 22:31
Automated Terraform Deployments Using Bitbucket Pipelines
pipelines:
default:
- step:
script:
- echo "I made a pipeline!"
tags: # add the 'tags' section
release-*: # specify the tag
- step: # define the build pipeline for the tag
#python image with aws-cli installed
image: atlassian/pipelines-awscli
@ibraheem4
ibraheem4 / postgres-brew.md
Last active April 14, 2024 20:30 — forked from sgnl/postgres-brew.md
Installing Postgres via Brew (OSX)

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update
@kigen
kigen / bitbucket-pipelines.yml
Created May 3, 2017 06:48
Android bitbucket pipeline config.
image: uber/android-build-environment:latest
pipelines:
default:
- step:
script:
- echo y | android update sdk --filter "extra-android-m2repository" --no-ui -a # Grab the Android Support Repo which isn't included in the container
- mkdir "${ANDROID_HOME}/licenses" || true
- echo "8933bad161af4178b1185d1a37fbf41ea5269c55" > "${ANDROID_HOME}/licenses/android-sdk-license"
- ./gradlew assembleRelease
@ankurk91
ankurk91 / install_lamp_ubuntu.sh
Last active April 10, 2024 18:50
Ubuntu 22 - PHP development (php 7.4 / 8.2, apache 2.4)
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
# Ubuntu 20/22 dev Server
# Run like (without sudo) - bash install_lamp.sh
# Script should auto terminate on errors
export DEBIAN_FRONTEND=noninteractive
@hirobo
hirobo / mongoexport_with_query.sh
Last active August 6, 2020 11:49
Shell script for mongoexport with query
#!/bin/sh
#########################################################
# usage
#do_mongoexport '2015-04-01' '2015-04-02' 'hoge'
#########################################################
get_millis()
{
if [ $# != 1 ]; then