shgreg的伟大指南:包,库,实用程序和工具(代码片段)

author author     2022-12-17     105

关键词:

 > As a reminder, **Greg's Great Guides** are intended for beginners and novice-level programmers only.  Any type of structured engineering education would likely cover all of these topics in year one (or year zero!).
 >
 > However, if you have a genuine interest in technology, and would like to spend your free time learning new stuff and building new things, then these guides are for you!
 >
 > What are you waiting for?  ***Get Going with Greg's Great Guides!***

# Packages, Libraries, Utilities, & Tools

This guide will walk you through the various installation and configuration steps to ensure that your machine is up to snuff.  The packages, libraries, and other tools listed below are simply those that I have found helpful or otherwise valuable.

The list below is by no means comprehensive; you will almost certainly need to install other packages and libraries as you proceed with your bootstrapped technical education.  That being said, I have taken extra caution to ensure that none of these commands will alter your machine's ability to perform its day-to-day operations.  I've also refrained from including any packages or libraries associated with virtual environments, as those tend to have highly machine-specific installation processes.

**TL/DR; All of the commands listed below will not interfere or negatively impact your machine's existing configuration in any way.**

## Applications

Before we head to the terminal, there are four applications you should probably install if you plan on learning more about software development.

* [**Xcode**](https://developer.apple.com/download/) - Apple's IDE for macOS and iOS development
  * Once Xcode is installed, make sure you open it and run it so that you can click "Agree" on all of the various terms & conditions documents
* [**iTerm 2**](https://www.iterm2.com/) - A user-friendly replacement for Apple's terminal application
* [**Atom**](https://atom.io) - Awesome text editor from [GitHub](https://github.com)
* [Keybase](https://keybase.io/inv/e6daec4386) - Not required, more of a cool bonus 

Once you have those applications installed and have verified that they are all running smoothly, go ahead and open all four applications.  Now we're ready to go!

 > If you haven't already run through [Greg's Great Guide for your Global Git Config](https://gist.github.com/gtallen1187/ddf30d03645b25bffa44310a0ef50baa), you should probably go do that now, then come back here.

## Setup

Before we can begin installing new libraries or packages, we need to make sure we have the necessary tools in place to manage them.

 > I've omitted the usual `$` sign at the beginning of each command so that you can directly copy & paste them into your terminal if you like.

#### [Xcode Command Line Tools](https://developer.apple.com/xcode/features/)

Ensures that Xcode properly communicates with terminal commands

```bash
xcode-select --install
```

#### [Homebrew](https://brew.sh/)

The missing package manager for macOS.

```bash
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```

## Packages

Now that our setup is complete, let's start installing some useful stuff!

#### `wget`

Utility for easily grabbing stuff from the internet to put on your computer

```bash
brew update
brew install wget
```

#### [`hub`](https://hub.github.com/)

Friendly little guy that helps brings GitHub functionality to your terminal.

```bash
brew update
brew install hub
```

#### [`git-flow-avh`](https://danielkummer.github.io/git-flow-cheatsheet/)

A library that adds some supercharged commands for Git Flow, as authored by [nvie](https://nvie.com/posts/a-successful-git-branching-model/).

```bash
brew update
brew install git-flow-avh
```
#!/bin/bash

# Before proceeding, make sure to have latest available versions of the applications listed below:
#
# Xcode - https://developer.apple.com/download/
# iTerm 2 - https://www.iterm2.com/
# Atom - https://atom.io/

ruby入坑指南(代码片段)

1.1简介Ruby语言是由松本行弘(Matz)设计,是一门通用的、面向对象的、解释型语言。1.2Ruby?RUBY?ruby?1.Ruby:用来表示编程的语言2.ruby:是指一个计算机程序,特指Ruby的解释器3.RUBY:准确来说没有这种写法,一般是简写,例如WTO.... 查看详情

jdk库rt包中常用包说明

java.lang:语言包java.util:实用包java.awt:抽象窗口工具包javax.swing:轻量级的窗口工具包,这是目前使用最广泛的GUI程序设计包java.io:输入输出包java.net:网络函数包java.applet:编制applet用到的包(目前编制applet程序时,更多的是... 查看详情

帮助程序和实用程序功能的库架构

】帮助程序和实用程序功能的库架构【英文标题】:Libraryarchitectureforhelpersandutilityfunctions【发布时间】:2013-06-2105:57:03【问题描述】:您如何处理项目中的辅助函数和实用函数?我们在一个核心项目中拥有我们所有的类和助手,... 查看详情

推荐颜色选择器实用程序,支持delphi颜色代码[关闭]

...供了专业的方法来选择颜色并在颜色模型和HTML颜色转换实用程序之间进行转换。在最新版本中,此包包含31种颜色工具,可以组合使用,可以创建大量新工具和颜色对话框。它与XPLib(可选)集成,提供完整的MSOffice风格的颜色... 查看详情

golang项目实战简明指南(代码片段)

原文地址开发环境搭建golang的开发环境搭建比较简单,由于是编译型语言,写好golang源码后,只需要执行gobuild就能将源码编译成对应平台(本文中默认为linux)上的可执行程序。本文不再赘述如何搭建golang开发环境,只说明下需要... 查看详情

GWT 创建实用程序 javascript 库

】GWT创建实用程序javascript库【英文标题】:GWTtocreateutilityjavascriptlibrary【发布时间】:2011-03-0817:19:03【问题描述】:我需要创建将从其他javascript代码调用的javascript库。是否可以使用GWT和Java类创建javascript库?没有入口点,没有UI... 查看详情

charles抓包工具操作指南

一.Charles说明Charles是HTTP代理/HTTP监视器/反向代理,使开发人员或测试人员可以查看其计算机与Internet之间的所有HTTP和SSL/HTTPS通信。这包括请求,响应和HTTP标头(其中包含cookie和缓存信息)。Charles是用Java写的,能够在Windows,Mac... 查看详情

C++:如何构建我自己的实用程序库?

】C++:如何构建我自己的实用程序库?【英文标题】:C++:howtobuildmyownutilitylibrary?【发布时间】:2010-12-2105:00:32【问题描述】:我开始对C++足够精通,因此我可以编写自己的基于C++的脚本(以替换我以前编写的bash和PHP脚本)。我... 查看详情

obiee 12c rpd 工具实用程序存储库文档到 csv 列未对齐且表示列为空

】obiee12crpd工具实用程序存储库文档到csv列未对齐且表示列为空【英文标题】:obiee12crpdtoolsutilitiesrepositorydocumentationtocsvcolumnsmisalignedandpresentationcolumnisnull【发布时间】:2020-07-0208:21:03【问题描述】:当前使用Obiee管理客户端工具1... 查看详情

最常用的几个python库

...)。分发打包为可执行文件以便分发。PyInstaller–将Python程序转换成独立的执行文件(跨平台)。dh-virtualenv–构建并将virtualenv虚拟环境作为一个Debian包来发布。Nuitka–将脚本、模块、包编译成可执行文件或扩展模块。py2app–将Py... 查看详情

python常用的标准库以及第三方库都有哪些

...)。分发打包为可执行文件以便分发。PyInstaller–将Python程序转换成独立的执行文件(跨平台)。dh-virtualenv–构建并将virtualenv虚拟环境作为一个Debian包来发布。Nuitka–将脚本、模块、包编译成可执行文件或扩展模块。py2app–将Py... 查看详情

python常用的标准库以及第三方库都有哪些

...)。分发打包为可执行文件以便分发。PyInstaller–将Python程序转换成独立的执行文件(跨平台)。dh-virtualenv–构建并将virtualenv虚拟环境作为一个Debian包来发布。Nuitka–将脚本、模块、包编译成可执行文件或扩展模块。py2app–将Py... 查看详情

沉浸式过python基础(5-模块,包,库)(代码片段)

...和包组成。Python标准库是Python自带的库,包括了很多实用的模块和工具,例如os、sys、math、random等。此外,还有很多第三方库可以从外部下载安装,并提供了丰富的功能和工具& 查看详情

git权威指南的目录

....3 SVN—集中式版本控制集大成者/71.4 Git—Linus的第二个伟大作品/9第2章 爱上Git的理由/112.1 每日工作备份/112.2 异地协同工作/122.3 现场版本控制/132.4 避免引入辅助目录/152.5 重写提交说明/152.6 想吃后悔药/162.7 更好用... 查看详情

python教程分享:“高效实用”的python工具库

...少不了的,本期Python教程就为大家分享的是““高效实用”的Python工具库”,希望能够帮助到大家。Python教程分享:“高效实用”的Python工具库:1、RequestsRequests建立在世界上下载量大的Python库urllib3上,它令 查看详情

golang项目实战简明指南(代码片段)

开发环境搭建golang的开发环境搭建比较简单,由于是编译型语言,写好golang源码后,只需要执行 gobuild 就能将源码编译成对应平台(本文中默认为linux)上的可执行程序。本文不再赘述如何搭建golang开发环境,只说... 查看详情

pm2实用入门指南

http://www.cnblogs.com/chyingp/p/pm2-documentation.html 简介PM2是node进程管理工具,可以利用它来简化很多node应用管理的繁琐任务,如性能监控、自动重启、负载均衡等,而且使用非常简单。下面就对PM2进行入门性的介绍,基本涵盖了PM2... 查看详情

超详细,python库bokeh数据可视化实用指南(代码片段)

大家好,今天跟大家分享的是交互式可视化神器PythonBokeh的详细使用教程,欢迎收藏学习,喜欢点赞支持,技术交流文末获取。目录如下:什么是BokehBokeh是Python中的交互式可视化库。Bokeh提供的最佳功能是针对... 查看详情