Skip to content

Instantly share code, notes, and snippets.

View tanguyantoine's full-sized avatar
👋

Tanguy Antoine tanguyantoine

👋
View GitHub Profile
@tanguyantoine
tanguyantoine / Brewfile
Created October 14, 2024 14:04
Brewfile
# specify a directory to install
cask_args appdir: "~/Applications", require_sha: true
# install only on specified OS
brew "gnupg" if OS.mac?
brew "glibc" if OS.linux?
# install packages
brew 'git'
brew 'bash-completion'
{
"definitions": {
"io.argoproj.argocd.v1alpha1.AWSAuthConfig": {
"description": "AWSAuthConfig is an AWS IAM authentication configuration",
"type": "object",
"properties": {
"clusterName": {
"description": "ClusterName contains AWS cluster name",
"type": "string"
},

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@tanguyantoine
tanguyantoine / foo_type.rb
Created August 19, 2017 18:01
New Relic GraphQL Ruby instrumentation
Types::FoosType = GraphQL::ObjectType.define do
field :foos, !types[Types::FooType] do
timed true # enable New Relic trace_execution_scoped
description "Returns foos"
argument :per, types.Int, default_value: 20
argument :page, types.Int, default_value: 1
# Moving to cursor pagination would be better
resolve(...)
end
end
@tanguyantoine
tanguyantoine / hammerspoon.lua
Last active August 29, 2015 14:12
Hammerspoon Config
-------- position -----------
--[[
& - "
- - -
è - ç
]]--
hs.hotkey.bind({"cmd", "alt", "ctrl"}, "&", function()
local win = hs.window.focusedWindow()
local f = win:frame()
local screen = win:screen()