See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs
See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs
<?php | |
// PHP Máscara CNPJ, CPF, Data e qualquer outra coisa | |
// http://blog.clares.com.br/php-mascara-cnpj-cpf-data-e-qualquer-outra-coisa/ | |
// ver em funcionamento ~~> https://ideone.com/wP7zN2 | |
function mask($val, $mask) | |
{ | |
$maskared = ''; | |
$k = 0; |
#!/bin/bash | |
iatest=$(expr index "$-" i) | |
####################################################### | |
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me | |
####################################################### | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc |
# to do: error checking/resumption code (can use pagination cursor of post to determine when script paused?) | |
# clean up repetition | |
# timing issue: if fetching by latest, someone can make a comment | |
# that puts a post out of the date limits before the looping | |
# has a chance to fetch the post | |
# do a second sweep after hitting the date limit? | |
# would have to store the script's start time and figure out | |
# when it halts due to hitting the lower date limit and | |
# reprocess comments according to that... |
apt-get update && apt-get upgrade -y && \ | |
apt-get install -y \ | |
linux-tools-common | |
linux-tools-generic | |
linux-cloud-tools-generic | |
linux-tools-`uname -r` | |
linux-cloud-tools-`uname -r` |
SSH into proxmox node and become root user. Run the following commands to download extra software dependencies we'll need.
apt update
apt install -y libsasl2-modules mailutils
Enable 2FA for the gmail account that will be used by going to security settings
# Customize BASH PS1 prompt to show current GIT repository and branch. | |
# by Mike Stewart - http://MediaDoneRight.com | |
# SETUP CONSTANTS | |
# Bunch-o-predefined colors. Makes reading code easier than escape sequences. | |
# I don't remember where I found this. o_O | |
# Reset | |
Color_Off="\[\033[0m\]" # Text Reset |
#!/usr/bin/env python | |
# | |
# AccessDump.py | |
# A simple script to dump the contents of a Microsoft Access Database. | |
# It depends upon the mdbtools suite: | |
# http://sourceforge.net/projects/mdbtools/ | |
import sys, subprocess, os | |
DATABASE = sys.argv[1] |