techcamp
techcamp
Techcamp
96 posts
Don't wanna be here? Send us removal request.
techcamp · 13 years ago
Text
Google Fiber
100 times faster internet
100 times the possibilities
1 note · View note
techcamp · 13 years ago
Text
一次性安装多个deb包
cd dir
sudo dpkg -i ./*.deb
sudo apt-get -f install
cp ./*.deb /var/cache/apt/archives
sudo apt-get install *.deb
2 notes · View notes
techcamp · 13 years ago
Text
ubuntu下的firefox默认的GAppProxy端口为8000,而goagent为8087
0 notes
techcamp · 13 years ago
Text
http://home.ustc.edu.cn/~lizhijie/usbip
0 notes
techcamp · 13 years ago
Text
查看声卡是否能发声
cat file.wav > /dev/audio
cat file.wav > /dev/dsp
gnome-volume-control
alsamixer
modinfo soundcore 查看内核模块信息
0 notes
techcamp · 13 years ago
Text
Eclipse快捷键
http://bristle.com/Tips/Eclipse.htm
http://wiki.eclipse.org/HowTo_use_the_CDT_to_navigate_Linux_kernel_source
ctrl+left/right:向左或右跳跃一个单词(home/end)
ctrl+home/end:文件头尾
ctrl+shift+p:跳转到和当前括号匹配的另一半括号处
ctrl+shift+left/right:选中一个单词
shift+up/down:选择多行
ctrl+backspace/delete:向前向后删除一个单词
ctrl+F7:在不同的view之间切换
ctrl+e:快速切换edit tab(ctrl+PgUp/PgDn或者ctrl+F6)
F3:模拟ctrl+左键,跳转到定义
ctrl+shift+g:在workspace搜索引用
ctrl+o:快速outline,查看当前类的方法或某个特定方法
ctrl+shift+r:打开工作区中任何一个文件
ctrl+shift+t:打开类型
shift+enter:在当前行之后创建一个空白行,与光标是否在行末无关
ctrl+shift+enter:在当前行之前创建一个空白行,与光标是否在行末无关
alt+up/down:将当前行的内容往上或下移动
alt+left/right:按照文件打开历史进行窗口切换,回到F3跳过来的位置
ctrl+m:编辑窗口最大化
ctrl+q:回到最后一次编辑的地方
ctrl+/:注释或者取消注释
ctrl+d:删除当前行
ctrl+k:参照选中的Word快速定位到下一个
ctrl+w:关闭当前editor
3 notes · View notes
techcamp · 13 years ago
Text
ubuntu下查看库的依赖关系
apt-cache depends/rdepends xxx
0 notes
techcamp · 13 years ago
Text
linux终端快捷键
Shift+Ctrl+T:新建标签页 Shift+Ctrl+W:关闭标签页 Ctrl+PageUp:前一标签页 Ctrl+PageDown:后一标签页 Shift+Ctrl+PageUp:标签页左移 Shift+Ctrl+PageDown:标签页右移 Alt+1:切换到标签页1 Alt+2:切换到标签页2 Alt+3:切换到标签页3 Shift+Ctrl+N:新建窗口 Shift+Ctrl+Q:关闭终端 终端中的复制/粘贴: Shift+Ctrl+C:复制 Shift+Ctrl+V:粘贴 终端改变大小: F11:全屏 Ctrl+plus:放大 Ctrl+minus:减小 Ctrl+0:原始大小
0 notes
techcamp · 13 years ago
Text
vim编辑二进制文件
vi -b filename
:%!xxd
:%!xxd -r
0 notes
techcamp · 13 years ago
Text
色温
sRGB 9300K 7500K 6500K 5000K
色温只表示光源的光谱成分,而不表明发光强度。色温高,表示短波成分多一些,偏蓝绿色(冷色调);色温低,表示长波的成分多一些,偏红黄色(暖色调)
中国的景色一年四季平均色温约在8000K~9500k之间,所以电视台在节目的制作都以观众的色温为9300K去摄影的。但是欧美因为平时的色温和我们有差异,以一年四季的平均色温约6000K为制作的参考的,所以我们再看那些外来的片子时,就会发现5600K~6500K最适合观看 光源的颜色与黑体加热到6500K所发出的光色相同,则此光源的色温就是6500K。色温常用等热力温标表示,也就是常说的“开尔文”(符号K)。
1 note · View note
techcamp · 13 years ago
Text
gdb查看进程信息
info proc
info proc mappings
info proc status
info proc all
info program
0 notes
techcamp · 13 years ago
Text
ubuntu下禁止用户登录桌面
/etc/gdm/gdm.schemas
greeter/Exclude
0 notes
techcamp · 13 years ago
Text
OS Version: 32bit or 64bit
getconf LONG_BIT
uname -m
CPU Version: 32bit or 64bit
grep flags /proc/cpuinfo
lshw -class processor
0 notes
techcamp · 13 years ago
Text
Ubuntu用法
apt-get或synaptic下载的软件包在/var/cache/apt/archives,一般安装在/usr目录下,自己下载安装一般装在/usr/local目录下,有些装在/opt目录下
sudo apt-get clean 删除/var/cache/apt/archives/中所有的deb包
sudo apt-get autoclean 只删除低版本的deb包
sudo apt-get install -d xxx 之前没有安装,现在只下载不安装
sudo apt-get install -d --reinstall xxx 已安装,但cache已被清空,现在重新下载
dpkg -L xxx.deb 查看deb包的安装路径
apt-cache showpkg  xxx 查看软件安装信息
sudo apt-get install package - - reinstall 重新安装包 sudo apt-get -f install 强制安装 sudo apt-get remove package 删除包 sudo apt-get remove package - - purge 删除包,包括删除配置文件等 sudo apt-get autoremove 自动删除不需要的包 sudo apt-get update 更新源 sudo apt-get upgrade 更新已安装的包 sudo apt-get dist-upgrade 升级系统
glxinfo glxgears xrandr axel apt-show-versions
lshw -C video
lspci | grep VGA
aptitude why xxx
dpkg -l | grep xxx
pkill -KILL -u username 或 killall gnome-session 注销
ls -l | grep "^-" | wc -l
find . type f | wc -l
ls -lR | grep "^-" | wc -l
ls -lR | grep "^d" | wc -l
2 notes · View notes
techcamp · 13 years ago
Text
VGA DVI HDMI
4K分辨率 = 4096*2160
0 notes
techcamp · 13 years ago
Text
devmgmt.msc 设备管理
ncpa.cpl 本地连接
0 notes
techcamp · 13 years ago
Text
P2P
Real-time Communications
Real-time Matchmaking and Game Play
Collaboration
Sharing Your Files with Other People
Sharing Your Experiences
Distributed processing
Division and Distribution of a Task
Distribution of Product Updates
Aggregation of Computer Resources
0 notes