$ export ECS_CLUSTER_NAME={YOUR_ECS_CLUSTER_NAME}
$ export ECS_SERVICE_NAME={YOUR_ECS_SERVICE_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
| // ==UserScript== | |
| // @name Hide Bullshit | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2025-11-04 | |
| // @description | |
| // @author You | |
| // @match https://www.google.com/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=google.com | |
| // @grant none | |
| // ==/UserScript== |
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
| #!/bin/bash | |
| obsScene () { | |
| xdotool key ctrl+shift+alt+$1 | |
| } | |
| obsScript () { | |
| xdotool key ctrl+shift+$1 | |
| } | |
| obsMisc () { | |
| xdotool key ctrl+alt+$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
| # disable readonly | |
| sudo steamos-readonly disable | |
| # init keys | |
| sudo pacman-key --init | |
| sudo pacman-key --populate archlinux | |
| sudo pacman-key --populate holo | |
| # search latest headers | |
| sudo pacman -Ss linux-neptune | |
| # install found appropiate headers and v4l2 | |
| sudo pacman -S linux-neptune-611-headers v4l2loopback-dkms |
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
| # query | |
| curl \ | |
| -X POST \ | |
| -H "x-api-key: xxx-xxxx" \ | |
| -H "Content-Type: application/json" \ | |
| -d '{ "query": "query { listUsers { name } }" }' \ | |
| https://app-id.appsync-api.us-east-1.amazonaws.com/graphql | |
| # mutation with variables | |
| curl \ |
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 { util } from "@aws-appsync/utils"; | |
| /** | |
| * Sends a POST request to create a new user | |
| * @param {import('@aws-appsync/utils').Context<{input: {id: string; name:string}}>} ctx the context | |
| * @returns the request | |
| */ | |
| export function request(ctx) { | |
| return fetch("/graphql", { | |
| method: "POST", |
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
| @MappableRecord() | |
| typedef Shop = ({ | |
| String id, | |
| String name, | |
| DateTime createdAt, | |
| String address, | |
| }); | |
| final res = await Amplify.API | |
| .query( |
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
| extension on Iterable<(String, Override)> { | |
| List<Option> toKnobOptions() => List<Option>.from(map((e) => Option(label: e.$1, value: e))); | |
| } | |
| final knobOverride = Story( | |
| name: "Knob/Override", | |
| builder: (context) { | |
| final options = [ | |
| ( | |
| "Loading", |
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
| SET @old = "Holzbraun"; | |
| SET @new = "wooden"; | |
| SET @meta_key = "color"; | |
| UPDATE wp_postmeta | |
| SET meta_value = REPLACE(REPLACE(meta_value,@old,@new),LOWER(@old),@new) | |
| WHERE LOWER(meta_value) LIKE LOWER(CONCAT('%',@old,'%')) AND meta_key = @meta_key; | |
| SELECT meta_id, post_id, meta_key, meta_value | |
| FROM wp_postmeta |
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
| From 7f8939186cb26bf950c6326657edc0b973a8709c Mon Sep 17 00:00:00 2001 | |
| From: Benjamin Schulz <[email protected]> | |
| Date: Wed, 14 Sep 2022 14:29:28 +0200 | |
| Subject: [PATCH] Fix starqltechn | |
| --- | |
| META-INF/com/google/android/update-binary | 3 ++- | |
| 1 file changed, 2 insertions(+), 1 deletion(-) | |
| diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary |
NewerOlder