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
[wholroyd@wholroyd-fedora ansible]$ find ./*.py -printf "%f\n" | |
__init__.py | |
cloudtrail.py | |
dynamodb_table.py | |
ec2_ami_copy.py | |
ec2_elb_facts.py | |
ec2_eni.py | |
ec2_eni_facts.py | |
ec2_remote_facts.py | |
ec2_vpc_igw.py |
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
{ | |
"comment": "Modified from the original ASP bundle. Originally modified by Thomas Aylott subtleGradient.com", | |
"fileTypes": [ | |
"vbs", | |
"vbe", | |
"wsf", | |
"wsc", | |
"acm", | |
"acr", | |
"acf" |
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
xUnit.net DNX Runner (64-bit DNX 4.5.1) | |
Discovering: fake-dnx.tests | |
Discovered: fake-dnx.tests | |
Starting: fake-dnx.tests | |
fake_dnx.tests.HomeControllerTests.TestingTheDnxTestCommand [FAIL] | |
Assert.True() Failure | |
Expected: True | |
Actual: False | |
Stack Trace: | |
at fake_dnx.tests.HomeControllerTests.TestingTheDnxTestCommand () [0x00000] in <filename unknown>:0 |
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
## This was based on the 11.x image found at... | |
## ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/ISO-IMAGES/11.0/FreeBSD-11.0-CURRENT-amd64-20150917-r287930-disc1.iso | |
pkg install -y git | |
cd /usr/src | |
git clone http://github.com/nextbsd/nextbsd . | |
make buildworld | |
make buildkernel KERNCONF=GENERIC | |
make installkernel KERNCONF=GENERIC |
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
[wholroyd@wholroyd-fedora fake-dnx]$ docker run -i -t a97703ea76ed | |
System.IO.FileNotFoundException: Could not load file or assembly 'Kestrel' or one of its dependencies. The system cannot find the file specified. | |
File name: 'Kestrel' | |
at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef, System.Security.Policy.Evidence assemblySecurity) [0x00000] in <filename unknown>:0 | |
at (wrapper remoting-invoke-with-check) System.AppDomain:Load (System.Reflection.AssemblyName,System.Security.Policy.Evidence) | |
at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef) [0x00000] in <filename unknown>:0 | |
at (wrapper remoting-invoke-with-check) System.AppDomain:Load (System.Reflection.AssemblyName) | |
at System.Reflection.Assembly.Load (System.Reflection.AssemblyName assemblyRef) [0x00000] in <filename unknown>:0 | |
at Microsoft.AspNet.Hosting.Server.ServerLoader.LoadServerFactory (System.String assemblyName) [0x00000] in <filename unknown>:0 | |
at Microsoft.AspNet.Hosting.Internal.HostingEngin |
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
[wholroyd@wholroyd-fedora fake-dnx]$ docker build . | |
Sending build context to Docker daemon 2.561 MB | |
Sending build context to Docker daemon | |
Step 0 : FROM microsoft/aspnet | |
---> 3ad193895d0a | |
Step 1 : COPY /src/fake-dnx /app | |
---> Using cache | |
---> 677cc7cb7b1a | |
Step 2 : WORKDIR /app | |
---> Using cache |
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
// ### The Root application | |
// ./index.js <- lives here | |
// ./views/index.hbs <- the view | |
// ./catsApp <- child app | |
var express = require('express'); | |
var app = express(); | |
var exphbs = require('express-handlebars'); | |
app.engine('hbs', exphbs({defaultLayout: 'single', extname: '.hbs'})); | |
app.set('view engine', 'hbs'); |
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
X509Store store = new X509Store(@"\\machinename\MY", StoreLocation.LocalMachine); |
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
namespace Foundation.Data.Sql.EntityFramework | |
{ | |
using System; | |
using System.Data.Entity; | |
using System.Data.Entity.Infrastructure; | |
using Foundation.Core.Abstractions; | |
using Foundation.Infrastructure.Common.Data; | |
public class FoundationContext : DbContext |
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
<html> | |
<body onload="GetPromo()"> | |
<SCRIPT LANGUAGE="JavaScript"> | |
function GetPromo() { | |
var p = "24682"; | |
var a = "47000"; | |
var b = Math.random().toString().substr(3, 4); | |
var c = Math.random().toString().substr(7, 1); | |
prompt("Enjoy your coupon! :)", a + b + p + c); |