This file contains 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
#!/bin/bash | |
# | |
# Title: CentOS7.6_x64_upgrade_kernel_script | |
# Author: ZNing | |
# Date: 2019-7-3 23:13:09 | |
# Pass on the Aliyun CentOS7.6 x64 | |
# You should run this script three times. The first is yum update, the second is kernel upgrade to 5, the final one is optional when you decided to maunal which is deleting old kernel. | |
# Having fun to using it. (*^▽^*) Best wishes from Misaka Mikoto and Misaka 10086. | |
clear; |
This file contains 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 Flask, request, Response | |
import requests, logging | |
_FIELD_SEPARATOR = ':' | |
class SSEClient(object): | |
"""Implementation of a SSE client. | |
See http://www.w3.org/TR/2009/WD-eventsource-20091029/ for the | |
specification. | |
""" |
This file contains 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 Flask, request, Response | |
import requests, logging | |
_FIELD_SEPARATOR = ':' | |
class SSEClient(object): | |
"""Implementation of a SSE client. | |
See http://www.w3.org/TR/2009/WD-eventsource-20091029/ for the | |
specification. | |
""" |