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
| //********************************************************************************************************* | |
| //makeTodo: Call other functions to make the daily Todo | |
| //********************************************************************************************************* | |
| function makeTodo(){ | |
| //Populate Header | |
| grabHeader("B1") | |
| //Populate Task List |
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
| AbortDocumentVersionUpload | |
| AbortEnvironmentUpdate | |
| AbortMultipartUpload | |
| AbortVaultLock | |
| AcceptAccountMapping | |
| AcceptCertificateTransfer | |
| AcceptDelegate | |
| AcceptDirectConnectGatewayAssociationProposal | |
| AcceptFxPaymentCurrencyTermsAndConditions | |
| AcceptHandshake |
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 | |
| Script to Initialize my custom powershell setup. | |
| .DESCRIPTION | |
| Script uses scoop | |
| .NOTES | |
| **NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted. | |
| Author: Mike Pruett | |
| Date: October 18th, 2018 |
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
| /* For Mac: ~/Library/Application Support/Firefox/Profiles/FOOBAR.default/chrome/userChrome.css */ | |
| /* hide tab bar */ | |
| #TabsToolbar { visibility: collapse !important; } | |
| /* hide header of side bar */ | |
| #sidebar-header { visibility: collapse; } | |
| /* multiple bookmark toolbar */ | |
| #personal-bookmarks { | |
| display: block; |
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 | |
| query_string=$(cat << EndOfMessage | |
| fields @timestamp, @logStream, headers.X-Amzn-Trace-Id, @transId, @message | |
| | parse @message /(transactionId:[ ]?)(?<@transId>[a-zA-Z0-9]+)/ | |
| | filter @transId = a4c475516be5445a87fbb81bb7a4b365 | |
| EndOfMessage | |
| ) \ | |
| && \ | |
| query_id=`aws logs start-query --log-group-name /aws/lambda/console_log \ |
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 ruby | |
| # USAGE: | |
| # gem install terraforming | |
| # export AWS_PROFILE=xxx | |
| # mkdir -p ~/projects/terraform | |
| # cd ~/projects/terraform | |
| # mkdir -p imports/[account]/[region] | |
| # cd imports/[account]/[region] | |
| # ../../../bin/terraforming-import-all |
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 Google Redirect Remove | |
| // @id google_redirect_remove | |
| // @namespace scripts.zachbrowne.com | |
| // @description Remove URL redirection from google sites | |
| // @license GPL v3 | |
| // @include *://www.google.*/*q=* | |
| // @include *://www.google.*/*tbs=* | |
| // @include *://www.google.*/search?* | |
| // @include *://www.google.*/webhp?* |
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
| ARN Base Pattern :- | |
| arn:<aws_parition>:<aws_service>:[<aws_region>]:<account_id>:<root | resource_type>:/<resource_name>[/<sub_resource_names>...] | |
| i. <aws_partition> | |
| Regex - (aws|aws-us-gov|aws-cn) | |
| ii. <aws_service> - No fixed pattern | |
| iii. <aws_region> - No fixed pattern | |
| Most of the regions occur in combination of 2 letter followed by "-" followed by a combination of direction based word , followed by a "-" and then a digit. |
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
| // | |
| // Intended to be used as a bookmarklet that is executed when on the AWS Single Sign-On landing page, | |
| // this script scans the named SSO application and its accounts (specified below) and generates the | |
| // ~/.aws/credentials content and copies it to the clipboard ready to be used. | |
| // | |
| // the SSO application to use | |
| const APPLICATION_TITLE = "AWS Account"; | |
| // specify the names of the accounts to include (case sensitive). Any that are not found will be ignored. |
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
| /* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/autohide_bookmarks_and_main_toolbars.css made available under Mozilla Public License v. 2.0 | |
| See the above repository for updates as well as full license text. */ | |
| #navigator-toolbox{ | |
| --uc-bm-padding: 4px; /* Vertical padding to be applied to bookmarks */ | |
| --uc-bm-height: calc(20px + 2 * var(--uc-bm-padding)); /* Might need to adjust if the toolbar has other buttons */ | |
| --uc-navbar-height: -40px; /* navbar is main toolbar. Use negative value */ | |
| --uc-autohide-toolbar-delay: 600ms; /* The toolbar is hidden after 0.6s */ | |
| } |