#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
/* | |
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; |
{ | |
"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", |
import { combineReducers } from 'redux' | |
const reducerTest = (state = {}) => state; | |
export default combineReducers({ | |
reducerTest | |
}) |
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' |
#!/bin/bash | |
cd ~ | |
mv .vimrc .vimrc-old | |
mv .vim .vim-old | |
touch .vimrc | |
mkdir .vim |
const matrix = [ | |
[1,1,1,0,1], | |
[0,1,1,1,0], | |
[1,1,1,1,1], | |
[0,1,1,1,1], | |
[1,1,1,0,1] | |
]; | |
function findLargestSquareOf1s(matrix) { | |
let max = 0; |
function maxSquareWithinHistoragram(historagram) { | |
let maxArea = 0; | |
const barStack = []; | |
let i = 0; | |
while (i < historagram.length) { | |
if (!barStack.length || historagram[barStack[barStack.length - 1]] <= historagram[i]) { | |
barStack.push(i); | |
i++; | |
} else { | |
const currentHeight = historagram[barStack.pop()]; |
Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.
In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.
Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j
# def sum(a, b): | |
# return a + b | |
# print(1 + 2) | |
# print(1 + 3) | |
# print(sum(1, 2)) | |