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
[ 36.146399] check supernode response = 1 | |
[ 36.147705] [Errno 32] Broken pipe | |
[ 36.155760] Exception ignored in: | |
[ 36.160250] <utils.MyLogger object at 0x776a3208> | |
[ 36.165263] Exception ignored in sys.unraisablehook |
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
#!/usr/bin/env python | |
"""Simple server using epoll.""" | |
from __future__ import print_function | |
from contextlib import contextmanager | |
import socket | |
import select | |
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
/** | |
* Implements whitelisting on host name | |
*/ | |
public class SaferWebViewClient extends WebViewClient { | |
private String[] hostsWhitelist; | |
public SaferWebViewClient(String hostsWhitelsit){ | |
super(); | |
this.hostsWhitelist = hostsWhitelist; |