Skip to content

Instantly share code, notes, and snippets.

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?
// ==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
@babo
babo / list_aws_resources.py
Created December 18, 2015 22:32
List security groups, EC2, RDS and Elasticache instances and they security groups.
#!/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():
@wesleymonaro
wesleymonaro / rds_start_business_hours.py
Created September 2, 2020 01:20
rds_start_business_hours.py
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')
import boto3
custom_ec2_filter = [
{
'Name': 'instance-state-name',
'Values': ['running', 'pending']
}
]
# Combination of tag key and value to prevent shutdown/downscale resources
@wesleymonaro
wesleymonaro / rds_stop_business_hours.py
Created September 2, 2020 01:20
rds_stop_business_hours.py
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')
@jeijei4
jeijei4 / fedora-LXQT-install-xrdp.md
Created December 29, 2021 02:51 — forked from valorad/fedora-LXQT-install-xrdp.md
Fedora LXQT set up Remote Desktop (xrdp)

Fedora LXQT set up Remote Desktop (xrdp)

Install pacakge

sudo dnf install xrdp xorgxrdp
@mehdilaruelle
mehdilaruelle / aws_start_stop.py
Created September 26, 2022 21:19
In AWS, this Python script will do a start and stop based on tags and CRON expression for: RDS, EC2 and auto_scaling
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).
'''
@erickjth
erickjth / gist:3946e4e21b4d2f6917afd877a01bb38f
Last active May 20, 2024 19:04
Lexical Persist/Restore Comments (unstable but good start)
// 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)) {