Skip to content

Instantly share code, notes, and snippets.

@tanaikech
tanaikech / submit.md
Last active July 26, 2023 17:00
Benchmark: Loop for Array Processing using Google Apps Script without V8

Benchmark: Loop for Array Processing using Google Apps Script without V8

April 16, 2018 Published.

July 26, 2018 Updated. Result of reduce was added.

@yasirkula
yasirkula / FileDownloader.cs
Last active April 27, 2024 22:12
C# Download Public File From Google Drive™ (works for large files as well)
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Net;
using System.Text;
/* EXAMPLE USAGE
FileDownloader fileDownloader = new FileDownloader();
@asus4
asus4 / dropbox.js
Created December 7, 2015 10:45
Dropbox api v2 from GAS.
/**
* Dropbox api from GAS
*/
var Dropbox = (function() {
var DROPBOX_URL = "https://content.dropboxapi.com/2-beta-2/";
/**
* Constructor
* @param {string} token - the dropbox api token
@jdeng
jdeng / pdf2img.html
Created February 11, 2015 02:54
pdf to image using pdf.js
<html>
<body>
<script type="text/javascript" src="//mozilla.github.io/pdf.js/build/pdf.js"></script>
<script type="text/javascript">
var url = "https://docs.google.com/document/export?format=pdf&id=1ML11ZyyMpnAr6clIAwWrXD53pQgNR-DppMYwt9XvE6s&token=AC4w5Vg7fSWH1Hq0SgNckx4YCvnGPaScyw%3A1423618416864";
var pages = [], heights = [], width = 0, height = 0, currentPage = 1;
var scale = 1.5;
function draw() {
@dustintheweb
dustintheweb / google-app-engine-cloud-git-sourcetree.md
Last active November 26, 2021 08:13
Set up a Google Cloud Git Repo in SourceTree

###Setting up a Google Cloud Git Repo // now with SourceTree bonus!
*Note: this guide is relavent only to repos natively hosted on Google Cloud


**Prereq:** - OSX - SourceTree - git - A Google App Engine / Cloud project