Skip to content

Instantly share code, notes, and snippets.

View devmanfredi's full-sized avatar

Heuler Felipe Ramos Manfredi devmanfredi

View GitHub Profile
@devmanfredi
devmanfredi / git.md
Created December 13, 2019 16:55 — forked from leocomelli/git.md
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda

@devmanfredi
devmanfredi / remover-acentos.js
Created October 21, 2019 18:36 — forked from marioplumbarius/remover-acentos.js
Funcao marota para remover acentos de strings. Foi utilizado expressao regular em cima de caracteres representados na base hexadecimal.
/**
* Remove acentos de caracteres
* @param {String} stringComAcento [string que contem os acentos]
* @return {String} [string sem acentos]
*/
function removerAcentos( newStringComAcento ) {
var string = newStringComAcento;
var mapaAcentosHex = {
a : /[\xE0-\xE6]/g,
e : /[\xE8-\xEB]/g,
@devmanfredi
devmanfredi / README-Template.md
Created October 7, 2019 04:02 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@devmanfredi
devmanfredi / db.sql
Created August 30, 2019 01:43 — forked from ajunior/db.sql
Script SQL para o desafio da quinta semana da Aceleração Java da Codenation.
create table users (
id bigserial not null,
full_name varchar(100) not null,
email varchar(100) not null unique,
nickname varchar(50) not null,
password varchar(255) not null,
created_at timestamp not null default now(),
primary key (id)
);

Free O'Reilly books and convenient script to just download them.

Thanks /u/FallenAege/ and /u/ShPavel/ from this Reddit post

How to use:

  1. Take the download.sh file and put it into a directory where you want the files to be saved.
  2. cd into the directory and make sure that it has executable permissions (chmod +x download.sh should do it)
  3. Run ./download.sh and wee there it goes. Also if you do not want all the files, just simply comment the ones you do not want.