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
#!/bin/sh | |
# | |
# Use posixregex CLI tool from: https://github.com/syzdek/dmstools/blob/master/src/posixregex.c | |
RE_IPV4="((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])" | |
posixregex -r "^(${RE_IPV4})$" \ | |
127.0.0.1 \ | |
10.0.0.1 \ | |
192.168.1.1 \ |
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
[Console]::Beep(130, 100) | |
[Console]::Beep(262, 100) | |
[Console]::Beep(330, 100) | |
[Console]::Beep(392, 100) | |
[Console]::Beep(523, 100) | |
[Console]::Beep(660, 100) | |
[Console]::Beep(784, 300) | |
[Console]::Beep(660, 300) | |
[Console]::Beep(146, 100) | |
[Console]::Beep(262, 100) |
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
qemu-img convert -O raw <infile.(vdi|vmdk|$whatever)> /dev/zvol/rpool/data/<vmid>-disk0 |
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
<# | |
Replace-RDGatewayCertificate.ps1 | |
Version 1.0.1 -- fixed my bad grammar | |
by Colin Cogle <colin@colincogle.name> | |
This program is free software: you can redistribute it and/or modify it under the terms | |
of the GNU General Public License as published by the Free Software Foundation, either | |
version 3 of the License. This program is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | |
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
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
<# | |
.NOTES | |
Find-SSDTimeBombs.ps1, version 1.0.1 | |
Copyright (c) 2020 Colin Cogle <colin@colincogle.name>. | |
This program is free software: you can redistribute it and/or modify it under | |
the terms of the GNU Affero General Public License as published by the Free | |
Software Foundation, either version 3 of the License, or (at your option) any | |
later version. |
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
@font-face { | |
font-family: 'JetBrains Mono'; | |
src: url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-Bold-Italic.woff2') format('woff2'), | |
url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-Bold-Italic.woff') format('woff'); | |
font-weight: 700; | |
font-style: italic; | |
font-display: swap; | |
} | |
@font-face { |
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
<#PSScriptInfo | |
.VERSION 1.0 | |
.GUID d3aa9909-cd37-4154-81d2-7e6ef3c776ce | |
.AUTHOR Colin Cogle | |
.COPYRIGHT (c) 2020 Colin Cogle. All rights reserved. | |
.TAGS Adobe, Flash, Player, swf, killer, KB4577586 | |
.LICENSEURI https://www.gnu.org/licenses/agpl-3.0.en.html | |
.PROJECTURI https://gist.github.com/rhymeswithmogul/1346f32de625962b17adc713d0ac350c | |
#> |
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
<#PSScriptInfo | |
.VERSION 1.0.1 | |
.GUID ea95d532-3b54-48b0-97ef-45f16237e277 | |
.AUTHOR Colin Cogle | |
.COPYRIGHT (c) 2021 Colin Cogle. All Rights Reserved. Licensed under the AGPLv3. | |
.TAGS Microsoft, screwed, up, again, 2104, Office, 2016, 2019, Current Channel, Outlook, bug, email, M365, update, devops-fail | |
.LICENSEURI https://www.gnu.org/licenses/agpl-3.0.en.html | |
.PROJECTURI https://gist.github.com/rhymeswithmogul/f6d5c37ed3058802e9cb94e637e989c9 | |
.RELEASENOTES Documentation updates, link to PowerShell Gallery, remove swearing for broader public release. | |
#> |
It's come to my attention that some people have been spamming issue trackers with a link to this gist. While it's a good idea to inform people of the situation in principle, please do not do this. By all means spread the word in the communities that you are a part of, after verifying that they are not aware yet, but unsolicited spam is not helpful. It will just frustrate people.
A number of things have happened since the last update.
OlderNewer