This file contains hidden or 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
| const std = @import("std"); | |
| const expect = std.testing.expect; | |
| const cell = struct { | |
| v1: ?*Variant, | |
| v2: ?*Variant, | |
| }; | |
| const Variant = union(enum) { | |
| int: i32, |
This file contains hidden or 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
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "log" | |
| "os" | |
| ) | |
| func main() { |
This file contains hidden or 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
| scriptencoding utf-8 | |
| let url = 'http://www.tepco.co.jp' | |
| let indexj = '/cc/press/index-j.html' | |
| let res = webapi#http#get(url.indexj) | |
| if res.header[0] != 'HTTP/1.1 200 OK' | |
| echo 'Oops! Something wrong.' | |
| endif | |
| let data = iconv(res.content, 'utf-8', &encoding) | |
| let dom = webapi#html#parse(data) |
This file contains hidden or 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
| foo |
This file contains hidden or 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
| #include <stdio.h> | |
| int main(int argc, char* argv[]) { | |
| argc = 0; | |
| argv[0] = 100; | |
| while (argv[0] > 0) { | |
| argc += argv[0]; | |
| argv[0] -= 1; | |
| } | |
| printf("%d\n", argc); |
This file contains hidden or 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
| scriptencoding utf-8 | |
| let s:calendar_list = [ | |
| \ ['Australian Holidays', 'en.australian#holiday@group.v.calendar.google.com'], | |
| \ ['Austrian Holidays', 'en.austrian#holiday@group.v.calendar.google.com'], | |
| \ ['Brazilian Holidays', 'en.brazilian#holiday@group.v.calendar.google.com'], | |
| \ ['Canadian Holidays', 'en.canadian#holiday@group.v.calendar.google.com'], | |
| \ ['China Holidays', 'en.china#holiday@group.v.calendar.google.com'], | |
| \ ['Christian Holidays', 'en.christian#holiday@group.v.calendar.google.com'], | |
| \ ['Danish Holidays', 'en.danish#holiday@group.v.calendar.google.com'], |
This file contains hidden or 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! s:SelectColorScheme() | |
| let files = sort(map(split(globpath(&rtp, 'colors/*.vim'), "\n"), 'fnamemodify(v:val, ":t:r")')) | |
| silent 15vnew | |
| call setline(1, files) | |
| silent file `="SelectColorScheme"` | |
| setlocal bufhidden=wipe buftype=nofile nonu nomodifiable cursorline | |
| nnoremap <buffer> <silent> j j:<c-u>exe 'color' getline('.')<cr> | |
| nnoremap <buffer> <silent> k k:<c-u>exe 'color' getline('.')<cr> | |
| nnoremap <buffer> <silent> q :<c-u>close<cr> | |
| endfunction |
This file contains hidden or 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
| .fb_access_token | |
| .fbconsole.py |
This file contains hidden or 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
| hello |
NewerOlder