- 秀一秀,机器人的金鸡独立
千越创客老师
贵阳市第三实验小学的第7次课程开始啦。恰逢学校的校运会,校园操场上活跃着同学们矫健的身影,机器人教室里端坐着投入的小机器人迷们。由于有部分同学缺席本次课程,孙老师决定让大家复习巩固一下之前学习的内容。前排的同学们专注的小眼神机器人“速度”和“延迟”的单词我们上个星期才学过,可能记得不是很牢固,但我们有妙招,做个小笔记写在本子上时不时翻看一下,请老师帮忙写在小手上,反复多看几次就记住啦。边看笔记边观
- 菜鸟季:面试前做好这3点,拿到offer的概率轻松提高80%!
菜鸟季
这周,菜菜从面试前、面试中和面试后三个部分来和同学们讲讲面试的技巧还有方法。今天的内容是面试前的准备技巧,同学们记得做好小笔记!(偷偷的告诉你,文末有小福利哦!)一、面试前发个短信在面试之前,记得给HR发个消息,注明名字和面试岗位。在面试结束之后,再发个消息表示感谢,加深HR对你的印象,并且暗示自己在等对方的答复!这个小套路能为你的面试加分哦,可以说是屡试不爽!二、不要忘记带上简历有些公司要求面试
- 20181226觉察小笔记
显弹
图片发自App如果我们认真的去写日记,就会发现,今日的信息量,蛮大。我们是否有深入的品质。一段深入的关系?一件能做深入的事。而深入就意味着专注意味着临在。稳定,持续。#关系现在方才体会到一个细节,由此体会到,什么叫做去照顾别人的需求。这是一件要用心去细微体会的事。而我的心,大概粗大得像油条的孔还有,什么叫,“多去体会我们和我。”天可怜见,我们以为我们懂了,其实就是资讯,是理智上懂了,哦,你说的很有
- 生活中的二三小确幸
一只耳洞的仙女呀
大学前两年一直有个习惯,每天记录三件让自己开心的事。你知道的,这种流水账小笔记,再翻看的时候,心底里会笑从前的自己傻,但却也真真实实的能留住很多快乐时光。看着潦草的字迹,想起那时的自己,趴在教室的桌子上,图书馆的走廊里,乱作一团的床上,像个小孩虔诚许愿般记录自己的小快乐。带给我快乐的有自己,有他人,这些小到会被轻易忽略的事,实实在在地温暖着那个小女孩。工作后,生活三点一线,固定的路线、固定的人,根
- 学习小笔记
星亮晨雨
图片发自App今天时间仓促,简短的做了一个思维导图笔记,把今天的知识小分享总结了一下。现如今,高端室内设计三大主材之一,铝单板运用的非常广泛,今天就跟大家一起浅析,有关铝板的小知识。详细内容可见导图。今日的感悟是:越学习越觉得专业知识欠缺的越多,越想学的多一点。可是通过一段时间的进展,发现自己有些急促。凡事都需要慢慢来,一口吃不成一个胖子。所以我需要循序渐进的给自己设定学习目标和计划,一步一步来。
- 10分钟快速入门正则表达式
程序员大雨
数据库
在力扣上看了一本付费书籍,终于让我入门了正则表达事...问题:"^1[3-9]\\d{9}$"是啥意思读完本篇小笔记,你就知道,啥是"^1[3-9]\\d{9}$"这个是啥意思了。首先,正则表达式,这个名字很拗口。其实,它是“正规、规则”的意思。常用来匹配字符串,看字符串,是否符号某种规则。这样一说,你是不是就明白了?其次,^和$是表示正则表达式的开头和结尾。这个理解起来也不难的对吧?接着,我们先
- 【Kotlin小笔记】kotlin中的小技巧
Rose J
Kotlin学习androidkotlin
本文目录kotlin学习-魔术类小技巧1.字符串内嵌表达式2.函数的参数默认值kotlin学习-魔术类小技巧1.字符串内嵌表达式不需要像Java那样去拼接字符串,而是可以直接将表达式写在字符串里面funmain(){valname="Diana"valage=12println("name=$name,age=$age")}输出:name=Diana,age=122.函数的参数默认值我们可以在定义
- 老款MacBook退役之前,请给我一分钟考察这款超小笔记本
笔点酷玩
不止手机更新换代快,笔记本产品也很容易新人胜旧人。老款MacBook退役之前,我既考虑过入手新的苹果笔记本,也有考察一下其他品牌的想法。不看不要紧,一看就惊煞人,距离我的旧本本入手时间已经有三年多,市面上有多了许多值得入手的商务风超薄本,而今天我跟大伙聊的这款,则是号称目前全球最为小巧的超极本。配置高,便携度更好,能把超级本做成这样,把偏爱颜值的妹子套牢也在情理之中。这款全球最小超薄本来自我国深圳
- 大变衣橱!从脏乱差到“样板间”,只需这几步轻松搞定不复乱
井井收纳
上一期我们聊了家庭整理物品该如何分类,相信大家对物品的大致分类有了一个基本的了解,那么今天我们来聊一聊衣橱如何整理才能达到自己心里预期的效果吧~阅读所需时间:6分46秒(干货比较多,可以边听音乐边看哦,还可以做个小笔记)01—我的内心独白衣橱整理一直是困扰我们最多的一个问题,因为它的使用频率是最高的一个,最最最困扰我们的应该是收拾完看着很整齐,却禁不住拿这个动作吧。曾经这个问题也困扰了我很久,每一
- Java学习笔记2024/1/28
Angus1648
学习笔记java
前言:我的学习方法就是边学边记笔记,大笔记就是写博客,小笔记就是代码的注释,在笔记当中,我加入了绝大部分自己的见解,拒绝生搬硬照,我认为这才是真正的笔记,有自己的理解,有自己的灵魂,而不是一味地CtrlcCtrlv。如果你们想借鉴我的笔记,温馨提示:一定要看注释,我的思考过程就在注释当中。最后送大家两句话:1.学我者生,似我者寄(去搜它的意思)2.你看懂了,不去写,其实你还是不懂。1.运算符(还没
- [Scala学习笔记] Spark开发小笔记
Rinnki
Scala笔记学习笔记ScalaSpark图
Spark开发小笔记:从0开始的Spark建图生活持续更新中……0.开发平台Zeppelin支持多种语言,默认是scala(背后是sparkshell),SparkSQL,Markdown和Shell。是一个基于web的笔记本,支持交互式数据分析。你可以用SQL、Scala等做出数据驱动的、交互、协作的文档。1.RDDSpark里的计算都是操作RDD进行,那么学习RDD的第一个问题就是如何构建RD
- 兼职(二)
大灰狼爱吃羊
梧桐休息的时候,带上堂姐,按照阿姨们说的路线,去到义乌小商品批发市场。。。哇塞,批发市场好多东西,确实比商店里面买的便宜。。但是进什么货卖呢,毕竟手里的钱有限,梧桐就进了一些价格比较便宜的东西,比如:皮筋、指甲刀、掏耳勺、钥匙链、小镜子、梳子、头饰、戒指、耳环、耳钉、项链、手镯、补丁贴、耳机、充电器、数据线、小笔记本、套装笔等。。但是定价是多少呢,不能比商店贵,所以以进价的一倍为出售定价。进了这些
- 一起向未来,燃情冬梦
c3c37c8d2708
1月4日曲阜师范大学管理学院燃情冬梦社会实践队赴日照港中学调查中学生对冬奥会认知程度并普及相关知识:实践队与时俱进地制作了一份以冬奥会为主题适合中学生的调查问卷,制作了墨香风格的课件,加入视频、歌曲,融入中国古典传统文化元素,借助科技力量,课件有着灵动活泼的特点。活动开始一周前采购了修正带、小笔记本、荧光笔、棉花糖等学习和生活用品。综合考虑疫情防控总体要求,积极响应国家“疫情就是命令,防控就是责任
- opencv小笔记(IndexError: too many indices for array分析和UserWarning:missing from current font分析)
欣欣物自私
opencvpython图像处理学习
今天在测试下边代码时出现了报错IndexError:toomanyindicesforarray:arrayis2-dimensional,but3wereindexed这段报错的意思是索引错误:数组的索引过多:数组是二维的,但有3个索引在将matplotlib部分的代码注释掉,只选择用cv.imshow来展示图片时,没有出现报错。importnumpyasnpimportcv2ascvimpor
- 小笔记:关于坚持
白荆溪
李笑来的专栏,这一期讲的是重新理解“坚持”这个概念。坚持这个概念在我们生活中很常见,但也只出现在某些领域里。因为那些让人心情愉悦、满心欢喜地做的事情从来都是不需要坚持的。我们几乎不肯听到小孩子会说我决心坚持每天吃巧克力、冰淇淋、麦当劳,又或者决心坚持每天玩游戏,因为这都是他们心心念念想吃想玩、有时候甚至拦都拦不住的东西,这些是从来都不需要坚持的。只有那些我们理智上认为应该做、但是我们内心里实在不想
- JavaSE小笔记--05数组和传参问题
XiaodunLP
javaSE
1.数组初步数组——为了存储同种数据类型的多个值数组概念数组是存储同一种数据类型多个元素的集合。数组可以看作容器。数组既可以存储基本数据类型,也可以存储引用数据类型常用数组定义格式(动态)数据类型[]数组名=new数据类型[数组的长度];(例如int[]arr=newint[6];)数组的初始化之动态初始化数组的初始化——为数组开辟连续的内存空间,并为每个数组元素赋值动态初始化——只指定长度,由系
- 【unity设置】导入hdr图并设置为天空盒
misaka12807
unity之路unity游戏引擎贴图材质图形渲染
在IBL笔记前,我们都知道IBL是通过环境来作为间接全局光赋予irradiance。那么首先我们需要导入一张hdr图并将其设置为环境贴图(天空盒)。这种图片多的小tips放在正文中过于臃肿,这边还是单独拿出来一篇小笔记。1.下载HDR贴图首先我们得找到合适的hdr贴图,这里推荐从这个网站下载。无需注册点击就送,非常的绿色。免费的HDR图-HDRIHub甚至可以商用,适用于各路卷王来做点demo。2
- C++游戏开发小笔记
风中追风FF
c++开发语言
1.入门小语法1.1命名空间当想使用库文件的某个函数时,为了防止由于重名而引起的混乱调用,使用命名空间来区分同名函数。字符串String也是标准命名空间的一个。如果没有usingnamespacestd;想用string类型得std::string1.2浮点数的存储如果定义7298为一个浮点数,那么计算机存储它时,会自动将它存储为7.298e31.3作用域一个大的花括号被称之为一个块,这个块被称作
- 阅读日记40--《小团圆》第4~6章 - 草稿
秋牛
今日阅读张爱玲的《小团圆》第4~6章,P133~P190,计58面。第4、5这两个章节主要写九莉的感情史。叙述写法跟先前一样,为了不花冤枉时间,我特意边阅读边在便签纸上做个小笔记,以防忘记。竺家表大爷是九莉奶奶的侄子,绪哥哥是表大爷跟他三姨太的丫头生的,绪哥哥出生后,三姨太就赶走了丫头,所以绪哥哥很恨三姨太,但对表大妈却很好。楚娣喜欢绪哥哥,而绪哥哥却跟维嫂嫂好上了。维哥哥跟绪哥哥是嫡堂亲,嫡堂小
- 画图版医学生小笔记(不定期更新)
0奕0
昨天回家了,因为疫情,连续上了一个多月的班,现在疫情趋于稳定,慢慢的稍微放开了些。趁着空闲时间,回去见见父母,聊聊天,放松放松。昨天晚上我们的大虎见(福建省),已经清0了呢,好开心。不得不说,中国好样的,中国真棒!我们都作为中华儿女,都特别的骄傲和自豪。其他省份也慢慢的好转了,现在治愈率越来越高,死亡率都下降了好多。现在已经有五个省份清0了。我相信,离我们胜利的日子不远了!今天我们继续呼吸系统的大
- C#图解教程(第四版)小笔记——反射和特性
蓝吹则友
C#小笔记c#
元数据和反射元数据(metadata):有关程序及其类型的数据,保存在程序集中。反射(reflection):一个运行的程序查看自身或其他程序的元数据。需要使用System.Reflection命名空间。BCL中声明了一个叫做Type的抽象类,包含了类型的特性。使用这个类的对象能获取程序使用的类型的信息。Type是抽象类,实际上访问的是CLR创建的Type(RuntimeType)的派生类。程序中
- 小笔记:沉下去,沉下去
白荆溪
施展《中国史纲50讲》第15讲“鲜卑人如何为隋唐打下基础”,有这么一小段话:“当胡太后还在洛阳胡作非为的时候,一个出身怀朔镇的小兵偶然来到洛阳送信,他看到洛阳的乱象,认定天下即将大乱,该是成大事的时候了。他回到怀朔就散尽家财,募集英雄。这个小兵叫高欢。后来就是他主导成立了东魏。”这段话初读来平淡之极。但仔细想想,却觉得竟是动魄惊心。一个军镇出来身份低微的小兵来到当时的帝国中心洛阳,那是怎么轻易地看
- 自信做自己♡幸福成长日记
曾增德
小成就1、连续打卡第八天。2、连续盯着电脑5个小时了,完全感觉不到累。3、听网课《社交关系中,成为沟通高手的三句话》。准备听完三节课后,整理一份小笔记。小幸福1、会感觉到冷。2、奢侈了下,买了一块排骨炖汤来喝。3、吃了一个又大又甜的梨。感受生活,用心记录。今天你有比昨天更进步一点点了吗?
- 【小笔记】时序数据分类算法最新小结
落叶阳光
算法篇笔记算法时序数据
2024.1.15最近基于时序数据训练分类算法,对其进行了一番了解,主要围绕以下几点:时序数据算法有哪些细分类?时序数据分类算法经典模型?当下时序分类算法模型强baseline?有没有现成的工具?1.时序数据算法有哪些细分类?时序数据(TimeSeries)简称TS其包括两类算法:时间序列预测(TimeSeriesForecast,TSF)根据过去的时间序列预测未来一段时间的序列。eg:股价预测时
- 【小笔记】算法基础超参数调优思路
落叶阳光
笔记算法机器学习深度学习
【学而不思则罔,思维不学则怠】9.29本文总结一下常见的一些超参数调优思路Batch_size2023.9.29简单来说,较大的bz可以加快训练速度,特别是基于GPU进行模型训练时,应该在显存允许范围内,尽量使用较大的bz。两个极端:假设内存/显存足够大,每次都是使用全量数据进行梯度计算,此时训练效率最高,但训练极容易陷入鞍点(局部最优)而无法跳出,表现出来就是loss还比较高,但是已经开始收敛了
- 【小笔记】用tsai库实现Rocket家族算法
落叶阳光
算法篇笔记算法rockettsai时间序列分类
2024.1.16Rocket家族算法是用于时间序列分类的强baseline(性能比较参考【小笔记】时序数据分类算法最新小结),Rocket/MiniRocket/MultiRocket官方都有开源实现,相比较而言,用tsai来实现有三个好处:1是快速跑通模型;2是更简洁优雅;3是掌握一个框架能举一反三。1.tsai简介项目:https://github.com/timeseriesAI/tsai
- Android中moveTo、lineTo、quadTo、cubicTo、arcTo的意思
拿什么拯救我的代码
android画图经常用到这几个什么什么To,所以来做个小笔记,记录下moveTo、lineTo、quadTo、cubicTo、arcTo的作用,在自定义view的时候经常用到。1、moveTomoveTo不会进行绘制,只用于移动移动画笔。2、lineTolineTo用于进行直线绘制。mPath.lineTo(300,300);canvas.drawPath(mPath,mPaint);默认从坐标
- 小笔记:vue3中v-for循环ts报错,item中不存在XXX属性
‹_c.c. ⁾
笔记vue.jsjavascript
再学习vue3时,发现item报错,上百度后发现一方法得以解决粘在此处做个日志typeitem={id:string;title:string;description:string;};constprops=defineProps({testMsg:{type:ArrayasunknownasPropType,default:()=>[{id:"thereisid",title:"thereist
- [笔记]ShaderGraph制作一个类似浸没、覆盖的变色效果
超龄魔法少女
笔记unity
新的知识点,新的小笔记(*╹▽╹*)这篇要记录的是利用对象的世界坐标或者参数改变shader状态,演示的是一个类似入水的效果。新建一个Position节点给BaseColor,可以看到动图所示:向X轴移动时,Cube会变红;向Z轴移动时,Cube会变蓝;向Y轴移动时,Cube会变绿。以X轴方向举例,可以看到wv(WorldVert)坐标下的x大于1,且明显大于y,z。故而Cube变成了红色,其他方
- CSS选择器小笔记
e7182818
#CSS学习笔记css笔记前端
我学CSS选择器的小记录CSS选择器?听起来好高级哦,但其实就是用来选我想美化的HTML元素的工具啦,和化妆差不多。了解不同种类的选择器后,我就能随心所欲地调整页面样式啦!CSS选择器的小概览哇,CSS选择器有好多种类呢,每种都有它特别的用法哦:简单选择器:就是根据元素名、ID或类来选取。组合选择器:这个厉害了,可以根据元素之间的关系来一起选取。伪类选择器:选那些特定状态的元素,比如鼠标悬停、被点
- 辗转相处求最大公约数
沐刃青蛟
C++漏洞
无言面对”江东父老“了,接触编程一年了,今天发现还不会辗转相除法求最大公约数。惭愧惭愧!
为此,总结一下以方便日后忘了好查找。
1.输入要比较的两个数a,b
忽略:2.比较大小(因为后面要的是大的数对小的数做%操作)
3.辗转相除(用循环不停的取余,如a%b,直至b=0)
4.最后的a为两数的最大公约数
&
- F5负载均衡会话保持技术及原理技术白皮书
bijian1013
F5负载均衡
一.什么是会话保持? 在大多数电子商务的应用系统或者需要进行用户身份认证的在线系统中,一个客户与服务器经常经过好几次的交互过程才能完成一笔交易或者是一个请求的完成。由于这几次交互过程是密切相关的,服务器在进行这些交互过程的某一个交互步骤时,往往需要了解上一次交互过程的处理结果,或者上几步的交互过程结果,服务器进行下
- Object.equals方法:重载还是覆盖
Cwind
javagenericsoverrideoverload
本文译自StackOverflow上对此问题的讨论。
原问题链接
在阅读Joshua Bloch的《Effective Java(第二版)》第8条“覆盖equals时请遵守通用约定”时对如下论述有疑问:
“不要将equals声明中的Object对象替换为其他的类型。程序员编写出下面这样的equals方法并不鲜见,这会使程序员花上数个小时都搞不清它为什么不能正常工作:”
pu
- 初始线程
15700786134
暑假学习的第一课是讲线程,任务是是界面上的一条线运动起来。
既然是在界面上,那必定得先有一个界面,所以第一步就是,自己的类继承JAVA中的JFrame,在新建的类中写一个界面,代码如下:
public class ShapeFr
- Linux的tcpdump
被触发
tcpdump
用简单的话来定义tcpdump,就是:dump the traffic on a network,根据使用者的定义对网络上的数据包进行截获的包分析工具。 tcpdump可以将网络中传送的数据包的“头”完全截获下来提供分析。它支 持针对网络层、协议、主机、网络或端口的过滤,并提供and、or、not等逻辑语句来帮助你去掉无用的信息。
实用命令实例
默认启动
tcpdump
普通情况下,直
- 安卓程序listview优化后还是卡顿
肆无忌惮_
ListView
最近用eclipse开发一个安卓app,listview使用baseadapter,里面有一个ImageView和两个TextView。使用了Holder内部类进行优化了还是很卡顿。后来发现是图片资源的问题。把一张分辨率高的图片放在了drawable-mdpi文件夹下,当我在每个item中显示,他都要进行缩放,导致很卡顿。解决办法是把这个高分辨率图片放到drawable-xxhdpi下。
&nb
- 扩展easyUI tab控件,添加加载遮罩效果
知了ing
jquery
(function () {
$.extend($.fn.tabs.methods, {
//显示遮罩
loading: function (jq, msg) {
return jq.each(function () {
var panel = $(this).tabs(&
- gradle上传jar到nexus
矮蛋蛋
gradle
原文地址:
https://docs.gradle.org/current/userguide/maven_plugin.html
configurations {
deployerJars
}
dependencies {
deployerJars "org.apache.maven.wagon
- 千万条数据外网导入数据库的解决方案。
alleni123
sqlmysql
从某网上爬了数千万的数据,存在文本中。
然后要导入mysql数据库。
悲剧的是数据库和我存数据的服务器不在一个内网里面。。
ping了一下, 19ms的延迟。
于是下面的代码是没用的。
ps = con.prepareStatement(sql);
ps.setString(1, info.getYear())............;
ps.exec
- JAVA IO InputStreamReader和OutputStreamReader
百合不是茶
JAVA.io操作 字符流
这是第三篇关于java.io的文章了,从开始对io的不了解-->熟悉--->模糊,是这几天来对文件操作中最大的感受,本来自己认为的熟悉了的,刚刚在回想起前面学的好像又不是很清晰了,模糊对我现在或许是最好的鼓励 我会更加的去学 加油!:
JAVA的API提供了另外一种数据保存途径,使用字符流来保存的,字符流只能保存字符形式的流
字节流和字符的难点:a,怎么将读到的数据
- MO、MT解读
bijian1013
GSM
MO= Mobile originate,上行,即用户上发给SP的信息。MT= Mobile Terminate,下行,即SP端下发给用户的信息;
上行:mo提交短信到短信中心下行:mt短信中心向特定的用户转发短信,你的短信是这样的,你所提交的短信,投递的地址是短信中心。短信中心收到你的短信后,存储转发,转发的时候就会根据你填写的接收方号码寻找路由,下发。在彩信领域是一样的道理。下行业务:由SP
- 五个JavaScript基础问题
bijian1013
JavaScriptcallapplythisHoisting
下面是五个关于前端相关的基础问题,但却很能体现JavaScript的基本功底。
问题1:Scope作用范围
考虑下面的代码:
(function() {
var a = b = 5;
})();
console.log(b);
什么会被打印在控制台上?
回答:
上面的代码会打印 5。
&nbs
- 【Thrift二】Thrift Hello World
bit1129
Hello world
本篇,不考虑细节问题和为什么,先照葫芦画瓢写一个Thrift版本的Hello World,了解Thrift RPC服务开发的基本流程
1. 在Intellij中创建一个Maven模块,加入对Thrift的依赖,同时还要加上slf4j依赖,如果不加slf4j依赖,在后面启动Thrift Server时会报错
<dependency>
- 【Avro一】Avro入门
bit1129
入门
本文的目的主要是总结下基于Avro Schema代码生成,然后进行序列化和反序列化开发的基本流程。需要指出的是,Avro并不要求一定得根据Schema文件生成代码,这对于动态类型语言很有用。
1. 添加Maven依赖
<?xml version="1.0" encoding="UTF-8"?>
<proj
- 安装nginx+ngx_lua支持WAF防护功能
ronin47
需要的软件:LuaJIT-2.0.0.tar.gz nginx-1.4.4.tar.gz &nb
- java-5.查找最小的K个元素-使用最大堆
bylijinnan
java
import java.util.Arrays;
import java.util.Random;
public class MinKElement {
/**
* 5.最小的K个元素
* I would like to use MaxHeap.
* using QuickSort is also OK
*/
public static void
- TCP的TIME-WAIT
bylijinnan
socket
原文连接:
http://vincent.bernat.im/en/blog/2014-tcp-time-wait-state-linux.html
以下为对原文的阅读笔记
说明:
主动关闭的一方称为local end,被动关闭的一方称为remote end
本地IP、本地端口、远端IP、远端端口这一“四元组”称为quadruplet,也称为socket
1、TIME_WA
- jquery ajax 序列化表单
coder_xpf
Jquery ajax 序列化
checkbox 如果不设定值,默认选中值为on;设定值之后,选中则为设定的值
<input type="checkbox" name="favor" id="favor" checked="checked"/>
$("#favor&quo
- Apache集群乱码和最高并发控制
cuisuqiang
apachetomcat并发集群乱码
都知道如果使用Http访问,那么在Connector中增加URIEncoding即可,其实使用AJP时也一样,增加useBodyEncodingForURI和URIEncoding即可。
最大连接数也是一样的,增加maxThreads属性即可,如下,配置如下:
<Connector maxThreads="300" port="8019" prot
- websocket
dalan_123
websocket
一、低延迟的客户端-服务器 和 服务器-客户端的连接
很多时候所谓的http的请求、响应的模式,都是客户端加载一个网页,直到用户在进行下一次点击的时候,什么都不会发生。并且所有的http的通信都是客户端控制的,这时候就需要用户的互动或定期轮训的,以便从服务器端加载新的数据。
通常采用的技术比如推送和comet(使用http长连接、无需安装浏览器安装插件的两种方式:基于ajax的长
- 菜鸟分析网络执法官
dcj3sjt126com
网络
最近在论坛上看到很多贴子在讨论网络执法官的问题。菜鸟我正好知道这回事情.人道"人之患好为人师" 手里忍不住,就写点东西吧. 我也很忙.又没有MM,又没有MONEY....晕倒有点跑题.
OK,闲话少说,切如正题. 要了解网络执法官的原理. 就要先了解局域网的通信的原理.
前面我们看到了.在以太网上传输的都是具有以太网头的数据包. 
- Android相对布局属性全集
dcj3sjt126com
android
RelativeLayout布局android:layout_marginTop="25dip" //顶部距离android:gravity="left" //空间布局位置android:layout_marginLeft="15dip //距离左边距
// 相对于给定ID控件android:layout_above 将该控件的底部置于给定ID的
- Tomcat内存设置详解
eksliang
jvmtomcattomcat内存设置
Java内存溢出详解
一、常见的Java内存溢出有以下三种:
1. java.lang.OutOfMemoryError: Java heap space ----JVM Heap(堆)溢出JVM在启动的时候会自动设置JVM Heap的值,其初始空间(即-Xms)是物理内存的1/64,最大空间(-Xmx)不可超过物理内存。
可以利用JVM提
- Java6 JVM参数选项
greatwqs
javaHotSpotjvmjvm参数JVM Options
Java 6 JVM参数选项大全(中文版)
作者:Ken Wu
Email:
[email protected]
转载本文档请注明原文链接 http://kenwublog.com/docs/java6-jvm-options-chinese-edition.htm!
本文是基于最新的SUN官方文档Java SE 6 Hotspot VM Opt
- weblogic创建JMC
i5land
weblogicjms
进入 weblogic控制太
1.创建持久化存储
--Services--Persistant Stores--new--Create FileStores--name随便起--target默认--Directory写入在本机建立的文件夹的路径--ok
2.创建JMS服务器
--Services--Messaging--JMS Servers--new--name随便起--Pers
- 基于 DHT 网络的磁力链接和BT种子的搜索引擎架构
justjavac
DHT
上周开发了一个磁力链接和 BT 种子的搜索引擎 {Magnet & Torrent},本文简单介绍一下主要的系统功能和用到的技术。
系统包括几个独立的部分:
使用 Python 的 Scrapy 框架开发的网络爬虫,用来爬取磁力链接和种子;
使用 PHP CI 框架开发的简易网站;
搜索引擎目前直接使用的 MySQL,将来可以考虑使
- sql添加、删除表中的列
macroli
sql
添加没有默认值:alter table Test add BazaarType char(1)
有默认值的添加列:alter table Test add BazaarType char(1) default(0)
删除没有默认值的列:alter table Test drop COLUMN BazaarType
删除有默认值的列:先删除约束(默认值)alter table Test DRO
- PHP中二维数组的排序方法
abc123456789cba
排序二维数组PHP
<?php/*** @package BugFree* @version $Id: FunctionsMain.inc.php,v 1.32 2005/09/24 11:38:37 wwccss Exp $*** Sort an two-dimension array by some level
- hive优化之------控制hive任务中的map数和reduce数
superlxw1234
hivehive优化
一、 控制hive任务中的map数: 1. 通常情况下,作业会通过input的目录产生一个或者多个map任务。 主要的决定因素有: input的文件总个数,input的文件大小,集群设置的文件块大小(目前为128M, 可在hive中通过set dfs.block.size;命令查看到,该参数不能自定义修改);2. 
- Spring Boot 1.2.4 发布
wiselyman
spring boot
Spring Boot 1.2.4已于6.4日发布,repo.spring.io and Maven Central可以下载(推荐使用maven或者gradle构建下载)。
这是一个维护版本,包含了一些修复small number of fixes,建议所有的用户升级。
Spring Boot 1.3的第一个里程碑版本将在几天后发布,包含许多