When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}I used to use NERD tree for quite a while, then switched to CtrlP for something a little more lightweight. My setup now includes zero file browser or tree view, and instead uses native Vim fuzzy search and auto-directory switching.
There is a super sweet feature in Vim whereby you can fuzzy find your files using **/*, e.g.:
:vs **/*<partial file name><Tab>| # 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> | |
| # |
| # 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. | |
| # |
| import os | |
| import sys | |
| import yaml | |
| import json | |
| # base url to use | |
| base_url = "http://localhost:1313" | |
| # The attribute mapping for docsearch. | |
| # |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| pbpaste | pygmentize -O"style=tango, fontface=Menlo" -f rtf -l $1 | pbcopy |
| # Referensövning | |
| def ref_test1(): | |
| a = [1, 2, 3] | |
| b = a | |
| a.append(4) | |
| # Vad skriver nedanstående rader ut? Varför? | |
| print(a) |
| # 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 |
| #!/usr/bin/python | |
| # -*- coding: utf_8 -*- | |
| # | |
| import sys | |
| import re | |
| import os | |
| import codecs | |
| targetfile = sys.argv[1] |