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
mysql> create table t(f float); | |
Query OK, 0 rows affected (0.02 sec) | |
mysql> insert into t(f) values (999999),(1000000),(1000001); | |
Query OK, 3 rows affected (0.00 sec) | |
Records: 3 Duplicates: 0 Warnings: 0 | |
mysql> select * from t; | |
+---------+ | |
| f | |
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> | |
<meta charset=utf-8> | |
<script type=🧩 id=lodash> | |
import content from "lodash/content"; | |
const p = document.createElement("p"); | |
p.textContent = content; | |
export default () => p.cloneNode(true); | |
</script> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/usr/bin/env python3 | |
import io | |
import json | |
import socket | |
def q(s): | |
# For double quotes | |
return json.dumps(s, ensure_ascii=False) |
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
import os | |
import sys | |
arg = sys.argv[1] | |
start = os.getcwd() | |
os.mkdir('tmp') | |
os.chdir('tmp') |
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! SetMode() | |
call system("defaults read -g AppleInterfaceStyle") | |
if v:shell_error | |
se bg=light | |
else | |
se bg=dark | |
endif | |
endfunction | |
call SetMode() |
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
#!/bin/bash | |
# vi: ts=2 sw=2 et | |
set -eu | |
type node || source "$NVM_DIR/nvm.sh" | |
type pip || source ./venv/bin/activate | |
type curl osmtogeojson tippecanoe aws | |
set -x | |
query='[out:json]; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>delete.stupid.apple.garbage</string> | |
<key>Program</key> | |
<string>/bin/sh</string> | |
<key>ProgramArguments</key> | |
<array> |
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
v9.5.0 |
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
HTTP/1.0 200 OK | |
Server: alphapd | |
Date: Sun Feb 12 16:21:12 2017 | |
Pragma: no-cache | |
Cache-Control: no-cache | |
Content-type: text/html |