Skip to content

Instantly share code, notes, and snippets.

@melamriD365
melamriD365 / fetchsubgridClassicUIAndUCI.js
Created April 29, 2019 15:57
set fetchXml dynamically to a subgrid in classic UI and Unified Client Interface
function FetchViaName(executionContext) {
var formContext = executionContext.getFormContext();
var fullname = null;
var tabObj = formContext.ui.tabs.get("tab_summary");
var secObj = tabObj.sections.get("sec_contactCompaigns");
secObj.setVisible(false)
var isUnified = isUCI()
//--------------------------------------Unified Interface----------------------------------------//

Current status : working, but no fingerprint reader and no Fn key before first suspend.

Initial hardware setup

How I got it working

#!/bin/bash
# This script will download the contents of a GitHub repo
# and place them in a local directory.
#
# Usage:
# download-repo.sh <repo> <output-path> <nested-path> <branch-name>
#
# Example:
# download-repo.sh wattenberger/kumiko ./kumiko-assets master public/assets
@AbstractUmbra
AbstractUmbra / 00-deprecation.md
Last active June 14, 2025 18:43
discord.py 2.0+ slash command info and examples

This gist has now been 'deprecated' and has moved...

... to my blog style space for easier contribution by third parties and to provide what I believe to be an easier reading experience. Please field all enquiries and issues to the source repository.

@noxx3xxon
noxx3xxon / arbitrage.py
Created August 21, 2022 22:34
CFMM Routing Arbitrage Example
import numpy as np
import cvxpy as cp
import itertools
# Problem data
global_indices = list(range(4))
# 0 = TOKEN-0
# 1 = TOKEN-1
# 2 = TOKEN-2
@jacobparis
jacobparis / .cursor\rules\shadcn-ui.mdc
Created March 7, 2025 06:13
shadcn-ui cursor rules
---
description: "Use shadcn/ui components as needed for any UI code"
patterns: "*.tsx"
---
# Shadcn UI Components
This project uses @shadcn/ui for UI components. These are beautifully designed, accessible components that you can copy and paste into your apps.
## Finding and Using Components