Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python3
import argparse
import re
import requests
import sys
ip_regex = re.compile(r'(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}'
'(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)')
me: testroot
@echo Okay
a sandwich: testroot
testroot:
@if [ `whoami` != "root" ]; then \
echo "What? Make it yourself"; \
exit 1; \
fi
MAKEFLAGS = -s
#!/bin/sh
sudo_verbose() {
echo "$@"
sudo "$@"
}
pid="$1"
cmd="$2"
% nc -l -p 12345 [ 3:04PM]
GET / HTTP/1.1
User-Agent: Wget/1.16.1 (linux-gnu)
Accept: */*
Accept-Encoding: identity
Host: localhost:12345
Connection: Keep-Alive
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file has been truncated, but you can view the full file.
; generated by Slic3r 1.2.8 on 2015-06-16 at 17:31:02
; external perimeters extrusion width = 0.50mm
; perimeters extrusion width = 0.50mm
; infill extrusion width = 0.67mm
; solid infill extrusion width = 0.60mm
; top infill extrusion width = 0.40mm
; support material extrusion width = 0.60mm
M127 ; disable fan
This file has been truncated, but you can view the full file.
; generated by Slic3r 1.2.9 on 2015-06-27 at 17:32:30
; external perimeters extrusion width = 0.40mm
; perimeters extrusion width = 0.40mm
; infill extrusion width = 0.60mm
; solid infill extrusion width = 0.60mm
; top infill extrusion width = 0.40mm
; support material extrusion width = 0.60mm
M107 ; disable fan
# generated by Slic3r 1.2.9 on Sat Jun 27 17:23:55 2015
avoid_crossing_perimeters = 0
bed_shape = 109.397x11.4981,107.596x22.8703,104.616x33.9919,100.49x44.741,95.2628x55,88.9919x64.6564,81.7459x73.6044,73.6044x81.7459,64.6564x88.9919,55x95.2628,44.741x100.49,33.9919x104.616,22.8703x107.596,11.4981x109.397,0x110,-11.4981x109.397,-22.8703x107.596,-33.9919x104.616,-44.741x100.49,-55x95.2628,-64.6564x88.9919,-73.6044x81.7459,-81.7459x73.6044,-88.9919x64.6564,-95.2628x55,-100.49x44.741,-104.616x33.9919,-107.596x22.8703,-109.397x11.4981,-110x0,-109.397x-11.4981,-107.596x-22.8703,-104.616x-33.9919,-100.49x-44.741,-95.2628x-55,-88.9919x-64.6564,-81.7459x-73.6044,-73.6044x-81.7459,-64.6564x-88.9919,-55x-95.2628,-44.741x-100.49,-33.9919x-104.616,-22.8703x-107.596,-11.4981x-109.397,0x-110,11.4981x-109.397,22.8703x-107.596,33.9919x-104.616,44.741x-100.49,55x-95.2628,64.6564x-88.9919,73.6044x-81.7459,81.7459x-73.6044,88.9919x-64.6564,95.2628x-55,100.49x-44.741,104.616x-33.9919,107.596x-22.8703,109.397x-11.4981,110x0
bed_
- name: Delta levelling 2
type: section
children:
- name: Level X tower
type: commands
commands:
- G90
- G28
- G1 F8000 F8000 X-77.9423 Y-45 Z0
- name: Level Y tower
This file has been truncated, but you can view the full file.
; generated by Slic3r 1.2.9 on 2015-07-04 at 17:09:36
; external perimeters extrusion width = 0.40mm
; perimeters extrusion width = 0.40mm
; infill extrusion width = 0.60mm
; solid infill extrusion width = 0.60mm
; top infill extrusion width = 0.40mm
; support material extrusion width = 0.60mm
M127 ; disable fan