from books.models import Publisher插入:p1 = Publisher(name = 'Apress', address = '2855 Telegraph Avenue', city = 'Berkeley', state_province = 'CA', coun...
分类:
其他好文 时间:
2015-12-19 16:26:13
阅读次数:
228
LILO是一个在Linux环境编写的Boot Loader程序(所以安装和配置它都要在Linux下)。它的主要功能就是引导Linux操作系统的启动。但是它不仅可以引导Linux,它还可以引导其他操作系统,如DOS,WINDOWS等等。它不但可以作为Linux分区的引导扇区内的启动程序,还可以放入MR...
分类:
系统相关 时间:
2015-12-19 16:24:34
阅读次数:
283
本文转自:http://blog.csdn.net/lianghyan/article/details/49467207solr下载: http://lucene.apache.org/solr/downloads.html ( http://www.apache.org/dyn/closer.lu...
分类:
其他好文 时间:
2015-12-19 16:24:45
阅读次数:
148
241. Different Ways to Add ParenthesesTotal Accepted:13500Total Submissions:43882Difficulty:MediumGiven a string of numbers and operators, return all ...
分类:
其他好文 时间:
2015-12-19 16:25:41
阅读次数:
206
iOS 学习资料整理这份学习资料是为 iOS 初学者所准备的, 旨在帮助 iOS 初学者们快速找到适合自己的学习资料, 节省他们搜索资料的时间, 使他们更好的规划好自己的 iOS 学习路线, 更快的入门, 更准确的定位的目前所处的位置.该文档会持续更新, 同时也欢迎更多具有丰富经验的 iOS 开发者...
分类:
移动开发 时间:
2015-12-19 16:23:58
阅读次数:
221
1 #!/bin/bash2 3 function Fun_Name()4 {5 #function here6 echo "this is a function"7 }8 9 Fun_Name
分类:
其他好文 时间:
2015-12-19 16:25:27
阅读次数:
205
一、下载VirtualBox的RHEL软件库配置文件 cd /etc/yum.repos.dwget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo二、安装RPMForge ...
分类:
其他好文 时间:
2015-12-19 16:23:09
阅读次数:
239
1.创建一个空数组:第一种方法:var str = new Array();第二种方法:var str = [];为数组赋值:str[0] = 111;str[1] = 222;2.创建一个有内容的数组:var str = ["aa", "bb", "cc"];遍历数组:for (var i = 0...
分类:
编程语言 时间:
2015-12-19 16:22:16
阅读次数:
211
1.接口-interface1.1 接口声明默认以I开头1.2 接口定义只声明方法,不实现具体的方法体1.3 接口默认公开 Public1.4 接口定义行为(约束行为) public interface Imobile //定义接口 { void UserMobile();...
分类:
其他好文 时间:
2015-12-19 16:23:01
阅读次数:
208
1、服务器后台使用Servlet开发,这里不再介绍。2、网络开发不要忘记在配置文件中添加访问网络的权限3、网络请求、处理不能在主线程中进行,一定要在子线程中进行。因为网络请求一般有1~3秒左右的延时,在主线程中进行造成主线程的停顿,对用户体验来说是致命的。(主线程应该只进行UI绘制,像网络请求、资源...
分类:
移动开发 时间:
2015-12-19 16:22:34
阅读次数:
244
在原有的基础上做了些许改动以及添加了一点小功能,以下是代码: 1 package com.example.add; 2 3 import java.io.File; 4 5 import com.example.add.opt; 6 import com.example.add.R;...
分类:
移动开发 时间:
2015-12-19 16:21:13
阅读次数:
277
在ubuntu下首先:在unpv13e文件加下./configurecd libmakecd ../libfreemakecd ../liggaimakecd ..vim lib/nup.h // 改动 #include "../config.h" 为 #include "config.h"/ 拷....
分类:
系统相关 时间:
2015-12-19 16:22:09
阅读次数:
276
iOS开源库youtube下载神器:https://github.com/rg3/youtube-dl我擦咧vim插件:https://github.com/Valloric/YouCompleteMevim插件配置:https://github.com/spf13/spf13-vim-------...
分类:
移动开发 时间:
2015-12-19 16:22:09
阅读次数:
249
http://www.hodo170.com/login.jsp/* * RSA, a suite of routines for performing RSA public-key computations in JavaScript. * Copyright 1998-2005 David Sh...
分类:
移动开发 时间:
2015-12-19 16:21:59
阅读次数:
445
橄榄图课程笔记:颜色取样工具定为出灰色的部分。为了确定需要的三个相等的RGB数值是多少,先调出色相饱和度调整图,把饱和度降到最低,查看定位点的RGB值。然后回到原图,调出色阶,把3个通道的值都调为那个值。用中间的三角调,两边的辅助微调。
分类:
其他好文 时间:
2015-12-19 16:23:16
阅读次数:
243
安装多个xcode,可能会导致无法识别默认使用哪个xcode的情况,这时候执行下列语句,设置默认xcodesudo xcode-select --switch /Applications/Xcode.app
分类:
其他好文 时间:
2015-12-19 16:20:54
阅读次数:
172
http://www.digpage.com/basic.htmlhttp://www.digpage.com/behavior.htmlhttp://www.yiibai.com/yii2/concept-behaviors.html开发Yii2过滤器并通过behaviors()行为调用 :htt...
分类:
其他好文 时间:
2015-12-19 16:21:16
阅读次数:
168