- Proposal: SE-NNNN
- Author: Paul Cantrell
- Status: Awaiting review
- Review manager: TBD
This proposal provides a robust, generalized mechanism for altering the behavior and API design of third-party libraries.
This proposal provides a robust, generalized mechanism for altering the behavior and API design of third-party libraries.
<!-- Requires Application Initialization module in IIS 7.5 or (built in already to) IIS 8. --> | |
<!-- http://www.iis.net/downloads/microsoft/application-initialization --> | |
<?xml version="1.0" encoding="utf-8"?> | |
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | |
<Product> | |
<!-- ... --> | |
<InstallExecuteSequence> | |
<Custom Action="CA.AppPoolSetStartMode" Before="InstallFinalize">NOT (REMOVE="ALL")</Custom> | |
<Custom Action="CA.ApplicationSetPreloadEnabled" Before="InstallFinalize">NOT (REMOVE="ALL")</Custom> |
$ gcm start-sshagent | fl | |
Name : start-sshagent | |
CommandType : Function | |
Definition : | |
if($env:SSH_AGENT_PID) { echo "ssh-agent running"; return } | |
$private:gp = get-gitbinpath | |
if($private:gp) { | |
$private:out = & (join-path $private:gp "ssh-agent") |
## Octopus Azure deployment script, version 1.1 | |
## -------------------------------------------------------------------------------------- | |
## | |
## This script is used to control how we deploy packages to Windows Azure. | |
## | |
## When the script is run, the correct Azure subscription will ALREADY be selected, | |
## and we'll have loaded the neccessary management certificates. The Azure PowerShell module | |
## will also be loaded. | |
## | |
## If you want to customize the Azure deployment process, simply copy this script into |
# | |
# Assumptions | |
# | |
# 1. If you have a Octopus release deployed, say 1.0.0.73, there is a git | |
# tag set for that commit in GitHub that is "v1.0.0.73". | |
# | |
# 2. You have TeamCity label each successful build in GitHub with the format | |
# "v{build number}. Sidenote: it appears that TeamCity only labels the | |
# default branch, but not feature branches. | |
# |
# credit for getting me going in the right direction | |
# http://blogs.lessthandot.com/index.php/uncategorized/access-git-commits-during-a-teamcity-build-using-powershell/ | |
# these properties should be entered into your configuration parameters section | |
$project = "%Octopus.Project%" | |
$deployTo = "%Octopus.DefaultEnvironment%" | |
$buildVersion = "%BuildVersion%" | |
$octopusApiKey = "%Octopus.BuildDeployBot.APIKey%" | |
$octopusServer = "%Octopus.Server.Url%" |
Runner type: | |
MsBuild | |
Build file path: | |
solution.sln | |
Command line parameters: | |
/p:VisualStudioVersion=11.0 | |
/p:Configuration=Release | |
/p:DeployOnBuild=True |
GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
# | |
# Original version by Grant Parnell is offline (http://digitaldj.net/2011/07/21/trim-enabler-for-lion/) | |
# Update July 2014: no longer offline, see https://digitaldj.net/blog/2011/11/17/trim-enabler-for-os-x-lion-mountain-lion-mavericks/ | |
# | |
# Looks for "Apple" string in HD kext, changes it to a wildcard match for anything | |
# | |
# Alternative to http://www.groths.org/trim-enabler-3-0-released/ | |
# Method behind this madness described: http://forums.macrumors.com/showthread.php?t=1409151&page=4 | |
# See discussion in comments here: https://www.macupdate.com/app/mac/39654/lion-tweaks | |
# And here: http://forums.macrumors.com/showthread.php?t=1410459 |