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 | |
cat <<EOF >/etc/systemd/system/docker-tcp.socket | |
[Unit] | |
Description=Docker Socket for the API | |
[Socket] | |
ListenStream=2375 | |
BindIPv6Only=both | |
Service=docker.service |
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
print(1) |
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
import os | |
import logging | |
import gevent | |
from gevent import socket | |
from gflows import ( | |
SocketSource, | |
SocketWrapper, | |
Partitioner, | |
Transparent, |
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 setuptools import setup | |
install_requires = [ | |
'wheel', | |
'PyQt5==5.7.1', | |
'appdirs==1.4.0', | |
'lxml==3.6.4', | |
'pip-wrapper>=0.2.3,<0.3', | |
# 'bad-python-version ; python_full_version!="3.5.3"', |
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
import os | |
import logging | |
import gevent | |
from gevent import socket | |
from gflows import ( | |
SocketSource, | |
SocketWrapper, | |
Partitioner, | |
Transparent, |
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
https://github.com/pyinstaller/pyinstaller/tarball/abfc806618b16ea2037d1d5a6b7272976b34562e |
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
import sys | |
from PyQt5.QtWidgets import ( | |
QApplication, | |
QMainWindow, | |
QPlainTextEdit, | |
QVBoxLayout, | |
QWidget | |
) | |
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
import atexit | |
import os | |
import sys | |
from PyQt5.QtCore import QTimer, pyqtSignal, QProcess, QUrl | |
from PyQt5.QtGui import QTextCursor, QDesktopServices | |
from PyQt5.QtWidgets import ( | |
QApplication, | |
QHBoxLayout, | |
QMainWindow, |
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 __future__ import print_function | |
from contextlib import closing, contextmanager | |
import os | |
import re | |
import sys | |
import tarfile | |
import tempfile | |
import shutil | |
import ssl | |
try: |
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
CREATE TABLE t(x INTEGER PRIMARY KEY ASC, y, z); | |
insert into t values (1, 2, 3); | |
insert into t values (2, 2, 3); | |
insert into t values (3, 2, 3); | |
insert into t values (4, 2, 3); | |
insert into t values (5, 2, 3); | |
insert into t values (6, 2, 3); | |
insert into t values (7, 2, 3); | |
insert into t values (8, 2, 3); | |
insert into t values (9, 2, 3); |
OlderNewer