Skip to content

Instantly share code, notes, and snippets.

View dilipkrish's full-sized avatar

Dilip Krishnan dilipkrish

View GitHub Profile
@amphro
amphro / sfdx-push-recordtypes
Created May 5, 2017 21:17
Push RecordTypes and Data using SFDX
### Setup Import File and Permission Set
# Step 1. Export the RecordTypes
-> sfdx force:data:tree:export -q "SELECT ID, Name, DeveloperName, SobjectType FROM RecordType" -o data
Wrote 1 records to data/RecordType.json
# Here is what the export might look like
-> more data/RecordType.json
{
@mamund
mamund / example-02-item-hal.js
Last active October 6, 2015 15:56
example HAL+JSON output from representor
{
"_links": {
"self": {
"href": "http://localhost:8282/user/mamund"
},
"profile": {
"href": "http://localhost:8282/big-todo-alps.json"
},
"http://localhost:8282/files/hal-docs.html#home": {
"href": "http://localhost:8282/",
@aalmiray
aalmiray / build.gradle
Last active June 15, 2021 00:19
Simple Gradle build file for Asciidoctor + Diagram + PDF
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.2'
classpath 'org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.6'
classpath 'com.github.jruby-gradle:jruby-gradle-plugin:0.1.11'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.7'
@rodneyrehm
rodneyrehm / gist:40e7946c0cff68a31cea
Last active March 12, 2025 19:23
Diagrams for Documentation

some tools for diagrams in software documentation

Diagrams For Documentation

Obvious Choices

ASCII

@staltz
staltz / introrx.md
Last active January 23, 2026 10:31
The introduction to Reactive Programming you've been missing