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
Option Explicit | |
Public Sub OpenSelectedHyperlinks() | |
On Error GoTo ErrorHandler | |
Dim Cell As Object | |
For Each Cell In Selection | |
DoEvents | |
Call OpenHyperlink(Cell) |
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
ol { | |
counter-reset: section; /* Creates a new instance of the | |
section counter with each ol | |
element */ | |
list-style-type: none; | |
} | |
li::before { | |
counter-increment: section; /* Increments only this instance | |
of the section counter */ |
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/sh | |
# | |
# Pre-commit hook that verifies if all files containing 'vault' in the name | |
# are encrypted. | |
# If not, commit will fail with an error message | |
# | |
# File should be .git/hooks/pre-commit and executable | |
# | |
# Source: https://reinteractive.com/posts/167-ansible-real-life-good-practices | |
# Author: RAPHAEL CAMPARDOU |
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
Option Explicit | |
Private fileName As String | |
Public Sub ExportProperties() | |
On Error GoTo ErrorHandler | |
Let fileName = InputBox("Export properties to ...", "Export", fileName) | |
Open fileName For Output As #1 |
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
Public Sub DeleteParagraph() | |
On Error GoTo ErrorHandler | |
Call Selection.Range.Paragraphs(1).Range.Delete | |
GoSub Finally | |
Exit Sub | |
Finally: | |
Return |