Embedding an Entry
const entryId = 'abc123'
const evCoreState = await getEvCoreState({
config,
# vim:fileencoding=utf-8:ft=conf:foldmethod=marker | |
#: Fonts {{{ | |
#: kitty has very powerful font management. You can configure | |
#: individual font faces and even specify special fonts for particular | |
#: characters. | |
font_family CaskaydiaCoveNerdFontCompleteM-SemiLight | |
bold_font CaskaydiaCoveNerdFontCompleteM-Regular |
find . -name '*.js' \ | |
-exec grep -l '@jsx\|import.*react' {} \+ \ | |
| xargs rename -v 's/\.js/\.jsx/' |
<link rel="preload" href="stlye.css" as="style" >
rel="dns-prefetch"
browser resolves dns asaprel="preconnect"
browser resolves dns & TCP handshake ( & TLS negotiation) asaprel="prerender"
loads all resources & renders page (like in hidden tab)rel="prefetch"
browser requests item and caches - intended for next page resourcesI hereby claim:
To claim this, I am signing this object:
Latency Comparison Numbers | |
-------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
// ==UserScript== | |
// @name Wikipedia Desktop to mobile redirect | |
// @namespace phelm | |
// @version 0.1 | |
// @description Load mobile page on desktop because it is easier to read | |
// @author phelm | |
// @include https://en.wikipedia.org/* | |
// @include http://en.wikipedia.org/* | |
// ==/UserScript== |
FROM kaixhin/cuda-torch:latest | |
MAINTAINER Phil Helm <philip.helm@omgplc.com> | |
ENV dir /root | |
# fbcunn https://github.com/facebook/fbcunn | |
# Install as https://github.com/facebook/fbcunn/blob/master/INSTALL.md | |
# Install Folly, fbthrift, thpp and fblualib | |
RUN sudo apt-get install -y \ |
#!/bin/bash | |
# A simple script to backup an organization's GitHub repositories. | |
GHBU_BACKUP_DIR=${GHBU_BACKUP_DIR-"github-backups"} # where to place the backup files | |
GHBU_ORG=${GHBU_ORG-"autographer"} # the GitHub organization whose repos will be backed up | |
GHBU_API=${GHBU_API-"https://api.github.com"} # base URI for the GitHub API | |
GHBU_GITHOST=${GHBU_GITHOST-"<CHANGE-ME>.github.com"} # the GitHub hostname (see comments) | |
# I recommend using an API token so it is easily trackable and removable. | |
# Note that you MUST have SSH keys for a user with the access to all repos set up |
#!/bin/bash | |
# s3-to-AWStat | |
# Copyright 2013 Xavier Decuyper | |
# http://www.savjee.be | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining | |
# a copy of this software and associated documentation files (the | |
# "Software"), to deal in the Software without restriction, including | |
# without limitation the rights to use, copy, modify, merge, publish, |