Skip to content

Instantly share code, notes, and snippets.

View vulcandragi's full-sized avatar
🕹️
Code ever

Vulcan Dragi vulcandragi

🕹️
Code ever
  • @FarDragi GrupoW
  • Brazil, São Paulo
  • 07:42 (UTC -03:00)
View GitHub Profile
@Pamps
Pamps / bitbucket-pipelines.yml
Last active January 7, 2025 14:56
Example Bitbucket Pipeline CI script to deploy a PHP/WordPress website using FTP.
# Auto deploy staging to staging
# Manual deploy master to production
image: php:7.1.29
pipelines:
branches:
staging:
- step:
name: Deploy to Staging
script:
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active April 25, 2025 09:20
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@spalladino
spalladino / mysql-docker.sh
Created December 22, 2015 13:47
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