Monday, February 20, 2017

教你如何搭建自己的Shadowsocks服务器

来源: 这里 如果你购买的是搬瓦工的VPS,登陆搬瓦工的Client Area,Services—My Services,找到你买的VPS服务,进入KiwiVM控制面板,右侧显示的就是你的VPS的信息,从上至下依次是物理地址,IP地址,SSH端口号,运行状态,操作(开关机,重启),RAM占用,SWAP占用,磁盘占用,流量使用情况(每个月都会刷新),和Linux操作系统版本。 注意!!!不同操作系统下搭建SS服务器方法不同,本文的方法是基于Cent OS 6系统。如果你安装的其他Linux系统(如Debian,Ubuntu等),请自行百度SS安装教程,或点击KiwiVM控制面板左侧的 Install New OS重装Cent OS系统。 1.使用Putty连接VPS。Putty是Windows下的一个免费的SSH连接工具,如下图示 Host...
Read more ...

Friday, February 10, 2017

写给非专业人士看的 Shadowsocks 简介

来源:Here. long long ago…在很久很久以前,我们访问各种网站都是简单而直接的,用户的请求通过互联网发送到服务提供方,服务提供方直接将信息反馈给用户。when evil comes然后有一天,GFW 就出现了,他像一个收过路费的强盗一样夹在了在用户和服务之间,每当用户需要获取信息,都经过了 GFW,GFW将它不喜欢的内容统统过滤掉,于是客户当触发 GFW 的过滤规则的时候,就会收到 Connection Reset 这样的响应内容,而无法接收到正常的内容。ssh tunnel聪明的人们想到了利用境外服务器代理的方法来绕过 GFW 的过滤,其中包含了各种HTTP代理服务、Socks服务、VPN服务… 其中以 ssh tunnel 的方法比较有代表性1)...
Read more ...

Wednesday, February 1, 2017

在 macOS 上通过 Proxifier + Shadowsocks 同步 Google Drive

转载自高堡杂谈 之前在买 LG 的港版机器时 Google 赠送了 200G 的存储空间,所以平时在用的时候我也是优先使用 Google Drive。唯一的问题是 Google Drive 不支持自定义代理,和 macOS 上常用的 shadowsocks 水土不服。但其实只需要一个名叫 Proxifer 的小 App 将 Socket 代理转换为 http 代理即可解决,这个 App 也有为 Windows 设计的版本。 Proxifier 配置 Proxifier 的配置颇为简单,只需要在 Proxies 里面加入 Socket5 的代理即可,地址如果没有修改过 ss 的地址就填写 127.0.0.1 端口选择 1080 即可。 随后就是配置代理规则了,Porxifier...
Read more ...

Saturday, October 8, 2016

Convert adf binary to ascii whith GDAL on Mac OS

Link. brew install gdal --with-python brew install homebrew/python/numpy brew install homebrew/python/numpy If you get warnings like: Python modules have been installed and Homebrew's site-packages is not in your Python sys.path, so you will not be able to import the modules this formula installed. If you plan to develop with these modules, please run: ***** Just run the script which is giv...
Read more ...

Thursday, September 22, 2016

How to enable "Create a Windows 7 install disk" option in Boot Camp Assistant

Link. 1. Find Boot Camp Assistant.app in /Applications/Utilities/ and right click "Show Package Contents". 2. Backup the Info.plist in folder Contents and edit Info.plist. 3. Open System Information, copy Model Identifier (e.g. MacBookPro8,2) to the "Info.plist - PreUSBBootSupportedModels" 4. Copy the Boot ROM Version (e.g. MP11.222C.B11)...
Read more ...

Thursday, July 21, 2016

Turn off automatic attachment preview in Mac Mail App

Link. Turn off automatic attachment preview in Mail Mail, by default, provides a preview of attachments in can read, such as graphics and PDF files. However, you can run a command in Terminal to turn this off. Run the following: defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes Quit Mail and relaunch it. When you view a message, all attachments will be shown as icons only. To restore the original functionality,...
Read more ...

Wednesday, June 8, 2016

Mac Word-to-PDF template error: "A footer of section 1 is set outside the printable area of the page. Do you want to continue?"

1. File --> Page Setup... 2. Paper Size --> Manage Custom Sizes... 3. Create a New one with the name "Full A4", set margins to 0 m...
Read more ...

Wednesday, April 6, 2016

NICE PROGRAMMING FONTS

Link1, Lin...
Read more ...

Quick Tip: set-goal-column

Link. On the surface, it might not sound like editing columns of text is something that happens a lot, but I find myself doing it fairly often. A quick way to enter different values on each line down a column is to use set-goal-column (bound to C-x C-n). Let’s say we have a block of text like the following comma-separated list. We’d...
Read more ...

Thursday, March 31, 2016

Access efi partition on windows 10

Link. open cmd as admindisk diskpart list disk select disk 0 "target disk, normally is 0" list partition select partition 1 "EFI partition, default:1" assign letter=b exit Task Manager - File - Run New Task - Browse... Now you can access and change files in EFI partiti...
Read more ...

Tuesday, March 22, 2016

Flash Plugin - Keep it up to date and troubleshoot problems

Link. 1. Download the  Flash Player (*.tar.gz) 2. Extract the libflashplayer.so and also the /usr files 3. Copy files to the corresponding location $ sudo cp libflashplayer.so /usr/lib/mozilla/plugins $ sudo cp -r usr/* /us...
Read more ...

Monday, March 21, 2016

Install Adobe Reader 9 in Debian (also chinese font)

Install Adobe Reader 9 1. Go to FTP download site on Adobe and download the version you wish to install. 2. Install architecture: i386 sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install libgtk2.0-0:i386 libxml2:i386 libstdc++6:i386 3. Install Adobe Reader which you downloaded sudo dpkg -i AdbeRdr9*.deb 4. If the installation doesn’t fully complete, you might need to do sudo apt-get...
Read more ...