I hereby claim:
- I am steve-jansen on github.
- I am stevejansen (https://keybase.io/stevejansen) on keybase.
- I have a public key ASA_OhoiYVixB58rBEiRJl_9CcBjl0xT2QsAbM-ponCvsAo
To claim this, I am signing this object:
| #!/bin/sh | |
| # | |
| # SUSE system statup script for port forwarding port 80 to the port | |
| # for the Jenkins continuous build server. | |
| # | |
| # Jenkins normally does not run as root, thus /etc/init.d/jenkins cannot | |
| # bind to ports < 1024 since SUSE does not support authbind (or similar). | |
| # | |
| # The MIT License (MIT) | |
| # |
| SETLOCAL | |
| PUSHD "%USERPROFILE%\Downloads" | |
| IF NOT EXIST "installers" MKDIR "installers" | |
| CD "installers" | |
| ECHO @ECHO OFF > curl.cmd | |
| ECHO TITLE "%~1" >> curl.cmd | |
| ECHO IF NOT ".%~p1"==".\" IF NOT EXIST ".%~p1" MKDIR ".%~p1" >> curl.cmd | |
| ECHO PUSHD ".%~p1" >> curl.cmd |
| var express = require('express'), | |
| proxy = require('./lib/proxy'); | |
| var app = express(); | |
| app.configure(function() { | |
| app.use(express.favicon(false)); | |
| app.use(express.logger('dev')); | |
| app.use(proxy.initialize({ | |
| proxy: { |
| :: Name: TestData.cmd | |
| :: Purpose: Convenience script to use SQL Server bcp.exe to import or export | |
| :: sample data as binary files in ~/src/Database/TestData | |
| :: Author: Steve Jansen | |
| :: Revision: December 2012 | |
| @ECHO OFF | |
| SETLOCAL ENABLEEXTENSIONS | |
| :: default values |
| :: Name: yeoman.cmd | |
| :: Purpose: Convenience script to run yeoman on windows | |
| :: Author: Steve Jansen | |
| :: Revision: January 2013 | |
| @ECHO OFF | |
| SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION | |
| SET /A ERR=0 | |
| PUSHD %~dps0\.. > NUL |
| <Script language="C#" runat="server"> | |
| void Application_EndRequest() { | |
| // rewrite HTTP 401s to HTTP 403s if the user is authenticated using | |
| // integrated Windows auth with impersonation, but, | |
| // the user lacks permissions to the requested URL | |
| if (Context.User != null && | |
| Context.User.Identity != null && | |
| Context.User.Identity.IsAuthenticated && | |
| Context.User is System.Security.Principal.WindowsPrincipal && | |
| Context.Response.StatusCode == 401) |
| using System; | |
| using System.IO; | |
| using System.Reflection; | |
| using Awesomium.Core; | |
| namespace MyApp | |
| { | |
| /// <summary> | |
| /// A custom implementation of the `Awesomium.Windows.Forms.ResourceDataSourceProvider` functionality. | |
| /// This interceptor supports using the standard `http://` protocol scheme instead of Awesomium's use of the |
| javascript:var s='';for(i=0;;i++){k=document.forms[0]["runtime_configuration[tf_vars_attributes]["+i+"][key]"];v=document.forms[0]["runtime_configuration[tf_vars_attributes]["+i+"][value]"]; if(k && v){s+=[k.value,'=',v.value,'\n'].join('');}else{break};};window.location="data:text/plain;base64,"+btoa(s); |
| # 131194047065676512 is an example FILETIME value | |
| ruby -e 'puts Time.at((Integer(ARGV[0]) - 116444736000000000) / 10000000)' -- 131194047065676512 |
I hereby claim:
To claim this, I am signing this object: