View gist:4b8a739ddceec0eb63888f1016b40325
This file contains 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
Verifying my Blockstack ID is secured with the address 1KnZ7uCnqtd3BsbZ3C4S2UM5KnjeJG2XP5 https://explorer.blockstack.org/address/1KnZ7uCnqtd3BsbZ3C4S2UM5KnjeJG2XP5 |
View blockstack
This file contains 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
Verifying my Blockstack ID is secured with the address 1B5R71GJy7JekqmBAjnJFPVJnpNrUVvVYL https://explorer.blockstack.org/address/1B5R71GJy7JekqmBAjnJFPVJnpNrUVvVYL |
View blockstackjs-get.js
This file contains 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
this.userUrl = await getAppBucketUrl(loadUserData().hubUrl, loadUserData().appPrivateKey); | |
console.log(this.userUrl); |
View header.html
This file contains 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
<title>React Photos</title> | |
<script src="https://unpkg.com/@ionic/core@4.0.0-alpha.7/dist/ionic.js"></script> |
View ion-react.html
This file contains 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
<ion-app> | |
<ion-header> | |
<ion-toolbar> | |
<ion-title>React Photos</ion-title> | |
</ion-toolbar> | |
</ion-header> | |
<ion-content> | |
<h1>Welcome to React Photos!</h1> | |
</ion-content> | |
</ion-app> |
View blockstack
This file contains 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
Verifying my Blockstack ID is secured with the address 16ouDBkQRBzV447krGJ3RpSpNH9rpjppii https://explorer.blockstack.org/address/16ouDBkQRBzV447krGJ3RpSpNH9rpjppii |
View generate.js
This file contains 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
// Command for generating a new stencil component within any stencil project, example 'stencil generate my-component' | |
if (process.argv[2] === 'generate') { | |
if (!process.argv[3]) { | |
shell.echo('Please state the component name after the "generate" command.'); | |
shell.exit(1); | |
} | |
// The uppercase version of the component alias | |
var componentName = capitalizeFirstLetter(process.argv[3]); |
View start-component.js
This file contains 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
// Command for starting a new stencil component project, example 'stencil start-component my-component' | |
if (process.argv[2] === 'start-component') { | |
if (!shell.which('git')) { | |
shell.echo('Sorry, this script requires git'); | |
shell.exit(1); | |
} | |
var projectName = process.argv[3]; | |
if (!projectName) { | |
shell.echo('Please state the project name after the "start-component" command.'); |
View start-app.js
This file contains 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
// Command for starting a new stencil starter app, example 'stencil start-app my-app' | |
if (process.argv[2] === 'start-app') { | |
if (!shell.which('git')) { | |
shell.echo('Sorry, this script requires git'); | |
shell.exit(1); | |
} | |
var projectName = process.argv[3]; | |
if (!projectName) { | |
shell.echo('Please state the project name after the "start-app" command.'); |
View cli-dependecies.js
This file contains 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
#! /usr/bin/env node | |
var shell = require("shelljs"); | |
const path = require('path'); | |
// The path to the installation directory if this tool | |
var cliPath = path.join(path.dirname(__filename), '..'); | |
// Check that a command is given | |
if (!process.argv[2]) { | |
shell.echo('Please tell me what you want me todo!'); |
NewerOlder