首页 > 2015年04月12日 > 全部分享
小菜鸟带着梦想学chromium
风雨送春归, 飞雪迎春到。 已是悬崖百丈冰, 犹有花枝俏。 俏也不争春, ?? 只把春来报。 ? 待到山花烂漫时,? 她在丛中笑。 ? ? ? ? ?这首《毛泽东诗词》·卜算子·咏梅可是应了我的心情了。最近换工作...
分类:其他   时间:2015-04-12 17:52:58    收藏:0  评论:0  赞:0  阅读:149
#SORA#celery研究笔记
最近看到celery文档task部分,做一下小结 实际处理时,我们可以使用一个类似于logging的模块生成日志。 对于某些任务,你可以设置当满足某些条件时,重试任务、拒绝任务或忽略任务 在定义task时,@app.task(bind=...
分类:其他   时间:2015-04-12 17:52:48    收藏:0  评论:0  赞:0  阅读:332
Django 中文注释报错问题
views.py 前面一定要加#?-*-?coding:?utf-8?-*-否则报错 #?-*-?coding:?utf-8?-*- from?django.shortcuts?import?render_to_response def?index(req): ????return?render_to_response(‘index...
分类:其他   时间:2015-04-12 17:52:38    收藏:0  评论:0  赞:0  阅读:911
shell
#!bin/bash #program: #?? ?this program shows "hello world" in your screen. #history: #2015/01/01 Richard first release PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin ex...
分类:系统服务   时间:2015-04-12 17:52:28    收藏:0  评论:0  赞:0  阅读:273
Android开发,URI 如:发短信,发彩信,调用通讯录等
一、直接拨打电话,与三不同的是,这个直接拨打电话,而不是打开拨号界面 ? ? Uri uri = Uri.parse("tel:10086"); ? ? Intent intent = new Intent(Intent.ACTION_CALL, uri); 二、打开拨号界面,类型是Int...
分类:移动平台   时间:2015-04-12 17:51:58    收藏:0  评论:0  赞:0  阅读:315
HDOJ刷题(1093)
A+B for Input-Output Practice (V) Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 55226    Accepted Submission(s): 37126 Problem Descripti...
分类:其他   时间:2015-04-12 17:51:08    收藏:0  评论:0  赞:0  阅读:252
C#实现定时全屏截图并且保存到预先设定好的文件夹中的代码示例
自定义一个截图函数, public static void Snap(int x, int y, int width, int height) { try { //这段代码也可以实现截图 //Image image = new Bitmap(width, height); //Graphics g = Graphics.FromI...
分类:Windows开发   时间:2015-04-12 17:50:58    收藏:0  评论:0  赞:0  阅读:201
EasyUI的面板和Ajax的结合使用
学习这一点的时候,让我感到很惊讶,因为我在丝毫没有看到ajax影子的情况下的的确确的使用着ajax,这必然是极好的。 面板的属性,方法和行为相对比较多,在这里就不做太多的累赘,这里只说一下关于一些关于被面板封装的Ajax操作。 $(function(){ $("#box").panel({ title: '搜面板', width: 500, height: 500, icon...
分类:Web开发   时间:2015-04-12 17:50:48    收藏:0  评论:0  赞:0  阅读:291
myeclipse解决js文件的报错
myeclipse中建立json文件报错 web工程下建立了一个项目,需要用到json文件,但是建立了一个1.js,随便写点东西就报错了 如图: 内容如下: {"person":{ "name":"silence", "website":"thhp:://localhost:423", "email":"123@baidu.com" } } myeclipse将会...
分类:Web开发   时间:2015-04-12 17:50:38    收藏:0  评论:0  赞:0  阅读:330
《游戏人工智能编程》感想一
书名《游戏人工智能编程》作者mat buckland 里面讲了一个west world项目。这是一个简单的玩具教学项目,为了让读者能够实现一个稍微具有智能的智能体。游戏的内容是 1一个矿工在挖金矿,会随机得到金矿,放入背包 2背包的容量有限,背包满则一定要去卖掉 3矿工有体力值,体力为0要休息。 ps,书中有口渴值的存在。但是口渴饥饿什么的都是一种“疲劳值”引入游戏就是为了增加限制条件和...
分类:其他   时间:2015-04-12 17:50:28    收藏:0  评论:0  赞:0  阅读:229
notepad++插件及配置相关
插件推荐 Explorer是文件浏览插件,可以快速的定位当前正在编辑的文件的位置,支持在搜索目录下文件的内容(Find in files)。收藏夹功能可以保存经常使用的目录或文件。 Compare, 文件对比插件,可以进行简单快速的对比,不过进行复杂点的对比,我一般用WinMerge。 TagsView,文档的Class, 属性, 方法列表。比另一个叫做FunctionList的插件更好...
分类:其他   时间:2015-04-12 17:50:18    收藏:0  评论:0  赞:0  阅读:270
You need to use a Theme.AppCompat theme (or descendant) with this activity
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.test2/com.example.test2.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or desce...
分类:移动平台   时间:2015-04-12 17:50:08    收藏:0  评论:0  赞:0  阅读:289
leetcode-18 4Sum
?? 问题描述:Givenan array S of n integers, are there elements a, b, c,and d in S such that a + b + c + d =target? Find all unique quadruplets in the array which gives the sum of target. Note: ...
分类:其他   时间:2015-04-12 17:49:58    收藏:0  评论:0  赞:0  阅读:170
G.711编码原理及代码
G711音频编码原理及代码。...
分类:其他   时间:2015-04-12 17:49:48    收藏:0  评论:0  赞:0  阅读:350
poj1088 滑雪 记忆化搜索
我是渣渣 我是渣渣 。。。。记忆化搜索 看了学长的代码 和算法竞赛入门经典这本书才勉勉强强看懂点。。。 #include #include int dir[4][2]={1,0,-1,0,0,1,0,-1};//方向 int dp[101][101],map[101][101]; int m,n; int max(int x,int y) { return x>y?x:y; } bo...
分类:其他   时间:2015-04-12 17:49:38    收藏:0  评论:0  赞:0  阅读:244
我的第一个编译器之符号表
符号表 符号表是一种供编译器用于保存有关源程序构造的各种信息的数据结构,这些信息在编译器的分析阶段被逐步收集并放入符号表。 如我们输入 {int x;char y;{bool y; x; y; }x; y;} 期望生成: {{x:int; y:bool;} x:int; y:char;} 内层块的x来源于外部。 为每个作用域设置一个符号表 package com.bigb...
分类:其他   时间:2015-04-12 17:49:28    收藏:0  评论:0  赞:0  阅读:226
windows网络编程入门
windows Sockets 的版本: 头文件:WINSOCK.h 库文件:wsock32.lib 动态困:WINSOCK.DLL 头文件:WINSOCK2.h 库文件:WS2_32.lib 动态困:WS2_32.DLL 服务端: WSADATA wsd; //WSADATA变量 SOCKET sServer; //服务器套接字 SOCKET...
分类:Windows开发   时间:2015-04-12 17:49:18    收藏:0  评论:0  赞:0  阅读:385
[LeetCode] Intersection of Two Linked Lists
Intersection of Two Linked Lists   Write a program to find the node at which the intersection of two singly linked lists begins. For example, the following two linked lists: A: a1...
分类:其他   时间:2015-04-12 17:49:08    收藏:0  评论:0  赞:0  阅读:153
初识NuGet
因为想查一查opencvsharp的东西,然后发觉这个包可以再NuGet上面可以直接下载。我也经常在很多地方都可以看到NuGet,所以我想写下来,记录下来。 NuGet是一个免费的并且开源的包管理器在微软的开发平台上。NuGet发布在Visual Studio的拓展插件上。 NuGet现在已经移植到代码管理平台github了,链接地址为https://github.com/nuget/home。...
分类:其他   时间:2015-04-12 17:48:58    收藏:0  评论:0  赞:0  阅读:142
Sort Colors -- leetcode
Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white and blue. Here, we will use the integers ...
分类:其他   时间:2015-04-12 17:48:49    收藏:0  评论:0  赞:0  阅读:233
1510条   上一页 1 ... 26 27 28 29 30 ... 76 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!