码迷,mamicode.com
首页 >  
搜索关键字:use    ( 28727个结果
CodeIgniter 错误: In order to use the Session class you are required to set an encryption key
第一次使用session,需要: $this->load->library('session'); 的同时,还需要修改配置文件:config.php 找到 $config['encryption_key'] = ‘’ 将$config['encryption_key'] 的内容随便设置,就可以用了。 附录: 1.添加session内容: $this->session->set_us...
分类:其他好文   时间:2014-06-05 01:18:12    阅读次数:201
UVa-101 - The Blocks Problem
The Blocks Problem  Background  Many areas of Computer Science use simple, abstract domains for both analytical and empirical studies. For example, an early AI study of planning and robo...
分类:其他好文   时间:2014-06-04 21:55:37    阅读次数:313
mysql常见问题
1. mysql忘记密码 vim /etc/my.conf 文件在mysqld下添加skip-grant-tables,表示mysql在登录的时候不检查权限。登录mysql。直接运行mysql> use mysql; > update user set Password=password('root') where User='root' > flush privileges; > qu...
分类:数据库   时间:2014-06-03 02:24:16    阅读次数:283
HLG 2116 Maximum continuous product (最大连续积 DP)
链接:  http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=2116 Description Wind and his GF(game friend) are playing a small game. They use the computer to randomly generated a nu...
分类:其他好文   时间:2014-06-03 02:17:13    阅读次数:252
LeetCode: Word Search [079]
【题目】 Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or vertically neighboring. The same letter cell may not be use...
分类:其他好文   时间:2014-06-03 01:07:58    阅读次数:329
「2014-5-31」Z-Stack - Modification of Zigbee Device Object for better network access management
写一份赏心悦目的工程文档,是很困难的事情。若想写得完善,不仅得用对工具(use the right tools),注重文笔,还得投入大把时间,真心是一件难度颇高的事情。但,若是真写好了,也是善莫大焉:既可让人明白「为何如此设计」,即「知其然更知其所以然」;也能剥离一些琐碎的细节,让更多没那么多时间与...
分类:数据库   时间:2014-06-02 21:24:16    阅读次数:486
cygwin下清屏的三种方法
1. 做一个clear脚本,放到/bin下去 $vim /bin/clear #!/bin/bash cmd /c cls 2. ctrl + L 3. 在cygwind中install ncurses (in Utils) and then you can use: clear 我倾向于第三种方法...
分类:Windows程序   时间:2014-06-02 17:30:04    阅读次数:424
PIC18F4520 UART模板
如题 #define USE_AND_MASKS #include #include #include #include #pragma config OSC = INTIO67 //internal oscillator #pragma config WDT = OFF //watchdog timer off #pragma config LVP = OFF...
分类:其他好文   时间:2014-06-01 11:16:04    阅读次数:246
每日算法之二十二:Swap Nodes in Pairs
Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1->4->3. Your algorithm should use only constant space....
分类:其他好文   时间:2014-06-01 10:41:23    阅读次数:242
mysql命令
启动:net start mySql; 进入:mysql -u root -p 或者 mysql -h localhost -u root -p databaseName; 列出数据库:show databases; 选择数据库:use databaseName; 列出表格:show tables; 显示表格列的属性:show columns from tableName;...
分类:数据库   时间:2014-06-01 09:44:18    阅读次数:301
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!