This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 1Lx58STssinS8LvcDXYw4Z3uMP9N8dpMvy https://explorer.blockstack.org/address/1Lx58STssinS8LvcDXYw4Z3uMP9N8dpMvy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] Invoking bench 'bench1' with image 'bench:latest' (15:19:14) | |
Running 30s test @ http://app1:5000/sync | |
20 connections | |
Stat Avg Stdev Max | |
Latency (ms) 9.95 26.1 1996.68 | |
Req/Sec 1911.84 275.3 2427 | |
Bytes/Sec 176 kB 25.6 kB 223 kB | |
Percentile Latency (ms) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<script> | |
var source = new EventSource('/') | |
source.onmessage = () => { | |
source.close() | |
location.reload() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Grammar(rules) { | |
this.rules = rules | |
} | |
function Rule(lhs, rhs) { | |
this.lhs = lhs | |
this.rhs = rhs | |
} | |
function parse(input) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set log=C:\sys_init.log | |
:isAdmin | |
net sessions > nul 2>&1 | |
if %errorlevel% equ 0 goto stopDiskMonitor | |
:runAsAdmin | |
powershell ^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM microsoft/nanoserver:1709 | |
ADD https://nodejs.org/dist/v10.12.0/win-x64/node.exe C:/Windows/system32/node.exe | |
COPY prebuilt/addon_x64.node addon_x64.node |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body style="display: flex; flex-direction: row; justify-content: center; margin: 0;"> | |
<svg style="width: 100vh; height: 100vh;" viewBox="0 0 210 210" preserveAspectRatio="none"> | |
<polygon points="100,10 40,190 190,80 10,80 160,190" style="fill: orange; fill-rule: nonzero;" /> | |
</svg> | |
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<span>for </span><span id="typer"></span> | |
<script> | |
var target = document.getElementById("typer"); | |
var texts = [ | |
["developers", "☕"], | |
["beginners", "🔥"], | |
["unicorns", "🦄"], | |
["hackers", "💀"], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on: | |
# https://web.archive.org/web/20180121193320/http://git-scm.com/blog/2010/08/25/notes.html | |
# - Pushing notes | |
git push origin "refs/notes/*" | |
# - Fetching notes | |
git fetch origin "refs/notes/*:refs/notes/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let http = require("http") | |
let html = String.raw | |
let cms = { | |
title: "My Title", | |
text: "My text" | |
} | |
function site(editable) { | |
let edit = editable ? ` contenteditable="true"` : "" |