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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net; | |
using System.Web; | |
namespace Sample | |
{ | |
public class CrossOriginSupportModule : IHttpModule | |
{ |
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
define('crm/Environment', ['module', 'exports', 'dojo/_base/lang', 'dojo/_base/window', 'dojo/has', 'dojo/on', 'dojo/string', 'dojo/dom-construct', 'dojo/_base/sniff'], function (module, exports, _lang, _window, _has, _on, _string, _domConstruct) { | |
Object.defineProperty(exports, "__esModule", { | |
value: true | |
}); | |
var _lang2 = _interopRequireDefault(_lang); | |
var _window2 = _interopRequireDefault(_window); | |
var _has2 = _interopRequireDefault(_has); |
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://www.python.org/download/releases/2.3/mro/ | |
* Take the head of the first list, i.e L[B1][0] | |
* if this head is not in the tail of any of the other lists | |
- then add it to the linearization of C and remove it from the lists in the merge | |
- otherwise look at the head of the next list and take it | |
* if it is a good head. Then repeat the operation until all the class are removed or it is impossible to find good heads | |
// W = _WidgetBase | |
// S = Stateful | |
// D = Destroyable |
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
cd argos-sdk | |
call atom . | |
start grunt watch | |
cd .. | |
cd products | |
cd argos-saleslogix | |
call atom . | |
start grunt watch | |
start npm start | |
start /D "C:\Program Files (x86)\Atlassian\SourceTree\" SourceTree.exe |
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
// Run this in Jenkins script console | |
def jobName = "slx/8.3.x" // Include folder for multibranch pipeline | |
def nextBuildNumber = 69 | |
def job = Jenkins.getInstance().getItemByFullName(jobName, Job.class) | |
println(job.nextBuildNumber) | |
job.nextBuildNumber = nextBuildNumber | |
job.save() | |
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
// Check if a slave has < 10 GB of free space, wipe out workspaces if it does | |
import hudson.model.*; | |
import hudson.util.*; | |
import jenkins.model.*; | |
import hudson.FilePath.FileCallable; | |
import hudson.slaves.OfflineCause; | |
import hudson.node_monitors.*; | |
for (node in Jenkins.instance.nodes) { |
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 | |
#set -x | |
# Shows you the largest objects in your repo's pack file. | |
# Written for osx. | |
# | |
# @see https://stubbisms.wordpress.com/2009/07/10/git-script-to-show-largest-pack-objects-and-trim-your-waist-line/ | |
# @author Antony Stubbs | |
# set the internal field spereator to line break, so that we can iterate easily over the verify-pack output |
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
# Inspiration from | |
# | |
# http://blogs.msdn.com/b/opticalstorage/archive/2010/08/13/writing-optical-discs-using-imapi-2-in-powershell.aspx | |
# | |
# and | |
# | |
# http://tools.start-automating.com/Install-ExportISOCommand/ | |
# | |
# with help from | |
# |
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
<!DOCTYPE html> | |
<!--[if IE 9 ]> <html lang="en" class="ie9"> <![endif]--> | |
<!--[if (gt IE 9)|!(IE)]><!--> | |
<html lang="en" class="gtie9 modern"> | |
<!--<![endif]--> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" /> | |
<meta name="apple-mobile-web-app-capable" content="yes" /> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black" /> |
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
@echo off | |
if .%1. == .. ( | |
echo USAGE: %0 [product name] | |
goto :EOF | |
) | |
set PRODUCT=argos-%1 | |
echo. |
NewerOlder