Perference -> Key bindings Users -> add the followings :
[
{ "keys": ["ctrl+alt+l"], "command": "reindent" , "args": { "single_line": false } }
]
import com.sun.btrace.annotations.*; | |
import com.sun.btrace.AnyType; | |
import static com.sun.btrace.BTraceUtils.*; | |
@BTrace | |
public class Q{ | |
@OnMethod( | |
clazz="java.nio.Buffer", | |
method="/.*/", | |
location=@Location(value=Kind.FIELD_SET, clazz="java.nio.Buffer", field="po |
stap -e 'probe kernel.function("tcp_recvmsg") {sp = @cast($sk, "inet_sock")->num; dp = @cast($sk, "inet_sock")->sport; if(sp == 9091){ printf("hell,world, %d, %x\n", sp, dp);}}' |
use Net::RawIP; | |
$n = Net::RawIP->new({ | |
ip => { | |
saddr => '10.200.183.2', | |
daddr => '10.200.180.30' | |
}, | |
tcp => { | |
source => 3317, | |
dest => $ARGV[0], |
import java.security.InvalidKeyException; | |
import java.security.NoSuchAlgorithmException; | |
import java.security.SignatureException; | |
import java.util.Formatter; | |
import javax.crypto.Mac; | |
import javax.crypto.spec.SecretKeySpec; | |
/** |
Perference -> Key bindings Users -> add the followings :
[
{ "keys": ["ctrl+alt+l"], "command": "reindent" , "args": { "single_line": false } }
]
ncurse 在终端绘图的时候,发现边框的线条是qqkk之类的字母而非线条。
>export NCURSES_NO_UTF8_ACS=1
###################### 1. GSmartControl -- GSmartControl is a graphical user interface for smartctl | |
###################### 2. smartctl -- Control and Monitor Utility for SMART Disks | |
sudo smartctl -a /dev/sda | |
###################### 3. lsscsi | |
lsscsi | |
# output: |
mvn dependency:get -DrepoUrl=http://repo1.maven.org/maven2/ \ | |
-DgroupId=org.apache.poi \ | |
-DartifactId=poi \ | |
-Dversion=3.9 \ | |
-Dtransitive=false |