go run main.go -key ...
and go to http://localhost:4343/login
| #[derive(Debug)] | |
| enum State { | |
| STRIKE, | |
| STRIKE_PLUS_1, | |
| STRIKE_PLUS_2, | |
| SPARE, | |
| SECOND, | |
| FIRST | |
| } |
| import { Store } from 'express-session'; | |
| import JFS from 'jfs'; | |
| export default class JFSStore extends Store { | |
| constructor(location) { | |
| super(); | |
| this.db = new JFS(location || 'data'); | |
| } |
go run main.go -key ...
and go to http://localhost:4343/login
| *.mp3 |
| #include <arpa/inet.h> | |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <sys/socket.h> | |
| #include <unistd.h> | |
| int main() { | |
| const char* server_name = "localhost"; | |
| const int server_port = 8877; |
| #include <arpa/inet.h> | |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <sys/socket.h> | |
| #include <unistd.h> | |
| int main() { | |
| const char* server_name = "localhost"; | |
| const int server_port = 8877; |
< C++17
run shared_mutex.cc -lboost_system -lboost_thread -lpthread -std=c++14
C++17
CXX=g++-6 run shared_mutex.cc -lpthread -std=c++17
ubuntu 14.04, g++ 4.8
81.700000, 187.500000
ubuntu 14.04, clang++-3.8
76.400000, 186.800000
| *.jpg | |
| *.jpeg | |
| *.png | |
| *.gif |
| package main | |
| import ( | |
| "bytes" | |
| "encoding/json" | |
| "flag" | |
| "fmt" | |
| "io/ioutil" | |
| "os" | |
| "path/filepath" |