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
;; Overview | |
;; -------- | |
;; Inserts an image from the clipboard by prompting the user for a filename. | |
;; Default extension for the pasted filename is .png | |
;; A ./images directory will be created relative to the current Org-mode document to store the images. | |
;; The default name format of the pasted image is: | |
;; filename: <yyyymmdd>_<hhmmss>_-_<image-filename>.png |
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
### Keybase proof | |
I hereby claim: | |
* I am mpas on github. | |
* I am marcopas (https://keybase.io/marcopas) on keybase. | |
* I have a public key ASAbEBSsSCQ_6MA52PEXrLdOBpkhAyLYM4ujIUEtthy3LQo | |
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
import groovy.json.JsonOutput | |
/** | |
* A simple CSV file to Json converter | |
* | |
* The CSV file is expected to have a header row to identify the columns. These | |
* columns will be used to generate the corresponding Json field. | |
* | |
* @author Marco Pas | |
*/ |
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
import groovy.json.JsonOutput | |
/** | |
* A simple CSV file to Json converter | |
* | |
* The CSV file is expected to have a header row to identify the columns. These | |
* columns will be used to generate the corresponding Json field. | |
* | |
* @author Marco Pas | |
*/ |