Skip to content

Instantly share code, notes, and snippets.

Haskelling a bit...

Hans Raaf oderwat

Haskelling a bit...
Block or report user

Report or block oderwat

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
oderwat / pa-test-0.0-to-0.6-220C-50C-1.75-0.4-bed-220x200.gcode
Created Jun 4, 2018
Example GCode of Klipper Pressure Advance Test produced by my gcwiz tool
View pa-test-0.0-to-0.6-220C-50C-1.75-0.4-bed-220x200.gcode
; gcode made by gcwiz (c) 2018 Hans Raaf / GitHub: OderWat
; Notice: This can't be printed with S3D because it does not accept
; the Klipper specific code. Use OctoPrint or try some other host.
G1 Z5 F1500
; printing 20 sections for pa from 0.0000 to 0.6000 in steps of 0.0300
; first layer is 0.100 mm, other layers are 0.200 mm, total height is 40.000 mm
; changing pressure_advance every 2.000 mm (every 10 layers of a total of 200 layers)
G1 X5 Y10 F9000
oderwat / BearGrabber.js
Created Nov 16, 2017
Safe Bear URL Grabber Scriptlet
View BearGrabber.js
View blockstackid
Verifying my Blockstack ID is secured with the address 1BF3BhUZaQeRc5jjW1TczSDpvnsNdyVDGg
oderwat / BearFocus.scpt
Created Oct 22, 2017
Little Script which tells Bear to focus the window, reset it's state and place the cursor in the search field
View BearFocus.scpt
tell application "System Events" to tell process "Bear"
set frontmost to true
-- show all notes
click menu item 1 of menu 1 of menu bar item 5 of menu bar 1
-- search in (all) notes
click menu item 1 of menu 1 of menu item 22 of menu 1 of menu bar item 4 of menu bar 1
tell application "System Events"
-- press delete to clear the search field
key code 51
-- press tab to switch to note list
oderwat / soabb.js
Created Sep 26, 2017
Spiegel Online AdBlocker-Blocker
View soabb.js
// ==UserScript==
// @name Spiegel Online AddBlocker removal
// @namespace
// @version 0.1
// @description I hate adblocker
// @author H. Raaf
// @match*
// @grant none
// @run-at document-start
// ==/UserScript==
oderwat / spiderarc
Last active Aug 23, 2017
Script for single archival of locations with SpiderOakONE which stops and starts the application as needed
View spiderarc
#!/usr/bin/env osascript
# Script for easy archival of single targets while the
# SpiderOakONE Application is running.
# Written by H.Raaf (c) 2017 / MIT LICENSE
# This script is meant to be saved to ~/bin or /usr/local/bin as spiderarc
oderwat / anet_flash_de.markdown
Created Feb 15, 2017
Anet A8 Firmware am Mac kompilieren und flashen
View anet_flash_de.markdown
oderwat / Phone Words II.swift
Last active Nov 6, 2016 — forked from erica/Phone Words II.swift
Phone Words II for Swift 3.0.1
View Phone Words II.swift
import Cocoa
// Missing isWord
func isWord(string: String) -> Bool {
if let _ = Int(string) { return false }
let range = NSSpellChecker.shared().checkSpelling(of: string, startingAt: 0)
return range.location == NSNotFound
oderwat / github-markdown.css
Created Jul 14, 2016
GitHub Style formatted markdown in VSCode
View github-markdown.css
body { background-color: white; }
@font-face {
font-family: octicons-link;
View Checkbox Demo
To Do List:
* [x] Feature A
* [ ] Feature B
* [x] Feature C
* [ ] Feature D
You can’t perform that action at this time.