Skip to content

Instantly share code, notes, and snippets.

@dweemx
dweemx / IAMCredentials.json
Last active October 6, 2022 13:13 — forked from ServerlessBot/IAMCredentials.json
Minimum credential set for Serverless Framework
{
"Statement": [
{
"Action": [
"apigateway:*",
"cloudformation:CancelUpdateStack",
"cloudformation:ContinueUpdateRollback",
"cloudformation:CreateChangeSet",
"cloudformation:DeleteChangeSet",
"cloudformation:CreateStack",
@dweemx
dweemx / convert_github_clones_from_ssh_to_https
Last active April 17, 2020 10:09
Convert SSH github clones to use HTTPS
#/bin/bash
#-- Script to automate https://help.github.com/articles/why-is-git-always-asking-for-my-password
#-- Modified version of https://gist.github.com/m14t/3056747 to do the opposite
#-- The script iterate over all subfolder of the current working directory and
#-- will convert all repo/submodules to use HTTPS instead of SSH
for repo in `ls -d */`; do
cd $repo