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 python | |
| import os | |
| import re | |
| import csv | |
| import sys | |
| import math | |
| import errno | |
| import signal | |
| import socket |
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/python3 | |
| import boto3 | |
| ec2_client = boto3.client('ec2') | |
| def find_in_sg(ip_address): | |
| sg = ec2_client.describe_security_groups() | |
| security_groups = [] | |
| for group in sg['SecurityGroups']: |
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/python3 | |
| from jira import JIRA | |
| from rofi import Rofi | |
| from subprocess import Popen, DEVNULL | |
| r = Rofi() | |
| browser_path = "vivaldi-stable" | |
| jira_uri = 'https://company.atlassian.net' | |
| api_token = 'https://id.atlassian.com/manage/api-tokens' # go here and generate one |
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/python3 | |
| # Purpose of script: | |
| # Convert a security group to HCL | |
| import boto3 | |
| client = boto3.client('ec2') | |
| def describe_sg(security_group): |
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/python3 | |
| from subprocess import call | |
| website = 'WEBSITE' | |
| call(["xdg-open", website]) |
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
| # First day config with qutebrowser | |
| config.load_autoconfig() | |
| # Define Aliases | |
| aliases = { | |
| "q": "quit", | |
| "tabopen": "open -t", | |
| "w": "session-save", | |
| "wq": "quit --save", | |
| "close": "tab-close", |
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
| # First day config with qutebrowser | |
| config.load_autoconfig() | |
| # Define Aliases | |
| aliases = { | |
| "q": "quit", | |
| "tabopen": "open -t", | |
| "w": "session-save", | |
| "wq": "quit --save", | |
| "close": "tab-close", |
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
| # i3 config file (v4) | |
| # Please see http://i3wm.org/docs/userguide.html for a complete reference! | |
| ##################################### | |
| # Main Config | |
| # | |
| # Set mod key (Mod1=<Alt>, Mod4=<Super>) | |
| set $mod Mod1 | |
| # | |
| # Configure border style <normal|1pixel|pixel xx|none|pixel> |
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
| # (‑●‑●)> dual licensed under the WTFPL v2 license and the MIT license, | |
| # without any warranty. | |
| # Copyright 2012— Gregory Pakosz (@gpakosz). | |
| # /!\ do not edit this file | |
| # -- general ------------------------------------------------------------------- | |
| setw -g xterm-keys on | |
| set -s escape-time 10 # faster command sequences | |
| set -sg repeat-time 600 # increase repeat timeout |
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
| # Autogenerated config.py | |
| # Documentation: | |
| # qute://help/configuring.html | |
| # qute://help/settings.html | |
| config.load_autoconfig() | |
| # Enable JavaScript. | |
| # Type: Bool | |
| config.set('content.cookies.accept', 'all') |