Simply put, destructuring in Clojure is a way extract values from a datastructure and bind them to symbols, without having to explicitly traverse the datstructure. It allows for elegant and concise Clojure code.
π¨βπ©βπ¦βπ¦
When you format your SDCard using your Fujifilm camera, it uses NTFS. Sometimes macOS can automatically mount the SDCard when inserted, but sometimes it doesn't.
This has been tested using the following devices:
- Fujifilm X-T3 on Ver.5.10 firmware
- macOS 14.2.1 Sonoma on M2 Max Macbook Pro
- SanDisk Extreme Pro 64GB
This file contains 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
#!/bin/bash | |
usage="usage: $(basename "$0") [-hn] ACCOUNT | |
Check an offlineimap account's mail directory for new messages and trigger notification | |
where: | |
-h show this help text | |
ACCOUNT the offlineimap account name" |
This file contains 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
function test() { | |
var requestURL = "https://api.xero.com/api.xro/2.0/Accounts", | |
timestamp = (new Date().valueOf()/1000).toFixed(0), | |
nonce = createGuid(), | |
key = "consumer key from xero private app", | |
publickey = "content of publickey.cer", | |
requestData = { | |
"method": "GET", | |
"contentType": "application/xml", | |
"headers": { |
I hereby claim:
- I am john2x on github.
- I am john2x (https://keybase.io/john2x) on keybase.
- I have a public key ASCY-Xaf7jXGFun16lwCT2cOacnua4JMadfA1rtR4r_tZgo
To claim this, I am signing this object:
This file contains 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
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: uwsgi-emperor | |
# Required-Start: $all | |
# Required-Stop: $all | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: starts the uwsgi emperor app server | |
# Description: starts uwsgi app server using start-stop-daemon |
This file contains 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
" flatui.vim - Vim color scheme | |
" ---------------------------------------------------------- | |
" Author: John Louis Del Rosario (http://john2x.com/) | |
" Version: 0.1 | |
" License: Creative Commons Attribution-NonCommercial | |
" 3.0 Unported License (see README.md) | |
" ---------------------------------------------------------- | |
" Setup ----------------------------------------------------{{{ | |
" Reset syntax highlighting |
This file contains 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
" Vim color file flatui2 | |
" generated by VimTax http://www.vimtax.com | |
set background=light | |
hi clear | |
if exists("syntax_on") | |
syntax reset | |
endif | |
set t_Co=256 | |
let colors_name = "flatui2" |
This file contains 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
" Delete buffer while keeping window layout (don't close buffer's windows). | |
" Version 2008-11-18 from http://vim.wikia.com/wiki/VimTip165 | |
if v:version < 700 || exists('loaded_bclose') || &cp | |
finish | |
endif | |
let loaded_bclose = 1 | |
if !exists('bclose_multiple') | |
let bclose_multiple = 1 | |
endif |
NewerOlder