博客 Stephen Toub From MicroSoft Crop. Stephen Cleary Parallelism in .NET 文章 It's All About the SynchronizationContext How would I run an async Task met...
分类:
编程语言 时间:
2015-09-18 15:28:20
阅读次数:
173
如果不需要表里的数据,只是建一个空表,那么可以用如下方式,CREATE TABLE ac02_wyl AS SELECT * FROM ac02 WHERE ROWNUM<1;
分类:
其他好文 时间:
2015-09-18 15:23:51
阅读次数:
125
protobuf的git地址:https://github.com/google/protobuf 之前项目为了自动化,所以写一个protobuf的解释器,用来生成项目所需的格式。 当然现在通过以下链接的指导,跳过手工分析,直接生成代码了。 https://developers.google.com...
分类:
编程语言 时间:
2015-09-18 15:19:46
阅读次数:
261
学习定义有返回值和无返回值的函数 #!?coding:utf-8
#?定义一个没有返回值的函数
def?fib1(n):
"""print?a?Fibnoacci?series?up?to?n."""
a,b=0,1
while?a<n:
print(a,end=‘?‘)
a,b=b,a+b
pri...
分类:
编程语言 时间:
2015-09-18 14:00:23
阅读次数:
159
题目来源:https://leetcode.com/problems/longest-common-prefix/题意分析: 这道题目是要写一个函数,找出字符串组strs的最长公共前缀子字符串。题目思路: 这都题目的难度是简单。从字符串头部开始计算,初始化公共前缀子字符串是strs[0],公共子.....
分类:
编程语言 时间:
2015-09-18 13:53:58
阅读次数:
177
题目来源:https://leetcode.com/problems/roman-to-integer/题意分析: 这道题目和上一题目相反,是将罗马数字转化成阿拉伯数字。题目思路: 只要知道罗马数字和阿拉伯数字之间是怎么转换的就可以了。先做一个字符和数值对应的字典,{'I':1,'V':5...
分类:
编程语言 时间:
2015-09-18 13:52:46
阅读次数:
205
How to fix “The program can’t start because MSVCR110.dll is missing from your computer.” error on WindowsCategory: Solutions \ WindowsCreated: Sunday,...
Python的包管理工具Pip pip 是一个安装和管理 Python 包的工具 , 是 easy_install 的一个替换品。本文将详细说明 安装 pip 的方法和 使用 pip 的一些基本操作如安装、更新和卸载 python 包。distribute是setuptools的取代(Setup.....
分类:
编程语言 时间:
2015-09-18 13:46:49
阅读次数:
307
比如:有表1。表2两张相,希望通过like进行关联查询// mysql中使用concat连接字符串select t1.id, t1.title, t2.keyword from t1 inner join t2 on t1.title like concat('%', t2.keyword, '%'...
分类:
其他好文 时间:
2015-09-18 13:46:24
阅读次数:
169
#数据库MySQL 6.7use sakila;#查询表名show tables;#SELECT TABLE_NAME,TABLE_ROWS FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='sakila';select column_name f...
分类:
数据库 时间:
2015-09-18 13:45:52
阅读次数:
216