Skip to content

Instantly share code, notes, and snippets.

@toddhalfpenny
toddhalfpenny / .bashrc
Created June 29, 2016 13:28
Todd's .bashrc extracts (not full)
alias wttr='curl -4 http://wttr.in'
alias byzanz-record-region='/home/todd/software/byzanz-record-region'
alias byzanz-record-window='/home/todd/software/byzanz-record-window'
alias nex1Marsh='/home/todd/software/adt-bundle-linux-x86_64-20140702/sdk/tools/emulator -ports 5824,5825 -prop persist.sys.language=en -prop persist.sys.country=US -avd nex1Marshmallow -scale 0.6 &nohup'
@toddhalfpenny
toddhalfpenny / angular-controller.sublime-snippet
Created June 29, 2016 13:39
Angular Controller Sublime Snippet
<snippet>
<content><![CDATA[
/**
* ${1:name} Controller
*
* @description ${2:description}
*/
(function() {
'use strict';
@toddhalfpenny
toddhalfpenny / angular-service.sublime-snippet
Created June 29, 2016 13:40
Angular Service Sublime Snippet
<snippet>
<content><![CDATA[
/**
* ${1:name} Factory
*
* @description ${2:description}
*/
(function() {
'use strict';
# Lists field names for all custom fields for a specificed Salesforce object
sfdx force:schema:sobject:describe -s <OBJECT_API_NAME> -u <ORG_ALIAS> --json | q -r '.result.fields[] | select(.custom == true) .name'
__ __ __ __
\ V\ V\ V / v3.9.0 Path:"/home/todd/projects/wp/vvv"
\_/\_/\_/ git::develop(5742364)
Platform: linux shell:/bin/bash systemd vagrant-goodhosts CaseSensitiveFS shared_db_folder_disabled
Vagrant: v2.2.19, virtualbox: v6.1.32
Docs: https://varyingvagrantvagrants.org/
Contribute: https://github.com/varying-vagrant-vagrants/vvv
Dashboard: http://vvv.test