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 ( | |
| "time" | |
| "fmt" | |
| ) | |
| func main() { | |
| this_date := time.Now() | |
| opening_day := time.Date(this_date.Year(), time.October, 25, 9, 0, 0, 0, this_date.Location()) |
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 "net/http" | |
| import "fmt" | |
| import "os" | |
| import "os/exec" | |
| import "log" | |
| import "io/ioutil" |
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 ( | |
| "encoding/xml" | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "os" | |
| "time" | |
| ) |
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 <iostream> | |
| #include <string> | |
| class omg { | |
| public: | |
| operator wchar_t* () const { | |
| return L"wtf"; | |
| } | |
| }; |
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 <iostream> | |
| class VoidTest { | |
| public: | |
| VoidTest(int val) : _val(val) {} | |
| operator void () { | |
| _val *= 2; | |
| } | |
| int _val; | |
| }; |
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 ( | |
| "net/http" | |
| "fmt" | |
| "log" | |
| "os/exec" | |
| "io/ioutil" | |
| "math/rand" | |
| "strings" |
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 | |
| // Create a directed graph based on the words in a text file. | |
| // For example the sentences "This is some text. What is this good for?" would produce the following digraph: | |
| // digraph graph { | |
| // This -> is | |
| // is -> some | |
| // some -> text | |
| // What -> is |
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 <iostream> | |
| #include <string> | |
| #include <cstdlib> | |
| #include <cstring> | |
| #include <curl/curl.h> | |
| struct download { | |
| size_t size; |
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
| #!/usr/bin/env python3 | |
| import os | |
| import subprocess | |
| import httplib2 | |
| # Install the latest Chromium snapshot build on Windows | |
| def main(): | |
| h = httplib2.Http(".cache") |
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
| DELIGHT=c:\Program Files\3Delight | |
| render.exe: render.c Makefile | |
| gcc -O3 -I"$(DELIGHT)/include" -o render render.c -L"$(DELIGHT)/lib" -l3delight | |