- 2019-01-19
王小康KK
姓名:王康公司:扬州市方圆建筑工程有限公司2018年3月16日~3月18日上海361期《六项精进》感谢二组学员【日精进打卡第307天】【知~学习】《六项精进》大纲3遍共862遍《大学》通篇3遍共860遍《六项精进》全书40页【经典名句】思想决定行为,行为决定习惯,习惯决定性格,性格决定命运。【行~实践】一、修身:(对自己个人)1、践行六项精进的理念。二、齐家:(对家庭和家人)1、和女朋友视频聊天。
- Python算法L5:贪心算法
小熊同学哦
Python算法算法python贪心算法
Python贪心算法简介目录Python贪心算法简介贪心算法的基本步骤贪心算法的适用场景经典贪心算法问题1.**零钱兑换问题**2.**区间调度问题**3.**背包问题**贪心算法的优缺点优点:缺点:结语贪心算法(GreedyAlgorithm)是一种在每一步选择中都采取当前最优或最优解的算法。它的核心思想是,在保证每一步局部最优的情况下,希望通过贪心选择达到全局最优解。虽然贪心算法并不总能得到全
- 科幻游戏 《外卖员模拟器》 主要地理环境设定 (1)
穷人小水滴
游戏科幻设计
游戏名称:《外卖员模拟器》(英文名称:waimai_se)作者:穷人小水滴本故事纯属虚构,如有雷同实属巧合.故事发生在一个(架空)平行宇宙的地球,21世纪(超低空科幻流派).相关文章:https://blog.csdn.net/secext2022/article/details/141790630目录1星球整体地理设定2巨蛇国主要设定3海蛇市主要设定3.1主要地标建筑3.2交通3.3能源(电力)
- 弘一法师醍醐灌顶的五句话,渡了无数人
梦润芳馨
一、凡是你想控制的,其实都控制了你自己。当你什么都不要的时候,天地都是你的;二、遇见是因为有债要还,离开是因为还清了,前世不欠,今生不见,今生相见,定有亏欠,缘起我在人群中看见你,缘散我看见你在人群中,如果流年有爱,就心随花开,如若人走情凉,就手心自暖;三、不要害怕失去,所失去的本来就不属于你,也不要害怕伤害,能伤害你的都是你的劫数;四、你以为错过了是遗憾,其实可能是躲过一劫,别贪心,你不可能什么
- 游武汉城区历史最悠久宿舍:建在龟山脚下绿林中,另一片世外桃源
喵星人日志
城市的拓展,往往伴随着老城区的拆迁改造而进行,这个过程代表着新旧建筑的更替,在武汉城区,这样的改造现象非常普遍。但在最近几年,随着社会整体对文物等老建筑的保护意识提升,类似的旧城改造速度早已放缓许多,这也让我们有更多机会一览城市老建筑的风采。比如在武汉汉阳区内就有一处历史最悠久的单位宿舍,它建在龟山脚下的绿林之中,背靠龟山南路和汉阳大道,闹中取静,年代久远,堪称另一片世外桃源,它的名字叫做大桥宿舍
- 我心归处是敦煌:第2季《文化参考》174
陌上花开wen
174樊锦诗和彭金章:敦煌为什么是一门学科昨天文化参考谈到的《荒野上的大师:中国考古百年纪》,介绍了一群敢为人先的地质学家、古生物学家、人类学家、考古学家、建筑学家,它们是各自领域的拓荒者,也是走出书斋、走向旷野的第一代中国人,他们上下求索,前赴后继,终于成就了蔚为大观的浩瀚风气。这节课的《樊锦诗自述》讲述了她在北京大学的求学往事,与终身伴侣、武汉大学考古系创始人彭金章相濡以沫的爱情诗篇,以及50
- 滑动窗口+动态规划
wniuniu_
算法动态规划算法
前言:分析这个题目的时候,就知道要这两个线段要分开,但是要保证得到最优解,那么我们在选取第二根线段的时候,要保证我们第一根线段是左边最优解并且我们选的两根线段的右端点一定是我们的数组的点(贪心思想)classSolution{public:intmaximizeWin(vector&prizePositions,intk){intn=prizePositions.size();vectormx(n
- LCR 078. 合并 K 个升序链表
装B且挨揍の
LeetCode链表算法数据结构经验分享笔记java
https://leetcode.cn/problems/vvXgSW/description/https://leetcode.cn/problems/vvXgSW/description/解题思路方法一:每个链表维护一个索引,每次找到值最小的节点,索引加一。可以采用优先队列实现。/***Definitionforsingly-linkedlist.*publicclassListNode{*i
- 骑文探古访百村(5):里水镇孔西村
钮海津
祝孔后再辉煌口钮海津2012年12月21的报网消息云,“广东省民间遗产抢救工程这股暖风昨天吹到了孔西村,让这个历史悠久、民风淳朴的村落洋溢着冬日的暖意”。孔西村古建筑群,听说过,在佛山市南海区里水镇。找个时间去看看。看看还有没有这句“子曰”:君子谋道不谋食。耕也,馁在其中矣;学也,禄在其中矣。君子忧道不忧贫。翻译过来就是,老孔对地位高的人说:君子用心谋求大道而不费心思去谋求衣食。即使你亲自去耕田种
- 放弃
墨墨_9637
刷朋友圈,突然被这句话感动到了!只要肯放弃,人生没有那么艰难若比别人贪心,请比他人用心可不是嘛,之所以会觉得艰难,无非是你不知不觉间带上了很多行囊,或者需要,或者难弃,总之坦然生活的你愿意与其生死与共。然而,放弃一些,真的不可以吗?让我想到毕淑敏的《心灵七游戏》中的一个,当你面临不得不放弃的时候,你选择放弃哪一个?换句话讲,你还是放弃了!当人生开始做减法,很多事情也就看得淡了!又或者,你真的放不下
- 郭文凤反省一组日精进打卡
蓝蓝的天空彩云飞
2019年7月23日姓名郭文凤单位扬州方圆建筑工程有限公司第422期反省一组〔日精进打卡〕第364天〔知~学习〕1、《六项精进》3遍共1099遍2、《大学》3遍共1057遍〔经典名句分享〕业精于勤而荒于嬉,行成于思而毁于随。〔行~实践〕一:修身1、看学习强国2、学习中级财务知识3、做瑜伽二:齐家三、建功1、支付中心正常事务处理及其他各行复核事项2、票据贴现复核3、提供安恒劳务减资所需的4月份财务报
- 恶魔的饱食:日本731细菌战部队揭秘(2)
8fd30a58ee15
731部队的设施,是在当时设在长春的关东军司令部的直接监督下,经施工部门特殊设计,由军队的御用企业(除日本特殊工业大林组公司外)施工建成的。在当时军队的有关设施中,特殊设计施工是最奢侈的。一说奢侈,人们的脑海里就会浮现出豪华的高级建筑的形象,但是,731部队的设施却“奢侈”在超群的清洁方面。在大致分为五个区的建筑物中,除教育部和卫兵所以外,其他如大礼堂、宿舍、“口”字楼(总部所在地)等建筑物都修建
- 建筑能源管理(4)——建筑能源监管
Fo*(Bi)
EnergyandBuilding能源
为了全面落实科学发展观,提高建筑能源管理水平,进一步降低能源和水资源消耗、合理利用资源,以政府办公建筑和大型公共建筑的运行节能管理为突破口,建立了既有政府办公建筑和大型公共建筑运行节能监管体系,旨在提高政府办公建筑和大型公共建筑整体运行节能管理水平,指导和规范政府办公建筑和大型公共建筑的能耗数据采集工作。1、能源统计对国家机关办公建筑和大型公共建筑进行能耗的基本情况计量、能源消耗(水、电、气等能源
- 多层建筑能源参数化模型和城市冠层模型的区别
WW、forever
WRF模型原理及应用城市模拟
多层建筑能源参数化(Multi-layerBuildingEnergyParameterization,BEP)模型和城市冠层模型(UrbanCanopyModel,UCM)都是用于模拟城市环境中能量交换和微气候的数值模型,但它们的侧重点和应用场景有所不同。以下是两者的主要区别:1.目标和应用场景BEP模型:目标:主要用于模拟多层建筑群的能量交换过程,特别是建筑内部和外部的热量传输、建筑能耗以及建
- 建筑
fac953e45820
图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App
- Unreal Engine——AI生成高精度的虚拟人物和环境(虚拟世界构建、电影场景生成)(二)(技术分析)
爱研究的小牛
AIGC—虚拟现实人工智能虚幻游戏引擎AIGC
UnrealEngine(虚幻引擎)是业界领先的3D实时渲染引擎,广泛应用于游戏开发、影视制作、建筑可视化和虚拟现实等领域。其核心技术实现涵盖了多项复杂的功能模块,包括图形渲染、物理引擎、动画系统、音效系统和网络系统等。1.图形渲染技术UnrealEngine的图形渲染系统非常强大,支持实时渲染复杂的3D场景,生成高品质的视觉效果。虚幻引擎使用先进的渲染管线,主要分为以下几个方面:1.1渲染管线虚
- 郭文凤反省一组日精进打卡
蓝蓝的天空彩云飞
2019年8月8日姓名郭文凤单位扬州方圆建筑工程有限公司第422期反省一组〔日精进打卡〕第380天〔知~学习〕1、《六项精进》3遍共1147遍2、《大学》3遍共1105遍〔经典名句分享〕走自己的路,让别人去说吧!〔行~实践〕一:修身1、看学习强国2、学习中级财务知识3、做瑜伽二:齐家三、建功1、支付中心各项事务处理及其他单位汇款复核2、联系邢春富处工资表及收据事宜3、统计各行当日余额4、东顺月度各
- 12312312
二进制掌控者
c++
c语言中的小小白-CSDN博客c语言中的小小白关注算法,c++,c语言,贪心算法,链表,mysql,动态规划,后端,线性回归,数据结构,排序算法领域.https://blog.csdn.net/bhbcdxb123?spm=1001.2014.3001.5343给大家分享一句我很喜欢我话:知不足而奋进,望远山而前行!!!铁铁们,成功的路上必然是孤独且艰难的,但是我们不可以放弃,远山就在前方,但我们
- 你知道什么是回调函数吗?
二进制掌控者
#C语言专栏c语言开发语言
c语言中的小小白-CSDN博客c语言中的小小白关注算法,c++,c语言,贪心算法,链表,mysql,动态规划,后端,线性回归,数据结构,排序算法领域.https://blog.csdn.net/bhbcdxb123?spm=1001.2014.3001.5343给大家分享一句我很喜欢我话:知不足而奋进,望远山而前行!!!铁铁们,成功的路上必然是孤独且艰难的,但是我们不可以放弃,远山就在前方,但我们
- 贪心算法day31|56. 合并区间、738. 单调递增的数字(整数与字符串的转换)、贪心刷题总结
桃酥403
贪心算法算法leetcodec++字符串
贪心算法day31|56.合并区间、738.单调递增的数字、贪心刷题总结56.合并区间738.单调递增的数字贪心刷题总结56.合并区间以数组intervals表示若干个区间的集合,其中单个区间为intervals[i]=[starti,endi]。请你合并所有重叠的区间,并返回一个不重叠的区间数组,该数组需恰好覆盖输入中的所有区间。示例1:输入:intervals=[[1,3],[2,6],[8,
- 最美书店打卡——时见鹿
小小猪的时间之旅
最近几年的书店真是越来越可爱,不仅仅可以买书,还可以喝咖啡,逛文创,和朋友聊天。而书店装修的精美和用心程度总让人禁不住拍照打卡。时见鹿书店是隐藏在森林公园深处的最美书店之一。今日总算是趁着好天气来到这心心念念地方。真有些小惊喜,从停车场出来,就看到满眼的油菜花,不留个影,简直就是浪费这美景。图片发自App书店是三栋环立建筑,两边是零落的樱花树,微风吹过,樱花随风飘落,真是绝好的景致。书店面朝喻家湖
- 上海安全员C证继续教育题库(附答案)
安建资小栗子
其他
1.从业人员经过安全教育培训,了解岗位操作规程,但未遵守而造成事故的,行为人应负()责任,有关负责人应负()责任。A.直接间接B.直接领导C.间接管理D.直接管理2.对生产附着式升降脚手架产品的单位,必须经()组织鉴定合格并发给生产和使用证后,方可向全国各地提供产品。A.国家安全监督总局B.国家质量监督总局C.住房和城乡建设部D.当地建设行政主管部门3.建筑施工进行高处作业之前,应进行安全防护设施
- 【学生习作】这样的人让我尊敬
王磊老师
杨阳春风拂面,带着一丝清浓的气味。那么温暖,那么轻柔,那片地上的建筑工人还好吗?回答我的又是一阵阵的机械工作的声音……寒假里,我们走亲访友,看到了这些建筑工人,以前我们很少留意他们,甚至有些人对他们是不屑一顾的。他们常常穿着深色的衣服,老式的解放鞋,深色的衣服上沾满了污泥,他们衣服又黑又硬,像在太阳下晒干的泥土让人分不清是泥还是衣服。建筑房屋往往需要一些人运输材料,而建筑工人就干这行,他们伸出手,
- 详解贪心算法
凭君语未可
算法软考算法贪心算法
贪心算法什么是贪心算法?贪心算法的特点贪心算法的应用场景贪心算法的基本思路贪心算法的经典应用1.活动选择问题2.最小硬币找零问题3.霍夫曼编码问题贪心算法的正确性贪心算法的优缺点总结什么是贪心算法?贪心算法(GreedyAlgorithm)是一种基于每一步都选择当前最优解的算法设计思想。它在每个阶段总是做出在当前看来最优的选择(局部最优解),而不回溯或考虑整个问题的全局最优性。它期望通过这样逐步构
- 西游记之十八
途ag
(续)百度百科大昭寺大昭寺,又名“祖拉康”、“觉康”(藏语意为佛殿),是一座藏传佛教寺院,为藏王松赞干布建造。拉萨之所以有圣地之誉,与这座佛庙有关。寺庙最初称“惹萨”,后来惹萨又成为这座城市的名称,并演化成了当下的拉萨。大昭寺建成后,经过元、明、清历朝屡加修改扩建,才形成了现今的规模。大昭寺距今已有1300多年的历史,在藏传佛教中拥有至高无上的地位。大昭寺是西藏现存最辉煌的吐蕃时期的建筑,也是西藏
- 秋干气燥,来一盘水果
鹿宥宥
樱桃要趁白天吃樱桃,把樱桃沉浸在盐水里除掉里面隐藏的虫,这样才能吃得放心它的颜色和珍珠一样饱满鲜艳的,像血小小的模样,长在同一根节点上成双成对,贪心的人一口吞下我把它们掰开,一个,一个塞进嘴巴而我也并不觉得自己残忍因为我只是个想吃樱桃的人舌尖上能品尝到的甜味多多少少,总能化解白天的一点疲累苹果我等在树下,掉一颗苹果观察一下地有引力但是,尚未成熟的青苹果牢固地攀在根上叶子把它隐藏等它掉下,要很久蜜饯
- 秋天|你所不知道的昆明秋天
邵先森一
闲来无事,便趁着昆明的好天气出来玩了一圈,来昆明已经一个多月了,原以为昆明只有春天,今天的出行让我感受到了昆明美丽的秋天。今天的路线主要是圆通山(昆明动物园)―翠湖―云南大学(一定要去超级美,好多银杏树,还有超级美的西方建筑)―云南师范大学(原西南联大旧址)―回我们大美昆明理工大学欢迎大家关注我吆,微博@旅行规划图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图
- 时代
泣尘郜跃
《时代》文/泣尘那曾被哀悼的名字,总会在人们的嘴角走失可笑的是一个活人,要向在人间走失的人求生站着的人从不相信所谓轮回,倒是跪倒的人们始终对此坚信不疑如今人们的话,是一个新的谜面东不再是东,西不再是西人间的烟火也变了,长河落日成了一种空前的绝迹迷失在苍穹下的收割者在一望无际的建筑间颠沛流离不再担心杂草丛生牛羊不再依赖口粮,不再需要反刍锈蚀的农具依靠着墙面刻着孤独的痕迹,撑着最后一点尊严直至锋利被放
- 【爱心小岛·文海晨光】‖福清山乡奇构东关寨
黄云栖亩
想了解一个地方的历史,一个很好的办法是去看古建筑。最能代表福清历史的古建筑,非东关寨莫属。东关寨位于福清市一都镇东山村一半山腰处,为古堡式建筑物。一都位于福清东部,当地称山岭的路口为“关”,“东关”之名据此而来。从远处观望,在密密麻麻枇杷林包围下的东关寨,依山势而建,层层递升,白墙青瓦,石基高立,显得古朴厚重,气势磅礴。走近东关寨,更感觉寨墙基座的高大,其全部由岩石砌成,高达10米以上,难怪如此气
- 闷声发大财:生意有多火,你可能不知道
niubaby
闷声发大财:生意有多火,你可能不知道大家好,我是你们的阿牛哥,今天要给大家介绍一些毫不起眼却“闷声发大财”的行业或生意。这些行业或生意,虽然不够高大上,但却有着巨大的市场和需求,是一个不错的投资选择。首先,我们来看看垃圾清理服务。你可能会想,清理垃圾这种脏活累活谁会干呢?但实际上,这个行业的需求量很大,市场规模也很大。随着城市的不断扩张,建筑垃圾、废品等垃圾的数量也在不断增加,清理这些垃圾成为了一
- 开发者关心的那些事
圣子足道
ios游戏编程apple支付
我要在app里添加IAP,必须要注册自己的产品标识符(product identifiers)。产品标识符是什么?
产品标识符(Product Identifiers)是一串字符串,它用来识别你在应用内贩卖的每件商品。App Store用产品标识符来检索产品信息,标识符只能包含大小写字母(A-Z)、数字(0-9)、下划线(-)、以及圆点(.)。你可以任意排列这些元素,但我们建议你创建标识符时使用
- 负载均衡器技术Nginx和F5的优缺点对比
bijian1013
nginxF5
对于数据流量过大的网络中,往往单一设备无法承担,需要多台设备进行数据分流,而负载均衡器就是用来将数据分流到多台设备的一个转发器。
目前有许多不同的负载均衡技术用以满足不同的应用需求,如软/硬件负载均衡、本地/全局负载均衡、更高
- LeetCode[Math] - #9 Palindrome Number
Cwind
javaAlgorithm题解LeetCodeMath
原题链接:#9 Palindrome Number
要求:
判断一个整数是否是回文数,不要使用额外的存储空间
难度:简单
分析:
题目限制不允许使用额外的存储空间应指不允许使用O(n)的内存空间,O(1)的内存用于存储中间结果是可以接受的。于是考虑将该整型数反转,然后与原数字进行比较。
注:没有看到有关负数是否可以是回文数的明确结论,例如
- 画图板的基本实现
15700786134
画图板
要实现画图板的基本功能,除了在qq登陆界面中用到的组件和方法外,还需要添加鼠标监听器,和接口实现。
首先,需要显示一个JFrame界面:
public class DrameFrame extends JFrame { //显示
- linux的ps命令
被触发
linux
Linux中的ps命令是Process Status的缩写。ps命令用来列出系统中当前运行的那些进程。ps命令列出的是当前那些进程的快照,就是执行ps命令的那个时刻的那些进程,如果想要动态的显示进程信息,就可以使用top命令。
要对进程进行监测和控制,首先必须要了解当前进程的情况,也就是需要查看当前进程,而 ps 命令就是最基本同时也是非常强大的进程查看命令。使用该命令可以确定有哪些进程正在运行
- Android 音乐播放器 下一曲 连续跳几首歌
肆无忌惮_
android
最近在写安卓音乐播放器的时候遇到个问题。在MediaPlayer播放结束时会回调
player.setOnCompletionListener(new OnCompletionListener() {
@Override
public void onCompletion(MediaPlayer mp) {
mp.reset();
Log.i("H
- java导出txt文件的例子
知了ing
javaservlet
代码很简单就一个servlet,如下:
package com.eastcom.servlet;
import java.io.BufferedOutputStream;
import java.io.IOException;
import java.net.URLEncoder;
import java.sql.Connection;
import java.sql.Resu
- Scala stack试玩, 提高第三方依赖下载速度
矮蛋蛋
scalasbt
原文地址:
http://segmentfault.com/a/1190000002894524
sbt下载速度实在是惨不忍睹, 需要做些配置优化
下载typesafe离线包, 保存为ivy本地库
wget http://downloads.typesafe.com/typesafe-activator/1.3.4/typesafe-activator-1.3.4.zip
解压r
- phantomjs安装(linux,附带环境变量设置) ,以及casperjs安装。
alleni123
linuxspider
1. 首先从官网
http://phantomjs.org/下载phantomjs压缩包,解压缩到/root/phantomjs文件夹。
2. 安装依赖
sudo yum install fontconfig freetype libfreetype.so.6 libfontconfig.so.1 libstdc++.so.6
3. 配置环境变量
vi /etc/profil
- JAVA IO FileInputStream和FileOutputStream,字节流的打包输出
百合不是茶
java核心思想JAVA IO操作字节流
在程序设计语言中,数据的保存是基本,如果某程序语言不能保存数据那么该语言是不可能存在的,JAVA是当今最流行的面向对象设计语言之一,在保存数据中也有自己独特的一面,字节流和字符流
1,字节流是由字节构成的,字符流是由字符构成的 字节流和字符流都是继承的InputStream和OutPutStream ,java中两种最基本的就是字节流和字符流
类 FileInputStream
- Spring基础实例(依赖注入和控制反转)
bijian1013
spring
前提条件:在http://www.springsource.org/download网站上下载Spring框架,并将spring.jar、log4j-1.2.15.jar、commons-logging.jar加载至工程1.武器接口
package com.bijian.spring.base3;
public interface Weapon {
void kil
- HR看重的十大技能
bijian1013
提升能力HR成长
一个人掌握何种技能取决于他的兴趣、能力和聪明程度,也取决于他所能支配的资源以及制定的事业目标,拥有过硬技能的人有更多的工作机会。但是,由于经济发展前景不确定,掌握对你的事业有所帮助的技能显得尤为重要。以下是最受雇主欢迎的十种技能。 一、解决问题的能力 每天,我们都要在生活和工作中解决一些综合性的问题。那些能够发现问题、解决问题并迅速作出有效决
- 【Thrift一】Thrift编译安装
bit1129
thrift
什么是Thrift
The Apache Thrift software framework, for scalable cross-language services development, combines a software stack with a code generation engine to build services that work efficiently and s
- 【Avro三】Hadoop MapReduce读写Avro文件
bit1129
mapreduce
Avro是Doug Cutting(此人绝对是神一般的存在)牵头开发的。 开发之初就是围绕着完善Hadoop生态系统的数据处理而开展的(使用Avro作为Hadoop MapReduce需要处理数据序列化和反序列化的场景),因此Hadoop MapReduce集成Avro也就是自然而然的事情。
这个例子是一个简单的Hadoop MapReduce读取Avro格式的源文件进行计数统计,然后将计算结果
- nginx定制500,502,503,504页面
ronin47
nginx 错误显示
server {
listen 80;
error_page 500/500.html;
error_page 502/502.html;
error_page 503/503.html;
error_page 504/504.html;
location /test {return502;}}
配置很简单,和配
- java-1.二叉查找树转为双向链表
bylijinnan
二叉查找树
import java.util.ArrayList;
import java.util.List;
public class BSTreeToLinkedList {
/*
把二元查找树转变成排序的双向链表
题目:
输入一棵二元查找树,将该二元查找树转换成一个排序的双向链表。
要求不能创建任何新的结点,只调整指针的指向。
10
/ \
6 14
/ \
- Netty源码学习-HTTP-tunnel
bylijinnan
javanetty
Netty关于HTTP tunnel的说明:
http://docs.jboss.org/netty/3.2/api/org/jboss/netty/channel/socket/http/package-summary.html#package_description
这个说明有点太简略了
一个完整的例子在这里:
https://github.com/bylijinnan
- JSONUtil.serialize(map)和JSON.toJSONString(map)的区别
coder_xpf
jqueryjsonmapval()
JSONUtil.serialize(map)和JSON.toJSONString(map)的区别
数据库查询出来的map有一个字段为空
通过System.out.println()输出 JSONUtil.serialize(map): {"one":"1","two":"nul
- Hibernate缓存总结
cuishikuan
开源sshjavawebhibernate缓存三大框架
一、为什么要用Hibernate缓存?
Hibernate是一个持久层框架,经常访问物理数据库。
为了降低应用程序对物理数据源访问的频次,从而提高应用程序的运行性能。
缓存内的数据是对物理数据源中的数据的复制,应用程序在运行时从缓存读写数据,在特定的时刻或事件会同步缓存和物理数据源的数据。
二、Hibernate缓存原理是怎样的?
Hibernate缓存包括两大类:Hib
- CentOs6
dalan_123
centos
首先su - 切换到root下面1、首先要先安装GCC GCC-C++ Openssl等以来模块:yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel2、再安装ncurses模块yum -y install ncurses-develyum install ncurses-devel3、下载Erang
- 10款用 jquery 实现滚动条至页面底端自动加载数据效果
dcj3sjt126com
JavaScript
无限滚动自动翻页可以说是web2.0时代的一项堪称伟大的技术,它让我们在浏览页面的时候只需要把滚动条拉到网页底部就能自动显示下一页的结果,改变了一直以来只能通过点击下一页来翻页这种常规做法。
无限滚动自动翻页技术的鼻祖是微博的先驱:推特(twitter),后来必应图片搜索、谷歌图片搜索、google reader、箱包批发网等纷纷抄袭了这一项技术,于是靠滚动浏览器滚动条
- ImageButton去边框&Button或者ImageButton的背景透明
dcj3sjt126com
imagebutton
在ImageButton中载入图片后,很多人会觉得有图片周围的白边会影响到美观,其实解决这个问题有两种方法
一种方法是将ImageButton的背景改为所需要的图片。如:android:background="@drawable/XXX"
第二种方法就是将ImageButton背景改为透明,这个方法更常用
在XML里;
<ImageBut
- JSP之c:foreach
eksliang
jspforearch
原文出自:http://www.cnblogs.com/draem0507/archive/2012/09/24/2699745.html
<c:forEach>标签用于通用数据循环,它有以下属性 属 性 描 述 是否必须 缺省值 items 进行循环的项目 否 无 begin 开始条件 否 0 end 结束条件 否 集合中的最后一个项目 step 步长 否 1
- Android实现主动连接蓝牙耳机
gqdy365
android
在Android程序中可以实现自动扫描蓝牙、配对蓝牙、建立数据通道。蓝牙分不同类型,这篇文字只讨论如何与蓝牙耳机连接。
大致可以分三步:
一、扫描蓝牙设备:
1、注册并监听广播:
BluetoothAdapter.ACTION_DISCOVERY_STARTED
BluetoothDevice.ACTION_FOUND
BluetoothAdapter.ACTION_DIS
- android学习轨迹之四:org.json.JSONException: No value for
hyz301
json
org.json.JSONException: No value for items
在JSON解析中会遇到一种错误,很常见的错误
06-21 12:19:08.714 2098-2127/com.jikexueyuan.secret I/System.out﹕ Result:{"status":1,"page":1,&
- 干货分享:从零开始学编程 系列汇总
justjavac
编程
程序员总爱重新发明轮子,于是做了要给轮子汇总。
从零开始写个编译器吧系列 (知乎专栏)
从零开始写一个简单的操作系统 (伯乐在线)
从零开始写JavaScript框架 (图灵社区)
从零开始写jQuery框架 (蓝色理想 )
从零开始nodejs系列文章 (粉丝日志)
从零开始编写网络游戏 
- jquery-autocomplete 使用手册
macroli
jqueryAjax脚本
jquery-autocomplete学习
一、用前必备
官方网站:http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/
当前版本:1.1
需要JQuery版本:1.2.6
二、使用
<script src="./jquery-1.3.2.js" type="text/ja
- PLSQL-Developer或者Navicat等工具连接远程oracle数据库的详细配置以及数据库编码的修改
超声波
oracleplsql
在服务器上将Oracle安装好之后接下来要做的就是通过本地机器来远程连接服务器端的oracle数据库,常用的客户端连接工具就是PLSQL-Developer或者Navicat这些工具了。刚开始也是各种报错,什么TNS:no listener;TNS:lost connection;TNS:target hosts...花了一天的时间终于让PLSQL-Developer和Navicat等这些客户
- 数据仓库数据模型之:极限存储--历史拉链表
superlxw1234
极限存储数据仓库数据模型拉链历史表
在数据仓库的数据模型设计过程中,经常会遇到这样的需求:
1. 数据量比较大; 2. 表中的部分字段会被update,如用户的地址,产品的描述信息,订单的状态等等; 3. 需要查看某一个时间点或者时间段的历史快照信息,比如,查看某一个订单在历史某一个时间点的状态, 比如,查看某一个用户在过去某一段时间内,更新过几次等等; 4. 变化的比例和频率不是很大,比如,总共有10
- 10点睛Spring MVC4.1-全局异常处理
wiselyman
spring mvc
10.1 全局异常处理
使用@ControllerAdvice注解来实现全局异常处理;
使用@ControllerAdvice的属性缩小处理范围
10.2 演示
演示控制器
package com.wisely.web;
import org.springframework.stereotype.Controller;
import org.spring