Skip to content

Instantly share code, notes, and snippets.

View bhdicaire's full-sized avatar

Benoît H. Dicaire bhdicaire

View GitHub Profile
## _includes/image.html
<div class="image-wrapper" >
{% if include.url %}
<a href="{{ include.url }}" title="{{ include.title }}" target="_blank">
{% endif %}
<img src="{{ site.url }}/{{ include.img }}" alt="{{ include.title }}"/>
{% if include.url %}
</a>
{% endif %}
{% if include.caption %}
Synchronize all my settings and packages across atom instances https://atom.io/packages/sync-settings

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@bhdicaire
bhdicaire / whoIsOnFirst.md
Created September 24, 2017 22:36
Who's on First — Abbott & Costello's classic routine

Who's on First — Abbott & Costello's classic routine

Introduction

Abbott: Well, Costello, I'm going to New York with you. Bucky Harris the Yankee's manager gave me a job as coach for as long as you're on the team.

Costello: Look Abbott, if you're the coach, you must know all the players.

Abbott: I certainly do.

@bhdicaire
bhdicaire / BearTagIcons.md
Last active May 17, 2018 23:27
Tag Icons in Bear

Bear is a beautiful, flexible writing app for crafting notes and prose. Once you get a decent tag collection going, it can get harder to find the right one in your Sidebar.

This is my current list of small icons, refer to the blog post for more information:

  • academy - school
  • android
  • animals - animal
  • anime - comics
  • app - app
  • apple
  • apple watch

Source: Bear - FAQ and support #@References/Bear 2018-03-09

Editor

Text Styles

⌥⌘1, ⌥⌘2, …, ⌥⌘6 Headings

⌥⌘S Line separator

@bhdicaire
bhdicaire / export-toby.js
Created March 14, 2018 23:24 — forked from krishpop/export-toby.js
Export Toby
chrome.storage.local.get("state", o => (
((f, t) => {
let e = document.createElement("a");
e.setAttribute("href", `data:text/plain;charset=utf-8,${encodeURIComponent(t)}`);
e.setAttribute("download", f);
e.click();
})(`TobyBackup${Date.now()}.json`, o.state)
));
@bhdicaire
bhdicaire / gitCommit+ReleaseNotes.md
Created June 30, 2018 15:02
Recommended emoji for GIT commits and release notes

Recommended emoji for GIT commit and release note

Everyone loves neat, transparent, informative commit and release notes. Everyone would also rather avoid searching forthe emoji used last time :)

The motivation for the GIST was the need to standardize all most of my commits and release notes in a project.

Recommended emojis

Commit type Emoji
@bhdicaire
bhdicaire / _hover_example.py
Created July 19, 2018 21:59 — forked from dankrause/_hover_example.py
Example code to use the (unofficial, unsupported, undocumented) hover.com DNS API.
import requests
class HoverException(Exception):
pass
class HoverAPI(object):
def __init__(self, username, password):
params = {"username": username, "password": password}
r = requests.post("https://www.hover.com/api/login", params=params)
@bhdicaire
bhdicaire / README.md
Created June 18, 2019 01:42 — forked from roachhd/README.md
EMOJI cheatsheet 😛😳😗😓🙉😸🙈🙊😽💀💢💥✨💏👫👄👃👀👛👛🗼🔮🔮🎄🎅👻

EMOJI CHEAT SHEET

Emoji emoticons listed on this page are supported on Campfire, GitHub, Basecamp, Redbooth, Trac, Flowdock, Sprint.ly, Kandan, Textbox.io, Kippt, Redmine, JabbR, Trello, Hall, plug.dj, Qiita, Zendesk, Ruby China, Grove, Idobata, NodeBB Forums, Slack, Streamup, OrganisedMinds, Hackpad, Cryptbin, Kato, Reportedly, Cheerful Ghost, IRCCloud, Dashcube, MyVideoGameList, Subrosa, Sococo, Quip, And Bang, Bonusly, Discourse, Ello, and Twemoji Awesome. However some of the emoji codes are not super easy to remember, so here is a little cheat sheet. ✈ Got flash enabled? Click the emoji code and it will be copied to your clipboard.

People

:bowtie: 😄