Posts

Showing posts from October, 2017

Change User-Agent through HTTP-Proxy

#### Install Privoxy `sudo apt install privoxy` #### Change config `sudo vim /etc/privoxy/config` 1. Search `listen-address` and replace it with: `listen-address 0.0.0.0:8118` 2. Search `enable-remote-toggle` , `enable-edit-actions` and make sure they're enabled. 3. At the end of the file, add the following rules: ``` # passby all https connection: forward :443 . # passby the login page: forward 192.168.138.180 . ``` #### Change config through webpage 1. Open `http://p.p` in your browser 2. Choose `View & change the current configuration` 3. Find `match-all.action` and click `Edit` 4. Enable `hide-referrer` and `hide-from-header` 5. Find `User Agent string to send`, write down ` Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/59.0.3071.109 Chrome/59.0.3071.109 Safari/537.36` 6. Click `Submit` at the  the page 7. Remove or Delete all other rules you can see on those webpages. 8. In the end, it looks like this: ```

How to set Chinese Input Method on Lubuntu

1. Install RIME ` sudo apt-get install ibus-rime` `sudo apt-get install librime-data-pinyin-simp  ` https://github.com/rime/home/wiki/RimeWithIBus#ubuntu 2. Select Input Engine Preference -> Language Support -> Install Chinese Language and Select IBus as Keyboard input method system 3. Ready to use  `reboot` Press Super + space to switch input method. Press F4 to switch schema(simple or complex). Left to do: `sudo apt autoremove fcitx*`

Thoughts came from A New University Baby.

1. No Official Solution In real world, there is no absolutely solution for one specific problem, you have to find out the solution right for you, which makes you getting the most benefit. 2. How you learning Sometimes we feel upset is just because of things may not happen as we thought before. That's OK. Due to that, you'll learned how to improve yourself with better prediction and consideration. This kind of training makes man intelligent, it's also the inner theory of Deep Learning.