Skip to content

Instantly share code, notes, and snippets.

View doponalopes's full-sized avatar
🏠
Working from home

Christopher Dopona Lopes doponalopes

🏠
Working from home
View GitHub Profile
@LFSCamargo
LFSCamargo / AnimatedGate.tsx
Created May 30, 2019 01:48
Animated Twitter LaunchScreen
import * as React from 'react'
import { Animated, Easing, StatusBar, MaskedViewIOS, View, ViewStyle } from 'react-native'
import icons from '../../icons'
import lightTheme from '../../config/theme'
interface Props {
bootstraped: boolean
}
const AnimatedGate: React.FunctionComponent<Props> = (props) => {
@viniceosm
viniceosm / timeline-js.md
Last active November 1, 2018 14:53
editions and years of ecma

New editions (starting with 2015) will be named ES followed by the year of release.

editions year
ES1: June 1997 
ES2: June 1998
ES3: Dec. 1999 
ES4: October 2007
ES5: Dec. 2009
@viniceosm
viniceosm / orderByArrayOfObjects.js
Created August 1, 2018 17:37
order by [nome or idade] array of objects js
let pessoas = [
{
nome: 'Naiara',
idade: 18
},
{
nome: 'Alice',
idade: 24
},
{
@viniceosm
viniceosm / concatMongoose.md
Last active July 31, 2018 11:35
function to search with mongoose and concatenate results

concatRes(addAttrReference, fnsPesquisa [, callback])

param type description
addAttrReference boolean true se quer que adicione um atributo dizendo de que model ela é
fnsPesquisa array array de objeto com controller e query
callback função opcional, função de retorno quando terminar a concatenação
var cFis = {
@viniceosm
viniceosm / inheritance.js
Last active August 10, 2018 10:22
Herança ES5 vs ES6 | super/extends
//---- ES6
class Pessoa {
constructor(nome) {
this._nome = nome;
}
falar(mensagem) {
console.log(`${this._nome}: ${mensagem}`);
}
@PurpleBooth
PurpleBooth / README-Template.md
Last active June 25, 2024 09:23
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

@rxaviers
rxaviers / gist:7360908
Last active June 27, 2024 11:12
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: