I hereby claim:
- I am charlesj on github.
- I am charlesj (https://keybase.io/charlesj) on keybase.
- I have a public key ASDhFMZ5rG5Jf2kPUax1f2IGdiTnNl4u5kBvBD-Dh7SM5Ao
To claim this, I am signing this object:
########## | |
# Win10 Initial Setup Script | |
# Author: Disassembler <disassembler@dasm.cz> | |
# Version: 1.7, 2016-08-15 | |
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/ | |
# THIS IS A PERSONALIZED VERSION | |
# This script leaves more MS defaults on, including MS security features. | |
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1 |
<?php | |
$url = file_get_contents("http://inspirobot.me/api?generate=true"); | |
header('Content-Type: application/json'); | |
echo "{'text':'$url','response_type':'in_channel'}"; | |
?> |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"/> | |
<script src="http://cmx.io/v/0.1/cmx.js"></script> | |
<body> | |
<scene id="scene1"> | |
<label t="translate(0,346)"> | |
<tspan x="0" y="0em">Comix Sample</tspan> | |
</label> | |
<actor t="translate(131,49)" pose="-11,9|-5,117|-11,99|-11,89|-11,79|-11,59|-16,34|-21,9|-6,34|-1,9|-18,79|-18,59|-6,79|-1,59"> |
public class Breeder | |
{ | |
public double ChanceOfMutation { get; private set; } | |
public Couple Couple { get; private set; } | |
public Breeder(double chanceOfMutation, Couple couple) | |
{ | |
Couple = couple; | |
ChanceOfMutation = chanceOfMutation; | |
} |
public class EditWebpagePermission : IWebsitePermission | |
{ | |
public bool HasOption | |
{ | |
get { return true; } | |
} | |
public bool Check(Models.User user, System.Web.Mvc.ActionExecutingContext context) | |
{ | |
//okay there are alot of things that need to be checked here. |
public interface IWebsitePermission | |
{ | |
//whether or not this permission has some value to check against | |
bool HasOption { get; } | |
//this is the function that will actually conduct the authorize | |
bool Check(User user, ActionExecutingContext context); | |
//the value to check against | |
string Option { get; set; } | |
//this is for UI / organization purposes | |
string Description { get; } |