Skip to content

Instantly share code, notes, and snippets.

View avtar's full-sized avatar

Avtar Gill avtar

  • Inclusive Design Research Centre
  • Toronto, Canada
View GitHub Profile
resource "aws_iam_role" "ses_role" {
name = "SESFullAccessRole"
assume_role_policy = jsonencode({
Version = "2012-10-17",
Statement = [
{
Action = "sts:AssumeRole",
Principal = {
Service = "ses.amazonaws.com"
@avtar
avtar / profiles.json
Created March 21, 2020 18:02
Windows Terminal
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}",
"profiles":
@avtar
avtar / LICENSE
Created September 3, 2019 15:00 — forked from noelbundick/LICENSE
Exclude WSL installations from Windows Defender realtime protection
MIT License
Copyright (c) 2018 Noel Bundick
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@avtar
avtar / steam.md
Last active July 27, 2019 14:56 — forked from graffic/steam.md
Downloading steam games from another computer/faster line

Framing the issue

With almost no bandwith at home, I needed a way to download DOOM that didn't involve blocking the home internet line for two days.

Approach

Using steamcmd you can use any computer to download steam games.

Downloading

  1. Install it
  2. Open it and loging with your username and password: login username password

Keybase proof

I hereby claim:

  • I am avtar on github.
  • I am avtar (https://keybase.io/avtar) on keybase.
  • I have a public key ASBdYYRG8Wa4_1b1GhXhFXCTPqcEZAiCtK2c6UcgCmU8hQo

To claim this, I am signing this object:

[
{
"id": "60e646d5-9216-40ac-bbde-c5461d1b5d6d",
"url": "https://api.buildkite.com/v2/organizations/fluid-project/pipelines/fluid-infusion-test/builds/9",
"web_url": "https://buildkite.com/fluid-project/fluid-infusion-test/builds/9",
"number": 9,
"state": "passed",
"blocked": false,
"message": "Fixes tests invocation",
"commit": "166b7b6730b81fedd895cd0f0f03effaf526f4ea",
1. Create a base grade that contains all shared invokers and other parts for the processing of 3 endpoints;
2. the function gpii.qi.api.ci.results() might be refactored to use event listeners with priorities
component member options:
fluid.defaults("test", {
regularOption1: "a"
members: {
memberOption1: "m",
},
events: {
@avtar
avtar / creating a pr branch
Last active June 28, 2017 20:45
GitHub payloads
#Headers
Request URL: http://*.ngrok.io/hooks/sync-gitlab-mirror
Request method: POST
content-type: application/json
Expect:
User-Agent: GitHub-Hookshot/18889e1
X-GitHub-Delivery: 37dead80-5c0d-11e7-8b3d-2fbc1f31f592
X-GitHub-Event: create
@avtar
avtar / 0-README
Created May 12, 2017 18:52
F2F DevOps - Vagrant Kasper's PR
Running the preferences server on port 8081 causes an issue with the production config tests because this config spawns multiple ephemeral preferences servers during the tests, and everything is hardcoded to use port 8081....
It seems this will become an impossible task without the env var support... so even the tests can be told to use another port.
Additionally, there are some tests that connect directly to CouchDB on localhost:5984... they would also have to be modified.
ENSURE YOU HAVE AN UPDATED VAGRANT BOX (`vagrant box update`)
# The standard configuration file to run our Vagrant tests in QI.
#
# See https://github.com/avtar/qi-development-environments
---
# Cache directories such as 'node_modules' in between stages.
cache:
key: "$CI_COMMIT_SHA"
untracked: true
paths:
- node_modules/