Skip to content

Instantly share code, notes, and snippets.

View pedrofracassi's full-sized avatar
✌️
hello

Pedro Fracassi pedrofracassi

✌️
hello
View GitHub Profile
@pedrofracassi
pedrofracassi / one_dark.json
Created October 18, 2017 18:39
One Dark for concfg
{
"black": "#282C34",
"dark_blue": "#235B92",
"dark_green": "#6A8854",
"dark_cyan": "#3C7F87",
"dark_red": "#BE5046",
"dark_magenta": "#9E60B0",
"dark_yellow": "#D19A66",
"gray": "#828997",
"dark_gray": "#5C6370",
@pedrofracassi
pedrofracassi / dnahelper.tamper.js
Last active June 9, 2018 13:06
Userscript que adiciona um botão para pesquisar a imagem da questão no DNA
// ==UserScript==
// @name DNA Helper
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Adiciona um botão para pesquisar a imagem da questão no DNA
// @author Pedro Fracassi (pedrofracassi.me)
// @match *://www.desafionacional.com.br/*
// @grant none
// ==/UserScript==
var palavras = [
['but', 'won\'t'],
['he'],
['definitely', 'definitly', 'definetely', 'deathly', 'defiantly', 'deftly'],
['negotiated'],
['this', 'his'],
['way'],
['past the', 'pass the', 'passing the'],
['harbour', 'harbor', 'harbouring', 'harboring'],
['enclosure', 'in closure', 'closure']
var palavras = [
['but', 'won\'t'],
['he'],
['definitely', 'definitly', 'definetely', 'deathly', 'defiantly', 'deftly'],
['negotiated'],
['this', 'his'],
['way'],
['past the', 'pass the', 'passing the'],
['harbour', 'harbor', 'harbouring', 'harboring'],
['enclosure', 'in closure', 'closure']
window.alert('Hello, World!')
{
"categories": [
{
"name": "games",
"displayName": "Games",
"commands": [
{
"name": "tictactoe",
"aliases": ["ttt"],
"description": "Challenge someone to a game of Tic Tac Toe",

What is this?

This gist exists with the sole purpose of hosting that image for a bad joke wrote on Switchblade's README.

@pedrofracassi
pedrofracassi / cloudSettings
Created July 17, 2019 16:56
Visual Studio Code Settings
{"lastUpload":"2019-07-17T16:57:16.060Z","extensionVersion":"v3.4.0"}
HEXAGON 2biaw9ne1p32h9k28ebyruueyw5t579tougddl6lrkxm1auld9jwc8yzylwywh45d4hvgti2ss47gsogcuje25iw0ibddgc59pzrg3vl5ft7c9hs2kxoibjs2i3moh5asa6553genxqzaj31u7832sh2bzdr4ppf9zt1rprj410k0si8ttf7ncste2jibbg6tf3ialb1bf95m4esoq48jep63qpae1fb3gfs707jt2gpfqpbxsd4xkkcnhw0t689bk10n05h6ub2e38phfq2qzzrhin2cx6t3pg4d9gxkpoo7cu3wc6ylha5yefcmkqx3i04f2z4rtrjcqoulh4blzyimm0firczrgq4lu5gmevj9reub43h0t4iopemkqs84hgfopmt42wmxyqab0xd7v02lngg1a9vjmp904qoxp7ospnnkgr0hh5dtvlztl6a4w2vdeofok2m0y0ottc465hzb2az0oc48xjjkrn2g1xafgwiwdjbjyn8u8demlergr5xpc9czddwxrekxgp4n3t1zv1c5dmg05fi5qrvuv2e5ly0vgtcjrln7hfhqpazjm6wfwbluczksazrt6ej40typ2vzujz9clak3zs8a3ab25r7c5lawapkp4ryhmmxjhuj6lxdtdeaubs8miqbt9qclcpuahyotri0g0xcfuzmvpau7d833hcvqcx8aaa0ivk14smmpxnl1wzpbkpccrbn2wzib91iexm0etzsh9fjpyseu59wfjxu3xp53397g0h4uyzq4fhw6mldrgfzkzy3xmf47nv9hmig8ldhoofoe2nwf5jtreqvput4kypju4unydzvnas7j196yc0la8ppzzck9lhfvriez5w203djzlx1rx7pu8vs5gvq4vew98132kx5bv9jcpgzj1bfnm9nfek8mkuluuq0wwpgqiy3ylxg4c4hs00flubisjtibrixo6ewancmp3ye2u0rqfva30qnbpdh6v3349maki3w4b3wixhv0s0l
@pedrofracassi
pedrofracassi / ginconecta_cade.js
Created April 8, 2020 18:52
Script usado pra formatar as respostas de um .txt pra tarefa "Cadê" da Ginconecta 2020.
const clipboardy = require('clipboardy');
const fs = require('fs')
let last = ''
setInterval(() => {
fs.readFile('palavras.txt', 'utf8', function(err, data) {
const resposta = `Equipe: Oficina / Resposta: ${data.split('\r\n').map(w => w.charAt(0).toUpperCase() + w.slice(1)).sort().join(', ')}`
if (resposta !== last) {
last = resposta