码迷,mamicode.com
首页 > 其他好文
hadoop 2.6全分布安装
分类:其他好文   时间:2015-02-12 22:35:04    阅读次数:295
ipa制作
使用ipa需要手机越狱打包ipa步骤:项目名称 -> edit scheme -> 如图选择release点击close后,选择真机然后command+b编译程序,右击app,show in Finder拷贝app到Payload文件夹压缩该文件夹,后修改后缀为ipa到此为止,ipa文件已经做好了!...
分类:其他好文   时间:2015-02-12 22:33:42    阅读次数:243
在新岗位的自动化运维第一步
去年年中换了新部门以后,一直处于打杂和帮忙的状态,直到现在,领导明确了我的任务以后,发现这个任务太苦逼了,根据公司的业务现状,如果上端兄弟修改一个频道的配置,或者变更一下线路链路,到我这里的是哦户,我要面对的则是大量的各种配置修改,初步估算大概150台相关服务器,目前负责的只有我一个人,名下的帮.....
分类:其他好文   时间:2015-02-12 22:33:53    阅读次数:271
骁龙810旗舰亮相? 微软MWC邀请函曝光
MWC2015即将在巴塞罗那当地时间3月2日-5日在西班牙巴塞罗那开展,目前微软已经正式对外发布了邀请函,确认参加本次大展。据悉,微软发布会将会在当地时间3月5日8点半举办发布会,不过目前还不清楚其发布会上是否会发布新品。就目前来看,很有可能微软此次发布会主要是对新系统Windows10的介绍等,....
分类:其他好文   时间:2015-02-12 22:33:04    阅读次数:371
口腔微生物学家Oral Microbiology
网址http://www.journaloforalmicrobiology.net/index.php/jom1.Philip D. MarshOral Microbiology at Leeds Dental Institute, United KingdomPhilip Marsh is Pr...
分类:其他好文   时间:2015-02-12 22:35:50    阅读次数:271
[leetcode 155]min stack
1 题目Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.push(x) -- Push element x onto stack.pop() -- Rem...
分类:其他好文   时间:2015-02-12 22:35:46    阅读次数:206
RabbitMQ 连接断开处理-自动恢复
Rabbitmq 官方给的NET consumer示例代码如下,但使用过程,会遇到connection断开的问题,一旦断开,这个代码就会报错,如果你的消费者端是这样的代码的话,就会导致消费者挂掉。using System;using RabbitMQ.Client;using RabbitMQ.Cl...
分类:其他好文   时间:2015-02-12 22:32:38    阅读次数:580
GitHub学习之路1
对于代码的管理以及维护上,GitHub不失为一个较为明智的选择。而对于GitHub的灵活应用也是相当重要的,以下记录为以防自己忘记。1. 创建SSH Keyssh-keygen -t rsa –C “youremail@example.com”需要注意的是:id_rsa是私钥,不能泄露出去,id_r...
分类:其他好文   时间:2015-02-12 22:34:05    阅读次数:187
[LeetCode]Balanced Binary Tree
Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node never diff...
分类:其他好文   时间:2015-02-12 21:29:37    阅读次数:256
[LeetCode]Merge Two Sorted Lists
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. 这道题是让合并两个有序链表。增设一个头结点。下面贴上代码:#include using name...
分类:其他好文   时间:2015-02-12 21:27:59    阅读次数:262
【史前巨坑】数论模板整合
跪了一下午数论 整理了一下数论模板 这是个史前巨坑,有空慢慢填 #include #include #include #include #include #define MAXN 1000000 using namespace std; bool not_prime[MAXN]; int prime_number[MAXN]; int nu; int factor[MAXN];//顺手记录一...
分类:其他好文   时间:2015-02-12 21:29:22    阅读次数:178
velocity模板判断null和空字符串方法
在web开发中,经常会遇到一个需求是,判断变量为空(null)或者空字符串(""),从而影响页面的展示逻辑,velocity中有相应的方法可以判断。当然也可以在java后端转化到有效值再判断。...
分类:其他好文   时间:2015-02-12 21:29:12    阅读次数:208
Reverse words in a string
刚看到这个题目,手痒了.还挺有意思的... #include int main() { char str[] = "Please reverse this string!"; printf("%s\n", str); str_rev(str); printf("%s\n", str); return 0; }int str_rev(char *stri...
分类:其他好文   时间:2015-02-12 21:28:31    阅读次数:231
Ant时出现OutOfMemoryException怎么办
ant前先执行下面命令(在Mac环境下测试过) export ANT_OPTS="-Xmx6g -XX:MaxPermSize=2g"...
分类:其他好文   时间:2015-02-12 21:28:29    阅读次数:107
数字图像处理特效中彩色墨水效果的设计与实现
图像处理特性中彩色墨水效果的实现,提供了基本的设计思想,并给出了基于MagicHouse平台下C++语言的实现代码。...
分类:其他好文   时间:2015-02-12 21:26:29    阅读次数:209
一个让屌丝望而却步的城市
不知不觉来北京已近十个年头了,用八个字形容就是:悲喜交加,后知后觉。 (一) 还记得2004年北京刚下火车的时候,背着双肩包,拖着编织袋,出站口检票发现车票丢了,然后检票口的工作人员粗暴地把我带到警务室,我被当成了逃票者,他们像对待一个小偷一样对待我,www.yunapp.cc当时真是欲哭无...
分类:其他好文   时间:2015-02-12 21:25:07    阅读次数:187
05-2. Saving James Bond - Easy Version (PAT) - 图的遍历问题
This time let us consider the situation in the movie "Live and Let Die" in which James Bond, the world's most famous spy, was captured by a group of d...
分类:其他好文   时间:2015-02-12 21:25:40    阅读次数:365
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!