上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 20 下一页
摘要: ``` import datetime import os import django script_path = os.path.dirname(__file__) os.environ['DJANGO_SETTINGS_MODULE'] = 'project.settings' django.setup() from django.contrib.auth.models import Us... 阅读全文
posted @ 2018-01-12 13:52 idlewith 阅读(392) 评论(0) 推荐(0)
摘要: CREATE TABLE CREATE TABLE ( INTEGER AUTO_INCREMENT NOT NULL PRIMARY KEY, VARCHAR(100) NOT NULL, VARCHAR(20) NOT NULL ); ALTER TABLE CHANGE `sex` VARCH 阅读全文
posted @ 2018-01-11 11:44 idlewith 阅读(122) 评论(0) 推荐(0)
摘要: download mysql http://dev.mysql.com/downloads/mysql/ configure environment D:\mysql\bin download the Microsoft Visual C++ 2013 Redistributable Package 阅读全文
posted @ 2017-11-13 11:39 idlewith 阅读(158) 评论(0) 推荐(0)
摘要: ``` python manage.py migrate vi settings.py STATIC_ROOT = os.path.join(BASE_DIR, 'static/') python manage.py collectstatic ``` ``` ServerRoot "C:/xampp/apache" Listen 10.65.169.155:8080 LoadModule... 阅读全文
posted @ 2017-11-02 19:07 idlewith 阅读(132) 评论(0) 推荐(0)
摘要: There are som errors below 阅读全文
posted @ 2017-11-02 15:47 idlewith 阅读(171) 评论(0) 推荐(0)
摘要: ``` #!/usr/bin/env python # _*_ coding: utf-8 _*_ # @Time : 2017/11/1 15:13 # @Author : otfsenter # @File : t123.py import smtplib from email.mime.multipart import MIMEMultipart from email.... 阅读全文
posted @ 2017-11-01 17:13 idlewith 阅读(112) 评论(0) 推荐(0)
摘要: 1 touch a clc.bat 2 touch a clcpp.bat 3 add clc.bat clcpp.bat to env 4 _vimrc 阅读全文
posted @ 2017-10-25 15:02 idlewith 阅读(196) 评论(0) 推荐(0)
摘要: ``` jupyter notebook --no-browser --port=8898 --ip=127.0.0.1 --allow-root ``` ``` ssh -N -f -L 127.0.0.1:8898:127.0.0.1:8898 root@remote_ip ``` ``` http://127.0.0.1:8898 ``` 阅读全文
posted @ 2017-10-24 18:58 idlewith 阅读(146) 评论(0) 推荐(0)
摘要: ``` !/usr/local/bin/python coding: utf 8 import os import sys import time device = sys.argv[1] index = sys.argv[2] community = '' version = '1' limit 阅读全文
posted @ 2017-10-24 11:55 idlewith 阅读(131) 评论(0) 推荐(0)
摘要: ``` #!/usr/bin/env python # _*_ coding: utf-8 _*_ # @Time : 2017/10/19 14:38 # @Author : otfsenter # @File : operation_registry.py import _winreg def delete_sub_key(key0, key1, key2=""): ... 阅读全文
posted @ 2017-10-20 10:11 idlewith 阅读(170) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 20 下一页