Posts

Showing posts from January, 2017

vim clipboard

paste from system clipboard: "+p yank to system clipboard (without copying line numbers!): :1,21y+ (the above yanks lines 1 to 21 - use :%y+ to get everything ) There are probably logical extensions of these you can figure out.

bluetooth xps13

bluetooth's a bugger. I've not used it for ages, and figure it's eating my battery up most of the time. https://wiki.archlinux.org/index.php/Power_management#Bluetooth used systemctl enable rfkill-block@bluetooth.service to try to remedy. I'm writing this down because as soon as I forget this I'll want to play a game with my 8bitdo or link the laptop to the bluetooth speaker or something. i guess it's just a matter of systemctl disable the same service and maybe restarting it? [2017-02-12 EDIT] This didn't work - or didn't persist past reboots/updates, whatever. So frustrating. I just used systemctl stop bluetooth.service but I don't know if that actually kills the hardware process and stops battery drain of it just stops a management daemon. More reading required, but not right now.

firefox default zoom

go to about:config change value of layout.css.devPixelsPerPx

XHTML

http://www.w3schools.com/html/html_xhtml.asp

APIs

https://www.programmableweb.com/api-university/what-are-apis-and-how-do-they-work This analogy with power sockets is the best API metaphor I've heard yet.