This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vin 5YJSA1H19EFP37540 | |
| birthday 1398242157 | |
| chargertype single | |
| airsuspension 0 | |
| adaptivecruise 0 | |
| frontfog 1 | |
| rearfog 1 | |
| corneringlamps 1 | |
| homelink 1 | |
| sunroof 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games | |
| script_dir=/var/root/scripts | |
| pattern=AccessPopup | |
| last_command="NoNe" | |
| if ps ax | grep $0 | grep -v $$ | grep bash | grep -v grep; then | |
| echo "The script is already running." | |
| exit 1 | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| if [ -f $(which xcode-select) ]; then | |
| xcode-select --install | |
| fi | |
| if [ -f $(which brew) ]; then | |
| echo "install homebrew first!" | |
| echo '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"' | |
| exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| OS_CODE="linux_amd64" | |
| # TODO: check the OS and architecture and make this work across platforms | |
| VERSION="v2.2.0" | |
| # TODO: scrape the GitHub README for the latest version | |
| TARGET=~/bin | |
| # TODO: accept command line options, and prompt if nothing is specified |