Quantcast
Channel: 看得透又看得远者prevail.ppt.cc/flUmLx ppt.cc/fqtgqx ppt.cc/fZsXUx ppt.cc/fhWnZx ppt.cc/fnrkVx ppt.cc/f2CBVx
Browsing all 20475 articles
Browse latest View live

psiphon-tunnel-core

Psiphon client and server components implemented in Go. These components provides core tunnel functionality, handling all aspects of evading blocking and relaying traffic through Psiphon.Psiphon 3...

View Article


使用nginx,在OS X系统上建立文件服务器

Sometimes you may want to access certain files on one computer from other LAN clients using web browsers, for example, a directory of PDF files, or some MP4/MOV videos that can be easily streamed...

View Article


在Ubuntu vps上,用auditd审计用户

auditd can be used to track user commands executed in a TTY. If the system is a server and the user logins through SSH, the pam_tty_audit PAM module must be enabled in the PAM configuration for sshd...

View Article

Setting up OpenLDAP server with OpenSSH-LPK on Ubuntu 14.04

This post documents how to set up a secure OpenLDAP server that is able to make OpenLDAP client servers accept authorized SSH access requests from users. The following steps assume the OpenLDAP server...

View Article

Image may be NSFW.
Clik here to view.

Tunneling RDP over SSH with xrdp and xfreerdp

Suppose you have a remote desktop but you only have SSH access and you need to connect to that desktop with GUI. For example, you have a server at home and you’ve setup port forwarding on your router...

View Article


Fixing MongoDB against unclean shutdown

It’s been a while since I maintained one of my servers that host an old project. After I got an HTTP 500 in an occasional case, I logged in to check what happened, only to find MongoDB is down. Running...

View Article

Enabling Adobe Flash Player plugin for Google Chrome on Fedora

The Google Chrome browser I use was installed from the third-party repository by Google. The default Pepper Flash Player plugin (version 12.0) does not support some websites (such as www.bilibili.tv)....

View Article

setuid() and uid, euid and suid

We know that setuid bit allows a program to change its effective uid (euid) upon execution. I want to take a look at how setuid() system call works through the following experiment.Open a terminal...

View Article


Suppressing Fedora NetworkManager’s prompt to connect to WPA Enterprise...

This seems to be an unsolved bug (#982429) still under discussion. Many give temporary solutions that modify the corresponding ifcfg-* file and specify the password, possibly in plaintext form. Some...

View Article


Wake and suspend machines on local Ethernet LAN

Suppose you have a spare PC (say A) that supports Wake-on-LAN, you can first enable it by following this guide. Then you can hack on some scripts on other local machines connected through Ethernet to...

View Article

Apache's name-based virtual hosts and reverse DNS

On some operating systems such as Ubuntu, you can setup virtual hosts quite easily with the default Apache server (installed with apt-get command). The global configuration file...

View Article

Sync and backup files from a host on the LAN over SSH on Mac OS X

Suppose you have several computers on an LAN, where DHCP is enabled. On Machine B, you want to routinely back up files from Machine A, whose IP address may change. This can be done using SSH and a...

View Article

Fetch and convert online flash videos

Installation of prerequisite utilities:Perl module: WWW::Mechanizeget-flash-videosffmpeg$ sudo cpan install WWW::Mechanize$ git clone https://github.com/monsieurvideo/get-flash-videos.git...

View Article


Setting up Selenium Python environment with X virtual framebuffer on Ubuntu...

Install relevant APT packages:$ sudo apt-get install xorg$ sudo apt-get install xfvd$ sudo apt-get install firefox$ sudo apt-get install openjdk-7-jre$ sudo apt-get install python-pipDownload Selenium...

View Article

Make slideshow GIF from a batch of images using ImageMagick

Download and install ImageMagick Mac OS X Binary Release at ImageMagick official site.$ tar xvfz ImageMagick-x86_64-apple-darwin12.4.0.tar.gz$ export MAGICK_HOME="/YOUR/PATH/TO/ImageMagick-6.8.6"$...

View Article


Evaluation criteria of computer science professionals

Personal point of view on how to evaluate the generic skills possessed by a computer software professional from a pragmatic perspective without considering specific subdisciplines or academic...

View Article

中国人在海外被人看不起还真不是国家强不强大造成的。

如果国家尊重自己的人民,即使国家很弱小,洋人也不敢歧视其国民。洋人歧视华人都是专制的中国政府造成的,这里我说几个故事。中国使馆对外国人的接待日是每周的五个工作日,所以洋人来使馆办事随到随办。对于华侨的接待日是周一和周四两个半天,如果要求办护照证件什么的,要一大早排队,到点了,就把大门一关,下周再来。如果着急,可以加快,加快收好几倍的手续费。中国人排长队叽叽喳喳的不成体统,洋人不排队很潇洒轻松自如。你...

View Article


自我审查的魔咒

自我审查,没有国界?德语媒体近日关注了海外出版集团在中国撤下敏感文章的现象。这显然很符合中共胃口,恐怕也是中国领导层一盘大棋的一部分。“在中国,自我审查是如此的理所当然,以至于几乎没人提这事。每位记者、编辑、博主、学者以及网站经营者都知道,为了避免引火上身,不能跨越政治红线”,《法兰克福汇报》本周一篇题为“自我审查没有国界”的文章在开头这样写道。文章称,习近平上台以来,意识形态领域愈加收紧,而自我审...

View Article

Convert MySQL table’s engine from MyISAM to InnoDB for Django models

When I tried using django-activity-stream for my Django project, I cannot use syncdb, so I migrate it using South. When testing something like :>>> fromactstreamimportaction>>>...

View Article

Add static routes on Mac OS X and BSD descendants

Add a static route:# route -n add -net 192.168.122.0/24 192.168.0.117This is equivalent to the Linux command:# route add -net 192.168.122.0 netmask 255.255.255.0 gw 192.168.0.117List routing tables:#...

View Article
Browsing all 20475 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>