Skip to content

Instantly share code, notes, and snippets.

View kidiatoliny's full-sized avatar

Kidiatoliny Gonçalves kidiatoliny

View GitHub Profile
@kidiatoliny
kidiatoliny / install.md
Created April 12, 2024 22:43 — forked from bubba-h57/install.md
Instructions for installing PHP Extensions sqlsrv & pdo_sqlsrv on Apple M1 ARM64 workstations.

PHP Extensions sqlsrv & pdo_sqlsrv on Apple M1 ARM64

Install brew

If you do not already have it, install brew as follows:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install the GNU make tools

brew install autoconf automake libtool
@kidiatoliny
kidiatoliny / mysql-docker.sh
Created September 2, 2022 02:15 — forked from spalladino/mysql-docker.sh
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE
@kidiatoliny
kidiatoliny / bitbucket-pipelines.yml
Created March 29, 2021 02:43 — forked from richogreen/bitbucket-pipelines.yml
BitBucket Pipelines configuration for Create React App build and deployment to AWS S3 with CloudFront cache
# This is a sample build configuration for JavaScript.
# Check our guides at https://confluence.atlassian.com/x/14UWN for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: node:6.9.4
pipelines:
default:
- step:
module.exports = {
env: {
browser: true,
es6: true,
jest: true,
},
extends: [
'react-app',
'airbnb',
'plugin:@typescript-eslint/recommended',