This file contains hidden or 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
pragma solidity ^0.4.24; | |
contract Sample { | |
uint[] values; | |
function justGasSpendingTx(uint gasToSpend) public { | |
uint gasLeftAtStart = gasleft(); |
This file contains hidden or 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
using System; | |
using System.Linq; | |
using System.Web.Mvc; | |
namespace ObjectCraftworks | |
{ | |
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true, Inherited = true)] | |
public class HandleErrorWithViewDataAttribute:HandleErrorAttribute | |
{ | |
public override void OnException(ExceptionContext filterContext) |
This file contains hidden or 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
get-process | where { $_.name -match "WebDev" -or $_.name -match "IISExpress" } | kill |