Skip to content

Instantly share code, notes, and snippets.

View dheysonalves's full-sized avatar
🧘‍♂️

Dheyson Alves dheysonalves

🧘‍♂️
View GitHub Profile
@dheysonalves
dheysonalves / git-commit-m.md
Created January 27, 2021 09:39 — forked from thammuio/git-commit-m.md
My commit messages.

List of conventional Commit Types and their usage

Commit Type Title Description Emoji
feat Features A new feature
fix Bug Fixes A bug Fix 🐛
docs Documentation Documentation only changes 📚
style Styles Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) 💎

|

@dheysonalves
dheysonalves / Add-ESLint-to-Laravel-Mix.md
Created January 25, 2021 23:34 — forked from EmadAdly/Add-ESLint-to-Laravel-Mix.md
Adding eslint to your Laravel application

1. Add eslint and eslint-loader and eslint-plugin-vue to your projects package.json file

npm i eslint eslint-loader eslint-plugin-vue --save-dev

2. Create a base configuration by --init

@dheysonalves
dheysonalves / toggle-ajax-loading.css
Created January 21, 2021 02:57 — forked from maxparm/toggle-ajax-loading.css
Javascript - Toggling a loading screen with jQuery ajax
.loading-container {
position:absolute;
top:0;
right:0;
bottom:0;
left:0;
display:none;
}
.loading-container:before {
position:absolute;
@dheysonalves
dheysonalves / combo_dinamico.html
Created January 10, 2021 19:01 — forked from ografael/combo_dinamico.html
Carregar combo com JQuery - Cidades e Estados
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<script type="text/javascript" src="jquery-1.7.1.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$.getJSON('estados_cidades.json', function (data) {
@dheysonalves
dheysonalves / laravel-artisan-cheatsheet
Created August 6, 2020 10:45 — forked from hoandang/laravel-artisan-cheatsheet
Laravel artisan cheatsheet
Available commands:
clear-compiled Remove the compiled class file
down Put the application into maintenance mode
env Display the current framework environment
help Displays help for a command
inspire Display an inspiring quote
list Lists commands
migrate Run the database migrations
optimize Cache the framework bootstrap files
serve Serve the application on the PHP development server
@dheysonalves
dheysonalves / React Native Clear Cache
Created July 20, 2020 16:37 — forked from jarretmoses/React Native Clear Cache
Clearing the Cache of your React Native Project
RN < 0.50 - watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache
RN >= 0.50 - watchman watch-del-all && rm -rf $TMPDIR/react-native-packager-cache-* && rm -rf $TMPDIR/metro-bundler-cache-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache
npm >= 5 - watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache verify && npm install && npm start -- --reset-cache
Windows - del %appdata%\Temp\react-native-* & cd android & gradlew clean & cd .. & del node_modules/ & npm cache clean --force & npm install & npm start -- --reset-cache
@dheysonalves
dheysonalves / Free O'Reilly Books.md
Created December 11, 2018 04:02 — forked from augbog/Free O'Reilly Books.md
Free O'Reilly Books

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.
@dheysonalves
dheysonalves / git.md
Created November 27, 2018 02:43 — forked from outronivaldo/git.md
Lista de comandos úteis do GIT

#GIT

Estados

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

Ajuda