Skip to content

Instantly share code, notes, and snippets.

View devisnotnull's full-sized avatar
🎯
Focusing

Alex Brown @lextech devisnotnull

🎯
Focusing
View GitHub Profile
@devisnotnull
devisnotnull / mysql.yaml
Created December 23, 2019 19:39
Mysql docker compose
# Use root/example as user/password credentials
version: '3.1'
services:
db:
image: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
@devisnotnull
devisnotnull / Jenkins.ytaml
Created December 23, 2019 19:39
Jenkins docker compose
version: '2'
services:
jenkins:
image: istresearch/jenkins:latest
container_name: jenkins
user: jenkins
environment:
JENKINS_HOST_HOME: "/data/jenkins"
ports:
- "8080:8080"
@devisnotnull
devisnotnull / PurseFolderFromGit.sh
Created January 5, 2020 22:17
PurseFolderFromGit
git filter-branch --tree-filter "rm -rf node_modules" --prune-empty HEAD
git for-each-ref --format="%(refname)" refs/original/ | xargs -n 1 git update-ref -d
echo node_modules/ >> .gitignore
git add .gitignore
git commit -m 'Removing node_modules from git history'
git gc
git push origin master --force
@devisnotnull
devisnotnull / multiple_ssh_setting.md
Created January 6, 2021 21:55 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@devisnotnull
devisnotnull / multiple_ssh_setting.md
Created January 6, 2021 21:55 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"