Skip to content

Instantly share code, notes, and snippets.

View pedrofracassi's full-sized avatar
✌️
hello

Pedro Fracassi pedrofracassi

✌️
hello
View GitHub Profile
import numpy as np
import math
import matplotlib.pyplot as plt
min = 0
max = 2*math.pi
precision = 3
def x(t):
return round(12*math.cos(t) - 6*math.cos(6*t), precision)
@pedrofracassi
pedrofracassi / songs.txt
Created October 4, 2020 20:01
Lista de Músicas
Bring Me The Horizon , (I Used To Make Out With) Medusa
Nirvana , 1. Smells Like Teen Spirit
Colorics ft. Aren Eternal , 100
Sweetbox , 1000 Words
Schmutz06 , 12 Clusterfucks of Christmas
Schmutz06 , 12 Patterns of Christmas
Hateen , 1997
Pegboard Nerds , 20K
Deventter , 6000
Catfish and the Bottlemen , 7
@pedrofracassi
pedrofracassi / README.md
Last active October 21, 2020 14:50
Switchblade Worker Node Setup

1. Update package list

sudo apt-get update

2. Install Docker

sudo apt-get install docker.io
@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
HEXAGON 2biaw9ne1p32h9k28ebyruueyw5t579tougddl6lrkxm1auld9jwc8yzylwywh45d4hvgti2ss47gsogcuje25iw0ibddgc59pzrg3vl5ft7c9hs2kxoibjs2i3moh5asa6553genxqzaj31u7832sh2bzdr4ppf9zt1rprj410k0si8ttf7ncste2jibbg6tf3ialb1bf95m4esoq48jep63qpae1fb3gfs707jt2gpfqpbxsd4xkkcnhw0t689bk10n05h6ub2e38phfq2qzzrhin2cx6t3pg4d9gxkpoo7cu3wc6ylha5yefcmkqx3i04f2z4rtrjcqoulh4blzyimm0firczrgq4lu5gmevj9reub43h0t4iopemkqs84hgfopmt42wmxyqab0xd7v02lngg1a9vjmp904qoxp7ospnnkgr0hh5dtvlztl6a4w2vdeofok2m0y0ottc465hzb2az0oc48xjjkrn2g1xafgwiwdjbjyn8u8demlergr5xpc9czddwxrekxgp4n3t1zv1c5dmg05fi5qrvuv2e5ly0vgtcjrln7hfhqpazjm6wfwbluczksazrt6ej40typ2vzujz9clak3zs8a3ab25r7c5lawapkp4ryhmmxjhuj6lxdtdeaubs8miqbt9qclcpuahyotri0g0xcfuzmvpau7d833hcvqcx8aaa0ivk14smmpxnl1wzpbkpccrbn2wzib91iexm0etzsh9fjpyseu59wfjxu3xp53397g0h4uyzq4fhw6mldrgfzkzy3xmf47nv9hmig8ldhoofoe2nwf5jtreqvput4kypju4unydzvnas7j196yc0la8ppzzck9lhfvriez5w203djzlx1rx7pu8vs5gvq4vew98132kx5bv9jcpgzj1bfnm9nfek8mkuluuq0wwpgqiy3ylxg4c4hs00flubisjtibrixo6ewancmp3ye2u0rqfva30qnbpdh6v3349maki3w4b3wixhv0s0l
@pedrofracassi
pedrofracassi / cloudSettings
Created July 17, 2019 16:56
Visual Studio Code Settings
{"lastUpload":"2019-07-17T16:57:16.060Z","extensionVersion":"v3.4.0"}

What is this?

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

{
"categories": [
{
"name": "games",
"displayName": "Games",
"commands": [
{
"name": "tictactoe",
"aliases": ["ttt"],
"description": "Challenge someone to a game of Tic Tac Toe",
window.alert('Hello, World!')