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 run() { | |
findAndNuke("blah@gmail.com"); | |
} | |
/** | |
* This simple script gets all of your events on your calendar and deletes any that were created by "id". | |
* Useful for rogue events created by email addresses that don't exist anymore. | |
* | |
* @param {string} id (email address) of the creator of the events you want to get rid of | |
*/ |
- Make a new Google Sheet
- Go to Tools -> Script editor...
- Copy and paste the script from below (
code.gs
) over the sample function text, and save the project (any name will do)
- Run function #1 and wait
- Run function #2 and wait
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
<TaskerData sr="" dvi="1" tv="4.8u1m"> | |
<Task sr="task19"> | |
<cdate>1458152913165</cdate> | |
<edate>1458658344165</edate> | |
<id>19</id> | |
<nme>Weather Wallpaper</nme> | |
<pri>100</pri> | |
<Kid sr="Kid"> | |
<launchID>19</launchID> | |
<pkg>eqs.wdr.ynk</pkg> |
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
// https://developers.google.com/apps-script/guides/web | |
// | |
function doPost(e) { | |
if (!e.parameter.filename) { | |
return HtmlService.createHtmlOutput("Don't forget a filename parameter in the URL!"); | |
} | |
if (!e.postData.contents) { | |
return HtmlService.createHtmlOutput("No POST data received :("); | |
} | |
// create a new folder in Google Drive |
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 allFolders = []; | |
var allFiles = []; | |
function changeOwnership() { | |
var newOwner = "new.owner@gmail.com"; | |
var folderIdToChange = "0B7uECGWKsTGu712INmZSYzReSBE"; | |
// update the global allFiles and allFolders arrays | |
allFolders.push(DriveApp.getFolderById(folderIdToChange)); |
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
// http://www.arrl.org/vanity-call-signs | |
String.prototype.isValidCallsign = function() { | |
const sign = this.toString().toUpperCase().trim(); | |
// quick obvious check that might save time in large sets | |
if (sign.length < 3 || sign.length > 6) { | |
return false; | |
} | |
// the general structure of the us callsign | |
var validSign = /^[AKNW][A-Z]?[0-9][A-Z]{1,3}$/; | |
if (!validSign.test(sign)) { |
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 nameOfLabel = "Contacts With a Phone Number"; | |
function run() { | |
var label = ContactsApp.getContactGroup(nameOfLabel); | |
if (!label) { | |
label = ContactsApp.createContactGroup(nameOfLabel); | |
} | |
var allContacts = ContactsApp.getContacts(); |
The app Muzei (https://muzei.co/) has lots of plugins (https://play.google.com/store/search?q=muzei&c=apps). I would like you to create one in Java that uses the Flickr API and Android Awareness APIs. Familiarity in Retrofit, REST APIs, and the Android Awareness API are a must. App itself will have no launcher icon and no UI, and will act as a plugin for Muzei.
When the Art Source is selected, the finished app must:
- Attempt to get the user's location via the Fused Location API from Google Play Services
- If the location isn't granted, pop up dialog message saying it's required and ask again (loop until granted or cancelled)
- Start the initial refresh
When it's time for a refresh, the finished app must:
- Get current weather condition for user's location via the NWS JSON API v3 (happy to assist with this)
- Ask Flickr for photos for this location