Skip to content

Instantly share code, notes, and snippets.

View l01cd3v's full-sized avatar

Loïc Simon l01cd3v

View GitHub Profile
@l01cd3v
l01cd3v / Blank snippet.WORD.yaml
Created May 4, 2021 13:36
Create a new snippet from a blank template.
name: Blank snippet
description: Create a new snippet from a blank template.
host: WORD
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
async function run() {
await Word.run(async (context) => {
@l01cd3v
l01cd3v / exceptions-sample.json
Created June 13, 2017 14:53
Sample exceptions file for Scout2
{
"services": {
"iam": {
"exceptions": {
"iam-group-with-inline-policies": [
"iam.groups.AGPAIUZCJ2ZNXH2OVMGZS.inline_policies",
"foobar"
]
}
},
@l01cd3v
l01cd3v / Scout2-DebugIssue35.json
Created September 14, 2015 16:44
Provides decribe access to AWS EC2 in us-east-1 region
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "ec2:Describe*",
"Resource": "*",
"Condition": {
"StringEquals": {
"ec2:Region": "us-east-1"