自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(128)
  • 资源 (1)
  • 收藏
  • 关注

原创 wordpress 网站范例

无忧IT http://51it.ca

2021-02-08 14:35:36 399

原创 seaborn 画图功能简单总结

seaborn 画图功能

2018-01-04 18:43:03 12238

原创 python 画散点图

用matplotlib画分类散点图import pandas as pdimport seaborn as sb import matplotlib .pyplot as plt%matplotlib inline iris=pd.read_csv("g:/tools/python/iris.data.csv")iris.sample(10)g=sb.FacetGrid(iris, hue="Sp

2018-01-02 15:34:02 1231

原创 ImportError: No module named 'bs4'

ImportError Traceback (most recent call last) in ()----> 1 from bs4 import BeautifulSoupImportError: No module named 'bs4'解决思路 :1. pip list 查看结果BS4, beautifulSoup

2017-12-15 17:34:08 3786 5

原创 JSONDecodeError: Expecting value: line 1 column 1 (char 0)

JSONDecodeError Traceback (most recent call last) in () 11 url_visit='http://kuaidi100.com/query?type=shentong&postid={}'.format(postid) 12 crawl_content=urlreques

2017-12-15 14:19:56 15919 2

原创 获取豆瓣电影评分并保存到本地 遇到3个错误

1.IndentationError:expected an indented blocksolution :python 非常注意缩进 2.python-TypeError: write() argument must be str, not floatstr(float)3.TypeError: write() takes exactly one

2017-12-13 11:23:03 843

转载 python 操作json

import jsonjson_content = '{"name":"test", "type":{"name":"seq", "parameter":["1", "2"]}}'print u"JSON到字典转化(方法一):"l = eval(json_content)print lprint l.keys()print l["name"]print l["type"]["na

2017-12-12 12:02:15 343

转载 豆瓣 URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:719)>

import urllib.request as urlrequest #import ssl#ssl._create_default_https_context = ssl._create_unverified_contexturl_visit='https://api.douban.com/v2/movie/subject/1764796'crawl_content=urlre

2017-12-11 22:57:58 8265 1

转载 pycham import random

https://zhidao.baidu.com/question/813163385554993052.htmlpython3在pycharm中为什么导入random模块不能用? TypeError: 'module' object is not callable新手学python求大神指导,也用sys导入了random.py的路径,仍然不行。刚刚排错貌似找到了问题的

2017-11-30 18:47:30 3832 1

原创 python 格式对齐很重要!!!

while b 10: print("fibonacci is ", b) a, b = b, a + b和while b 10: print("fibonacci is ", b) a, b = b, a + b第一段代码可以正确打印出斐波那契数列, 而第二段代码因为没有对齐, b=1会 不停地被打印变量严格区分大小写

2017-11-30 17:58:28 9002 1

原创 python 写斐波那契数列, 复合赋值很特别

a = 0b = 1c = 1while c 10: print("fibonacci is", c) c = a + b a = b b = c print("a is", a) print("b is", b)'''a = 0 b = 1 while b < 10: print("fibonacci

2017-11-30 17:44:18 614

原创 sql 查询一列和另一列的关系是不是一对一

业务逻辑讲, 报价编号和产品编号scheduleindex 一对一, 系统出现问题出现不是1:1情况, 查出来:select distinct  pm.BookingNote,  count( distinct pm.ScheduleIndex)from pricemain  pm, priceport  pp where pm.priceid = pp.priceidand

2017-11-30 15:20:16 1296

原创 python first lesson

Python 3.6.3 (v3.6.3:2c5fed8, Oct  3 2017, 18:11:49) [MSC v.1900 64 bit (AMD64)] on win32Type "copyright", "credits" or "license()" for more information.>>> print ("hello world")hello world>>>

2017-11-28 22:36:54 747

原创 留言板微信小程序开发MVC思路分析

1. item class over/* overflow: hidden;清浮动! */2 查询功能:2.1js 里面data 里面添加:msgData:[{ msg:"xxxxxx"},//双引号{ msg:"xxxxxx"},{ msg:"xxxxxx"},{ msg:"xxxxxx"}

2017-11-27 15:22:09 5845

原创 微信小程序模拟器里面不能显示自己写的INDEX

solution :写好INDEX json, wxss,js 三个文件,即使里面没有内容也要写,比如json nevigationbartitle

2017-11-24 15:10:27 5534

原创 PL/SQL 测试 调用PROCEDURE 和FUNCTION

begin  -- Call the procedure aw_wmsinmain(1,10765);end;DECLARE  V_number NUMBER;  v_char varchar(200);  v_date date ;begin  -- Call the function    

2017-10-31 18:17:42 1392

原创 PL/SQL cursor 游标 where条件接收形参为VARCHAR 不能正常执行的问题 SELECT ContactNameC FROM MTContact WHERE objectno

游标的定义:  cursor c_get is    SELECT ContactNameC FROM MTContact WHERE contactno = v_objectno;单独执行有结果, 但是 游标就是ROWCOUNT%=0!!!    SELECT ContactNameC , m.* FROM MTContact  m WHERE objectno = 'H

2017-10-30 18:41:37 1089

原创 用merge into 的时候提示 ORA-01733: virtual column not allowed here

Error: PL/SQL: ORA-01733: virtual column not allowed hereLine: 81Text: MERGE INTO SvcOrderProfitError: PL/SQL: SQL Statement ignoredLine: 81Text: MERGE INTO SvcOrderProfit用merge in

2017-10-20 17:07:41 4591

原创 at most one declaration for 'V_ZCSYCW1' is permitted Error: PLS-00371

Compilation errors for PROCEDURE AWCARGOWEBJMNEW.FML_SCHEDULEError: PLS-00371: at most one declaration for 'V_ZCSYCW1' is permittedLine: 441Text: (v_zcsycw1 / v_zczcw1) * 100 >= v_Firstspace

2017-10-20 14:39:52 2557

原创 Compilation errors for FUNCTION AWCARGOWEBJMNEW.FUN_GETVSLVOY161110 Error: PLS-00103: Encountered t

运行存储过程报错如下:Compilation errors for FUNCTION AWCARGOWEBJMNEW.FUN_GETVSLVOY161110Error: PLS-00103: Encountered the symbol "SELECT" when expecting one of the following:                 ( -

2017-10-20 14:31:39 2169

原创 在IDEA中使用 Spring Initializr 新建 spring boots 项目

Spring Initializr 创建spring boots项目极其简单 1.2.3.这里关键很多dependencies :加好了是不是POM 里面初始化就有呢?

2017-10-13 17:17:54 640

原创 使用IDEA ULTIMATE 2017.5创建Maven 项目

1.项目新建选择maven ,2. groupid  , artifactid 必输3.输入name, loaction ,即可完成

2017-10-13 16:53:20 508

原创 电影网站增删改查-7 spring boots/MVC/neo4j/thymeleaf 电影修改

edit(\''+ v.id+'\')">修改通过jquery HTTP get 方法:function edit(id){ $.get("./edit/"+id,{ts:new Date().getTime()},function(data){ art.dialog({ lock:true,

2017-10-11 15:01:01 808 1

原创 电影网站增删改查-6 spring boots/MVC/neo4j/thymeleaf 源码分析 电影删除

双节归来,接着上一篇fillData(data)填充del(\''+ v.id+'\')">删除调用JS :function del(id){ if(!confirm("您确定删除此记录吗?")){ return false; } //$.get(URL,data,function(data,status,

2017-10-09 15:12:17 852

原创 电影网站增删改查-5 spring boots/MVC/neo4j/thymeleaf 源码分析 查询电影分页

首先   熟悉webUI 下面的目录, 包括 controller 和 view , VIEW 里面的 static 静态目录包含 CSS 和JS 和图片,templates 下面是根据模块功能划分VIEW展示电影信息内容 id="tbodyContent">看不到什么, 使用js 里面填充数据://初始化分页pageaction();var pg =

2017-09-29 17:42:25 868 1

原创 电影网站增删改查-4 spring boots/MVC/neo4j/thymeleaf 源码分析 实现View 新增过程

以movie新增为例, 使用thymeleaf 框架 ,预先定义好layout.html:html> http-equiv="Content-Type" content="text/html; charset=utf-8"/> http-equiv="pragma" content="no-cache" /> http-equiv="Cache-Control"

2017-09-28 14:10:11 885

原创 电影网站增删改查-3 spring boots/MVC/neo4j/thymeleaf 源码分析 thymeleaf 配置

前提1. 添加依赖  org.springframework.boot spring-boot-starter-thymeleaf2.spring-boot很多配置都有默认配置,比如默认页面映射路径为 classpath:/templates/*.html 同样静态文件路径为 classpath:/static/但是我在

2017-09-26 16:18:17 734

原创 电影网站增删改查 spring boots/MVC/neo4j 源码分析-2 DATA 实体建模(noe4j)

模型设计部分:分为节点实体和关系实体两个节点实体 actor , movie , 一个关系实体   actor in movies (roles)前提, NEO4J 必须配置 1.neo4j依赖spring-data-neo4jjackson-jsog2.config resources/ogm.propertiesactor.javap

2017-09-25 15:23:25 1861

原创 电影网站增删改查 spring boots/MVC/neo4j 源码分析-1 前提

前提: idea , maven 项目添加 分模块 各引用大的方面分两个模块, data  M /webui  VC:pom.xml for data module xml version="1.0" encoding="UTF-8"?>xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="ht

2017-09-25 15:20:20 925

原创 spring boots 配置neo4j 主要步骤

1.neo4j依赖spring-data-neo4jjackson-jsog2.节点和关系实体建模@JsonIdentityInfo  防止数据查询时候引发递归@NodeEntity 节点实体@GroupId 节点唯一标识 当前类中有效List 关系列表 增加关系上@startNode 起始节点的实体   @EndNode 终止节点的实体  

2017-09-21 18:14:24 1289

原创 spring boots JPA 使用MYSQL

steps:1.实体建模 entity2.持久化 Repositoryconfiguration:1.maven 依赖 data-jpa and mysql-connector-java2.JPA配置类继承于接口 JpaConfiguration3.config application.yml

2017-09-21 14:18:21 275

原创 spring boots 持久化 报错

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in dbdemo.mysql.test.JpaConfiguration: Invocation of init method failed

2017-09-21 14:11:27 934

原创 create users and grant privilages

--drop table users--            drop tablespace javatestcreate tablespace javatest datafile 'd:\oracle\javatest.dbf' size 2000M;--grant connect ,resource to jiumao;alter user j

2017-09-20 16:42:36 371

原创 mysql绿色版(*.ZIP)在windows系统中的启动

mysql绿色版在windows系统中的启动1、下载mysql免安装版 例如:mysql-5.7.11-winx642、修改配置文件,my-default.ini名称改为:my.ini,文件里面的参数配置:[mysqld]#skip-grant-tables# These are commonly set, remove the # an

2017-09-18 16:08:59 1586

原创 Mysql :Can't open the mysql.plugin table. Please run mysql_upgrade to create it.

Mysql :Can't open the mysql.plugin table. Please run mysql_upgrade to create it.MySQL 服务正在启动 .MySQL 服务无法启动。系统出错。发生系统错误 1067。solution:初次登录报报错,在my.ini文件中添加skip-grant-ta

2017-09-18 14:52:30 3375 1

原创 Maven 连接ORACLE 数据库最后还是没搞定,过程记录一下

1.ojdbc6.jar首先放到这个目录 :2. CD C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.3\plugins\maven\lib\maven2\bin>3.mvn install:install-file -DgroupId=aaronoracle -DartifactId=ojdbc6 -Dversion=

2017-09-16 13:58:15 1017

原创 Spring Boots &mybatis连接数据库配置步骤

1. 5个包 放到 POM 2. 生产项目MAVEN 依赖3. config  aplication.java//增加持久层@MapperScan("com.jm.dao")4. config application.ymldatasource:        url: jdbc:oracle:thin:@20.1.10.18:1

2017-09-16 13:41:43 1091

原创 Field userMapper in com.jm.controller.LoginController required a bean of type 'dao.UserMapper' that

Field userMapper in com.jm.controller.LoginController required a bean of type 'dao.UserMapper' that could not be found.//增加持久层    application 里面注册路径错误@MapperScan("dao")

2017-09-15 18:26:05 15946

原创 expected <block end>, but found BlockMappingStart

expected , but found BlockMappingStart原因, application .yml 有空格

2017-09-15 18:16:31 11711 4

原创 mybatis 依赖包

mysql                mysql-connector-java                                        org.mybatis.spring.boot                mybatis-spring-boot-starter                1.1.1              

2017-09-15 16:11:18 4200

AR 培训资料

ORACLE AR 培训资料

2008-06-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除