A comprehensive reference for using your Inspiroy H640P drawing tablet with OpenTabletDriver on Fedora Linux.
| #!/usr/bin/env python | |
| # print cp437 glyphs | |
| # 0x00 ␀ 0x20 0x40 @ 0x60 ` 0x80 Ç 0xA0 á 0xC0 └ 0xE0 α | |
| # 0x01 ☺ 0x21 ! 0x41 A 0x61 a 0x81 ü 0xA1 í 0xC1 ┴ 0xE1 ß | |
| # 0x02 ☻ 0x22 " 0x42 B 0x62 b 0x82 é 0xA2 ó 0xC2 ┬ 0xE2 Γ | |
| # 0x03 ♥ 0x23 # 0x43 C 0x63 c 0x83 â 0xA3 ú 0xC3 ├ 0xE3 π | |
| # 0x04 ♦ 0x24 $ 0x44 D 0x64 d 0x84 ä 0xA4 ñ 0xC4 ─ 0xE4 Σ | |
| # 0x05 ♣ 0x25 % 0x45 E 0x65 e 0x85 à 0xA5 Ñ 0xC5 ┼ 0xE5 σ | |
| # 0x06 ♠ 0x26 & 0x46 F 0x66 f 0x86 å 0xA6 ª 0xC6 ╞ 0xE6 µ |
| <friend> re: work making u change passwords, you should tell them they're going aginst NIST 800-63-4 section 3.1.1.2(6) | |
| <friend> "Verifiers and CSPs SHALL NOT require users to change passwords periodically." | |
| <friend> this is new recently | |
| <friend> it changed from SHOULD to SHALL | |
| <friend> no wiggle room now. if you're making people change passwords you are breakin da law |
comprehensive patterns from junegunn choi's everything.fzf collection
execute:CMD- run command in terminal, show outputexecute-silent:CMD- run command, hide output
Peter Naur, 1985
(copied from http://alistair.cockburn.us/ASD+book+extract%3A+%22Naur,+Ehn,+Musashi%22)
The present discussion is a contribution to the understanding of what programming is. It suggests that programming properly should be regarded as an activity by which the programmers form or achieve a certain kind of insight, a theory, of the matters at hand. This suggestion is in contrast to what appears to be a more common notion, that programming should be regarded as a production of a program and certain other texts.
| Import-Module posh-git | |
| Import-Module PSFzf | |
| # Set initial directory | |
| cd "$HOME\workspace\repos\UI" | |
| # Git aliases | |
| Set-Alias -Name g -Value git | |
| Remove-Item alias:gc -Force -ErrorAction SilentlyContinue | |
| function gs { git status $args } |
XScreenSaver is a collection of screen savers for X Window System. Each "module" is a standalone program that renders graphics to a window created by the XScreenSaver daemon.
- Any program can be a screensaver if it can draw on a window it didn't create
- You must use C (not C++) because other languages typically can't draw to external windows
- XScreenSaver provides utility functions to make development easier
| #NoEnv | |
| SendMode Input | |
| SetWorkingDir %A_ScriptDir% | |
| padding := 20 | |
| ; half screens | |
| ^#h::WinMove, A, , padding, padding, (A_ScreenWidth/2)-(padding*1.5), A_ScreenHeight-(padding*2) | |
| ^#j::WinMove, A, , padding, (A_ScreenHeight/2)+padding, A_ScreenWidth-(padding*2), (A_ScreenHeight/2)-(padding*2) | |
| ^#k::WinMove, A, , padding, padding, A_ScreenWidth-(padding*2), (A_ScreenHeight/2)-(padding*2) |
| ; AHK v2 script | |
| SetWorkingDir(A_ScriptDir) | |
| ; https://github.com/Ciantic/VirtualDesktopAccessor | |
| VDA_PATH := A_ScriptDir . "\VirtualDesktopAccessor.dll" | |
| hVirtualDesktopAccessor := DllCall("LoadLibrary", "Str", VDA_PATH, "Ptr") | |
| GoToDesktopNumberProc := DllCall("GetProcAddress", "Ptr", hVirtualDesktopAccessor, "AStr", "GoToDesktopNumber", "Ptr") | |
| GoToDesktopNumber(num) { |