Skip to content

Instantly share code, notes, and snippets.

View tlepoint's full-sized avatar

Tancrède Lepoint tlepoint

View GitHub Profile
@tlepoint
tlepoint / BUILD
Last active March 14, 2021 17:00
prg_bench
load("@rules_cc//cc:defs.bzl", "cc_test")
cc_library(
name = "barrett",
hdrs = ["barrett.h"],
deps = [
"@com_google_absl//absl/numeric:int128",
"@com_google_absl//absl/types:span",
],
)
@tlepoint
tlepoint / fix-homebrew-npm.md
Created May 5, 2017 18:53 — forked from DanHerbert/fix-homebrew-npm.md
Instructions on how to fix npm if you've installed Node through Homebrew on Mac OS X or Linuxbrew

Fixing npm On Mac OS X for Homebrew Users

Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.

Solution

This solution fixes the error caused by trying to run npm update npm -g. Once you're finished, you also won't need to use sudo to install npm modules globally.

Before you start, make a note of any globally installed npm packages. These instructions will have you remove all of those packages. After you're finished you'll need to re-install them.

Keybase proof

I hereby claim:

  • I am tlepoint on github.
  • I am tlepoint (https://keybase.io/tlepoint) on keybase.
  • I have a public key whose fingerprint is 3751 0BA4 3758 6D64 2889 4432 9BD8 0D59 5260 0776

To claim this, I am signing this object:

@tlepoint
tlepoint / hype-cycle.tex
Created July 13, 2015 23:37
Hype Cycle in TikZ
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[use as bounding box, draw=none] (0, -1.33) rectangle (19.5, 10.2);
\draw[line width=3pt,black] plot [smooth, tension=0.75] coordinates {(0.5, -4.5) (3.5, 7.54) (6.5, 1.50) (11.5, 3.40) (19.5, 4.14)};
\end{tikzpicture}