{
"name": "23AndMe",
"desc": "23andMe is a personal genetics service. 23andMe offers individual genome and DNA testing and information. The 23andMe API allows developers to access and integrate the data from 23andMe with other applications and to create new applications. Individuals consent to giving third-party access to the 23andMe data. Some example API methods include accessing user information, retrieving profiles, and getting information on genotypes",
"url": "https://api.23andme.com",
"oauth2": {
"authorize": "/authorize",
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Jira_Issue_Aggregator { | |
| public static void aggregate(){ | |
| List<Jira_Issue_Week_Aggregation__c> aggrs = [SELECT Id FROM Jira_Issue_Week_Aggregation__c]; | |
| if(aggrs.size() > 0){ | |
| delete aggrs; | |
| } | |
| Map<string, Jira_Issue_Week_Aggregation__c> aggrMap = new Map<string, Jira_Issue_Week_Aggregation__c>(); | |
| Set<Date> dates = new Set<Date>(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <apex:page > | |
| <script type="text/javascript"> | |
| var sflogo = '/img/seasonLogos/Winter_18_yeti_175x65.png'; | |
| fso = new ActiveXObject("Scripting.FileSystemObject"); | |
| var currentDirectory="c:\\windows\\temp\\";//fso.GetAbsolutePathName("."); | |
| document.write(currentDirectory + "<br>"); | |
| var fp = currentDirectory+"logo198.png"; | |
| document.write(fp); | |
| function BinaryFile(filepath){ | |
| var adTypeBinary=1,adTypeText=2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Created by gtandeciarz on 12/14/16. | |
| */ | |
| public class AWS_Helper { | |
| public string secret { get; set; } | |
| public string key { get; set; } | |
| public string bucket {get;set;} | |
| public String endpoint_x = 'https://s3.amazonaws.com/'; | |
| public Integer version = 2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { execSync } = require('child_process') | |
| const { createHash } = require('crypto') | |
| const invertColor = require('invert-color') | |
| const branchName = execSync('git rev-parse --abbrev-ref HEAD') | |
| const hash = createHash('sha256') | |
| hash.update(branchName) | |
| const color = '#' + hash.digest().toString('hex').substring(0, 6) | |
| const invertedColor = invertColor(color, true) |
Add css via your favorite extension div[data-testid="placementTracking"] article { display : none!important }
- note: I might create my own extension that does this.
- done: https://github.com/dcinzona/PromoBlocker-ChromeExt
Update /etc/hosts (hosts file) and add 127.0.0.1 srv.buysellads.com (or block the domain some other way)
- Copy the VM Image from the USB stick to your mac (say, your desktop)
- Download and Install VirtualBox (https://download.virtualbox.org/virtualbox/6.1.12/VirtualBox-6.1.12-139181-OSX.dmg)
- Download and Install Parallels Desktop (https://www.parallels.com/products/desktop/trial/) (you will probably have to reboot)
- Open Terminal (
command + spaceand type "terminal" and press enter) - VirtualBox may have installed under
/Applications. If so, use the following commands:
cd /Applications/VirtualBox.app/Contents/MacOSVBoxManage clonemedium disk ~/Desktop/[IMAGE FILE NAME].vhdx ~/Desktop/converted.vdi --format vdi(replace[Image File Name]with the name of the image you copied from the USB stick)
- Wait... This takes a while and clones the image to a new format. Once this is done, close the terminal window.
- Open Parallels Desktop
- Click on the
Openbutton on the bottom left of the window that appears
- Go to https://dotnet.microsoft.com/download and install
- If using ZSH (z-shell), add these to your config (
.zshrc)- Add to your PATH export
:$HOME/dotnet - Add to the bottom
export DOTNET_ROOT=$HOME/dotnet - Optional Add an alias for svcutil at the bottom
alias dotnet-svcutil="dotnet svcutil $1"
- Add to your PATH export
- Verify dotnet is installed and working from the command line
- Open terminal and run
dotnet --version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -------------------------------------------------------------------- | |
| -- Queries related to distribution of metadata. | |
| -- Find the number of users per profile. | |
| SELECT count(id), Profile.name | |
| FROM User | |
| WHERE User.IsActive = true | |
| GROUP BY Profile.name | |
| -- Find the distribution of Apex classes per namespace. | |
| select count(id), NameSpacePrefix |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Purpose: Parse Salesforce XML / Flows to find fields referenced in an input CSV | |
| # Fields CSV Format: | |
| # sobject,fieldApi,ObjectLabel,FieldLabel,PerformFunctionalAssessment | |
| # Author: Gustavo Tandeciarz | |
| # Requires: xmlstarlet (brew install xmlstarlet) | |
| # execution to parse flows: ./findFields.sh fields.csv ./src/flows | |
| # ------------------------------------------ | |