A simpler example of OpenStreetMap vector tiles, without panning and zooming. Just a static map!
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 spork/fmt) | |
(defn main [_ filename] | |
(fmt/format-file filename)) |
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
NVIM v0.2.1-190-gb6054da6 | |
Build type: RelWithDebInfo | |
Compilation: C:/msys64/mingw64/bin/gcc.exe -Wconversion -DNVIM_MSGPACK_HAS_FLOAT32 -O2 -g -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -D__USE_MINGW_ANSI_STDIO -D_WIN32_WINNT=0x0600 -Wvla -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -IC:/projects/neovim/build/config -IC:/projects/neovim/src -IC:/projects/neovim/.deps/usr/include -IC:/projects/neovim/.deps/usr/include -IC:/msys64/mingw64/include -IC:/projects/neovim/.deps/usr/include -IC:/projects/neovim/.deps/usr/include -IC:/msys64/mingw64/include -IC:/msys64/mingw64/include -IC:/projects/neovim/build/src/nvim/auto -IC:/projects/neovim/build/include | |
Compiled by appveyor@APPVYR-WIN | |
Optional features included (+) or not (-): -acl +iconv -jemalloc +tui | |
For differences from Vim, see :help vim-differences | |
system vimrc file: "$VIM\sysinit.vim" | |
fall-back for $VIM: "C:/Program Files (x86)/nvim/share/nvim" |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Console] | |
"ColorTable00"=dword:00282828 | |
"ColorTable01"=dword:00888545 | |
"ColorTable02"=dword:001a9798 | |
"ColorTable03"=dword:006a9d68 | |
"ColorTable04"=dword:001d24cc | |
"ColorTable05"=dword:008662b1 | |
"ColorTable06"=dword:002199d7 |
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 Set-VisualStudioEnvironment { | |
$command = "$((ls env:\VS*COMNTOOLS | sort | select -last 1).value)vsvars32.bat" | |
foreach ($line in cmd /c "`"$command`" 2>&1 && set") { | |
if ($line -match '^([^=]+)=(.*)') { | |
[System.Environment]::SetEnvironmentVariable($matches[1], $matches[2]) | |
} | |
} | |
} |
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 Start-Vim { | |
if (!$global:VimServerName) { | |
$global:VimServerName = 'GVIM' | |
} | |
if ($args) { | |
gvim.exe --servername $global:VimServerName --remote-silent $args | |
} else { | |
$servers = (vim.exe --noplugin -u NORC --serverlist) | ? { $_ -eq $global:VimServerName } | |
if ($servers) { | |
vim.exe --noplugin -u NORC -c "call remote_foreground('$global:VimServerName')" -c 'quit' |
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
.assembly extern mscorlib | |
{ | |
} | |
.assembly hello | |
{ | |
} | |
.method static void main() | |
{ |
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
var fibNumbers = InfiniteUnfold( | |
p => Tuple.Create(p.Item1, Tuple.Create(p.Item2, p.Item1 + p.Item2)), | |
Tuple.Create(1, 1)) | |
.Take(50); | |
public IEnumerable<T> InfiniteUnfold<T, TResult>( | |
Func<TResult, Tuple<T, TResult>> generator, | |
TResult seed) | |
{ | |
var next = seed; |