View pinterest.js
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'); |
View error.txt
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
Error when loading gists from http://gist.github.com/. |
View comments.html
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 = {}; |
View bad.cfm
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"> |
View dsn.cfm
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); |
View cleanupindex.sql
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 |
View cfobject.net.cfm
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
<!--- connect to the .NET object ---> | |
<cfobject type=".NET" name="v3assembly.obj" class="V3Leisure.CABS.WebServices.Examples.CABSExamplesUI.BLL.#Method#" assembly="#application.path#\lib\CABSExamplesUI.BLL.dll" /> | |
<!--- build up the info to send to the .NET assembly ---> | |
<cfset v3assembly.uri = JavaCast("string","http://www.au.v3travel.com/CABS.WebServices/SearchServiceAdapters.asmx")> | |
<cfset v3assembly.xml = JavaCast("string",XMLParse(XML))> | |
<cfset v3assembly.bool = JavaCast("boolean",true)> | |
<cftry> | |
<!--- return the response from the V3 assembly ---> | |
<cfreturn XmlParse(v3assembly.obj.SendRequest(v3assembly.uri,v3assembly.xml,v3assembly.bool))> | |
<cfcatch> |
View sshant.xml
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
<target name="SSHunzip"> | |
<echo message="Unzipping Zip file" /> | |
<sshexec host="${projectURL}" username="${SSH.Username}" password="${SSH.Password}" trust="true" command="unzip -o ${FTP.Development.RemoteLocation}/${projectName}.${build.number}.${svn.info.rev}.zip -d ${FTP.Development.RemoteLocation}"/> | |
</target> |
View geocoded.sql
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
SELECT postcode, (3959*acos((sin(#latitude#/57.3) * sin(latitude/57.3))+ (cos(#latitude#/57.3) * cos(latitude/57.3) * cos((#longitude# - longitude)/57.3))))*8/5 AS exactDistance | |
FROM postcode | |
WHERE 1=1 | |
ORDER BY (3959*acos((sin(#latitude#/57.3) * sin(latitude/57.3))+ (cos(#latitude#/57.3) * cos(latitude/57.3) * cos((#longitude# - longitude)/57.3))))*8/5 |
View cfant.cfm
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 buildFile = 'e:\sites\' & SiteName & '\httpdocs\build\build.xml'> | |
<cfant buildFile="#buildFile#" defaultDirectory="" anthome="C:\Program Files\apache-ant-1.7.1\" messages="output" target="updateserver"/> |
OlderNewer