Skip to content

Instantly share code, notes, and snippets.

View vinicius5581's full-sized avatar
:octocat:
Chilling

Vinicius Santana vinicius5581

:octocat:
Chilling
View GitHub Profile
@vinicius5581
vinicius5581 / reset-vim.sh
Created November 23, 2017 20:04
Reset VIM to plain vanilla install
#!/bin/bash
cd ~
mv .vimrc .vimrc-old
mv .vim .vim-old
touch .vimrc
mkdir .vim
@vinicius5581
vinicius5581 / App.js
Created November 7, 2017 10:21
React/Redux broken app
import React, { Component } from 'react'
import { BrowserRouter, Route, Switch } from 'react-router-dom'
import { createStore, applyMiddleware, compose } from 'redux'
import reducer from './reducers'
// import { Provider } from 'react-redux'
import thunk from 'redux-thunk'
import { ApolloClient, createNetworkInterface, ApolloProvider } from 'react-apollo'
import './App.css'
import Category from './views/Category'
@vinicius5581
vinicius5581 / reducer.js
Created November 6, 2017 23:30
redux basic reducer
import { combineReducers } from 'redux'
const reducerTest = (state = {}) => state;
export default combineReducers({
reducerTest
})
@vinicius5581
vinicius5581 / package.json
Created November 6, 2017 20:01
React & Redux application - frontend boilerplate
{
"name": "boilerplate",
"version": "0.1.0",
"private": true,
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"lint": "prettier 'src/**/*.js' 'src/components/**/*.js' '*.js' --write --single-quote --no-semi && standard --fix",
@vinicius5581
vinicius5581 / comoSerChatoNowhatsapp.js
Created October 19, 2017 05:52 — forked from callmeloureiro/comoSerChatoNoWhatsapp.js
Como fazer alguém te responder no whatsapp
/*
Hoje iremos MUDAR a vida da pessoa que não te responde no whatsappp...
Que tal enviar mensagens pra ela até obter uma resposta?!
Sensacional não acha?! Mas, somos devs, correto?! Então vamos automatizar esse paranauê!
Para utilizar:
- Abra o web.whatsapp.com;
- Selecione a conversa que você quer;
- Abra o console e cole o código que está no gist;

#HTML presentation tools

There are many HTML presentation tools and they are all created for slightly different reasons. Here's an overview. Please let me know if I forgot any.

##CSSS

CSS-based SlideShow System

#HTML presentation tools

There are many HTML presentation tools and they are all created for slightly different reasons. Here's an overview. Please let me know if I forgot any.

##CSSS

CSS-based SlideShow System

@vinicius5581
vinicius5581 / vanilla-js-cheatsheet.md
Created October 10, 2017 01:31 — forked from thegitfather/vanilla-js-cheatsheet.md
Vanilla JavaScript Quick Reference / Cheatsheet
@vinicius5581
vinicius5581 / The Technical Interview Cheat Sheet.md
Created September 28, 2017 17:02 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">