- http://askubuntu.com/questions/28477/what-is-safe-to-exclude-for-a-full-system-backup
- https://wiki.archlinux.org/index.php/Full_system_backup_with_rsync
/dev/*
/lost+found
# create a local .env file with the following 4 properties: | |
# | |
# MYSQL_DATABASE=<something> | |
# MYSQL_USER=<something> | |
# MYSQL_PASSWORD=<something> | |
# MYSQL_ROOT_PASSWORD=<something> | |
# | |
# Note: I have had a LOT of issues working with anything newer then Docker Desktop v4.26.1 | |
# If you're on something newer, then double check against this release. | |
# |
/* Ultra lightweight Github REST Client */ | |
// original inspiration via https://gist.github.com/v1vendi/75d5e5dad7a2d1ef3fcb48234e4528cb | |
const token = 'github-token-here' | |
const githubClient = generateAPI('https://api.github.com', { | |
headers: { | |
'User-Agent': 'xyz', | |
'Authorization': `bearer ${token}` | |
} | |
}) |
version: '3.6' | |
services: | |
db: | |
image: mysql:latest | |
command: --default-authentication-plugin=mysql_native_password | |
environment: | |
MYSQL_ROOT_PASSWORD: e9w86036f78sd9 | |
volumes: | |
- "./database:/var/lib/mysql" | |
db_pma: |
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# agnoster's Theme - https://gist.github.com/3712874 | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts). | |
# Make sure you have a recent version: the code points that Powerline |
Hola <nombre del cliente>: | |
Ante todo muchas gracias por ponerte en contacto y por confiar en nuestros servicios para el desarrollo de tu web. | |
Necesitaría que por favor respondas las siguientes preguntas para realizar un presupuesto acorde a las necesidades de tu proyecto. | |
==================== | |
Sobre su negocio: | |
- ¿A qué se dedica tu empresa/proyecto/emprendimiento? |
<?php | |
$host = 'localhost'; | |
$user = 'root'; | |
$password = '123456'; | |
$dbname = 'pdoposts'; | |
// Set DSN | |
$dsn = 'mysql:host='. $host .';dbname='. $dbname; | |
// Create a PDO instance |
I've been using create-react-app lately as I find it very useful to kick things off while starting a project. I almost always follow JavaScript Standard Style and I found myself googling it so I figured out I should write it down.
I really like keeping dependencies as local as possible but if you prefer you can install it globally.
yarn add standard --dev
or
Backup: sudo tar -cvpzf backup.tar.gz --exclude=/backup.tar.gz --exclude=/boot --one-file-system / | |
Restore: sudo tar -xvpzf /path/to/tar/file -C / --numeric-owner |