12-09 764 views
阅读全文 0
TortoiseSVN是一款常用的开源客户端,不少从事编程开发工作的网友都在使用。今天,小编就为大家整理一下TortoiseSVN常见的16个使用问题,方便您在日常使用的过程中,遇到下列问题,可以及时的找到解决的方法,下面就一起来今天的TortoiseSVN使用教程吧!
Tortoi...
12-05 1,078 views
阅读全文 0
def hideConcole():
import ctypes
kernel32 = ctypes.WinDLL('kernel32')
user32 = ctypes.WinDLL('user32')
SW_HIDE = 0
hWnd = kernel32.GetConsoleWindow()
if hWnd:
user32.ShowWindow(hWnd, SW_HIDE)
# 4. hide conso...
12-04 1,183 views
def hideConcole():
import ctypes
kernel32 = ctypes.WinDLL('kernel32')
user32 = ctypes.WinDLL('user32')
SW_HIDE = 0
hWnd = k...
peewee pysqlite or sqlite3 must be installed
download and install sqlite3
sqlite3-source
tar xf sqlite-autoconf-3210000.tar.gz
cd sqlite-autoconf-3210000
./configure --enable-static --enable-shared
make && make install
pip install pysqlite
12-04 890 views
peewee pysqlite or sqlite3 must be installed
download and install sqlite3
sqlite3-source
tar xf sqlite-autoconf-3210000.tar.gz
cd sqlite-autoconf-...
http://docs.peewee-orm.com/en/latest/peewee/quickstart.html
https://github.com/coleifer/peewee
https://github.com/coleifer/peewee/blob/master/docs/peewee/querying.rst#query-operators
model
import os
import re
import sys
import peewee
import loggi...
11-24 785 views
http://docs.peewee-orm.com/en/latest/peewee/quickstart.html
https://github.com/coleifer/peewee
https://github.com/coleifer/peewee/blob/master/docs...
http://xiaorui.cc/2015/10/09/%E8%81%8A%E8%81%8Apython%E7%9A%84%E8%BD%BB%E9%87%8F%E7%BA%A7orm-peewee%E5%8F%8A%E5%AF%B9%E6%AF%94sqlalchemy/
11-24 892 views
http://xiaorui.cc/2015/10/09/%E8%81%8A%E8%81%8Apython%E7%9A%84%E8%BD%BB%E9%87%8F%E7%BA%A7orm-peewee%E5%8F%8A%E5%AF%B9%E6%AF%94sqlalchemy/
# _*_ coding:UTF-8
import tornado.ioloop
import tornado.web
from protocol import typhoon_pb2
import utils
import os
import re
routeMapping = {
'^index$': "index.html",
'^index/$': "index.html",
'^login$': ...
11-23 842 views
# _*_ coding:UTF-8
import tornado.ioloop
import tornado.web
from protocol import typhoon_pb2
import utils
import os
import re
routeMapping = {
'...
def is_internal_ip(ip):
ip = ip_into_int(ip)
net_a = ip_into_int('10.255.255.255') >> 24
net_b = ip_into_int('172.31.255.255') >> 20
net_c = ip_into_int('192.168.255.255') >> 16
return ip >> 24 == net_a...
11-20 806 views
def is_internal_ip(ip):
ip = ip_into_int(ip)
net_a = ip_into_int('10.255.255.255') >> 24
net_b = ip_into_int('172.31.255.255') &...
windows
检测tcp端口
telnet 172.16.4.56 8090
检测udp端口
https://docs.microsoft.com/en-us/sysinternals/downloads/psping
Linux
检测tcp端口
nc -z -w 1 172.16.4.56 8090
检测udp端口
nc -u -z -w 1 172.16.4.56 8090
11-16 868 views
windows
检测tcp端口
telnet 172.16.4.56 8090
检测udp端口
https://docs.microsoft.com/en-us/sysinternals/downloads/psping
Linux
检测tcp端口
nc -z -w ...