一、基础1、说明:创建数据库 CREATE DATABASE database-name2、说明:删除数据库 drop database dbname3、说明:备份sql server --- 创建 备份数据的 device USE master EXEC sp_addumpdevice 'disk...
分类:
数据库 时间:
2015-07-15 19:14:44
阅读次数:
139
namespace Home\Controller;use Think\Controller;class IndexController extends Controller { public function index(){ $this->display(); } ...
分类:
其他好文 时间:
2015-07-15 19:09:40
阅读次数:
106
1 using UnityEngine; 2 using System.Collections; 3 4 public class BgPicScript : MonoBehaviour { 5 6 // Use this for initialization 7 public...
分类:
编程语言 时间:
2015-07-15 18:19:37
阅读次数:
312
/* * This is an example build file that demonstrates how to use the build system for * require.js. * * THIS BUILD FILE WILL NOT WORK. It is referencin...
分类:
Web程序 时间:
2015-07-15 16:49:11
阅读次数:
171
1. model定义var app = app || {};(function () { 'use strict'; // User Model // ---------- app.User = Backbone.Model.extend({ ...
分类:
其他好文 时间:
2015-07-15 16:28:25
阅读次数:
125
1 int g_tennis; // not use as possible 2 3 int make_world() { 4 int size = 0; 5 6 return size; 7 } 8 9 const int NUMBER = 100;10 11 enu...
分类:
编程语言 时间:
2015-07-15 15:01:15
阅读次数:
146
1.1 Implement an algorithm to determine if a string has all unique characters. What if you cannot use additional data structure?这道题让我们判断一个字符串中是否有重复的字符...
分类:
其他好文 时间:
2015-07-15 14:56:26
阅读次数:
100
引言:lambda表达式在STL应用中可以让我们起到十分便捷的功能,我们看下微软的解释。When you write code, you probably use function pointers and function objects to solve problems and perform...
分类:
编程语言 时间:
2015-07-15 14:53:46
阅读次数:
194
最近在搞whenever时看到可以用cron语法设置定时任务。所以研究了下cron 语法。every'0 0 27-31 * *'do command"echo 'you can use raw cron syntax too'"endcron命令,用于设置周期性被执行的指令。格式#文件格式说明#—...
分类:
其他好文 时间:
2015-07-15 09:19:36
阅读次数:
109
redis启动后的窗口该如何退出?背景:默认安装,启动redis后,会进入一个redis窗口,如何退出呢?如下图解决方法1:直接按CTRL+C解决方法2:把配置文件改成后台启动vim/etc/redis.conf把daemonizeno改成daemonizeyes#BydefaultRedisdoesnotrunasadaemon.Use‘yes‘ifyouneedit..
分类:
其他好文 时间:
2015-07-15 07:02:56
阅读次数:
214