Skip to content

Instantly share code, notes, and snippets.

View OscarScholten's full-sized avatar

Oscar Scholten OscarScholten

View GitHub Profile
@OscarScholten
OscarScholten / setTriggerStatus.ts
Last active May 12, 2021 02:50
SFDX command for setting Apex trigger status to Active or Inactive
import { flags, SfdxCommand } from '@salesforce/command';
import { AnyJson } from '@salesforce/ts-types';
import { Connection, RecordResult } from 'jsforce';
export default class SetTriggerStatus extends SfdxCommand {
public static description = "Set status of all triggers to Active or Inactive";
public static examples = [
`$ sfdx hr2day:setTriggerStatus --targetusername myOrg@example.com -s Active`
@OscarScholten
OscarScholten / debug-output.log
Created January 27, 2014 20:47
natural scrolling debug-output.log
* PyUDev
Input devices:
==============
event1 Power Button
event0 Power Button
event14 HD-Audio Generic HDMI/DP,pcm=3
event10 HDA Intel Line Out Front
event11 HDA Intel Line