Skip to content

Instantly share code, notes, and snippets.

View nillia's full-sized avatar

Nicolás Illia nillia

View GitHub Profile
from billiard.context import Process
from scrapy.crawler import Crawler
from scrapy import signals
from scrapy.utils.project import get_project_settings
from twisted.internet import reactor
from celery_app import app
class CrawlerProcess(Process):
@nillia
nillia / cura_end.gcode
Last active December 14, 2021 17:59
Ender 3 v2
; Ender 3 Custom End G-code
G4 ; Wait
M220 S100 ; Reset Speed factor override percentage to default (100%)
M221 S100 ; Reset Extrude factor override percentage to default (100%)
G91 ; Set coordinates to relative
G1 F1800 E-3 ; Retract filament 3 mm to prevent oozing
G1 F3000 Z20 ; Move Z Axis up 20 mm to allow filament ooze freely
G90 ; Set coordinates to absolute
G1 X0 Y{machine_depth} F1000 ; Move Heat Bed to the front for easy print removal
M106 S0 ; Turn off cooling fan
@nillia
nillia / tzprofiles
Last active November 26, 2021 10:12
I am attesting that this GitHub handle nillia is linked to the Tezos account tz1R5M32tQ8CSNhLVAx12yGXNoHe7pn5qZot for tzprofiles
sig:edsigtig2YZ9Fefe5kDgNdrdmjdLHCbVihqH2aswDnkJQvAGAdSTEUjdkRHFbzHFLSjdrNWSWbunKTULSh9T2EMtrt9GyXiHpYs
@nillia
nillia / chrome-headless.service
Created March 7, 2018 21:21
Chrome headless (with debug in 9222) Systemd service
[Unit]
Description=Run an instance of Chrome headless with debug in 9222
[Service]
Type=simple
Restart=always
ProtectSystem=full
DynamicUser=true
ExecStart=/usr/bin/google-chrome --headless --disable-gpu --remote-debugging-port=9222
Environment=HOME=/tmp
@nillia
nillia / keybase.md
Last active September 2, 2021 18:44

Keybase proof

I hereby claim:

  • I am nillia on github.
  • I am nillia (https://keybase.io/nillia) on keybase.
  • I have a public key ASAepRps-0JJrs0bX_6jSHbZ0ChzmELj-eCKtAQ1yL9Fmgo

To claim this, I am signing this object:

#!/bin/bash
echo "Start Export Process"
echo "Log into Keybase..."
keybase login
echo "Exporting your PGP keys..."
keybase pgp export -o keybase.public.key
keybase pgp export -s -o keybase.private.key