Skip to content

Instantly share code, notes, and snippets.

View kylebuildsstuff's full-sized avatar

Kyle kylebuildsstuff

View GitHub Profile
@kylebuildsstuff
kylebuildsstuff / default.md
Created June 22, 2025 10:59 — forked from cablej/default.md
Cluely System prompt

<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>

<general_guidelines>

  • NEVER use meta-phrases (e.g., "let me help you", "I can see that").
  • NEVER summarize unless explicitly requested.
  • NEVER provide unsolicited advice.
  • NEVER refer to "screenshot" or "image" - refer to it as "the screen" if needed.
  • ALWAYS be specific, detailed, and accurate.
const response = await fetch(`https://publisher.walrus-testnet.walrus.space/v1/blobs?epochs=${100}`, {
method: 'PUT',
body: file
});
const data = await response.json();
blobId = data?.newlyCreated?.blobObject?.blobId || data?.alreadyCertified?.blobId;
...
const response = await fetch(`https://publisher.walrus-testnet.walrus.space/v1/blobs?epochs=${100}`, {
method: 'PUT',
body: file
});
const data = await response.json();
blobId = data?.newlyCreated?.blobObject?.blobId || data?.alreadyCertified?.blobId;
@kylebuildsstuff
kylebuildsstuff / app.svelte
Created November 2, 2023 14:30
Example hooking into button
<style>
</style>
<script>
import { onDestroy } from "svelte";
import { checkoutButtonSelectors } from "../constants.js";
import { shopSpecificOverrides } from "../overrides.js";
import {
areStylesheetsLoaded$,
### Keybase proof
I hereby claim:
* I am ktruong008 on github.
* I am ktruong008 (https://keybase.io/ktruong008) on keybase.
* I have a public key ASBeEpy6J3FzgX4_0fd7reDtu_dvkE6rJLXqsjANCjdC1Ao
To claim this, I am signing this object:
@kylebuildsstuff
kylebuildsstuff / date-utc.js
Created May 23, 2020 03:04
JS Date UTC methods
Date.getUTCDate()
Date.getUTCDay()
Date.getUTCHours()
Date.toUTCString()
@kylebuildsstuff
kylebuildsstuff / date.js
Created May 23, 2020 03:03
default JS date methods
Date.getDate()
Date.getDay()
Date.getHours()
Date.toString()
@kylebuildsstuff
kylebuildsstuff / hasura-first-look-example.ts
Created May 23, 2020 01:17
A first look at hasura example
export const promotionsFetchEpic = (
action$: ActionsObservable<PayloadAction>,
state$: StateObservable<StoreState>,
): Observable<PayloadAction> =>
action$.pipe(
filter((action) => action.type === appDataFetchSuccess.toString()),
asyncRequest(
promotionsFetchStart.toString(),
promotionsFetchSuccess.toString(),
promotionsFetchError.toString(),
// app.middleware.js
const buildScriptTagSrcUrl = (): string => {
return process.env.SCRIPT_TAG_URL || '';
};
export const initializeApp = async (ctx) => {
...
await createScriptTag(
buildScriptTagSrcUrl(),
// cross-sell.graphql.ts
export const crossSellQueryTypeDefinitions = `
crossSell(crossSellId: Int): CrossSell
productCrossSells(productId: String): [CrossSell!]
`;
export const crossSellTypeDefinitions = `
type CrossSell {
displaysProductPrice: Boolean