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
import time | |
import random | |
from flask import Flask, Response, stream_with_context | |
app = Flask(__name__) | |
head = """ | |
<script src="https://cdn.jsdelivr.net/npm/vue"></script> | |
""" |
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
import time | |
import random | |
from flask import Flask, Response, stream_with_context | |
app = Flask(__name__) | |
head = """ | |
<script crossorigin src="https://unpkg.com/react@16/umd/react.production.min.js"></script> | |
<script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.production.min.js"></script> | |
""" |
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
import time | |
import random | |
from flask import Flask, Response, stream_with_context | |
app = Flask(__name__) | |
script = """ | |
<script> | |
function insert(data) { | |
var item = document.createElement('div'); |
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
apt-cyg install make automake gcc-core gcc-g++ python python3 ruby-devel lua-devel tcl-devel libncurses-devel libiconv-devel cscope | |
./configure --with-features=huge \ | |
--enable-multibyte \ | |
--enable-rubyinterp \ | |
--enable-pythoninterp \ | |
--with-python-config-dir=/usr/lib/python2.7/config \ | |
--enable-python3interp \ | |
--with-python3-config-dir=/usr/lib/python3.4/config-3.4m \ | |
--enable-perlinterp \ | |
--enable-luainterp \ |
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
autossh -M 20000 -fCND 1080 <server> |
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
find -name *.c -or -name *.h | xargs perl -pei 's/[^\r]\n/\r\n/' |
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
openssl req -new -newkey rsa:4096 -nodes -out www_example_com.csr -keyout www_example_com.key -subj "/C=JP/ST=/L=/O=/CN=www.example.com" |