Table of Contents
十年不老
Home Database Mysql Tutorial Mac技巧合集第一期

Mac技巧合集第一期

Jun 07, 2016 pm 03:06 PM
mac Collection Skill

晚上下班的时候,同事告诉我这是平安夜。 我一向对洋节不甚感冒,可能70后都这德行?类似平安夜圣诞节这样的日子,除了把北京城搞的水泄不通之外,于我有何意义呢?不过在这样一个多事之冬,这个平安夜似乎多了一些意义,希望大家都能把平安夜的平安延续下去

 

晚上下班的时候,同事告诉我这是平安夜。

我一向对洋节不甚感冒,可能70后都这德行?类似平安夜圣诞节这样的日子,除了把北京城搞的水泄不通之外,于我有何意义呢?不过在这样一个多事之冬,这个平安夜似乎多了一些意义,希望大家都能把平安夜的平安延续下去...

 

昨天介绍了Alfred,有童靴问有哪些功能是系统原生spotlight完成不了的。这算是小瞧了Alfred这个小帽子(logo)了。spotlight的主要功能还是用来检索,Alfred除了快速定位程序之外,还能做很多事。大部分人用的是Alfred的免费版,直接从app store下载,但这个版本的很多功能是缺失的。今天我再为大家介绍几个Alfred的功能。

1、通过find、open、in搜索文件。find是找到文件,open是找到并打开文件,in是在文件中检索,这种检索方式比spotlight更具备针对性

2、输入>即可直接运行shell命令。比如>bpython,可以直接打开终端并运行bpython的shell。(收费版本)

3、输入itunes,会出现一个iTunes mini play,打开可以通过alfred控制音乐播放(收费版本)

4、输入email,后面跟邮件地址,可以直接打开写邮件的界面(收费版本)

5、使用alt+command+c,可以调出剪贴板,你的复制历史历历在目(收费版本)

功能不止于此。收费版本10英镑,喜欢的可以入。

 

最后为大家介绍一个简单的终端命令。

比如有一个场景,你在一个目录下林林总总放了几百个文件,有图片有pdf有zip有doc等等,你想把后缀为png、jpeg、gif的图片复制到另一个文件夹去,最简单的方式是什么?

不是通过搜索把这些文件找出来,再全选复制到另一个文件夹下。

而是进入该目录,执行这样一个命令:

cp *.png *.jpeg *.gif /destpath

如果想剪切,就把cp改为mv

 

合理的利用OS X的原生工具和第三方工具,可以打造自己的高效工作和娱乐平台。

如果你是程序员,你该用Mac,如果你不是程序员,推荐你用Mac.

 

十年不老

2012-12-25

Mac技巧合集第一期

今天在好几个场景下谈到了程序员的年龄问题。十年到底老不老,程序员三十以后,说英雄谁是英雄?

2000年左右我们二十多岁,那是个中午踢场球还能编程到凌晨两点的年龄,身边几乎没有三十多岁的程序员。于是我们忧伤的想,30岁以后该干什么呢?结果到了30多岁,很多同龄人依然奋斗在编程第一线,享受技术带来的喜悦。

我个人由于各种原因,很早就开始做技术管理、产品设计等工作,但从未离开编程一线,直到现在。十年后我想我的代码质量会更高吧...

如果你是技术天才,一直编程就好了。如果你不是,但热爱技术,那么在编程之余要锻炼自己的设计能力、演讲能力、技术管理能力。如果编程只是你谋生的工具,那么不用等三十现在就转行吧...

 

今天推送的内容:

1、程序切换

在OS X中程序切换可以通过command+tab进行,command+tab进行顺序切换,command+shift+tab进行逆序切换,功能类似Win7的alt+tab。

OS X还提供了同组程序的切换,比如你打开了多个预览程序阅读pdf,你想在这些pdf之间切换阅读,这时候就可以使用command+`(esc下面的键)进行同组程序切换。

2、远程拷贝

OS X提供基于ssh的远程拷贝命令scp,这个命令大部分linux和unix系统都会提供,使用该命令可以非常方便的在两台机器之间安全的复制文件,具体命令:

scp ./testfile.txt  username@10.10.10.22:/tmp

回车后会要求你输入username的密码,只会就当前目录下的testfile.txt复制到另一台机器的tmp目录下。

scp username@10.10.10.22:/tmp/testfile.txt  ./

从远端复制到本地

 

祝天下程序员圣诞快乐

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Two Point Museum: All Exhibits And Where To Find Them
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to set up WeChat Mac to automatically convert voice messages into text - How to set up voice to text conversion How to set up WeChat Mac to automatically convert voice messages into text - How to set up voice to text conversion Mar 19, 2024 am 08:28 AM

Recently, some friends have consulted the editor about how to set up WeChat Mac to automatically convert voice messages into text. The following is a method for setting up WeChat Mac to automatically convert voice messages into text. Friends in need can come and learn more. Step 1: First, open the Mac version of WeChat. As shown in the picture: Step 2: Next, click "Settings". As shown in the picture: Step 3: Then, click "General". As shown in the picture: Step 4: Then check the option "Automatically convert voice messages in chat to text". As shown in the picture: Step 5: Finally, close the window. As shown in the picture:

Win11 Tips Sharing: Skip Microsoft Account Login with One Trick Win11 Tips Sharing: Skip Microsoft Account Login with One Trick Mar 27, 2024 pm 02:57 PM

Win11 Tips Sharing: One trick to skip Microsoft account login Windows 11 is the latest operating system launched by Microsoft, with a new design style and many practical functions. However, for some users, having to log in to their Microsoft account every time they boot up the system can be a bit annoying. If you are one of them, you might as well try the following tips, which will allow you to skip logging in with a Microsoft account and enter the desktop interface directly. First, we need to create a local account in the system to log in instead of a Microsoft account. The advantage of doing this is

3 Ways to Convert HEIC Photos to JPG on Mac 3 Ways to Convert HEIC Photos to JPG on Mac Mar 15, 2024 pm 08:43 PM

By default, iPhone takes photos from the camera in HEIC format. HEIC stands for High Efficiency Image Container and can hold more pixel data than PNG or JPG files, taking up significantly less space on iPhone storage compared to other formats. These files work best on iPhones but are not widely accepted on the internet because they often result in blurry/grainy pictures when you share them with non-Apple devices. To ensure that HEIC images are compatible on other devices, you may need to convert them to JPG format. This article will introduce how to convert HEIC images to JPG on Mac. How to Convert HEIC Photos to JPG on Mac [3 Methods] Method

What are the tips for novices to create forms? What are the tips for novices to create forms? Mar 21, 2024 am 09:11 AM

We often create and edit tables in excel, but as a novice who has just come into contact with the software, how to use excel to create tables is not as easy as it is for us. Below, we will conduct some drills on some steps of table creation that novices, that is, beginners, need to master. We hope it will be helpful to those in need. A sample form for beginners is shown below: Let’s see how to complete it! 1. There are two methods to create a new excel document. You can right-click the mouse on a blank location on the [Desktop] - [New] - [xls] file. You can also [Start]-[All Programs]-[Microsoft Office]-[Microsoft Excel 20**] 2. Double-click our new ex

How to post to Moments on WeChat Mac - How to post to Moments on WeChat Mac How to post to Moments on WeChat Mac - How to post to Moments on WeChat Mac Mar 18, 2024 pm 05:43 PM

Friends, do you know how to post Moments on WeChat Mac? Today I will explain how to post Moments on WeChat Mac. If you are interested, come and take a look with me. I hope it can help everyone. Step 1: After opening WeChat, click the Moments button on the left. Step 2: Next, click the camera button on the upper right side. Step 3: Enter the text content you want to send. Step 4: Next, click on who can watch. Step 5: In the pop-up box, select the viewable conditions and click OK. Step 6: Finally, click the Publish button.

A must-have for veterans: Tips and precautions for * and & in C language A must-have for veterans: Tips and precautions for * and & in C language Apr 04, 2024 am 08:21 AM

In C language, it represents a pointer, which stores the address of other variables; & represents the address operator, which returns the memory address of a variable. Tips for using pointers include defining pointers, dereferencing pointers, and ensuring that pointers point to valid addresses; tips for using address operators & include obtaining variable addresses, and returning the address of the first element of the array when obtaining the address of an array element. A practical example demonstrating the use of pointer and address operators to reverse a string.

VSCode Getting Started Guide: A must-read for beginners to quickly master usage skills! VSCode Getting Started Guide: A must-read for beginners to quickly master usage skills! Mar 26, 2024 am 08:21 AM

VSCode (Visual Studio Code) is an open source code editor developed by Microsoft. It has powerful functions and rich plug-in support, making it one of the preferred tools for developers. This article will provide an introductory guide for beginners to help them quickly master the skills of using VSCode. In this article, we will introduce how to install VSCode, basic editing operations, shortcut keys, plug-in installation, etc., and provide readers with specific code examples. 1. Install VSCode first, we need

How to format a drive using GUID on Mac How to format a drive using GUID on Mac Apr 12, 2024 am 09:13 AM

Formatting the drive of your Mac system is crucial for proper functioning. It helps prevent various system problems and makes your Mac more stable overall. While naturally Mac supports various partitioning schemes, GUID offers more modern and versatile features compared to other options. Also essential for newer Macs and supports larger drives, giving you the best compatibility and stability. This guide will take an in-depth look at how to format a drive using a GUID on macOS. That said, let's get started. Why GUID is important for macOS installation A GUID (full form of Globally Unique Identifier) ​​is a partitioning scheme that helps install and run the macOS operating system. It is better than traditional MBR (main lead

See all articles