Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View terhechte's full-sized avatar
💭
I may be slow to respond.

Benedikt Terhechte terhechte

💭
I may be slow to respond.
View GitHub Profile
@terhechte
terhechte / gist:f3d54ff9f7f1c47af2643ded54855ff2
Last active January 4, 2020 12:22
Table With Paragraph GitHub Flavourted Markdown Example

Hello

e lines ab d
second ene b x
second ene b x
thirrd ene
@terhechte
terhechte / gist:d21c75d594853a376f118a7cab5d10f3
Created February 25, 2020 18:38
chuwi touchscreen setting
# cat usr/share/X11/xorg.conf.d/99-calibration.conf
Section "InputClass"
Identifier "calibration"
MatchProduct "Silead GSLx680 Touchscreen"
#Option "MinX" "2583"
#Option "MaxX" "65478"
#Option "MinY" "683"
#Option "MaxY" "65876"
Option "SwapXY" "0" # unless it was already set to 1
Option "InvertX" "0" # unless it was already set
@terhechte
terhechte / wwdc2007videos.md
Last active May 26, 2022 16:50
WWDC 2007 Video Listing

WWDC 2007 Video Listing

Content and Media

  • 1-01 Session 601 - Improving Your Video With Professional Preprocessing.mov
  • 1-02 Session 602 - The Encoding Process In Depth.mov
  • 1-03 Session 603 - Delivering Your Media.mov
  • 1-04 Session 604 - Iterative Cocoa and Web Application Design.mov
  • 1-05 Session 605 - Understanding Web Accessibility for Building Better Websites.mov
  • 1-06 Session 606 - Motion Graphics Design Using Quartz Composer.mov
  • 1-07 Session 607 - Development Methods for WebKit AJAX Applications.mov
@terhechte
terhechte / pattern-examples.swift
Created August 22, 2015 15:29
Swift pattern examples for the swift, for, and guard keywords
import Foundation
// 1. Wildcard Pattern
func wildcard(a: String?) -> Bool {
guard case _? = a else { return false }
for case _? in [a] {
return true
}