Skip to content

Instantly share code, notes, and snippets.

View shawe's full-sized avatar

Francesc Pineda Segarra shawe

View GitHub Profile
@shawe
shawe / pa_cal.cfg
Created May 30, 2023 22:12 — forked from m0to/pa_cal.cfg
Klipper Pressure Advance Line Calibration Macro
[gcode_macro PA_CAL]
# Klipper pressure advance line calibration macro.
# Usage: PA_CAL BED=100 NOZZLE=240 PA_START=0.0 PA_STOP=0.1 NZL=0.4
# Or you can execute with no parameters, which will use values from printer.cfg and saved_variables.cfg.
# First prints a line with current set PA, then prints 21 additional line segments starting with PA_START, and increasing to PA_STOP.
# Based on http://realdeuce.github.io/Voron/PA/pressure_advance.html
# Cleaned up and moved to using saved_variables.cfg by u/jibbsisme
# Assisted by u/imoftendisgruntled, u/scul86, and thanks to u/beansisfat, u/stray_r
description: Tune Pressure Advance
This file has been truncated, but you can view the full file.
// Invoice markup
// Author: Max Kostinevich
// BETA (no styles)
// http://pdfmake.org/playground.html
// playground requires you to assign document definition to a variable called dd
var dd = {
footer: function(pagenumber, pagecount){
if (pagenumber == 1) {
#!/bin/bash
VERSION=`uname -m`
if [ "$VERSION" == "x86_64" ] || [ "$VERSION" == "amd64" ]; then
wget -c https://popcorntime.sh/download/build/Popcorn-Time-0.3.9-Linux-64.tar.xz -O PopcornTime.tar.xz
else
wget -c https://popcorntime.sh/download/build/Popcorn-Time-0.3.9-Linux-32.tar.xz -O PopcornTime.tar.xz
fi
@shawe
shawe / downloadCodeFS.sh
Last active August 29, 2015 14:14
Descargar el código de FS2015 y los plugins
#!/bin/bash
# Descarga el código de FS_2015 y los plugins disponibles
# Última actualización 16/02/2015
set -e
USER_HOME=`echo $HOME`
PATH_BASE="${USER_HOME}/Code"
@shawe
shawe / HackBerryan.sh
Created November 12, 2012 20:33
Pequeño script para generar una imagen Debian Wheezy en SD para Hackberry
# Creamos carpeta para archivos requeridos
mkdir -p ~/Hackberryan/uboot_files
cd ~/Hackberryan/uboot_files
# Descargamos archivos requeridos
wget -c http://dl.miniand.com/jas-hacks/uboot/1gb/sunxi-spl.bin
wget -c http://dl.miniand.com/jas-hacks/uboot/1gb/u-boot.bin
wget -c http://dl.miniand.com/jas-hacks/new_tv_t100/script.bin
# Renombramos archivo
mv script.bin evb.bin
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="AOSP"
fetch="https://android.googlesource.com/" />
<remote name="AOKP"
fetch="https://github.com/AOKP/"
review="gerrit.aokp.co" />