首页 > 2015年04月17日 > 全部分享
mysql主主同步+keepalived
1.安装数据库,配置主主,然后在keepalived数据库安装完毕yuminstallmysql-serveryuminstallmysql-devel========================================================[root@localhost~]#rpm-qa|grepmysqlmysql-devel-5.1.73-3.el6_5.x86_64mysql-libs-5.1.73-3.el6_5.x86_64mysql..
分类:数据库技术   时间:2015-04-17 07:14:10    收藏:0  评论:0  赞:0  阅读:377
[汇编]_[初级]_[VS2010搭建汇编开发环境win32和x64]
场景: 1. 虽然使用MASM32也可以编译运行汇编程序,但是既然装了VS2010,它也能支持编译运行汇编吧.不然微软的开发人员难道还不用vs写汇编程序了? http://www.masm32.com/ 2. x64程序是大势所趋,win32(只能支持4G内存)逐渐退出舞台了,所以x64编译汇编也是必然要知道的....
分类:Windows开发   时间:2015-04-17 07:12:08    收藏:0  评论:0  赞:0  阅读:251
二维码作激活码(密钥)功能开发
这周开始又转回了熟悉而又陌生的Unity开发,一年前从Unity转向cocos2dx,这一年里有不少曲折,也有不少的心酸,或许是因为“心”未定,又或许因为其他,有种使不上劲的感觉,曾经的傲气逐渐的被“驱散”,习惯了被训斥和教育。面的各种形形色色的技术,总是经不住诱惑,都想学习一遍,但又无奈精力有限,加上工作的压力,每天都搞的身心疲惫,总之这一年里对自己的评价用“失望”两个字来形容!但从这周开始又重...
分类:其他   时间:2015-04-17 07:12:03    收藏:0  评论:0  赞:0  阅读:270
win7下,Ant 配合yuicompressor对js和css进行合并、压缩、拷贝处理
本文基于windows7系统,mac上或许更简单些。本文参阅了无墨来点睛的文章http://www.cnblogs.com/catprayer/archive/2011/08/03/2126719.html,再此说明。 花了点时间,总算是试验成功,demo地址:http://pan.baidu.com/s/1c0dGm1i ant可以去官网下载,地址是:http://ant.apache.or...
分类:Windows开发   时间:2015-04-17 07:11:48    收藏:0  评论:0  赞:0  阅读:240
Ubuntu 14.04.2 LTS 配置 DNS server
我们目的是用一台局域网机器完成 192.168.1.113 cloudshield.com的解析,指定A记录和CNAME; 0.关于ubuntu 下载、安装、更新这里就直接跳过了;1.下载安装工具 bind9 sudo apt-get install bind9DNS 配置文件在/etc/bind 目录中。安装bind9后会生成如下三个配置文件: named.conf; named....
分类:系统服务   时间:2015-04-17 07:11:46    收藏:0  评论:0  赞:0  阅读:287
Windows 线程间消息通信
使用消息(message)是线程见通信的常用方法之一。Windows也提供了许多函数来实现这一点。主要使用的函数有PostThreadMessage(),  PeekMessage(), GetMessage()   发消息: 一般消息都是和窗口(window)联系在一起的。对于没有窗口的线程, windows提供了专门的发消息函数PostThreadMessage()。 该函数把PostM...
分类:编程语言   时间:2015-04-17 07:10:38    收藏:0  评论:0  赞:0  阅读:555
系统进程的Watchdog
编写者:李文栋 /rayleeyahttp://rayleeya.iteye.com/blog/19634083.1 Watchdog简介 对于像笔者这样没玩过硬件的纯软程序员来说,第一次看到这个家伙的时候真心一头雾水,只是觉得这个名字很有意思。一番调查后发现,Watchdog机制最早来源于硬...
分类:系统服务   时间:2015-04-17 07:09:48    收藏:0  评论:0  赞:0  阅读:147
LeetCode - Binary Tree Right Side View
Binary Tree Right Side View2015.4.17 06:04Given a binary tree, imagine yourself standing on therightside of it, return the values of the nodes you can...
分类:其他   时间:2015-04-17 07:09:27    收藏:0  评论:0  赞:0  阅读:92
[转发]Android 系统稳定性 - ANR(二)
文章都为原创,转载请注明出处,未经允许而盗用者追究法律责任。很久之前写的了,留着有点浪费,共享之。编写者:李文栋P.S. OpenOffice粘贴过来后格式有些混乱。http://rayleeya.iteye.com/blog/19556571.2如何分析ANR问题引起ANR问题的根本原因,总的来说...
分类:移动平台   时间:2015-04-17 07:09:17    收藏:0  评论:0  赞:0  阅读:141
LeetCode - Bitwise AND of Numbers Range
Bitwise AND of Numbers Range2015.4.17 06:30Given a range [m, n] where 0 m) { 6 n = (n & n - 1); 7 } 8 return m & n; 9 ...
分类:其他   时间:2015-04-17 07:09:08    收藏:0  评论:0  赞:0  阅读:118
LeetCode - Rotate Array
Rotate Array2015.4.17 05:37Rotate an array ofnelements to the right byksteps.For example, withn= 7 andk= 3, the array[1,2,3,4,5,6,7]is rotated to[5,6,...
分类:其他   时间:2015-04-17 07:08:57    收藏:0  评论:0  赞:0  阅读:111
[转发]Android 系统稳定性 - ANR(一)
文章都为原创,转载请注明出处,未经允许而盗用者追究法律责任。很久之前写的了,留着有点浪费,共享之。编写者:李文栋http://rayleeya.iteye.com/blog/1955652 如果你是一个Android应用程序开发人员,你的人生中不可避免的三件事情是:死亡、缴税和ANR。这么说是夸.....
分类:移动平台   时间:2015-04-17 07:08:39    收藏:0  评论:0  赞:0  阅读:183
[转发]Android 系统稳定性 - ANR(三)
文章都为原创,转载请注明出处,未经允许而盗用者追究法律责任。很久之前写的了,留着有点浪费,共享之。编写者:李文栋http://rayleeya.iteye.com/blog/19560561.4 如何避免ANR1.4.1 ANR发生在主线程,不要阻塞主线程 Android应用程序的所有标准组件全部运...
分类:移动平台   时间:2015-04-17 07:08:18    收藏:0  评论:0  赞:0  阅读:232
LeetCode - Reverse Bits
Reverse Bits2015.4.17 05:42Reverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as000000101001010...
分类:其他   时间:2015-04-17 07:08:07    收藏:0  评论:0  赞:0  阅读:147
LeetCode - Number of Islands
Number of Islands2015.4.17 06:16Given a 2d grid map of'1's (land) and'0's (water), count the number of islands. An island is surrounded by water and i...
分类:其他   时间:2015-04-17 07:07:58    收藏:0  评论:0  赞:0  阅读:197
LeetCode - House Robber
House Robber2015.4.17 05:52You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the ...
分类:其他   时间:2015-04-17 07:07:47    收藏:0  评论:0  赞:0  阅读:165
Word Search
对于我来说 这种dfs之类的题目还是挺有难度的,尤其是各种条件和设计要想清楚, dfs经典题目,尤其是最后要退一步,高亮处public class Solution { public boolean exist(char[][] board, String word) { if(...
分类:其他   时间:2015-04-17 07:07:27    收藏:0  评论:0  赞:0  阅读:115
LeetCode - Best Time to Buy and Sell Stock IV
Best Time to Buy and Sell Stock IV2015.4.17 05:27Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorit...
分类:其他   时间:2015-04-17 07:07:21    收藏:0  评论:0  赞:0  阅读:146
LeetCode - Number of 1 Bits
Number of 1 Bits2015.4.17 05:48Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as theHamming wei...
分类:其他   时间:2015-04-17 07:06:57    收藏:0  评论:0  赞:0  阅读:133
LeetCode-Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:其他   时间:2015-04-17 07:06:18    收藏:0  评论:0  赞:0  阅读:175
2096条   上一页 1 ... 95 96 97 98 99 ... 105 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!