This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; There seems to be no built-in mechanism to swap modifier keys in | |
| ;; Emacs, but it can be accomplished (for the most part) by | |
| ;; translating a near-exhaustive list of modifiable keys. In the case | |
| ;; of 'control and 'meta, some keys must be omitted to avoid errors or | |
| ;; other undesired effects. | |
| (defun my/make-key-string (modsymbol basic-event) | |
| "Convert the combination of MODSYMBOL and BASIC-EVENT. | |
| BASIC-EVENT can be a character or a function-key symbol. The | |
| return value can be used with `define-key'." | |
| (vector (event-convert-list `(,modsymbol ,basic-event)))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Licensed under CC BY 3.0 http://creativecommons.org/licenses/by/3.0/ | |
| # Derived works must attribute https://gist.github.com/4492300 at the beginning, and the date. | |
| ################################################################## | |
| Installing and Configuring SmartOS on a budget server (with a /29) | |
| ################################################################## | |
| # if you find this gist useful, please star it | |
| # please be aware that budget hosting companies usually cut corners somewhere, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #+cocoa | |
| (defun current-language () | |
| (let ((lang (objc:with-autorelease-pool () | |
| (objc:invoke-into | |
| 'string | |
| (objc:invoke | |
| (objc:invoke "NSUserDefaults" "standardUserDefaults") | |
| "objectForKey:" "AppleLanguages") | |
| "objectAtIndex:" 0)))) | |
| ;; 2019-04-29 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name | creditcard | |
|---|---|---|
| Keeley Bosco | 1228-1221-1221-1431 | |
| Rubye Jerde | 1228-1221-1221-1431 | |
| Celine Ankunding | 1228-1221-1221-1431 | |
| Dr. Araceli Lang | 1211-1221-1234-2201 | |
| Terrell Boyle | 1228-1221-1221-1431 | |
| Libby Renner | 1234-2121-1221-1211 | |
| Alessandro Barton | 1234-2121-1221-1211 | |
| Dr. Art Grimes | 1211-1221-1234-2201 | |
| Keven Purdy | 1211-1221-1234-2201 |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| {"name":"Keeley Bosco","email":"katlyn@jenkinsmaggio.net","city":"Lake Gladysberg","mac":"08:fd:0b:cd:77:f7","timestamp":"2015-04-25 13:57:36 +0700","creditcard":"1228-1221-1221-1431"}, | |
| {"name":"Rubye Jerde","email":"juvenal@johnston.name","city":null,"mac":"90:4d:fa:42:63:a2","timestamp":"2015-04-25 09:02:04 +0700","creditcard":"1228-1221-1221-1431"}, | |
| {"name":"Miss Darian Breitenberg","email":null,"city":null,"mac":"f9:0e:d3:40:cb:e9","timestamp":"2015-04-25 13:16:03 +0700","creditcard":null}, | |
| {"name":"Celine Ankunding","email":"emery_kunze@rogahn.net","city":null,"mac":"3a:af:c9:0b:5c:08","timestamp":"2015-04-25 14:22:22 +0700","creditcard":"1228-1221-1221-1431"}, | |
| {"name":"Dr. Araceli Lang","email":"mavis_lehner@jacobi.name","city":"Yvettemouth","mac":"9e:ea:28:41:2a:50","timestamp":"2015-04-25 21:02:11 +0700","creditcard":"1211-1221-1234-2201"}, | |
| {"name":"Esteban Von","email":null,"city":null,"mac":"2d:e4:f0:dd:90:96","timestamp":"2015-04-25 21:47:09 +0700","creditcard":null}, | |
| {"name":"Everette Swift","em |
NewerOlder