Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"| {... | |
| "scripts": { | |
| "postinstall": "node patch.js", | |
| ... | |
| } | |
| } |
Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"| const functions = require('firebase-functions'); | |
| const gcs = require('@google-cloud/storage')(); | |
| const sharp = require('sharp') | |
| const _ = require('lodash'); | |
| const path = require('path'); | |
| const os = require('os'); | |
| exports.generateThumbnail = functions.storage.object('uploads/{imageId}').onChange(event => { | |
| const object = event.data; // The Storage object. |
| var functions = require('firebase-functions'); | |
| const sendgrid = require('sendgrid') | |
| const client = sendgrid("YOUR_SG_API_KEY") | |
| function parseBody(body) { | |
| var helper = sendgrid.mail; | |
| var fromEmail = new helper.Email(body.from); | |
| var toEmail = new helper.Email(body.to); | |
| var subject = body.subject; |
| pragma solidity ^0.4.2; | |
| contract ethernalSale { | |
| struct order { | |
| uint amount; | |
| address buyer; | |
| } | |
| mapping (uint => order) orderBook; | |
| mapping (address => uint) balanceOf; |
| <ion-header no-shadow> | |
| <ion-navbar no-border-bottom> | |
| <ion-buttons start> | |
| <button ion-button color="light" (click)="closeModal()">Cancel</button> | |
| </ion-buttons> | |
| <ion-title>Media</ion-title> | |
| <ion-buttons end> | |
| <ion-spinner *ngIf="!mediaLoaded" color="light"></ion-spinner> | |
| </ion-buttons> |
| import { Directive, ElementRef, Input, OnDestroy, OnInit } from '@angular/core'; | |
| import { Keyboard } from '@ionic-native/keyboard'; | |
| import { Content, Platform } from 'ionic-angular'; | |
| import { Subscription } from 'rxjs/Subscription'; | |
| /** | |
| * @name KeyboardAttachDirective | |
| * @source https://gist.github.com/Manduro/bc121fd39f21558df2a952b39e907754 | |
| * @description |
| var mandrill = require('mandrill-api/mandrill'); | |
| var mandrill_client = new mandrill.Mandrill('YOUR MANDARILL KEY'); | |
| var FROM_EMAIL = '[email protected]'; | |
| var FROM_NAME = 'Our Standup'; | |
| var db = require('./database'); | |
| var invitationsRef = db.ref("invitations"); | |
| var teamsRef = db.ref("teams"); | |
| var usersRef = db.ref("users"); |