Skip to content

Instantly share code, notes, and snippets.

View mikesimps's full-sized avatar

Mike Simpson mikesimps

View GitHub Profile
@mikesimps
mikesimps / .screenrc
Created July 9, 2016 12:06 — forked from joaopizani/.screenrc
A killer GNU Screen Config
# the following two lines give a two-line status, with the current window highlighted
hardstatus alwayslastline
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]'
# huge scrollback buffer
defscrollback 5000
# no welcome message
startup_message off
@mikesimps
mikesimps / .hyper.js
Created April 10, 2018 23:25
hyper config
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// Choose either "stable" for receiving highly polished,
// or "canary" for less polished but more frequent updates
updateChannel: 'stable',
@mikesimps
mikesimps / hydrate_all_v43.config
Last active August 2, 2018 13:08
Hydrate Config File Examples
{
"quickfilters": ["AccountSettings,"
"ActionLinkGroupTemplate,"
"ActionOverride,"
"ActivitiesSettings,"
"AddressSettings,"
"AnalyticSnapshot,"
"ApexClass,"
"ApexComponent,"
"ApexPage,"
@mikesimps
mikesimps / README-Template.md
Created June 18, 2018 18:31 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@mikesimps
mikesimps / sfdc-package-ids
Last active August 7, 2018 13:45
Appexchange Package Ids
Round Robin (Salesforce Labs) - 04t80000000gHQGAA2
Salesforce Connect Validator (Salesforce Labs) - 04t39000000UyJmAAK
@mikesimps
mikesimps / sfdx_examples
Last active August 7, 2018 13:45
sfdx-command-examples
sfdx hydrate:packagexml -u <user> -a 43.0 > package.xml; sfdx force:mdapi:retrieve -r src -k package.xml -a 43.0 -u <user>
sfdx force:apex:test:run -l RunLocalTests | cut -d '"' -f2 | xargs -0 bash -c
@mikesimps
mikesimps / .permissionset-meta.xml
Created August 12, 2018 14:05
Required permissions to enable editing objects
<userPermissions>
<enabled>true</enabled>
<name>CreateCustomizeFilters</name>
</userPermissions>
<userPermissions>
<enabled>true</enabled>
<name>CustomizeApplication</name>
</userPermissions>
<userPermissions>
<enabled>true</enabled>
@mikesimps
mikesimps / launch.json
Created August 25, 2018 16:29
Example of VS Code launch.json config to Debug sfdx oclif plugin
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug Compare Files",
"localRoot": "${workspaceFolder}",
"env": {"NODE_OPTIONS": "--inspect-brk"},
"program": "${workspaceFolder}/bin/run",
"args": [
"collate:compare:files",
@mikesimps
mikesimps / PermissionSet1.xml
Last active August 28, 2018 15:21
Sample PermissionSet XML Files for Testing sfdx-collate
<?xml version="1.0" encoding="UTF-8"?>
<PermissionSet xmlns="http://soap.sforce.com/2006/04/metadata">
<applicationVisibilities>
<application>Application1</application>
<visible>true</visible>
</applicationVisibilities>
<applicationVisibilities>
<application>Application2</application>
<visible>false</visible>
</applicationVisibilities>
@mikesimps
mikesimps / repositories.json
Created October 13, 2018 23:01
Test Sources for open-force website
[{
"type": "repository",
"url": "https://github.com/open-force/website",
"platform": "github"
},
{
"type": "gist",
"name": "PermissionSets",
"url": "https://gist.github.com/mikesimps/6427ea434581058a14fd3b084b87a5ff",
"platform": "github"