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
#!/usr/bin/env bash | |
# starts (or restarts) a 1password cli session, sets 30 minute countdown variable | |
# use: OP_CLOUD_ACCOUNT="[your-account-name]" source /path/to/op_session.sh command | |
# e.g.: OP_CLOUD_ACCOUNT="familyname" source ~/op_session.sh get account | |
check_session(){ | |
# attempt sign in if session is not active |
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
// ==UserScript== | |
// @name Larger SG Selector | |
// @namespace http://ryotarai.info/ | |
// @version 0.1 | |
// @description Why is it too small? | |
// @author Ryota Arai | |
// @match https://*.console.aws.amazon.com/* | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name Translate Amazon | |
// @namespace http://ideasasylum.com | |
// @version 0.1 | |
// @description Translate the Amazon service names into plain English. See https://www.expeditedssl.com/aws-in-plain-english | |
// @author @ideasasylum | |
// @match https://*.console.aws.amazon.com/console/home?* | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name AWS console notification dismisserator 9000 | |
// @namespace https://github.com/jamesinc | |
// @version 1.0 | |
// @description Dismiss AWS flash notifications after about 5 seconds | |
// @author James Ducker | |
// @match https://*.console.aws.amazon.com/* | |
// @grant none | |
// @run-at document-end | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name ShowLocaltimeInCWMC | |
// @namespace j3tm0t0.gmail.com | |
// @description Show Localtime in CloudWatch Management Console | |
// @include https://console.aws.amazon.com/cloudwatch/home* | |
// @version 1.1 | |
// ==/UserScript== | |
$(document).ready(function(){ | |
var f=function() | |
{ |
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
// ==UserScript== | |
// @name AWS Console Activator | |
// @description AWS Console Activator | |
// @match https://console.aws.amazon.com/* | |
// ==/UserScript== | |
(function() { | |
var interval = 1000*60; | |
setInterval(function() {$("#refresh_btn-button").click()}, interval); | |
})(); |
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 | |
Installs PowerShell scripts as Windows Services. | |
.DESCRIPTION | |
Installs or removes PowerShell script services. | |
When installing, any additional command line arguments besides the mandatory ones are supplied as arguments to the script you are installing, and credentials for the service will be prompted for. | |
The service will be installed for automatic start, however the initial state is 'Stopped' | |
This tool will additionally pass the switch -Service to the target script which it should implement to know it is running as a service. |
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
function Add-EnvPath { | |
param( | |
[Parameter(Mandatory=$true)] | |
[string] $Path, | |
[ValidateSet('Machine', 'User', 'Session')] | |
[string] $Container = 'Session' | |
) | |
if ($Container -ne 'Session') { |
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
$managedInstanceId = (Get-Content -Path 'C:\ProgramData\Amazon\SSM\InstanceData\Vault\Store\RegistrationKey' -Raw | ConvertFrom-Json).instanceID | |
$moduleNames = @( | |
'AWSPowerShell', | |
'ClipboardText', | |
'Convert', | |
'PSWindowsUpdate' | |
) | |
$complianceItems = [System.Collections.Generic.List[Amazon.SimpleSystemsManagement.Model.ComplianceItemEntry]]::new() | |
foreach ($moduleName in $moduleNames) |
NewerOlder