会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
idlewith
个人博客:https://idlewith.com/,欢迎访问
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
21
下一页
2018年1月23日
database design
摘要: 用户模块 用于记录注册用户信息 : 用户名、密码、电话、邮箱、身份证号、地址、姓名、昵称 : username, id number, phone number : 永久存储 商品模块 用于记录网站中所销售的商品信息 : 商品编码、商品名称、商品描述、商品品类、供应商名称、重量、有效期、价格 : (
阅读全文
posted @ 2018-01-23 14:03 idlewith
阅读(152)
评论(0)
推荐(0)
2018年1月12日
django bulk create user
摘要: ``` 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
阅读(391)
评论(0)
推荐(0)
2018年1月11日
mysql basic
摘要: 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)
2017年11月13日
install mysql
摘要: 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
阅读(156)
评论(0)
推荐(0)
2017年11月2日
django apache httpd windows
摘要: ``` 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
阅读(131)
评论(0)
推荐(0)
django apache httpd centos
摘要: There are som errors below
阅读全文
posted @ 2017-11-02 15:47 idlewith
阅读(169)
评论(0)
推荐(0)
2017年11月1日
python mail smtplib
摘要: ``` #!/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
阅读(111)
评论(0)
推荐(0)
2017年10月25日
compile c cpp with cl.exe in vim
摘要: 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
阅读(194)
评论(0)
推荐(0)
2017年10月24日
Remote Access to IPython Notebooks via SSH
摘要: ``` 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
阅读(145)
评论(0)
推荐(0)
calculate traffic by snmpwalk for mrtg
摘要: ``` !/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
阅读(128)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
21
下一页
公告