I hereby claim:
- I am ternera on github.
- I am ternera (https://keybase.io/ternera) on keybase.
- I have a public key ASBv_9jToR0k_Zdv945DuNUVoajh2FLN4htKBRKK1r1ZrAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Running the command below will show the email addresses of every contributor to a Github repository. This information is publicly accessible.
git log | grep @ | cut -d' ' -f3 | tr -d '><'
# Define the allowed applications | |
$allowedApps = @( | |
"example.exe", | |
"example2.exe" | |
) | |
# Convert the array to a format suitable for the registry | |
$allowedAppsString = $allowedApps -join ',' | |
# Registry path for the Group Policy setting |
type: comment | |
body (regex): "\b[0-9]{5}\b" | |
comment_repetition: | |
match: "regex" | |
pattern: "\b[0-9]{5}\b" | |
threshold: 2 | |
timeframe: "14 days" | |
action: remove |
// Add delete button to pages where the user has delete permissions | |
(function() { | |
'use strict'; | |
// Check if user has delete permissions | |
function hasDeletePermission() { | |
// Look for delete tab or link in the page | |
const deleteLinks = document.querySelectorAll('a[href*="action=delete"], li#ca-delete'); | |
return deleteLinks.length > 0; | |
} |