- 焱武记:Day 266(补记)
hmisty
20190113Sunmorning:reading.论法的精神。afternoon:补觉。晚上:7:00-21:00见优酷雷总。视频平台对小众内容没兴趣。建议自己做流量矩阵和变现。night:22:00-2:00撰写完毕《公链之殇:2018出人意料,2019何去何从》,并设置定时发送(明早8点)。文尾推课改成推roseQR。本文根据“教链有话说”同名直播分享内容整理而成。关注后续“教链有话说”定
- 2022-04-07 chapter 51
英语小说控
“Hahaha,”hesays.“Iwastryingtobethorough.”“AsthoroughasDostoyevsky.”“Yousaythatlikeit’sabadthing.”“Shh,”Isay.“Reading.”AlreadyknowingAlex,Idofindthebiokindofcharming.Mostlyinthatitspeakstothatlovablegr
- 2021-10-08
安彩霞
【StudentNumber】:2021021101【Name】:AnCaixia【Gender】:Female【City】:HunyuanCounty,DatongCity,ShanxiProvince.【Beskilledin】:Running,Getalongwellwithchildren.【Hobbies】:Binge-watching,Starchasing,Reading.【What
- 2021-10-08
安彩霞
【StudentNumber】:2021021101【Name】:AnCaixia【Gender】:Female【City】:HunyuanCounty,DatongCity,ShanxiProvince.【Beskilledin】:Running,Getalongwellwithchildren.【Hobbies】:Binge-watching,Starchasing,Reading.【What
- Reading.
赵宸本人
AslongasIgetmymemory.Myparentstoldmethat"TheabilitytoreadisagiftfromGod".Becauseofthis,IlovereadingsinceIwasveryyoung.FromsimplepicturebookstolaterDKknowledgebooktosomepopularsciencebooks,andthelastno
- 快乐学英语(43)--闲来无事读本书
岭南后生
LeonandAmy:你们平时喜欢看书吗?今天我们来学习一下关于读书的英语。书,book.阅读,read,reading.你喜欢看书吗?Doyoulikereading?你喜欢看什么类型的书?Whatkindofbooksdoyouliketoread?类型,kind.我喜欢看小说和营销类的书。Ilikereadingnovelsandbooksaboutmarketing.小说,novel.营销
- 时间管理100讲|066【阅读】|在人生的重要领域开展“主题阅读”
生如夏花绚烂璀璨
音频链接:时间管理100讲TodayIwanttotalkaboutanimportantnewtopic:reading.今天,我来分享一个新的话题——阅读。Readingisawaytorelaxthebodyandexpandthesoul.身体和灵魂,我们都要在路上。Inotherwords,ifyouwilltraveltenthousandmiles,youshouldalsoread
- 拆书帮读书法
绽蕊闻香
昨晚用短短一个小时的时间,听拆书帮的瑞雪介绍了如何拆一本书来读。想详细了解这种方法,大家可以看《这样读书就够了》这本书。这种方法适用于致用类的书,而非文学之类。你读书的目的是为了提升自己某方面的能力,技巧或方法,并将其实际应用。第一步,R,reading.拿起一本书,就像和作者开始一段对话,你想从对话中得到什么,即读这本书的目的是什么,要明确。然后快速通读此书,挑出让自己心动的片段。这个过程,就是
- 学生作品:随笔三篇
松竹友
作者:9.2王巧巧1.今天天气晴朗,我的心情也特别好,我并没有捡到钱,而是我学会了数学老师讲的题。数学老师还说那种题相对比较难,但我竟然学会了,这是值得开心的事。可惜啊!我英语也不太好,英语老师看起来有点儿可怕。那么长的reading让我们背。我实在背不会啊!我宁愿背十首古诗,也不想背reading.但是也不得不背啊!我都是把它读得滚瓜烂熟才能背给老师。我记不住英语只记得住汉语。我们是中国人,我要
- IPC(一)
jiangxt211
Communication FacilitiesWe can break the communication facilities into two categories:Datatransfer facilities: The key factor distinguishing these facilities is the notion of writing and reading. Inor
- Python Base HTTP Server
邓维
import BaseHTTPServerimport cgi, random, sysMESSAGES = ["That's as maybe, it's still a frog.","Albatross! Albatross! Albatross!","It's Wolfgang Amadeus Mozart.","A pink form from Reading.","Hello peop
- 怎样看paper 最有效率
效率
thinking more after reading. Don't just read the papers.in addition, at begining, you'd better focus on abstract, introduction and discussion. little by little, spend more time on materials and
- ###《Max-Margin Early Event Detectors》
margin
Paper reading.
#@author: gr
#@date: 2014-03-11
#@email:
[email protected]
Early Detection Abstract:
Structured Output SVM
Processing Sequential Data
Detecing
- stanford推荐阅读目录
for
stanford deep learning 网站上推荐的阅读目录: UFLDL Recommended Readings
If you're learning about UFLDL (Unsupervised Feature Learning and Deep Learning), here is a list of papers to consider reading.
- Codeforces Round #188 (Div. 2) B. Strings of Power 水题
codeforces
B. Strings of Power
Time Limit: 20 Sec
Memory Limit: 256 MB 题目连接
http://codeforces.com/contest/318/problem/B Description Volodya likes listening to heavy metal and (occasionally) reading. No wond
- Unable to open c
open
1. Unable to open c:\Cadence\PSD_14.2\tools\capture\allegro.cfg for reading. Please correct the above error(s) to proceed 错误解释:
allegro.cfg文件找不到或allegro.cfg文件不能打开,这个问题的根源是,有可能每台电脑上安装Allegro的的位置不一样,al
- 每日英语:In Dark Portrait of China's Elderly, a Bright Spot
right
The findings of China*s first major study on the lives of the nation*s 185 million elderly make for gloomy reading. The results of the China Health and Retirement Longitudinal Study show 22.9% of Chin
- Test demo with VSTS2008
test
Here is a completed webtest demo. It's a good getting started reading. Web Test Normal Web Test Web Service Test Data Binding Coded Web Test Load Test What is Web Test? A
- hadoop资源
wwei198602
hadoop
The official Hadoop website is at http://hadoop.apache.org/.
The original papers on the Google File System and MapReduce are well worth
reading. Appreciate their underlying design and architecture:
- English test
oywl2008
english
个人,家庭,家乡,工作,学习,爱好,用专业词汇.
I like reading a lot.
I like reading. My favorite book is “Gone with the wind”. Becaue I love the main character.
I have a wide range of hobbies among which I love
- 助动词---be,have,do
blue_halo
读书Go
第一章、助动词be、have和do
1. Be动词的用法
(1) 助动词be和现在分词一起构成进行时或完成进行时。如:He is reading. 他在读书。I'll be waiting for you there then. 我到时在那儿等你。
(2) 助动词be和过去分词一起构成被动语态。如:Is he taken good care of? 他被照顾得好吗?They shall be
- 遍历dom 并且存储(将每一层的DOM元素存在数组中)
换个号韩国红果果
JavaScripthtml
数组从0开始!!
var a=[],i=0;
for(var j=0;j<30;j++){
a[j]=[];//数组里套数组,且第i层存储在第a[i]中
}
function walkDOM(n){
do{
if(n.nodeType!==3)//筛选去除#text类型
a[i].push(n);
//con
- Android+Jquery Mobile学习系列(9)-总结和代码分享
白糖_
JQuery Mobile
目录导航
经过一个多月的边学习边练手,学会了Android基于Web开发的毛皮,其实开发过程中用Android原生API不是很多,更多的是HTML/Javascript/Css。
个人觉得基于WebView的Jquery Mobile开发有以下优点:
1、对于刚从Java Web转型过来的同学非常适合,只要懂得HTML开发就可以上手做事。
2、jquerym
- impala参考资料
dayutianfei
impala
记录一些有用的Impala资料
1. 入门资料
>>官网翻译:
http://my.oschina.net/weiqingbin/blog?catalog=423691
2. 实用进阶
>>代码&架构分析:
Impala/Hive现状分析与前景展望:http
- JAVA 静态变量与非静态变量初始化顺序之新解
周凡杨
java静态非静态顺序
今天和同事争论一问题,关于静态变量与非静态变量的初始化顺序,谁先谁后,最终想整理出来!测试代码:
import java.util.Map;
public class T {
public static T t = new T();
private Map map = new HashMap();
public T(){
System.out.println(&quo
- 跳出iframe返回外层页面
g21121
iframe
在web开发过程中难免要用到iframe,但当连接超时或跳转到公共页面时就会出现超时页面显示在iframe中,这时我们就需要跳出这个iframe到达一个公共页面去。
首先跳转到一个中间页,这个页面用于判断是否在iframe中,在页面加载的过程中调用如下代码:
<script type="text/javascript">
//<!--
function
- JAVA多线程监听JMS、MQ队列
510888780
java多线程
背景:消息队列中有非常多的消息需要处理,并且监听器onMessage()方法中的业务逻辑也相对比较复杂,为了加快队列消息的读取、处理速度。可以通过加快读取速度和加快处理速度来考虑。因此从这两个方面都使用多线程来处理。对于消息处理的业务处理逻辑用线程池来做。对于加快消息监听读取速度可以使用1.使用多个监听器监听一个队列;2.使用一个监听器开启多线程监听。
对于上面提到的方法2使用一个监听器开启多线
- 第一个SpringMvc例子
布衣凌宇
spring mvc
第一步:导入需要的包;
第二步:配置web.xml文件
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi=
- 我的spring学习笔记15-容器扩展点之PropertyOverrideConfigurer
aijuans
Spring3
PropertyOverrideConfigurer类似于PropertyPlaceholderConfigurer,但是与后者相比,前者对于bean属性可以有缺省值或者根本没有值。也就是说如果properties文件中没有某个bean属性的内容,那么将使用上下文(配置的xml文件)中相应定义的值。如果properties文件中有bean属性的内容,那么就用properties文件中的值来代替上下
- 通过XSD验证XML
antlove
xmlschemaxsdvalidationSchemaFactory
1. XmlValidation.java
package xml.validation;
import java.io.InputStream;
import javax.xml.XMLConstants;
import javax.xml.transform.stream.StreamSource;
import javax.xml.validation.Schem
- 文本流与字符集
百合不是茶
PrintWrite()的使用字符集名字 别名获取
文本数据的输入输出;
输入;数据流,缓冲流
输出;介绍向文本打印格式化的输出PrintWrite();
package 文本流;
import java.io.FileNotFound
- ibatis模糊查询sqlmap-mapping-**.xml配置
bijian1013
ibatis
正常我们写ibatis的sqlmap-mapping-*.xml文件时,传入的参数都用##标识,如下所示:
<resultMap id="personInfo" class="com.bijian.study.dto.PersonDTO">
<res
- java jvm常用命令工具——jdb命令(The Java Debugger)
bijian1013
javajvmjdb
用来对core文件和正在运行的Java进程进行实时地调试,里面包含了丰富的命令帮助您进行调试,它的功能和Sun studio里面所带的dbx非常相似,但 jdb是专门用来针对Java应用程序的。
现在应该说日常的开发中很少用到JDB了,因为现在的IDE已经帮我们封装好了,如使用ECLI
- 【Spring框架二】Spring常用注解之Component、Repository、Service和Controller注解
bit1129
controller
在Spring常用注解第一步部分【Spring框架一】Spring常用注解之Autowired和Resource注解(http://bit1129.iteye.com/blog/2114084)中介绍了Autowired和Resource两个注解的功能,它们用于将依赖根据名称或者类型进行自动的注入,这简化了在XML中,依赖注入部分的XML的编写,但是UserDao和UserService两个bea
- cxf wsdl2java生成代码super出错,构造函数不匹配
bitray
super
由于过去对于soap协议的cxf接触的不是很多,所以遇到了也是迷糊了一会.后来经过查找资料才得以解决. 初始原因一般是由于jaxws2.2规范和jdk6及以上不兼容导致的.所以要强制降为jaxws2.1进行编译生成.我们需要少量的修改:
我们原来的代码
wsdl2java com.test.xxx -client http://.....
修改后的代
- 动态页面正文部分中文乱码排障一例
ronin47
公司网站一部分动态页面,早先使用apache+resin的架构运行,考虑到高并发访问下的响应性能问题,在前不久逐步开始用nginx替换掉了apache。 不过随后发现了一个问题,随意进入某一有分页的网页,第一页是正常的(因为静态化过了);点“下一页”,出来的页面两边正常,中间部分的标题、关键字等也正常,唯独每个标题下的正文无法正常显示。 因为有做过系统调整,所以第一反应就是新上
- java-54- 调整数组顺序使奇数位于偶数前面
bylijinnan
java
import java.util.Arrays;
import java.util.Random;
import ljn.help.Helper;
public class OddBeforeEven {
/**
* Q 54 调整数组顺序使奇数位于偶数前面
* 输入一个整数数组,调整数组中数字的顺序,使得所有奇数位于数组的前半部分,所有偶数位于数组的后半
- 从100PV到1亿级PV网站架构演变
cfyme
网站架构
一个网站就像一个人,存在一个从小到大的过程。养一个网站和养一个人一样,不同时期需要不同的方法,不同的方法下有共同的原则。本文结合我自已14年网站人的经历记录一些架构演变中的体会。 1:积累是必不可少的
架构师不是一天练成的。
1999年,我作了一个个人主页,在学校内的虚拟空间,参加了一次主页大赛,几个DREAMWEAVER的页面,几个TABLE作布局,一个DB连接,几行PHP的代码嵌入在HTM
- [宇宙时代]宇宙时代的GIS是什么?
comsci
Gis
我们都知道一个事实,在行星内部的时候,因为地理信息的坐标都是相对固定的,所以我们获取一组GIS数据之后,就可以存储到硬盘中,长久使用。。。但是,请注意,这种经验在宇宙时代是不能够被继续使用的
宇宙是一个高维时空
- 详解create database命令
czmmiao
database
完整命令
CREATE DATABASE mynewdb USER SYS IDENTIFIED BY sys_password USER SYSTEM IDENTIFIED BY system_password LOGFILE GROUP 1 ('/u01/logs/my/redo01a.log','/u02/logs/m
- 几句不中听却不得不认可的话
datageek
1、人丑就该多读书。
2、你不快乐是因为:你可以像猪一样懒,却无法像只猪一样懒得心安理得。
3、如果你太在意别人的看法,那么你的生活将变成一件裤衩,别人放什么屁,你都得接着。
4、你的问题主要在于:读书不多而买书太多,读书太少又特爱思考,还他妈话痨。
5、与禽兽搏斗的三种结局:(1)、赢了,比禽兽还禽兽。(2)、输了,禽兽不如。(3)、平了,跟禽兽没两样。结论:选择正确的对手很重要。
6
- 1 14:00 PHP中的“syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM”错误
dcj3sjt126com
PHP
原文地址:http://www.kafka0102.com/2010/08/281.html
因为需要,今天晚些在本机使用PHP做些测试,PHP脚本依赖了一堆我也不清楚做什么用的库。结果一跑起来,就报出类似下面的错误:“Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/kafka/test/
- xcode6 Auto layout and size classes
dcj3sjt126com
ios
官方GUI
https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/AutolayoutPG/Introduction/Introduction.html
iOS中使用自动布局(一)
http://www.cocoachina.com/ind
- 通过PreparedStatement批量执行sql语句【sql语句相同,值不同】
梦见x光
sql事务批量执行
比如说:我有一个List需要添加到数据库中,那么我该如何通过PreparedStatement来操作呢?
public void addCustomerByCommit(Connection conn , List<Customer> customerList)
{
String sql = "inseret into customer(id
- 程序员必知必会----linux常用命令之十【系统相关】
hanqunfeng
Linux常用命令
一.linux快捷键
Ctrl+C : 终止当前命令
Ctrl+S : 暂停屏幕输出
Ctrl+Q : 恢复屏幕输出
Ctrl+U : 删除当前行光标前的所有字符
Ctrl+Z : 挂起当前正在执行的进程
Ctrl+L : 清除终端屏幕,相当于clear
二.终端命令
clear : 清除终端屏幕
reset : 重置视窗,当屏幕编码混乱时使用
time com
- NGINX
IXHONG
nginx
pcre 编译安装 nginx
conf/vhost/test.conf
upstream admin {
server 127.0.0.1:8080;
}
server {
listen 80;
&
- 设计模式--工厂模式
kerryg
设计模式
工厂方式模式分为三种:
1、普通工厂模式:建立一个工厂类,对实现了同一个接口的一些类进行实例的创建。
2、多个工厂方法的模式:就是对普通工厂方法模式的改进,在普通工厂方法模式中,如果传递的字符串出错,则不能正确创建对象,而多个工厂方法模式就是提供多个工厂方法,分别创建对象。
3、静态工厂方法模式:就是将上面的多个工厂方法模式里的方法置为静态,
- Spring InitializingBean/init-method和DisposableBean/destroy-method
mx_xiehd
javaspringbeanxml
1.initializingBean/init-method
实现org.springframework.beans.factory.InitializingBean接口允许一个bean在它的所有必须属性被BeanFactory设置后,来执行初始化的工作,InitialzingBean仅仅指定了一个方法。
通常InitializingBean接口的使用是能够被避免的,(不鼓励使用,因为没有必要
- 解决Centos下vim粘贴内容格式混乱问题
qindongliang1922
centosvim
有时候,我们在向vim打开的一个xml,或者任意文件中,拷贝粘贴的代码时,格式莫名其毛的就混乱了,然后自己一个个再重新,把格式排列好,非常耗时,而且很不爽,那么有没有办法避免呢? 答案是肯定的,设置下缩进格式就可以了,非常简单: 在用户的根目录下 直接vi ~/.vimrc文件 然后将set pastetoggle=<F9> 写入这个文件中,保存退出,重新登录,
- netty大并发请求问题
tianzhihehe
netty
多线程并发使用同一个channel
java.nio.BufferOverflowException: null
at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:183) ~[na:1.7.0_60-ea]
at java.nio.ByteBuffer.put(ByteBuffer.java:832) ~[na:1.7.0_60-ea]
- Hadoop NameNode单点问题解决方案之一 AvatarNode
wyz2009107220
NameNode
我们遇到的情况
Hadoop NameNode存在单点问题。这个问题会影响分布式平台24*7运行。先说说我们的情况吧。
我们的团队负责管理一个1200节点的集群(总大小12PB),目前是运行版本为Hadoop 0.20,transaction logs写入一个共享的NFS filer(注:NetApp NFS Filer)。
经常遇到需要中断服务的问题是给hadoop打补丁。 DataNod