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
"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
"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
{ | |
"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
$().ready(function() { | |
$('.entry-body img').each(function(){ | |
var $permalink = $(this).parents('.entry').find('.permalink').attr('href'); | |
$(this).wrap('<div class="pinme" style="' + $(this).attr('style') + '" />').after('<a href="http://pinterest.com/pin/create/button/?url=' + $permalink + '&media=' + $(this).attr('src') + '&description=' + $(this).attr('alt') + '" class="pin-it-button" count-layout="vertical">Pin It</a>'); | |
}); | |
$('.pinme').hover(function() { | |
$(this).children('iframe').css('display','block'); | |
}, function() { | |
$(this).children('iframe').css('display','none'); |
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
<MTEntryIfAllowComments> | |
<a id="comments"></a> | |
<h3 class="comments-header"><$MTTrans phrase="Comments"$></h3> | |
<div class="comments-content"> | |
<div id="tpc_thread"></div> | |
<div style="display:none;" id="tpc_post_title"><$MTEntryTitle$></div> | |
<div style="display:none;" id="tpc_post_message"><$MTEntryBody$></div> | |
<script type="text/javascript"> | |
var TPConnect = {}; |
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
<cfloop from="1" to="#upperLimit#" index="myIndex"> |
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
<!-- Properties to be set by SVN $ID$ $REV$ --> | |
<project name="SVN Update" default="update" basedir="."> | |
<description> Updates to head revision </description> | |
<!-- all properties are in build.properties --> | |
<property file="build.properties" /> | |
<!-- path to the svnant libraries. Usually they will be located in ANT_HOME/lib --> | |
<path id="svnant.classpath"> | |
<fileset dir="${ant.home}"> | |
<include name="**/*.jar"/> | |
</fileset> |
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
stDSN.driver = "MSSQLServer"; | |
stDSN.name= "DBDSN"; | |
stDSN.host = "192.168.101.109"; | |
stDSN.port = "1433"; | |
stDSN.selectmethod = "direct"; | |
stDSN.database = "DBDSN"; | |
stDSN.username = "DBUsername"; | |
stDSN.password = "DBPassword"; | |
// now create | |
dsObj.setMSSQL(argumentCollection=stDSN); |
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
sp_fulltext_catalog 'SearchIndexName', 'drop' | |
go | |
sp_fulltext_service 'clean_up' | |
go |
OlderNewer