码迷,mamicode.com
首页 >  
搜索关键字:user    ( 38326个结果
加盐密码哈希:如何正确使用
Salted Password Hashing - Doing it Right If you‘re a web developer, you‘ve probably had to make a user account system. The most important aspect of a user account system is how user passwords are p...
分类:其他好文   时间:2015-10-22 21:33:04    阅读次数:488
Git使用
Git 全局设置:git config --global user.name "sdafd"git config --global user.email "436565@qq.com"创建 git 仓库:mkdir NEWcd NEWgit inittouch README.mdgit add RE...
分类:其他好文   时间:2015-10-22 19:15:03    阅读次数:176
Spring MVC- 表单提交
Spring MVC自带的表单标签比较简单,很多时候需要借助EL和JSTL来完成。下面是一个比较简单的表单提交页面功能:1、User modelpackage com.my.controller.bean;import java.util.Date;import java.util.List;imp...
分类:编程语言   时间:2015-10-22 15:41:02    阅读次数:253
禁止长按
-moz-user-select: none; /*火狐*/ -webkit-user-select: none; /*webkit浏览器*/ -ms-user-select: none; /*IE10*/ -khtml-user-select: none; /*早期浏览器*/ user-select: none;...
分类:其他好文   时间:2015-10-22 14:34:47    阅读次数:169
Python中让 MySQL查询结果 返回字典类型的方法
Python的MySQLdb模块是Python连接MySQL的一个模块,默认查询结果返回是tuple类型,只能通过0,1..等索引下标访问数据 默认连接数据库: MySQLdb.connect( ????host=host, ????????user=user, ????...
分类:数据库   时间:2015-10-22 12:40:50    阅读次数:294
一个简单的spring 程序(如何在java类中读取Properties配置文件)
首先是个User类:package spring_introduction;public class User {String name;public String getName() {return name;}public void setName(String name) {this.name...
分类:编程语言   时间:2015-10-22 12:23:29    阅读次数:190
Spring 依赖注入
1、设值注入(最常用)在 设值注入中,Bean必须有针对该属性的setter方法,并且Bean定义文件中,有该属性的设置。其实就是常说的getter setter方法。2、构造方法注入(较常用)Bean中必须有构造方法 (1)bean 设为User(Integer age,String name.....
分类:编程语言   时间:2015-10-22 12:21:42    阅读次数:276
MySQL Commands
1. create database yyzc; show database yyzc;z drop database yyzc;2. show engines; show variables like 'have %'; Alter table user engine=my...
分类:数据库   时间:2015-10-22 12:15:19    阅读次数:218
laravel 查看SQL语句
Route::get('/test-sql', function(){ DB::enableQueryLog(); $user = App\User::first(); return DB::getQueryLog();});
分类:数据库   时间:2015-10-22 12:04:42    阅读次数:500
MySQL入门
启动数据库服务 /etc/init.d/mysqld start初始安全设置:只保留一条允许root用户从本地连接的记录 delete from mysql.user where (user,host) not in (select 'root','localhost');将root用户名修改为sy...
分类:数据库   时间:2015-10-22 11:58:28    阅读次数:196
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!