- 10月|愿你的青春不负梦想-读书笔记-01
Tracy的小书斋
本书的作者是俞敏洪,大家都很熟悉他了吧。俞敏洪老师是我行业的领头羊吧,也是我事业上的偶像。本日摘录他书中第一章中的金句:『一个人如果什么目标都没有,就会浑浑噩噩,感觉生命中缺少能量。能给我们能量的,是对未来的期待。第一件事,我始终为了进步而努力。与其追寻全世界的骏马,不如种植丰美的草原,到时骏马自然会来。第二件事,我始终有阶段性的目标。什么东西能给我能量?答案是对未来的期待。』读到这里的时候,我便
- Linux下QT开发的动态库界面弹出操作(SDL2)
13jjyao
QT类qt开发语言sdl2linux
需求:操作系统为linux,开发框架为qt,做成需带界面的qt动态库,调用方为java等非qt程序难点:调用方为java等非qt程序,也就是说调用方肯定不带QApplication::exec(),缺少了这个,QTimer等事件和QT创建的窗口将不能弹出(包括opencv也是不能弹出);这与qt调用本身qt库是有本质的区别的思路:1.调用方缺QApplication::exec(),那么我们在接口
- 没有一件绝对好看的衣服
段童
没有一件绝对好看的衣服只有好看的人没有绝对好看的人只有你可能会爱上的他没有你绝对会爱上的他只有你从来就缺少的那一部分的自己爱是本能的脆弱是欲望的茧——《没有一件绝对好看的衣服》
- 快节奏
地方天圆
现在生活都是快节奏,使人来不及品味生活中的酸甜苦辣。交通、通讯、办公条件的高度发达,缩短了距离,节省了时间,提高了效率,但同时也使人成为缺少思考的动物,成为流水线上的一道工序。人人都有干不完的活、接不完的电话、参加不完的应酬。工作,急匆匆;办事,急匆匆;走路,急匆匆;吃饭,急匆匆;走亲串友,急匆匆;就连说话、甚至睡觉也都是急匆匆。快节奏的环境,使我们养成了快节奏的思维、习惯、心态,很难静下心来,认
- 2019-08-05
你站在桥上看风景_2ae1
昨天学习分享了意想不到。有句话说得好,道不远人。就是说真理和美好的事情就在我们身边发生着,我们缺少的是发现美好事物和真理的心。世俗让我们的心钝化了,对这个世界没有了好奇也没有敏感性和感知力。天地是长生的,我们的心要虚心实腹,这样才能像天地一样在每秒每分钟不断的自我更新中长生不死,生理的细胞有衰落有新生,人的心理和精神也在发生着更新交替,每一天都是新的每一秒都是新的,只要心不死,一切都是那么的奇妙。
- 商希峰||援坦漫记(21)培训结束
商希峰
为期两周的培训结束,下周就开始正式上班了。这个NPC(NewPaediatricComplex)就是以后工作的地方了。图片发自App算起来,这两周经历的事情真不少,已初步适应时间、气侯、社会关系、工作场合和制度;不同地域、不同人种、不同健康卫生体系在共同职业条件下的特别感受,以及如何来应对缺少设备和仪器条件下对更复杂疾病的救治;语言能力也得到了很好的适应,尤其是在许多场合都会遇到几位会讲一点中文的
- 2024年最全Flutter如何和Native通信-Android视角,Electron开发Android界面
2401_84544531
程序员android面试学习
总结【Android详细知识点思维脑图(技能树)】其实Android开发的知识点就那么多,面试问来问去还是那么点东西。所以面试没有其他的诀窍,只看你对这些知识点准备的充分程度。so,出去面试时先看看自己复习到了哪个阶段就好。虽然Android没有前几年火热了,已经过去了会四大组件就能找到高薪职位的时代了。这只能说明Android中级以下的岗位饱和了,现在高级工程师还是比较缺少的,很多高级职位给的薪
- 班主任修炼之放下身段
任米荣
二班好像得了瘟疫,扩散很快!上周有一位学生没有写作业,我批评了,让他补完,谁知第二天检查时,他居然没有补,而且还传染了两个。在教育缺少戒尺的尴尬地位中,我只好是苦口婆心,好言相劝,谁知根本不顶用,每天好话说一箩筐,可是效果非但没有,反倒像像感染了瘟疫一样,今天不写作业的学生由先前的一个到今天的八个。当课代表将没写完作业的学生名单给我时,我很无奈,准备好好说说。图片发自App当我走上讲台,发现讲桌上
- 平凡的一天
奕玖安
办公室在B2,不见阳光,没有新鲜的空气流通,我总感觉天是阴沉的,因为缺少了阳光的照射和味道。不知道是哪位大神,每天执着的把空调开的很低,以至于我都不敢换新的夏装工服。网上订购了祛湿茶,替换了我一直喝的铁观音,习惯一旦养成不容易改变,我不太适应,今天感觉体温偏高,测温后已接近37度,赶紧吃了点药。中午回家吃饭,走出大厦,我近乎贪婪的呼吸,不会觉得烈日炎炎,感受到那丝鲜活。为了避免久坐,下午自己找事情
- 觉察日记11.26
无限可能abc
真的天天在家的日子真是折磨,我无所事事的呆着,虽说每天在听得到,但是感觉只是例行每天的任务,我在想我生存的意义。我其实一直想成为一名作家,也觉得想成为作家并不容易。我的每天不断地写作,只是觉得进步并不大。我想输入和输出很关键。我尝试着幻想自己写作成功的样子,或许是一本书,或者是一部作品。人生或许缺少点精彩的内容,不能再这样气馁下去了。我决心改变。我报了心理学课程,想来自己每次无助时候都是愿望或者说
- shp文件解析转换为geojson/wkt格式字符串
自律_平庸
前端数据库大数据
此函数用于处理上传的ZIP文件并将其转换为GeoJSON格式的字符串。具体步骤如下:验证上传文件是否为ZIP格式。创建临时目录以解压ZIP文件。解压缩ZIP文件至临时目录。查找解压后的.shp文件。如果缺少.shx或.dbf辅助文件,则创建空文件。读取Shapefile数据。将特征集合转换为GeoJSON格式。清理临时文件和资源。函数返回转换后的GeoJSON字符串。publicStringshp
- 仪式感,孩子成长路上不可缺失的精神食粮。
貆道上的瓦当
随着时代的发展,人们越来越随意,生活中仪式感渐行渐远,没有了仪式感,于是心灵也没有了悸动,没有了震撼,缺少了敬畏,过的浑浑噩噩,麻木不仁,生活就真的成了生存。对于教育,对于孩子,我觉得缺少了仪式感,就真正的没有了精神的食粮。图片发自App偶尔看到西藏地区的佛教徒,不远千里,历经几年几月,虔诚朝圣的情境。为他们的信仰而感到震撼,“磕长头”为等身长头,五体投地匍匐,双手前直伸。每伏身一次,以手划地为号
- 表舅舅的过往(一)
远677
表舅舅活着的时候,也是传过一些艳闻的,他家的口良田附近,住着一户老公常年在外务工的家庭主妇,此农妇本是一个勤俭持家,秀外慧中的女性。但是,一个农户缺少一个男人,特别是繁重的农活耕种,给农作物喷农药等,力气薄弱的女性又怎么操作呢!而表舅舅青春正盛,虽然穷长相次,但最不缺的就是力气,就这样,表舅舅成了该农妇力气活的专用人员了。表舅舅平时话不多,旁人是窥探不了表舅舅说情话,是不是别有一番天地,不知道是表
- 为什么坚持不到底?
西米ximena
不知道你是不是也有过这样的体会:你说要早起,要让梦想叫自己起床,可是坚持了两三天,叫醒自己的还是快要迟到的闹钟。你说要每天都要读书,多读点书,多开阔眼界,多获得点知识,可是今天太累了明天太晚了,然后发现又好几天没有看过书了。你说你要开始改变,要去见牛人,要去做牛事。可是你连迈出的第一步都失败了。为什么会是这样呢?因为不去做,不坚持做。不去做,缺少成就感。所以你现在能拿得出一篇非常棒的文章吗?不去做
- Zotero使用(一)PDF文件导入不会自动识别
海绵波波107
论文(八股文)美化pdf
上面两种,一种中文,一种英文,会发现,中文的导入进去之后不会自动识别,部分英文也是。不能自动识别就会缺少导出参考文献的功能,怎么办?发现之前导入喜欢使用PDF格式可以结合.ris格式,分开导入,这样都有了
- 马可·奥勒留·安东尼丨帝王日课 D 214
丨张伟丨
帝王日课丨文/张伟乐之写作工作坊这是椰子私塾第1918篇原创输出每天审视生活。D214D214我在哪里可以找到自信?一直想写小说,一直没有开始写。这大概就是缺少自信的表现吧。一直想学弹吉他,一直没有学会,这也是缺少自信吧。自信很重要,是做事最强大的驱动力,如何建立自信呢?从网上看了一些书,介绍了很多建立自信的方法。我得到一个结论——自信只有靠自己找,别人的方法并不一定适合你,不过我们可以从中找到一
- 【YashanDB知识库】YashanDB 开机自启
YashanDB
YashanDB知识库数据库数据库系统崖山数据库YashanDBoracle
【问题分类】YashanDB开机自启【关键字】开机自启,依赖包【问题描述】数据库所在服务器重启后只拉起monit、yasom、yasom进程,缺少yasdb进程:【问题原因分析】数据库安装的时候未启动守护进程【解决/规避方法】进入数据库之前的安装目录,启动守护进程:Shellcd/home/yashan/install./bin/yasbootmonitstart--clusteryashandb
- nacos管理springboot配置时,发生的Could not resolve placeholder两种原因
生产队队长
SpringAllspringboot
IllegalArgumentException:Couldnotresolveplaceholder'xxx.xxx.xxx'invalue"${xxx.xxx.xxx}"第一种:确实缺少配置,加上对应的配置即可。第二种:这个情况,可能会迷惑很多人报错某个配置无法引用,但是,检查配置时,确实存在,已经配置好了。而且,整个yml文件也没有语法格式错误。原因:我们在解决第一个问题的时候,可能导致这个
- 牛顿对重要概念的定义
豌豆花下猫
当艾萨克·牛顿开始着手他的伟大事业时,他首先遇到的问题是一些重要概念缺乏明确的定义。对此,他一开始施了个障眼法:“我不去定义时间、空间、位置和运动,因为这些都是众所周知的。”[15]但实际上,定义这些用语正是他的目的所在。在当时,重量和量度没有统一的标准,而且重量和量度本身就是含混不清的用语。拉丁语似乎比英语要可靠些,因为它较少在日常使用中被滥用,但它也缺少很多必要的概念。牛顿的原始笔记揭示了在其
- 首次全面解析云原生成熟度模型:解决企业「诊断难、规划难、选型难」问题
阿里云云栖号
云原生云计算运维阿里云
从“上云”到“云上”原生,云原生提供了最优用云路径,云原生的技术价值已被广泛认可。当前行业用户全面转型云原生已是大势所趋,用户侧云原生平台建设和应用云原生化改造进程正在加速。然而,云原生复杂的技术栈和传统IT的历史包袱给用户带来了巨大挑战,针对平台建设和应用改造的能力要求缺少统一规范成为企业转型的最大障碍。在用户侧,企业执行层面存在“三难”问题,即诊断难、规划难、选型难,需求和供给不能精准对应,缺
- docker镜像的批量备份和加载
小卡车555
docker
随着微服务的不断发展,docker在微服务的部署中也占着不可缺少的角色,有这样一种场景,需要将服务器上的若干个最新的镜像打成tar.gz做一个备份或者异地部署。针对此问题尝试写了如下shell脚本#vimsaveImages.sh脚本内容如下:#当前需要打包的版本号version=xxx.0.0.1-RELEASE#仓库rep=defaultRep#名称name=defaultNameforiin
- 管理就是要懂“人性”,带队伍就是带“人心”!
个子不高的长颈鹿
金无足赤,人无完人。一个人的优缺点,往往可以在管理的过程非常清晰的体现出来。例如《三国演义》中:我们熟知的诸葛亮虽然神机妙算,可凡事都要亲力亲为。放在管理中,这样的领导固然能将没见事情处理的非常妥当,但必然会造成员工不下缺少创造性和主动性。曹操胸怀大志,机智过人,唯一的缺点就是疑心重,所以当华佗要在他头部开刀医治头疼病时,曹操便怀疑华佗要害他,故将一代名医囚禁起来。一个管理者疑心太重,必定会让下属
- 浩瀚字海,如何取最甜一瓢来饮?
似水流年72
图片发自App在这即将奔5的路上,深深地意识到浪漫或者叫文艺这两样东西都是我骨子里缺少的。最有感触的就是关于起名字这件事。01自己的本名是爹妈给的,在刚刚降临这个凡世红尘明台尚未清明的时候,就作为一个标记深深地与我融为一体,这个用了40多年的标记,我深以为是极其不错的一个标记。在很多的文艺作品里我的名字出境频率较高,在某些实名报道的新闻里也会时有提及,那说明我的这个本名是被广大人士极其认可的,具有
- 2021-08-05
凤舞九天
中原焦点团队高级6期肖巧风,坚持第495天原创分享,第五期挑战每周3次。叛逆期的孩子,心理上的成熟要落后于生理上的成熟,他们缺少人生阅历,社会经验少,对事物的认识容易出现动摇、容易偏激、片面、固执甚至极端化的做事,甚至还会把父母的劝说提醒和督促,当做对自己的不理解,不尊重,继而做出违背父母初衷的事情……这些都是孩子不成熟的表现。父母要冷静地观察孩子的言行,耐心的应对他们的叛逆,多做情感交流,引导他
- 阳光傅雷的悲凉人生
兰之猗
“翻译家死了,留下了洁白的纪念碑,留下了一颗充满大爱的心。纯真得像孩子,虔诚得像教徒,比象牙还缺少杂质。“图片发自App更多的是因为对傅雷的理解吧,这个假期,我阅读了傅的一本译作。虽然,对巴尔扎克的著作含着怯意。因为我清晰地记得许多年前读《高老头》的那种冰凉。当时读完,直感叹啊,政治上说得不错,资本主义社会真太可恶了,人与人之间确实是赤裸的金钱关系。可怜的高老头得用多少自己的血汗钱才能换来女儿的一
- Livox_Mid360+IMU仿真搭建
夜雨拾年
无人机
前言本文是对在gazebo里搭建一个livoxmid360+惯导仿真平台测试FAST-LIO2的实现,此博文中存在部分需要修改代码的地方,因此在本文中做出更详细的说明。资源包安装注:由于livox点云的格式是CustomMsg,而rviz中主要使用PointCloud和PointCloud2,转换不太方便,因此不使用官方提供的软件包,使用他人修改后的软件包。但此软件包开发时间较早,缺少mid360
- 日日更新《一百五十五》
精兵_inChrist
你的话是我脚前的灯,是我路上的光。(诗篇119:105)生活中灯和光,是我们不可缺少的,少了哪一样都会对生活造成困扰。夜间在路上行走,我们需要的是光,这样我们才不会被路边的石头绊倒或掉进坑里。我们的生活中需要灯和光来指引我们前面的道路,而我们的生命中更需要这位JesusChrist来引领我们前面的方向。原本我们是生活在黑暗中的人,而祂把我们从黑暗带到了光明。你的话就是我脚前的灯,也是我路上的光。你
- 【新教育教师随笔】 学会欣赏
bd317ad888fc
伊川县直中学曹卷侠人性中最深切的禀质乃是被人赏识的渴望。欣赏是一种情怀,是一种高雅的情怀。没有爱的人,不懂得欣赏;缺少趣味的人,不知道欣赏。欣赏是一种幸福,是一种少数人才能享受到的幸福。大千世界芸芸众生,自以为是者多,懂得欣赏别人的人。自私自利得多,专门利人者少。欣赏滋生幸福,幸福需要懂得欣赏。欣赏是一种学习,是一种真心实意的学习。生活里,每个人都有每个人的优点,每个人都有每个人的弱点,学会欣赏,
- 三月第一次复盘:熟能生巧,前提是多练习
微笑爱读书
文/微笑《刻意练习》里说:如果你没有进步,并不是因为你缺少天赋,而是因为你没有用正确的方法练习。一、个人成长1.焦虑引发的慌乱虽然有着本职工作,却在空闲之余。要给其他忙碌的部门帮忙。不是打包盒饭,就是去食堂开餐。看似简单又轻松的工作却也暗藏玄机。对于职场小白的我,在一无所知的情况下,就被拉去实战中操作。紧张夹杂着兴奋,却在多次尝试中以失败而告终。而我本就是急性子,手上的动作不熟练,遇到人多赶时间的
- 2018-12-05
宇宝anan
今天放学回家,跟往常一样,看课外书,吃饭,写作业,看课外书+自由支配。孩子乐在其中,大人斗智斗勇,让学习成为一种乐趣,让学习成为每天不可缺少的一部分。加油!
- 关于旗正规则引擎中的MD5加密问题
何必如此
jspMD5规则加密
一般情况下,为了防止个人隐私的泄露,我们都会对用户登录密码进行加密,使数据库相应字段保存的是加密后的字符串,而非原始密码。
在旗正规则引擎中,通过外部调用,可以实现MD5的加密,具体步骤如下:
1.在对象库中选择外部调用,选择“com.flagleader.util.MD5”,在子选项中选择“com.flagleader.util.MD5.getMD5ofStr({arg1})”;
2.在规
- 【Spark101】Scala Promise/Future在Spark中的应用
bit1129
Promise
Promise和Future是Scala用于异步调用并实现结果汇集的并发原语,Scala的Future同JUC里面的Future接口含义相同,Promise理解起来就有些绕。等有时间了再仔细的研究下Promise和Future的语义以及应用场景,具体参见Scala在线文档:http://docs.scala-lang.org/sips/completed/futures-promises.html
- spark sql 访问hive数据的配置详解
daizj
spark sqlhivethriftserver
spark sql 能够通过thriftserver 访问hive数据,默认spark编译的版本是不支持访问hive,因为hive依赖比较多,因此打的包中不包含hive和thriftserver,因此需要自己下载源码进行编译,将hive,thriftserver打包进去才能够访问,详细配置步骤如下:
1、下载源码
2、下载Maven,并配置
此配置简单,就略过
- HTTP 协议通信
周凡杨
javahttpclienthttp通信
一:简介
HTTPCLIENT,通过JAVA基于HTTP协议进行点与点间的通信!
二: 代码举例
测试类:
import java
- java unix时间戳转换
g21121
java
把java时间戳转换成unix时间戳:
Timestamp appointTime=Timestamp.valueOf(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()))
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd hh:m
- web报表工具FineReport常用函数的用法总结(报表函数)
老A不折腾
web报表finereport总结
说明:本次总结中,凡是以tableName或viewName作为参数因子的。函数在调用的时候均按照先从私有数据源中查找,然后再从公有数据源中查找的顺序。
CLASS
CLASS(object):返回object对象的所属的类。
CNMONEY
CNMONEY(number,unit)返回人民币大写。
number:需要转换的数值型的数。
unit:单位,
- java jni调用c++ 代码 报错
墙头上一根草
javaC++jni
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000777c3290, pid=5632, tid=6656
#
# JRE version: Java(TM) SE Ru
- Spring中事件处理de小技巧
aijuans
springSpring 教程Spring 实例Spring 入门Spring3
Spring 中提供一些Aware相关de接口,BeanFactoryAware、 ApplicationContextAware、ResourceLoaderAware、ServletContextAware等等,其中最常用到de匙ApplicationContextAware.实现ApplicationContextAwaredeBean,在Bean被初始后,将会被注入 Applicati
- linux shell ls脚本样例
annan211
linuxlinux ls源码linux 源码
#! /bin/sh -
#查找输入文件的路径
#在查找路径下寻找一个或多个原始文件或文件模式
# 查找路径由特定的环境变量所定义
#标准输出所产生的结果 通常是查找路径下找到的每个文件的第一个实体的完整路径
# 或是filename :not found 的标准错误输出。
#如果文件没有找到 则退出码为0
#否则 即为找不到的文件个数
#语法 pathfind [--
- List,Set,Map遍历方式 (收集的资源,值得看一下)
百合不是茶
listsetMap遍历方式
List特点:元素有放入顺序,元素可重复
Map特点:元素按键值对存储,无放入顺序
Set特点:元素无放入顺序,元素不可重复(注意:元素虽然无放入顺序,但是元素在set中的位置是有该元素的HashCode决定的,其位置其实是固定的)
List接口有三个实现类:LinkedList,ArrayList,Vector
LinkedList:底层基于链表实现,链表内存是散乱的,每一个元素存储本身
- 解决SimpleDateFormat的线程不安全问题的方法
bijian1013
javathread线程安全
在Java项目中,我们通常会自己写一个DateUtil类,处理日期和字符串的转换,如下所示:
public class DateUtil01 {
private SimpleDateFormat dateformat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
public void format(Date d
- http请求测试实例(采用fastjson解析)
bijian1013
http测试
在实际开发中,我们经常会去做http请求的开发,下面则是如何请求的单元测试小实例,仅供参考。
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.httpclient.HttpClient;
import
- 【RPC框架Hessian三】Hessian 异常处理
bit1129
hessian
RPC异常处理概述
RPC异常处理指是,当客户端调用远端的服务,如果服务执行过程中发生异常,这个异常能否序列到客户端?
如果服务在执行过程中可能发生异常,那么在服务接口的声明中,就该声明该接口可能抛出的异常。
在Hessian中,服务器端发生异常,可以将异常信息从服务器端序列化到客户端,因为Exception本身是实现了Serializable的
- 【日志分析】日志分析工具
bit1129
日志分析
1. 网站日志实时分析工具 GoAccess
http://www.vpsee.com/2014/02/a-real-time-web-log-analyzer-goaccess/
2. 通过日志监控并收集 Java 应用程序性能数据(Perf4J)
http://www.ibm.com/developerworks/cn/java/j-lo-logforperf/
3.log.io
和
- nginx优化加强战斗力及遇到的坑解决
ronin47
nginx 优化
先说遇到个坑,第一个是负载问题,这个问题与架构有关,由于我设计架构多了两层,结果导致会话负载只转向一个。解决这样的问题思路有两个:一是改变负载策略,二是更改架构设计。
由于采用动静分离部署,而nginx又设计了静态,结果客户端去读nginx静态,访问量上来,页面加载很慢。解决:二者留其一。最好是保留apache服务器。
来以下优化:
- java-50-输入两棵二叉树A和B,判断树B是不是A的子结构
bylijinnan
java
思路来自:
http://zhedahht.blog.163.com/blog/static/25411174201011445550396/
import ljn.help.*;
public class HasSubtree {
/**Q50.
* 输入两棵二叉树A和B,判断树B是不是A的子结构。
例如,下图中的两棵树A和B,由于A中有一部分子树的结构和B是一
- mongoDB 备份与恢复
开窍的石头
mongDB备份与恢复
Mongodb导出与导入
1: 导入/导出可以操作的是本地的mongodb服务器,也可以是远程的.
所以,都有如下通用选项:
-h host 主机
--port port 端口
-u username 用户名
-p passwd 密码
2: mongoexport 导出json格式的文件
- [网络与通讯]椭圆轨道计算的一些问题
comsci
网络
如果按照中国古代农历的历法,现在应该是某个季节的开始,但是由于农历历法是3000年前的天文观测数据,如果按照现在的天文学记录来进行修正的话,这个季节已经过去一段时间了。。。。。
也就是说,还要再等3000年。才有机会了,太阳系的行星的椭圆轨道受到外来天体的干扰,轨道次序发生了变
- 软件专利如何申请
cuiyadll
软件专利申请
软件技术可以申请软件著作权以保护软件源代码,也可以申请发明专利以保护软件流程中的步骤执行方式。专利保护的是软件解决问题的思想,而软件著作权保护的是软件代码(即软件思想的表达形式)。例如,离线传送文件,那发明专利保护是如何实现离线传送文件。基于相同的软件思想,但实现离线传送的程序代码有千千万万种,每种代码都可以享有各自的软件著作权。申请一个软件发明专利的代理费大概需要5000-8000申请发明专利可
- Android学习笔记
darrenzhu
android
1.启动一个AVD
2.命令行运行adb shell可连接到AVD,这也就是命令行客户端
3.如何启动一个程序
am start -n package name/.activityName
am start -n com.example.helloworld/.MainActivity
启动Android设置工具的命令如下所示:
# am start -
- apache虚拟机配置,本地多域名访问本地网站
dcj3sjt126com
apache
现在假定你有两个目录,一个存在于 /htdocs/a,另一个存在于 /htdocs/b 。
现在你想要在本地测试的时候访问 www.freeman.com 对应的目录是 /xampp/htdocs/freeman ,访问 www.duchengjiu.com 对应的目录是 /htdocs/duchengjiu。
1、首先修改C盘WINDOWS\system32\drivers\etc目录下的
- yii2 restful web服务[速率限制]
dcj3sjt126com
PHPyii2
速率限制
为防止滥用,你应该考虑增加速率限制到您的API。 例如,您可以限制每个用户的API的使用是在10分钟内最多100次的API调用。 如果一个用户同一个时间段内太多的请求被接收, 将返回响应状态代码 429 (这意味着过多的请求)。
要启用速率限制, [[yii\web\User::identityClass|user identity class]] 应该实现 [[yii\filter
- Hadoop2.5.2安装——单机模式
eksliang
hadoophadoop单机部署
转载请出自出处:http://eksliang.iteye.com/blog/2185414 一、概述
Hadoop有三种模式 单机模式、伪分布模式和完全分布模式,这里先简单介绍单机模式 ,默认情况下,Hadoop被配置成一个非分布式模式,独立运行JAVA进程,适合开始做调试工作。
二、下载地址
Hadoop 网址http:
- LoadMoreListView+SwipeRefreshLayout(分页下拉)基本结构
gundumw100
android
一切为了快速迭代
import java.util.ArrayList;
import org.json.JSONObject;
import android.animation.ObjectAnimator;
import android.os.Bundle;
import android.support.v4.widget.SwipeRefreshLayo
- 三道简单的前端HTML/CSS题目
ini
htmlWeb前端css题目
使用CSS为多个网页进行相同风格的布局和外观设置时,为了方便对这些网页进行修改,最好使用( )。http://hovertree.com/shortanswer/bjae/7bd72acca3206862.htm
在HTML中加入<table style=”color:red; font-size:10pt”>,此为( )。http://hovertree.com/s
- overrided方法编译错误
kane_xie
override
问题描述:
在实现类中的某一或某几个Override方法发生编译错误如下:
Name clash: The method put(String) of type XXXServiceImpl has the same erasure as put(String) of type XXXService but does not override it
当去掉@Over
- Java中使用代理IP获取网址内容(防IP被封,做数据爬虫)
mcj8089
免费代理IP代理IP数据爬虫JAVA设置代理IP爬虫封IP
推荐两个代理IP网站:
1. 全网代理IP:http://proxy.goubanjia.com/
2. 敲代码免费IP:http://ip.qiaodm.com/
Java语言有两种方式使用代理IP访问网址并获取内容,
方式一,设置System系统属性
// 设置代理IP
System.getProper
- Nodejs Express 报错之 listen EADDRINUSE
qiaolevip
每天进步一点点学习永无止境nodejs纵观千象
当你启动 nodejs服务报错:
>node app
Express server listening on port 80
events.js:85
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE
at exports._errnoException (
- C++中三种new的用法
_荆棘鸟_
C++new
转载自:http://news.ccidnet.com/art/32855/20100713/2114025_1.html
作者: mt
其一是new operator,也叫new表达式;其二是operator new,也叫new操作符。这两个英文名称起的也太绝了,很容易搞混,那就记中文名称吧。new表达式比较常见,也最常用,例如:
string* ps = new string("
- Ruby深入研究笔记1
wudixiaotie
Ruby
module是可以定义private方法的
module MTest
def aaa
puts "aaa"
private_method
end
private
def private_method
puts "this is private_method"
end
end