Skip to content

Instantly share code, notes, and snippets.

View iberno's full-sized avatar

Iberno Hoffmann iberno

View GitHub Profile
@iberno
iberno / gist:241755df6f1740f474b07d1b8daed91b
Last active May 10, 2020 01:18
Ubuntu Debian - Development Environment
# Ubuntu / Devian
## Development Installation Process
# Install git
sudo apt install git
- config
git config --global user.name "username"
git config --global user.email "[email protected]"
@iberno
iberno / gist:aa0dc7a13d0c3acebd8568a86fce3f05
Last active January 31, 2020 11:52
Install Tailwindcss on Reactjs
# Installations
npm install --save-dev or yarn add tailwindcss -D
npm install --save-dev or yarn add ṕostcss autoprefixer -D
#Config File
Generate tailwind file using npx tailwind int tailwind.js
create postfix.config.js on your folder project
#copy and past to postfix config file
const tailwindcss = require('tailwindcss');
@iberno
iberno / setup.sh
Created June 2, 2018 03:52
Creating a Remote installation for Cloud Service
#!/bin/bash
echo "---- Iniciando instalacao do ambiente de Desenvolvimento PHP ---"
echo "--- Atualizando lista de pacotes ---"
sudo apt-get update
echo "--- Definindo Senha padrao para o MySQL e suas ferramentas ---"
DEFAULTPASS="deinir_senha"
@iberno
iberno / gulpfile.js
Created February 22, 2018 14:46
Environment Gulp Sass BrowserSync
var gulp = require('gulp');
var browserSync = require('browser-sync').create();
var sass = require('gulp-sass');
//Compilar sass em CSS & injetar no navegador
gulp.task('sass', function(){
return gulp.src(['src/scss/bootstrap.scss', 'src/scss/*.scss'])
.pipe(sass())
.pipe(gulp.dest("src/css"))
.pipe(browserSync.stream());
@iberno
iberno / gist:8cc0ed2f6d55a9f2d9968d3446727704
Created November 24, 2016 04:07
Comandos Postfix - Postfix Commands
Para enviar um email usando a linha de commando use
To Send email by command line use
date | mail -s "Mail Test Postfix" [email protected]
------------------------------------------------------
Para Listar a caixa ou saída do Postfix use o comando
To List Queue Box use
Mailq
Siga os seguintes Passos <Follow this steps>
1 - No terminal copie e cole o comando abaixo para criar o arquivo
1 - < On terminal copy and paste this command line to create a file >
sudo vim /etc/postfix/sasl_passwd
2 - Insira as infomações de smtp e porta e senha
2 - < Insert your smtp account informations >
/etc/postfix/sasl_passwd
[smtp.gmail.com]:587 [email protected]:PASSWORD