zoukankan      html  css  js  c++  java
  • Ubuntu 问题小记

    1. W: GPG error: http://extras.ubuntu.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192 

    1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <KEY>

    2. Ubuntu run chrome as root user

    1 apt-get isntall hexedit
    2 
    3 hexedit /opt/google/chrome/chrome
    4 tab
    5 ctr + s  -> replace geteuid with getppid
    6 ctr +x

    3.Ubuntu 14.04 how to install flash player for chromimum

    1 sudo add-apt-repository ppa:jonathonf/pepperflashplugin-nonfree
    2 sudo apt update
    3 sudo apt install pepperflashplugin-nonfree browser-plugin-freshplayer-pepperflash
    4 
    5 
    6 sudo gedit /etc/chromium-browser/default  (Add the following line at the end on a new line:   . /usr/lib/pepflashplugin-installer/pepflashplayer.sh)

    4.Ubuntu shadowsocks

     1 apt-get install python-gevent python-pip
     2 
     3 pip install shadowsocks
     4 
     5 # ss.json
     6 {
     7     "server":"xxx.xxx.xxx.xxx",
     8     "server_port":8388,
     9     "local_address":"127.0.0.1",
    10     "local_port":1080,
    11     "password":"aaa",
    12     "timeout":600,
    13     "method":"aes-256-cfb",
    14     "fast_open":false
    15 }
    16 
    17 sslocal -c ss.json -d start

    5.  How to install lxml on Ubuntu

         https://stackoverflow.com/questions/6504810/how-to-install-lxml-on-ubuntu

    6. diff

     diff -ruN file.new file.old > patch.log patch file.old patch.log 

  • 相关阅读:
    数据库三范式(转)
    Tyrion中文文档(含示例源码)
    mongodb数据库导入导出恢复
    HTTP协议:Content-Type
    requests爬虫组件
    JS 数组对象
    JS 函数
    javascript window对象属性和方法
    js String对象
    Math对象-JavaScript
  • 原文地址:https://www.cnblogs.com/gaozhengwei/p/7097474.html
Copyright © 2011-2022 走看看