Skip to content

Instantly share code, notes, and snippets.

View jstvz's full-sized avatar

James Estevez jstvz

View GitHub Profile
@jstvz
jstvz / cumulusci.yml
Created August 7, 2020 18:10
Using `force:user:create` in a flow
tasks:
create_special_user:
class_path: cumulusci.tasks.sfdx.SFDXOrgTask
options:
command: "force:user:create --definitionfile datasets/users/user-special.json"
flows:
config_dev:
steps:
3:
@jstvz
jstvz / cloudSettings
Last active July 28, 2020 23:26
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-07-28T23:26:41.787Z","extensionVersion":"v3.4.3"}
@jstvz
jstvz / cci.log
Created January 17, 2020 00:14
cci task run dx_pull
C:\Users\IEUser\Documents\GitHub\CumulusCI-Test>cci task run dx_pull --org dev
2020-01-16 16:09:00: Running command: sfdx force:source:pull -u [email protected]
2020-01-16 16:09:00: Beginning task: SFDXOrgTask
2020-01-16 16:09:00: As user: [email protected]
2020-01-16 16:09:00: In org: 00D3D000000AQiL
2020-01-16 16:09:00:
2020-01-16 16:09:00: Running command: sfdx force:source:pull -u [email protected]
2020-01-16 16:09:05: STATE FULL NAME TYPE PROJECT PATH
2020-01-16 16:09:05:--- Logging error ---
Traceback (most recent call last):
unpackaged
├── config
│   └── trial
│   ├── package.xml
│   └── profiles
│   └── Admin.profile
├── post
│   └── config
│   ├── applications
│   │   └── K12Kit.app
@jstvz
jstvz / beta_beta.sh
Last active March 1, 2019 00:21
Installing managed beta with beta dependencies
cci flow run beta_dependencies
cci task run install_managed_beta
cci flow run config_managed
==> /usr/local/Cellar/cumulusci/2.3.1/libexec/bin/pip install -v --no-deps --no-binary :all:
Last 15 lines from /Users/jestevez/Library/Logs/Homebrew/cumulusci/03.pip:
Created temporary directory: /private/tmp/pip-install-x0az8f64
Cleaning up...
Removed build tracker '/private/tmp/pip-req-tracker-71aqe9lu'
Directory '/private/tmp/cumulusci--entrypoints-20190215-57167-ft6f23' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.
Exception information:
Traceback (most recent call last):
File "/usr/local/Cellar/cumulusci/2.3.1/libexec/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 179, in main
status = self.run(options, args)
@jstvz
jstvz / cloudSettings
Last active February 24, 2019 21:12
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-02-24T21:12:10.498Z","extensionVersion":"v3.2.4"}
@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'
@jstvz
jstvz / dpt-notes-sync.py
Last active December 4, 2018 08:28
Automatic note download of Sony Digital Paper on Arch Linux
#!/usr/bin/env python3
"""
usage: dpt-notes-sync.py ip_address
"""
import datetime
import json
import os
from dateutil import parser as dateparser
@jstvz
jstvz / apex.json
Created February 2, 2018 18:48
Apex Snippets for Visual Studio Code (VSCode)
{
/*
// Place your snippets for Apex here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
"Print to console": {
"prefix": "log",
"body": [