Skip to content

Instantly share code, notes, and snippets.

@jrlucier
jrlucier / namecheap.sh
Last active February 7, 2018 03:13
Update Namecheap.com DDNS
## Create a new task from Synology Settings via Task Scheduler. Copy this as a "user defined script", replacing the __variable__ with what it should be for your account/domain:
#!/usr/bin/bash
ip="$(curl -s http://whatismyip.akamai.com)"; url="http://dynamicdns.park-your-domain.com/update?host=__sub__&domain=__domain.net__&password=__BLAHBLAH__&ip=${ip}"; echo $ip ;echo $url ;curl -f -s $url > /dev/null
import re
import json
import requests
from argparse import ArgumentParser
from abc import abstractproperty
__version__ = "0.0.1"
__all__ = ['ClientException', 'Eero', 'SessionStorage', '__version__']
'''
@jrlucier
jrlucier / Cura QiDi Tech X-one2.txt
Last active January 30, 2023 02:09
Cura settings for QiDi Tech X-one2 3D printer
We got a QiDi Tech X-one2 3D printer for Christmas. It came with a custom-skinned ancient version of Cura. I had a bit of difficulty finding the information needed to use the real Cura software, so I decided to post it online, here on my blog with zero Google fu that nobody will ever find.
(Tested with Cura 3.1.0. This information was found in the QiDi program folder in resources/definitions/fdmprinter.def.json and resources/definitions/x-one2.def.json)
In the Add Printer dialog, select "Other" and "Julia", enter a name, and click "Add Printer".
X (Width): 150mm
Y (Depth): 150mm
Z (Height): 145mm
@jrlucier
jrlucier / creality_cr20pro.def.json
Last active June 19, 2024 21:11
CR-20 PRO Cura Definition (just put this in your definitions folder to add the printer to the app: ~/.local/share/cura/3.6/definitions)
{
"name": "Creality CR20 Pro",
"version": 2,
"inherits": "fdmprinter",
"metadata": {
"visible": true,
"author": "Michael Wildermuth",
"manufacturer": "Creality3D",
"file_formats": "text/x-gcode",
"preferred_quality_type": "draft",
@jrlucier
jrlucier / Creality CR-20 Pro.fff
Created March 18, 2019 14:05
Creality CR-20 PRO Simplify3d Configuration
<?xml version="1.0"?>
<profile name="Creality CR-20 Pro" version="2018-01-19 08:00:00" app="S3D-Software 4.0.0">
<baseProfile></baseProfile>
<printMaterial>PLA</printMaterial>
<printQuality>Medium</printQuality>
<printExtruders></printExtruders>
<extruder name="Primary Extruder">
<toolheadNumber>0</toolheadNumber>
<diameter>0.4</diameter>
<autoWidth>0</autoWidth>