Skip to content

Instantly share code, notes, and snippets.

View confluencepoint's full-sized avatar
🏳️
Focusing

confluencepoint confluencepoint

🏳️
Focusing
View GitHub Profile
(?i)ma(y|j)a.?kalender(s)?|weltuntergang|apo(c|k)alypse|nibiru|untergang|maya(n|s)?
@confluencepoint
confluencepoint / Hombrew_qpdf
Created January 28, 2013 18:52
„Repair“ broken PDF files
`brew install qpdf && qpdf --decrypt broken.pdf unbrocken.pdf`
@confluencepoint
confluencepoint / kMDItemCFBundleIdentifier
Last active June 8, 2016 05:47
OS X - Change the App language - the hard way
defaults write $(mdls -name kMDItemCFBundleIdentifier -raw /Applications/xxxxxxxx.app) AppleLanguages "(en, de)"
@confluencepoint
confluencepoint / QPR0000X.CRD
Created May 22, 2013 16:23
Querprofilenummern in CARD/1 - Querprofilentwicklung mit Nummern versehen
DATENBEREICH 5.000,400.000,100,10
STATION 0,400
INUMMER 10,0,11
SPEICHER 10
# ----------------------------------------------------------------------
Mit diesen Anweisungen versehen Sie Punkte in einer vorhandenen Profillinie mit Punktnummern und Ausgabekennungen werden.
NUMMER Profil, Punkt, N, KINUMMER Profil, I , N, K
@confluencepoint
confluencepoint / deleteGmailMailmate
Created May 27, 2013 20:43
Löscht das Label "[Gmail]/Archive" in Google Mail (bei Verwendung von MailMate)
/*
https://developers.google.com/apps-script/understanding_triggers
Credits: http://stackoverflow.com/questions/11718674/how-to-catch-urlfetchapp-fetch-exception
Delete the label:"[Gmail]/Archive" in Gmail
http://blog.freron.com/2010/using-gmail-with-mailmate/
There are other issues when accessing Gmail via IMAP, but the purpose
of this blog post is to simply state what I currently consider the
most sensible settings in MailMate for a Gmail account. Unfortunately
@confluencepoint
confluencepoint / Chrome_Bookmarklets
Created May 27, 2013 22:12
Bookmarklets in Google Chrome
# Bookmarklets in Google Chrome
{
"auto_complete": false,
"bold_folder_labels": true,
"caret_style": "smooth",
"close_windows_when_empty": false,
"color_scheme": "Packages/Color Scheme - Default/Solarized (Light).tmTheme",
"detect_slow_plugins": false,
"draw_indent_guides": true,
"draw_minimap_border": false,
"draw_white_space": "selection",
@confluencepoint
confluencepoint / private.xml
Created August 6, 2013 17:14
private.xml for Keyremap4Macbook https://pqrs.org/macosx/keyremap4macbook/ Remap double ⌘ ⇢ ⌘ + SPACE for Spotlight
<item>
<name>Double Command (links) für Spotlight</name>
<appendix>Doppelt ⌘ ⇢ ⌘+␣</appendix>
<identifier>private.DoubleCommand</identifier>
<autogen>
--DoublePressModifier--
KeyCode::COMMAND_L,
KeyCode::COMMAND_L,
KeyCode::SPACE, ModifierFlag::COMMAND_L
</autogen>
@confluencepoint
confluencepoint / Default (Windows).sublime-keymap
Created August 29, 2013 07:46
Open files via ctrl+shift+o in Sublime2 with encoding DOS (CP 437)
{ "keys": ["ctrl+shift+o"], "command": "reopen", "args": {"encoding": "DOS (CP 437)" }},
@confluencepoint
confluencepoint / cp347
Created August 29, 2013 18:01
# Möglichkeit zum Lesen von DOS-Dateien CARD/1
# Möglichkeit zum Lesen von DOS-Dateien CARD/1
file = open(filename, 'rb')
content = unicode(file.read(), 'cp437')
file.close()