去年看到一张图
【比特币完美复制经典泡沫价格曲线】没有经历过郁金香,南海,科网股等超级泡沫的人,在今天终于有幸能见到一生或许才遇一次的超级泡沫,好好感受一下吧(一切都要感谢过去10年孜孜不倦不断放水的央行,才让我们有幸在这个时代再次见证)

去年看到一张图
【比特币完美复制经典泡沫价格曲线】没有经历过郁金香,南海,科网股等超级泡沫的人,在今天终于有幸能见到一生或许才遇一次的超级泡沫,好好感受一下吧(一切都要感谢过去10年孜孜不倦不断放水的央行,才让我们有幸在这个时代再次见证)
1、增大页面宽
登录后台——外观——编辑,修改style.css,搜索page-content
看到写死的最大宽度是474px,“max-width: 474px;” ,修改为700px。但是由于只改了page-content的宽度会造成标题、评论、推荐文章的错位,所以还要搜索474px,全部改成700px
2、修改标题栏颜色
搜索site-header,找到“ background-color: #000; ”,改成适合的颜色,比如灰色#808080
3、主题居中显示
TwentyFourteen主题默认是左对齐,同样修改style.css,找到“* 1.0 Reset”,将“ margin: 0 ”改为“margin: auto”
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
border: 0;
font-family: inherit;
font-size: 100%;
font-style: inherit;
font-weight: inherit;
/*margin: 0;*/
margin: auto;
outline: 0;
padding: 0;
vertical-align: baseline;
}
1、上传软件包
/home/jdk-8u172-linux-x64.tar.gz
/home/apache-activemq-5.15.8-bin.tar.gz
2、解压
tar -zxvf jdk-8u172-linux-x64.tar.gz -C /opt
tar -zxvf apache-activemq-5.15.8-bin.tar.gz -C /opt
3、设置JDK
vim /etc/profile
加入:
JAVA_HOME=/opt/jdk1.8.0_172
JRE_HOME=/opt/jdk1.8.0_172/jre
PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin
export JAVA_HOME JRE_HOME PATH CLASSPATH
使设置生效:
source /etc/profile
java -version
4、启动activemq
cd /opt/apache-activemq-5.15.8/bin
./activemq start
5、添加端口
firewall-cmd –zone=public –add-port=8161/tcp –permanent
firewall-cmd –zone=public –add-port=61616/tcp –permanent
加载配置
firewall-cmd –reload
查看端口
firewall-cmd –list-ports
6、访问管理页面
http://服务器IP地址:8161/admin/
Login: admin
Passwort: admin
CPI – 物价上涨价格
PPI – 工业原材料出厂价格
GDP – 国内生产总值
M2 – 货币供应量
2017年底的M2是25年前的100倍,房价按6万除以100,再乘以2(开发商利润),就是1200块钱
M1
高端制造,高端服务
http://www.ximalaya.com/16154992/sound/70016850/
pmap命令用于查看进程的内存映像信息,查看进程加载了哪些模块。
Usage:
pmap [options] PID [PID ...]
Options:
-x, --extended show details
-X show even more details
WARNING: format changes according to /proc/PID/smaps
-XX show everything the kernel provides
-c, --read-rc read the default rc
-C, --read-rc-from= read the rc from file
-n, --create-rc create new default rc
-N, --create-rc-to= create new rc to file
NOTE: pid arguments are not allowed with -n, -N
-d, --device show the device format
-q, --quiet do not display header and footer
-p, --show-path show path in the mapping
-A, --range=[,] limit results to the given range
-h, --help display this help and exit
-V, --version output version information and exit
字段说明:
Address : start address ofmap 映像起始地址
Kbytes : size of map in kilobytes 映像大小
RSS : resident set size inkilobytes 驻留集大小
Dirty : dirty pages (both sharedand private) in kilobytes 脏页大小
Mode : permissions on map 映像权限: r=read,w=write, x=execute, s=shared, p=private (copy on write)
Mapping : file backing the map ,or ‘[ anon ]’ for allocated memory, or ‘[ stack ]’ for the program stack. 映像支持文件,[anon]为已分配内存[stack]为程序堆栈
CentOS7已经用新命令代替6时代的老命令。
1、如继续使用老命令,安装net-tools
#查看net-tools信息
yum info net-tools
#安装net-tools
yum install net-tools
2、使用ss代替netstat
以前用netstat -ant
现在使用ss -ant、ss -nltp
3、使用ip addr show代替ifconfig
4、使用ip route show代替route
小孩子会使用一些“讨好的技巧”(Ingratiation Tactics),这些技巧包括以下四种类型(Jones & Wortman, 1973):
对别人好是为了得到回报,简单说就是嘴甜,会来事儿
通过显示自己是值得被爱的而获得好处,比如会卖萌
通过肯定别人的优点来获得好处,比如会夸人
突出自己和对方相似的地方,比如会套近乎
oracle 10g没有continue功能,在11g才加入。如果要在10g实现continue,可以用goto代替。
--/ begin for i in 1 .. 20 loop if i < 10 then GOTO print_now; end if; dbms_output.put_line(i); <<print_now>> NULL; end loop; dbms_output.put_line('111'); end; /
心理咨询和同理心
心理咨询不但是人际沟通的技巧,也是语言交流的艺术。人们通常以为,心理咨询就是为来访者说教人生,指点迷津,直截了当地给出问题的解决方案,或者干脆替来访者拿主意,所以坊间自称情感咨询专家者多劝人“别想了”“你可以找到更好的”。
但替人拿主意并不是心理咨询的意图,心理咨询强调的是“虚功”,讲究以虚击实,循循善诱。失恋的来访者真正需要的是倾诉,倾诉前因后果、焦虑郁闷,因此心理咨询师会引导来访者表达出自己的真正想法,并在这个过程中学会独立思考与决策,学会自我开导。
人际交往过程中,能够体会他人的情绪和想法,理解他人的立场和感受,并站在他人的角度思考和处理问题的能力是十分重要的,这一能力称为同理心。
oracle的ASCII、ASCIISTR函数
1、ASCII函数
作用是将字符转换为ascii码值,中文没有ascii码值,应该是转成某一编码再取编码的ascii值。
2、ASCIISTR函数
ASCIISTR函数,参数是一个字符串,如果这个字符在ASCII码表中有,则转成ASCII表中的字符。
如果没有,则转成\xxxx格式,xxxx是UTF-16的编码。
如果表中只有中文和英文、数字等字符,则可以用\来判断是否带有中文。
举例:
select * from bacs.tcim_per_account where ASCIISTR(USER_ID) LIKE ‘%\%’;
3、对比区别
select ASCIISTR('A'), ASCIISTR('b'), ASCIISTR('才'), ASCII('A'), ASCII('b'), ASCII('才') from dual; ASCIISTR('A') ASCIISTR('B') ASCIISTR('才') ASCII('A') ASCII('B') ASCII('才') ------------- ------------- ------------- ---------- ---------- ---------- A b \624D 65 98 15108493