Skip to content

Instantly share code, notes, and snippets.

View SippieCup's full-sized avatar

Andrew Sidhu SippieCup

View GitHub Profile
@SippieCup
SippieCup / CR-6SE_start.gcode
Created October 17, 2020 22:35
CR-6SE Start Gcode
G90 ; use absolute coordinates
M83 ; extruder relative mode
G28 ; home all
M420 S1 Z0.00 ; Mesh bed leveling
G1 Z10.0 F3000 ;Move Z Axis up
M104 S[first_layer_temperature] ; set extruder temp
M140 S[first_layer_bed_temperature] ; set bed temp
@SippieCup
SippieCup / E5P_start.gcode
Created October 5, 2020 17:04
Ender 5 Plus Starting G Code
G28 ; home extruder
M140 S[first_layer_bed_temperature] ; set bed temp
M190 S[first_layer_bed_temperature] ; wait for bed temp
;G29 ; Redo autoleveling - Uncomment every few prints
M420 S1 Z2; Use Mesh
M104 S[first_layer_temperature] ; set extruder temp
M109 S[first_layer_temperature] ; wait for extruder temp
G91 ;Relative positionning
G1 E-2 F2700 ;Retract a bit
G1 E-2 Z0.2 F2400 ;Retract and raise Z
G1 X5 Y5 F3000 ;Wipe out
G1 Z10 ;Raise Z more
G90 ;Absolute positionning
{if layer_z < max_print_height}G1 Z{z_offset+min(layer_z+10, max_print_height)} F600{endif} ; Move print head up
G1 X0 Y220 ;Present print
apiVersion: apps/v1
description: GitLab's Auto-deploy Helm Chart
name: auto-deploy-app
version: 1.0.3
icon: https://gitlab.com/gitlab-com/gitlab-artwork/raw/master/logo/logo-square.png
vin 5YJSA1H19EFP37540
birthday 1398242157
chargertype single
airsuspension 0
adaptivecruise 0
frontfog 1
rearfog 1
corneringlamps 1
homelink 1
sunroof 1
@SippieCup
SippieCup / basemodel.ts
Created July 13, 2020 23:58
BaseModel for Sequelize
import { Model } from 'sequelize';
export class BaseModel extends Model {
/**
* import the $clearQueue() method from Sequelize Mock
*/
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
public static $clearQueue() {
(tesla) ┌─[sid@clockwerk] - [~/Source/tesla-pre-ap-epas-patch] - [Sun May 31, 11:46]
└─[$] <git:(master)> sudo ./tesla-epas-patcher.py epas_combined.hex
loading firmware update ...
0x3ff7000-0x3ff7018
0x3ff7200-0x3ff7209
0x3ff83f4-0x3ffacbe
opening device 25002c000c51363338383037 0xddcc
connected
load firmware ...
file name: 7c17b61ab0a760d5c8076a4e6b89c911.bin
M104 S0 ; turn off temperature
M140 S0 ; turn off Bed
G1 E0 ; Retract Filament to minimize dropping filament while still cooling nozzle
G1 X290 F1000
G1 Y290 F1000;
M84; disable motors
M107; turn off fan
G28 X0 Y0 Z0 ; home extruder
M140 S[first_layer_bed_temperature] ; set bed temp
M190 S[first_layer_bed_temperature] ; wait for bed temp
G29
M104 S[first_layer_temperature] ; set extruder temp
M109 S[first_layer_temperature] : wait for extruder temp
└─[$] <git:(Tesla_0.7.4_rebase*)> python /usr/lib/python3.6/dist-packages/uff/bin/convert_to_uff.py /data/intermediate/saved_model.pb
2020-04-21 16:50:18.971438: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0
Loading /data/intermediate/saved_model.pb
WARNING:tensorflow:From /usr/lib/python3.6/dist-packages/uff/bin/../../uff/converters/tensorflow/conversion_helpers.py:227: The name tf.gfile.GFile is deprecated. Please use tf.io.gfile.GFile instead.
NOTE: UFF has been tested with TensorFlow 1.14.0.
WARNING: The version of TensorFlow installed on this system is not guaranteed to work with UFF.
UFF Version 0.6.5
=== Automatically deduced input nodes ===
[name: "input_1_1"