今天买了一个Mini DisplayPort->VGA 转接头 连接到显示器上 非常给力啊

苹果系统里面显示双屏幕模式的方法有2种,一种

叫镜像显示器,是两边显示相同的内容。一种叫做屏幕延伸,是将你的系统桌面空间延伸到其它额外的显示屏幕;

具体设置:

镜像显示器的实用方法

选择系统偏好设置,选择显示器,打开排列,在左下角我们就能看到镜像显示器,只要勾上勾就可以很方便的进行切换,特别是我们连接投影仪的时候。

当我们要设置外置屏幕的时候,我们同样需要打开系统偏好设置,选择显示器,选择排列,就能非常方便的对双屏幕进行调整和设定,我们可以直接拖拽屏幕的位置

来决定上下左右的排列就可以了,非常简单。我们还可以通过拖拽白色的选项菜单来决定实用哪个屏幕作为主屏幕的实用。

评论关闭

香港 台湾的dns

用8.8.8.8这样dns解析出来的地址基本都是北美地区的服务器,在中国大陆访问的非常慢.我们需要指定dns来解析出香港台湾地区的IP.google了一下 香港和台湾地区的dns

台湾的中华电信的DNS
168.95.1.1(dns.hinet.net)
168.95.192.1(hntp1.hinet.net)
168.95.192.2(hntp3.hinet.net)

香港dns服务器列表

香港宽频 Hong Kong BroadBand Network DNS 
203.80.96.10
203.80.96.9

HKNet 宽频 DNS
202.67.240.222
202.67.240.221

和记环球电讯 DNS 
202.45.84.58
202.45.84.59

NetFront 前线
202.81.252.1
202.81.252.2

Pacific SuperNet
202.14.67.4
202.14.67.14

CyberExpress
202.85.146.104
202.60.252.8

譬如要加速itunes的下载和访问速度 就可以是使用台湾的dns解析出台湾a1.phobos.apple.com的地址

 

评论关闭

SecureCRT6.7.2下载包含**机32位64位均有

windows下大名鼎鼎的ssh登录工具

本地点击下载

评论关闭

三星 Galaxy Tab P1000 刷CM7 Gingerbread Beta 2011-10-09 rom

用过几个版本的rom总是不完美,大名鼎鼎第三方rom制作商CyanogenMod(用过Android机器的人都知道把? 不知道话 去看看吧)有大P版的 我估计是发烧友改的

我刷的是:CM7 Gingerbread Beta 2011-10-09 点击下载
 下边是步骤 我也是通过google找到的文章 感谢发帖的人!
1. 安装heimdall 三星所需要驱动(需要微软 Visual Studio 2010的运行库) 点击下载
     1解压  heimdall-suite-1.1.1-win32
     2. 大P进入挖煤模式(开机键+音量-)链接数据线
     3. 在Drivers目录下运行zadig.exe,
     4. 菜单 Options -> List All Devices.
     5. 选 "Samsung USB Composite Device".
     6. 点 "Install Driver".
     7. 这样驱动就安装完成了
2.使用heimdall刷机

    1. 充好电
    2. 把刷机包解压.
    3. 分别选择要刷的文件看图

    4. 进入挖煤模式,USB链接.
    5. 选好对应文件点击"Start".
    6. 如果进度条不走,或有错误信息显示,很可能是你的线没连好或驱动没装好。
    7. 进度条显示100%表示刷机完成,手机会自动重启.

注意第一次开机会进入recovery模式
         1. 按音量健选择
              wipe data/factory reset
              wipe cache
        完成后回到recovery首页 再选择第一个REBOOT SYSTEM NOW 手机会自动重启了

评论关闭

Ubuntu server-1104安装Mysql php apache

 

MySQL:

sudo aptitude install mysql-server mysql-client libmysqlclient15-dev -y

PHP:

aptitude -y install php5-common php5-dev php5-mysql php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-cgi php5-mcrypt php5-curl php5-gd php5-memcache php5-mhash php5-pspell php5-snmp php5-sqlite libmagick9-dev php5-cli php5-xcache libapache2-mod-php5 

HTTP:

apt-get install apache2-mpm-workerapt-get install httpd (可以安装其他httpd)apt-get install libapache2-mod-auth-mysqlapt-get install php5-mysql/etc/init.d/apache2 start

 

评论关闭

Mac(Unix Linux)安装ipython

For RPM based systems, simply install the supplied package in the usual manner. If you download the tar archive, the process is:
1  Unzip/untar the ipython-XXX.tar.gz file wherever you want (XXX is the version number). It will make a directory called ipython-XXX. Change into that directory where you will find the files README and setup.py. Once you’ve completed the installation, you can safely remove this directory.

2  If you are installing over a previous installation of version 0.2.0 or earlier, first remove your $HOME/.ipython directory, since the configuration file format has changed somewhat (the ‘=’ were removed from all option specifications). Or you can call ipython with the -upgrade option and it will do this automatically for you.

3   IPython uses distutils, so you can install it by simply typing at the system prompt (don’t type the $)

$ sudo python setup.py install Note that this assumes you have root access to your machine. If you don’t have root access or don’t want IPython to go in the default python directories, you’ll need to use the -home option (or -prefix). For example: $ python setup.py install -home $HOME/local will install1 IPython into $HOME/local and its subdirectories (creating them if necessary). You can type $ python setup.py -help for more details. Note that if you change the default location for -home at installation, IPython may end up installed at a location which is not part of your $PYTHONPATH environment variable. In this case, you’ll need to configure this variable to include the actual directory where the IPython/ directory ended (typically the value you give to -home plus /lib/python).

评论关闭

CentOS5.6精简版

上周下载了CentOS5.6 没多大变化.CentOS的更新速度真是快跟微软有一拼了。下个版本没准就是6.0了 我抽空做了一个简易版的iso,只有最基础的系统和gcc等一些系统工具.关了坑哥的selinux,系统安装过程用户只需要手工分区,其他的都全自动完成,root的密码是:111111 安装完成后及时更改root密码!!! 光盘镜像大小600多M 一张cd盘就搞定!方便刻录或是在线安装系统,下载地址:http://t.cn/hdY5Ii

评论关闭

提示行魔术

这个要转一下了

http://www.ibm.com/developerworks/cn/linux/l-tip-prompt/tip01/

评论关闭

ubuntu10.10 显示器立起来

买了一个显示器底座,能把16:9的显示器旋转起来,查了一下在Ubuntu里面旋转屏幕的方法,据说用 xrandr -o left 就可以了。不过我运行之后,遇到了这个错误:

$ xrandr -o left

X Error of failed request: BadMatch (invalid parameter attributes)Major opcode of failed request: 153 (RANDR)Minor opcode of failed request: 2 (RRSetScreenConfig)Serial number of failed request: 12Current serial number in output stream: 12
需要修改一下xorg.conf:

sudo gedit /etc/X11/xorg.conf

在屏幕(screen)一段,增加一句设置:
Option          “RandRRotation”
然后重启一下X(可以按 Ctrl+Alt+退格键),就可以用 xrandr 旋转屏幕了:
xrandr -o left 向左旋转90度

xrandr -o right 向右旋转90度

xrandr -o inverted 上下翻转

xrandr -o normal 回到正常角度

评论关闭

autoddvpn

autoddvpn是從chnroutes啟發而來的解決方案。它讓DD-WRT路由器可以達成類似chnroutes的效果,讓路由器下面的所有上網設備包括Windows, Mac, iPhone, iPad都可以透明翻牆,不需要任何安裝或設置。換句話說,您所需要做的,就是裝上路由器,打開電源,然後所有電腦就仿佛在牆外一般,完全感覺不到牆的存在。

今天着急先做个链接 回头再测试一下 链接地址

评论关闭