码迷,mamicode.com
首页 >  
搜索关键字:use    ( 28727个结果
How use Instruments and display the console in Command Lines applications
I'm using Xcode on OSX to develop command line C applications. I would also like to use Instruments to profile and find memory leaks.However, I couldn...
分类:移动开发   时间:2015-07-12 14:15:24    阅读次数:160
使用laravel 的artisan快速创建表
创建migrate 文件 php artisan make:migration create_comments_table 编辑表字段 <?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCommentTable...
分类:其他好文   时间:2015-07-12 12:57:30    阅读次数:148
nano使用说明
Main nano help text The nano editor is designed to emulate 仿真、模拟 the functionality and ease-of-use of the UW Pico text editor. There are four main sec...
分类:其他好文   时间:2015-07-12 12:30:21    阅读次数:219
安装rails遇到的问题
1 要安装js运行环境,例如Nodejs,如果使用nvm记得,安装完执行nvm use '版本号'2或者在Gemfile文件中加入:gem 'execjs'gem 'therubyracer'然后bundle install,再去执行rails s就成功了。3修改Gemfile文件的source '...
分类:其他好文   时间:2015-07-12 07:08:43    阅读次数:145
[LeetCode] Populating Next Right Pointers in Each Node II
The problem becomes more difficult once the binary tree is not perfect. The idea is still similar to use a level-order traversal. Note that we do not ...
分类:其他好文   时间:2015-07-11 20:02:27    阅读次数:132
python画图
目标:利用python在已有图的基础上画图import matplotlibmatplotlib.use('Agg')import matplotlib.pyplot as pltfrom matplotlib.pyplot import savefig%matplotlib inline####....
分类:编程语言   时间:2015-07-11 19:58:40    阅读次数:442
递归查询
推广渠道表有ParentID字段,代表上下层级关系。现要统计每个推广员,推广了多少人? 1 --创建表结构,插入测试数据 2 USE DBA_Monitor 3 GO 4 CREATE TABLE [dbo].[TGYinfo]( 5 [TGYID] [int] IDENTITY(1,1) ...
分类:其他好文   时间:2015-07-11 18:14:42    阅读次数:134
MySQL5.6的备份与恢复命令
备份 mysqldump -P 3010 -h 130.51.2.24 -uroot -proot zplatdb > backup.sql 恢复恢复到我本机,由于我本机没有设置密码,密码是空的,-p那里不知道怎么填 mysql –u root –p*** pointcard use...
分类:数据库   时间:2015-07-11 10:39:11    阅读次数:184
超有用的sql查询语句。项目、面试都有用
create database cstp; use cstp; /*1:建立学生表*/ create table student (    学号 char(3) primary key,    姓名 char(4),    性别 char(2),    年龄 int,    班级 char(5) ); insert into student values('108','曾华',...
分类:数据库   时间:2015-07-11 09:05:07    阅读次数:136
错误号:1364 错误信息:Field 'platId' doesn't have a default value
1. 错误描述错误号:1364 错误信息:Field 'platId' doesn't have a default value insert into `use`.`t_platform_scale` () values ()2.错误原因由于在建表时,给platId一个not null限制,而且没有给默认值,在插入数据时未插入,导致报错3.解决办法(1)修改platId可以为null (2)插入...
分类:其他好文   时间:2015-07-10 23:45:51    阅读次数:234
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!