`
ouyangfeng521
  • 浏览: 242792 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论
文章列表
/* * m.cpp * * Created on: 2015年1月23日 * Author: maygolf */ #include <pthread.h> #include <iostream> #include <time.h> #include <sys/time.h> #include <unistd.h> using namespace std; int i = 0; pthread_mutex_t mutex ;//= PTHREAD_MUTEX_INITIAL ...
代码比较简单了 #!/usr/bin/env nodejs var http = require('http'); var fs = require("fs"); http.createServer(function (req, res) { var ip = req.headers['x-forwarded-for'] || req.connection.remoteAddress || req.socket.remoteAddress || req.connection.socket.rem ...
http://www.sublimerge.com/#installation   overview   features   changelog   documentation   support   buy SublimergeThe professional diff and merge tool for Sublime Text 2 and 3   @sublimerge
自己下载看看吧
/** * @(#) TestActivity.java Created on 2014-3-7 * * */ package com..android.app.ui; import java.util.Random; import java.util.UUID; import com..gx.oatos.R; import com..android.business.provider.PreferenceProvider; import com..android.preferences.SysPreferences; import android. ...
make: Interrupt/Exception caught (code = 0xc00000fd, addr = 0x4217b3)   这个错误的原因是: 你的机器上是否有两套cygwin环境 ,请检查你PATH 变量 如git 等软件会自动安装上   本人机器win7X64
final StringBuffer buffer = new StringBuffer(); buffer.append("GET").append(" ").append(uri.getPath()).append(" ").append("HTTP/1.1") .append(eof); buffer.append("Host: ").append(uri.getAuthority()).append(eof); buffer.append("Upgr ...
// 拍照片 case R.id.taking_pictures_layout: final Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); fileUri = getOutputMediaFileUri(MEDIA_TYPE_IMAGE); // create a // file intent.putExtra(MediaStore.EXTRA_OUTPUT, fileUri); // set the // image ...
student  /** * @(#) Student.java Created on 2013-5-30 * * Copyright © 2013 */ package com.braver.test; /** * The class <code>Student</code> * * @author Feng OuYang * @version 1.0 */ public class Student { String name; int age; static Student student ...
/** * @(#) CutActivity.java Created on 2013-5-14 * * Copyright © 2013 深圳企业云科技有限公司 版权所有 */ package com.demo; import java.util.Random; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.text.ClipboardManager; import android.view.Vi ...
package com.tencent.mm.booter;   import android.app.AlarmManager; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import com.tencent.mm.sdk.platformtools.o; import com.tencent.mm.sdk.platformtools.r; ...
couldn't save which view has focus because the focused view     <activity             android:name="com.oatos.m.android.ui.UserInfoActivity"             android:configChanges="orientation|keyboardHidden|keyboard|screenLayout"             android:screenOrientation="p ...
开始监听........... 192.168.1.198已连接........ GET / HTTP/1.1 Host: 192.168.1.107 Accept-Encoding: gzip, deflate Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-us Connection: keep-alive Cache-Control: max-age=0 User-Agent: Mozilla/5.0 (iPhone; CPU iPho ...
final String ip = "119.122.78.13"; final String[] ipSplitArray = ip.split("\\."); int num = 0; for (int i = 0; i < ipSplitArray.length; i++) { num |= Integer.parseInt(ipSplitArray[i]); if(i < ipSplitArray.length - 1) num <<= 8; } System.out ...
1.下载到http://opencv.org/下载最近的linux源码包OpenCV-2.4.3.tar.bz22.解压源码包tar -xzf OpenCV-2.4.3.tar.bz23.安装依赖的包sudo apt-get install build-essentialsudo apt-get install cmakesudo apt-get install libgtk2.0-devsudo apt-get install pkgconfigsudo apt-get install python-dev python-numpysudo apt-get install libavcode ...
Global site tag (gtag.js) - Google Analytics