Skip to content

Instantly share code, notes, and snippets.

Hunting bugs

Soter Padua soter19

Hunting bugs
View GitHub Profile
soter19 / nextButton
Created Jun 16, 2020
Go to next file [GH-PR]
View nextButton
document.body.innerHTML += "<button id='next-button-qwerty'>Next!<button>"
let button = document.getElementById("next-button-qwerty");
button.onclick = () => document.querySelectorAll(".js-reviewed-checkbox:not(:checked)")[0].click(); = `
position: fixed;
right: 10px;
soter19 /
Created Jan 29, 2020 — forked from noelboss/
Simple automated GIT Deployment using Hooks

Simple automated GIT Deployment using GIT Hooks

Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.

How it works

You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like or and pull or export it to a production server. Or you use a service like to act upon a Web-Hook that's triggered that service.

soter19 / index.html
Created Feb 20, 2019
Pure CSS Still Life - Water and Lemons
View index.html
soter19 /
Created Sep 12, 2018 — forked from montanaflynn/
Examples of sequential, concurrent and parallel requests in node.js

Concurrency in JavaScript

Javascript is a programming language with a peculiar twist. Its event driven model means that nothing blocks and everything runs concurrently. This is not to be confused with the same type of concurrency as running in parallel on multiple cores. Javascript is single threaded so each program runs on a single core yet every line of code executes without waiting for anything to return. This sounds weird but it's true. If you want to have any type of sequential ordering you can use events, callbacks, or as of late promises.

soter19 / index.js
Last active Aug 31, 2018 — forked from codetony25/cloudSettings
Material UI Dialog Higher Order Component (HOC)
View index.js
import React from "react";
import { render } from "react-dom";
import Button from "material-ui/Button";
import Dialog from "material-ui/Dialog";
* Accepts a function that maps owner props to a new collection of props that
* are passed to the base component.
* mapProps() pairs well with functional utility libraries like lodash/fp.
soter19 / bitbutcketFilter.js
Last active Jan 15, 2018
Bitbucket PR file filter
View bitbutcketFilter.js
// Ask for file extension(s)
var fileTypes = prompt('Insira os tipos de arquivo que você quer que sejam escondidos, separados por vírgula').trim().split(',')
// Hide all Files
var allFiles = $('section').filter((index,el)=>'chg') > -1).each((i,el)=> = 'none')
var count = 0
// Only show files that don't have the chosen extensions,el)=>{ => {