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 | |
| # Based on a test script from avsm/ocaml repo https://github.com/avsm/ocaml | |
| CHROOT_DIR=/tmp/arm-chroot | |
| MIRROR=http://archive.raspbian.org/raspbian | |
| VERSION=wheezy | |
| CHROOT_ARCH=armhf | |
| # Debian package dependencies for the host | |
| HOST_DEPENDENCIES="debootstrap qemu-user-static binfmt-support sbuild" |
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
| /* ==================================================================== | |
| * | |
| * Copyright (c) 2018 Juerge Liegner All rights reserved. | |
| * | |
| * Redistribution and use in source and binary forms, with or without | |
| * modification, are permitted provided that the following conditions | |
| * are met: | |
| * | |
| * 1. Redistributions of source code must retain the above copyright | |
| * notice, this list of conditions and the following disclaimer. |
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
| input_device = "Logitech Gamepad F310" | |
| input_driver = "udev" | |
| input_vendor_id = 1133 | |
| input_product_id = 49693 | |
| input_a_btn = "1" | |
| input_reset_btn = "1" | |
| input_b_btn = "0" | |
| input_x_btn = "3" | |
| input_y_btn = "2" | |
| input_menu_toggle_btn = "2" |
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
| // ==UserScript== | |
| // @name Embed images on selected sites | |
| // @namespace 7d47d98c-acd8-434f-b058-72f9ce028241 | |
| // @version 0.1 | |
| // @description Turn image URLs into embeded images. | |
| // @author Print | |
| // @match *://forum.zerspanungsbude.net/* | |
| // @grant none | |
| // ==/UserScript== |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| /* with kind regards to http://www.samuelbosch.com/2018/02/split-into-rows-sqlite.html */ | |
| WITH RECURSIVE split(predictorset_id, predictor_name, rest) AS ( | |
| SELECT _id, '', fromList || char(1) || toList || char(1) FROM Message WHERE _id | |
| UNION ALL | |
| SELECT predictorset_id, | |
| substr(rest, 0, instr(rest, char(1))), | |
| substr(rest, instr(rest, char(1))+1) | |
| FROM split | |
| WHERE rest <> '') | |
| SELECT DISTINCT |
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/sh | |
| FCLATEST=$(ls -t1 $HOME/.local/bin/FreeCAD*AppImage | head -n1) | |
| if [ -x ${FCLATEST} ] ; then | |
| ${FCLATEST} | |
| else | |
| 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
| G91 ;Relative positioning | |
| 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 positioning | |
| ; G1 X0 Y400 ;Present print *CR-6 Max version* | |
| G1 X0 Y235 ;Present print *Regular Cr-6 SE version | |
| M106 S0 ;Turn-off fan | |
| M104 S0 ;Turn-off hotend |