Skip to content

Instantly share code, notes, and snippets.

;(new MutationObserver((mutationList, observer) => {
if (!mutationList.length) return;
for (var i = 0; i < mutationList.length; i++) {
var mutation = mutationList[i];
if (
!('addedNodes' in mutation) ||
!mutation.addedNodes.length
) continue;
let aToZ = new Set('abcdefghijklmnopqrstuvwxyz'.split(''));
let aToZ_Match = /[a-z]/i;
for (let i = 0; i < 100000; i++) {
let char = String.fromCharCode(i);
if (aToZ.has(char)) continue;
if (!aToZ.has(char.toLowerCase())) continue;
if (aToZ_Match.test(char)) continue;
@romainmenke
romainmenke / harvest-basecamp.js
Created August 2, 2023 13:51 — forked from yvesvanbroekhoven/harvest-basecamp.js
UserScript Harvest Basecamp
// ==UserScript==
// @name Basecamp
// @version 0.1
// @description try to take over the world!
// @author You
// @include https://basecamp.com/*
// @grant none
// ==/UserScript==
class BasecampHelpers {
:has([aria-label="Skip to home timeline"]) [data-testid="cellInnerDiv"]:has(h2) {
display: none !important;
}
:has([aria-label="Skip to home timeline"]) [data-testid="cellInnerDiv"]:has(h2) ~ * {
display: none !important;
}
:has([aria-label="Skip to home timeline"]) section:has(> [aria-label="Timeline: Trending now"]) {
display: none !important;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
<script type="text/javascript">
if ('customElements' in window) {
customElements.forcePolyfill = true;
}
BEGIN MESSAGE.
uYAw92fqfmcLEjg CiuvZKC10XDoTY6 7VOWRqsqmm2nhkJ eKoekO8U03qNcYy
kjedaZB2b7OYQD4 gvfjJ8omD3tTCKq 6Xr2MZHgg4izWkI DYgh0FPqAYqUYZf
jtMSnQ35rO38psp A9e1Oic1vOqfPqw 7nwks7ik19aEYJJ Eo6wD3yCfRMHSo1
xBDoz92pPaJTQ6n RAnFkO1C7WYVKu5 tUzIv0aLMzWSiL.
END MESSAGE.
package main
import (
"compress/gzip"
"fmt"
"io"
"io/ioutil"
"runtime"
"sync"
"time"
#!/bin/bash
set -e
# add *.bench to .gitignore
trap 'kill -HUP 0' EXIT;
currentBranch=$(git rev-parse --abbrev-ref HEAD)
echo "bench current state"
  • every executable not signed with an Apple dev id
  • c
  • go < 1.7 (so go)