上一页 1 2 3 4 5 6 7 8 9 ··· 71 下一页
摘要: 现在使用类似github这样的service,一般来说都会配置ssh key认证。所以使用ssh-agent来管理私钥就变的必要。在Gentoo下是这么配置的:- sudo emerge -avt keychain- 编辑.bashrc,加入keychain <private key 1 path> ... <private key n path>- 编辑.bashrc,在上面一句之后,加入:source $HOME/.keychain/$HOSTNAME-sh 类似ssh-add这样的工具,需要SSH_AUTO_SOCK这样的环境变量去知道ssh-agent的信息,k 阅读全文
posted @ 2013-01-09 22:27 super119 阅读(602) 评论(0) 推荐(0) 编辑
摘要: 转自BitBucket的FAQ,写的很好就不修改了。From:https://confluence.atlassian.com/pages/viewpage.action?pageId=271943168Typically, if you are working with multiple accounts and/or multiple machines, you benefit from creating multiple SSH identities. In Mac OSX, GitBash, and Linux you can use the three ssh- commands t 阅读全文
posted @ 2013-01-07 20:06 super119 阅读(3144) 评论(0) 推荐(0) 编辑
摘要: Check here:http://files.cnblogs.com/super119/NetworkInstallLinux-Hacking-initrd.img.doc.zip 阅读全文
posted @ 2013-01-07 10:29 super119 阅读(125) 评论(0) 推荐(0) 编辑
摘要: http://dvdhrm.wordpress.com/2012/09/13/linux-drm-mode-setting-apihttp://dvdhrm.wordpress.com/2012/12/21/advanced-drm-mode-setting-apiTheDirect Rendering Manager(DRM) is a subsystem of the linux kernel that manages access to graphics cards (GPUs). It is the main video API used byX.org‘sxserverand the 阅读全文
posted @ 2013-01-04 16:18 super119 阅读(10064) 评论(2) 推荐(0) 编辑
摘要: 比如:repo init -u git://xxx/xxx/manifest.git -b <BRANCH> -m <MANIFEST>这里-m和-b的含义是:1. 注意到manifest.git本身也是一个git project2. 所以,-b指定的是使用#1中这个git project的哪个branch3. -m指定的是,下载该git project中的哪个文件(应该是首先切换了branch,然后再下载该文件)。repo init这样做过了之后,其实本地就建立起来了一个.repo目录,里面核心文件就是manifest.xml,这个xml中就定义了:- 包含哪些git 阅读全文
posted @ 2013-01-02 18:16 super119 阅读(2429) 评论(0) 推荐(0) 编辑
摘要: E.g:repo forall -C "git checkout -b r11 tag-r11"repo help forall有全部解释。 阅读全文
posted @ 2012-12-28 16:05 super119 阅读(1113) 评论(0) 推荐(0) 编辑
摘要: From:http://www.cnblogs.com/zzx1045917067/archive/2012/12/26/2834310.htmlGDB是GNU开源组织发布的一个强大的UNIX下的程序调试工具。它是一种强大的命令行调试工具。一般来说,调试器的功能:能够运行程序,设置所有能影响程序运行的参数;能够让程序在指定条件下停止运行;能够在程序停止时检查所有参数的情况;能够根据指定条件改变程序的运行。gdb调试源代码流程:1)进入GDB #gdb test只需输入GDB和要调试的可执行文件即可,在GDB的启动画面中指出了GDB的版本号、遵循的许可等信息,接下来就进入了由"(gdb 阅读全文
posted @ 2012-12-27 10:18 super119 阅读(170) 评论(0) 推荐(0) 编辑
摘要: Check here:/Files/super119/linuxgraphicsdrivers.pdfWill keep updating if the book updates. 阅读全文
posted @ 2012-12-25 17:14 super119 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 加上命令行选项:--kiosk即可。发现另外一个option也可以:--app=<URL>。这个option也是启动全屏,而且会自动打开指定的URL。Quote:http://www.kaoshijuan.net/blog/经过不懈的查找,终于在stackoverflow上找到一个人的帖子,描述了他用一种奇怪的方法来解决这个问题,也就是chrome的kiosk模式和kiosk printing模式。当浏览器启动的时候,在后面加上–kiosk –kiosk-printing的参数,就能进入该模式,在该模式下,除了页面内容之外,其他的诸如地址栏,工具栏按钮神马的,都不见了,并且只能通过 阅读全文
posted @ 2012-12-22 21:01 super119 阅读(14055) 评论(0) 推荐(0) 编辑
摘要: 1. 屏蔽grub的信息Gentoo上amd64 grub的版本是0.97-r12,需要修改源码来屏蔽屏幕打印。- 创建本地overlay:/usr/local/portage/xxx-overlay,添加内容:PORTDIR_OVERLAY="/usr/local/portage/xxx-overlay"到/etc/make.conf- 在本地overlay目录下创建:sys-boot-xxx/grub,将grub-0.97-r12.ebuild(来自gentoo官方portage树)和metadata.xml拷贝到这里- 修改ebuild,因为我们要加入自己的patch 阅读全文
posted @ 2012-12-21 22:59 super119 阅读(632) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 71 下一页