Skip to content

Instantly share code, notes, and snippets.

View abahgat's full-sized avatar

Alessandro Bahgat abahgat

View GitHub Profile
@abahgat
abahgat / 2023day20.ipynb
Last active December 21, 2023 20:10
Advent of Code 2023 Day 20
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@abahgat
abahgat / 2023day21.ipynb
Last active December 21, 2023 20:10
Advent of Code 2023 Day 21
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@abahgat
abahgat / config.yml
Created August 10, 2019 16:17
Basic CircleCI config for building a site with Hugo, running html-proofer and testing the results.
version: 2.1
orbs:
hugo: circleci/hugo@0.3
jobs:
snapshot:
docker:
- image: buildkite/puppeteer:v1.15.0
steps:
@abahgat
abahgat / config.yml
Last active February 29, 2020 08:03
A circle CI configuration to build a site with Hugo, test with html-proofer and then take screenshot tests via Percy.
version: 2
jobs:
hugo/build:
docker:
- image: cibuilds/hugo:0.55.6
steps:
- checkout
- run:
name: Checkout Submodules if Needed
command: |
@abahgat
abahgat / keybase.md
Created May 7, 2015 04:12
Keybase verification

Keybase proof

I hereby claim:

  • I am abahgat on github.
  • I am abahgat (https://keybase.io/abahgat) on keybase.
  • I have a public key whose fingerprint is 2427 8152 1A73 452C 1DC8 CDA6 6BEA 6A36 8D50 0FAE

To claim this, I am signing this object:

@abahgat
abahgat / gpg-public.pub
Last active August 29, 2015 14:20
Public GPG key
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQINBFVILfUBEADHQ9VolJCgonjLwstmvBls7Dh14iq5KTPIJ696xc+gEKu4q1MG
qMT9NrmOPXGniwa9Rg+XzFE2Moo9n8Rqs6ECyu2bEh9RYTszJJGcR9c90RwyUe9a
AI6RyiV3yyAPWM2KzdS14J0IDF6vaEQqknljm40IANzeHI8ltsP6InHOcLUPYiNz
FCoh4myvgjDY4YB+cN9Yipbe91p8HX758LX2T1KVJ0eGkSsrqQ3RgY8CD7h5nF9g
/IY2MAesFoLkXF/zCJIynRcNdZ2XawNA9v4rY9Hl1WKp2JicKyoMqUQ77I8ZKfnj
boUIz/3nINpV8WI/ExRfFP4DsRsRMbaPqmr19kwfU0v2mDNZ+n8vlSwWuOo98gNg
G6YtcJ8pmUpwsDoAr4NXh7ApmYQU8YnXTRN50OV02RhFiMWcXveBetKbPoRUT6mN
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@abahgat
abahgat / rete-metro-milano.geojson
Last active December 21, 2015 20:18
Rete linee metropolitana Milano. This is an elaboration of the Open Data published by the City of Milan obtained by converting the data to GeoJSON and trying to make the format a bit more useful. Base data file here: https://github.com/abahgat/opendata-milano/blob/master/geojson/fermate-metro.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@abahgat
abahgat / capture.sh
Last active March 18, 2016 00:04
Capture a screenshot of a window via command line
screencapture -iW /path/to/output.png