- 音视频知识图谱 2022.04
关键帧Keyframe
前些时间,我在知识星球上创建了一个音视频技术社群:关键帧的音视频开发圈,在这里群友们会一起做一些打卡任务。比如:周期性地整理音视频相关的面试题,汇集一份音视频面试题集锦,你可以看看《音视频面试题集锦2022.04》。再比如:循序渐进地归纳总结音视频技术知识,绘制一幅音视频知识图谱。下面是2022.04月知识图谱新增的内容节选:1)图谱路径:**采集/音频采集/声音三要素/响度******主观计量响
- 音视频相关文章总目录
cuijiecheng2018
FFmpeg源码分析音视频技术音视频
为了方便各位观看,本文置顶,以目录形式汇集我写过的大部分音视频专题文章。之后文章更新,本目录也会同步更新。写得不好和零零散散的文章就不放在这里了:=================================================================音视频入门基础:像素格式专题系列文章:音视频入门基础:像素格式专题(1)——RGB简介音视频入门基础:像素格式专题(2)——
- 视频基础学习一——色立体、三原色以及像素
山河君
音视频学习
文章目录前言一、什么是颜色1.色立体特征2.色立体模型二、三原色和色立体1.三原色(RGB)2.RGB颜色叠加三、像素和三原色总结前言本文的目的是为了梳理音视频基础相关的知识,有很多做流媒体、音视频相关的研发对于音视频的根本原理是不清楚的。博主也是查阅了相关的资料一点点进行梳理,从根本上一点点延申到音视频处理上。|版本声明:山河君,未经博主允许,禁止转载一、什么是颜色了解过视频的同学应该都知道,视
- 音视频知识图谱 2022.05
关键帧Keyframe
前些时间,我在知识星球上创建了一个音视频技术社群:关键帧的音视频开发圈,在这里群友们会一起做一些打卡任务。比如:周期性地整理音视频相关的面试题,汇集一份音视频面试题集锦,你可以看看这个合集:音视频面试题集锦。再比如:循序渐进地归纳总结音视频技术知识,绘制一幅音视频知识图谱,你可以看看这个合集:音视频知识图谱。下面是2022.05月知识图谱新增的内容节选:1)图谱路径:采集/视频采集/对焦策略手动对
- 基于Qt 视频播放器mp4/wav/avi/等等(进阶)
Qt历险记
Qt高级开发工程师qt音视频开发语言c++QML
##Qt音视频相关Qt多媒体音频模拟按钮发音(音视频启动)基于Qt音乐播放器mp3(进阶)##项目工具工具名
- 那些年曾经看过的书——工作篇
徐福记456
人生杂谈android音视频程序员的梦想
工作以后,主要是看一些与工作相关的书,比如Android相关:Android开发艺术探索、深入理解Android内核设计思想、Android系统源代码情景分析、精通Android多媒体开发、AndroidC++高级编程。音视频相关:FFmpeg从入门到精通、WebRTCNative开发实战、OpenGLES3.0编程指南、音视频开发进阶指南。语言相关:C++PrimerPlus、Java编程思想。
- OpenCv + Qt5.12.2 文字识别
何其不顾四月天
OpenCvopencvqt计算机视觉
OpenCv+Qt5.12.2文字检测与文本识别前言好久没有进行一些相关的更新的了,去年一共更新了四篇,最近一直在做音视频相关的直播服务,又是重新学习积攒经验的一个过程。去年疫情也比较严重,等到解封,又一直很忙,最近又算有了一些时间,所以想着可以做一些更新了,又拿起了OpenCV,做一些相关更新了。其实代码相关的工作,在上一篇OpenCV-摄像头相关的完成之后已经做完了,只是一直没有写相关博客,这
- 杨婷:腾讯云在线教育解决方案分享
腾讯云开发者
在线教育服务器
本文来自腾讯云技术沙龙,本次沙龙主题为在线教育个性化教学技术实践演讲嘉宾:杨婷,腾讯高级产品经理。2010年重庆大学通信工程毕业,6年音视频相关产品从业经验。先后负责过视频云平台、视频CDN、直播点播、互动直播、视频会议及音视频互动类智能硬件终端产品,了解音视频产品与行业结合常见应用。首先为大家介绍一下培训机构的运营框架。首先是优质的教育内容,培训要有核心的内容。有了核心内容后,就要有在线教育平台
- 音视频协议解析(RTP/RTCP/RTSP/RTMP)——RTSP解析
李铁山
音视频网络协议
介绍我这个系列讲解音视频相关的协议,这部分内容比较多,我打算分成好几篇讲,感兴趣的读者可以关注一下。有了以上的基础,我就打算做一个音视频的网络服务器。如果您觉得读起来有点困难,可以先补一下计算机网络的知识,主要是TCP,UDP,HTTP相关的知识。讲解我们这篇文章讲解RTSP(Real-TimeStreamingProtocol)协议。这是一个应用层协议,位于RTP/RTCP协议之上。用于控制流媒
- RTMP直播推流
doublesky_zhang
一.前言之前在老东家时,因为自己平时课外喜欢研究音视频相关的东西,刚好老大那一阵又忙,于是当时一个直播推流没有画面的问题就交给我来定位,但是那时候是基于老大的ffmpeg推流相关的代码去做修改,没有从头到尾的去自己弄一遍二.Demo中RTMP推流模块使用方法1.RTMP推流地址在doublesky_rtmp_push.mm的p_start_rtmp方法中设置为了跨平台,最新版本将rtmp推流模块改
- 视频基础知识
【零声教育】音视频开发进阶
音视频开发程序员音视频ffmpegc++c语言qt
作为移动开发者,大多数时候会需要接触到音视频相关的开发,而其实严格意义上我也并不是专职的音视频开发工程师,只是在2016因为业务需要接触到音视频相关的领域,而开源的GSYVideoPlayer恰好火起来之后,为了解决系列问题成了“半桶水”的音视频开发工程师。在维护GSYVideoPlayer的这几年里,我发现很多开发者对于音视频领域相关的基本概念还是不清楚,所以我也经常可以收获这样的issue:“
- 音视频开发(二十四):音视频基础知识
程序员老舅
音视频开发进阶音视频视频编解码实时音视频webrtc实时互动
目录视频播放器原理音频编码基础知识视频编码基础知识从这篇开始我们进入ffmpeg系列的学习实践,作为开篇,我们先来了解下音视频相关的基础知识。一、视频播放器原理雷神的这张图很清晰的说明了视频播放的流程:解封装—》音/视频解压缩—》音视频编码—》音视频裸数据PCM和YUV—》音视频同步处—》音频播放、视频渲染二、音频的基本知识对声音将模拟信号转为数字信号,要经过三个步骤:采样、量化、编码人耳能够听到
- 基于 Web 引擎技术的 Web 内容录制
拉普拉斯妖1228
音视频chromeweb视频处理webrtc音频编码解码
最近学习音视频相关技术看到一个很好的技术分享,实现了基于Chromium的web内容录制。现在分享出来大家一起学习一下。B站视频:声网AgoraWeb引擎高级架构师高纯:Web互动场景还原——基于Web引擎技术的原文链接:https://blog.csdn.net/agora_cloud/article/details/110913869原文内容:随着基于WebRTC技术的Web应用快速成长,记录
- 【FFmpeg】(一) 音视频相关基础知识以及FFmpeg介绍与编译
onestravel
【FFmpeg】(一)音视频相关基础知识以及FFmpeg介绍一、音视频相关基础知识1、视频播放器原理视频播放器就是将一个封装的格式数据进行解封装,得到对应的音频压缩数据和视频压缩数据,再进行相应的音视频解码,得到音频采样数据和视频采样数据,最后将音频采样数据和视频采样数据同时播放,达到音视频同步。封装格式数据通常有FLV、MKV、MP4、AVI、RMVB等等录音、录像的实质就是一个压缩采集到的图像
- ffmpeg抽取音视频,格式转换,截取
mojovs
ffmpeg
下面内容由ffmpeg官网的例程源码分析所得。由于fmpeg是c语言所写,并且这里以分析和提取ffmpeg工作流程为主,就没有对代码进行解耦合。音视频相关知识比较杂乱,单纯看代码,不是音视频的老手或者对音视频格式很熟悉,会对流中的一些操作感到困惑,如在视频头尾添加各种码,参数的设置和拷贝等,感觉在阅读代码时多参考相关文献,或者百度,不然很难掌握。官方例程源码链接http://www.ffmpeg.
- Android音视频-初识FFmpeg
落叶挽歌
Android音视频androidjava
已经很久没有写过技术博客了,这段时间加入了新公司,主要时间花在熟悉新业务的技术上。而新的业务主要跟音视频相关,关于音视频的尝试在加入新公司之前,自己有做相关demo的尝试与学习,可以参看音视频相关学习demo。当然,那都是自己“想当然”学习的一些东西,虽然实际工作中并没有派上太大的用处,但让我对音视频相关的基础知识有了一定的概念,对后面的技术尝试做了铺垫。第一个技术挑战比较大的就是进行:视频抽帧,
- 音视频开发系列(16)技术解码 | SRT和RIST协议综述
音视频开发老马
音视频开发音视频视频编解码实时音视频c++webrtc
概要近些年来,互联网行业出现了几波和音视频相关的热潮:VR、短视频、直播等。除了VR因技术成熟度问题,还在蓄势待发,短视频和直播持续热度不减,以各种方式进入新的行业应用领域。视频直播方向,RTMP仍是最流行的上行传输协议,但RTMP的局限性也越来越凸显:RTMP的容器格式FLV,存在不支持新的codec、不支持多音轨、时间戳精度过低等等缺陷;RTMP基于TCP做传输,TCP的公平、可靠传输设计并不
- 基于 Web 引擎技术的 Web 内容录制
拉普拉斯妖kk
最近学习音视频相关技术看到一个很好的技术分享,实现了基于Chromium的web内容录制。现在分享出来大家一起学习一下。B站视频:声网AgoraWeb引擎高级架构师高纯:Web互动场景还原——基于Web引擎技术的原文链接:https://blog.csdn.net/agora_cloud/article/details/110913869原文内容:随着基于WebRTC技术的Web应用快速成长,记录
- [OpenGL]未来视觉5-抖音滤镜
weixin_34406061
javac/c++移动开发
大家好,我系苍王。以下是我这个系列的相关文章,有兴趣可以参考一下,可以给个喜欢或者关注我的文章。OpenGL和音视频相关的文章,将会在[OpenGL]未来视觉-MagicCamera3实用开源库当中给大家呈现里面会记录我编写这个库的一些经历和经验。提到抖音特效,相信很多人都会看过这篇文章当一个Android开发玩抖音玩疯了之后(二)里面提供了六种抖音特效的编写和实现,是使用java代码来实现的,其
- Android 编译IJKPlayer源码
HeartCircle
androidjniGSYVideoPlayerIJKPlayer
1.背景目前在做音视频相关的工作,在项目中用到了播放相关的问题,使用的框架是GSYVideoPlayer,使用它的原因是可以很方便的切换播放器内核,系统内核、IJKPlayer内核亦或是exo2Player内核,视频播放的格式不统一,使用这种方式能够更大程度的方便开发工作。为什么要重新编译IJK播放器源码呢?这次是需要做android9.0的适配,播放的视频格式是rtsp,使用的内核是系统内核(M
- 如何像抖音直播一样,从 App 直播间到桌面画中画实现画面无缝切换?丨有问有答
关键帧Keyframe
前一些时间,我在知识星球上创建了一个音视频技术社群:关键帧的音视频开发圈,不少朋友加入并在里面咨询一些音视频相关的技术问题,其中不乏一些开发中普遍遇到的问题,这里我会挑一些放出来供大家参考。如果你也有音视频技术问题想咨询,或者符合下面的情况:在校大学生→学习音视频开发iOS/Android客户端开发→转入音视频领域直播/短视频业务开发→深入音视频底层SDK开发音视频SDK开发→提升技能,解决优化瓶
- Android音视频开发学习——硬解码
Flying Rookie
安卓开发mediacodec音视频
本篇文章较长,记录自己学习安卓中音视频相关知识的笔记。视频帧视频由许多个帧构成,一个帧相当于一张图片。帧率是单位时间内的帧数,决定了视频的流畅度。单位是帧/秒或者framespersecond(fps),越大视频越自然流畅。电影帧率:24,25fps游戏帧率:30,60fps色彩空间是在某些标准下用通常可接受的方式对彩色加以描述。用于彩色监视器和一大类彩色视频摄像。RGBRGB图像具有三个通道R、
- sh脚本工具集锦(文件批量操作、音视频相关)持续更新
zkFun
音视频测试工具shell
1文件夹目录下所有图片转换成视频文件pic_2_videos.sh:#!/bin/bash#放到图片文件夹目录下,把所有jpeg图片推成视频文件#shpic_2_videos.sh0#0:padto1920*1080;1orothernopadpad_1920=$1if[[$pad_1920=0]]thenfiles=`ls|grepjpeg`forfilein$files;do#取图片文件名称f
- 创业公司技术总监,面试大厂,结果凉了
码农突围
就在昨天下午,一个去年我来深圳认识的朋友肖总,之前交流过一些音视频相关的问题。问我最近有没有坑,肖总最近在找工作,相当不顺利,到处碰壁。1、大厂出来后,没有一天不焦虑肖总是做后端出身。之前在oppo呆过3年,后来去平安呆过2年,再后来出来去创业公司做了个小管理,由于后来技术总监跑路了,公司找不到合适的人,让他上去顶位了,title也变成了肖总。早几年,公司发展还不错,那时就打算等公司上市,卖掉期权
- 环信uni-app-demo 升级改造计划——单人&多人音视频通话(三)
环信即时通讯云
uni-app音视频
前序文章:环信uni-appDemo升级改造计划——Vue2迁移到Vue3(一)环信即时通讯SDK集成——环信uni-app-demo升级改造计划——整体代码重构优化(二)概述在将声网uni-app音视频插件正式集成进入环信的uni-app-demo中,标志着本次升级改造至此基本告一段落。在第三期的升级改造中,主要工作为在Demo层形成一个较为容易拆分的有关音视频相关组件,力求第一:代码是否可读、
- 环信uni-app-demo 升级改造计划——单人&多人音视频通话(三)
uni-app
前序文章:环信uni-appDemo升级改造计划——Vue2迁移到Vue3(一)环信即时通讯SDK集成——环信uni-app-demo升级改造计划——整体代码重构优化(二)概述在将声网uni-app音视频插件正式集成进入环信的uni-app-demo中,标志着本次升级改造至此基本告一段落。在第三期的升级改造中,主要工作为在Demo层形成一个较为容易拆分的有关音视频相关组件,力求第一:代码是否可读、
- 随便说点音视频相关的小姿势
_zuyu
来随便讲讲av吧.av就是audio&video这里用直播做栗子吧走一波采样都知道吧?(不知道自己去百度查啊)声音信号,图像信号都是模拟信号,就是连续信号但是我们手机啥的现在都是数字信号,也就是离散信号所以要采样比如一个周期的正弦波正弦波最少采样2个点就能完整的恢复这个波形先讲点非常浅显的有意思的知道人能听到的声音范围大概是多少吧人能听到的声音频率大概是20~20khz知道为啥一般mp3采样率都是
- 音视频开发之旅(30) -音视频基础知识
yabin小站
目录视频播放器原理音频编码基础知识视频编码基础知识资料收获从这篇开始我们进入ffmpeg系列的学习实践,作为开篇,我们先来了解下音视频相关的基础知识。一、视频播放器原理图片来源:[基于FFmpeg+SDL的视频播放器的制作——雷霄骅]雷神的这张图很清晰的说明了视频播放的流程:解封装—》音/视频解压缩—》音视频编码—》音视频裸数据PCM和YUV—》音视频同步处—》音频播放、视频渲染二、音频的基本知识
- 对话音视频牛哥:开发RTSP|RTMP直播播放器难不难?难在哪?
音视频牛哥
流媒体音视频RTSP播放器RTMP播放器WindowsRTSP播放大牛直播SDK
我关注的播放器指标好多开发者跟我交流音视频相关技术的时候,经常问我的问题是,多久可以开发个商业级别的RTMP或RTSP播放器?你们是怎样做到毫秒级延迟的?为什么一个播放器,会被你们做到那么复杂?带着这些疑问,结合Windows平台RTMP、RTSP播放模块,探讨下我的一点心得,不当之处权当抛砖引玉:1.低延迟:大多数RTMP或RTSP的播放都面向直播场景,如果延迟过大,严重影响体验,所以,低延迟是
- 「Python|音视频处理|环境准备」如何在Windows系统下安装并配置音视频处理工具FFmpeg
明仔的阳光午后
python音视频windowsffmpeg
本文主要介绍如何在Windows系统下安装并配置音视频处理工具FFmpeg,方便使用python进行音视频相关的下载或编辑处理。文章目录一、下载软件二、解压并配置三、验证安装一、下载软件首先要去ffmpeg官网下载软件包由于上面直接下载的按钮是.tar.xz格式的。为了下载windows系统中常见的压缩包格式,我们可以鼠标移动到左下角的windows图标上,然后选择下方WindowsEXEFile
- Java实现的简单双向Map,支持重复Value
superlxw1234
java双向map
关键字:Java双向Map、DualHashBidiMap
有个需求,需要根据即时修改Map结构中的Value值,比如,将Map中所有value=V1的记录改成value=V2,key保持不变。
数据量比较大,遍历Map性能太差,这就需要根据Value先找到Key,然后去修改。
即:既要根据Key找Value,又要根据Value
- PL/SQL触发器基础及例子
百合不是茶
oracle数据库触发器PL/SQL编程
触发器的简介;
触发器的定义就是说某个条件成立的时候,触发器里面所定义的语句就会被自动的执行。因此触发器不需要人为的去调用,也不能调用。触发器和过程函数类似 过程函数必须要调用,
一个表中最多只能有12个触发器类型的,触发器和过程函数相似 触发器不需要调用直接执行,
触发时间:指明触发器何时执行,该值可取:
before:表示在数据库动作之前触发
- [时空与探索]穿越时空的一些问题
comsci
问题
我们还没有进行过任何数学形式上的证明,仅仅是一个猜想.....
这个猜想就是; 任何有质量的物体(哪怕只有一微克)都不可能穿越时空,该物体强行穿越时空的时候,物体的质量会与时空粒子产生反应,物体会变成暗物质,也就是说,任何物体穿越时空会变成暗物质..(暗物质就我的理
- easy ui datagrid上移下移一行
商人shang
js上移下移easyuidatagrid
/**
* 向上移动一行
*
* @param dg
* @param row
*/
function moveupRow(dg, row) {
var datagrid = $(dg);
var index = datagrid.datagrid("getRowIndex", row);
if (isFirstRow(dg, row)) {
- Java反射
oloz
反射
本人菜鸟,今天恰好有时间,写写博客,总结复习一下java反射方面的知识,欢迎大家探讨交流学习指教
首先看看java中的Class
package demo;
public class ClassTest {
/*先了解java中的Class*/
public static void main(String[] args) {
//任何一个类都
- springMVC 使用JSR-303 Validation验证
杨白白
springmvc
JSR-303是一个数据验证的规范,但是spring并没有对其进行实现,Hibernate Validator是实现了这一规范的,通过此这个实现来讲SpringMVC对JSR-303的支持。
JSR-303的校验是基于注解的,首先要把这些注解标记在需要验证的实体类的属性上或是其对应的get方法上。
登录需要验证类
public class Login {
@NotEmpty
- log4j
香水浓
log4j
log4j.rootCategory=DEBUG, STDOUT, DAILYFILE, HTML, DATABASE
#log4j.rootCategory=DEBUG, STDOUT, DAILYFILE, ROLLINGFILE, HTML
#console
log4j.appender.STDOUT=org.apache.log4j.ConsoleAppender
log4
- 使用ajax和history.pushState无刷新改变页面URL
agevs
jquery框架Ajaxhtml5chrome
表现
如果你使用chrome或者firefox等浏览器访问本博客、github.com、plus.google.com等网站时,细心的你会发现页面之间的点击是通过ajax异步请求的,同时页面的URL发生了了改变。并且能够很好的支持浏览器前进和后退。
是什么有这么强大的功能呢?
HTML5里引用了新的API,history.pushState和history.replaceState,就是通过
- centos中文乱码
AILIKES
centosOSssh
一、CentOS系统访问 g.cn ,发现中文乱码。
于是用以前的方式:yum -y install fonts-chinese
CentOS系统安装后,还是不能显示中文字体。我使用 gedit 编辑源码,其中文注释也为乱码。
后来,终于找到以下方法可以解决,需要两个中文支持的包:
fonts-chinese-3.02-12.
- 触发器
baalwolf
触发器
触发器(trigger):监视某种情况,并触发某种操作。
触发器创建语法四要素:1.监视地点(table) 2.监视事件(insert/update/delete) 3.触发时间(after/before) 4.触发事件(insert/update/delete)
语法:
create trigger triggerName
after/before 
- JS正则表达式的i m g
bijian1013
JavaScript正则表达式
g:表示全局(global)模式,即模式将被应用于所有字符串,而非在发现第一个匹配项时立即停止。 i:表示不区分大小写(case-insensitive)模式,即在确定匹配项时忽略模式与字符串的大小写。 m:表示
- HTML5模式和Hashbang模式
bijian1013
JavaScriptAngularJSHashbang模式HTML5模式
我们可以用$locationProvider来配置$location服务(可以采用注入的方式,就像AngularJS中其他所有东西一样)。这里provider的两个参数很有意思,介绍如下。
html5Mode
一个布尔值,标识$location服务是否运行在HTML5模式下。
ha
- [Maven学习笔记六]Maven生命周期
bit1129
maven
从mvn test的输出开始说起
当我们在user-core中执行mvn test时,执行的输出如下:
/software/devsoftware/jdk1.7.0_55/bin/java -Dmaven.home=/software/devsoftware/apache-maven-3.2.1 -Dclassworlds.conf=/software/devs
- 【Hadoop七】基于Yarn的Hadoop Map Reduce容错
bit1129
hadoop
运行于Yarn的Map Reduce作业,可能发生失败的点包括
Task Failure
Application Master Failure
Node Manager Failure
Resource Manager Failure
1. Task Failure
任务执行过程中产生的异常和JVM的意外终止会汇报给Application Master。僵死的任务也会被A
- 记一次数据推送的异常解决端口解决
ronin47
记一次数据推送的异常解决
需求:从db获取数据然后推送到B
程序开发完成,上jboss,刚开始报了很多错,逐一解决,可最后显示连接不到数据库。机房的同事说可以ping 通。
自已画了个图,逐一排除,把linux 防火墙 和 setenforce 设置最低。
service iptables stop
- 巧用视错觉-UI更有趣
brotherlamp
UIui视频ui教程ui自学ui资料
我们每个人在生活中都曾感受过视错觉(optical illusion)的魅力。
视错觉现象是双眼跟我们开的一个玩笑,而我们往往还心甘情愿地接受我们看到的假象。其实不止如此,视觉错现象的背后还有一个重要的科学原理——格式塔原理。
格式塔原理解释了人们如何以视觉方式感觉物体,以及图像的结构,视角,大小等要素是如何影响我们的视觉的。
在下面这篇文章中,我们首先会简单介绍一下格式塔原理中的基本概念,
- 线段树-poj1177-N个矩形求边长(离散化+扫描线)
bylijinnan
数据结构算法线段树
package com.ljn.base;
import java.util.Arrays;
import java.util.Comparator;
import java.util.Set;
import java.util.TreeSet;
/**
* POJ 1177 (线段树+离散化+扫描线),题目链接为http://poj.org/problem?id=1177
- HTTP协议详解
chicony
http协议
引言
- Scala设计模式
chenchao051
设计模式scala
Scala设计模式
我的话: 在国外网站上看到一篇文章,里面详细描述了很多设计模式,并且用Java及Scala两种语言描述,清晰的让我们看到各种常规的设计模式,在Scala中是如何在语言特性层面直接支持的。基于文章很nice,我利用今天的空闲时间将其翻译,希望大家能一起学习,讨论。翻译
- 安装mysql
daizj
mysql安装
安装mysql
(1)删除linux上已经安装的mysql相关库信息。rpm -e xxxxxxx --nodeps (强制删除)
执行命令rpm -qa |grep mysql 检查是否删除干净
(2)执行命令 rpm -i MySQL-server-5.5.31-2.el
- HTTP状态码大全
dcj3sjt126com
http状态码
完整的 HTTP 1.1规范说明书来自于RFC 2616,你可以在http://www.talentdigger.cn/home/link.php?url=d3d3LnJmYy1lZGl0b3Iub3JnLw%3D%3D在线查阅。HTTP 1.1的状态码被标记为新特性,因为许多浏览器只支持 HTTP 1.0。你应只把状态码发送给支持 HTTP 1.1的客户端,支持协议版本可以通过调用request
- asihttprequest上传图片
dcj3sjt126com
ASIHTTPRequest
NSURL *url =@"yourURL";
ASIFormDataRequest*currentRequest =[ASIFormDataRequest requestWithURL:url];
[currentRequest setPostFormat:ASIMultipartFormDataPostFormat];[currentRequest se
- C语言中,关键字static的作用
e200702084
C++cC#
在C语言中,关键字static有三个明显的作用:
1)在函数体,局部的static变量。生存期为程序的整个生命周期,(它存活多长时间);作用域却在函数体内(它在什么地方能被访问(空间))。
一个被声明为静态的变量在这一函数被调用过程中维持其值不变。因为它分配在静态存储区,函数调用结束后并不释放单元,但是在其它的作用域的无法访问。当再次调用这个函数时,这个局部的静态变量还存活,而且用在它的访
- win7/8使用curl
geeksun
win7
1. WIN7/8下要使用curl,需要下载curl-7.20.0-win64-ssl-sspi.zip和Win64OpenSSL_Light-1_0_2d.exe。 下载地址:
http://curl.haxx.se/download.html 请选择不带SSL的版本,否则还需要安装SSL的支持包 2. 可以给Windows增加c
- Creating a Shared Repository; Users Sharing The Repository
hongtoushizi
git
转载自:
http://www.gitguys.com/topics/creating-a-shared-repository-users-sharing-the-repository/ Commands discussed in this section:
git init –bare
git clone
git remote
git pull
git p
- Java实现字符串反转的8种或9种方法
Josh_Persistence
异或反转递归反转二分交换反转java字符串反转栈反转
注:对于第7种使用异或的方式来实现字符串的反转,如果不太看得明白的,可以参照另一篇博客:
http://josh-persistence.iteye.com/blog/2205768
/**
*
*/
package com.wsheng.aggregator.algorithm.string;
import java.util.Stack;
/**
- 代码实现任意容量倒水问题
home198979
PHP算法倒水
形象化设计模式实战 HELLO!架构 redis命令源码解析
倒水问题:有两个杯子,一个A升,一个B升,水有无限多,现要求利用这两杯子装C
- Druid datasource
zhb8015
druid
推荐大家使用数据库连接池 DruidDataSource. http://code.alibabatech.com/wiki/display/Druid/DruidDataSource DruidDataSource经过阿里巴巴数百个应用一年多生产环境运行验证,稳定可靠。 它最重要的特点是:监控、扩展和性能。 下载和Maven配置看这里: http
- 两种启动监听器ApplicationListener和ServletContextListener
spjich
javaspring框架
引言:有时候需要在项目初始化的时候进行一系列工作,比如初始化一个线程池,初始化配置文件,初始化缓存等等,这时候就需要用到启动监听器,下面分别介绍一下两种常用的项目启动监听器
ServletContextListener
特点: 依赖于sevlet容器,需要配置web.xml
使用方法:
public class StartListener implements
- JavaScript Rounding Methods of the Math object
何不笑
JavaScriptMath
The next group of methods has to do with rounding decimal values into integers. Three methods — Math.ceil(), Math.floor(), and Math.round() — handle rounding in differen