Skip to content

Instantly share code, notes, and snippets.

View AlexGalhardo's full-sized avatar
😀
Remember: Always Have Fun

Alex Galhardo AlexGalhardo

😀
Remember: Always Have Fun
View GitHub Profile
@AlexGalhardo
AlexGalhardo / bobp-python.md
Created April 8, 2018 18:32 — forked from sloria/bobp-python.md
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens
@AlexGalhardo
AlexGalhardo / README.md
Created April 11, 2018 17:55 — forked from hofmannsven/README.md
My simply MySQL Command Line Cheatsheet
@AlexGalhardo
AlexGalhardo / MongoDB
Created April 12, 2018 02:24 — forked from amirkheirabadi73/MongoDB
List All Command In MongoDb
show dbs
// LIst Data Base
show collections
// List Collections
use test
// Select Db
db
@AlexGalhardo
AlexGalhardo / gist:5029b3f46e4b2f80f98b3fb1c329d7f8
Created April 12, 2018 02:25 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@AlexGalhardo
AlexGalhardo / php-pdo-mysql-crud.md
Created April 28, 2018 04:47 — forked from odan/php-pdo-mysql-crud.md
Basic CRUD operations with PDO and MySQL

Basic CRUD operations with PDO

CRUD = Create, Read, Update, Delete

Open a database connection

$host = '127.0.0.1';
$dbname = 'test';
$username = 'root';
@AlexGalhardo
AlexGalhardo / git.md
Created April 30, 2018 02:13 — forked from leocomelli/git.md
Lista de comandos úteis do GIT

#GIT

Estados

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

Ajuda

@AlexGalhardo
AlexGalhardo / get.js
Created June 9, 2018 21:22 — forked from cagartner/get.js
Fazendo requisições em Ajax utilizando Javascript puro
// Exemplo de requisição GET
var ajax = new XMLHttpRequest();
// Seta tipo de requisição e URL com os parâmetros
ajax.open("GET", "minha-url-api.com/?name=Henry&lastname=Ford", true);
// Envia a requisição
ajax.send();
// Cria um evento para receber o retorno.
@AlexGalhardo
AlexGalhardo / npm-cheat-sheet.md
Created June 29, 2018 04:16 — forked from vinicius73/npm-cheat-sheet.md
Node.js - npm Cheat Sheet

Node.js - npm Cheat Sheet

(Descrição completa e mais comandos aqui - https://npmjs.org/doc/index.html)

Instale um pacote e também atualize o package.json com a versão instalada e o nome do pacote.
npm install <module-name> --save
<title>Preview Imagem</title>

Cadastrar Imagem

Tabelinha de permissões:
Permissão Binário Octal
--- 000 0
--x 001 1
-w- 010 2
-wx 011 3
r-- 100 4
r-x 101 5
rw- 110 6