- 2021.9.26 王老师直播笔记
wan恋空
案例一孩子想要iPad,爸爸妈妈不同意,孩子在家闹平时老公暴躁会摔手机,孩子会不尊重骂自己总结问题老公儿子很任性1.注意力放到老公和自己的身上一个成熟比较横的男人,需要一个成熟比较理智的女人。2.做好自己的角色*儿子你必须尊重我,接受原则做事。少说教,多谈感受3.找一群志同道合的朋友聊聊,改变圈子案例二女儿六岁觉得老师讲课有问题指出来。做事要有策略六岁可以指出来,六岁以后就不可以了女儿小时候在姥姥
- 华为坤灵路由器配置SSH
redmond88
网络技术华为ssh运维
配置SSH服务器的管理网口IP地址。system-view[HUAWEI]sysnameSSHServer[SSHServer]interfacemeth0/0/0[SSHServer-MEth0/0/0]ipaddress10.248.103.194255.255.255.0[SSHServer-MEth0/0/0]quit在SSH服务器端生成本地密钥对。[SSHServer]rsalocal-
- 网络编程--python
电子海鸥
网络编程网络python开发语言
网络编程1、介绍(一)、概述网络编程也叫套接字编程,Socket编程,就是用来实现网络互联的不同计算机上运行的程序间可以进行数据交互(二)、三要素IP地址:设备(电脑,手机,IPad,耳机…)在网络中的唯一标识.端口号:程序在设备上的唯一标识.协议:通信(传输)规则(三)、ip概述设备(电脑,手机,IPad,耳机…)在网络中的唯一标识分类按照代数划分:IPv4:4字节,十进制来表示,例如:192.
- 如何在Mac、 iPhone、iPad上将 HEIF 照片转换为 JPG?
Mac123123
默认情况下,您的iPhone和iPad以HEIF格式保存您拍摄的照片和视频。这只是不能被每个设备查看。在本文中,我们将解释如何在iPhone、iPad或Mac上调整此类照片的大小。转换HEIF照片在iOS11中,Apple引入了新的HEIF和HEVC格式。使用这些文件格式,您可以节省大约40%到50%的存储空间,而不会降低图像质量。因此,您可以在iPhone或iCloud中保存更多照片。这一切听起
- 网口通信C#
哈特谢普苏特
网口通信usingSystem;usingSystem.Net;usingSystem.Net.Sockets;usingSystem.Text;namespaceConsoleApp1{classProgram{staticvoidMain(string[]args){intport=10005;stringhost="192.168.10.200";//服务器端ip地址IPAddressip=
- 禁止弹窗底部页面滑动解决方案整理
七月的你
项目中问题解决方案整理javascriptjscssvue.jshtml
1.如果弹窗内容不可滑动,仅展示方案一:只需要给弹窗蒙层加上@touchmove.prevent即可实现,无兼容性问题方案二:在弹窗蒙层加上touch-action:none;在iPhone5和ipad上可能会没有效果方案三:打开弹窗时,设置body的overflow属性为hidden并阻止默认事件document.body.style.overflow='hidden';varfn=functi
- 优酷酷喵会员与优酷VIP会员区别,酷喵会员可以几个人使用?
小小编007
优酷酷喵会员与优酷VIP会员的最大区别就是酷喵会员可在电视端直接登录使用,VIP会员只能在手机移动端使用。当然酷喵会员的价格年卡要200多,VIP会员一年只有100多。优酷VIP会员权益:可在电脑、手机、ipad登录享受观影特权(版权原因除外)、功能特权、身份特权、直播特权(版权原因除外)、客服特权五大类别超值会员特权,也包含点播节目5折优惠、全站视频跳过或关闭广告、上万小时付费节目免费看、会员专
- 随心所欲的下午从肆无忌惮的刷视频开始
zou咔咔
09:00-11:002h23:00-00:001h今天的计划由于中午把手机带上了床而打乱了。需要把当时的想法记录下来:用手机看一个视频就睡觉,但是我会毁了这个下午的,没关系一个视频不会很久。刷刷刷,一点了,那把这个刷完就睡觉。刷刷刷,一点半了,我再看一会。刷刷刷,两点了,睡到两点半起来,哦不对,我还是起来吧。今天下午本来的打算过去之后,我拿起ipad觉得自己只会刷到4点半,但精神兴奋后,我没有再
- 【解决方案】多机共用一套键鼠
靖待
解决方法多机协作
由现实问题引发的思考(可不看)日常在实验室学习,目前在实验室常用四台设备:台式电脑、笔记本、ipad、手机。受限:1.台式电脑鼠标坏了。2.笔记本键盘舒适度不如机械键盘。3.实验室桌子小,除了设备还有一堆书籍纸张,已经放置不下更多的键盘鼠标。4.校园网只能同时在线三个设备。5.懒惰(滑稽),不愿意在两个设备间用U盘拷来拷去。之前的痛:一个鼠标发射器每日从台式主机插拔换到笔记本上,伸手去够笔记本键盘
- 对世界保持好奇心
你看你看月亮的脸_0289
今天拿到了刚入手的油画棒,高尔乐全家福系列,送的工具也很齐全,下午便迫不及待的画了起来。继丙烯画、iPad插画、彩铅后的油画棒画,虽然整个过程小心翼翼,不知从何下手,但总归是完成了两幅画。橘子小奶泡橘子小奶泡可能是小时候接触的不多,除了学习就是学习,很少有业余爱好的原因,因此长大后想要把所有东西都尝试一遍。在以后的生活里,会继续学习钢琴、画画、摄影、视频剪辑......愿每个人都能对世界充满好奇心
- 前缀列表(ip-prefix)配置
可惜已不在
华为网络华为
一.实验简介本来前缀列表是要和访问控制列表放在一起讲的,但是这里单拎出来是为了更详细的讲解两者的区别1.前缀列表针对IP比访问控制更加灵活。2.前缀列表在后面被引用时是无法对数据包进行过滤的实验拓扑二.实验目的R4路由器中只引入子网LoopBack的最后一位为单数的子网实验配置R1:untermosyssysR1intg0/0/0ipadd192.168.12.124qospfrouter-id1
- 家长必看,别让电子产品“危害”你的孩子
小米饭呀
最近,世界卫生组织发布了有关幼儿接触电子屏幕时间的建议报告。报告建议,2岁以下幼儿不要接触任何电子屏幕,2-5岁儿童每天接触电子屏幕的时间不能超过一小时。然而,让孩子抵挡电子产品的诱惑谈何容易,电子产品成了许多家长的“哄娃神器”,很多家长嫌孩子爱动,看起来麻烦,哭起来吵闹,就把带娃的任务交给电子产品,孩子一坐在电视机或者拿起ipad就秒变乖宝宝,别说跑闹了,一秒钟停止哭泣。可是很多家长都不知道孩子
- 如何激发孩子的学习主动性12
甄相方法论
我常说,一个时代有一个时代的教育方式,作为家长,我们不能那么懒,用上一代人教育我们的方式去管教下一代。因为每个时代毕竟不同了很多。作为现在的小孩是幸福的,他们不仅有电视,电脑,游戏机,还有iPhone,iPad,各种掌机等等。但这也会出现这个新时代的一个很重要的问题,就是你如何去管理你的孩子,使用这些电子设备。每一个孩子,我见过的每一个孩子都对这些设备有着无限的热情。可问题偏偏在于作为家长的我们觉
- iOS同时适配iPad横屏和iPhone竖屏
may_he
IOS开发ipadiphoneios屏幕方向
iPad横屏、iPhone竖屏1、启动页LaunchImage新建一个ImageSet,并且命名为LaunchImage(或者其他的名字),准备iPad横屏、iPhone竖屏的启动页,然后在Finder中打开LaunchImage.imageset找到Contents.json,然后修改内容{"images":[{"filename":"iPhone.png","idiom":"iphone","
- 2024年Linux最新快速入门SaltStack_saltstack基本使用
前端核心技术
程序员linuxsaltstack服务器
yum -y install salt-masterservice salt-master start注:需要iptables开启master端4505、4506端口安装被管理端yum -y install salt-minionsed -i 's@#manster:.\*@manster: master\_ipaddress@' /etc/salt/minion #master\_ipaddr
- ubuntu 设置固定ip地址 或设置自动获取ip地址
遝鱈丿閒人灬
服务器服务器linuxubuntu
查看ubuntu网卡信息名ipaddr1.lo:2.enp1s03.docker04.br-eff5ea5eea78修改配置文件sudovi/etc/network/interfaces#Theprimarynetworkinterface#autoenp1s0#ifaceenp1s0inetdhcp//这两行是用来设定自动获取ip地址的enp1s0即为第一步中的网卡名autoenp1s0ifac
- 云发单安全吗?云发单容易封号吗?云发单会泄露隐私吗?
高省APP大九
云发单会不会造成隐私泄露?云发单一般不会的。因为都是使用ipad协议去在服务器上批量登录,实际都是直接接口api就登录了。获取你的登录接口,聊天接口,朋友圈接口等。大家好,我是高省的浅浅导师!浅浅先在这里给大家分享一个自用省钱分享挣钱的方法。想要挣钱用高省一个适合宝妈、学生党、上班族0投资0囤货创业平台,高省APP佣金更高,模式更好,终端用户不流失。【高省】是一个自用省钱佣金高,分享推广赚钱多的平
- ensp基本ACL的配置
南南很难
ensp
#作业七:###实验一:基本ACL的配置实验环境实验思路1.规划并配置IP2.动态配置3.设置基本ACL4.检查配置结果具体实施实验总结实验环境实验思路规划并配置IP动态配置设置基本ACL检查配置结果具体实施规划并配置IPR1:[R1]intg0/0/0[R1-GigabitEthernet0/0/0]ipadd10.1.12.124[R1-GigabitEthernet0/0/0]intlo0[
- “与信息抗衡的过去和现在”——浅谈《娱乐致死》
WhatShub
你是否一闲下来就要拿出手机刷刷朋友圈和微博,用ipad或电脑学习却总是“莫名其妙”地跳到了某个娱乐社交软件,每天早上不刷头条看新闻就浑身不舒服……这是不是你?在这个通讯与传递越发发达的社会,电子产品随手可得,人们都不约而同地开始面临一个问题-----信息过载。通俗来讲就是信息泛滥。当然了,现在社会上还有一群人,他们得了娱乐的方便还不高兴,拼了命地想逃离娱乐:关闭朋友圈,让朋友给自己的手机设置权限和
- “战疫”日子里的母子家庭“大战”--王小明日记
觉知先森
情绪的背后是认知下午5点,二年级的儿子跑完步后下楼又喊着要吃水果。老婆洗了一大碗小番茄,剥了一堆桂圆,并叮嘱儿子少吃点,一会吃完晚饭再吃,吃点水果后自己先放松一下眼睛(儿子跑步时看IPAD视频),再去敲会架子鼓。趁这时间,刚跳完绳的王小明赶紧去跑步机上接力。“战疫”居家的日子,培养了父子俩天天结伴运动的习惯。每天下午3点半开始,是爷俩大战八方的幸福时光:压腿、俯卧撑、小燕飞、平板支撑、正挂倒挂、跳
- centos 7 等linux 配置网络
晨曦Bai
cd/etc/sysconfig/network-scriptsTYPE=Ethernet#配置为互联网网卡BOOTPROTO=static#配置获取IP地址形式为静态获取IPADDR=192.168.100.112#配置网卡地址NETMASK=255.255.255.0#配置子网掩码NETWORK=192.168.100.0#配置网络地址NAME=enp0s3#配置网卡名字DEVICE=enp0
- macos 10.15系统下载包,macOS Catalina for mac
2401_85529921
macos
macOSCatalina让你喜欢的种种Mac体验都更进一步。你可以领略音乐、播客这两款全新Macapp的表演;在Mac上畅享各款自己心爱的iPadapp;拿起iPad和ApplePencil,拓展工作空间,释放创意灵感;再打开那些平时常用的app,试试各种巧思妙想的新功能。现在,你在Mac上所做的一切,都会有远超以往的感觉。下载地址:点击下载
- 我的罗技K480键盘进水了,但我度过了此次危机
離岸海霧
我的罗技K480进水了,我把小半杯红茶扣在了上面。喝红茶的第三天,我终于把它给扣了。红茶一瞬间就渗进了每个按键的缝隙,连旋钮都被浸泡了,放置ipad的卡槽也积了一汪水。绝望时刻。倒吸一口凉气,我首先抢救的是iPad。擦干了iPad我才想起要给键盘断电,捞起键盘关闭了背面的开关,好在键盘背面没湿。接下来就是抢救键盘的过程,整体气氛十分被动。伸手连抽五张纸巾,把表面的水吸掉了七七八八。提起键盘倾倒,水
- Centos 添加双网卡 (生产环境配置记录)
一个在高校打杂的
centoslinux运维
1、在虚拟机中添加网卡2[root@ntpservernetwork-scripts]#ipaddr1:lo:mtu65536qdiscnoqueuestateUNKNOWNgroupdefaultqlen1000link/loopback00:00:00:00:00:00brd00:00:00:00:00:00inet127.0.0.1/8scopehostlovalid_lftforeverp
- 答知乎提问关于Surface和iPad的选择
竹村浪里个郎
2018-09-16/17日曜日/月曜日如果是为了方便看文献,记笔记,写草稿,应该选择iPadPro还是SurfacePro?Surface有个好处(包括其他Win平板)。就是看一会儿PDF或干点啥,背面就开始发热,屏幕也微微热。冬天的时候,腿虽然在被窝里,但是手毕竟拿着机器在外面,这个时候,这个功能是非常暖手又暖心的。而且寂静的夜里,(部分型号)还会呼呼的风扇瞎转,弄出点声音来好歹也就不那么寂寞
- Liunx最常用命令
陈恒源
1.系统命令命令帮助命令名-help查看ip地址ipaddr清屏clear重启reboot关机shutdown关闭防火墙systemctlstopfirewalld查看端口号占用情况netstat-tnlp|grep:222.文件命令创建文件touch文件名复制/剪切/删除cp/mv/rm文件名查看文件命令more/less/head/tail文件名模糊搜索grep-行号关键字文件名复制文件cp-
- 如何在 ARM 架构的 Mac 上运行 iOS/iPadOS 应用
随便取一个名字但是总是会重复
Macbookiosmacarm
如何在ARM架构的Mac上运行iOS/iPadOS应用在ARM架构的Mac上运行iOS/iPadOS应用.ipa文件如何得到安装软件运行软件的准备在ARM架构的Mac上运行iOS/iPadOS应用最近新购买了M1芯片的ARM架构MacbookPro,因为硬件架构的缘故,这一代的Macbook原生支持运行原先在iPhone/iPad上的app。但是在Mac上的应用商店里可以搜索并下载到的iPhone
- 苹果 iOS / iPadOS 18 beta8和iOS / iPadOS 18.1 beta3版本更新
pf_data
ioscocoamacos
苹果今日向iPhone和iPad用户推送了iOS/iPadOS18开发者预览版Beta8更新(内部版本号:22A5350a)和iOS/iPadOS18.1开发者预览版Beta3更新(内部版本号:22B5034e),本次更新距离上次发布Beta/RC间隔8天。此次更新的iOS18Beta8已无限接近正式版,更新文件并未提到任何新功能,只是修复了Bug和一些改进,这意味着iOS18基础测试功能基本完成
- AR沙盘思路
hquu
ar
方法一、arfoundation借助arkit,可以实现ipad扫描和识别arkit扫描软件:Scanninganddetecting3Dobjects|AppleDeveloperDocumentation需要苹果电脑打包到平板进行安装,扫描好物体后发送到电脑端,unity里面设置好扫描识别的模型可以参考下面的教程:https://www.youtube.com/watch?v=LHpC-EUg
- iPhone数据恢复评论–轻松恢复丢失的数据
Geeker55
恢复软件文件恢复手机数据恢复iphoneiosmacosandroidwindows手机智能手机
在当今世界,智能手机已成为我们生活的重要组成部分。我们依靠它们与我们的朋友和家人保持联系,存储重要信息,甚至开展业务。但是,由于意外删除,设备损坏或任何其他原因而丢失智能手机中的数据可能会导致重大问题。这就是数据恢复软件的用武之地。其中一种软件是iPhone数据恢复。什么是IPhone数据恢复?IPhone数据恢复是一款iOS数据恢复软件,允许用户从iPhone,iPad或iPod恢复已删除或丢失
- scala的option和some
矮蛋蛋
编程scala
原文地址:
http://blog.sina.com.cn/s/blog_68af3f090100qkt8.html
对于学习 Scala 的 Java™ 开发人员来说,对象是一个比较自然、简单的入口点。在 本系列 前几期文章中,我介绍了 Scala 中一些面向对象的编程方法,这些方法实际上与 Java 编程的区别不是很大。我还向您展示了 Scala 如何重新应用传统的面向对象概念,找到其缺点
- NullPointerException
Cb123456
androidBaseAdapter
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getImportantForAccessibility()' on a null object reference
出现以上异常.然后就在baidu上
- PHP使用文件和目录
天子之骄
php文件和目录读取和写入php验证文件php锁定文件
PHP使用文件和目录
1.使用include()包含文件
(1):使用include()从一个被包含文档返回一个值
(2):在控制结构中使用include()
include_once()函数需要一个包含文件的路径,此外,第一次调用它的情况和include()一样,如果在脚本执行中再次对同一个文件调用,那么这个文件不会再次包含。
在php.ini文件中设置
- SQL SELECT DISTINCT 语句
何必如此
sql
SELECT DISTINCT 语句用于返回唯一不同的值。
SQL SELECT DISTINCT 语句
在表中,一个列可能会包含多个重复值,有时您也许希望仅仅列出不同(distinct)的值。
DISTINCT 关键词用于返回唯一不同的值。
SQL SELECT DISTINCT 语法
SELECT DISTINCT column_name,column_name
F
- java冒泡排序
3213213333332132
java冒泡排序
package com.algorithm;
/**
* @Description 冒泡
* @author FuJianyong
* 2015-1-22上午09:58:39
*/
public class MaoPao {
public static void main(String[] args) {
int[] mao = {17,50,26,18,9,10
- struts2.18 +json,struts2-json-plugin-2.1.8.1.jar配置及问题!
7454103
DAOspringAjaxjsonqq
struts2.18 出来有段时间了! (貌似是 稳定版)
闲时研究下下! 貌似 sruts2 搭配 json 做 ajax 很吃香!
实践了下下! 不当之处请绕过! 呵呵
网上一大堆 struts2+json 不过大多的json 插件 都是 jsonplugin.34.jar
strut
- struts2 数据标签说明
darkranger
jspbeanstrutsservletScheme
数据标签主要用于提供各种数据访问相关的功能,包括显示一个Action里的属性,以及生成国际化输出等功能
数据标签主要包括:
action :该标签用于在JSP页面中直接调用一个Action,通过指定executeResult参数,还可将该Action的处理结果包含到本页面来。
bean :该标签用于创建一个javabean实例。如果指定了id属性,则可以将创建的javabean实例放入Sta
- 链表.简单的链表节点构建
aijuans
编程技巧
/*编程环境WIN-TC*/ #include "stdio.h" #include "conio.h"
#define NODE(name, key_word, help) \ Node name[1]={{NULL, NULL, NULL, key_word, help}}
typedef struct node { &nbs
- tomcat下jndi的三种配置方式
avords
tomcat
jndi(Java Naming and Directory Interface,Java命名和目录接口)是一组在Java应用中访问命名和目录服务的API。命名服务将名称和对象联系起来,使得我们可以用名称
访问对象。目录服务是一种命名服务,在这种服务里,对象不但有名称,还有属性。
tomcat配置
- 关于敏捷的一些想法
houxinyou
敏捷
从网上看到这样一句话:“敏捷开发的最重要目标就是:满足用户多变的需求,说白了就是最大程度的让客户满意。”
感觉表达的不太清楚。
感觉容易被人误解的地方主要在“用户多变的需求”上。
第一种多变,实际上就是没有从根本上了解了用户的需求。用户的需求实际是稳定的,只是比较多,也比较混乱,用户一般只能了解自己的那一小部分,所以没有用户能清楚的表达出整体需求。而由于各种条件的,用户表达自己那一部分时也有
- 富养还是穷养,决定孩子的一生
bijian1013
教育人生
是什么决定孩子未来物质能否丰盛?为什么说寒门很难出贵子,三代才能出贵族?真的是父母必须有钱,才能大概率保证孩子未来富有吗?-----作者:@李雪爱与自由
事实并非由物质决定,而是由心灵决定。一朋友富有而且修养气质很好,兄弟姐妹也都如此。她的童年时代,物质上大家都很贫乏,但妈妈总是保持生活中的美感,时不时给孩子们带回一些美好小玩意,从来不对孩子传递生活艰辛、金钱来之不易、要懂得珍惜
- oracle 日期时间格式转化
征客丶
oracle
oracle 系统时间有 SYSDATE 与 SYSTIMESTAMP;
SYSDATE:不支持毫秒,取的是系统时间;
SYSTIMESTAMP:支持毫秒,日期,时间是给时区转换的,秒和毫秒是取的系统的。
日期转字符窜:
一、不取毫秒:
TO_CHAR(SYSDATE, 'YYYY-MM-DD HH24:MI:SS')
简要说明,
YYYY 年
MM 月
- 【Scala六】分析Spark源代码总结的Scala语法四
bit1129
scala
1. apply语法
FileShuffleBlockManager中定义的类ShuffleFileGroup,定义:
private class ShuffleFileGroup(val shuffleId: Int, val fileId: Int, val files: Array[File]) {
...
def apply(bucketId
- Erlang中有意思的bug
bookjovi
erlang
代码中常有一些很搞笑的bug,如下面的一行代码被调用两次(Erlang beam)
commit f667e4a47b07b07ed035073b94d699ff5fe0ba9b
Author: Jovi Zhang <
[email protected]>
Date: Fri Dec 2 16:19:22 2011 +0100
erts:
- 移位打印10进制数转16进制-2008-08-18
ljy325
java基础
/**
* Description 移位打印10进制的16进制形式
* Creation Date 15-08-2008 9:00
* @author 卢俊宇
* @version 1.0
*
*/
public class PrintHex {
// 备选字符
static final char di
- 读《研磨设计模式》-代码笔记-组合模式
bylijinnan
java设计模式
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
import java.util.ArrayList;
import java.util.List;
abstract class Component {
public abstract void printStruct(Str
- 利用cmd命令将.class文件打包成jar
chenyu19891124
cmdjar
cmd命令打jar是如下实现:
在运行里输入cmd,利用cmd命令进入到本地的工作盘符。(如我的是D盘下的文件有此路径 D:\workspace\prpall\WEB-INF\classes)
现在是想把D:\workspace\prpall\WEB-INF\classes路径下所有的文件打包成prpall.jar。然后继续如下操作:
cd D: 回车
cd workspace/prpal
- [原创]JWFD v0.96 工作流系统二次开发包 for Eclipse 简要说明
comsci
eclipse设计模式算法工作swing
JWFD v0.96 工作流系统二次开发包 for Eclipse 简要说明
&nb
- SecureCRT右键粘贴的设置
daizj
secureCRT右键粘贴
一般都习惯鼠标右键自动粘贴的功能,对于SecureCRT6.7.5 ,这个功能也已经是默认配置了。
老版本的SecureCRT其实也有这个功能,只是不是默认设置,很多人不知道罢了。
菜单:
Options->Global Options ...->Terminal
右边有个Mouse的选项块。
Copy on Select
Paste on Right/Middle
- Linux 软链接和硬链接
dongwei_6688
linux
1.Linux链接概念Linux链接分两种,一种被称为硬链接(Hard Link),另一种被称为符号链接(Symbolic Link)。默认情况下,ln命令产生硬链接。
【硬连接】硬连接指通过索引节点来进行连接。在Linux的文件系统中,保存在磁盘分区中的文件不管是什么类型都给它分配一个编号,称为索引节点号(Inode Index)。在Linux中,多个文件名指向同一索引节点是存在的。一般这种连
- DIV底部自适应
dcj3sjt126com
JavaScript
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml&q
- Centos6.5使用yum安装mysql——快速上手必备
dcj3sjt126com
mysql
第1步、yum安装mysql
[root@stonex ~]# yum -y install mysql-server
安装结果:
Installed:
mysql-server.x86_64 0:5.1.73-3.el6_5 &nb
- 如何调试JDK源码
frank1234
jdk
相信各位小伙伴们跟我一样,想通过JDK源码来学习Java,比如collections包,java.util.concurrent包。
可惜的是sun提供的jdk并不能查看运行中的局部变量,需要重新编译一下rt.jar。
下面是编译jdk的具体步骤:
1.把C:\java\jdk1.6.0_26\sr
- Maximal Rectangle
hcx2013
max
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.
public class Solution {
public int maximalRectangle(char[][] matrix)
- Spring MVC测试框架详解——服务端测试
jinnianshilongnian
spring mvc test
随着RESTful Web Service的流行,测试对外的Service是否满足期望也变的必要的。从Spring 3.2开始Spring了Spring Web测试框架,如果版本低于3.2,请使用spring-test-mvc项目(合并到spring3.2中了)。
Spring MVC测试框架提供了对服务器端和客户端(基于RestTemplate的客户端)提供了支持。
&nbs
- Linux64位操作系统(CentOS6.6)上如何编译hadoop2.4.0
liyong0802
hadoop
一、准备编译软件
1.在官网下载jdk1.7、maven3.2.1、ant1.9.4,解压设置好环境变量就可以用。
环境变量设置如下:
(1)执行vim /etc/profile
(2)在文件尾部加入:
export JAVA_HOME=/home/spark/jdk1.7
export MAVEN_HOME=/ho
- StatusBar 字体白色
pangyulei
status
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
/*you'll also need to set UIViewControllerBasedStatusBarAppearance to NO in the plist file if you use this method
- 如何分析Java虚拟机死锁
sesame
javathreadoracle虚拟机jdbc
英文资料:
Thread Dump and Concurrency Locks
Thread dumps are very useful for diagnosing synchronization related problems such as deadlocks on object monitors. Ctrl-\ on Solaris/Linux or Ctrl-B
- 位运算简介及实用技巧(一):基础篇
tw_wangzhengquan
位运算
http://www.matrix67.com/blog/archives/263
去年年底写的关于位运算的日志是这个Blog里少数大受欢迎的文章之一,很多人都希望我能不断完善那篇文章。后来我看到了不少其它的资料,学习到了更多关于位运算的知识,有了重新整理位运算技巧的想法。从今天起我就开始写这一系列位运算讲解文章,与其说是原来那篇文章的follow-up,不如说是一个r
- jsearch的索引文件结构
yangshangchuan
搜索引擎jsearch全文检索信息检索word分词
jsearch是一个高性能的全文检索工具包,基于倒排索引,基于java8,类似于lucene,但更轻量级。
jsearch的索引文件结构定义如下:
1、一个词的索引由=分割的三部分组成: 第一部分是词 第二部分是这个词在多少