`
文章列表
推荐一个rails实现的英语学习网站:  -  www.master.fm 后台使用rails2和rails3。 rails3 比之前的版本都强很多.
网址 http://www.master.fm   欢迎大家多提意见 . .  
Since Lucid Lynx is still in beta, tor isn’t packaged up at torproject.org yet but there is a PPA! https://launchpad.net/~sevenmachines/+archive/tor $ sudo add-apt-repository ppa:sevenmachines/tor $ sudo apt-get update $ sudo apt-get install tor vidalia privoxy firefox-torbutton To start it up with ...
require "rubygems" require "redis" require "json" redis = Redis.new(:host => "localhost", :port => 6379) module AutoJ   def auto_j     h = {}     instance_variables.each do |e|       o = instance_variable_get e.to_sym       h[e[1..-1]] = (o.respond_to ...
Hi, It is needed by the COM infrastructure. When you don't use threads this function call is needed too, but it is done by Python automatically. In a new thread before any COM call you have to call CoIniztialize. If I am right multiply CoInitialize call in the same thread doesn't cause any harm. So p ...
http://www.pythonclub.org/python-basic/codec
首先要搞清楚,字符串在Python内部的表示是unicode编码. 因此,在做编码转换时,通常需要以unicode作为中间编码,即先将其他编码的字符串解码(decode)成unicode,再从unicode编码(encode)成另一种编码。 decode的作用是将其他编码 ...
备份是一种安全策略 很大的一个问题是编码问题,全部utf-8 1.首先是/etc/mysql/my.cnf: # # The MySQL database server configuration file. # # You can copy this to one of: # - "/etc/mysql/my.cnf" to set global options, # - "~/.my.cnf" to set user-specific options. # # One can use all long options that the progra ...

VNC 许可密匙

5D7L8-ZQXSA-2L5D4-4UFB4-PWDLA
以前一直用date设置,这次参考网上资料,终于整了个全的。 Linux时钟分为系统时钟(System Clock)和硬件(Real Time Clock,简称RTC)时钟。系统时钟是指当前Linux Kernel中的时钟,而硬件时钟则是主板上由电池供电的时钟,这个硬件时钟可以在BIOS中进行设置。当Linux启动时,硬件时钟会去读取系统时钟的设置,然后系统时钟就会独立于硬件运作。 Linux中的所有命令(包括函数)都是采用的系统时钟设置。在Linux中,用于时钟查看和设置的命令主要有date、hwclock和clock。其中,clock和hwclock用法相近,只用一个就行,只不过clock ...
http://wwwsearch.sourceforge.net/ClientCookie/
python -m smtpd -n -c DebuggingServer 0.0.0.0:25 from:http://initiative.yo2.cn/archives/636736
http://www.pixelbox.net/demos/downloadProgressBar/MyDownloadProgressBar.as package com.example.preloaders {     import flash.display.Loader;     import flash.display.Sprite;     import flash.events.Event;     import flash.events.ProgressEvent;     import flash.events.TimerEvent;     import flash.geom ...
flex 中的一些细节真是很难 全部掌握 。 记下来 可能以后用的到 。 设置 routation 属性 为 90  即可  。
The tests installed by restful_authentication encounter undefined-method errors, starting with "undefined method fixtures'" for the unit tests. The problem seems to be that the tests derive only from Test::Unit::TestCase, whereas the relevant methods are defined in ActiveRecord::TestCase an ...
Global site tag (gtag.js) - Google Analytics