--从Excel文件中,导入数据到SQL数据库中,很简单,直接用下面的语句:
/*===================================================================*/
--如果接受数据导入的表已经存在
insert into 表 select * from
OPENROWSET('MICROSOFT.JET.OLEDB.4.0'
,'Exce...
分类:
数据库技术 时间:
2014-07-13 20:42:08
收藏:
0 评论:
0 赞:
0 阅读:
382
1. get class name:
adb shell
shell@android:/mnt/sdcard/books $ dumpsys window windows >dump.txt
grep "focus"
mFocusedApp=AppWindowToken{420a5df8 token=Token{420a5c00 ActivityRecord{420a5ac8 com....
分类:
移动平台 时间:
2014-07-13 16:04:32
收藏:
0 评论:
0 赞:
0 阅读:
878
优化性能参数设置,在ngnix.conf中的http 层加上fastcgi参数如下:
http {
fastcgi_cache_path /usr/local/nginx/fastcgi_cache levels=1:2 keys_zone=TEST:10m inactive=5m;
fastcgi_connect_timeout=300;
fastcgi_send_timeout=30...
分类:
其他 时间:
2014-07-13 17:16:47
收藏:
0 评论:
0 赞:
0 阅读:
354
本题就是需要检查有没有负环存在于路径中,使用Bellman Ford算法可以检查是否有负环存在。
算法很简单,就是在Bellman Ford后面增加一个循环判断就可以了。
题目故事很奇怪,小心读题。
#include
#include
#include
const int MAX_N = 501;
const int MAX_M = 2501;
const int MAX_W...
分类:
其他 时间:
2014-07-13 15:48:00
收藏:
0 评论:
0 赞:
0 阅读:
284
Given a linked list, determine if it has a cycle in it.
Follow up:
Can you solve it without using extra space?
/**
* Definition for singly-linked list.
* class ListNode {
* int val;
* ...
分类:
其他 时间:
2014-07-13 16:31:43
收藏:
0 评论:
0 赞:
0 阅读:
319
f:\linux\android\leon\workspace\qsettings\res\xml\settings_headers.xml
<Preference
android:key="profiles_settings"
android:title="@string/profiles_settings_title"
andro...
分类:
其他 时间:
2014-07-13 17:16:11
收藏:
0 评论:
0 赞:
0 阅读:
526
在做手机开发过程中,难免要进行一些本地文件管理操作,比如很多常见app如微博、微信等都有清除缓存功能,该功能就是遍历app自己的缓存目录,然后删除全部缓存文件。使用java的File类可以实现本地文件遍历及删除等等功能,如果使用ndk的方式该如何实现呢?以前写过《基于c++使用win32 api遍历文件夹》,由于android ndk平台属于linux系统,所以该方式是无法使用的。...
分类:
移动平台 时间:
2014-07-13 13:41:39
收藏:
0 评论:
0 赞:
0 阅读:
489
Parentheses Balance
You are given a string consisting of parentheses () and []. A string of this type is said to be correct:
(a)if it is the empty string(b)if A and B are correct, AB is c...
分类:
其他 时间:
2014-07-13 15:42:39
收藏:
0 评论:
0 赞:
0 阅读:
374
不管怎么着,了解一点android的基本知识还是有必要的,就当开阔一些自己的眼界吧。。。。
android的四大功能组件是_activity_,_service_,_BroadcastReceive广播接收器_,_Content
Provider_。
android的系统架构是android,_java_虚拟机和_linux_操作系统。
在Activity的_...
分类:
移动平台 时间:
2014-07-13 16:31:00
收藏:
0 评论:
0 赞:
0 阅读:
343
先上效果图:
这里做一个左右旋转,上下旋转,和左右移动的动画,先自己建立一个View的类,作为操作的对象:
public class MyView extends View {
private Paint mPaint;
int width = 0;
int height = 0;
public MyView(Context context, AttributeSet a...
分类:
移动平台 时间:
2014-07-13 16:50:41
收藏:
0 评论:
0 赞:
0 阅读:
438
Algorithms IN C读书笔记,第一章介绍的解决连通性问题的四个算法...
分类:
其他 时间:
2014-07-13 16:54:35
收藏:
0 评论:
0 赞:
0 阅读:
299
myeclipse6.0 下载地址。官方下载地址: http://www.myeclipseide.com/module-htmlpages-display-pid-4.html本地快速下载地址: http://www.rosebush.cn/blog/html/23/t-7423.html htt...
分类:
系统服务 时间:
2014-07-13 12:54:25
收藏:
0 评论:
0 赞:
0 阅读:
728
一,创建项目1, 为blog创建名为mysite的工程项目: django-admin.py startproject mysite2, 项目结构如下: mysite ├── manage.py └── mysite ├── __init__.py ├── ...
分类:
其他 时间:
2014-07-13 12:56:16
收藏:
0 评论:
0 赞:
0 阅读:
397
AsteroidsTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 14426Accepted: 7851DescriptionBessie wants to navigate her spaceship through a dange...
分类:
其他 时间:
2014-07-13 12:56:53
收藏:
0 评论:
0 赞:
0 阅读:
339