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
//Fetch the Google Developers Live (GDL) Live Calenar Using the YouTube API | |
function getGdlEvents(){ | |
var channelID = "UC_x5XG1OV2P6uZZ5FSM9Ttw"; | |
var yt = "https://www.googleapis.com/youtube/v3/activities"; | |
var part = "snippet"; | |
var maxResults = "50"; | |
var key = "Your Google API Key"; | |
var url = yt + "?part=" + part + "&channelId=" + channelID + "&maxResults=" + maxResults + "&key=" + key; | |
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
//display custom menu | |
function onOpen() { | |
var ui = SpreadsheetApp.getUi(); | |
ui.createMenu('Export to JSON') | |
.addItem('Get Sheet Header', 'getSheetHeader') | |
.addItem('Get Sheet Data', 'getSheetData') | |
.addItem('Download Spreadsheet as JSON', 'doGet') | |
.addToUi(); | |
} |
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
//Fetch Github Issues Using the YouTube API | |
function getGdlEvents(){ | |
var channelID = "UC_x5XG1OV2P6uZZ5FSM9Ttw"; | |
var yt = "https://www.googleapis.com/youtube/v3/activities"; | |
var part = "snippet"; | |
var maxResults = "50"; | |
var key = "Your Google API Key"; | |
var url = yt + "?part=" + part + "&channelId=" + channelID + "&maxResults=" + maxResults + "&key=" + key; | |
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
function onOpen() { | |
var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
var menuEntries = []; | |
menuEntries.push({name: "Function Label", functionName: "doGet"}); | |
menuEntries.push(null); // line separator | |
menuEntries.push({name: "Function Label", functionName: "doGet"}); | |
ss.addMenu("Github", menuEntries); |
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
//declare gulp variables | |
var gulp = require('gulp'), | |
gulpUtil = require('gulp-util'), | |
concat = require('gulp-concat'), | |
uglify = require('gulp-uglify'), | |
jshint = require('gulp-jshint'), | |
stylish = require('jshint-stylish'), | |
autoprefixer = require("gulp-autoprefixer"), | |
sass = require('gulp-ruby-sass'), |
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
var gulp = require('gulp'); | |
var browserSync = require('browser-sync').create(); | |
var setupWatchers = function() { | |
gulp.watch(['./app/views/**/*.erb', | |
'./app/assets/javascripts/**/*.js'], ['reload']); | |
gulp.watch(['./app/assets/stylesheets/**/*.scss'], ['reloadCSS']) | |
}; | |
gulp.task('reload', function(){ |
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
//Sample package.json configuration file |
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
//Access the Spreadsheet - Declare globally | |
var ssid = ScriptProperties.getProperty('ssid'); //Spreadsheet ID. Value has been stored as a property | |
var ss = SpreadsheetApp.openById(ssid); //Opens the Spreadsheet using the stored property Spreadsheet ID | |
//Create variables for known sheets and all sheets | |
var iosSheet = getValueOfSheetByName("iOS"); //The iOS sheet | |
var gasSheet = getValueOfSheetByName("GAS"); //The Google Apps Script sheet | |
var allSheets = getValueOfAllSheets(); //All Sheet Values |
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
platform :ios, '10.0' | |
use_frameworks! | |
target 'MyApp' do | |
#Realm | |
#pod 'RealmSwift' | |
#Firebase Pods - https://firebase.google.com/docs/ios/setup | |
#pod 'Firebase/Core' #Prerequisite libraries and Analytics | |
#pod 'Firebase/Database' |
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
{ | |
"success": true, | |
"data": [ | |
{ | |
"p_vendor_name": "Gold USD Vendor", | |
"p_vendor_office_name": "Gold USD Vendor", | |
"p_vendor_office_id": "987654", | |
"p_invoice_amount": { | |
"cents": 225000, | |
"currency_iso": "USD" |
OlderNewer