I hereby claim:
- I am chadmyers on github.
- I am chadmyers (https://keybase.io/chadmyers) on keybase.
- I have a public key whose fingerprint is 38A9 4643 3445 11D1 4066 08EF CF18 25B0 9AFE 7FA3
To claim this, I am signing this object:
| (new-object net.webclient).DownloadFile("https://download.microsoft.com/download/6/7/D/67D80164-7DD0-48AF-86E3-DE7A182D6815/rewrite_2.0_rtw_x64.msi", "$env:TEMP\rewrite_2.0x64.msi") | |
| Push-Location HKLM:\Software\Microsoft\InetStp | |
| $prevMajorVer = Get-ItemProperty -path . | Select -expandproperty MajorVersion | |
| Set-ItemProperty . MajorVersion 9 | |
| $process = start-process "msiexec" -windowstyle Hidden -ArgumentList "/i $env:TEMP\rewrite_2.0x64.msi /quiet /norestart /qn" -PassThru -Wait | |
| $result = $process.ExitCode | |
| Set-ItemProperty . MajorVersion $prevMajorVer | |
| Pop-Location | |
| iisreset |
I hereby claim:
To claim this, I am signing this object:
| var signedXml = new SignedXml(_rawXml); | |
| var publicKey = cert.PublicKey.Key; | |
| var signatureElement = (XmlElement) _rawXml | |
| .GetElementsByTagName("Signature","http://www.w3.org/2000/09/xmldsig#") | |
| .First(); | |
| signedXml.LoadXml(signatureElement); | |
| // I've tried it both ways (using the embedded key) |
| public class WrapIfFirstCallMatchesPolicy<TWrapperBehavior> : IConfigurationAction where TWrapperBehavior : IActionBehavior | |
| { | |
| readonly Func<ActionCall, bool> _filter; | |
| public WrapIfFirstCallMatchesPolicy(Func<ActionCall, bool> filter ) | |
| { | |
| _filter = filter; | |
| } | |
| public bool Matches(BehaviorChain chain) |
| <div id="login-header"> | |
| <h1>Dovetail Software</h1> | |
| <h2 id="login-title"><%: UserMessageKeys.AGENT_LOGIN_HEADING %></h2> | |
| </div> |
| using System; | |
| using System.Reflection; | |
| using FubuCore.Reflection; | |
| namespace FubuCore.Binding | |
| { | |
| public class MapWebToPhysicalPathFamily : StatelessConverter | |
| { | |
| public override bool Matches(PropertyInfo property) | |
| { |
| <%@ Page language="C#" %> | |
| <% | |
| Response.Cookies["marektest"].Value = "marek"; | |
| Response.Redirect("test2.aspx"); | |
| %> |
| # Allows Hubot to give a look of disapproval. | |
| # | |
| # bod <name> - gives back the character for the look of disapproval. | |
| module.exports = (robot) -> | |
| robot.respond /bod\s?(.*)/i, (msg) -> | |
| user_msg = msg.match[1].trim() | |
| response = 'ಠ_ಠ - ' + user_msg + '\n' + |
| setlocal | |
| SET INSTANCE_NAME=HRRuss | |
| CD c:\dovetailcrm\%INSTANCE_NAME% | |
| pushd services\DovetailCRM.EmailEngine.Service | |
| DovetailCRM.EmailEngine.Service.exe /install |
| using System; | |
| using System.Diagnostics; | |
| using System.Linq; | |
| using StructureMap; | |
| namespace ConsoleApplication2 | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) |