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
#!/bin/bash | |
# | |
# | |
# Author: Duncan Isaksen-Loxton | |
# Web: sixfive.com.au | |
# | |
# PREREQUISITES |
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
/** | |
* Mailchimp API v3 | |
* Add a subscriber to a list with interests on Google Form submit | |
* | |
* Updated to 3.0 from https://gist.github.com/acarrillo/5772508 | |
* | |
* Edit the Google Sheet connected to your form | |
* Menu > Tools > Script Editor | |
* Copy and paste this into the file, remove anything there already | |
* Update the variables in the top section |
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
{ | |
"style_buildings":{ | |
"color": "#0000ff", | |
"weight":"1" | |
}, | |
"style_green":{ | |
"color": "#00ff00", | |
"weight":"3" | |
}, | |
"style_red":{ |
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
"style_buildings":{ | |
"color": "#0000ff", | |
"weight":"1" | |
}, | |
"style_green":{ | |
"color": "#00ff00", | |
"weight":"3" | |
}, | |
"style_red":{ | |
"color": "#ff0000", |
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
"buildings":{ | |
"type": "FeatureCollection", | |
"features": [ | |
{ | |
"type": "Feature", | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[148.391956873,-36.41520944409831,0], |
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 send_Gmail_as_PDF() { | |
var gLabel = "#Receipt"; | |
var thread = GmailApp.search("label:" + gLabel); | |
for (var x = 0; x < thread.length; x++) {//for all emails | |
var messages = thread[x].getMessages(); | |
for (var y = 0; y < 1; y++) {// only do on the first email, use messages.length otherwise | |
var attach = messages[y].getAttachments(); |
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
<link rel="apple-touch-icon" href="/media/pics/site/ios.png"> |
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
Create table vin_deadlock (id int, Name Varchar(30)) | |
GO | |
Insert into vin_deadlock values (1, 'Vinod') | |
Insert into vin_deadlock values (2, 'Kumar') | |
Insert into vin_deadlock values (3, 'Saravana') |
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
// set property timer to zero initially | |
var propertyTimerID = 0; | |
function timeProperty() { | |
// if property timer is set | |
if(propertyTimerID) { | |
// clear it | |
clearTimeout(propertyTimerID); | |
} | |
// set it to fire a second from now | |
propertyTimerID = self.setTimeout('getPropertyHelper()', 1000); |
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
<cfset XMPPConnection = createObject("java", "org.jivesoftware.smack.XMPPConnection").init("localhost")> |
NewerOlder