Name | Description |
---|---|
aws-gate |
Better AWS SSM Session manager CLI client |
aws-ssm-tools |
Handy tools for AWS Systems Manager - ssm-session, ecs-session, ssm-ssh and ssm-tunnel |
gossm |
💻Interactive CLI tool that you can connect to ec2 using commands same as start-session, ssh in AWS SSM Session Manager |
ssm-helpers |
Help manage AWS systems manager with helpers |
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
import requests | |
import logging | |
try: | |
import http.client as http_client | |
except ImportError: | |
# Python 2 | |
import httplib as http_client | |
http_client.HTTPConnection.debuglevel = 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
# youtube-subs-to-opml.py -- Convert YouTube subscriptions exported | |
# via Google Takeout into OPML | |
# | |
# See <https://www.reddit.com/r/youtube/comments/jqlks2/where_did_opml_export_go/gcdii2n/>. | |
# 1. Go to youtube homepage | |
# 2. Click top right icon, "Your Data in Youtube" | |
# 3. Click "Show More" | |
# 4. Click "Download Youtube data" | |
# 5. This takes you to a similar screen as the other google takeout one, but only for youtube data. The subscription info here is more up to date. | |
# |
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
# HCL (Terraform >= 0.12.20) | |
locals { | |
combined_cardinal_directions = { | |
northeast = "ne", | |
northwest = "nw", | |
southeast = "se", | |
southwest = "sw", | |
} | |
aws_region_array = split("-", lower(var.aws_region_name)) |
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 -S bash -c "docker run -p 8080:8080 -it --rm \$(docker build --progress plain -f \$0 . 2>&1 | tee /dev/stderr | grep -oP 'sha256:[0-9a-f]*')" | |
# syntax = docker/dockerfile:1.4.0 | |
FROM node:20 | |
WORKDIR /root | |
RUN npm install sqlite3 |
ℹ️ GH Gist: yermulnik/Telegram.yz.md
👉 Update this gist:
gh gist edit https://gist.github.com/yermulnik/5b1d412ca01630af4d06c2c1fadddc53 -f Telegram.yz.md README.md
Starting with v4.10.0
Telegram has stopped supporting Linux platforms
with glibc
(GNU C Library) less than 2.29
(2.28
?):
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
# This is now a proper library, see https://github.com/benkehoe/aws-assume-role-lib | |
# pip install aws-assume-role-lib | |
# Copyright 2020 Ben Kehoe | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
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
git_protocol: ssh | |
aliases: | |
personal: '!cp ~/.config/gh/hosts.yml.personal ~/.config/gh/hosts.yml && gh auth status' | |
work: '!cp ~/.config/gh/hosts.yml.work ~/.config/gh/hosts.yml && gh auth status' |
NewerOlder