Skip to content

Instantly share code, notes, and snippets.

View rawnly's full-sized avatar
🧨
fixing my printer

Federico rawnly

🧨
fixing my printer
View GitHub Profile
ERROR: Command errored out with exit status 1:
command: /Users/federicovitale/Developer/Chili/chili-aquaman/acquaman/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/m9/7q3cfhks1tzbf400djhj35cw0000gn/T/pip-install-03kuzaxi/confluent-kafka_b002a784c6954fb897cef23347b69f60/setup.py'"'"'; __file__='"'"'/private/var/folders/m9/7q3cfhks1tzbf400djhj35cw0000gn/T/pip-install-03kuzaxi/confluent-kafka_b002a784c6954fb897cef23347b69f60/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/m9/7q3cfhks1tzbf400djhj35cw0000gn/T/pip-record-h2pvufp1/install-record.txt --single-version-externally-managed --compile --install-headers /Users/federicovitale/Developer/Chili/chili-aquaman/acquaman/include/site/python3.9/confluent-kafka
cwd: /private/var/folders/m9/7q3cfhks1tzbf400djhj35cw0000gn/T/pip-install-03kuzaxi/co
@rawnly
rawnly / isDown.sh
Created March 3, 2021 16:17
downfor.io api
#
# https://downfor.io
# Usage:
# $ isDown google.com
# $ isDown fedevitale.dev
#
function isDown() {
curl "https://api-prod.downfor.cloud/httpcheck/$1" \
--silent \
--fail \
import { useEffect, useRef } from 'react'
import * as Three from 'three'
// https://raw.githubusercontent.com/josephg/noisejs/master/perlin.js
const { noise } = require('../perlin')
const Page = () => {
const divRef = useRef<HTMLDivElement>()
package main
import (
"fmt"
"strconv"
"strings"
)
func main() {
str := "845674"
import ms from 'ms'
import { DMChannel, Message, NewsChannel, TextChannel } from 'discord.js'
import { REACTIONS } from './reactions';
type Channel = TextChannel | DMChannel | NewsChannel
type QuestionType = 'confirm' | 'text';
export type Question = {
name: string;
message: String;
@rawnly
rawnly / commit.sh
Last active January 14, 2021 14:18
# Usage: commit <message> [-a|--add] [-p|--push]
# Example: commit "my first commit" -a -p
# GIT Equivalent:
# - git add -A .
# - git commit -a -m "NEXT-<*>: my first commit"
# - git push
function commit {
if [ -z $1 ]; then
echo "No commit message";
const generateRandomString = (length: number): string =>
`1${"0".repeat(length)}`.replace(/[01]/g, () => (0 | (Math.random() * 16)).toString(16))
package com.federicovitale.bookmytrack.util;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Optional;
import java.util.function.Function;
public class Grouper<Z, T> {
[
"src/components/layoutComponents/errorStyle.scss",
"public/stylesheets/main/modules/registration.scss",
"src/pages/MovieTheaters/style.scss",
"src/pages/Pairing/style.scss",
"src/components/recovery/recovery.scss",
"src/components/ui/page/style.scss",
"src/components/MovieTheaters/AllTheatersHead/style.scss",
"src/components/MovieTheaters/AllTheaterList/style.scss",
"src/components/ui/ThreeAreaPanel/style.scss",
package main
import "github.com/sirupsen/logrus"
func main() {
Init()
ProcessNodes()
DFS(nodes[0])
}