日报
学习急先锋
先锋所指,所向披靡!
把每天的不懂的知识写成博客,把个人的博客当做查资料的地方,以后方便复习,加深理解
展开
-
js生成弹窗样式
<li id="XGJG" onClick="openLayer();"> <a href="javascript:void(0);" >修改价格</a> </li> <!--批量查询弹窗--> <div id="massage_box"> <div class="modal-dialog原创 2016-11-02 22:44:46 · 2386 阅读 · 0 评论 -
11.2编程总结
1.如何让多个div排列在一行当中input<input type="text" value="" style="width:25%;"> <input type="text" class="form-control" placeholder="sku" style="width:25%;float: left" maxlength="50"> <style> .box1 {width:100px;原创 2016-11-03 21:14:51 · 259 阅读 · 0 评论 -
10.23知识点补漏
1.python使用本地数据库时候的配置如下所示DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. # 'NAME': 'new_pro_db2',原创 2016-10-24 13:06:59 · 297 阅读 · 0 评论 -
API文档
#!/usr/bin/env python # encoding:utf-8import requests import json from conf import STORE_DICT_LIST import time store_list = STORE_DICT_LIST store_name = 'sandbox_001' myaccess_token = store_list[store原创 2016-10-25 20:15:28 · 1798 阅读 · 1 评论 -
11.7当前时间 休息 开机启动
几点建议和总结1.12.30以前睡觉可以让第二天保持良好的睡眠效果2.如何解决软件开机自己启动的问题 1.按下 Win+a 组合键,在搜索框里输入“启动”二字,下方出现“启动应用程序”的图标,按下回车启动它。2.rcconf: sudo apt-get install rcconf root 下运行: rcconf 功能更全的:sysv-rc-conf sudo apt-get install sy原创 2016-11-07 20:47:36 · 325 阅读 · 0 评论 -
10.31编程总结
1.django手动创建数据库DROP TABLE IF EXISTS `wish_account`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `wish_account` ( `idwish_a原创 2016-10-31 21:45:45 · 332 阅读 · 0 评论 -
11.1编程总结
1.数据库的知识限制查询条数 select * from table wish_store_listings limit 2 查看表结构 show create table wish_store_listings 时间抓取后的处理方式 from common.util import utc2localdef utc2local(utc_st): """UTC时间转本地时间(+8:00)""原创 2016-11-01 22:10:05 · 243 阅读 · 0 评论