git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# | |
# Updated to use Python 3 by Malcolm Greaves. | |
# | |
# Python script to find the largest files in a git repository. | |
# The general method is based on the script in this blog post: | |
# http://stubbisms.wordpress.com/2009/07/10/git-script-to-show-largest-pack-objects-and-trim-your-waist-line/ | |
# | |
# The above script worked for me, but was very slow on my 11GB repository. This version has a bunch |
/* Using the Sitecore 9 Item OData service with odata.js */ | |
var o = require('odata'); | |
var moment = require('moment'); | |
o().config({ | |
endpoint: 'http://symheadless.local/sitecore/api/ssc/aggregate/content/', | |
appending: [ | |
{ name: 'sc_apikey', value: 'D510CB0F-B2EF-4224-8F7A-7F04C020BDFE' } | |
] |
protected void Application_Start(object sender, EventArgs e) | |
{ | |
Bootstrapper.Initialized += this.BootstrapperInitializedHook; | |
} |
'use strict'; | |
// Nodemailer: v2.0.0 | |
// Ubuntu: 14.04 | |
// node: v5.5.0 | |
// npm: 3.3.12 | |
var nodemailer = require('nodemailer'); | |
var transporter = nodemailer.createTransport({ | |
service: 'Mandrill', |
<!--- Mura CMS Bootstrap Tabs as Links ---> | |
<cfoutput> | |
<cfset it = $.content().getKidsIterator() /> | |
<!--- Only output if there's any kids ---> | |
<cfif it.hasNext()> | |
<!--- Nav Tabs ---> | |
<ul class="nav nav-tabs" role="tablist"> | |
<cfloop condition="it.hasNext()"> |
<cfset req = GetHttpRequestData() /> | |
<cfif structKeyExists(req.headers, "X-Forwarded-For") | |
AND Len(Trim(req.headers["X-Forwarded-For"])) GT 0> | |
<cfset ipAddress = req.headers["X-Forwarded-For"] /> | |
<cfelse> | |
<cfset ipAddress = cgi.remote_addr /> | |
</cfif> |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
namespace Telerik.Sitefinity | |
{ | |
public static class CollectionExtensions | |
{ | |
/// <summary> |
<form action="" id="searchForm"> | |
<fieldset> | |
<input type="text" name="Keywords" id="txtKeywords" class="text" value="Search" onfocus="this.value=(this.value=='Search') ? '' : this.value;" onblur="this.value=(this.value=='') ? 'Search' : this.value;" /> | |
<input type="hidden" name="display" value="search" /> | |
<input type="hidden" name="newSearch" value="true" /> | |
<input type="hidden" name="noCache" value="1" /> | |
<input type="submit" class="submit" value="Go" /> | |
</fieldset> | |
</form> |
<cfcomponent displayname="CF SCP" hint="Handles SCP style functionality within ColdFusion" output="false"> | |
<cfproperty name="scpserver" hint="Remote server to send files to" type="string" /> | |
<cfproperty name="username" hint="Username for access to the remote server" type="struct" /> | |
<cfproperty name="password" hint="Password of the remote server (required if not using private key authentication)" type="string" /> | |
<cfproperty name="key" hint="Path to private key for private key authentication" type="string" /> | |
<cfproperty name="connection" type="any" /> | |
<!--- #### Object Constructor #### ---> | |
<cffunction name="init" hint="Object constructor" access="public" output="false" returntype="any"> | |
<cfargument name="server" type="string" required="false" default="" /> |