Skip to content

Instantly share code, notes, and snippets.

@eveningkid
eveningkid / react-native-reanimated-drag-sort_apple-music.jsx
Last active June 25, 2024 14:31
React Native Reanimated 2 Multiple Drag and Sort: Apple Music Example
// Expo SDK40
// expo-blur: ~8.2.2
// expo-haptics: ~8.4.0
// react-native-gesture-handler: ~1.8.0
// react-native-reanimated: ^2.0.0-rc.0
// react-native-safe-area-context: 3.1.9
import React, { useState } from 'react';
import {
Image,
@dheysonalves
dheysonalves / model.md
Last active January 23, 2021 00:45
Como estruturar um diagrama de classes e modelar um banco relacional?

Introdução

Para iniciar o planejamento do módulo de atividades, primeiro deve-se definir qual conjunto de atividades o fluxograma irá cobrir. Em um diagrama de atividades, definimos um enquadradamento do fluxo de atividades de usuário. Por exemplo, conjunto de atividades relacionadas ao módulo de pagamento, então todo o fluxograma será enquadrado nessa funcionalidade.

Para criar um fluxograma de atividades, possuímos uma pequena nomenclatura básica. Mas antes, vamos definir sobre o que é diagrama de atividades?

Diagrama de Atividades

De maneira genérica, é um padrão para definir estrutura de projetos de software. Com ela, podemos visualizar de maneira ampla, o fluxo de atividades de usuário e as variantes de excessão - onde incluem erros, cenários específicos, entre outros.

@singh100ful
singh100ful / ImageUploadForm.js
Created May 30, 2020 22:30
React Native Image Picker Form Using Formik
import React, {Component} from 'react';
import {Formik} from 'formik';
import ImagePicker from 'react-native-image-picker';
import {
View,
Text,
TouchableOpacity
} from 'react-native';
export deafault class App extends Component {
@louy
louy / AccessibilityWrapper.tsx
Last active November 30, 2023 10:23
RN Accessibility Wrapper, a custom view that allows you to control the accessibility behaviour of a React Native component tree
/**
* @author Louay Alakkad (github.com/louy)
* @license MIT https://opensource.org/licenses/MIT
*/
import React from 'react'
import PropTypes from 'prop-types'
import {
NativeModules,
ViewProps,
ViewPropTypes,
<?php
/**
* User: Matheus Gomes
* E-maiL: matheus@lenzy.com.br
* Date: 07/03/19
* Time: 15:32
*/
class CreditCard
{
@atomjar
atomjar / product_style
Last active January 22, 2024 11:57
Stylesheet for Vue Mastery's Intro to Vue course
body {
font-family: tahoma;
color:#282828;
margin: 0px;
}
.nav-bar {
background: linear-gradient(-90deg, #84CF6A, #16C0B0);
height: 60px;
margin-bottom: 15px;
@jkrems
jkrems / es-module-history.md
Last active November 5, 2023 19:35
History of ES modules

Modules - History & Future

History

@Geoff-Ford
Geoff-Ford / composing-software.md
Last active July 18, 2024 08:32
Eric Elliott's Composing Software Series

Eric Elliott's "Composing Software" Series

A collection of links to the excellent "Composing Software" series of medium stories by Eric Elliott.

Edit: I see that each post in the series now has index, previous and next links. However, they don't follow a linear flow through all the articles with some pointing back to previous posts effectively locking you in a loop.

@hoandang
hoandang / laravel-artisan-cheatsheet
Last active June 21, 2024 06:05
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
@odan
odan / xmapp-replacing-mariadb-with-mysql.md
Last active June 4, 2023 19:44
XAMPP - Replacing MariaDB with MySQL

XAMPP - Replacing MariaDB with MySQL

This post has been deleted.