Skip to content

Instantly share code, notes, and snippets.

View dapirian's full-sized avatar

David Apirian dapirian

View GitHub Profile
@dapirian
dapirian / github_gmail_filters.xml
Last active August 15, 2020 14:23
github gmail filters
<?xml version='1.0' encoding='UTF-8'?>
<!--
Instructions:
- Create a label named 'GitHub' (Settings -> Labels -> Create new label)
- The filters here will create new labels nested under 'GitHub', but only if 'GitHub' already exists
- Import these filters (Settings -> Filters and Blocked Addresses -> Import filters)
- Note there is a checkbox to 'Apply new filters to existing email'
- Change the colors of the new labels
- For a clean look don't give them each a unique color, pick 3-4 colors and reuse them for related labels
- Hide/delete/rename labels as desired
@orlp
orlp / chacha.h
Last active April 25, 2024 12:36
C++11 ChaCha implementation.
/*
Copyright (c) 2024 Orson Peters <orsonpeters@gmail.com>
This software is provided 'as-is', without any express or implied warranty. In no event will the
authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial
applications, and to alter it and redistribute it freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the