Skip to content

Instantly share code, notes, and snippets.

View Julian88Tex's full-sized avatar
☁️
Salesforce Staff DevOps Quality Engineer ☁️

Julian Joseph Julian88Tex

☁️
Salesforce Staff DevOps Quality Engineer ☁️
View GitHub Profile
@jdschleicher
jdschleicher / snowfakery_one_pager.md
Last active September 22, 2023 02:12
SNOWFAKERY ONE PAGER
@kconner
kconner / macOS Internals.md
Last active June 21, 2024 20:02
macOS Internals

macOS Internals

Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.

Starting Points

How to use this gist

You've got two main options:

@rain-1
rain-1 / LLM.md
Last active June 26, 2024 16:53
LLM Introduction: Learn Language Models

Purpose

Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.

Avoid being a link dump. Try to provide only valuable well tuned information.

Prelude

Neural network links before starting with transformers.

@Julian88Tex
Julian88Tex / org_setup.yml
Created December 26, 2022 02:26
Example GitHub Action For Setting Up a Scratch Org Using CumulusCI and workflow_dispatch
name: Org Setup
run-name: '${{ github.event.inputs.name }}::${{ github.event.inputs.org }}::${{ github.event.inputs.flow }}::${{ github.event.inputs.days }}::${{ github.event.inputs.delete_on_failure }}'
on:
workflow_dispatch:
inputs:
name:
type: string
required: true
description: CumulusCI org name (no spaces)
@RobertAKARobin
RobertAKARobin / safari.md
Last active January 5, 2024 05:41
Safari's date-picker is the cause of 1/3 of our customer support issues

Safari's date-picker is the cause of 1/3 of our customer support issues

...and obviously we're building a workaround. But I'm absolutely flabbergasted that a standard <input type="date"> HTML field, in a standard browser, from a company that bases its reputation good design, could be so dreadful.

The context

I'm the developer for a startup that sells a genetic test to recommend medications for high blood pressure. For medical reasons we need to know our customers' birth date. Most of our customers are in their 60s or older. We've found that many of them use iPads or iPhones. And they're the ones who complain to our customer support that our site is unusable.

The problem

@Julian88Tex
Julian88Tex / RequestLibrarySuccessExample.robot
Last active February 28, 2024 04:41
A Robot Framework API test example using RequestLibrary
# Run Command: cci task run robot -o suites robot/NPSP/tests/api/success.robot -o vars BROWSER:headlesschrome
[Documentation] Success POST test.
*** Settings ***
Resource cumulusci/robotframework/Salesforce.robot
Resource robot/Cumulus/resources/NPSP.robot
Library DateTime
Library robot/NPSP/resources/RequestsLibrary/
@christeredvartsen
christeredvartsen / action.php
Created November 29, 2019 07:49
Use output in a workflow step
<?= sprintf('::set-output name=var::%s', json_encode([
[
'id' => 'bar',
'name' => 'foo',
],
[
'id' => 'bar2',
'name' => 'foo2',
],
]));
@iamsonal
iamsonal / package.xml
Created December 15, 2018 00:51
Package.xml to retrieve all metadata from salesforce org
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>*</members>
<name>ActionLinkGroupTemplate</name>
</types>
<types>
<members>*</members>
<name>AnalyticSnapshot</name>
</types>
@jstvz
jstvz / cci_aliases.sh
Last active December 12, 2019 23:48
Shell aliases for cci commands
# CumulusCI
alias ccfi='cci flow info'
alias ccfl='cci flow list'
alias ccfr='cci flow run'
alias ccob='cci org browser'
alias ccoc='cci org connect'
alias ccod='cci org default'
alias ccoi='cci org info'
alias ccol='cci org list'
alias ccor='cci org remove'
@mathiasbynens
mathiasbynens / appify
Created November 12, 2010 13:46 — forked from subtleGradient/appify
appify — create the simplest possible Mac app from a shell script
#!/bin/bash
if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF
appify v3.0.1 for Mac OS X - http://mths.be/appify
Creates the simplest possible Mac app from a shell script.
Appify takes a shell script as its first argument:
`basename "$0"` my-script.sh