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
<?php | |
/** | |
* NuxtValetDriver for running compiled nuxt.js sites | |
*/ | |
class NuxtValetDriver extends BasicValetDriver | |
{ | |
/** | |
* Determine if the driver serves the request. | |
* |
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
;;; Non-interactively save all selected regions as separate files | |
(define (script-fu-export-selected-regions image drawable) | |
;; Start | |
(gimp-image-undo-group-start image) | |
;; If there are selections | |
(when (= 0 (car (gimp-selection-is-empty image))) | |
(let ((number 1) (prefix "") (suffix "")) | |
;; Construct filename components | |
(let* ((parts (strbreakup (car (gimp-image-get-filename image)) ".")) |