You can’t clone a Bitbucket repo using GithHub Desktop directly. Instead you would have to:
- Clone the Bitbucket repo locally via command line.
- Add the cloned repository to your GitHub Desktop app.
| // go on you labels pages | |
| // eg https://github.com/cssnext/cssnext/labels | |
| // paste this script in your console | |
| // copy the output and now you can import it using https://github.com/popomore/github-labels ! | |
| var labels = []; | |
| [].slice.call(document.querySelectorAll(".label-link")) | |
| .forEach(function(element) { | |
| labels.push({ | |
| name: element.textContent.trim(), |
You can’t clone a Bitbucket repo using GithHub Desktop directly. Instead you would have to:
| public class QuickData { | |
| /* QuickData inserts your Mockaroo Schema, no questions asked. Remote Site needed. | |
| * USAGE: QuickData.createRecords('MOCKAROOAPIKEY','20689c00',20,List<Lead>.class); | |
| * Creates 20 leads using the schema at https://www.mockaroo.com/20689c00 */ | |
| public static List<SObject> createRecords(String a, String s, Integer c, Type t) { | |
| String fmtStr = 'https://www.mockaroo.com/{1}/download?count={2}&key={0}'; | |
| List<String> reqDetails = new List<String>{a,s,String.valueOf(c)}; | |
| string requestString = String.format(fmtStr,reqDetails); | |
| HttpRequest req = new HttpRequest(); | |
| req.setEndpoint(requestString); |
| <aura:component implements="force:appHostable,flexipage:availableForAllPageTypes" | |
| controller="AddressFinderController" access="global"> | |
| <aura:attribute name="accounts" type="Account[]"/> | |
| <aura:attribute name="contacts" type="Contact[]"/> | |
| <aura:registerEvent name="AddressInfo" type="c:AddressInfo"/> | |
| <div class="slds-form--stacked"> | |
| <div class="slds-form-element"> | |
| <label class="slds-form-element__label" for="inputSample2">Account Search</label> |
| <aura:component > | |
| <aura:attribute name="recordIds" | |
| type="List" | |
| access="public" | |
| description="An array of Ids"/> | |
| <aura:attribute name="records" | |
| type="Map" | |
| description="The records!" | |
| default="{}"/> | |
| <aura:attribute name="errors" |
| <apex:page> | |
| <head> | |
| <script src="{!$Resource.jquery224}"></script> <!-- https://jquery.com/ --> | |
| <script src="{!$Resource.jsforce170}"></script> <!-- https://jsforce.github.io/ --> | |
| <script>$j = jQuery.noConflict();</script> | |
| </head> | |
| <body> | |
| <form> |
| // ScratchOrgInfo is an object in your dev hub | |
| delete [select id from ScratchOrgInfo where Status = 'Deleted']; |
| # wadewegner.zsh-theme | |
| prompt_fn() { | |
| config="$(cat .sfdx/sfdx-config.json 2> /dev/null)"; | |
| globalConfig="$(cat ~/.sfdx/sfdx-config.json)"; | |
| defaultusername="$(echo ${config} | jq -r .defaultusername)" | |
| defaultdevhubusername="$(echo ${config} | jq -r .defaultdevhubusername)" | |
| globaldefaultusername="$(echo ${globalConfig} | jq -r .defaultusername)" |
| /* | |
| * | |
| * Return SQLite3 query results as a Nodejs stream, sensitive to backpressure. | |
| * | |
| * Assumes a foo.db file with a lot of rows - I used 1000 with a number & a string | |
| */ | |
| const stream = require('stream'); | |
| const sqlite = require('sqlite3'); | |
| class DBStream extends stream.Readable { |