Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Evandro Ribeiro ribeiroevandro

🏠
Working from home
View GitHub Profile
View style.ts
import styled, { css } from 'styled-components';
interface ContainerProps {
isFocused: boolean;
isFilled: boolean;
isErrored: boolean;
isFullWidth?: boolean;
}
export const Container = styled.div<ContainerProps>`
@ribeiroevandro
ribeiroevandro / data.json
Last active Feb 3, 2020
Configuring json-server to expose static files, in addition to API endpoints
View data.json
{
"notifications": [
{
"id": 1,
"message": "Message",
"date": "2020-02-03T14:09:52.587Z"
},
{
"id": 2,
"message": "Message 2",
View Login.js
import React, { useState, useEffect, useRef } from "react";
import {
View,
Image,
StyleSheet,
TextInput,
Text,
StatusBar,
TouchableOpacity,
AsyncStorage,
View Dependencias
yarn add prop-types react-navigation reactotron-react-native --save
yarn add eslint-import-resolver-babel-module babel-plugin-module-resolver babel-eslint eslint eslint-config-airbnb eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-native --dev
View README.md
View triangule.styl
//
// Default
// Usage: $triangle(width, height, direction, color)
// ------------------------------------------------------------
$triangle($width = 10px, $height = 10px, $direction = 'bottom', $color = $gray-darker)
background none
border-style solid
height 0
width 0
View keybase.md

Keybase proof

I hereby claim:

  • I am ribeiroevandro on github.
  • I am ribeiroevandro (https://keybase.io/ribeiroevandro) on keybase.
  • I have a public key whose fingerprint is FF9F F8BF BC40 42F9 8DE3 C1E7 E300 833E E9FB 41A7

To claim this, I am signing this object:

View Lista de categorias no menu
<div>
<h2>Categorias do site</h2>
<ul>
<li><a href="#">Início</a></li>
<li><a href="#">Quem Somos</a></li>
<?php
$args = array(
'orderby' => 'name',
'order' => 'ASC',
'title_li' => 'Departamentos',
@ribeiroevandro
ribeiroevandro / setup-linux-for-web-developers.sh
Last active Aug 29, 2015 — forked from andrewslince/setup linux for web developers
This script installs the softwares: Skype, JDK (Java Development Kit), Google Chrome, Google Talk Plugin (It' s necessary for hangouts use), Sublime Text 3, Terminator, Git, GitK, PHP5, cURL (PHP extension), PHPUnit (For create/running unit tests with PHP), Apache Server, enable mod_rewrite for Apache (For clean url use), MySql Server, PHPMyAdmi…
View setup-linux-for-web-developers.sh
#!/bin/bash
clear
echo "Please enter your e-mail:"
read email
# install google chrome
sudo apt-get install libcurl3 libnspr4-0d libxss1 -y
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome*; rm google-chrome*
View clean
dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\ )-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs s udo apt-get -y purge
You can’t perform that action at this time.