码迷,mamicode.com
首页 >  
搜索关键字:use    ( 28727个结果
MyBatis基本例子-实现增删改查
1,项目结构 2,表单结构 3.代码 package com.entity; public class Book { private int bookid; private String bookname; private String bookauthor; private int bookpri ...
分类:其他好文   时间:2017-10-06 18:08:00    阅读次数:272
web crawling(plus5) crawling wechat
#Author:Mini#!/usr/bin/env pythonimport reimport urllib.requestimport timeimport urllib.errordef use_proxy(proxy_addr,url): try: req=urllib.request.Re ...
分类:Web程序   时间:2017-10-06 18:07:52    阅读次数:221
MyBatis配置及入门
1. 在本教程中,建立 java 工程,但一般都是开发 web 项目,这个系列教程最后是 web,但这里为了方便学习,本教程前面建立的都是 java 工程。2. 将 mybatis-3.2.3.jar,mysql-connector-java-5.1.25-bin.jar 创建两个用户自定库(Use ...
分类:其他好文   时间:2017-10-06 18:06:45    阅读次数:287
luogu_1120 小木棍
#include #include #include using namespace std; const int N=70; int n,a[N],cnt,maxn,maxnn; bool cmp(int x,int y){return x>y;} bool use[N]; inline void... ...
分类:其他好文   时间:2017-10-06 17:32:43    阅读次数:93
mysql 5.7 学习
MySQL5.7 添加用户、删除用户与授权 mysql -uroot -proot MySQL5.7 mysql.user表没有password字段改 authentication_string; 一. 创建用户: 命令:CREATE USER 'username'@'host' IDENTIFIE ...
分类:数据库   时间:2017-10-06 17:32:34    阅读次数:280
Python爬虫scrapy-redis分布式实例(一)
目标任务:将之前新浪网的Scrapy爬虫项目,修改为基于RedisSpider类的scrapy-redis分布式爬虫项目,将数据存入redis数据库。 一、item文件,和之前项目一样不需要改变 二、spiders爬虫文件,使用RedisSpider类替换之前的Spider类,其余地方做些许改动即可 ...
分类:编程语言   时间:2017-10-06 16:25:29    阅读次数:218
获取Django-request请求信息
from django.shortcuts import render, HttpResponsedef index(req): # req封装了所以yoghurt请求信息,这些信息是由请求的req这个对象的类提供的,我们查看req是哪个类生成的 print(type(req)) # <class ...
分类:其他好文   时间:2017-10-06 16:22:19    阅读次数:111
Linux下安装mysql
1.1. Linux下安装mysql 第一步:查看mysql是否安装。 rpm -qa|grep mysql 第二步:如果mysql的版本不是想要的版本。需要把mysql卸载。 yum remove mysql mysql-server mysql-libs mysql-common rm -rf ...
分类:数据库   时间:2017-10-06 15:54:50    阅读次数:202
返回插入行的AUTOID
sqlCommand1.CommandText = "INSERT INTO userinfo (pwd, name) VALUES (@pwd, @name) SELECT @@IDENTITY AS Id"; sqlCommand1.Connection = sqlConnection1; sq... ...
分类:其他好文   时间:2017-10-06 15:27:15    阅读次数:114
162. Find Peak Element
A peak element is an element that is greater than its neighbors. Given an input array where num[i] ≠ num[i+1], find a peak element and return its inde ...
分类:其他好文   时间:2017-10-06 15:04:52    阅读次数:165
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!