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
#!/bin/bash | |
local files=("file one" "file two") | |
touch "${files[@]}" | |
bash -c "rm ??" |
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
function dataRange { | |
param ($rngFirst) | |
$rngAll = $rngFirst.CurrentRegion | |
$rngData = $rngAll.Offset(1,0).Resize($rngAll.Rows.Count) | |
return $rngData | |
} | |
... | |
dataRange($ws.Range("A1")) # loads as Boolean |
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
textual: complement charset "<" | |
test: { | |
<div class="tmi-group "> | |
<div class="tmi tmi-daily bold "> | |
<div class="tmi-text-group"> | |
<div class="tmi-name"> | |
text here | |
<span class="tmi-qty">0,2l </span> | |
more text here. | |
</div> |
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
(advice-remove 'kill-emacs 'spacemacs-really-exit) | |
(defun ad-advice-kill-emacs (orig-fun) | |
"Prompt before killing." | |
(if (and (not spacemacs-really-kill-emacs) | |
(spacemacs/persistent-server-running-p)) | |
(when (y-or-n-p "Really kill frame?") | |
(spacemacs/frame-killer)) | |
(when (y-or-n-p "Really exit?") | |
(funcall orig-fun)))) | |
(advice-add 'kill-emacs :around 'ad-advice-kill-emacs) |
NewerOlder