time.google.com
time1.google.com
time2.google.com
time3.google.com
| const puppeteer = require('puppeteer'); | |
| const PUPPETEER_OPTIONS = { | |
| headless: true, | |
| args: [ | |
| '--disable-gpu', | |
| '--disable-dev-shm-usage', | |
| '--disable-setuid-sandbox', | |
| '--timeout=30000', | |
| '--no-first-run', |
| function moveHangoutLinks() { | |
| var calendarId = Calendar.Calendars.get('primary').id; | |
| var now = new Date(); | |
| var events = Calendar.Events.list(calendarId, { | |
| timeMin: now.toISOString(), | |
| singleEvents: true, | |
| orderBy: 'startTime', | |
| maxResults: 10 | |
| }); | |
| if (events.items && events.items.length > 0) { |
| import 'dart:ui' as ui; | |
| import 'package:flutter/material.dart'; | |
| void main() { | |
| runApp(new MaterialApp( | |
| home: new HomePage(), | |
| )); | |
| } |
| 1. Copy/Paste the information below to the clipboard | |
| 2. Open the spreadsheet whose sheets need to be alphabetised | |
| 3. Choose Tools > Script editor > Blank (this opens a new tab in the browser) | |
| 4. Press Control+A followed by Control+V copy and paste the script in | |
| 5. Press Control+S to save the script | |
| 6. Choose Run > sortSheets | |
| 7. Go back to the spreadsheet tab to view the new sorted tab order | |
| --Copy everything below this line-- | |
| function sortSheets () { |
| // from: http://stackoverflow.com/questions/2226920/how-to-monitor-clipboard-content-changes-in-c | |
| /// <summary> | |
| /// Provides notifications when the contents of the clipboard is updated. | |
| /// </summary> | |
| public sealed class ClipboardNotification | |
| { | |
| /// <summary> | |
| /// Occurs when the contents of the clipboard is updated. | |
| /// </summary> |