Skip to content

Instantly share code, notes, and snippets.


Luiz Augusto Moratelli LuizMoratelli

View GitHub Profile
guiseek / confirm.decorator.ts
Created Mar 9, 2021
Decorators / Tweet 3 / 08/03/2021
View confirm.decorator.ts
* Confirm Action
* Keep it Simple Sir
* @param message
export function Confirm(message: string) {
* @param target é a classe, no nosso claso o componente ListaComponent
sibelius / runJscodeshiftXargs.bash
Created Mar 13, 2020
how to run jscodeshift using xargs
View runJscodeshiftXargs.bash
find packages/**/src -name '*.tsx' -print | xargs jscodeshift -t ./codemod.js --parser=babel --extensions=tsx
sma / example.dart
Last active Mar 4, 2021
A flutter example demonstrating a custom painter drawing selectable rects
View example.dart
// run in DartPad: <>
import 'package:flutter/material.dart';
void main() {
runApp(MaterialApp(home: RectsExample()));
class RectsExample extends StatefulWidget {
bradtraversy /
Last active Apr 15, 2021
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

joseluisq /
Created Apr 19, 2017
How add a custom field to Laravel 5.4 default login. LoginController.php

How add a custom field to Laravel 5.4 default login controller.

In this php example (app/Http/Controllers/Auth/LoginController.php) my model is called Client and the custom field for login validation is status. (Client->status)

Add in your resources/lang/en/auth.php file :

    'failed_status' => 'Your account is inactive yet. Please confirm your e-mail address.',
roachhd /
Last active Apr 15, 2021
EMOJI cheatsheet 😛😳😗😓🙉😸🙈🙊😽💀💢💥💏👫👄👃👀👛👛🗼🔮🔮🎄🎅👻


Emoji emoticons listed on this page are supported on Campfire, GitHub, Basecamp, Redbooth, Trac, Flowdock,, Kandan,, Kippt, Redmine, JabbR, Trello, Hall,, Qiita, Zendesk, Ruby China, Grove, Idobata, NodeBB Forums, Slack, Streamup, OrganisedMinds, Hackpad, Cryptbin, Kato, Reportedly, Cheerful Ghost, IRCCloud, Dashcube, MyVideoGameList, Subrosa, Sococo, Quip, And Bang, Bonusly, Discourse, Ello, and Twemoji Awesome. However some of the emoji codes are not super easy to remember, so here is a little cheat sheet. Got flash enabled? Click the emoji code and it will be copied to your clipboard.


:bowtie: 😄

patrickmaciel /
Last active Sep 30, 2020
Como configurar prefixos e rotas administrativas (autenticadas ou não) no Laravel 4.x #laravel #php
rxaviers / gist:7360908
Last active Apr 15, 2021
Complete list of github markdown emoji markup
View gist:7360908


: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:
benbalter /
Last active Apr 8, 2021
Example of how to embed a Gist on GitHub Pages using Jekyll.

Here's an example of how to embed a Gist on GitHub Pages:

{% gist 5555251 %}

All you need to do is copy and paste the Gist's ID from the URL (here 5555251), and add it to a gist tag surrounded by {% and %}.