centos network config

nmcli d nmcli connection show ip addr show 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=static DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no IPV6_ADDR_GEN_MODE=stable-privacy NAME=enp2s0 UUID=ba1504be-070b-411a-bc16-336ffc55433e DEVICE=enp2s0 ONBOOT=yes IPADDR=192.168.50.231 GATEWAY=192.168.50.1 NETMASK=255.255.255.0 DNS1=8.8.8.8 DNS2=8.8.8.8 nmcli connection up enp2s0 service network restart

jenkins integrate with git

Trigger builds remotely Payload URL http://jenkins.demo.com/buildByToken/build?job=flow_config&token=6a3c8dfa9dbe35b1e562b642 Build Triggers add Trigger builds remotely Authentication Token

gogs install tutorial

download https://gogs.io/ config custom/conf/app.ini custom/conf/app.ini run ./gogs web config linux autostart init.d/gogs

android api encrypt

Android网络请求加密机制 Android采用AES+RSA的加密机制对http请求进行加密 Android Encryption & Bio-metric Prompt Authentication Android-encryption-sample Symmetric Encryption using AES Algorithm — Android Encryption Asymmetric Encryption using RSA Algorithm — Android Encryption