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
Show hidden characters
{ | |
// Place your snippets for powershell here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
// "Print to console": { | |
// "prefix": "log", | |
// "body": [ | |
// "console.log('$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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes] | |
"Arabic Transparent"="Arial" | |
"Arabic Transparent Bold"="Arial Bold" | |
"Arabic Transparent Bold,0"="Arial Bold,178" | |
"Arabic Transparent,0"="Arial,178" | |
"Arial Baltic,186"="Arial,186" | |
"Arial CE,238"="Arial,238" | |
"Arial CYR,204"="Arial,204" |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<NotepadPlus> | |
<LexerStyles> | |
<LexerType name="autoit" desc="autoIt" ext=""> | |
<WordsStyle name="DEFAULT" styleID="0" fgColor="F8F8F2" bgColor="272822" fontName="" fontStyle="0" fontSize="10" /> | |
<WordsStyle name="COMMENT LINE" styleID="1" fgColor="75715E" bgColor="272822" fontName="" fontStyle="0" fontSize="10" /> | |
<WordsStyle name="COMMENT" styleID="2" fgColor="75715E" bgColor="272822" fontName="" fontStyle="0" fontSize="10" /> | |
<WordsStyle name="NUMBER" styleID="3" fgColor="AE81FF" bgColor="272822" fontName="" fontStyle="0" fontSize="10" /> | |
<WordsStyle name="FUNCTION" styleID="4" fgColor="66D9EF" bgColor="272822" fontName="" fontStyle="0" fontSize="10" keywordClass="instre2" /> | |
<WordsStyle name="INSTRUCTION WORD" styleID="5" fgColor="66D9EF" bgColor="272822" fontName="" fontStyle="0" fontSize="10" keywordClass="instre1" /> |
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
<# | |
.SYNOPSIS | |
Generates a workout routine based on a string. | |
.PARAMETER String | |
The string to base the workout routine on. | |
.EXAMPLE | |
PS C:\> ConvertTo-Workout -String 'Cabbage Corp' | |
Name Value | |
---- ----- |
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
// Place your settings in this file to overwrite the default settings | |
{ | |
//#region Editor | |
//#region Cursor | |
// Cursor blink type | |
"editor.cursorBlinking": "expand", | |
// Cursor appearance | |
"editor.cursorStyle": "line-thin", | |
// Modifier key for adding multiple cursor entries | |
"editor.multiCursorModifier": "ctrlCmd", |
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
<# | |
.SYNOPSIS | |
This Function is designed to RickRoll a specified target(s). | |
.DESCRIPTION | |
This Function will RickRoll a specified target(s) by doing the following: | |
1. Connect to the specified remote computer(s) | |
2. Use Get-CimInstance to return the logged on user | |
3. Create a file containing: | |
a. The RickRoll expression to be run | |
b. Code to remove teh script after run |
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
<# | |
.SYNOPSIS | |
Searches for and removes Notes documents older than a specified date or larger than a specified size. | |
.DESCRIPTION | |
Connects to Users Notes Database through COM to search for and delete files older than a specified date, or files larger than a specified size. | |
.PARAMETER FolderName | |
Specifies which folder(s) to look through. | |
.PARAMETER Days | |
Defines the maximum age for documents. Any documents older than this date will be removed. Must be >= 1. | |
.PARAMETER LotusServer |
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
<# | |
.SYNOPSIS | |
Sets custom NTFS permissions on a desginated folder. | |
.DESCRIPTION | |
Resets NTFS permissions on the target folder. Then grants\removes permissions based on User selection. | |
.PARAMETER Folder | |
Target folder to set NTFS permissions on. | |
.PARAMETER Owner | |
Designated owner of target folder once function is complete. For domain user, must be entered as 'domain\username'. | |
.PARAMETER GrantACL |