sudo dnf install xrdp xorgxrdp
Discover gists
This file contains 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
According to all known laws of aviation, there is no way a bee should be able to fly. | |
Its wings are too small to get its fat little body off the ground. | |
The bee, of course, flies anyway because bees don't care what humans think is impossible. | |
Yellow, black. Yellow, black. Yellow, black. Yellow, black. | |
Ooh, black and yellow! | |
Let's shake it up a little. | |
Barry! Breakfast is ready! | |
Coming! | |
Hang on a second. | |
Hello? |
This file contains 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 Shell Shockers Aimbot & ESP: StateFarm Client V3 - Cheats For Bloom, Chat, Botting, Unbanning & More | |
// @description Fixed for 0.48.0! Advanced, Open Source, No Ads. Best cheats menu for Shell Shockers in 2024. Many modules such as Aimbot, PlayerESP, AmmoESP, Chams, Nametags, Join/Leave messages, Chat Filter Disabling, AntiAFK, FOV Slider, Zooming, Co-ords, Player Stats, Auto Refill and many more whilst having unsurpassed customisation options such as binding to any key, easily editable colour scheme and themes - all on the fly! | |
// @author Hydroflame521, onlypuppy7, enbyte, notfood, 1ust, OakSwingZZZ, Seq and de_Neuublue | |
// @namespace http://github.com/Hydroflame522/StateFarmClient/ | |
// @supportURL http://github.com/Hydroflame522/StateFarmClient/issues/ | |
// @license GPL-3.0 | |
// @run-at document-start | |
// @grant GM_setValue | |
// @grant GM_getValue |
This file contains 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 python3 | |
import boto3 | |
def main(): | |
region_names = [x['RegionName'] for x in boto3.client('ec2').describe_regions()['Regions']] | |
for region_name in region_names: | |
ec2 = boto3.resource('ec2', region_name=region_name) | |
for sg in ec2.security_groups.iterator(): | |
print(region_name, 'security_group', sg.group_name, sg.group_id) | |
for instance in ec2.instances.iterator(): |
This file contains 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 boto3 | |
import sys, traceback | |
from datetime import datetime | |
from time import sleep | |
def start_rds_instances(): | |
start_time = datetime.now() | |
# starting ec2 client for list regions | |
ec2_client = boto3.client('ec2') |
This file contains 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 boto3 | |
custom_ec2_filter = [ | |
{ | |
'Name': 'instance-state-name', | |
'Values': ['running', 'pending'] | |
} | |
] | |
# Combination of tag key and value to prevent shutdown/downscale resources |
This file contains 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 boto3 | |
import sys, traceback | |
from datetime import datetime | |
from time import sleep | |
def stop_rds_instances(): | |
start_time = datetime.now() | |
# starting ec2 client for list regions | |
ec2_client = boto3.client('ec2') |
This file contains 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 json | |
import boto3 | |
#import croniter | |
def list_instances(filters: list = []) -> dict: | |
''' | |
Lists all the ec2 instances with their state, public Ip, name etc. | |
Filters is used based on tags (key and values). | |
''' |
This file contains 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 Create the command | |
export const INSERT_COMMENT: LexicalCommand<Comment> = createCommand('INSERT_COMMENT'); | |
// Second, register commands. 1/ show the modal after selection. 2/ insert the comment after submitting the form | |
return mergeRegister( | |
editor.registerUpdateListener(({ editorState }) => { | |
editorState.read(() => { | |
const selection = $getSelection(); | |
let hasAnchorKey = false; | |
if ($isRangeSelection(selection)) { |
NewerOlder