Skip to content

Instantly share code, notes, and snippets.

Avatar
🧩
Focusing

agustín méndez matagus

🧩
Focusing
View GitHub Profile
View library-json.md

Hi Tom!

Here's what the Markdown for a book looks like on macwright.org:

---
categories:
  - book
layout: book
title: 'My Year of Rest and Relaxation'
@maks500
maks500 / pasoscraper.py
Last active Nov 8, 2019
PASO 2019 Scraper
View pasoscraper.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Author: Ariel Torti
# @GitHub: github.com/maks500
import argparse
import logging
import os
import shutil
import sys
import time
@hydrosquall
hydrosquall / index.md
Last active Sep 15, 2020
Building Inclusive Code Review Culture
View index.md

Thoughts on habits + practices on how to give/receive feedback more effectively, as well as creating systems that nudge systems towards getting even better at this over time

Writeups

@Cryptophobia
Cryptophobia / changelog-v2.21.0.md
Created May 6, 2019
Hephy Workflow v2.21.0 Changelog
View changelog-v2.21.0.md

Releases

  • router v2.15.1 -> v2.16.0
  • slugbuilder v2.7.0 -> v2.7.1
  • workflow v2.20.2 -> v2.21.0
  • workflow-cli v2.20.2 -> v2.21.0
  • workflow-e2e v2.20.2 -> v2.21.0

Features

@keijiro
keijiro / 00_blot5.md
Last active Sep 23, 2020
KodeLife fragment shader sketch
@tricoder42
tricoder42 / 00_GraphQL_Subscriptions.md
Last active Sep 7, 2020
GraphQL Subscriptions with django-channels
View 00_GraphQL_Subscriptions.md

GraphQL Subscription with django-channels

Django channels are official way for implementing async messaging in Django.

The primary caveat when working with GraphQL subscription is that we can't serialize message before broadcasting it to Group of subscribers. Each subscriber might use different GraphQL query so we don't know how to serialize instance in advance.

See related issue

@mendhak
mendhak / update-another-users-pullrequest.md
Last active May 3, 2019
Update a pull request by pushing to another user's forked repository
View update-another-users-pullrequest.md

Add the other user as a remote

#Using https
git remote add otheruser https://github.com/otheruser/yourrepo.git
# Or - Using SSH
git remote add otheruser git@github.com:otheruser/yourrepo.git

Fetch

git fetch otheruser
@matagus
matagus / app.py
Created May 1, 2017
Monitoring a Python Falcon Framework application using NewRelic
View app.py
import newrelic.agent
newrelic.agent.initialize('newrelic.ini')
api = application = newrelic.agent.WSGIApplicationWrapper(falcon.API())
@jherax
jherax / is-private-mode.js
Last active Oct 16, 2020
Detect if the browser is running in Private mode (Promise based)
View is-private-mode.js
/**
* Lightweight script to detect whether the browser is running in Private mode.
* @returns {Promise<boolean>}
*
* Live demo:
* @see https://output.jsbin.com/tazuwif
*
* This snippet uses Promises. If you want to run it in old browsers, polyfill it:
* @see https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.auto.min.js
*
You can’t perform that action at this time.