需要安装chromium-widevine , 即widevine-cdm插件

https://forum.manjaro.org/t/how-to-install-widevine-on-chromium-to-wacth-netflix/4176

sudo pacman-mirrors -i -c China -m rank

sudo vim /etc/pacman.conf

```

#add before eof

[archlinuxcn]
SigLevel = Optional TrustedOnly
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch

```

sudo pacman -Syy

sudo pacman -S archlinuxcn-keyring

sudo pacman -S fcitx-im
sudo pacman -S fcitx-configtool
sudo pacman -S fcitx-sogoupinyin

-=====

sudo pacman -S google-chrome

目前确定的配置方式如下:

  • 游戏中关闭 V-sync
  • 如果游戏支持设置刷新率,那么就一定要设置到显示器支持的最大刷新率
  • 在 NVIDIA Control Panel / Manage 3D Settings 中确定 Vertical sync 是 On (打开)

https://www.v2ex.com/t/339339

最近在折腾Maven和Sonatype的Nexus, 倒霉催的国内和公司网络...

Nexus配合finalspeed或者kcptun倒是很给力,  但是Intellij就经常出问题, 出现红字也不动, 默认开了auto import也无效

解决方式是在IDEA右侧Maven Projects面板中, 点击M图标的CMD

输入mvn -U idea:idea

坐等结果完成即可

ascii-art generator

| No Comments | No TrackBacks

http://patorjk.com/software/taag/

除了consolas之外,又发现俩好看的编程字体

Adobe的Source Code Pro https://github.com/adobe-fonts/source-code-pro

mononoki https://github.com/madmalik/mononoki

在老版本centos上用pcap4j,需要libpcap > 1.0.0, 系统pcap版本是0.9.x

编译libpcap的时候提示 error: 'DBUS_ERROR_INIT' undeclared (first use in this function)

查阅dbus源码之后直接在pcap-dbus.c头部增加一行

#define DBUS_ERROR_INIT { NULL, NULL, TRUE, 0, 0, 0, 0, NULL }

就可以编译通过了

make install 之后建议执行

dbus-uuidgen > /var/lib/dbus/machine-id

MegaCli基本操作

| No Comments | No TrackBacks

1. 常用命令:
#/opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -Lall -aALL 查raid级别
#/opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -aALL 查raid卡信息
#/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aALL 查看硬盘信息
#/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -aAll 查看电池信息
#/opt/MegaRAID/MegaCli/MegaCli64 -FwTermLog -Dsply -aALL 查看raid卡日志
#/opt/MegaRAID/MegaCli/MegaCli64 -adpCount 【显示适配器个数】
#/opt/MegaRAID/MegaCli/MegaCli64 -AdpGetTime -aALL 【显示适配器时间】
#/opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -aAll 【显示所有适配器信息】
#/opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -LALL -aAll 【显示所有逻辑磁盘组信息】
#/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aAll 【显示所有的物理信息】
#/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuStatus -aALL |grep 'Charger Status' 【查看充电状态】
#/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuStatus -aALL【显示BBU状态信息】
#/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuCapacityInfo -aALL【显示BBU容量信息】
#/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuDesignInfo -aALL 【显示BBU设计参数】
#/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuProperties -aALL 【显示当前BBU属性】
#/opt/MegaRAID/MegaCli/MegaCli64 -cfgdsply -aALL 【显示Raid卡型号,Raid设置,Disk相关信息】

2. 磁带状态的变化,从拔盘,到插盘的过程中

JSR阅读目录

| No Comments | No TrackBacks

推荐阅读

jsr 133 Java Memory Model and Thread Spec

jsr 166 Concurrency Utilities

jsr 221 JDBC 4.0

jsr 255 JMX Spec

jsr 310 Date and Time API

jsr 338 Java Persistence 2.1

jsr 340 Servlet 3.1


建议阅读

jsr 001 Real-time Spec for Java

jsr 170 Content Repository for Java tech API                                                                         

jsr 174 Monitoring and Management Spec for JVM

jsr 175 A Metadata Facility for Java PL

jsr 202 Java Class File Spec

jsr 250 Common Annotations for the Java Platform

jsr 263 Fault Management API

jsr 291 Dynamic Component Support for Java SE (OSGI)

jsr 295 Bean Binding

jsr 319 Availability Management for Java

jsr 330 Dependency Injection for Java

jsr 335 Lambda Expression for Java PL

jsr 365 Context and Dependency Injection for Java 2.0

jsr 352 Batch Application for the Java Platform

jsr 354 Money and Currency API

jsr 356 Java API for WebSocket

jsr 367 Java API for JSON Binding

jsr 368 Java Message Service 2.1

jsr 369 Servlet 4.0

jsr 370 Java API for RESTful(Represenetational State Transfer) Web Service 2.1 Spec

jsr 371 MVC Spec

jsr 374 Java API for JSON Processing 1.1

jsr 907 Java Transaction API

 


JSR list https://jcp.org/ja/jsr/all

Recent Comments

  • suchasplus: 你这个更赞 read more
  • lrobot: 昨天也遇到这个问题。采用同样的方法不过稍有不同 #某些下载需要proxy ALL_PROXY=socks5://a:a@localhost:8765 brew install wget #不需要proxy就直接下了 brew install node read more
  • hyy: 最后怎么解决啊 说明白啊 read more
  • suchasplus: 建议你直接找个php5.3的rpm装。。。, 这文章好几年前的了。。。我记不清了 read more
  • Tom: Oh the link is gone, did you delete the file? read more
  • zjhui: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/filter.so' read more
  • zjhui: 我按照这个方法安装了filter和json库,结果报错:[root@0_227 modules]# /usr/bin/php -m PHP Warning: PHP Startup: Unable to read more
  • suchasplus: 好赞! read more
  • muxueqz: 为此我还用Yahoo Pipes给hi.baidu.com搞了个RSS生成。。。 http://muxueqz.laou.me/hibaidurss.html read more
  • shawn: it's great, Thanks! read more

Recent Assets

  • 360vsTencent.png
  • DIAN.jpg
  • shikitei_title.jpg

Pages

OpenID accepted here Learn more about OpenID
Powered by Movable Type 5.2.7