Skip to content

Instantly share code, notes, and snippets.

View derek-higgins's full-sized avatar

Derek Higgins derek-higgins

View GitHub Profile
@derek-higgins
derek-higgins / gist:37cca1952c7c5718af9af04d0f3dbf3f
Created March 8, 2024 13:14
AWS Advanced Config Query Code
import boto3
import json
def run_advanced_query(aggregator_name, query):
client = session.client('config')
# Execute the advanced query with pagination
results = []
next_token = None
@derek-higgins
derek-higgins / godot_duplicate_object
Created March 5, 2024 16:27
godot 4.2 duplicate work around
## used to duplicate complex node copy all state and connections
func duplicate_object(object):
var packed_scene=PackedScene.new()
packed_scene.pack(object)
return packed_scene.instantiate()