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
CREATE FUNCTION [dbo].[ConcatSalesRepsCommission] | |
( | |
-- Add the parameters for the function here | |
@SalesRepID INT, @LocationID INT, @SurgeonID INT | |
) | |
/* | |
EXAMPLE: | |
SELECT dbo.ConcatSalesRepsCommission(14,45,36) | |
RETURNS: |
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
param ( | |
[int]$port = $(Read-Host "Please enter the new RDP port number") | |
) | |
# Set the registry value for the port | |
Set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\Terminal*Server\WinStations\RDP-TCP\ -Name PortNumber -Value $port | |
#Diable existing remote desktop rules | |
Set-NetFirewallRule -DisplayName "Remote Desktop - User Mode (TCP-In)" -Enabled False | |
Set-NetFirewallRule -DisplayName "Remote Desktop - User Mode (UDP-In)" -Enabled False |
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
# Description: Boxstarter Script | |
# Author: AJ Tatum <aj@ajtatum.com> | |
# Last Updated: 2018-02-19 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# Run this boxstarter by calling the following from an **elevated** command-prompt: | |
# start http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/ajtatum/455d0d8edd2652ef96cf4525f45b76ee/raw/188f6c48dfc47add91f3ae6aecc5839e588bfd16/boxstarter.ps1 | |
# OR |
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
<?xml version="1.0" encoding="utf-8"?> | |
<packages> | |
<package id="angryip" /> | |
<package id="bulk-crap-uninstaller" /> | |
<package id="ccenhancer" /> | |
<package id="ccleaner" /> | |
<package id="crystaldiskinfo" /> | |
<package id="crystaldiskinfo.portable" /> | |
<package id="partitionmasterfree" /> | |
<package id="rufus" /> |
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
{"lastUpload":"2021-08-30T02:26:20.541Z","extensionVersion":"v3.4.3"} |
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
^SPACE:: Winset, Alwaysontop, , A |
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
/* =========================================== * | |
* DARK CYAN THEME | |
* Version: 1.0.0 | |
* Author: AJ Tatum | |
* Website: ajt.io | |
* Tweets @ajtatum | |
* =========================================== */ | |
.headerDesktop-container { | |
background-color: #025a6c; |
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
function Get-UrlStatusCode([string] $Url) { | |
try { | |
(Invoke-WebRequest -Uri $Url -UseBasicParsing -DisableKeepAlive).StatusCode | |
} | |
catch [Net.WebException] { | |
[int]$_.Exception.Response.StatusCode | |
} | |
} | |
$username = ""; |
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
public class Program | |
{ | |
public static async Task Main(string[] args) | |
{ | |
await CreateHostBuilder(args).Build().RunAsync(); | |
} | |
public static IHostBuilder CreateHostBuilder(string[] args) | |
{ | |
return Host.CreateDefaultBuilder(args) |
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
using OptimizeSetWaitRequest = Kraken.Model.Azure.OptimizeSetWaitRequest; | |
using DataStore = Kraken.Model.Azure.DataStore; | |
namespace CreateMedia | |
{ | |
public class HttpCreate | |
{ | |
private static readonly string BlobStorageConnectionString = Environment.GetEnvironmentVariable("AzureWebJobsStorage"); | |
private static readonly string KrakenApiKey = Environment.GetEnvironmentVariable("KrakenApiKey"); | |
private static readonly string KrakenApiSecret = Environment.GetEnvironmentVariable("KrakenApiSecret"); |
OlderNewer