Skip to content

Instantly share code, notes, and snippets.

pjaspers / text-subsitutions.plist
Last active May 8, 2020
Although not entirely obvious it is possible to export and import text substitutions, just drag this file into System Preferences > Keyboard > Text.
View text-subsitutions.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
lckarssen / git-log-to-tikz.rb
Last active Dec 3, 2019 — forked from hauspie/git-log-to-tikz.rb
Extract git history to tikz picture
View git-log-to-tikz.rb
#!/usr/bin/env ruby
# A small ruby script to extract a git history to a tikz picture
# Author: Michael Hauspie <>
# Author: Lennart C. Karssen <>
# Not clean code, not always working well, but does its job in most of
# the cases I needed :)
# LCK: Added some ideas from this tex.stackexchange answer:
View gist:9131345
006904094 @inferis
008093150 @tomklaasen
010686174 @to1ne
011006380 @tijs
023055424 @crahan
063846821 @junkiesxl
075540649 @maxvoltar
084511154 @atog
102812969 @nilo
132759193 @bobvlanduyt (maar die kan niet inloggen, de maggot)
mattt /
Last active Oct 13, 2020
A list of methods and properties conforming to `UIAppearance` as of iOS 12 Beta 3

Generate the list yourself:

$ cd /Applications/*.sdk/System/Library/Frameworks/UIKit.framework/Headers
$ grep UI_APPEARANCE_SELECTOR ./*     | \
  sed 's/NS_AVAILABLE_IOS(.*)//g'     | \
  sed 's/NS_DEPRECATED_IOS(.*)//g'    | \
  sed 's/API_AVAILABLE(.*)//g'        | \
  sed 's/API_UNAVAILABLE(.*)//g'      | \
  sed 's/UI_APPEARANCE_SELECTOR//g'   | \
View capybara cheat sheet
=Clicking links and buttons=
click_link('Link Text')
click('Link Text') # Click either a link or a button
click('Button Value')
You can’t perform that action at this time.