I hereby claim:
- I am fnurl on github.
- I am fnurl (https://keybase.io/fnurl) on keybase.
- I have a public key whose fingerprint is 896D FC0D 2784 C8E5 0811 8EC2 9F9A AE80 1483 96CB
To claim this, I am signing this object:
| # Use xelatex instead of pdflatex | |
| $pdflatex = 'xelatex -synctex=1 -interaction=nonstopmode --shell-escape %O %S'; | |
| # Always create PDFs | |
| $pdf_mode = 1; | |
| # Use Skim.app to preview generated PDFs | |
| $pdf_previewer = 'open -a Skim.app %S'; | |
| # Use continous mode by default |
| <theme> | |
| <!-- Extra colors --> | |
| <color id="caret_blue" red="0" green="0.741" blue="1.0" alpha="1.0"/> | |
| <color id="bg" red="0.988" green="0.988" blue="0.988" alpha="1.0"/> | |
| <color id="fg" red="0.235" green="0.235" blue="0.235" alpha="1.0"/> | |
| <color id="gray" red="0.5" green="0.5" blue="0.5" alpha="1.0"/> | |
| <color id="light_blue" red="0.710" green="0.835" blue="1.0" alpha="1.0"/> | |
| <!--Solarize color pallette, see http://ethanschoonover.com/solarized--> | |
| <color id="blue" red="0.149" green="0.545" blue="0.824" alpha="1.0"/> |
| #!/usr/bin/python | |
| # -*- coding: utf_8 -*- | |
| # | |
| import sys | |
| import re | |
| import os | |
| import codecs | |
| targetfile = sys.argv[1] |
| # Rövarspråk | |
| # | |
| # Skriv en funktion, rovarisera(text), som tar in en sträng och returnerar | |
| # rövarspråksvarianten. För att göra vanligt språk till rövarspråk, lägger man | |
| # ett "o" efter varje konsonant, följt av konsonanten igen. Strängen "hej" blir | |
| # alltså, "hohejoj". Anta att strängen som kommer in till funktionen består | |
| # enbart av gemener. | |
| def rovarisera(text): | |
| pass |
| # Referensövning | |
| def ref_test1(): | |
| a = [1, 2, 3] | |
| b = a | |
| a.append(4) | |
| # Vad skriver nedanstående rader ut? Varför? | |
| print(a) |
| #!/bin/bash | |
| pbpaste | pygmentize -O"style=tango, fontface=Menlo" -f rtf -l $1 | pbcopy |
I hereby claim:
To claim this, I am signing this object:
| import os | |
| import sys | |
| import yaml | |
| import json | |
| # base url to use | |
| base_url = "http://localhost:1313" | |
| # The attribute mapping for docsearch. | |
| # |
| # This hook needs some changes to the alot code | |
| # | |
| # Currently, only commands initiated from the command line have hooks. | |
| # However, in order to add this hook, we need all commands to have hooks, | |
| # also those created by other commands. | |
| # | |
| # When replying to a message in a thread, the thread.reply command | |
| # is triggered, but it in turn triggers compose which in turn triggers | |
| # edit. These two last commands do not have any hooks attached to them. | |
| # |
| # updated for tmux 2.4: use send-keys -X for copy mode | |
| # Help | |
| # | |
| # Bindings belong to tables. The prefix table is used when the following | |
| # commands are used: | |
| # | |
| # bind-key -T prefix <key> <command> | |
| # bind-key <key> <command> | |
| # |