365key.com
发现·保存·分享@天天网摘

Q版365key  设为首页 加为收藏 帮助

 首页  网址  添加  我的网摘  我的订阅  最新网摘  收录榜  点击榜  同好  配置  工具箱  标签  兴趣小组 
  IT168 |  华军下载 |  猫扑 |  VeryCD |  CSDN技术 |  DoNews |  9Flash |  中金 |  游侠 |  股票天下 |  游戏公会 |  电子工程 |  白银时代 |  和365Key合作

CNBorn的网摘列表 RSS格式输出  365Key邮件订阅,每天可以定期收到邮件通知  使用 Gougou 订阅 使用 POTU 订阅
搜索词: 时间:
分类:     排序:
 
刷新列表 共9页、258项网摘
Dual monitors with fluxbox点击:9
 分类:Linux 时间:2008-6-9 16:17:20 CNBorn收录 复制到我的网摘
Howdy folks,
I've got an NVidia 6800GT with dual outputs, one DVI and one VGA. I wanted to use dual monitors, one LCD, the other a CRT. Note that this does not use TwinVIew or Xinerama. These are separate screens, but I can pass the mouse pointer between screens. Here's what I did...edit /etc/X11/xorg.conf thusly:
http://www.justlinux.com/forum/showthread.php?threadid=143803
MySQL 4.1.x 記得要加在 my.cnf 的東西点击:17
 分类:Linux 时间:2008-5-24 1:44:39 CNBorn收录 复制到我的网摘
init_connect=‘SET NAMES utf8′
default-character-set = utf8
default-collation = utf8_general_ci
http://blog.dragon2.net/2005/08/08/194.php
MySQL字符集产生乱码的简单讲解 点击:34
 分类:Linux; 软件 时间:2008-5-24 1:35:39 CNBorn收录 复制到我的网摘
因 为我只是在本地作测试,为了测试时少写一行mysql_query(“set names gbk”)。所以我把 my.ini 的 [ mysql ] 栏default-characte_set 改为 latin1。这样无论自己在本地测试或是CMD下操作MySQL都很方便。但是如果你用的是PHPMyAdmin的话,可能会显示乱码,解决办法就是安 装一个支持字符集为 latin1的PHPMyAdmin。字符集和字符集校对都为 latin1 ,就能正常显示了。
http://doc.linuxpk.com/11861.html
how-to convert flac to mp3 in ubuntu and gnome点击:20
 分类:Linux; 软件 时间:2008-4-20 21:48:09 CNBorn收录 复制到我的网摘
Download and install “Sound Converter” (http://soundconverter.berlios.de/). I just installed the latest from source and it’s working great!. Download, Extract the compressed the file.

cd to the directory of the uncompressed files

sudo ./configure

sudo make

sudo make install

If you have default ubuntu configuration you also need to run this command for mp3 encoding action:

sudo apt-get install gstreamer0.10-plugins-ugly-multiverse

Browse to Applications-> Sound & Video -> Sound Converter

Change your preferences, add a folder of flac files and convert to compressed!
http://mainesysadmin.com/2008/03/08/how-to-convert-flac-to-mp3-in-ubuntu-and-gnome/
gvim 菜单栏与工具栏隐藏与显示动态切换点击:18
 分类:Linux 时间:2008-3-30 16:25:52 CNBorn收录 复制到我的网摘
编辑 $HOME/.gvimrc 文件,添加以下代码:
"Toggle Menu and Toolbar
set guioptions-=m
set guioptions-=T
map :if &guioptions =~# 'T'
\set guioptions-=T
\set guioptions-=m
\else
\set guioptions =T
\set guioptions =m
\endif
http://liyanrui.is-programmer.com/articles/1791/gvim-menu-and-toolbar-toggle.html
Fcitx的美化方案(二)点击:40
 分类:Linux; 软件 时间:2008-2-13 17:12:12 CNBorn收录 复制到我的网摘
以前写过一个美化方案,而且一直用的也是它。后来看到Mac下新出的一个输入法FIT的样子挺好看,于是修改了一下以前的方案,模仿FIT的样式。另外还顺带着做了两个其它风格的样式。
http://www.leninlee.cn/?p=361
Mysql 数据库在Linux下的自动备份SHELL Script点击:29
 分类:Linux 时间:2008-2-9 0:25:42 CNBorn收录 复制到我的网摘
MYSQL的自动备份脚本,已测试通过。

可以将这个脚本放进crontab,每天凌晨执行一次,自动备份将生成压缩文件 。

只保留最近七天的备份在服务器上

这是我写的第一个脚本,欢迎大家指正。
http://bbs.chinaunix.net/viewthread.php?tid=1009931
Fun Input Toy for Linux, 最FIT你的中文输入法Linux版点击:46
 分类:Linux 时间:2008-1-26 23:27:09 CNBorn收录 复制到我的网摘
Fitx全名是Fun Input Toy for Linux,Fitx的姐妹版Fun Input Toy, 是Mac OS X下最流行的输入法之一。Fitx的目标和FIT一样,旨在为Linux的用户提供流畅的输入体验。

Fitx是建立在scim和scim-python上的输入法,同时由于原生在Mac OS X平台,因此需要GNUstep库支持
http://code.google.com/p/fitx/
截图有时候能勾起些回忆点击:33
 分类:Linux 时间:2007-12-29 21:27:59 CNBorn收录 复制到我的网摘
今天周末,我把我的移动硬盘带到公司来打算整理下我的文件。无意间当整理我的图片目录的时候发现“尘封”已久的一些系统截图。

这些可以说都是我使用计算机的见证。由于截图众多,我精选了其中的几张有趣的,和大家分享一下。
http://www.gracecode.com/Archive/Display/130
如何增加系统Swap分区点击:42
 分类:Linux 时间:2007-11-4 10:51:35 CNBorn收录 复制到我的网摘
下面我们就来增加系统的 Swap 大小。
http://linuxdesktop.cn/2007/08/10/add-swap-partition
Mac4Lin──一站式将你的系统打扮成Leopard 点击:50
 分类:Linux 时间:2007-11-4 10:51:15 CNBorn收录 复制到我的网摘
Mac4Lin最近也刚刚释出了其最新版──0.3。假如你愿意动手,你也可以把你的Linux系统打造成最新的Leopard的模样。
http://linuxdesktop.cn/2007/10/25/mac4lin-let-your-system-like-leopard
Linux下将屏保设为桌面壁纸点击:47
 分类:Linux 时间:2007-11-4 10:50:51 CNBorn收录 复制到我的网摘
想在桌面上下场黑客帝国中的数字雨吗?想让枯燥的桌面动起来吗?这在Linux下非常容易!
http://linuxdesktop.cn/2007/09/16/screensaver-on-desktop
将情感进销存的编码从gb2312改变为utf8 点击:53
 分类:Linux; 软件 时间:2007-11-4 10:42:28 CNBorn收录 复制到我的网摘
应一个朋友的需要,用免费开源的情感进销存给他开小店用,刚开始嘛,先试试看好用不。好像情感是国内仅存的免费、开源,又能用,还有人继续维护的进销存软件了,挺难得的。

情感进销存默认的编码全部都是gb2312的,从数据库到html,而我的环境自然是全utf8编码的ubuntu,如果是一次性转换的话,手工也是可以作的,但情感进销存如果出新版,还得从头改过,所以搞了个小脚本来自动转换
http://www.fwolf.com/blog/post/363
wav、flac 转换 MP3 脚本点击:41
 分类:Linux 时间:2007-11-3 10:35:29 CNBorn收录 复制到我的网摘
在一个讨论音乐的论坛上找到了这个脚本,写的很不错。解决了 CUE 信息输入 MP3 的问题。因为他 lame 的处理并没有放在 shntool 里面。
由于单引号的屏蔽, shntool 里面无法将 mp3 tag 输入文件中。此脚本将所有信息全部放在变量里面,再输入。

该脚本除了之前提到的 shntool 以外还用到了 cueprint 工具包。你可以通过以下命令安装:

原模板用在最新的 shntool 上有一点错误,我稍许修改了一下。
http://linuxblog.cn/2007/11/ape-flac-to-mp3-shell.html
Linux下的firefox如何播放在线媒体 - Fwolf's Blog点击:48
 分类:Linux 时间:2007-11-3 10:19:29 CNBorn收录 复制到我的网摘
看到网上别人说装个mplayer-plugin包就可以了,apt一搜索,压根就没有嘛,不过拐了个小弯,用apt搜索了一下mplayer,发现了mozilla-mplayer,安装试试,安装时还会自动提示把刚才装的mplayerplug-in卸载,看来有戏,完成后一试,果然不错,能用,并且还挺好用呢。
http://www.fwolf.com/blog/post/365
修正“窗口管理器警告: 在配置数据库中找到的“”不是按键组合“toggle_shaded”的有效值 ”的警告点击:31
 分类:Linux 时间:2007-10-14 15:51:24 CNBorn收录 复制到我的网摘
考虑了一下,问题应该出在窗口的配置上。于是在终端输入gconf-editor,找到app->metacity->window_keybindings->toggle_shaded,可以把toggle_shaded的值改成disabled。再次回到桌面,不在出现警告。
http://showfly.bloghome.cn/posts/87496.html
Tweaking KDE GUI Apps in a Gnome Environment点击:27
 分类:Linux 时间:2007-10-6 22:35:13 CNBorn收录 复制到我的网摘
or those of us who enjoy using the Gnome desktop environment, we know we want our GUI applications to be easy to use and seamless. But, there’s always that one program that uses the KDE QT library to provide a front-end. For example, I love to listen to music, and nothing beats AmaroK for me. But, every time I use it, the color scheme and icon theme completely clash with my Gnome desktop. In this tutorial, you’ll learn how to change the native KDE theme to blend with a standard Gnome GTK theme.

http://nerdica.com/?p=10
linux下把APE文件转为MP3(续)点击:41
 分类:Linux 时间:2007-10-6 20:14:51 CNBorn收录 复制到我的网摘
前两天刚写了一次怎么把ape转为mp3,昨天又完善了一下,就接着续一个。之前只是说了如何把ape转为wav,然后在转为mp3,但是,可能大多数的ape文件都是整张CD的,所以还需要先分割成单个文件。

首先,需要shntool和cuetools。然后,假设有已经转好的CDImage.wav和CDImage.cue两个文件:

$ cuebreakpoints CDImage.cue > offset # 从cue文件中提取时间点
$ shntool split -f offset CDImage.wav
http://blog.joypig.org/archives/159
linux下把APE文件转为MP3点击:36
 分类:Linux 时间:2007-10-6 20:14:18 CNBorn收录 复制到我的网摘
原来说过一次关于Debian下听APE音频的问题,但是感觉太简单了,好多细节没说。甚至在我自己想看的时候,都没找到有用的信息。检讨啊!所以,重新再写一次,记录一些细节。

1. 首先,需要mac,lame这两个程序。可以从链接里下载,也可以在发行版里找有没有现成的包。

2. 安装程序。mac的安装方法和原来的一样。

先编译安装mac,然后再安装bmp-mac。如果希望以deb包的形式安装,可以安装checinstall,在编译后,用checkinstall代替make install即可生成deb包。在编译mac的时候,需要./configure –enable-assembly=yes,这样才可以在bmp-mac编译时生成beep-media-player可以识别的.so文件。当然,这需要安装相关的汇编器,如nasm,yasm等。
http://blog.joypig.org/archives/158
Ubuntu: convert m4a to mp3点击:38
 分类:Linux 时间:2007-9-9 15:45:36 CNBorn收录 复制到我的网摘
To convert a directory of iTunes m4a format files to mp3 we can use Debian's faad and lame packages.
http://www.togaware.com/linux/survivor/m4a_mp3.html
HOWTO: Bluetooth and Skype on Ubuntu点击:67
 分类:Linux 时间:2007-8-6 0:15:55 CNBorn收录 复制到我的网摘
This howto is based on Motorola HS815 Headset and Zonet (Broadcom Corporation USB) Adapter on Ubuntu 6.10 (Edgy)
http://robconcours.free.fr/index.php?q=aHR0cDovL3l1emhvdS53b3JkcHJlc3MuY29tLzIwMDYvMTIvMjgvaG93dG8tY...
Can you ping a mac address?点击:67
 分类:Linux 时间:2007-7-21 18:54:21 CNBorn收录 复制到我的网摘
Yes you can. Just thought I’d give a bit of credit to a tool that has helped me out a lot over the last 2 years.

pete@debber:~/arping-2.05$ sudo ./arping -i eth1 00:0f:a5:55:ea:0e
http://www.progbox.co.uk/wordpress/?p=317
StarDict-金山词霸词库下载点击:86
 分类:Linux; 软件 时间:2007-7-7 15:52:36 CNBorn收录 复制到我的网摘
Notice, only StarDict-2.4.8 and above version support these dictionaries.
http://stardict.sourceforge.net/Dictionaries_PowerWord.php
HOWTO MPlayer on Framebuffer 点击:41
 分类:Linux 时间:2007-7-7 14:23:15 CNBorn收录 复制到我的网摘
mplayer (media-video/mplayer) is a media player for Linux that, given the correct decoders, can play virtually any video or audio file. While most people use mplayer from X, which is the easiest way, it is possible to run mplayer in the framebuffer. This guide assumes that you have already setup the framebuffer, ALSA and mplayer. If you haven't, please see the links below for more information on how to set these up.
http://gentoo-wiki.com/HOWTO_MPlayer_on_Framebuffer
Building a BitTorrent Box点击:50
 分类:Linux 时间:2007-7-7 10:45:05 CNBorn收录 复制到我的网摘
While most of our time on the Internet is spent IM’ing, e-mail, or just browsing the Web, you may run in to situations when you need to do some powerful file transfers. If you use a laptop, you’re use to getting up, suspending your laptop, and running out the door all of the time. But, sometimes you know you just need something dedicated to get work done. You’ll need a solution to retrieve files and serve data when you need it. In this guide, you’ll learn how to set a small headless Ubuntu server used to retrieve BitTorrent files, while even saving them to a external USB hard drive that can be disconnected on the go. You even discover how to remotely administer your server from the Web using SSH, VNC, and an intuitive HTML UI, while being able to retrieve files while you’re away from home.

This tutorial takes for granted you have a spare computer laying around. Building a computer is out of the scope of this article.
http://nerdica.com/?p=30
使 OpenOffice.org 运行更快的技巧点击:69
 分类:Linux 时间:2007-6-24 11:50:07 CNBorn收录 复制到我的网摘
OpenOffice.org 是我目前在 Linux 下所用的主力办公软件,但它有一个令人诟病的地方:启动时总是慢吞吞的,这让人十分不爽。今天在 Zolved 上读到一篇可使 OpenOffice.org 提速的技巧文章,在试验后感觉效果很明显,特介绍给大家分享。
http://linuxtoy.org/archives/make-openofficeorg-run-faster.html
非Gnome/Xfce环境下的GTK主题管理点击:65
 分类:Linux 时间:2007-6-23 18:35:25 CNBorn收录 复制到我的网摘
使用gtk-chtheme,这个程序是专门为非Gnome环境中管理GTK主题设计的,它有一个非常好的特性,就是使用它一次设置GTK程序的主题之后系统不需要另外加载任何进程就可以使用。另外它还可以设置系统字体。

因此,它既无需安装Gnome组件,又节省了系统资源,也保证了系统的美观,是非Gnome/Xfce环境下GTK主题管理的不二之选
http://www.leninlee.cn/?p=173
Ubuntu文字模式下啟動無線網路点击:68
 分类:Linux 时间:2007-6-18 2:23:28 CNBorn收录 复制到我的网摘
前陣子手賤癢把 feisty 更新成 gutsy,結果我的 notebook 就無法進入 X 裡面了,所以開機只能選 recovery mode,但在 recovery mode 裡,如果你沒有事先設定好啟動無線網路的 script,開機後是沒辦法馬上使用無線網路的。

所以你可以先使用 iwlist scanning | more 來看看附近有哪些 AP 可以使用,並且記下它們的 SSID,然後啟動方式非常簡單,只需要一行(如果是 128-bit WEP):

# iwconfig eth1 essid key s:1234567890123
http://blog.ericsk.org/archives/664
关于eva的右键崩溃解决方法(最终完美版)点击:57
 分类:Linux 时间:2007-6-3 0:03:54 CNBorn收录 复制到我的网摘
EVA是ubuntu下一个比较简洁,好用的QQ客户端,但它是在KDE下开发的,在GNOME中水土不服,中文输入的问题就很容易解决,但是右键选取消息(文字或者网址)eva就会崩溃的问题困绕了我多时,上网找了很多办法,都不行,参考过《终于解决eva的右键崩溃问题了!》(http://linuxdesktop.cn/2007/05/21/solve-the-problem-of-eva-crash),可能是我的输入法不是fcitx,没有成功。后来在某个论坛找到了解决方法(具体那个论坛忘了,在此表示抱歉和感谢)。
我的ubuntu版本是 7.04 ,输入法是scim。
http://linuxdesktop.cn/2007/06/02/solve-the-problem-of-eva-crash-final
sshfs把远程主机的文件系统映射到本地的目录中点击:53
 分类:Linux 时间:2007-6-2 13:29:55 CNBorn收录 复制到我的网摘
windows之外的世界比想像中要大得多呢,几乎天天都在用ssh,却到今天才知道有sshfs这个好东西,前几天还在为ZendStudio可以远程编辑文件欣喜,惭愧啊,终于有比vi scp://hostname//path/to/file更方便的方式了。

sshfs,就是可以把ssh连接到的主机资源,映射到本机的文件系统当中,然后用户可以像操作本地文件一样操作,而实际的文件改动将通过ssh传输到远程主机当中。类似于mount了一个windows共享目录,或者另外一台linux主机的samba共享,或者是nfs共享,只是“共享协议”变成了ssh通道罢了。
http://www.fwolf.com/blog/post/329
页码: [1 2 3 4 5 6 7 8 9 共9页、258项网摘

使用帮助 |  如何保存网摘 |  给365Key提建议 |  媒体报道 |  站长推广须知
Copyright (C) 2004 365Key.com--天天网摘 All Rights Reserved