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
| MAKE_OPTS="-j8" \ | |
| CONFIGURE_OPTS="--enable-shared --enable-optimizations --with-computed-gotos" \ | |
| CFLAGS="-march=native -O2 -pipe" \ | |
| pyenv install -v 3.6.3 |
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
| from flask import make_response | |
| from functools import wraps, update_wrapper | |
| from datetime import datetime | |
| def nocache(view): | |
| @wraps(view) | |
| def no_cache(*args, **kwargs): | |
| response = make_response(view(*args, **kwargs)) | |
| response.headers['Last-Modified'] = datetime.now() | |
| response.headers['Cache-Control'] = 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0, max-age=0' |
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 <re2/re2.h> | |
| #include <vector> | |
| using namespace std; | |
| void test_fullmatch(){ | |
| string s,t; | |
| string str("あぶらかたぶら"); |
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
| require 'java' | |
| require 'jruby/core_ext' | |
| module WS | |
| class WebService | |
| def test() | |
| puts "Call received at #{Time.new}" | |
| # x = Result.new | |
| # x.name = "asdf" | |
| # return x |