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
description: A policy pack that runs AWS IAM Access Analyzer during your deployments. | |
runtime: nodejs |
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
name: page-counter-az | |
runtime: nodejs | |
description: A page counter on Azure |
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
name: page-counter | |
runtime: nodejs | |
description: A page counter |
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
CSC=dotnet compile-csc | |
DOTNET=/usr/local/share/dotnet/shared/Microsoft.NETCore.App/1.0.0-rc2-3002702 | |
CSREFS=\ | |
--reference=$(DOTNET)/mscorlib.ni.dll \ | |
--reference=$(DOTNET)/System.Runtime.dll \ | |
--reference=$(DOTNET)/System.Console.dll | |
CSFLAGS=\ | |
--emit-entry-point \ | |
--warnings-as-errors \ |
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
@ECHO OFF | |
REM A handy, dandy script for disassembling .NET programs. | |
SETLOCAL EnableDelayedExpansion | |
ECHO .NET Program Disassembler | |
ECHO ========================= | |
REM Pluck out arguments and validate paths. | |
SET BINARY=%1 | |
IF [%BINARY%]==[] ( | |
ECHO error: missing program binary to disassemble |
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
// teariface.go | |
// A simple demonstration of breaking Go memory safety by violating concurrency | |
// safety. We alias an interface variable which is of course multiple words; | |
// the net result is the itable pointer and target object pointer end up | |
// mismatched, triggering undefined behavior (wrong results, AVs, etc). | |
package main | |
import ( | |
"fmt" | |
"runtime" |
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
// tear.go | |
// A simple demonstration of breaking Go memory safety by violating concurrency | |
// safety. We alias a shared slice variable -- which is a multi-word variable -- | |
// and then reads/write that shared variable in parallel between Goroutines. | |
// If "torn slice: ..." is printed, something VeryBad(tm) has occurred... | |
package main | |
import ( | |
"fmt" | |
"runtime" |