sql example 1 – createsql example 1 – createdatabase 操作create dateabase test;use test;show databases;show create database test;drop database test;crea...
分类:
数据库 时间:
2015-06-14 12:11:26
阅读次数:
153
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. Y...
分类:
其他好文 时间:
2015-06-14 09:32:09
阅读次数:
144
为何使用Fragment?
实现UI的灵活组建与拆分,与Activity配合可保持Activity的视图不变,转而操作Fragment,就像Activity的模块与组建一样。同时解决了
在平板上UI的适应性。
《Android编程权威指南》一书作者提出了AUF(即Always Use Fragment)原则----暂且相信他
Fragment 的生命周期依赖于Activity的生命周期,并...
分类:
移动开发 时间:
2015-06-13 21:42:56
阅读次数:
194
1)动态修改mysql已经存在的字段长度 alter table 表名 modify column 字段名 varchar(数量);2)动态增加表的字段 alter table comment add column gid varchar(20);3)更改密码: use mysql UPDA...
分类:
数据库 时间:
2015-06-13 20:06:47
阅读次数:
200
玩flask端口被占用,好伤心。第一步:sudolsof-i:5000第二步:sudokill840~sudolsof-i:5000
COMMANDPIDUSERFDTYPEDEVICESIZE/OFFNODENAME
Python840ning-pc3uIPv40xb28bc6f4bb4a1b2d0t0TCPlocalhost:commplex-main(LISTEN)
~sudokill840
分类:
系统相关 时间:
2015-06-13 18:43:21
阅读次数:
477
1.MySQL基本命令操作 Mysql的所有命令末尾都需要以分号结束,一条命令可以分成多行书写。 连接数据库:mysql –u root –p; 查看所有数据库:show databases; 创建数据库:create database databaeName; 选择数据库:use dat...
分类:
数据库 时间:
2015-06-13 16:58:38
阅读次数:
371
This problem is a nice extension of the Valid Parentheses problem.There are several ways to solve it. The first idea is also to use a stack. However, ...
分类:
其他好文 时间:
2015-06-13 16:56:41
阅读次数:
130
GPIO Interfaces
This provides an overview of GPIO access conventions on Linux.
These calls use the gpio_* naming prefix. No other calls should use that prefix, or the related __gpio_* prefix.
What is...
分类:
其他好文 时间:
2015-06-12 17:27:25
阅读次数:
118
——————-选中表名 配置为Ctrl+3 即可select * 表
USE [NB]
GO
/* 对象: StoredProcedure [dbo].[SP_Select] 脚本日期: 05/28/2015 21:46:25 */
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
Create Proc [dbo].[SP_...
分类:
数据库 时间:
2015-06-12 11:50:08
阅读次数:
139
Auto property synthesis will not synthesize property 'title'; it will be implemented by its superclass, use @dynamic to acknowledge intention
这是说编译器自动给属性title合成getter和setter的时候将会在它的父类上实现,也就是说坑爹的x...
分类:
数据库 时间:
2015-06-12 10:07:34
阅读次数:
120