随笔分类 - mac
摘要:cd /Users/shelley/Library/Application\ Support/Dock cp 10CCA448-0975-41DE-B47A-8E89FD634227.db 10CCA448-0975-41DE-B47A-8E89FD634227.db_bak sqlite3 10C
        阅读全文
                
摘要:在finder中打开应用程序目录,找到QQ,右键单击QQ,选择显示包内容,此时会打开一个文件夹。进入以下路径Library/LoginItems然后双击ScreenCapture这个进程,截图功能即会恢复正常。
        阅读全文
                
摘要:1、打开或新建一个word文档2、按 fn + option + F11 键,会弹出一个【项目】窗口,选中Normal, 双击[模块], 修改为125Sub AutoOpen() ActiveWindow.ActivePane.View.Zoom.Percentage = 125 End Sub...
        阅读全文
                
摘要:将Mac下/etc/ssh_config中的SendEnv LANG LC_*这一行用#号注释掉reference:http://www.zhihu.com/question/20117388
        阅读全文
                
摘要:1. 多tab支持1)terminal y也是支持多tab的, Cmd+T可以打开一个新的tab2) cmd + shift + { / } 可以在tab间切换2. termial中打开外部app1) 使用 open yourfile 可以直接把你的文件用默认程序打开2) 使用 open -a sa...
        阅读全文
                
摘要:以2.7升级到3.3为例1.删除原版本a)删除系统库中的版本sudo rm -R /System/Library/Frameworks/Python.framework/Versions/2.7b)删除Current版本sudo rm /System/Library/Frameworks/Pytho...
        阅读全文
                
摘要:在ITunes播放中前进、后退五秒的快捷键如题,快捷键为Command+Alt+方向键。听Podcast一两句没听清楚的时候很有用。reference:http://mac.pcbeta.com/thread-73146-1-1.html
        阅读全文
                
摘要:背景:Mac 通过[终端]ssh登陆linux并且在Mac显示linux图形Mac 主机IP: 10.2.1.1linux 主机IP: 192.168.1.1说明:想要ssh访问并且显示linux主机图形,在这里,首先要使用XQuartz工具.其次要告诉linux主机将要把图形显示到哪里(DISPL...
        阅读全文
                
摘要:开启 FTP Serversudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist关闭 FTP Serversudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist
        阅读全文
                
摘要:ifconfig lo0 alias 172.16.123.1will add an alias IP 172.16.123.1 to the loopback adaptersudo ifconfig en1 alias 172.16.123.1ifconfig lo0 -alias 172.16.123.1will remove itsudo ifconfig en1 -alias 172.16.123.1Reference:http://stackoverflow.com/questions/87442/virtual-network-interface-in-mac-os-x
        阅读全文
                
摘要:The port Commandhelp:port help selfupdateselfupdate:sudo port selfupdatesearch:port search tftpuninstallsudo port uninstall tftpTo also recursively uninstall the ports that the given port depends on, use the ‑‑follow‑dependencies flag. This will not uninstall dependencies that are marked as requeste
        阅读全文
                
摘要:If you installed MacPorts using the package installer, skip this section. To install MacPorts from the source code, follow the steps below.	1. Download and extract the MacPorts 2.2.1 tarball. Either do so using your browser and the Finder, or use the given commands in a terminal window.curl -O ...
        阅读全文
                
摘要:vimrc系统文件目录/usr/share/vim在vimrc中添加以下代码后,重启vim即可实现按TAB产生4个空格:set ts=4 (注:ts是tabstop的缩写,设TAB宽4个空格)set expandtab #tab用空格代替 如不替代设置为set noexpandtab
        阅读全文
                
摘要:由于mac os的分辨率比较大,在PC上显示正常的word文档(显示比例100%),在mac下打开会很小,需要经常调整显示比例,如调到125%、130%或150%,可以通过下面方法来设置默认显示比例,下载再打开100%显示比例的文档时会自动放大到指定的显示比例:1、打开或新建一个word文档2、按 fn + option + F11 键,会弹出一个【项目】窗口,选中Normal,如下图:3、点击【菜单——插入——模块】,将下面宏代码复制粘贴到代码框处,如下图:Sub AutoOpen()ActiveWindow.ActivePane.View.Zoom.Percentage = 130End 
        阅读全文
                
摘要:在文档结构图的侧栏里按住control+option,然后滑动鼠标滚轮/双指上下滚动触摸板。
        阅读全文
                
 
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号