Skip to content

Instantly share code, notes, and snippets.

View cesarAugusto1994's full-sized avatar

César Augusto Sousa cesarAugusto1994

  • Provider
  • PInheiros/ES
View GitHub Profile
@cesarAugusto1994
cesarAugusto1994 / RNUIAPP - ProfileScreen1.jsx
Created October 22, 2021 21:29 — forked from akulsr0/RNUIAPP - ProfileScreen1.jsx
React Native UI - Profile Screen 1
import React, { useState } from 'react';
import {
StyleSheet,
Text,
View,
ScrollView,
TouchableOpacity,
Image,
ActivityIndicator,
Dimensions,
require 'capistrano-db-tasks'
# config valid only for current version of Capistrano
lock '3.7.1'
# Change these
server 'myproject.com', port: 54321, roles: [:web, :app, :db], primary: true
set :repo_url, '[email protected]:steven_chanin/myproject.git'
set :application, 'myproject'
@cesarAugusto1994
cesarAugusto1994 / Random-string
Created August 3, 2020 11:31 — forked from 6174/Random-string
Generate a random string in JavaScript In a short and fast way!
//http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript
Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
@cesarAugusto1994
cesarAugusto1994 / git.md
Created September 25, 2017 16:41 — forked from leocomelli/git.md
Lista de comandos úteis do GIT

#GIT

Estados

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

Ajuda

<Comandos GIT>
[Repositório]
git –bare init
Cria um repositório git para acesso remoto
[ Commits ]
git add -A
// Adiciona todas as alterações, inclusive arquivos novos, para commit