`
nubix
  • 浏览: 89639 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
文章分类
社区版块
存档分类
最新评论
文章列表
首次拨号:应用程序–系统工具–终端  打开一终端,输入命令:sudo pppoeconf中途需要输入adsl用户名和密码。 以后,要手工拨号,打开终端,输入命令:sudo pon dsl-provider一般情况下,一次拨通后以后登陆ubuntu都会自动拨通上网的了,不用每次都输入命令拨号。 手工断线:sudo poff 查看连接情况:plog 和 ifconfig ppp0ifconfig ppp0 可查询本机的上网IP。如果不行的话linux有专门的adsl上网安装包程序安装后可以拨号
.green-round-new .head{     position:relative;     background:url("/images/r_m2.gif") repeat-x scroll 0 0 transparent; /*底图*/     clear:both;     height:26px;     line-height:26px; } .green-round-new .head .left{     background:url("/images/r_m1.gif") no-repeat scroll 0 ...
CSS 对浏览器的兼容性有时让人很头疼,或许当你了解当中的技巧跟原理,就会觉得也不是难事,从网上收集了IE7,6与Fireofx的兼容性处理方法并整理了 一下.对于web2.0的过度,请尽量用xhtml格式写代码,而且DOCTYPE 影响 CSS 处理,作为W3C的 ...
默认安装下,debian不包含firmware iwlwifi  3945 和 4965 无线驱动.   解决方案: 从以下链接 http://packages.debian.org/lenny/firmware-iwlwifi 下载deb包,安装就可以了     之后   ifconfig wlan0 up   然后用network-manager 禁用再启用之.
0.11版(强烈推荐) 1、继续使用QQ2009preview版,但非深度极速精简版 2、更改文件存储位置,放在usr/share/tencent下,避免解压到主目录的空间浪费 3、添加两个按键,空间按键及邮箱按键,有的设置,空间按键能够调用系统浏览器,如firefox,邮箱按键无法调用,但是能显示邮件数。 发布地址:http://code.google.com/p/wine-qq/ 0.3版系列(推荐) 1、使用TM2008preview3精简版制作,与0.1版系列差不多,字体为文泉译。 2、默认使用微米黑字体 3、winetricks来安装所需的库文件 4、联系人 ...
计算子网掩码不难,不过有时候有个工具辅助就更好了。 我在linux下就发现这么一个工具   具体参阅   man netmask         debian netmask ubuntu netmask linux netmask - netmask
故事是这样的,公司有线上环境example.com,由于线上网站是一个多域名的网站, 线下测试的时候,总是需要改host表,把a.example.com , b.example.com ,c.example.com ... 都改到 本地 这样一来有些线上的图片本地就没有了。   于是就有了第一个需求,把jpg图片代理到线上网站,这个很容易通过nginx实现:   location ~* \.jpg{         proxy_pass http://a.example.com; }   当然以上配置并不完整。     这样图片是有了,可是每次改host表也很麻烦,于是 ...
nail [-BDdFintv~] [-s subject] [-a attachment ] [-c cc-addr] [-b bcc-addr] [-r from-addr] [-h hops] [-A account] to-addr . . . nail [-BDdeHiInNRv~] [-T name] [-A account] -f [name] nail [-BDdeinNRv~] [-A account] [-u user]        For more pls. see :     http://pwet.fr/man/linux/commandes/nail   ...
每次弄系统都会把这个链接丢了,于是记下来备忘   http://www.google.com/chrome/intl/en/eula_dev.html?dl=unstable_i386_deb   http://www.google.com/chrome/intl/en/eula_dev.html?dl=unstable_amd64_deb
maven有个很有效的依赖管理机制。 如果a依赖于b,c , d 依赖于 a ,则 d 间接依赖于b,c   但这种依赖传递会存在隐患,可能会导致同一个库的不同版本被导入多次,此时可以用exclusions解决:   例如:           <dependency>             <groupId>opensymphony</groupId>             <artifactId>webwork</artifactId>             <version>2.2.5< ...
private final static String[] bts= { "00","01","02","03","04","05","06","07","08","09","0A","0B","0C","0D","0E","0F", "10",&q ...
进入终端模式   sudo /etc/init.d/gdm stop sudo rm -rf .gconf/apps/panel sudo /etc/init.d/gdm start
A selector's specificity is calculated as follows: count 1 if the declaration is from is a 'style' attribute rather than a rule with a selector, 0 otherwise (= a) (In HTML, values of an element's "style" attribute are style sheet rules. These rules have no selectors, so a=1, b=0, c=0, ...
前阵子换成lucid的源了,一直蛮好用,不过突然有一天apt-get update不行了.   后来总算找到原因了..   Some repos have issues with http/1.1 pipelining. Try adding the following to /etc/apt/apt.conf.d/piplining-off.conf: Acquire::http::Pipeline-
/*** @author nubix ***/ #include <iostream> #include <cstdio> #include <cstdlib> #include <cstring> using namespace std; #define MAX_LINE 256*256 char __line[MAX_LINE]; char *p = NULL; char tab[256] = {0}; char * _(){ static int k = 0; if(k == 0){ memse ...
Global site tag (gtag.js) - Google Analytics