id
int64
0
3.46k
description
stringlengths
5
3.38k
readme
stringlengths
6
512k
3,100
Kotlin extensions for the libGDX game framework
[![GitHub Build](https://github.com/libktx/ktx/workflows/build/badge.svg)](https://github.com/libktx/ktx/actions?query=workflow%3Abuild) [![Kotlin](https://img.shields.io/badge/kotlin-1.8.0-orange.svg)](http://kotlinlang.org/) [![libGDX](https://img.shields.io/badge/libgdx-1.11.0-red.svg)](https://libgdx.com/) [![Maven Central](https://img.shields.io/maven-central/v/io.github.libktx/ktx-async.svg)](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.github.libktx%22) [![KTX](.github/ktx-logo.png "KTX")](http://libktx.github.io) _**K**o**t**lin extensions for libGD**X**._ # Table of contents * [Introduction](#introduction) * [Modules](#modules) * [Installation](#installation) * [Documentation](#documentation) * [Contribution](#contribution) ## Introduction **KTX** is a Kotlin game framework extending [libGDX](http://libgdx.badlogicgames.com/). It aims to make libGDX as [Kotlin](http://kotlinlang.org/)-friendly as possible without completely rewriting the API. It provides modular utilities and extensions for selected parts of libGDX with poor Kotlin support. Examples of Kotlin language features used to improve usability, performance, and readability of libGDX include: - *Operator overloads* for collections and mathematical operations. - *Extension methods* expanding and improving the original libGDX APIs without the use of inheritance. - *Inline methods* with reduced runtime overhead for various listeners, builders, and loggers. - *Nullable types* which improve typing information of selected interfaces and functions. - *Default parameters* reducing boilerplate code and providing sensible defaults for various operations. - *Type-safe builders* for GUI, interface styling, ECS, and physics engine setup. - *Default interface methods* simplifying their implementation. - *Coroutines context* providing concurrency utilities and non-blocking asset loading. - *Reified types* simplifying usage of methods normally consuming `Class` parameters. See the [_Choosing **KTX**_](https://github.com/libktx/ktx/wiki/Choosing-KTX) article for pros and cons of this framework. ## Modules **KTX** was designed to be modular from day one. In fact, some of its libraries consist of just a single Kotlin file. You can include the selected **KTX** modules based on the needs of your application. | Module | Description | |:--------------------------------------:|-----------------------------------------------------------------------------------------------------------------------------------| | [`ktx-actors`](actors) | [`Scene2D`](https://libgdx.com/wiki/graphics/2d/scene2d/scene2d) GUI extensions for stages, actors, actions, and event listeners. | | [`ktx-app`](app) | `ApplicationListener` implementations and general application utilities. | | [`ktx-artemis`](artemis) | [`Artemis-odb`](https://github.com/junkdog/artemis-odb) entity-component-system utilities. | | [`ktx-ashley`](ashley) | [`Ashley`](https://github.com/libgdx/ashley) entity-component-system utilities. | | [`ktx-assets`](assets) | Resources management utilities. | | [`ktx-assets-async`](assets-async) | Non-blocking asset loading using coroutines. | | [`ktx-async`](async) | [Coroutines](https://kotlinlang.org/docs/reference/coroutines.html) context based on libGDX threading model. | | [`ktx-box2d`](box2d) | [`Box2D`](https://libgdx.com/wiki/extensions/physics/box2d) physics engine utilities. | | [`ktx-collections`](collections) | Extensions for libGDX custom collections. | | [`ktx-freetype`](freetype) | `FreeType` fonts loading utilities. | | [`ktx-freetype-async`](freetype-async) | Non-blocking `FreeType` fonts loading using coroutines. | | [`ktx-graphics`](graphics) | Utilities related to rendering tools and graphics. | | [`ktx-i18n`](i18n) | Internationalization API utilities. | | [`ktx-inject`](inject) | A dependency injection system with low overhead and no reflection usage. | | [`ktx-json`](json) | Utilities for libGDX [JSON](https://libgdx.com/wiki/utils/reading-and-writing-json) serialization API. | | [`ktx-log`](log) | Minimal runtime overhead cross-platform logging using inlined functions. | | [`ktx-math`](math) | Operator functions for libGDX math API and general math utilities. | | [`ktx-preferences`](preferences) | Improved API for accessing and saving [preferences](https://libgdx.com/wiki/preferences). | | [`ktx-reflect`](reflect) | Utilities for libGDX [reflection API](https://libgdx.com/wiki/utils/reflection). | | [`ktx-scene2d`](scene2d) | Type-safe Kotlin builders for [`Scene2D`](https://libgdx.com/wiki/graphics/2d/scene2d/scene2d) GUI. | | [`ktx-script`](script) | Kotlin scripting engine for desktop applications. | | [`ktx-style`](style) | Type-safe Kotlin builders for `Scene2D` widget styles extending `Skin` API. | | [`ktx-tiled`](tiled) | Utilities for [Tiled](https://www.mapeditor.org/) maps. | | [`ktx-vis`](vis) | Type-safe Kotlin builders for [`VisUI`](https://github.com/kotcrab/vis-ui/). | | [`ktx-vis-style`](vis-style) | Type-safe Kotlin builders for `VisUI` widget styles. | ### Installation #### New projects New projects with support for KTX can be generated with the [`gdx-liftoff` tool](https://github.com/tommyettinger/gdx-liftoff). In contrary to the official `gdx-setup` tool, `gdx-liftoff` provides greater support for libGDX extensions and a wider set of platforms, as well as custom project templates. You can download the latest release of the tool [here](https://github.com/tommyettinger/gdx-liftoff/releases). Click on the sections below for instructions on how to set up a new KTX project with `gdx-liftoff`. <details><summary><b>General</b></summary><dl><dd> --- Fill the basic information about your project such as its name, root package or main class name. Provide an empty folder to generate the project into. If you want to target the Android platform, define the path to the Android SDK. The following sections describe each tab of the setup tool available below the basic project info. --- </dd></dl></details> <details><summary><b>Platforms</b></summary><dl><dd> --- **KTX** supports the following platforms: * **Core:** mandatory shared module. * **Desktop:** the default desktop platform based on LWJGL3. * **Android:** native Android mobile platform. * **iOS:** mobile platform using RoboVM to support iOS. * **HTML (TeaVM):** unofficial experimental web platform using TeaVM. * Headless: a desktop platform without a graphical interface. * Server: a separate server application without libGDX APIs. * Shared: a module for sharing code between the Server and Core. The following platforms are unsupported or untested: * HTML: the default web platform. Supports only Java projects. * Desktop (Legacy): legacy desktop platform built upon LWJGL2. Might not work with modern JVMs. * iOS Multi-OS Engine: an alternative iOS platform. Untested. --- </dd></dl></details> <details><summary><b>Languages</b></summary><dl><dd> --- You can select the **Kotlin** language support to ensure it is correctly set up in the generated project. If a Kotlin project template is selected, it will automatically add the necessary Kotlin libraries and plugins. --- </dd></dl></details> <details><summary><b>Extensions</b></summary><dl><dd> --- This section includes the official libGDX extensions. Each of these should be compatible with Kotlin projects. However, some extensions might be unavailable on specific platforms. In particular, the TeaVM backend might be unable to compile libraries relying on native code or reflection. --- </dd></dl></details> <details><summary><b>Third-party extensions</b></summary><dl><dd> --- This section contains all verified third-party extensions for libGDX. All **KTX** modules are listed in this tab. To include a **KTX** module, scroll down to the **KTX** libraries list and click on the corresponding checkbox. This will ensure that the module is properly installed and includes all of its dependencies in the latest available versions. The `gdx-liftoff` tool will also set up a Gradle property named `ktxVersion` that will be shared across all **KTX** libraries. To upgrade your project after a **KTX** release, update to the latest version in the `gradle.properties` file. --- </dd></dl></details> <details><summary><b>Templates</b></summary><dl><dd> --- Choosing a template for the project determines the initial implementation of the libGDX `ApplicationListener`, as well as the application launchers on each platform. Some templates also showcase specific parts of the framework, such as the Scene2D GUI or event handling. You can generate several projects and check out various templates, but for working with Kotlin and KTX these are the best starting points: * **Kotlin**: a basic project template that generates Kotlin application launchers. * **Kotlin Logo**: a simple project that generates Kotlin application launchers and draws the libGDX logo on the screen. * **Kotlin + KTX** *(recommended)*: a project template that generates the `ApplicationListener` using **KTX** utilities. When launched, the application draws the **KTX** logo on the screen. Some modules that require additional setup, such as `ktx-async`, are properly initiated by the template if selected. --- </dd></dl></details> <details><summary><b>Advanced</b></summary><dl><dd> --- This section can be used to specify versions of core dependencies. If you are just starting with libGDX, these settings can be mostly left untouched. However, if you wish to have a basic Scene2D GUI Skin that you can use to test the available widgets, mark the *Add GUI assets* checkbox. --- </dd></dl></details> Example **KTX** projects: * [`ktx-sample-project`](https://github.com/libktx/ktx-sample-project): includes all **KTX** modules and the official libGDX extensions. Targets the desktop and mobile platforms. * [`ktx-sample-web-project`](https://github.com/libktx/ktx-sample-web-project): includes most **KTX** modules that are at least partially supported by the web platform, as well as the official libGDX extensions. Targets the desktop, mobile and web platforms. When using the official `gdx-setup` tool instead of the recommended `gdx-liftoff`, generate a project with Kotlin support and refer to the next section. #### Existing projects **KTX** libraries can be added to existing Kotlin libGDX projects. Please refer to the [libGDX wiki](https://libgdx.com/wiki/jvm-langs/using-libgdx-with-kotlin) for more information on how to add Kotlin support to a libGDX application. All **KTX** modules are uploaded to _Maven Central_ and are fully compatible with the Gradle build tool, which is used in libGDX projects by default. The libraries are published under the `io.github.libktx` group and are named with the `ktx-` prefix. You can find a complete list of KTX modules in the [previous section](#modules). As an example, including the [app](app) module with the `ktx-app` identifier would require the following changes in your `build.gradle` or `build.gradle.kts` file: <details><summary><code>build.gradle</code> <sub><b>Gradle Groovy DSL</b></sub></summary> ```groovy // Groovy DSL: ext { // Update this version to match the latest KTX release: ktxVersion = '1.11.0-rc4' } dependencies { api group: 'io.github.libktx', name: 'ktx-app', version: ktxVersion } ``` </details> <details><summary><code>build.gradle.kts</code> <sub><b>Gradle Kotlin DSL</b></sub></summary> ```kotlin // Update this version to match the latest KTX release: val ktxVersion = "1.11.0-rc4" dependencies { api(group = "io.github.libktx", name = "ktx-app", version = ktxVersion) } ``` </details> **KTX** modules should generally be added to the dependencies of the shared `core` module of your libGDX application. You can find the latest **KTX** version on Maven Central: [![Maven Central](https://img.shields.io/maven-central/v/io.github.libktx/ktx-app.svg)](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.github.libktx%22) #### Platforms **KTX** currently supports the following platforms: | Platform | Status | Description | |:--------:|:------------:|--------------------------------------------------------------------------------------------------------------------------------| | Desktop | Complete | All major desktop platforms are supported by the official libGDX LWJGL3 backend. | | Android | Complete | Supported natively by the official libGDX Android backend. | | iOS | Complete | Supported by the official libGDX iOS backend using [RoboVM](http://robovm.mobidevelop.com/). | | Web | Experimental | Partially supported by the unofficial [web backend](https://github.com/xpenatan/gdx-teavm/) using [TeaVM](https://teavm.org/). | > Note that platforms other than desktop might provide limited support for features such as reflection, coroutines > or Java standard library emulation. In particular, mobile platforms might not support the entire Java standard > library including the newer additions, while the web platform currently does not support Kotlin coroutines or more > advanced reflection features. Please refer to the documentation of the respective libGDX backends, as well as > the tools that they are based on. #### Versioning Each **KTX** version is based on the matching libGDX release. **KTX** uses suffixes to differentiate multiple releases made against a single libGDX version. The `-rc` suffix is reserved for stable releases. Unfortunately, libGDX does not follow the [semantic versioning](https://semver.org/) guidelines. Both minor and patch versions can introduce breaking changes. Please read the [libGDX](https://github.com/libgdx/libgdx/blob/master/CHANGES) and [**KTX** change logs](CHANGELOG.md) before updating. When choosing the appropriate **KTX** version, always pick the latest release matching your current libGDX version. You can browse through our official releases [on Maven](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.github.libktx%22) and [on GitHub](https://github.com/libktx/ktx/releases). Although **KTX** technically uses beta release tags, the official releases are considered suitable for production use. All modules are thoroughly tested with comprehensive test suites. #### Latest changes The [`master`](https://github.com/libktx/ktx/tree/master/) branch is the default branch of the repository. It represents the latest stable release of **KTX**. It ensures that the documentation in the repository is in sync with the latest released version. The newest changes can be found on the [`develop`](https://github.com/libktx/ktx/tree/develop/) branch instead. The preview snapshot releases with the latest changes are uploaded automatically to the `https://oss.sonatype.org/content/repositories/snapshots/` repository. To use them in your application, add the following Maven repository, and change the suffix of the **KTX** version to `-SNAPSHOT`: <details><summary><code>build.gradle</code> <sub><b>Gradle Groovy DSL</b></sub></summary> ```groovy repositories { // Include your other repositories here. maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } ext { // Update this version to match the latest libGDX release: ktxVersion = '1.11.0-SNAPSHOT' } ``` </details> <details><summary><code>build.gradle.kts</code> <sub><b>Gradle Kotlin DSL</b></sub></summary> ```kotlin repositories { // Include your other repositories here. maven("https://oss.sonatype.org/content/repositories/snapshots/") } // Update this version to match the latest libGDX release: val ktxVersion = "1.11.0-SNAPSHOT" ``` </details> The full version of the latest snapshot release can be found on the [`develop`](https://github.com/libktx/ktx/blob/develop/version.txt) branch, and usually matches the latest stable libGDX release. Snapshot releases for the nightly libGDX builds are not available. Note that even the snapshots are rather stable, as the libraries are not pushed to _Maven Central_ unless they pass their extensive test suites. However, the public APIs in snapshot libraries might be changed prior to a stable release. ## Documentation ### Official guides Each module contains a `README.md` file with a list of all its features and a guide with useful code snippets. Browse through the directories in the root folder to find out more about each library. ### Source documentation All functionalities are documented with Kotlin _KDocs_. You can access the source documentation by: - Viewing the generated Dokka files hosted on the [project website](https://libktx.github.io/docs/). - Extracting the `doc` folders with Dokka files from the [release archives](https://github.com/libktx/ktx/releases). - Reading the sources directly. ### Links [**KTX** wiki](https://github.com/libktx/ktx/wiki) lists some useful resources that can help you get started. Most official guides and code examples in this repository assume that the reader is at least a bit familiar with the libGDX API. If you are just getting to know the framework, it might be helpful to go through [the official libGDX wiki](https://libgdx.com/wiki/), and convert some Java examples to Kotlin. ## [Contribution](.github/CONTRIBUTING.md) Suggestions, questions, typo fixes, documentation improvements and code contributions are always welcome. Do not hesitate to [start a discussion](https://github.com/libktx/ktx/discussions) with questions about the framework. Feel free to advertise your **KTX** project, propose new features, discuss game jams, or even create a personal devlog. If you would like to contribute, please read [the contribution guideline](.github/CONTRIBUTING.md), and browse through [the active issues](https://github.com/libktx/ktx/issues). The [`develop`](https://github.com/libktx/ktx/tree/develop/) is the active development branch. When creating pull requests, make sure to choose `develop` as the target branch. You can check the list of the contributors via [GitHub insights](https://github.com/libktx/ktx/graphs/contributors) or [the contributors list](.github/CONTRIBUTORS.md). ### Licensing This project is dedicated to [public domain](LICENSE.txt). ### Working from sources See [this section](.github/CONTRIBUTING.md#working-from-sources) of the contribution guideline to get started.
3,101
This repo is no longer supported. Please visit a https://github.com/KakaoCup/Kakao
# Kakao project is now being developed here: [KakaoCup/Kakao](https://github.com/KakaoCup/Kakao). ### Kudos to all contributors and maintainers! ### This repo is no longer supported. ### Archived versions are available in maven central, for new releases please follow a new repo. # Kakao [ ![Download](https://api.bintray.com/packages/agoda/maven/kakao/images/download.svg) ](https://bintray.com/agoda/maven/kakao/_latestVersion) [![CircleCI](https://circleci.com/gh/agoda-com/Kakao/tree/master.svg?style=shield&circle-token=0d0ed659625be4efe54fe706c16894cd54213690)](https://circleci.com/gh/agoda-com/Kakao/tree/master) [![Kotlin version badge](https://img.shields.io/badge/kotlin-1.4.10-blue.svg)](http://kotlinlang.org/) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Kakao-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/6314) Nice and simple DSL for Espresso in Kotlin ### Introduction At Agoda, we have more than 1000 automated tests to ensure our application's quality and give our best experience to the user. All of them are written with Espresso from Google. Even though Espresso is working really well with our test, the code readability is quite low. Let's look at some of the examples of how we write the test. ```Java onView(allOf(withId(R.id.price_item), hasDescendant(withText("Standard Rate")))) .check(matches(withEffectiveVisibility(Visibility.VISIBLE))); ``` This is an example just to check the visibility and you can see that it's not looking that good. As Agoda developers, we want to improve not just our codebase quality, but also our implementation of tests as well. This is why we are introducing Kakao. The library that will make you enjoy writing automated tests like you are drinking a hot chocolate. ![coco](https://user-images.githubusercontent.com/2812510/30947310-3825724c-a433-11e7-8a0d-3c3bfe00d584.png) #### Benefits - Readability - Reusability - Extensible DSL ### How to use it #### Create Screen Create your entity `Screen` where you will add the views involved in the interactions of the tests: ```Kotlin class FormScreen : Screen<FormScreen>() ``` `Screen` can represent the whole user interface or a portion of UI. If you are using [Page Object pattern](https://martinfowler.com/bliki/PageObject.html) you can put the interactions of Kakao inside the Page Objects. #### Create KView `Screen` contains `KView`, these are the Android Framework views where you want to do the interactions: ```Kotlin class FormScreen : Screen<FormScreen>() { val phone = KEditText { withId(R.id.phone) } val email = KEditText { withId(R.id.email) } val submit = KButton { withId(R.id.submit) } } ``` Kakao provides different types depending on the type of view: * `KView` * `KEditText` * `KTextView` * `KButton` * `KImageView` * `KWebView` * `KCheckbox` * `KViewPager` * `KSeekBar` * `KSwitch` * <b>and more</b> Every `KView` contains matchers to retrieve the view involved in the `ViewInteraction`. Some examples of matchers provided by Kakao: * `withId` * `withText` * `withContentDescription` * `withDrawable` * `withBackgroundColor` * <b>and more</b> Like in Espresso you can combine different matchers: ```Kotlin val email = KEditText { withId(R.id.email) withText(R.string.email) } ``` And you can use your custom matchers: ```Kotlin val email = KEditText { withId(R.id.email) matches { MyCustomMatcher.matches(position) } } ``` #### Write the interaction. The syntax of the test with Kakao is very easy, once you have the `Screen` and the `KView` defined, you only have to apply the actions or assertions like in Espresso: ```Kotlin onScreen<FormScreen> { phone { hasText("971201771") } button { click() } } ``` Kakao provides multiple actions/assertions based on Espresso. Furthermore, you can combine them, just like the matchers. You can use your custom assertions or your custom actions too: ```Kotlin onScreen<FormScreen> { phone { assert { MyCustomAssertion.isThaiNumber() } } button { act { MyCustomAction.clickOnTheCorner() } } } ``` #### Advanced ##### ListView/RecyclersView Kakao offers an easy way to interact with your `RecyclerView` and `ListView` ###### Create the KListView/KRecyclerView Inside your `Screen` create the KView matching with your view: For `KListView`: ```Kotlin val list = KListView { builder = { withId(R.id.list) } } ``` For `KRecyclerView`: ```Kotlin val recycler = KRecyclerView { builder = { withId(R.id.recycler_view) } } ``` You can combine different matchers to retrieve your view. ###### Create KAdapterItem/KRecyclerItem Every adapter contains different Items, Kakao provides an easy way to define the different items of your adapter with `KAdapterItem` and `KRecyclerItem`. If your adapter contains multiple Items but your interactions in your tests only work with one is not required to create all of them. `KAdapterItem` ```Kotlin class Item(i: DataInteraction) : KAdapterItem<Item>(i) { val title = KTextView(i) { withId(R.id.title) } val subtitle = KTextView(i) { withId(R.id.subtitle) } val button = KButton(i) { withId(R.id.button) } } ``` `KRecyclerItem` ```Kotlin class Item(parent: Matcher<View>) : KRecyclerItem<Item>(parent) { val title: KTextView = KTextView(parent) { withId(R.id.title) } val subtitle: KTextView = KTextView(parent) { withId(R.id.subtitle) } } ``` The `KView` defined in the Item corresponds views used on the Item. You can assign the `KItems` to the `KListView`/ `KRecyclerView` like: ```Kotlin val recycler: KRecyclerView = KRecyclerView({ withId(R.id.recycler_view) }, itemTypeBuilder = { itemType(::Item) }) ``` And finally your final interaction will be: ```Kotlin onScreen<RecyclerScreen> { recycler { firstChild<TestRecyclerScreen.Item> { isVisible() title { hasText("Title 1") } } } } ``` Kakao provides different accessors in the adapter: * `childAt` * `firstChild` * `lastChild` * `childWith` ##### Custom KView If you have custom Views in your tests and you want to create your own `KView`, we have `KBaseView`. Just extend this class and implement as much additional Action/Assertion interfaces as you want. You also need to override constructors that you need. ```Kotlin class KMyView : KBaseView<KView>, MyActions, MyAssertions { constructor(function: ViewBuilder.() -> Unit) : super(function) constructor(parent: Matcher<View>, function: ViewBuilder.() -> Unit) : super(parent, function) constructor(parent: DataInteraction, function: ViewBuilder.() -> Unit) : super(parent, function) } ``` ##### Intercepting If you need to add custom logic during the `Kakao -> Espresso` call chain (for example, logging) or if you need to completely change the `ViewAssertion` or `ViewAction` that are being sent to Espresso during runtime in some cases, you can use the intercepting mechanism. Interceptors are lambdas that you pass to a configuration DSL that will be invoked before `ViewInteraction`, `DataInteraction` or `Web.WebInteraction` classes' `perform` and `check` calls happening from inside Kakao. You have the ability to provide interceptors at 3 different levels: Kakao runtime, your 'Screen' classes and any individual `KView` instance. On each invocation of Espresso function that can be intercepted, Kakao will aggregate all available interceptors for this particular call and invoke them in descending order: `KView interceptor -> Active Screens interceptors -> Kakao interceptor`. Each of the interceptors in the chain can break the chain call by setting `isOverride` to true during configuration. In that case Kakao will not only stop invoking remaining interceptors in the chain, **but will not perform the Espresso call**. It means that in such case, the responsibility to actually invoke Espresso lies on the shoulders of the developer. Here's the examples of intercepting configurations: ```Kotlin class SomeTest { @Before fun setup() { Kakao { // Kakao runtime intercept { onViewInteraction { // Intercepting calls on ViewInteraction classes across whole runtime onPerform { interaction, action -> // Intercept perform() call Log.d("KAKAO", "$interaction is performing $action") } } } } } @Test fun test() { onScreen<MyScreen> { intercept { onViewInteraction { // Intercepting calls on ViewInteraction classes while in the context of MyScreen onCheck { interaction, assertion -> // Intercept check() call Log.d("KAKAO", "$interaction is checking $assertion") } } } myView { intercept { // Intercepting ViewInteraction calls on this individual view onPerform(true) { interaction, action -> // Intercept perform() call and overriding the chain // When performing actions on this view, Kakao level interceptor will not be called // and we have to manually call Espresso now. Log.d("KAKAO_VIEW", "$interaction is performing $action") interaction.perform(action) } } } } } } ``` For more detailed info please refer to the documentation. ### Setup Following archived versions are available in maven central: - 2.4.0 - 2.3.4 - 2.2.0 - 2.1.0 - 2.1.0-support - 1.4.0-androidx Maven ```xml <dependency> <groupId>com.agoda.kakao</groupId> <artifactId>kakao</artifactId> <version><latest version></version> <type>pom</type> </dependency> ``` or Gradle: ```groovy repositories { jcenter() } dependencies { androidTestImplementation 'com.agoda.kakao:kakao:<latest version>' } ``` ### AndroidX Default artifact starting from `2.0.0` includes AndroidX libraries to build upon. If you're still using old support libraries, please use `2.X.X-support` artifact. ``` dependencies { androidTestImplementation 'com.agoda.kakao:kakao:2.1.0-support' } ``` **IMPORTANT:** We stopped the development for the `-support` artifact and version `2.1.0-support` is the latest version available with usage of support libraries. Please consider migrating to AndroidX. ### Contribution Policy **Kakao** is an open source project, and depends on its users to improve it. We are more than happy to find you interested in taking the project forward. Kindly refer to the [Contribution Guidelines](https://github.com/agoda-com/kakao/blob/master/CONTRIBUTING.md) for detailed information. ### Code of Conduct Please refer to [Code of Conduct](https://github.com/agoda-com/Kakao/blob/master/CODE_OF_CONDUCT.md) document. ### License Kakao is open source and available under the [Apache License, Version 2.0](https://github.com/agoda-com/Kakao/blob/master/LICENSE). ### Thanks to * [Unlimity](https://github.com/Unlimity) - **Ilya Lim** * [Vacxe](https://github.com/Vacxe) - **Konstantin Aksenov** * [Сdsap](https://github.com/cdsap) - **Inaki Villar** * [VerachadW](https://github.com/VerachadW) - **Verachad Wongsawangtham** * [JuDrummer](https://github.com/judrummer) - **Tipatai Puthanukunkit**
3,102
Yet Another Validation for Java (A lambda based type safe validation framework)
## YAVI (*Y*et *A*nother *V*al*I*dation) [![Apache 2.0](https://img.shields.io/github/license/making/yavi.svg)](https://www.apache.org/licenses/LICENSE-2.0) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/am.ik.yavi/yavi/badge.svg)](https://maven-badges.herokuapp.com/maven-central/am.ik.yavi/yavi) [![Javadocs](https://www.javadoc.io/badge/am.ik.yavi/yavi.svg)](https://www.javadoc.io/doc/am.ik.yavi/yavi) [![Actions Status](https://github.com/making/yavi/workflows/CI/badge.svg)](https://github.com/making/yavi/actions) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/4232a408001840e994e707ff6a7d4e04)](https://app.codacy.com/manual/making/yavi?utm_source=github.com&utm_medium=referral&utm_content=making/yavi&utm_campaign=Badge_Grade_Dashboard) [![Codacy Badge](https://api.codacy.com/project/badge/Coverage/8ae26f1168ad479ebea8f1f6e6329ac5)](https://www.codacy.com/manual/making/yavi?utm_source=github.com&utm_medium=referral&utm_content=making/yavi&utm_campaign=Badge_Coverage) ![YAVI Logo](https://user-images.githubusercontent.com/106908/120071055-66770380-c0c8-11eb-83f1-d7eff04bad54.png) YAVI (pronounced jɑ-vάɪ) is a lambda based type safe validation for Java. ### Why YAVI? YAVI sounds as same as a Japanese slang "YABAI (ヤバイ)" that means awesome or awful depending on the context (like "Crazy"). If you use YAVI, you will surely understand that it means the former. The concepts are * No reflection! * No (runtime) annotation! * Not only Java Beans! * Zero dependency! If you are not a fan of [Bean Validation](https://beanvalidation.org/), YAVI will be an awesome alternative. YAVI has the following features: * Type-safe constraints, unsupported constraints cannot be applied to the wrong type * Fluent and intuitive API * Constraints on any object. Java Beans, [Records](https://openjdk.java.net/jeps/395), [Protocol Buffers](https://developers.google.com/protocol-buffers), [Immutables](https://immutables.github.io/) and anything else. * Lots of powerful built-in constraints * Easy custom constraints * Validation for groups, conditional validation * Validation for arguments before creating an object * Support for API and combination of validation results and validators that incorporate the concept of functional programming See [the reference documentation](https://yavi.ik.am) for details. ### Presentations * 2021-07-01 YAVIの紹介 (Japanese) [[Deck](https://docs.google.com/presentation/d/1aw5cXqTxvMbBvTUU4TiF2oTUkG8orDujA5IRQGtIDiw/edit#slide=id.p)] [[Recording](https://www.youtube.com/watch?v=o0-u6QSBlv8)] ### Getting Started > This content is derived from https://hibernate.org/validator/documentation/getting-started/ Welcome to YAVI. The following paragraphs will guide you through the initial steps required to integrate YAVI into your application. #### Prerequisites * [Java Runtime](http://www.oracle.com/technetwork/java/index.html) >= 8 * [Apache Maven](http://maven.apache.org/) #### Project set up In order to use YAVI within a Maven project, simply add the following dependency to your `pom.xml`: ```xml <dependency> <groupId>am.ik.yavi</groupId> <artifactId>yavi</artifactId> <version>0.12.0</version> </dependency> ``` This tutorial uses JUnit 5 and AssertJ. Add the following dependencies as needed: ```xml <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>5.9.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>3.23.1</version> <scope>test</scope> </dependency> ``` #### Applying constraints Let’s dive into an example to see how to apply constraints: Create `src/main/java/com/example/Car.java` and write the following code. ```java package com.example; import am.ik.yavi.builder.ValidatorBuilder; import am.ik.yavi.core.Validator; public class Car { private final String manufacturer; private final String licensePlate; private final int seatCount; public static final Validator<Car> validator = ValidatorBuilder.<Car>of() .constraint(Car::getManufacturer, "manufacturer", c -> c.notNull()) .constraint(Car::getLicensePlate, "licensePlate", c -> c.notNull().greaterThanOrEqual(2).lessThanOrEqual(14)) .constraint(Car::getSeatCount, "seatCount", c -> c.greaterThanOrEqual(2)) .build(); public Car(String manufacturer, String licencePlate, int seatCount) { this.manufacturer = manufacturer; this.licensePlate = licencePlate; this.seatCount = seatCount; } public String getManufacturer() { return manufacturer; } public String getLicensePlate() { return licensePlate; } public int getSeatCount() { return seatCount; } } ``` The `ValidatorBuilder.constraint` is used to declare the constraints which should be applied to the return values of getter for the `Car` instance: * `manufacturer` must never be null * `licensePlate` must never be null and must be between 2 and 14 characters long * `seatCount` must be at least 2 > You can find [the complete source code](https://github.com/making/gs-yavi) on GitHub. #### Validating constraints To perform a validation of these constraints, you use a `Validator` instance. To demonstrate this, let’s have a look at a simple unit test: Create `src/test/java/com/example/CarTest.java` and write the following code. ```java package com.example; import am.ik.yavi.core.ConstraintViolations; import org.junit.jupiter.api.Test; import static org.assertj.core.api.Assertions.assertThat; class CarTest { @Test void manufacturerIsNull() { final Car car = new Car(null, "DD-AB-123", 4); final ConstraintViolations violations = Car.validator.validate(car); assertThat(violations.isValid()).isFalse(); assertThat(violations).hasSize(1); assertThat(violations.get(0).message()).isEqualTo("\"manufacturer\" must not be null"); } @Test void licensePlateTooShort() { final Car car = new Car("Morris", "D", 4); final ConstraintViolations violations = Car.validator.validate(car); assertThat(violations.isValid()).isFalse(); assertThat(violations).hasSize(1); assertThat(violations.get(0).message()).isEqualTo("The size of \"licensePlate\" must be greater than or equal to 2. The given size is 1"); } @Test void seatCountTooLow() { final Car car = new Car("Morris", "DD-AB-123", 1); final ConstraintViolations violations = Car.validator.validate(car); assertThat(violations.isValid()).isFalse(); assertThat(violations).hasSize(1); assertThat(violations.get(0).message()).isEqualTo("\"seatCount\" must be greater than or equal to 2"); } @Test void carIsValid() { final Car car = new Car("Morris", "DD-AB-123", 2); final ConstraintViolations violations = Car.validator.validate(car); assertThat(violations.isValid()).isTrue(); assertThat(violations).hasSize(0); } } ``` `Validator` instances are thread-safe and may be reused multiple times. The `validate()` method returns a `ConstraintViolations` instance, which you can iterate in order to see which validation errors occurred. The first three test methods show some expected constraint violations: * The `notNull()` constraint on `manufacturer` is violated in `manufacturerIsNull()` * The `greaterThanOrEqual(int)` constraint on `licensePlate` is violated in `licensePlateTooShort()` * The `greaterThanOrEqual(int)` constraint on `seatCount` is violated in `seatCountTooLow()` If the object validates successfully, `validate()` returns an empty `ConstraintViolations` as you can see in `carIsValid()`. You can also check if the validation was successful with the `ConstraintViolations.isValid` method. #### Where to go next? That concludes the 5 minutes tour through the world of YAVI. If you want a more complete introduction, it is recommended to read "[Using YAVI](https://yavi.ik.am/#using-yavi)" in the reference document. ### Required * Java 8+ ### License Licensed under the Apache License, Version 2.0.
3,103
Automatically track websites changes on Android in background.
<p align="center"><img src="logo/1024px.png" alt="ChangeDetection" height="200px"></p> Change Detection =================================== This app tracks changes on websites you otherwise would visit frequently to see if there is something new. Use cases: * Teacher says grades will be published "soon", but no one knows what "soon" means and you are tired of reloading. * You are working with a server and wants to know the result from a request, periodically. * You are waiting for updates on an Exam, like if something was postponed or updated. * You want to monitor the Dagger documentation to see when Thermosiphon's explanation improves. This app also showcases **all** the Android Architecture Components working together: [Room](https://developer.android.com/topic/libraries/architecture/room.html), [ViewModels](https://developer.android.com/reference/android/arch/lifecycle/ViewModel.html), [LiveData](https://developer.android.com/reference/android/arch/lifecycle/LiveData.html), [Paging](https://developer.android.com/topic/libraries/architecture/paging/), [WorkManager](https://developer.android.com/topic/libraries/architecture/workmanager) and [Navigation](https://developer.android.com/topic/libraries/architecture/navigation/). [<img src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png" alt="Get it on Google Play" height="80">](https://play.google.com/store/apps/details?id=com.bernaferrari.changedetection) [<img src="https://f-droid.org/badge/get-it-on.png" alt="Get it on F-Droid" height="80">](https://f-droid.org/packages/com.bernaferrari.changedetection/) ![GIF](/.github/assets/card_gif.gif?raw=true) ## Screenshots | Main Screen | Text Diff | PDF Diff | Settings | |:-:|:-:|:-:|:-:| | ![First](/.github/assets/main_screen.jpg?raw=true) | ![Sec](/.github/assets/diff_view_html.jpg?raw=true) | ![Third](/.github/assets/diff_view_pdf.jpg?raw=true) | ![Fourth](/.github/assets/settings.jpg?raw=true) | Introduction ------------ ### Features This app contains the following screens: * A list of websites that are currently being tracked. * A text details view, that allows the user to compare the current website version with previous versions. * An image details view, that allows the user to compare images in a carousel. * A pdf details view, that allows the user to compare pdfs in a carousel, similar to the images. * A settings view, that allows user to toggle auto-sync on/off and configure what is required for a sync to occur. * An about screen, with contact information. #### Presentation layer This app is a Single-Activity app, with the following components: * A main activity that handles navigation. * A fragment to display the list of websites currently tracked. * A fragment to display the history of changes from the selected website, when changes are not an image or a pdf. * A fragment to display the history of changes from images in a carousel format. * A fragment to display the history of changes from pdfs in a carousel format. The app uses a Model-View-ViewModel (MVVM) architecture for the presentation layer. Each of the fragments corresponds to a MVVM View. The View and ViewModel communicate using LiveData and general good principles. #### Data layer The database is created using Room and it has two entities: a `Site` and a `Snap` that generate corresponding SQLite tables at runtime. There is a one to many relationshiop between them. The id from `Site` is a foreign key on `Snap`. Snap only contains the snapshot metadata, all the data retrieved from the http request (body response) is stored in Android's own File storage. To let other components know when the data has finished populating, the `ViewModel` exposes a `LiveData` object via callbacks using interfaces (inspired from [this todo app](https://github.com/googlesamples/android-architecture/tree/dev-todo-mvvm-live)). This could be, eventually, easily extended to work with server and sync. The app also makes use of Kotlin's Coroutines to deal with some callbacks. #### Simple comparison process The app works like this: 1. Make http request and store the body response in a byteArray. 2. Retrieve most recent stored file for that site, if any. 3. Convert to string, clean up Jsoup and compare them. If same, don't do anything else. If different, add the new byteArray to storage and create a new entry on Snap table. When this happens in background, a notification is created to warn the user. | Inside the App | Outside the App | |:-:|:-:| | ![inside](/.github/assets/notification_inside.jpg?raw=true) | ![outside](/.github/assets/notification_outside.jpg?raw=true) | #### Diff Process for text files After a change is detected and user taps to see it, a byte to byte comparision wouldn't be readable, so it makes sense to make a text comparison. That's why this app makes extensive use from [java-diff-utils](https://github.com/wumpz/java-diff-utils). In fact, part of the library was converted to Kotlin and is now working perfectly on Java 6 (the original library makes use of Streams, which is only supported on Java 8). All the diff process is made using Myer's diff algorithm, and the result, for performance reasons, is put on a RecyclerView. When this diff process happens, the app will use [jsoup](https://jsoup.org) with a [relaxed whitelist](https://jsoup.org/apidocs/org/jsoup/safety/Whitelist.html#relaxed--) to remove all the useless tags from html to avoid pages that generate them at every request. Example: pages that make use of Google Analytics and pages that were made in WordPress. The app will also use jsoup to unescape "<" and ">" from html. #### Diff Process for image and pdf files It makes no sense to compare images and visual files using strings, so there is a carousel to compare them. PDF's are rendered to an imageView, while images are rendered with support for tiling, which is great for ultra-heavy pictures - in case user is tracking changes for a 20mb photo. #### How each Architecture Component is used * Navigation: this is a single activity app. All fragment transactions (except one) are made using Navigation library. * WorkManager: responsible for automatically syncing when the app is in background. There are four constraints: *battery not low*, *device on idle state* (API 23+), *device charging* and *wifi on*. Wifi is currently not a constraint from WorkManager, so I implemented it myself to work together. * Paging: on details fragment. As time goes, it is possible for a website to receive hundreds of updates. To avoid OOM error once and for all, Paging was implemented. When visualizing PDF/Image changes (the carousel view), paging is implemented on the carousel, so that it doesn't loads all Files into memory at once. * LiveData/ViewModel: written above. * Room: written above. #### Third Party Libraries Used * [Android-Iconics][1] deal with icons without suffering. * [Architecture Components][2] all of them, as stated above. * [Groupie][3] for making RecyclerViews as simple as possible. * [java-diff-utils][4] generate the difference between two strings. * [Logger][5] logs that are useful and disabled on release. * [material-about-library][6] create an about page without suffering. * [Material Dialogs][7] show dialogs in a simple and easy way. * [Notify][8] create notifications without effort. * [ok-http][9] fetch the webpages. * [Stetho][10] debug the database easily. * [ThreeTenABP][11] for dealing with time in a Java 8 way. * [timeago][12] makes it easy display relative dates (i.e. 1 day ago). * [RxJava][13] responsible for coordinating the reload button animation and updating the text on main screen cards periodically. * [jsoup][14] cleaning up html files. * [Dagger 2][15] dependency injection for sharedPreferences with application Context, provides singleton database instances. * [Alerter][16] show beautiful notifications when some site was updated while the user is browsing the main fragment. [1]: https://github.com/mikepenz/Android-Iconics [2]: https://developer.android.com/topic/libraries/architecture/ [3]: https://github.com/lisawray/groupie [4]: https://github.com/wumpz/java-diff-utils [5]: https://github.com/orhanobut/logger [6]: https://github.com/daniel-stoneuk/material-about-library [7]: https://github.com/afollestad/material-dialogs [8]: https://github.com/Karn/notify [9]: https://github.com/square/okhttp [10]: http://facebook.github.io/stetho/ [11]: https://github.com/JakeWharton/ThreeTenABP [12]: https://github.com/marlonlom/timeago [13]: https://github.com/ReactiveX/RxJava [14]: https://jsoup.org [15]: https://github.com/google/dagger [16]: https://github.com/Tapadoo/Alerter ### Reporting Issues Issues and Pull Requests are welcome. You can report [here](https://github.com/bernaferrari/ChangeDetection/issues). License ------- Copyright 2018 Bernardo Ferrari. Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
3,104
📝 A curated list of awesome Jetpack Compose libraries, projects, articles and resources
![Jetpack Compose](./images/logo.png) 📝 A curated list of awesome JetpackCompose libraries, projects, articles and resources. **See also:** [Android Developer Reference](https://github.com/ImangazalievM/android-developer-reference) ## Contents - [News/Updates](#-newsupdates) - [Official documentation](#docs) - [Articles](#articles) - [Getting started](#getting-started) - [Styling](#styling) - [Navigation](#navigation) - [Animations](#animations) - [Interop](#interop) - [Migration](#migration) - [Tools](#tools) - [Libraries](#libraries) - [App Projects](#app-projects) - [Compose Desktop Projects](#compose-desktop-projects) - [Videos](#videos) - [Extras](#extras) ## 🔥 News/Updates * 07 Dec 2022 - [Compose for Wear OS 1.1 is now stable: check out new features!](https://android-developers.googleblog.com/2022/12/compose-for-wear-os-11-stable.html) * 11 May 2022 - [Announcing Compose for Wear OS Beta!](https://android-developers.googleblog.com/2022/05/announcing-compose-for-wear-os-beta.html) * 15 January 2022 - [ConstraintLayout for Compose 1.0.0 Released](https://github.com/androidx/constraintlayout/wiki/What's-New-in-1.0-(Compose)) * 4 August, 2021 - [Compose Multiplatform in Alpha](https://blog.jetbrains.com/kotlin/2021/08/compose-multiplatform-goes-alpha/) * 28 July, 2021 - Jetpack Compose 1.0 Released! ## Docs * [Jetpack Compose](https://developer.android.com/jetpack/compose) * [Jetpack Compose Codelabs](https://developer.android.com/codelabs/jetpack-compose-basics) * [Jetpack Compose Roadmap](https://developer.android.com/jetpack/androidx/compose-roadmap) * [Jetpack Compose Release Notes](https://developer.android.com/jetpack/androidx/releases/ui) * [ComposeCookBook](https://github.com/Gurupreet/ComposeCookBook) * [Compose Academy](https://compose.academy) - Jetpack Compose Reference * [Jetpack Compose App](https://jetpackcompose.app/) - Comparison of existing UI widgets and Jetpack Compose * [API Guidelines for Jetpack Compose](https://github.com/androidx/androidx/blob/androidx-main/compose/docs/compose-api-guidelines.md) * [Book: Jetpack Compose internals](https://leanpub.com/composeinternals) * [Jetpack Compose Collection](https://developersbreach.com/compose/) * [Android Basics with Compose Course](https://developer.android.com/courses/android-basics-compose/course) * [Compose performance Doc](https://developer.android.com/jetpack/compose/performance) ## Tools * [recompose](https://github.com/pocmo/recompose) - A tool for converting Android layouts in XML to Kotlin code using Jetpack Compose. * [Jetpack Compose Playground](https://foso.github.io/Jetpack-Compose-Playground/) * [Shot](https://github.com/Karumi/Shot) - Jetpack Compose screenshot testing tool * [Radiography](https://developer.squareup.com/blog/introducing-radiography) - UI structure printer * [Showkase](https://github.com/airbnb/Showkase) - Helps you organize, discover, search and visualize Jetpack Compose UI elements * [Jetpack Compose Twitter Bot](https://twitter.com/ComposeBot) - A Twitter Bot to get all updates about Jetpack Compose in your feed ## Articles - [Diving into Jetpack Compose](https://engineering.q42.nl/android-jetpack-compose/) - [Android Jetpack Compose Review](https://blog.karumi.com/android-jetpack-compose-review) - [Understanding Jetpack Compose — part 1 of 2](https://medium.com/androiddevelopers/understanding-jetpack-compose-part-1-of-2-ca316fe39050) - [Under the hood of Jetpack Compose — part 2 of 2](https://medium.com/androiddevelopers/under-the-hood-of-jetpack-compose-part-2-of-2-37b2c20c6cdd) - [Code Simple Android Jetpack Compose Drawing App](https://levelup.gitconnected.com/code-simple-android-jetpack-compose-drawing-app-886d1146ad20) - [Android Jetpack Compose: Remember Made Easy](https://medium.com/mobile-app-development-publication/android-jetpack-compose-remember-made-easy-8bd86a48536c) - [Jetpack Compose Effect Handlers](https://jorgecastillo.dev/jetpack-compose-effect-handlers) - [Introduction to the Compose Snapshot system](https://dev.to/zachklipp/introduction-to-the-compose-snapshot-system-19cn) - [The Story of My First A-ha Moment With Jetpack Compose](https://proandroiddev.com/the-story-of-my-first-a-ha-moment-with-jetpack-compose-c739bceb6b0b) - [remember { mutableStateOf() } – A cheat sheet](https://dev.to/zachklipp/remember-mutablestateof-a-cheat-sheet-10ma) - [Inside Jetpack Compose](https://medium.com/@takahirom/inside-jetpack-compose-2e971675e55e) - [What is “donut-hole skipping” in Jetpack Compose?](https://www.jetpackcompose.app/articles/donut-hole-skipping-in-jetpack-compose) - [Supporting different screen sizes on Android with Jetpack Compose](https://proandroiddev.com/supporting-different-screen-sizes-on-android-with-jetpack-compose-f215c13081bd) - [Cartographing Jetpack Compose: compiler and runtime](https://dev.to/tkuenneth/cartographing-jetpack-compose-compiler-and-runtime-1605) - [Focus in Jetpack Compose](https://medium.com/google-developer-experts/focus-in-jetpack-compose-6584252257fe) - [Browsing Jetpack Compose samples](https://dev.to/antonshilov/browsing-jetpack-compose-samples-32m6) - [Jetpack compose — Dependency injection with Dagger/HILT](https://blog.canopas.com/jetpack-compose-dependency-injection-with-dagger-hilt-9578be3cc1d0) - [Jetpack Compose: MVVM State management in a simple way](https://blog.canopas.com/jetpack-compose-mvvm-state-management-in-a-simple-way-4c632fa6f554) - [Comparing Jetpack Compose performance with XML](https://medium.com/okcredit/comparing-jetpack-compose-performance-with-xml-9462a1282c6b) ### Getting started - [Jetpack Compose Tutorial for Android: Getting Started](https://www.raywenderlich.com/15361077-jetpack-compose-tutorial-for-android-getting-started) - [Migration to compose](https://proandroiddev.com/migration-to-compose-c6eb63f187f9) - [Helping You Understand The Syntax of Jetpack Compose](https://oussamahaff.dev/posts/03_understanding_jetpack_compose_syntax) - [Scoped recomposition in Jetpack Compose — what happens when state changes?](https://dev.to/zachklipp/scoped-recomposition-jetpack-compose-what-happens-when-state-changes-l78) - [Things you need to know before switching to Jetpack Compose](https://maxkim.eu/things-you-need-to-know-before-switching-to-jetpack-compose) - [Roadmap for Jetpack Compose](https://victorbrandalise.com/roadmap-for-jetpack-compose/) - [7 things you should know before using Jetpack Compose](https://www.bloco.io/blog/7-things-about-compose) ### Modifiers - [List of Compose modifiers](https://developer.android.com/jetpack/compose/modifiers-list) - [Always provide a Modifier parameter](https://chris.banes.dev/always-provide-a-modifier/) - [Lessons learned when migrating my app to Jetpack Compose](https://proandroiddev.com/lessons-learned-when-migrating-my-app-to-jetpack-compose-55ea1b05b988) ### Styling - [Building a Design System implementation using Jetpack Compose — Part1 (Theme)](https://howiezuo.medium.com/building-a-design-system-implementation-using-jetpack-compose-part1-bc1de068a56d) - [Building a Design System implementation using Jetpack Compose — Part2 (Component)](https://howiezuo.medium.com/building-a-design-system-implementation-using-jetpack-compose-part2-d965880292b0) - [How to create realistic UI with Jetpack Compose(Part II)](https://medium.com/mindful-engineering/how-to-create-simple-ui-with-jetpack-compose-part-ii-1c14148b7ffe) - [Jetpack Compose: Styles and Themes (Part II)](https://www.waseefakhtar.com/android/jetpack-compose-styles-and-themes/) - [Create a truly custom theme in Jetpack Compose](https://dmytroshuba.com/blog/how-to-create-a-custom-theme-in-jetpack-compose/) - [How to create a truly custom theme in Jetpack Compose](https://dmytroshuba.com/blog/how-to-create-a-custom-theme-in-jetpack-compose) - [Jetpack Compose: Theme and Typography](https://alexzh.com/jetpack-compose-theme-and-typography/) ### Navigation **Libraries** - [Modo](https://github.com/terrakok/Modo) - Navigation library based on UDF principles - [compose-navigation-reimagined](https://github.com/olshevski/compose-navigation-reimagined) - A small and simple, yet fully fledged and customizable navigation library for Jetpack Compose - [compose-destinations](https://github.com/raamcosta/compose-destinations) - Annotation processing library for type-safe Jetpack Compose navigation with no boilerplate. - [compose-router](https://github.com/zsoltk/compose-router) - Routing functionality for Jetpack Compose with back stack - [Appyx](https://github.com/bumble-tech/appyx) - Model-driven navigation for Jetpack Compose **Articles** - [Android Jetpack Compose: Navigation](https://proandroiddev.com/android-jetpack-compose-navigation-1cdfc488b891) - [Jetpack Compose: Navigation](https://www.rockandnull.com/jetpack-compose-navigation/) - [Passing multi typed data between screens with Jetpack Compose navigation component](https://proandroiddev.com/passing-multi-typed-data-between-screens-with-jetpack-compose-navigation-component-39ccbcf901ff) - [Passing string typed data with Jetpack Compose navigation component](https://proandroiddev.com/passing-string-typed-data-with-jetpack-compose-navigation-component-fd4759acd906) - [Jetpack Compose: Navigating to a Detail View (Part III)](https://www.waseefakhtar.com/android/jetpack-compose-navigating-to-a-detail-view/) - [Handling back presses in Jetpack Compose](https://dev.to/pawegio/handling-back-presses-in-jetpack-compose-50d5) - [Nested Navigation Graphs in Jetpack Compose](https://hitherejoe.medium.com/nested-navigation-graphs-in-jetpack-compose-dc0ada1d4726) - [Passing Parcelable / Serializable and Other Data in Jetpack Compose Navigation](https://wajahatkarim.com/2021/03/pass-parcelable-compose-navigation/) ### UI Components - [Implement Bottom Bar Navigation in Jetpack Compose](https://proandroiddev.com/implement-bottom-bar-navigation-in-jetpack-compose-b530b1cd9ee2) ### Lists/RecyclerView - [Jetpack Compose: An easy way to RecyclerView (Part I)](https://www.waseefakhtar.com/android/recyclerview-in-jetpack-compose/) - [Learn with code: Jetpack Compose — Lists and Pagination (Part 1)](https://proandroiddev.com/learn-with-code-jetpack-compose-lists-and-pagination-part-1-545447c55cb2) - [Expandable lists in Jetpack Compose](https://skyyo.medium.com/expandable-lists-in-jetpack-compose-b0b78c767b4) - [StaggeredVerticalGrid of Android Jetpack Compose](https://medium.com/mobile-app-development-publication/staggeredverticalgrid-of-android-jetpack-compose-fa565e5363e1) - [RecyclerView and LazyColumnFor in Jetpack Compose](https://medium.com/mobile-app-development-publication/recyclerview-and-lazycolumnfor-in-jetpack-compose-a7842cd7f17e) - [List animations in Compose: Add an item](https://developersbreach.com/add-item-animation-compose/) - [List animations in Compose: Swipe to delete](https://developersbreach.com/swipe-to-delete-compose/) - [List animations in Compose: Drag to reorder](https://developersbreach.com/drag-to-reorder-compose/) - [Jetpack Compose: Building Grids](https://alexzh.com/jetpack-compose-building-grids/) - [How to master Swipeable and NestedScroll modifiers in Jetpack Compose](https://proandroiddev.com/how-to-master-swipeable-and-nestedscroll-modifiers-in-compose-bb0635d6a760) - [Basic Drag-n-Drop in Jetpack Compose](https://proandroiddev.com/basic-drag-n-drop-in-jetpack-compose-a6919ba58ba8) - [Infinite LazyColumn in Jetpack Compose](https://dev.to/luismierez/infinite-lazycolumn-in-jetpack-compose-44a4) ### Animations/Transitions - [Intro to animations with Jetpack Compose](https://proandroiddev.com/rotating-pokeball-animation-with-jetpack-compose-e3e839782cba) - [Jetpack Compose Animations Tutorial: Getting Started](https://www.raywenderlich.com/13282144-jetpack-compose-animations-tutorial-getting-started) - [Building an exploding FAB transition with Jetpack Compose](https://joebirch.co/android/building-an-exploding-fab-transition-in-jetpack-compose/) - [How to animate BottomSheet content using Jetpack Compose](https://proandroiddev.com/how-to-animate-bottomsheet-content-using-jetpack-compose-3eab972b3bdc) - [Creating a rotating card in Jetpack Compose](https://fvilarino.medium.com/creating-a-rotating-card-in-jetpack-compose-ba94c7dd76fb) - [Animate with Jetpack Compose: Animate as State and Animation Specs](https://proandroiddev.com/animate-with-jetpack-compose-animate-as-state-and-animation-specs-ffc708bb45f8) - [Android Jetpack Compose: Animation Spec Made Easy](https://medium.com/mobile-app-development-publication/android-jetpack-compose-animation-spec-made-easy-6e7990aef203) - [Jetpack Compose — Reveal effect](https://dev.to/bmonjoie/jetpack-compose-reveal-effect-1fao) - [Animations in Jetpack Compose with examples](https://blog.canopas.com/animations-in-jetpack-compose-with-examples-48307ba9dff1) - [Intro showcase view in Jetpack Compose — Android](https://blog.canopas.com/intro-showcase-view-in-jetpack-compose-ac044cd3bf28) ### Interop - [Jetpack Compose Interop Part 1](https://proandroiddev.com/jetpack-compose-interop-part-1-using-traditional-views-and-layouts-in-compose-with-androidview-b6f1b1c3eb1) - [Jetpack Compose Interop Part 2](https://proandroiddev.com/jetpack-compose-interop-part-2-using-compose-in-traditional-android-views-and-layouts-with-a3c50fc2eaa5) - [Jetpack Compose View & Android View Comparison](https://medium.com/mobile-app-development-publication/jetpack-compose-view-android-view-comparison-52005ac64b8c) - [Adopting Jetpack Compose with Interop API](https://blog.yudiz.com/adopting-jetpack-compose-with-interop-api/) ### Migration - [Getting our apps ready for Jetpack Compose](https://joebirch.co/android/getting-our-apps-ready-for-jetpack-compose) - [Jetpack Compose migration course](https://developer.android.com/courses/pathways/compose) ### Architecture - [Jetpack Compose navigation architecture with ViewModels](https://medium.com/@Syex/jetpack-compose-navigation-architecture-with-viewmodels-1de467f19e1c) - [ViewModels using Compose: MutableStateFlows or MutableStates?](https://proandroiddev.com/viewmodels-using-compose-mutablestateflows-or-mutablestates-64d34ba548c5) - [Better handling states between ViewModel and Composable](https://proandroiddev.com/better-handling-states-between-viewmodel-and-composable-7ca14af379cb) - [Dagger 2 and Jetpack Compose Integration](https://proandroiddev.com/dagger-2-and-jetpack-compose-integration-8a8d424ffdb4) ### Dependency Injection - [Koin for Compose proposal (Jetpack and Multiplatform)](https://medium.com/koin-developers/cokoin-injection-library-for-compose-jetpack-and-multiplatform-b041b36cac42) ### Side-Effects - [Jetpack Compose Side-Effects — LaunchedEffect](https://proandroiddev.com/jetpack-compose-side-effects-launchedeffect-59d2330d7834) - [Jetpack Compose Side-Effects II — rememberCoroutineScope](https://proandroiddev.com/jetpack-compose-side-effects-ii-remembercoroutinescope-76104d7ff09) - [Jetpack Compose Side-Effects III— rememberUpdatedState](https://proandroiddev.com/jetpack-compose-side-effects-iii-rememberupdatedstate-c8df7b90a01d) ### Custom Composables - [Custom Weekly Schedule Layout with Jetpack Compose - Part 1](https://danielrampelt.com/blog/jetpack-compose-custom-schedule-layout-part-1) - [Custom Weekly Schedule Layout with Jetpack Compose - Part 2](https://danielrampelt.com/blog/jetpack-compose-custom-schedule-layout-part-2) ### Canvas - [Using shapes in Jetpack Compose](https://dev.to/tkuenneth/using-shapes-in-jetpack-compose-3ggb?utm_source=dormosheio&utm_campaign=dormosheio) - [Drawing and painting in Jetpack Compose #1](https://dev.to/tkuenneth/drawing-and-painting-in-jetpack-compose-1-2okl) - [Emoji Slider in Jetpack Compose using Canvas API](https://theandroidway.hashnode.dev/emoji-slider-in-jetpack-compose-using-canvas-api) ### Exploring JetPack Compose - [Getting our apps ready for JetPack Compose](https://joebirch.co/android/getting-our-apps-ready-for-jetpack-compose) - [Modifiers](https://joebirch.co/android/exploring-jetpack-compose-modifiers/) - [Container](https://joebirch.co/android/exploring-jetpack-compose-container/) - [Text](https://joebirch.co/android/exploring-jetpack-compose-text/) - [Button](https://joebirch.co/android/exploring-jetpack-compose-button/) - [Switch](https://joebirch.co/android/exploring-jetpack-compose-switch/) - [Stack](https://joebirch.co/android/exploring-jetpack-compose-stack) - [Border](https://joebirch.co/android/exploring-jetpack-compose-border) - [Row & Column](https://joebirch.co/android/exploring-jetpack-compose-row-column/) - [Column](https://joebirch.co/android/exploring-jetpack-compose-column) - [Padding modifier](https://joebirch.co/android/exporing-jetpack-compose-padding-modifier) - [Arrangement](https://joebirch.co/android/exploring-jetpack-compose-arrangement) - [Radio Group](https://joebirch.co/android/exploring-jetpack-compose-radio-group) - [Radio Button](https://joebirch.co/android/exploring-jetpack-compose-radio-button/) - [Card](https://joebirch.co/android/exploring-jetpack-compose-card) - [Snackbar](https://joebirch.co/android/exploring-jetpack-compose-snackbar/) - [`@Preview` annotation](https://joebirch.co/android/exploring-jetpack-compose-preview-annotation) - [Android View](https://joebirch.co/android/exploring-jetpack-compose-android-view) - [Floating Action Button](https://joebirch.co/android/exploring-jetpack-compose-floating-action-button/) - [Modal Drawer Layout](https://joebirch.co/android/exploring-jetpack-compose-modal-drawer-layout/) - [TopAppBar](https://joebirch.co/android/exploring-jetpack-compose-topappbar/) ### Additional - [Supporting different screen sizes on Android with Jetpack Compose](https://proandroiddev.com/supporting-different-screen-sizes-on-android-with-jetpack-compose-f215c13081bd) - [Measuring Render Performance with Jetpack Compose](https://engineering.premise.com/measuring-render-performance-with-jetpack-compose-c0bf5814933) - [Understanding re-composition in Jetpack Compose with a case study](https://proandroiddev.com/understanding-re-composition-in-jetpack-compose-with-a-case-study-9e7d96d98095) - [Jetpack Compose: Preview](https://alexzh.com/jetpack-compose-preview) ### Cross-platform - [Fully cross-platform Kotlin applications (almost)](https://proandroiddev.com/fully-cross-platform-kotlin-applications-almost-29c7054f8f28) ### Testings - [KakaoCup/Compose](https://github.com/KakaoCup/Compose) - [Testing your Compose layout](https://developer.android.com/jetpack/compose/testing) - [How to test Jetpack Compose UI](https://dmytroshuba.com/blog/jetpack-compose-ui-testing/) ## Libraries - [accompanist](https://github.com/chrisbanes/accompanist) - A collection of extension libraries for Jetpack Compose - [Landscapist](https://github.com/skydoves/Landscapist) - image loading uding Glide, Coil, Fresco - [compose-icons](https://github.com/DevSrSouza/compose-icons) - Open Source icon packs for Jetpack Compose including Font Awesome, Simple Icons, Feather and more. - [compose-backstack](https://github.com/zach-klippenstein/compose-backstack) - Simple composable for rendering transitions between backstacks. - [lyricist](https://github.com/adrielcafe/lyricist) - The missing I18N/L10N (internationalization/localization) library for Jetpack Compose! - [compose-markdown](https://github.com/jeziellago/compose-markdown) - Markdown Text for Android Jetpack Compose - [snapper](https://github.com/chrisbanes/snapper) - A snapping fling behavior for Jetpack Compose ### UI - [neumorphic-compose](https://github.com/CuriousNikhil/neumorphic-compose) - Neumorphism UI with Jetpack Compose. Just add simple `neumorphic()` modifier. - [compose-richtext](https://github.com/zach-klippenstein/compose-richtext) - A collection of Compose libraries for advanced text formatting. - [compose-ratingbar](https://github.com/a914-gowtham/compose-ratingbar) - Ratingbar for Jetpack Compose. - [tehras/charts](https://github.com/tehras/charts) - simple Android compose charts. - [info-bar-compose](https://github.com/radusalagean/info-bar-compose) - Display Snackbar-style messages, the easy way. - [shimmer](https://github.com/ValeryPonomarenko/compose-shimmer) - Shimmer effect - [compose-sliders](https://github.com/krottv/compose-sliders) - Custom Sliders (previously known as SeekBar) for jetpack compose - [Dark-Toggle-Button-Sample-Jetpack-Compose](https://github.com/lcdsmao/Dark-Toggle-Button-Sample-Jetpack-Compose) (**+50** ⭐) - Animated dark mode toggle button with Jetpack Compose. - [Collection of UIs and Animations built with Jetpack Compose for Android](https://github.com/prafullmishra/JetComposer) - Collection of UIs and Animations built with Jetpack Compose for Android - [Konfetti](https://github.com/DanielMartinus/Konfetti) - Easily celebrate little and big moments in your app with this lightweight confetti particle system 🎊 - [heart-switch](https://github.com/popovanton0/heart-switch) - ❤️ A heart-shaped toggle switch component for Jetpack Compose - [ProgressButton](https://github.com/SimformSolutionsPvtLtd/SSJetPackComposeProgressButton) - SSJetPackComposeProgressButton is an elegant button with a different loading animations which makes your app attractive. - [SwipeAbleViews](https://github.com/SimformSolutionsPvtLtd/SSJetpackComposeSwipeableView) - SSJetpackComposeSwipeableView is a small library which provides support for the swipeable views. You can use this in your lazyColumns or can add a simple view which contains swipe to edit/delete functionality. - [Dropdown](https://github.com/AndroidPoet/Dropdown) - A Powerful and customizable Jetpack Compose dropdown menu with cascade and animations - 🆕[](#02-08-22) [FloatingActionButton SpeedDial](https://github.com/leinardi/FloatingActionButtonSpeedDial) - [ComposeCalendar](https://github.com/boguszpawlowski/ComposeCalendar) - A Jetpack Compose library for handling calendar component rendering. - [WheelPickerCompose](https://github.com/commandiron/WheelPickerCompose) - Wheel Date & Time Picker for Jetpack Compose. ### Navigation - [compose-router](https://github.com/zsoltk/compose-router) - Routing functionality for Jetpack Compose with back stack [voyager](https://github.com/adrielcafe/voyager) - A pragmatic navigation library for Jetpack Compose - [multinavcompose](https://github.com/jeziellago/multinavcompose) - Android multi-module navigation built on top of Jetpack Navigation Compose - [compose-backstack](https://github.com/zach-klippenstein/compose-backstack) - Simple composable for rendering transitions between backstacks. ## <a name="app-projects"></a> App Projects - [Jetpack Compose Samples](https://github.com/android/compose-samples) (**+10.5K** ⭐) - Official repository with samples by Google - [sunflower](https://github.com/android/sunflower/tree/compose) (**+15.3K** ⭐) - Sample app by Google - [Learn-Jetpack-Compose-By-Example](https://github.com/vinaygaba/Learn-Jetpack-Compose-By-Example) (**+2.1K** ⭐) - [Jetpack Compose Playground](https://github.com/Foso/Jetpack-Compose-Playground) (**+1.9K** ⭐) - [ComposeAcademy-Playground](https://github.com/hitherejoe/ComposeAcademy-Playground) (**+791** ⭐) - [JetInstagram](https://github.com/vipulasri/JetInstagram) (**+499** ⭐) - Instagram clone app built with Jetpack Compose - [JetpackComposeCalculator](https://github.com/ahmedrizwan/JetpackComposeCalculator) (**+272** ⭐) - [flux](https://github.com/fidloo/flux) (**+335** ⭐) - A fake weather app - [JetQuotes](https://github.com/Spikeysanju/JetQuotes) (**+363** ⭐) - A Quotes Application - [android-2048-compose](https://github.com/alexjlockwood/android-2048-compose) (**+255** ⭐) - 2048 implemented using Jetpack Compose - [DinoCompose](https://github.com/wajahatkarim3/DinoCompose) (**+198** ⭐) - Chrome's Dino T-Rex game developed in Jetpack Compose - [JetExample](https://github.com/gastsail/JetExample) (**+192** ⭐) - Jetpack Compose UI components examples - [Wiggles](https://github.com/Spikeysanju/Wiggles) (**+256** ⭐) - Beautiful Puppy adoption app with Jetpack Compose - [Facebook-Timeline-Compose-Android](https://github.com/ahmed7official/Facebook-Timeline-Compose-Android) (**+119** ⭐) - [compose-schedule-calendar](https://github.com/halilozercan/compose-schedule-calendar) (**+142** ⭐) - Demo app for a horizontal schedule(event) calendar - [jetpuppy](https://github.com/ericktijerou/jetpuppy) (**+55** ⭐) - Jetpuppy is a puppy adoption app using Jetpack Compose UI. - [Cheddar](https://github.com/adrianblancode/Cheddar) (**+70** ⭐) - Hacker News reader - [jetpack-compose-samples](https://github.com/RajashekarRaju/jetpack-compose-samples) (**+18** ⭐) - Repository with collection of many compose samples. - [jettimer](https://github.com/ericktijerou/jettimer) (**+26** ⭐) - Timer app clone built with Jetpack Compose and Hilt - [Rebound](https://github.com/AnkitSuda/Rebound) (**+7** ⭐) - Highly customizable and feature rich workout log app. - [Intro Showcase View](https://github.com/canopas/Intro-showcase-view) (**+15** ⭐) - An android library to highlight different features of the app built using Jetpack Compose. - [Jetpack-compose-animations-examples](https://github.com/canopas/Jetpack-compose-animations-examples) (**+4** ⭐) - Cool animations implemented with Jetpack Compose. - [ComposeCookbook](https://github.com/SimformSolutionsPvtLtd/SSComposeCookBook) (**+139** ⭐) - A Collection of major Jetpack compose UI components which are commonly used. ## Compose Desktop Projects - [Compose JB](https://github.com/JetBrains/compose-jb) - Jetpack Compose for Desktop and Web - [ComposeSlackDesktop](https://github.com/vipulasri/ComposeSlackDesktop) - A Slack demo app for desktop using Jetpack Compose ## Other projects - [ComposeClock](https://github.com/adibfara/ComposeClock) ## <a name="videos"></a> 📺 Videos - [Leland Richardson's channel about Compose](https://www.youtube.com/c/LelandRichardsonDev/videos) - [Compose by example](https://youtu.be/DDd6IOlH3io) - [Thinking in Compose](https://youtu.be/SMOhl9RK0BA) - [Compose for existing apps](https://youtu.be/PjQdFmiDgwk) - [What's new in Compose Design Tools](https://youtu.be/exjL2kGPngI) ## Extras - [Jetpack-Compose-Playground](https://github.com/Foso/Jetpack-Compose-Playground) - Community-driven collection of Jetpack Compose example code and tutorials 🚀 - [Compose Modifiers Playground](https://plugins.jetbrains.com/plugin/16417-compose-modifiers-playground) ## Find this repository useful? ❤️ Support it by joining stargazers for this repository. ⭐
3,105
krangl is a {K}otlin DSL for data w{rangl}ing
# krangl [ ![Download](https://img.shields.io/badge/Maven%20Central-0.18.4-orange) ](https://mvnrepository.com/artifact/com.github.holgerbrandl/krangl) [![Build Status](https://github.com/holgerbrandl/krangl/workflows/build/badge.svg)](https://github.com/holgerbrandl/krangl/actions?query=workflow%3Abuild) [![Gitter](https://badges.gitter.im/holgerbrandl/krangl.svg)](https://gitter.im/holgerbrandl/krangl?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) > ## `krangl` is no longer developed. It was a wonderful experiement, but has been superceeded with the more complete, more usable and more modern https://github.com/Kotlin/dataframe. `krangl` is a {K}otlin library for data w{rangl}ing. By implementing a grammar of data manipulation using a modern functional-style API, it allows to filter, transform, aggregate and reshape tabular data. `krangl` is heavily inspired by the amazing [`dplyr`](https://github.com/hadley/dplyr) for [R](https://www.r-project.org/). `krangl` is written in [Kotlin](https://kotlinlang.org/), excels in Kotlin, but emphasizes as well on good java-interop. It is mimicking the API of `dplyr`, while carefully adding more typed constructs where possible. [TOC levels=2,2]: # " " - [Installation](#installation) - [Features](#features) - [Examples](#examples) - [Documentation](#documentation) - [How to contribute?](#how-to-contribute) If you're not sure about how to proceed, check out [krangl in 10 minutes](http://holgerbrandl.github.io/krangl/10_minutes/) section in the **[krangl user guide](http://holgerbrandl.github.io/krangl/)**. Installation ------------ To get started simply add it as a dependency to your `build.gradle`: ```groovy repositories { mavenCentral() } dependencies { implementation "com.github.holgerbrandl:krangl:0.18.4" } ``` Declaring the repository is purely optional as it is the default already. You can also use [JitPack with Maven or Gradle](https://jitpack.io/#holgerbrandl/krangl) to build the latest snapshot as a dependency in your project. ```groovy repositories { maven { url 'https://jitpack.io' } } dependencies { implementation 'com.github.holgerbrandl:krangl:-SNAPSHOT' } ``` To build and install it into your local maven cache, simply clone the repo and run ```bash ./gradlew install ``` Features -------- * Filter, transform, aggregate and reshape tabular data * Modern, user-friendly and easy-to-learn data-science API * Reads from plain and compressed tsv, csv, json, or any delimited format with or without header from local or remote * Supports grouped operations * Ships with JDBC support * Tables can contain atomic columns (int, double, boolean) as well as object columns * Reshape tables from wide to long and back * Table joins (left, right, semi, inner, outer) * Cross tabulation * Descriptive statistics (mean, min, max, median, ...) * Functional API inspired by [dplyr](http://dplyr.tidyverse.org/), [pandas](http://pandas.pydata.org/), and Kotlin [stdlib](https://kotlinlang.org/api/latest/jvm/stdlib/index.html) * many more... `krangl` is _just_ about data wrangling. For data visualization we recommend [`kravis`](https://github.com/holgerbrandl/kravis) which seamlessly integrates with krangl and implements a grammar to build a wide variety of plots. Examples -------- ```kotlin // Read data-frame from disk val iris = DataFrame.readTSV("data/iris.txt") // Create data-frame in memory val df: DataFrame = dataFrameOf( "first_name", "last_name", "age", "weight")( "Max", "Doe", 23, 55, "Franz", "Smith", 23, 88, "Horst", "Keanes", 12, 82 ) // Or from csv // val otherDF = DataFrame.readCSV("path/to/file") // Print rows df // with implict string conversion using default options df.print(colNames = false) // with custom printing options // Print structure df.schema() // Add columns with mutate // by adding constant values as new column df.addColumn("salary_category") { 3 } // by doing basic column arithmetics df.addColumn("age_3y_later") { it["age"] + 3 } // Note: krangl dataframes are immutable so we need to (re)assign results to preserve changes. val newDF = df.addColumn("full_name") { it["first_name"] + " " + it["last_name"] } // Also feel free to mix types here since krangl overloads arithmetic operators like + for dataframe-columns df.addColumn("user_id") { it["last_name"] + "_id" + rowNumber } // Create new attributes with string operations like matching, splitting or extraction. df.addColumn("with_anz") { it["first_name"].asStrings().map { it!!.contains("anz") } } // Note: krangl is using 'null' as missing value, and provides convenience methods to process non-NA bits df.addColumn("first_name_initial") { it["first_name"].map<String>{ it.first() } } // or add multiple columns at once df.addColumns( "age_plus3" to { it["age"] + 3 }, "initials" to { it["first_name"].map<String> { it.first() } concat it["last_name"].map<String> { it.first() } } ) // Sort your data with sortedBy df.sortedBy("age") // and add secondary sorting attributes as varargs df.sortedBy("age", "weight") df.sortedByDescending("age") df.sortedBy { it["weight"].asInts() } // Subset columns with select df.select2 { it is IntCol } // functional style column selection df.select("last_name", "weight") // positive selection df.remove("weight", "age") // negative selection df.select({ endsWith("name") }) // selector mini-language // Subset rows with vectorized filter df.filter { it["age"] eq 23 } df.filter { it["weight"] gt 50 } df.filter({ it["last_name"].isMatching { startsWith("Do") }}) // In case vectorized operations are not possible or available we can also filter tables by row // which allows for scalar operators df.filterByRow { it["age"] as Int > 5 } df.filterByRow { (it["age"] as Int).rem(10) == 0 } // round birthdays :-) // Summarize // do simple cross tabulations df.count("age", "last_name") // ... or calculate single summary statistic df.summarize("mean_age" to { it["age"].mean(true) }) // ... or multiple summary statistics df.summarize( "min_age" to { it["age"].min() }, "max_age" to { it["age"].max() } ) // for sake of r and python adoptability you can also use `=` here df.summarize( "min_age" `=` { it["age"].min() }, "max_age" `=` { it["age"].max() } ) // Grouped operations val groupedDf: DataFrame = df.groupBy("age") // or provide multiple grouping attributes with varargs val sumDF = groupedDf.summarize( "mean_weight" to { it["weight"].mean(removeNA = true) }, "num_persons" to { nrow } ) // Optionally ungroup the data sumDF.ungroup().print() // generate object bindings for kotlin. // Unfortunately the syntax is a bit odd since we can not access the variable name by reflection sumDF.printDataClassSchema("Person") // This will generate and print the following conversion code: data class Person(val age: Int, val mean_weight: Double, val num_persons: Int) val records = sumDF.rows.map { row -> Person(row["age"] as Int, row["mean_weight"] as Double, row["num_persons"] as Int) } // Now we can use the krangl result table in a strongly typed way records.first().mean_weight // Vice versa we can also convert an existing set of objects into val recordsDF = records.asDataFrame() recordsDF.print() // to populate a data-frame with selected properties only, we can do val deparsedDF = records.deparseRecords { mapOf("age" to it.age, "weight" to it.mean_weight) } ``` Documentation ------------- `krangl` is not yet mature, full of bugs and its API is in constant flux. Nevertheless, feel welcome to submit pull-requests or tickets, or simply get in touch via gitter (see button on top). * [Krangl User Guide](http://holgerbrandl.github.io/krangl) for detailed information about the API and usage examples. * [API Docs](http://holgerbrandl.github.io/krangl/javadoc/krangl/) for detailed information about the API including manu usage examples * TBD `krangl` Cheat Sheet Another great [introduction into data-science with kotlin](https://blog.jetbrains.com/kotlin/2019/12/making-kotlin-ready-for-data-science/) was presented at 2019's [KotlinConf](https://kotlinconf.com/) by Roman Belov from [JetBrains](https://www.jetbrains.com/). How to contribute? ------------------ Feel welcome to post ideas, suggestions and criticism to our [tracker](https://github.com/holgerbrandl/krangl/issues). We always welcome pull requests. :-) You could also show your spiritual support by upvoting `krangl` here on github. Also see * [Developer Information](./docs/devel.md) with technical notes & details about to build, test, release and improve `krangl` * [Roadmap](./docs/roadmap.md) complementing the tracker with a backlog Also, there are a few issues in the IDE itself which limit the applicability/usability of `krangl`, So, you may want to vote for * [KT-24789](https://youtrack.jetbrains.net/issue/KT-24789) "Unresolved reference" when running a script which is a symlink to a script outside of source roots * [KT-12583](https://youtrack.jetbrains.com/issue/KT-12583) IDE REPL should run in project root directory * [KT-11409](https://youtrack.jetbrains.com/issue/KT-11409) Allow to "Send Selection To Kotlin Console" * [KT-13319](https://youtrack.jetbrains.net/issue/KT-13319) Support ":paste" for pasting multi-line expressions in REPL * [KT-21224](https://youtrack.jetbrains.net/issue/KT-21224) REPL output is not aligned with input
3,106
:books: 免费的计算机编程类中文书籍,欢迎投稿
免费的编程中文书籍索引 ============================ [![](https://img.shields.io/github/issues/justjavac/free-programming-books-zh_CN.svg)](https://github.com/justjavac/free-programming-books-zh_CN/issues) [![](https://img.shields.io/github/forks/justjavac/free-programming-books-zh_CN.svg)](https://github.com/justjavac/free-programming-books-zh_CN/network) [![](https://img.shields.io/github/stars/justjavac/free-programming-books-zh_CN.svg)](https://github.com/justjavac/free-programming-books-zh_CN/stargazers) [![](https://travis-ci.org/justjavac/free-programming-books-zh_CN.svg?branch=master)](https://travis-ci.org/justjavac/free-programming-books-zh_CN) [![](https://img.shields.io/github/release/justjavac/free-programming-books-zh_CN.svg)](https://github.com/justjavac/free-programming-books-zh_CN/releases) 免费的编程中文书籍索引,欢迎投稿。 - 国外程序员在 [stackoverflow](http://stackoverflow.com/questions/1711/what-is-the-single-most-influential-book-every-programmer-should-read/1713%231713) 推荐的程序员必读书籍,[中文版](http://justjavac.com/other/2012/05/15/qualified-programmer-should-read-what-books.html "一个合格的程序员应该读过哪些书")。 - [stackoverflow](http://stackoverflow.com/questions/38210/what-non-programming-books-should-programmers-read) 上的程序员应该阅读的非编程类书籍有哪些? [中文版](what-non-programming-books-should-programmers-read.md) - [github](https://github.com/vhf/free-programming-books) 上的一个流行的编程书籍索引 [中文版](https://github.com/vhf/free-programming-books/blob/master/free-programming-books-zh.md) 如果这个仓库对你有帮助,欢迎 star。如果这个仓库帮你提升了技能找到了工作,可以请我喝杯咖啡: <p align="center"><img src="https://dl.deno.js.cn/buy-me-a-coffee-wechat.png" width="320" height="320" alt="" /></p> ## 参与交流 欢迎大家将珍藏已久的经典免费书籍共享出来,您可以: * 使用 [Pull Request](https://github.com/justjavac/free-programming-books-zh_CN/pulls) 提交 如果你发现了不能访问的链接,也可以提 PR,在无法访问链接的后面增加 `:worried:`。 贡献者名单: https://github.com/justjavac/free-programming-books-zh_CN/graphs/contributors ## 目录 * 语言无关类 * [操作系统](#操作系统) * [智能系统](#智能系统) * [分布式系统](#分布式系统) * [编译原理](#编译原理) * [函数式概念](#函数式概念) * [计算机图形学](#计算机图形学) * [WEB服务器](#web服务器) * [版本控制](#版本控制) * [编辑器](#编辑器) * [NoSQL](#nosql) * [PostgreSQL](#postgresql) * [MySQL](#mysql) * [管理和监控](#管理和监控) * [项目相关](#项目相关) * [设计模式](#设计模式) * [Web](#web) * [大数据](#大数据) * [编程艺术](#编程艺术) * [游戏引擎](#游戏引擎) * [算法](#算法) * [其它](#其它) * 语言相关类 * [Android](#android) * [APP](#app) * [AWK](#awk) * [C/C++](#cc) * [C#](#c) * [Clojure](#clojure) * [CSS/HTML](#csshtml) * [Dart](#dart) * [Elixir](#elixir) * [Erlang](#erlang) * [Fortran](#fortran) * [Go](#go) * [Groovy](#groovy) * [Haskell](#haskell) * [iOS](#ios) * [Java](#java) * [JavaScript](#javascript) * [Kotlin](#kotlin) * [LaTeX](#latex) * [LISP](#lisp) * [Lua](#lua) * [OCaml](#OCaml) * [Perl](#perl) * [PHP](#php) * [Prolog](#prolog) * [Python](#python) * [R](#r) * [Ruby](#ruby) * [Rust](#rust) * [Scala](#scala) * [Shell](#shell) * [Swift](#swift) * [读书笔记及其它](#读书笔记及其它) * [测试相关](#测试相关) ## 置顶 - [[笔记]前端工程师的入门与进阶](https://shenbao.github.io/2017/04/22/justjavac-live/) :100: - [[全文]如何正确的学习 Node.js](https://github.com/i5ting/How-to-learn-node-correctly) :100: ## 操作系统 * [开源世界旅行手册](http://i.linuxtoy.org/docs/guide/index.html) * [鸟哥的Linux私房菜](http://linux.vbird.org/) * [The Linux Command Line](http://billie66.github.io/TLCL/index.html) (中英文版) * [Linux 设备驱动](http://oss.org.cn/kernel-book/ldd3/index.html) (第三版):worried: * [深入分析Linux内核源码](http://www.kerneltravel.net/kernel-book/%E6%B7%B1%E5%85%A5%E5%88%86%E6%9E%90Linux%E5%86%85%E6%A0%B8%E6%BA%90%E7%A0%81.html) :worried: * [UNIX TOOLBOX](http://cb.vu/unixtoolbox_zh_CN.xhtml) * [Docker中文指南](https://github.com/widuu/chinese_docker) * [Docker —— 从入门到实践](https://github.com/yeasy/docker_practice) * [Docker入门实战](http://yuedu.baidu.com/ebook/d817967416fc700abb68fca1) * [Docker Cheat Sheet](https://github.com/wsargent/docker-cheat-sheet/tree/master/zh-cn#docker-cheat-sheet) * [FreeRADIUS新手入门](http://freeradius.akagi201.org) :worried: * [Mac 开发配置手册](https://aaaaaashu.gitbooks.io/mac-dev-setup/content/) * [FreeBSD 使用手册](https://www.freebsd.org/doc/zh_CN/books/handbook/index.html) * [Linux 命令行(中文版)](http://billie66.github.io/TLCL/book/) * [Linux 构建指南](http://works.jinbuguo.com/lfs/lfs62/index.html) * [Linux工具快速教程](https://github.com/me115/linuxtools_rst) * [Linux Documentation (中文版)](https://www.gitbook.com/book/tinylab/linux-doc/details) * [嵌入式 Linux 知识库 (eLinux.org 中文版)](https://www.gitbook.com/book/tinylab/elinux/details) * [理解Linux进程](https://github.com/tobegit3hub/understand_linux_process) * [命令行的艺术](https://github.com/jlevy/the-art-of-command-line/blob/master/README-zh.md) * [SystemTap新手指南](https://spacewander.gitbooks.io/systemtapbeginnersguide_zh/content/index.html) * [操作系统思考](https://github.com/wizardforcel/think-os-zh) [返回目录](#目录) ## 智能系统 * [一步步搭建物联网系统](https://github.com/phodal/designiot) [返回目录](#目录) ## 分布式系统 * [走向分布式](http://dcaoyuan.github.io/papers/pdfs/Scalability.pdf) [返回目录](#目录) ## 编译原理 * [《计算机程序的结构和解释》公开课 翻译项目](https://github.com/DeathKing/Learning-SICP) [返回目录](#目录) ## 函数式概念 * [傻瓜函数编程](https://github.com/justinyhuang/Functional-Programming-For-The-Rest-of-Us-Cn) [返回目录](#目录) ## 计算机图形学 * [OpenGL 教程](https://github.com/zilongshanren/opengl-tutorials) * [WebGL自学网](http://html5.iii.org.tw/course/webgl/) :worried: * [《Real-Time Rendering 3rd》提炼总结](https://github.com/QianMo/Real-Time-Rendering-3rd-Summary-Ebook) [返回目录](#目录) ## WEB服务器 * [Nginx开发从入门到精通](http://tengine.taobao.org/book/index.html) (淘宝团队出品) * [Nginx教程从入门到精通](http://www.ttlsa.com/nginx/nginx-stu-pdf/)(PDF版本,运维生存时间出品) * [OpenResty最佳实践](https://www.gitbook.com/book/moonbingbing/openresty-best-practices/details) * [Apache 中文手册](http://works.jinbuguo.com/apache/menu22/index.html) [返回目录](#目录) ## 版本控制 * [Learn Git - complete book in Chinese](https://www.git-tower.com/learn/git/ebook/cn/command-line/) * [Git Cheat Sheet](https://www.git-tower.com/blog/git-cheat-sheet-cn) * [Git教程](http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000) (本文由 [廖雪峰](http://www.liaoxuefeng.com) 创作,如果觉得本教程对您有帮助,可以去 [iTunes](https://itunes.apple.com/cn/app/git-jiao-cheng/id876420437) 购买) * [git - 简易指南](http://rogerdudler.github.io/git-guide/index.zh.html) * [猴子都能懂的GIT入门](http://backlogtool.com/git-guide/cn/) * [Git 参考手册](http://gitref.justjavac.com) * [Pro Git](http://git-scm.com/book/zh/v2) * [Pro Git 中文版](https://www.gitbook.com/book/0532/progit/details) (整理在gitbook上) * [Git Magic](http://www-cs-students.stanford.edu/~blynn/gitmagic/intl/zh_cn/) * [GotGitHub](http://www.worldhello.net/gotgithub/index.html) * [Git权威指南](http://www.worldhello.net/gotgit/) * [Git Community Book 中文版](http://gitbook.liuhui998.com/index.html) * [Mercurial 使用教程](https://www.mercurial-scm.org/wiki/ChineseTutorial) * [HgInit (中文版)](http://bucunzai.net/hginit/) * [沉浸式学 Git](http://igit.linuxtoy.org) * [Git-Cheat-Sheet](https://github.com/flyhigher139/Git-Cheat-Sheet) (感谢 @flyhigher139 翻译了中文版) * [GitHub秘籍](https://snowdream86.gitbooks.io/github-cheat-sheet/content/zh/index.html) * [GitHub帮助文档](https://github.com/waylau/github-help) * [git-flow 备忘清单](http://danielkummer.github.io/git-flow-cheatsheet/index.zh_CN.html) * [svn 手册](http://svnbook.red-bean.com/nightly/zh/index.html) * [GitHub漫游指南](https://github.com/phodal/github-roam) [返回目录](#目录) ## 编辑器 * [exvim--vim 改良成IDE项目](http://exvim.github.io/docs-zh/intro/) * [笨方法学Vimscript 中译本](http://learnvimscriptthehardway.onefloweroneworld.com/) :worried: * [Vim中文文档](https://github.com/vimcn/vimcdoc) * [21天学会Emacs](http://book.emacs-china.org/) * [一年成为Emacs高手 (像神一样使用编辑器)](https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/master/guide-zh.org) * [所需即所获:像 IDE 一样使用 vim](https://github.com/yangyangwithgnu/use_vim_as_ide) * [vim 实操教程](https://github.com/dofy/learn-vim) * [Atom飞行手册中文版](https://github.com/wizardforcel/atom-flight-manual-zh-cn) * [Markdown·简单的世界](https://github.com/wizardforcel/markdown-simple-world) * [一年成为 Emacs 高手](https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/master/guide-zh.org) * [Emacs 生存指南](http://lifegoo.pluskid.org/upload/blog/152/Survive.in.Emacs.pdf) * [Atom官方手册](https://atom-china.org/t/atom/62) [返回目录](#目录) ## NoSQL * [NoSQL数据库笔谈](http://old.sebug.net/paper/databases/nosql/Nosql.html) * [Redis 设计与实现](http://redisbook.com/) * [Redis 命令参考](http://redisdoc.com/) * [带有详细注释的 Redis 3.0 代码](https://github.com/huangz1990/redis-3.0-annotated) * [带有详细注释的 Redis 2.6 代码](https://github.com/huangz1990/annotated_redis_source) * [The Little MongoDB Book](https://github.com/justinyhuang/the-little-mongodb-book-cn/blob/master/mongodb.md) * [The Little Redis Book](https://github.com/JasonLai256/the-little-redis-book/blob/master/cn/redis.md) * [Neo4j 简体中文手册 v1.8](http://docs.neo4j.org.cn/) * [Neo4j .rb 中文資源](http://neo4j.tw/) * [Disque 使用教程](http://disquebook.com) * [Apache Spark 设计与实现](https://github.com/JerryLead/SparkInternals/tree/master/markdown) [返回目录](#目录) ## PostgreSQL * [PostgreSQL 8.2.3 中文文档](http://works.jinbuguo.com/postgresql/menu823/index.html) * [PostgreSQL 9.3.1 中文文档](http://www.postgres.cn/docs/9.3/index.html) * [PostgreSQL 9.5.3 中文文档](http://www.postgres.cn/docs/9.5/index.html) [返回目录](#目录) ## MySQL * [MySQL索引背后的数据结构及算法原理](http://blog.codinglabs.org/articles/theory-of-mysql-index.html) * [21分钟MySQL入门教程](http://www.cnblogs.com/mr-wid/archive/2013/05/09/3068229.html) [返回目录](#目录) ## 管理和监控 * [ELKstack 中文指南](http://kibana.logstash.es) * [Mastering Elasticsearch(中文版)](http://udn.yyuap.com/doc/mastering-elasticsearch/) * [ElasticSearch 权威指南](https://www.gitbook.com/book/fuxiaopang/learnelasticsearch/details) * [Elasticsearch 权威指南(中文版)](http://es.xiaoleilu.com) * [Logstash 最佳实践](https://github.com/chenryn/logstash-best-practice-cn) * [Puppet 2.7 Cookbook 中文版](http://bbs.konotes.org/workdoc/puppet-27/) [返回目录](#目录) ## 项目相关 * [持续集成(第二版)](http://article.yeeyan.org/view/2251/94882) (译言网) * [让开发自动化系列专栏](http://www.ibm.com/developerworks/cn/java/j-ap/) * [追求代码质量](http://www.ibm.com/developerworks/cn/java/j-cq/) * [selenium 中文文档](https://github.com/fool2fish/selenium-doc) * [Selenium Webdriver 简易教程](http://it-ebooks.flygon.net/selenium-simple-tutorial/) * [Joel谈软件](http://local.joelonsoftware.com/wiki/Chinese_\(Simplified\)) * [約耳談軟體(Joel on Software)](http://local.joelonsoftware.com/wiki/%E9%A6%96%E9%A0%81) * [Gradle 2 用户指南](https://github.com/waylau/Gradle-2-User-Guide) * [Gradle 中文使用文档](http://yuedu.baidu.com/ebook/f23af265998fcc22bcd10da2) * [编码规范](https://github.com/ecomfe/spec) * [开源软件架构](http://www.ituring.com.cn/book/1143) * [GNU make 指南](http://docs.huihoo.com/gnu/linux/gmake.html) * [GNU make 中文手册](http://www.yayu.org/book/gnu_make/) * [The Twelve-Factor App](http://12factor.net/zh_cn/) [返回目录](#目录) ## 设计模式 * [图说设计模式](https://github.com/me115/design_patterns) * [史上最全设计模式导学目录](http://blog.csdn.net/lovelion/article/details/17517213) * [design pattern 包教不包会](https://github.com/AlfredTheBest/Design-Pattern) * [设计模式 Java 版](https://quanke.gitbooks.io/design-pattern-java/content/) [返回目录](#目录) ## Web * [关于浏览器和网络的 20 项须知](http://www.20thingsilearned.com/zh-CN/home) * [浏览器开发工具的秘密](http://jinlong.github.io/2013/08/29/devtoolsecrets/) * [Chrome 开发者工具中文手册](https://github.com/CN-Chrome-DevTools/CN-Chrome-DevTools) * [Chrome扩展开发文档](http://open.chrome.360.cn/extension_dev/overview.html) * [Grunt中文文档](http://www.gruntjs.net/) * [gulp中文文档](http://www.gulpjs.com.cn/docs/) * [Gulp 入门指南](https://github.com/nimojs/gulp-book) * [移动Web前端知识库](https://github.com/AlloyTeam/Mars) * [正则表达式30分钟入门教程](http://deerchao.net/tutorials/regex/regex.htm) * [前端开发体系建设日记](https://github.com/fouber/blog/issues/2) * [移动前端开发收藏夹](https://github.com/hoosin/mobile-web-favorites) * [JSON风格指南](https://github.com/darcyliu/google-styleguide/blob/master/JSONStyleGuide.md) * [HTTP 接口设计指北](https://github.com/bolasblack/http-api-guide) * [前端资源分享(一)](https://github.com/hacke2/hacke2.github.io/issues/1) * [前端资源分享(二)](https://github.com/hacke2/hacke2.github.io/issues/3) * [前端代码规范 及 最佳实践](http://coderlmn.github.io/code-standards/) * [前端开发者手册](https://www.gitbook.com/book/dwqs/frontenddevhandbook/details) * [前端工程师手册](https://www.gitbook.com/book/leohxj/front-end-database/details) * [w3school教程整理](https://github.com/wizardforcel/w3school) * [Wireshark用户手册](http://man.lupaworld.com/content/network/wireshark/index.html) * [一站式学习Wireshark](https://community.emc.com/thread/194901) * [HTTP 下午茶](https://ccbikai.gitbooks.io/http-book/content/) * [HTTP/2.0 中文翻译](http://yuedu.baidu.com/ebook/478d1a62376baf1ffc4fad99?pn=1) * [RFC 7540 - HTTP/2 中文翻译版](https://github.com/abbshr/rfc7540-translation-zh_cn) * [http2讲解](https://www.gitbook.com/book/ye11ow/http2-explained/details) * [3 Web Designs in 3 Weeks](https://www.gitbook.com/book/juntao/3-web-designs-in-3-weeks/details) * [站点可靠性工程](https://github.com/hellorocky/Site-Reliability-Engineering) * [Web安全学习笔记](https://websec.readthedocs.io) * [Serverless 架构应用开发指南](https://github.com/phodal/serverless) [返回目录](#目录) ## 大数据 * [大数据/数据挖掘/推荐系统/机器学习相关资源](https://github.com/Flowerowl/Big-Data-Resources) * [面向程序员的数据挖掘指南](https://github.com/egrcc/guidetodatamining) * [大型集群上的快速和通用数据处理架构](https://code.csdn.net/CODE_Translation/spark_matei_phd) * [数据挖掘中经典的算法实现和详细的注释](https://github.com/linyiqun/DataMiningAlgorithm) * [Spark 编程指南简体中文版](https://aiyanbo.gitbooks.io/spark-programming-guide-zh-cn/content/) [返回目录](#目录) ## 编程艺术 * [程序员编程艺术](https://github.com/julycoding/The-Art-Of-Programming-by-July) * [每个程序员都应该了解的内存知识(译)](http://www.oschina.net/translate/what-every-programmer-should-know-about-memory-part1?print)【第一部分】 * [取悦的工序:如何理解游戏](http://read.douban.com/ebook/4972883/) (豆瓣阅读,免费书籍) [返回目录](#目录) ## 游戏引擎 * [游戏引擎 浅入浅出](https://github.com/ThisisGame/cpp-game-engine-book) [返回目录](#目录) ## 算法 * [labuladong 的算法小抄](https://github.com/labuladong/fucking-algorithm) [返回目录](#目录) ## 其它 * [OpenWrt智能、自动、透明翻墙路由器教程](https://www.gitbook.com/book/softwaredownload/openwrt-fanqiang/details) * [SAN 管理入门系列](https://community.emc.com/docs/DOC-16067) * [Sketch 中文手册](http://sketchcn.com/sketch-chinese-user-manual.html#introduce) * [深入理解并行编程](http://ifeve.com/perfbook/) * [程序员的自我修养](http://www.kancloud.cn/kancloud/a-programmer-prepares) * [Growth: 全栈增长工程师指南](https://github.com/phodal/growth-ebook) * [系统重构与迁移指南](https://github.com/phodal/migration) [返回目录](#目录) ## Android * [Android Design(中文版)](http://www.apkbus.com/design/index.html) * Google Material Design 正體中文版 ([译本一](https://wcc723.gitbooks.io/google_design_translate/content/style-icons.html) [译本二](https://github.com/1sters/material_design_zh)) * [Material Design 中文版](http://wiki.jikexueyuan.com/project/material-design/) * [Google Android官方培训课程中文版](http://hukai.me/android-training-course-in-chinese/index.html) * [Android学习之路](http://www.stormzhang.com/android/2014/07/07/learn-android-from-rookie/) * [Android开发技术前线(android-tech-frontier)](https://github.com/bboyfeiyu/android-tech-frontier) * [Point-of-Android](https://github.com/FX-Max/Point-of-Android) Android 一些重要知识点解析整理 * [Android6.0新特性详解](http://leanote.com/blog/post/561658f938f41126b2000298) [返回目录](#目录) ## APP * [Apache Cordova 开发指南](https://github.com/waylau/cordova-dev-guide) [返回目录](#目录) ## AWK * [awk程序设计语言](https://github.com/wuzhouhui/awk) * [awk中文指南](http://awk.readthedocs.org/en/latest/index.html) * [awk实战指南](https://book.saubcy.com/AwkInAction/) [返回目录](#目录) ## C/C++ * [C/C++ 中文参考手册](http://zh.cppreference.com/) (欢迎大家参与在线翻译和校对) * [C 语言编程透视](https://www.gitbook.com/book/tinylab/cbook/details) * [C++ 并发编程指南](https://github.com/forhappy/Cplusplus-Concurrency-In-Practice) * [Linux C编程一站式学习](http://akaedu.github.io/book/) (宋劲杉, 北京亚嵌教育研究中心) * [CGDB中文手册](https://github.com/leeyiw/cgdb-manual-in-chinese) * [100个gdb小技巧](https://github.com/hellogcc/100-gdb-tips/blob/master/src/index.md) * [100个gcc小技巧](https://github.com/hellogcc/100-gcc-tips/blob/master/src/index.md) * [ZMQ 指南](https://github.com/anjuke/zguide-cn) * [How to Think Like a Computer Scientist](http://www.ituring.com.cn/book/1203) (中英文版) * [跟我一起写 Makefile](https://github.com/seisman/how-to-write-makefile) * [GNU make中文手册](https://free-online-ebooks.appspot.com/tools/gnu-make-cn/) (需科学上网) ([PDF](https://hacker-yhj.github.io/resources/gun_make.pdf)) * [GNU make 指南](http://docs.huihoo.com/gnu/linux/gmake.html) * [Google C++ 风格指南](http://zh-google-styleguide.readthedocs.org/en/latest/google-cpp-styleguide/contents/) * [C/C++ Primer](https://github.com/andycai/cprimer) (by @andycai) * [简单易懂的C魔法](http://www.nowamagic.net/librarys/books/contents/c) * [C++ FAQ LITE(中文版)](http://www.sunistudio.com/cppfaq/) * [C++ Primer 5th Answers](https://github.com/Mooophy/Cpp-Primer) * [C++ 并发编程(基于C++11)](https://www.gitbook.com/book/chenxiaowei/cpp_concurrency_in_action/details) * [QT 教程](http://www.kuqin.com/qtdocument/tutorial.html) * [DevBean的《Qt学习之路2》(Qt5)](http://www.devbean.net/category/qt-study-road-2/) * [中文版《QmlBook》](https://github.com/cwc1987/QmlBook-In-Chinese) * [C++ Template 进阶指南](https://github.com/wuye9036/CppTemplateTutorial) * [libuv中文教程](https://github.com/luohaha/Chinese-uvbook) * [Boost 库中文教程](http://zh.highscore.de/cpp/boost/) * [笨办法学C](https://github.com/wizardforcel/lcthw-zh) * [高速上手 C++11/14/17](https://github.com/changkun/modern-cpp-tutorial) [返回目录](#目录) ## C&#35; * [Microsoft Docs C# 官方文档](https://docs.microsoft.com/zh-cn/dotnet/csharp/) * [ASP.NET MVC 5 入门指南](http://www.cnblogs.com/powertoolsteam/p/aspnetmvc5-tutorials-grapecity.html) * [超全面的 .NET GDI+ 图形图像编程教程](http://www.cnblogs.com/geeksss/p/4162318.html) * [.NET控件开发基础](https://github.com/JackWangCUMT/customcontrol) * [.NET开发要点精讲(初稿)](https://github.com/sherlockchou86/-free-ebook-.NET-) [返回目录](#目录) ## Clojure * [Clojure入门教程](https://wizardforcel.gitbooks.io/clojure-fpftj/) [返回目录](#目录) <h2 id="csshtml">CSS/HTML</h2> * [学习CSS布局](http://zh.learnlayout.com/) * [通用 CSS 笔记、建议与指导](https://github.com/chadluo/CSS-Guidelines/blob/master/README.md) * [CSS参考手册](http://css.doyoe.com/) * [Emmet 文档](http://yanxyz.github.io/emmet-docs/) * [前端代码规范](http://alloyteam.github.io/CodeGuide/) (腾讯 AlloyTeam 团队) * [HTML和CSS编码规范](http://codeguide.bootcss.com/) * [Sass Guidelines 中文](http://sass-guidelin.es/zh/) * [CSS3 Tutorial 《CSS3 教程》](https://github.com/waylau/css3-tutorial) * [MDN HTML 中文文档](https://developer.mozilla.org/zh-CN/docs/Web/HTML) * [MDN CSS 中文文档](https://developer.mozilla.org/zh-CN/docs/Web/CSS) [返回目录](#目录) ## Dart * [Dart 语言导览](http://dart.lidian.info/wiki/Language_Tour) [返回目录](#目录) ## Elixir * [Elixir编程入门](https://github.com/straightdave/programming_elixir) [返回目录](#目录) ## Erlang * [21天学通Erlang](http://xn--21erlang-p00o82pmp3o.github.io/) [返回目录](#目录) ## Fortran * [Fortran77和90/95编程入门](http://micro.ustc.edu.cn/Fortran/ZJDing/) [返回目录](#目录) ## Go * [Go编程基础](https://github.com/Unknwon/go-fundamental-programming) * [Go入门指南](https://github.com/Unknwon/the-way-to-go_ZH_CN) * [学习Go语言](http://mikespook.com/learning-go/) * [Go Web 编程](https://github.com/astaxie/build-web-application-with-golang) (此书已经出版,希望开发者们去购买,支持作者的创作) * [Go实战开发](https://github.com/astaxie/Go-in-Action) (当我收录此项目时,作者已经写完第三章,如果读完前面章节觉得有帮助,可以给作者[捐赠](https://me.alipay.com/astaxie),以鼓励作者的继续创作) * [Network programming with Go 中文翻译版本](https://github.com/astaxie/NPWG_zh) * [Effective Go](http://www.hellogcc.org/effective_go.html) * [Go 语言标准库](https://github.com/polaris1119/The-Golang-Standard-Library-by-Example) * [Golang标准库文档](http://godoc.ml/) * [Revel 框架手册](http://gorevel.cn/docs/manual/index.html) * [Java程序员的Golang入门指南](http://blog.csdn.net/dc_726/article/details/46565241) * [Go命令教程](https://github.com/hyper-carrot/go_command_tutorial) * [Go语言博客实践](https://github.com/achun/Go-Blog-In-Action) * [Go 官方文档翻译](https://github.com/golang-china/golangdoc.translations) * [深入解析Go](https://github.com/tiancaiamao/go-internals) * [Go语言圣经(中文版)](https://bitbucket.org/golang-china/gopl-zh/wiki/Home) ([GitBook](https://www.gitbook.com/book/wizardforcel/gopl-zh/details)) * [golang runtime源码分析](https://github.com/sheepbao/golang_runtime_reading) * [Go语言实战: 编写可维护Go语言代码建议](https://github.com/llitfkitfk/go-best-practice) * [Golang 系列教程(译)](https://github.com/Tinywan/golang-tutorial) * [Go RPC 开发指南](https://github.com/smallnest/go-rpc-programming-guide)[GitBook](https://smallnest.gitbooks.io/go-rpc-programming-guide/) * [Go语言高级编程](https://books.studygolang.com/advanced-go-programming-book/) * [Go2编程指南](https://chai2010.cn/go2-book/) * [Go语言设计模式](https://github.com/senghoo/golang-design-pattern) * [Go语言四十二章经](https://github.com/ffhelicopter/Go42) [返回目录](#目录) ## Groovy * [实战 Groovy 系列](http://www.ibm.com/developerworks/cn/java/j-pg/) [返回目录](#目录) ## Haskell * [Real World Haskell 中文版](http://rwh.readthedocs.org/en/latest/) * [Haskell趣学指南](https://learnyoua.haskell.sg/content/zh-cn/) [返回目录](#目录) ## iOS * [iOS开发60分钟入门](https://github.com/qinjx/30min_guides/blob/master/ios.md) * [iOS7人机界面指南](http://isux.tencent.com/ios-human-interface-guidelines-ui-design-basics-ios7.html) * [Google Objective-C Style Guide 中文版](http://zh-google-styleguide.readthedocs.org/en/latest/google-objc-styleguide/) * [iPhone 6 屏幕揭秘](http://wileam.com/iphone-6-screen-cn/) * [Apple Watch开发初探](http://nilsun.github.io/apple-watch/) * [马上着手开发 iOS 应用程序](https://developer.apple.com/library/ios/referencelibrary/GettingStarted/RoadMapiOSCh/index.html) * [网易斯坦福大学公开课:iOS 7应用开发字幕文件](https://github.com/jkyin/Subtitle) [返回目录](#目录) ## Java * [Apache Shiro 用户指南](https://github.com/waylau/apache-shiro-1.2.x-reference) * [Jersey 2.x 用户指南](https://github.com/waylau/Jersey-2.x-User-Guide) * [Spring Framework 4.x参考文档](https://github.com/waylau/spring-framework-4-reference) * [Spring Boot参考指南](https://github.com/qibaoguang/Spring-Boot-Reference-Guide) (翻译中) * [MyBatis中文文档](http://mybatis.org/mybatis-3/zh/index.html) * [MyBatis Generator 中文文档](http://mbg.cndocs.tk/) * [用jersey构建REST服务](https://github.com/waylau/RestDemo) * [Activiti 5.x 用户指南](https://github.com/waylau/activiti-5.x-user-guide) * [Google Java编程风格指南](https://hawstein.com/2014/01/20/google-java-style/) * [Netty 4.x 用户指南](https://github.com/waylau/netty-4-user-guide) * [Netty 实战(精髓)](https://github.com/waylau/essential-netty-in-action) * [REST 实战](https://github.com/waylau/rest-in-action) * [Java 编码规范](https://github.com/waylau/java-code-conventions) * [Apache MINA 2 用户指南](https://github.com/waylau/apache-mina-2.x-user-guide) * [H2 Database 教程](https://github.com/waylau/h2-database-doc) * [Java Servlet 3.1 规范](https://github.com/waylau/servlet-3.1-specification) * [JSSE 参考指南](https://github.com/waylau/jsse-reference-guide) * [Java开源实现及最佳实践](https://github.com/biezhi/jb) * [Java 编程要点](https://github.com/waylau/essential-java) * [Think Java](http://www.ituring.com.cn/minibook/69) * [Java 8 简明教程](https://github.com/wizardforcel/modern-java-zh) * [On Java 8 中文版](https://github.com/LingCoder/OnJava8) (翻译中) * [Effective Java 第3版中文版](https://github.com/sjsdfg/effective-java-3rd-chinese) [返回目录](#目录) ## JavaScript * [现代 Javascript 教程](https://zh.javascript.info/) * [Google JavaScript 代码风格指南](http://bq69.com/blog/articles/script/868/google-javascript-style-guide.html) * [Google JSON 风格指南](https://github.com/darcyliu/google-styleguide/blob/master/JSONStyleGuide.md) * [Airbnb JavaScript 规范](https://github.com/adamlu/javascript-style-guide) * [JavaScript 标准参考教程(alpha)](http://javascript.ruanyifeng.com/) * [Javascript编程指南](http://pij.robinqu.me/) ([源码](https://github.com/RobinQu/Programing-In-Javascript)) * [javascript 的 12 个怪癖](https://github.com/justjavac/12-javascript-quirks) * [JavaScript 秘密花园](http://bonsaiden.github.io/JavaScript-Garden/zh/) * [JavaScript核心概念及实践](http://icodeit.org/jsccp/) (PDF) (此书已由人民邮电出版社出版发行,但作者依然免费提供PDF版本,希望开发者们去购买,支持作者) * [《JavaScript 模式》](https://github.com/jayli/javascript-patterns) “JavaScript patterns”中译本 * [JavaScript语言精粹](https://github.com/qibaoguang/Study-Step-by-Step/blob/master/%E8%AF%BB%E4%B9%A6%E7%AC%94%E8%AE%B0/javascript_the_good_parts.md) * [命名函数表达式探秘](http://justjavac.com/named-function-expressions-demystified.html) (注:原文由[为之漫笔](http://www.cn-cuckoo.com)翻译,原始地址无法打开,所以此处地址为我博客上的备份) * [学用 JavaScript 设计模式](http://www.oschina.net/translate/learning-javascript-design-patterns) (开源中国) * [深入理解JavaScript系列](http://www.cnblogs.com/TomXu/archive/2011/12/15/2288411.html) * [ECMAScript 5.1 中文版](http://yanhaijing.com/es5) * [ECMAScript 6 入门](http://es6.ruanyifeng.com/) (作者:阮一峰) * [JavaScript Promise迷你书](http://liubin.github.io/promises-book/) * [You-Dont-Know-JS](https://github.com/getify/You-Dont-Know-JS) (深入JavaScript语言核心机制的系列图书) * [JavaScript 教程](http://www.liaoxuefeng.com/wiki/001434446689867b27157e896e74d51a89c25cc8b43bdb3000) 廖雪峰 * [MDN JavaScript 中文文档](https://developer.mozilla.org/zh-CN/docs/Web/JavaScript) * jQuery * [jQuery 解构](http://www.cn-cuckoo.com/deconstructed/jquery.html) * [简单易懂的JQuery魔法](http://www.nowamagic.net/librarys/books/contents/jquery) * [How to write jQuery plugin](http://i5ting.github.io/How-to-write-jQuery-plugin/build/jquery.plugin.html) * [You Don't Need jQuery](https://github.com/oneuijs/You-Dont-Need-jQuery/blob/master/README.zh-CN.md) * [如何实现一个类jQuery?](https://github.com/MeCKodo/forchange) * Node.js * [Node入门](http://www.nodebeginner.org/index-zh-cn.html) * [七天学会NodeJS](http://nqdeng.github.io/7-days-nodejs/) * [Nodejs Wiki Book](https://github.com/nodejs-tw/nodejs-wiki-book) (繁体中文) * [express.js 中文文档](http://expressjs.jser.us/) * [koa 中文文档](https://github.com/guo-yu/koa-guide) * [一起学koa](http://base-n.github.io/koa-generator-examples/) * [使用 Express + MongoDB 搭建多人博客](https://github.com/nswbmw/N-blog) * [Express框架](http://javascript.ruanyifeng.com/nodejs/express.html) * [Node.js 包教不包会](https://github.com/alsotang/node-lessons) * [Learn You The Node.js For Much Win! (中文版)](https://www.npmjs.com/package/learnyounode-zh-cn) * [Node debug 三法三例](http://i5ting.github.io/node-debug-tutorial/) * [nodejs中文文档](https://www.gitbook.com/book/0532/nodejs/details) * [orm2 中文文档](https://github.com/wizardforcel/orm2-doc-zh-cn) * [一起学 Node.js](https://github.com/nswbmw/N-blog) * [Node入门:一本全面的Node.js教程](https://www.nodebeginner.org/index-zh-cn.html) * [从零开始的Nodejs系列文章](http://blog.fens.me/series-nodejs/) * underscore.js * [Underscore.js中文文档](http://learningcn.com/underscore/) * backbone.js * [backbone.js中文文档](http://www.css88.com/doc/backbone/) * [backbone.js入门教程](http://www.the5fire.com/backbone-js-tutorials-pdf-download.html) (PDF) * [Backbone.js入门教程第二版](https://github.com/the5fire/backbonejs-learning-note) * [Developing Backbone.js Applications(中文版)](http://feliving.github.io/developing-backbone-applications/) * AngularJS * [AngularJS最佳实践和风格指南](https://github.com/mgechev/angularjs-style-guide/blob/master/README-zh-cn.md) * [AngularJS中译本](https://github.com/peiransun/angularjs-cn) * [AngularJS入门教程](https://github.com/zensh/AngularjsTutorial_cn) * [构建自己的AngularJS](https://github.com/xufei/Make-Your-Own-AngularJS/blob/master/01.md) * [在Windows环境下用Yeoman构建AngularJS项目](http://www.waylau.com/build-angularjs-app-with-yeoman-in-windows/) * Zepto.js * [Zepto.js 中文文档](http://mweb.baidu.com/zeptoapi/) * Sea.js * [Hello Sea.js](http://island205.github.io/HelloSea.js/) * React.js * [React 学习之道](https://github.com/the-road-to-learn-react/the-road-to-learn-react-chinese) * [React.js 小书](https://github.com/huzidaha/react-naive-book) * [React.js 中文文档](https://doc.react-china.org/) * [React webpack-cookbook](https://github.com/fakefish/react-webpack-cookbook) * [React 入门教程](http://fraserxu.me/intro-to-react/) * [React 入门教程](https://hulufei.gitbooks.io/react-tutorial/content/) (作者:hulufei, 与上行不同作者) * [React Native 中文文档(含最新Android内容)](http://wiki.jikexueyuan.com/project/react-native/) * [Learn React & Webpack by building the Hacker News front page](https://github.com/theJian/build-a-hn-front-page) * impress.js * [impress.js的中文教程](https://github.com/kokdemo/impress.js-tutorial-in-Chinese) * CoffeeScript * [CoffeeScript Cookbook](http://island205.com/coffeescript-cookbook.github.com/) * [The Little Book on CoffeeScript中文版](http://island205.com/tlboc/) * [CoffeeScript 编码风格指南](https://github.com/geekplux/coffeescript-style-guide) * TypeScipt * [TypeScript Handbook](https://zhongsp.gitbooks.io/typescript-handbook/content/) * ExtJS * [Ext4.1.0 中文文档](http://extjs-doc-cn.github.io/ext4api/) * Meteor * [Discover Meteor](http://zh.discovermeteor.com/) * [Meteor 中文文档](http://docs.meteorhub.org/#/basic/) * [Angular-Meteor 中文教程](http://angular.meteorhub.org/) * VueJS * [逐行剖析 Vue.js 源码](https://nlrx-wjc.github.io/Learn-Vue-Source-Code/) * [Chrome扩展及应用开发](http://www.ituring.com.cn/minibook/950) ## Kotlin * [Kotlin 官方参考文档 中文版](https://hltj.gitbooks.io/kotlin-reference-chinese/content/) * [Kotlin 中文文档](https://huanglizhuo.gitbooks.io/kotlin-in-chinese/) [GitHub](https://github.com/huanglizhuo/kotlin-in-chinese) * [Kotlin 参考文档](http://www.liying-cn.net/kotlin/docs/reference/) * [《Kotlin for android developers》中文版](https://wangjiegulu.gitbooks.io/kotlin-for-android-developers-zh/content/) [返回目录](#目录) ## LaTeX * [一份其实很短的 LaTeX 入门文档](http://liam0205.me/2014/09/08/latex-introduction/) * [一份不太简短的 LATEX 2ε 介绍](http://www.mohu.org/info/lshort-cn.pdf) (PDF版) [返回目录](#目录) ## LISP * Common Lisp * [ANSI Common Lisp 中文翻譯版](http://acl.readthedocs.org/en/latest/) * [On Lisp 中文翻译版本](http://www.ituring.com.cn/minibook/862) * Scheme * [Yet Another Scheme Tutorial Scheme入门教程](http://deathking.github.io/yast-cn/) * [Scheme语言简明教程](http://songjinghe.github.io/TYS-zh-translation/) * Racket * [Racket book](https://github.com/tyrchen/racket-book) [返回目录](#目录) ## Lua * [Lua编程入门](https://github.com/andycai/luaprimer) * [Lua 5.1 参考手册 中文翻译](http://www.codingnow.com/2000/download/lua_manual.html) * [Lua 5.3 参考手册 中文翻译](http://cloudwu.github.io/lua53doc/) * [Lua源码欣赏](http://www.codingnow.com/temp/readinglua.pdf) [返回目录](#目录) ## OCaml * [Real World OCaml](https://github.com/zforget/translation/tree/master/real_world_ocaml) [返回目录](#目录) ## Perl * [Modern Perl 中文版](https://github.com/horus/modern_perl_book) * [Perl 程序员应该知道的事](http://perl.linuxtoy.org/) [返回目录](#目录) ## PHP * [PHP 官方手册](http://php.net/manual/zh/) * [PHP调试技术手册](http://www.laruence.com/2010/06/21/1608.html)(PDF) * PHP之道:php-the-right-way ([@wulijun版](http://wulijun.github.io/php-the-right-way/) [PHPHub版](http://laravel-china.github.io/php-the-right-way/)) * [PHP 最佳实践](https://github.com/justjavac/PHP-Best-Practices-zh_CN) * [PHP 开发者实践](https://ryancao.gitbooks.io/php-developer-prepares/content/) * [深入理解PHP内核](https://github.com/reeze/tipi) * [PHP扩展开发及内核应用](http://www.walu.cc/phpbook/) * [Laravel5.1 中文文档](http://laravel-china.org/docs/5.1) * [Laravel 5.1 LTS 速查表](https://cs.phphub.org/) * [Symfony2 Cookbook 中文版](http://wiki.jikexueyuan.com/project/symfony-cookbook/)(版本 2.7.0 LTS) * [Symfony2中文文档](http://symfony-docs-chs.readthedocs.org/en/latest/) (未译完) * [YiiBook几本Yii框架的在线教程](http://yiibook.com//doc) * [深入理解 Yii 2.0](http://www.digpage.com/) * [Yii 框架中文官网](http://www.yiichina.com/) * [简单易懂的PHP魔法](http://www.nowamagic.net/librarys/books/contents/php) * [swoole文档及入门教程](https://github.com/LinkedDestiny/swoole-doc) * [Composer 中文网](http://www.phpcomposer.com) * [Slim 中文文档](http://ww1.minimee.org/php/slim) * [Lumen 中文文档](http://lumen.laravel-china.org/) * [PHPUnit 中文文档](https://phpunit.de/manual/current/zh_cn/installation.html) * [PHP-LeetCode](https://github.com/wuqinqiang/leetcode-php) * [ThinkPHP5.1完全开发手册](https://www.kancloud.cn/manual/thinkphp5_1) * [ThinkPHP3.2.3完全开发手册](https://www.kancloud.cn/manual/thinkphp) [返回目录](#目录) ## Prolog * [笨办法学Prolog](http://fengdidi.github.io/blog/2011/11/15/qian-yan/) [返回目录](#目录) ## Python * [廖雪峰 Python 2.7 中文教程](http://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000) * [廖雪峰 Python 3 中文教程](http://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000) * [简明Python教程](http://www.kuqin.com/abyteofpython_cn/) * [简明 Python 教程(Python 3)](https://legacy.gitbook.com/book/lenkimo/byte-of-python-chinese-edition/details) * [零基础学 Python 第一版](http://www.kancloud.cn/kancloud/python-basic) * [零基础学 Python 第二版](http://www.kancloud.cn/kancloud/starter-learning-python) * [可爱的 Python](http://lovelypython.readthedocs.org/en/latest/) * [Python 2.7 官方教程中文版](http://www.pythondoc.com/pythontutorial27/index.html) * [Python 3.3 官方教程中文版](http://www.pythondoc.com/pythontutorial3/index.html) * [Python Cookbook 中文版](http://www.kancloud.cn/thinkphp/python-cookbook) * [Python3 Cookbook 中文版](https://github.com/yidao620c/python3-cookbook) * [深入 Python](http://www.kuqin.com/docs/diveintopythonzh-cn-5.4b/html/toc/) * [深入 Python 3](http://old.sebug.net/paper/books/dive-into-python3/) * [PEP8 Python代码风格规范](https://code.google.com/p/zhong-wiki/wiki/PEP8) * [Google Python 风格指南 中文版](http://zh-google-styleguide.readthedocs.org/en/latest/google-python-styleguide/) * [Python入门教程](http://liam0205.me/2013/11/02/Python-tutorial-zh_cn/) ([PDF](http://liam0205.me/attachment/Python/The_Python_Tutorial_zh-cn.pdf)) * [笨办法学 Python](http://old.sebug.net/paper/books/LearnPythonTheHardWay/) ([PDF](http://liam0205.me/attachment/Python/PyHardWay/Learn_Python_The_Hard_Way_zh-cn.pdf) [EPUB](https://www.gitbook.com/download/epub/book/wizardforcel/lpthw)) * [Python自然语言处理中文版](http://pan.baidu.com/s/1qW4pvnY) (感谢陈涛同学的翻译,也谢谢 [@shwley](https://github.com/shwley) 联系了作者) * [Python 绘图库 matplotlib 官方指南中文翻译](http://liam0205.me/2014/09/11/matplotlib-tutorial-zh-cn/) * [Scrapy 0.25 文档](http://scrapy-chs.readthedocs.org/zh_CN/latest/) * [ThinkPython](https://github.com/carfly/thinkpython-cn) * [ThinkPython 2ed](https://github.com/bingjin/ThinkPython2-CN) * [Python快速教程](http://www.cnblogs.com/vamei/archive/2012/09/13/2682778.html) * [Python 正则表达式操作指南](http://wiki.ubuntu.org.cn/Python正则表达式操作指南) * [python初级教程:入门详解](http://www.crifan.com/files/doc/docbook/python_beginner_tutorial/release/html/python_beginner_tutorial.html) * [Twisted 与异步编程入门](https://www.gitbook.com/book/likebeta/twisted-intro-cn/details) * [TextGrocery 中文 API](http://textgrocery.readthedocs.org/zh/latest/index.html) ( 基于svm算法的一个短文本分类 Python 库 ) * [Requests: HTTP for Humans](http://requests-docs-cn.readthedocs.org/zh_CN/latest/) * [Pillow 中文文档](http://pillow-cn.readthedocs.org/en/latest/#) * [PyMOTW 中文版](http://pymotwcn.readthedocs.org/en/latest/index.html) * [Python 官方文档中文版](http://data.digitser.net/zh-CN/python_index.html) * [Fabric 中文文档](http://fabric-chs.readthedocs.org) * [Beautiful Soup 4.2.0 中文文档](http://beautifulsoup.readthedocs.org/zh_CN/latest/) * [Python 中的 Socket 编程](https://legacy.gitbook.com/book/keelii/socket-programming-in-python-cn/details) * [用Python做科学计算](https://docs.huihoo.com/scipy/scipy-zh-cn/index.html) * [Sphinx 中文文档](http://www.pythondoc.com/sphinx/index.html) * [精通 Python 设计模式](https://github.com/cundi/Mastering.Python.Design.Patterns) * [python 安全编程教程](https://github.com/smartFlash/pySecurity) * [程序设计思想与方法](https://www.gitbook.com/book/wizardforcel/sjtu-cs902-courseware/details) * [知乎周刊·编程小白学Python](https://read.douban.com/ebook/16691849/) * [Scipy 讲义](https://github.com/cloga/scipy-lecture-notes_cn) * [Python 学习笔记 基础篇](http://www.kuqin.com/docs/pythonbasic.html) * [Python 学习笔记 模块篇](http://www.kuqin.com/docs/pythonmodule.html) * [Python 标准库 中文版](http://old.sebug.net/paper/books/python/%E3%80%8APython%E6%A0%87%E5%87%86%E5%BA%93%E3%80%8B%E4%B8%AD%E6%96%87%E7%89%88.pdf) * [Python进阶](https://www.gitbook.com/book/eastlakeside/interpy-zh/details) * [Python 核心编程 第二版](https://wizardforcel.gitbooks.io/core-python-2e/content/) CPyUG译 * [Python最佳实践指南](http://pythonguidecn.readthedocs.io/zh/latest/) * [Python 精要教程](https://www.gitbook.com/book/wizardforcel/python-essential-tutorial/details) * [Python 量化交易教程](https://www.gitbook.com/book/wizardforcel/python-quant-uqer/details) * [Python黑魔法手册](https://magic.iswbm.com/preface.html) * Django * [Django 1.5 文档中文版](http://django-chinese-docs.readthedocs.org/en/latest/) 正在翻译中 * [Django 2.0 文档中文版](https://docs.djangoproject.com/zh-hans/2.0/) * [Django 最佳实践](https://github.com/yangyubo/zh-django-best-practices) * [Django 2.1 搭建个人博客教程](https://www.dusaiphoto.com/article/detail/2/) ( 编写中 ) * [Django搭建简易博客教程](https://www.gitbook.com/book/andrew-liu/django-blog/details) * [The Django Book 中文版](http://djangobook.py3k.cn/2.0/) * [Django 设计模式与最佳实践](https://github.com/cundi/Django-Design-Patterns-and-Best-Practices) * [Django 网站开发 Cookbook](https://github.com/cundi/Web.Development.with.Django.Cookbook) * [Django Girls 學習指南](https://www.gitbook.com/book/djangogirlstaipei/django-girls-taipei-tutorial/details) * Flask * [Flask 文档中文版](http://docs.jinkan.org/docs/flask/) * [Jinja2 文档中文版](http://docs.jinkan.org/docs/jinja2/) * [Werkzeug 文档中文版](http://werkzeug-docs-cn.readthedocs.org/zh_CN/latest/) * [Flask之旅](http://spacewander.github.io/explore-flask-zh/) * [Flask 扩展文档汇总](https://www.gitbook.com/book/wizardforcel/flask-extension-docs/details) * [Flask 大型教程](http://www.pythondoc.com/flask-mega-tutorial/index.html) * [SQLAlchemy 中文文档](http://docs.jinkan.org/docs/flask-sqlalchemy/) * [Flask 入门教程](https://read.helloflask.com) * web.py * [web.py 0.3 新手指南](http://webpy.org/tutorial3.zh-cn) * [Web.py Cookbook 简体中文版](http://webpy.org/cookbook/index.zh-cn) * Tornado * [Introduction to Tornado 中文翻译](http://demo.pythoner.com/itt2zh/index.html) * [Tornado源码解析](http://www.nowamagic.net/academy/detail/13321002) * [Tornado 4.3 文档中文版](https://tornado-zh.readthedocs.org/zh/latest/) [返回目录](#目录) ## R * [R语言忍者秘笈](https://github.com/yihui/r-ninja) * [R语言教程](https://www.math.pku.edu.cn/teachers/lidf/docs/Rbook/html/_Rbook/index.html) [返回目录](#目录) ## Ruby * [Ruby 风格指南](https://github.com/JuanitoFatas/ruby-style-guide/blob/master/README-zhCN.md) * [Rails 风格指南](https://github.com/JuanitoFatas/rails-style-guide/blob/master/README-zhCN.md) * [笨方法學 Ruby](http://lrthw.github.io/) * [Ruby on Rails 指南](http://guides.ruby-china.org/) * [Ruby on Rails 實戰聖經](https://ihower.tw/rails4/index.html) * [Ruby on Rails Tutorial 原书第 3 版](http://railstutorial-china.org/) (本书网页版免费提供,电子版以 PDF、EPub 和 Mobi 格式提供购买,仅售 9.9 美元) * [Rails 实践](http://rails-practice.com/content/index.html) * [Rails 5 开发进阶(Beta)](https://www.gitbook.com/book/kelby/rails-beginner-s-guide/details) * [Rails 102](https://www.gitbook.com/book/rocodev/rails-102/details) * [编写Ruby的C拓展](https://wusuopu.gitbooks.io/write-ruby-extension-with-c/content/) * [Ruby 源码解读](https://ruby-china.org/topics/22386) * [Ruby中的元编程](http://deathking.github.io/metaprogramming-in-ruby/) [返回目录](#目录) ## Rust * [Rust编程语言 中文翻译](https://kaisery.github.io/trpl-zh-cn/) * [通过例子学 Rust 中文版](https://rustwiki.org/zh-CN/rust-by-example/) * [Rust Primer](https://github.com/rustcc/RustPrimer) [返回目录](#目录) ## Scala * [Scala课堂](http://twitter.github.io/scala_school/zh_cn/index.html) (Twitter的Scala中文教程) * [Effective Scala](http://twitter.github.io/effectivescala/index-cn.html)(Twitter的Scala最佳实践的中文翻译) * [Scala指南](http://zh.scala-tour.com/) [返回目录](#目录) ## Shell * [Shell脚本编程30分钟入门](https://github.com/qinjx/30min_guides/blob/master/shell.md) * [Bash脚本15分钟进阶教程](http://blog.sae.sina.com.cn/archives/3606) * [Linux工具快速教程](https://github.com/me115/linuxtools_rst) * [shell十三问](https://github.com/wzb56/13_questions_of_shell) * [Shell编程范例](https://www.gitbook.com/book/tinylab/shellbook/details) * [Linux命令搜索引擎](https://wangchujiang.com/linux-command/) [返回目录](#目录) ## Swift * [The Swift Programming Language 中文版](http://numbbbbb.github.io/the-swift-programming-language-in-chinese/) * [Swift 语言指南](http://dev.swiftguide.cn) * [Stanford 公开课,Developing iOS 8 Apps with Swift 字幕翻译文件](https://github.com/x140yu/Developing_iOS_8_Apps_With_Swift) * [C4iOS - COSMOS](http://c4ios.swift.gg) [返回目录](#目录) ## 读书笔记及其它 * [编译原理(紫龙书)中文第2版习题答案](https://github.com/fool2fish/dragon-book-exercise-answers) * [把《编程珠玑》读薄](http://hawstein.com/2013/08/11/make-thiner-programming-pearls/) * [Effective C++读书笔记](https://github.com/XiaolongJason/ReadingNote/blob/master/Effective%20C%2B%2B/Effective%20C%2B%2B.md) * [Golang 学习笔记、Python 学习笔记、C 学习笔记](https://github.com/qyuhen/book) (PDF) * [Jsoup 学习笔记](https://github.com/code4craft/jsoup-learning) * [学习笔记: Vim、Python、memcached](https://github.com/lzjun567/note) * [图灵开放书翻译计划--C++、Python、Java等](http://www.ituring.com.cn/activity/details/2004) * [蒂姆·奥莱利随笔](http://g.yeeyan.org/books/2095) (由译言网翻译,电子版免费) * [SICP 解题集](http://sicp.readthedocs.org/en/latest/) * [精彩博客集合](https://github.com/hacke2/hacke2.github.io/issues/2) * [中文文案排版指北](https://github.com/sparanoid/chinese-copywriting-guidelines) * [Standard C 语言标准函数库速查 (Cheat Sheet)](http://ganquan.info/standard-c/) * [Git Cheatsheet Chs](http://gh.amio.us/git-cheatsheet-chs/) * [GitBook简明教程](http://www.chengweiyang.cn/gitbook/index.html) * [制造开源软件](http://producingoss.com/zh/) * [提问的智慧](http://www.dianbo.org/9238/stone/tiwendezhihui.htm) * [Markdown 入门参考](https://github.com/LearnShare/Learning-Markdown) * [AsciiDoc简明指南](https://github.com/stanzgy/wiki/blob/master/markup/asciidoc-guide.asciidoc) * [背包问题九讲](http://love-oriented.com/pack/) * [老齐的技术资料](https://github.com/qiwsir/ITArticles) * [前端技能汇总](https://github.com/JacksonTian/fks) * [借助开源项目,学习软件开发](https://github.com/zhuangbiaowei/learn-with-open-source) * [前端工作面试问题](https://github.com/h5bp/Front-end-Developer-Interview-Questions/tree/master/Translations/Chinese) * [leetcode/lintcode题解/算法学习笔记](https://www.gitbook.com/book/yuanbin/algorithm/details) * [前端开发笔记本](https://github.com/li-xinyang/FEND_Note) * [LeetCode题解](https://siddontang.gitbooks.io/leetcode-solution/content/) * [《不可替代的团队领袖培养计划》](https://leader.js.cool/#/) [返回目录](#目录) ### 测试相关
3,107
AboutLibraries automatically collects all dependencies and licenses of any gradle project (Kotlin MultiPlatform), and provides easy to integrate UI components for Android and Compose-jb environments
# AboutLibraries .. collects all dependency details including licenses at compile time, and offers simple APIs to visualize these in the app. *No runtime overhead.* Strong caching. Any gradle dependency is supported. ------- <p align="center"> <a href="#whats-included-">What's included 🚀</a> &bull; <a href="#setup">Setup 🛠️</a> &bull; <a href="#gradle-api">Gradle API️</a> &bull; <a href="https://mikepenz.github.io/AboutLibraries/index.html">SDK Docs 📖 </a> &bull; <a href="https://mikepenz.github.io/AboutLibraries/plugin/index.html">Plugin Docs 📖</a> &bull; <a href="MIGRATION.md">Migration Guide 🧬</a> &bull; <a href="https://play.google.com/store/apps/details?id=com.mikepenz.aboutlibraries.sample">Sample App</a> </p> ------- ### What's included 🚀 - Kotlin Multiplatform support - Lightweight multiplatform core module - Access all generated information - Build custom UIs - Compose UI module - Gradle Plugin - Generating dependency / license metadata - Different exports, compliance report - Identify possible project funding - License *strict mode* - Simple and fast integration # Screenshots ![Screenshots](https://raw.githubusercontent.com/mikepenz/AboutLibraries/develop/DEV/screenshots/Screenshots.png) # Setup ## Latest releases 🛠 - (Next Gen) Kotlin && Multiplatform && Plugin | [v10.5.2](https://github.com/mikepenz/AboutLibraries/tree/v10.5.2) - Kotlin && Gradle Plugin | [v8.9.4](https://github.com/mikepenz/AboutLibraries/tree/v8.9.4) ## Gradle Plugin AboutLibraries v10 includes a completely redone plugin, with build cache support. It includes all dependencies as found based on the gradle configuration. > The gradle plugin is hosted via [Gradle Plugins](https://plugins.gradle.org/plugin/com.mikepenz.aboutlibraries.plugin). <details open><summary><b>Using the plugins DSL (for single modules)</b></summary> <p> ```gradle // Root build.gradle id 'com.mikepenz.aboutlibraries.plugin' version "${latestAboutLibsRelease}" apply false // App build.gradle id 'com.mikepenz.aboutlibraries.plugin' ``` </p> </details> <details><summary><b>Using the plugins DSL (for whole project)</b></summary> <p> ```gradle // Root build.gradle id 'com.mikepenz.aboutlibraries.plugin' version "${latestAboutLibsRelease}" ``` </p> </details> <details><summary><b>Using legacy plugin application</b></summary> <p> ```gradle // Root build.gradle classpath "com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:${latestAboutLibsRelease}" // App build.gradle apply plugin: 'com.mikepenz.aboutlibraries.plugin' ``` </p> </details> <details><summary><b>Gradle Plugin Configuration</b></summary> <p> ## Gradle Plugin Configuration It is possible to provide custom configurations / adjustments to the automatic detection. This can be done via the gradle plugin. ```groovy aboutLibraries { // - If the automatic registered android tasks are disabled, a similar thing can be achieved manually // - `./gradlew app:exportLibraryDefinitions -PaboutLibraries.exportPath=src/main/res/raw` // - the resulting file can for example be added as part of the SCM registerAndroidTasks = false // Define the output file name. Modifying this will disable the automatic meta data discovery for supported platforms. outputFileName = "aboutlibraries.json" // Define the path configuration files are located in. E.g. additional libraries, licenses to add to the target .json configPath = "config" // Allow to enable "offline mode", will disable any network check of the plugin (including [fetchRemoteLicense] or pulling spdx license texts) offlineMode = false // Enable fetching of "remote" licenses. Uses the API of supported source hosts // See https://github.com/mikepenz/AboutLibraries#special-repository-support fetchRemoteLicense = true // Enables fetching of "remote" funding information. Uses the API of supported source hosts // See https://github.com/mikepenz/AboutLibraries#special-repository-support fetchRemoteFunding = true // (Optional) GitHub token to raise API request limit to allow fetching more licenses gitHubApiToken = getLocalOrGlobalProperty("github.pat") // Full license text for license IDs mentioned here will be included, even if no detected dependency uses them. additionalLicenses = ["mit", "mpl_2_0"] // Allows to exclude some fields from the generated meta data field. excludeFields = ["developers", "funding"] // Enable inclusion of `platform` dependencies in the library report includePlatform = true // Define the strict mode, will fail if the project uses licenses not allowed // - This will only automatically fail for Android projects which have `registerAndroidTasks` enabled // For non Android projects, execute `exportLibraryDefinitions` strictMode = com.mikepenz.aboutlibraries.plugin.StrictMode.FAIL // Allowed set of licenses, this project will be able to use without build failure allowedLicenses = ["Apache-2.0", "asdkl"] // Enable the duplication mode, allows to merge, or link dependencies which relate duplicationMode = com.mikepenz.aboutlibraries.plugin.DuplicateMode.LINK // Configure the duplication rule, to match "duplicates" with duplicationRule = com.mikepenz.aboutlibraries.plugin.DuplicateRule.SIMPLE // Enable pretty printing for the generated JSON file prettyPrint = false } ``` Full documentation of all available gradle plugin configurations: https://github.com/mikepenz/AboutLibraries/blob/develop/plugin-build/plugin/src/main/kotlin/com/mikepenz/aboutlibraries/plugin/AboutLibrariesExtension.kt ## Modify libraries / licenses The plugin offers the ability to add additional libraries or licenses by specifying these under the `libraries` and respectively `licenses` directory, within the defined `configPath`. This can be seen here: https://github.com/mikepenz/AboutLibraries/blob/develop/config/ ### Libraries Provide additional or modify existing libraries via a `.json` file per library. If the `uniqueId` overlaps, a merge will occur. ```json { "uniqueId": "com.mikepenz:materialdrawer", "developers": [ { "name": "Mike Penz", "organisationUrl": "https://mikepenz.dev" } ], "description": "(Merged) The flexible, easy to use, all in one drawer library for your Android project.", "name": "ABC MaterialDrawer Library", "website": "https://github.com/mikepenz/MaterialDrawer" } ``` ### Licenses Provide additional or modify existing licenses via a `.json` file per license. ```json { "content": "This is the Android Software Development Kit License Agreement\n<br />\n1. Introduction\n<br />\n1.1 The Android Software Development Kit (referred to in the License Agreement as the \"SDK\" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK.\n<br />\n1.2 \"Android\" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time.\n<br />\n1.3 A \"compatible implementation\" means any Android device that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (http://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS).\n<br />\n1.4 \"Google\" means Google LLC, a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.\n<br />\n2. Accepting this License Agreement\n<br />\n2.1 In order to use the SDK, you must first agree to the License Agreement. You may not use the SDK if you do not accept the License Agreement.\n<br />\n2.2 By clicking to accept, you hereby agree to the terms of the License Agreement.\n<br />\n2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries, including the country in which you are resident or from which you use the SDK.\n<br />\n2.4 If you are agreeing to be bound by the License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity.\n<br />\n3. SDK License from Google\n<br />\n3.1 Subject to the terms of the License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android.\n<br />\n3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this SDK is not used for that purpose.\n<br />\n3.3 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. \"Intellectual Property Rights\" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.\n<br />\n3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK.\n<br />\n3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement.\n<br />\n3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you.\n<br />\n3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features.\n<br />\n3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK.\n<br />\n4. Use of the SDK by You\n<br />\n4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications.\n<br />\n4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) the License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries).\n<br />\n4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so.\n<br />\n4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier.\n<br />\n4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so.\n<br />\n4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach.\n<br />\n5. Your Developer Credentials\n<br />\n5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials.\n<br />\n6. Privacy and Information\n<br />\n6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected.\n<br />\n6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy.\n<br />\n7. Third Party Applications\n<br />\n7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources.\n<br />\n7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners.\n<br />\n7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, the License Agreement does not affect your legal relationship with these third parties.\n<br />\n8. Using Android APIs\n<br />\n8.1 Google Data APIs\n<br />\n8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service.\n<br />\n8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so. If you use the Android Recognition Service API, documented at the following URL: https://developer.android.com/reference/android/speech/RecognitionService, as updated from time to time, you acknowledge that the use of the API is subject to the Data Processing Addendum for Products where Google is a Data Processor, which is located at the following URL: https://privacy.google.com/businesses/gdprprocessorterms/, as updated from time to time. By clicking to accept, you hereby agree to the terms of the Data Processing Addendum for Products where Google is a Data Processor.\n<br />\n9. Terminating this License Agreement\n<br />\n9.1 The License Agreement will continue to apply until terminated by either you or Google as set out below.\n<br />\n9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials.\n<br />\n9.3 Google may at any time, terminate the License Agreement with you if:<br />\n(A) you have breached any provision of the License Agreement; or<br />\n(B) Google is required to do so by law; or<br />\n(C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or<br />\n(D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable.<br />\n<br />\n9.4 When the License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst the License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely.\n<br />\n10. DISCLAIMER OF WARRANTIES\n<br />\n10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED \"AS IS\" AND \"AS AVAILABLE\" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.\n<br />\n10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE.\n<br />\n10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.\n<br />\n11. LIMITATION OF LIABILITY\n<br />\n11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.\n<br />\n12. Indemnification\n<br />\n12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with the License Agreement.\n<br />\n13. Changes to the License Agreement\n<br />\n13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available.\n<br />\n14. General Legal Terms\n<br />\n14.1 The License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK.\n<br />\n14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google.\n<br />\n14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable.\n<br />\n14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement.\n<br />\n14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE.\n<br />\n14.6 The rights granted in the License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under the License Agreement without the prior written approval of the other party.\n<br />\n14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.", "hash": "asdkl", "url": "https://developer.android.com/studio/terms.html", "name": "Android Software Development Kit License Agreement" } ``` </p> </details> ## Core-module > The AboutLibraries Library is pushed to [Maven Central](https://search.maven.org/artifact/com.mikepenz/aboutlibraries-core). ```gradle implementation "com.mikepenz:aboutlibraries-core:${latestAboutLibsRelease}" ``` <details><summary><b>(Advanced) Usage</b></summary> <p> ## Access generated library details To create a individual integration, access the generated library information programmatically through the core module. ```kotlin val libs = Libs.Builder() .withJson(aboutLibsJson) // provide the metaData (alternative APIs available) .build() val libraries = libs.libraries // retrieve all libraries defined in the metadata val licenses = libs.licenses // retrieve all licenses defined in the metadata for (lib in libraries) { Log.i("AboutLibraries", "${lib.name}") } ``` </p> </details> ## UI-module ```gradle implementation "com.mikepenz:aboutlibraries-compose:${latestAboutLibsRelease}" ``` ### Usage ```kotlin // android LibrariesContainer( Modifier.fillMaxSize() ) // compose-desktop LibrariesContainer(useResource("aboutlibraries.json") { it.bufferedReader().readText() }, Modifier.fillMaxSize()) ``` <details><summary><b>Compose-jb</b></summary> <p> The core module and the compose module are Kotlin-Multiplatform projects. Find a sample application as the `app-desktop` module. It showcases the usage to manually generate the dependency meta information and include as part of the SCM. ### Generate Dependency Information ```bash ./gradlew app-desktop:exportLibraryDefinitions -PaboutLibraries.exportPath=src/main/resources/ ``` ### Run Desktop app ``` ./gradlew :app-desktop:run ``` ### Screenshot ![Compose-jb Screenshot](https://raw.githubusercontent.com/mikepenz/AboutLibraries/develop/DEV/screenshots/compose-jb.png) </p> </details> ## (Legacy) UI-module ```gradle implementation "com.mikepenz:aboutlibraries:${latestAboutLibsRelease}" ``` <details><summary><b>Usage</b></summary> <p> ### Usage Use this library in a few different ways. Create a custom activity, including a custom style or just use its generated information. Or simply use the built-in Activity or Fragment and just pass the libs to include. > **Note**: The new version requires the new Material3 theme as base. #### Activity ```kotlin LibsBuilder() .start(this) // start the activity ``` The activity uses a toolbar, which requires the appropriate theme. See [Style the AboutLibraries](#style-the-aboutlibraries-%EF%B8%8F) for more details #### Fragment ```kotlin val fragment = LibsBuilder() .supportFragment() ``` #### About this App UI The `AboutLibraries` library also offers the ability to create an `About this app` screen. Add the following .xml file (or just the strings - the key must be the same) to the project. ```xml <resources> <string name="aboutLibraries_description_showIcon">true</string> <string name="aboutLibraries_description_showVersion">true</string> <string name="aboutLibraries_description_text">Place the description here :D</string> </resources> ``` or use the builder and add following: ```kotlin .withAboutIconShown(true) .withAboutVersionShown(true) .withAboutDescription("This is a small sample which can be set in the about my app description file.<br /><b>Style this with html markup :D</b>") ``` #### Style the AboutLibraries 🖌️ Create a custom style for the AboutLibraries UI. ```xml // define a custom style <style name="CustomAboutLibrariesStyle" parent=""> <!-- AboutLibraries specific values --> <item name="aboutLibrariesCardBackground">?cardBackgroundColor</item> <item name="aboutLibrariesDescriptionTitle">?android:textColorPrimary</item> <item name="aboutLibrariesDescriptionText">?android:textColorSecondary</item> <item name="aboutLibrariesDescriptionDivider">@color/opensource_divider</item> <item name="aboutLibrariesOpenSourceTitle">?android:textColorPrimary</item> <item name="aboutLibrariesOpenSourceText">?android:textColorSecondary</item> <item name="aboutLibrariesSpecialButtonText">?android:textColorPrimary</item> <item name="aboutLibrariesOpenSourceDivider">@color/opensource_divider</item> </style> // define the custom styles for the theme <style name="SampleApp" parent="Theme.MaterialComponents.Light.NoActionBar"> ... <item name="aboutLibrariesStyle">@style/CustomAboutLibrariesStyle</item> ... </style> ``` </p> </details> ## Enterprise Since v10 of the AboutLibraries plugin it is possible to disable the automatic registration of the plugin task as part of the build system. ``` aboutLibraries { registerAndroidTasks = false } ``` This is especially beneficial for enterprise environments where it is required to be in full control of the included `aboutlibraries.json`. After disabling the integration it is possible to manually update the definitions, or do it on your CI environment. ``` ./gradlew app:exportLibraryDefinitions -PaboutLibraries.exportPath=src/main/res/raw/ -PaboutLibraries.exportVariant=release ``` This generated file can be either included in your SCM, and every build will use this exact verified and approved state. Additionally, this helps to ensure no issues occur during the apps delivery phase, as the respective file is already generated and included. The library offers complete customisation for this behavior and location or name for the generated files can be adjusted as needed. A full compose code example providing the `Libs` manually: ```kotlin LibrariesContainer( librariesBlock = { ctx -> Libs.Builder().withJson(ctx, R.raw.aboutlibraries).build() } ) ``` ## Gradle API By default, the gradle plugin is automatically executed for Android projects, generating the library metadata where it's automatically discovered by the `ui` modules. For other environments or for more advanced usages the plugin offers additional APIs. ```bash # Manually generate the dependency metaData in the provided location. Allows to commit it in SCM # Exports the metaData in `src/main/resources/` relative to the module root ./gradlew app-desktop:exportLibraryDefinitions -PaboutLibraries.exportPath=src/main/resources/ # Export only for a specific variant: `release` ./gradlew app-desktop:exportLibraryDefinitions -PaboutLibraries.exportPath=src/main/resources/ -PaboutLibraries.exportVariant=release # Export dependencies as CSV ./gradlew exportLibraries ./gradlew exportLibraries${Variant} # Outputs all dependencies with name, version and their identifier ./gradlew findLibraries # Export all dependencies in a format helpful for compliance reports ./gradlew exportComplianceLibraries${Variant} # List all funding options for included projects (as identified via the e.g.: GitHub API) ./gradlew fundLibraries ``` # Special repository support | Host | License | Funding | |-------------------------------|---------|---------| | [GitHub](https://github.com/) | x | x | # Disclaimer This library uses all compile time dependencies (and their sub dependencies) as defined in the `build.gradle` file. This could lead to dependencies which are only used during compilation (and not actually distributed in the app) to be listed or missing in the attribution screen. It might also fail to identify licenses if the dependencies do not define it properly in their pom.xml file. Careful optimisation and review of all licenses is recommended to really include all required dependencies. The use of the gradle commands like `findLibraries` can help doing this. It is also important that native sub dependencies can *not* be resolved automatically as they are not included via gradle. Additional dependencies can be provided via the plugins API to extend and provide any additional details. # Developed By - Mike Penz - [mikepenz.dev](https://mikepenz.dev) - [blog.mikepenz.dev](https://blog.mikepenz.dev) - <[email protected]> - [paypal.me/mikepenz](http://paypal.me/mikepenz) - [Automatic changelog generation action](https://github.com/marketplace/actions/release-changelog-builder) # License Copyright 2021 Mike Penz Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
3,108
Ninety-Nine Problems in Kotlin
null
3,109
Text, samples and website for my 'Effective Shell' series.
# effective-shell <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> [![All Contributors](https://img.shields.io/badge/all_contributors-14-orange.svg?style=flat-square)](#contributors-) <!-- ALL-CONTRIBUTORS-BADGE:END --> [![Release Please](https://github.com/dwmkerr/effective-shell/actions/workflows/release-please.yaml/badge.svg)](https://github.com/dwmkerr/effective-shell/actions/workflows/release-please.yaml) ![Version Badge](https://img.shields.io/github/v/tag/dwmkerr/effective-shell?label=version) [![Creative Commons BY-NC-SA](https://i.creativecommons.org/l/by-nc-sa/3.0/80x15.png)](http://creativecommons.org/licenses/by-nc-sa/3.0/) Text, samples and references for my 'Effective Shell' series. This website is hosted at [effective-shell.com](https://effective-shell.com). If you find this book useful, please do consider [sponsoring me](https://github.com/sponsors/dwmkerr) to help support my open-source work! <!-- vim-markdown-toc GFM --> * [Introduction](#introduction) * [Installing the Samples](#installing-the-samples) * [The Website](#the-website) * [Building the Website](#building-the-website) * [Custom Components](#custom-components) * [Versioning](#versioning) * [Contributing](#contributing) * [Copyright & Licensing](#copyright--licensing) * [ASCII Terminal Recordings](#ascii-terminal-recordings) * [Thanks!](#thanks) * [Contributors ✨](#contributors-) <!-- vim-markdown-toc --> ## Introduction This repository contains all of the content for the [Effective Shell](https://effective-shell.com/) online book. ## Installing the Samples You can install the samples into your `~/effective-shell` folder with this command: ```sh curl effective.sh | sh ``` Or can also manually download them using from any of these locations: - [https://effective-shell.com/downloads/effective-shell-samples.zip](https://effective-shell.com/downloads/effective-shell-samples.zip) - [https://effective-shell.com/downloads/effective-shell-samples.tar.gz](https://effective-shell.com/downloads/effective-shell-samples.tar.gz) The one-line shell installer is hosted at [github.com/dwmkerr/effective-shell-installer](https://github.com/dwmkerr/effective-shell-installer) ## The Website The content in this repository is built into a static site available at [effective-shell.com](https://effective-shell.com). This site is generated using [Docusaurus](https://docusaurus.io). This section contains information on how to built, use and edit the site. To help you quickly edit the site, some tips are below: - The book content is at [./docs/](./docs/) - The menu structure is defined at [sidebars.js](sidebars.js). ### Building the Website To setup dependencies, run: ```bash make setup ``` To test that TypeScript types compile, run: ```bash make typescript-check ``` To serve the site locally, run: ```bash make serve ``` To build the site, run: ```bash make build ``` The built site is generated at `./build`. Note that the [`samples`](./samples) folder is automatically zipped up and added to the website, meaning it can be downloaded directly from: ``` https://effective-shell.com/downloads/effective-shell-samples.zip https://effective-shell.com/downloads/effective-shell-samples.tar.gz ``` ## Custom Components Custom Components to support styling are available at: ``` src/components ``` There is a live view that can be used to preview each component: http://localhost:3000/zz-developer-guide/components Components can be added to global scope, i.e. available in call pages, by adding to the `MDXComponents.js` swizzled file: ``` src/theme/MDXComponents.js ``` ## Versioning The version of the site and the code is defined in the [`package.json`](./package.json) file. Releasing in managed via [Release Please](https://github.com/googleapis/release-please) in the [`release-please.yaml`](./.github/workflows/release-please.yaml) workflow file. ## Contributing Please carefully read the [Contributing Guide](./.github/contributing.md) before working on changes. ## Copyright & Licensing All content is Copyright (©) Dave Kerr. Please get in touch by opening an issue if you have questions on copyright or licensing. [![Creative Commons BY-NC-SA](https://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png)](http://creativecommons.org/licenses/by-nc-sa/3.0/) This work is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License](http://creativecommons.org/licenses/by-nc-sa/3.0/). ## ASCII Terminal Recordings All terminal recordings used in this project are built using the superb '[asciinema](https://asciinema.org/)' tool. Many thanks to Marcin Kulik for building such an excellent piece of software. ## Thanks! Thanks to the following people who have helped with reviews, comments, suggestions. - Andrew Bestbier, Thomas Neumann, Tam Nguyen, Rahul Maliakkal, Peter Mondlock, Samantha Baldwin, Niklas Schmuecker for the proofing, comments and suggestions - [Ogus Ismail](https://stackoverflow.com/users/10248678/oguz-ismail) for helping me understand some of the [nuances of word splitting and filename expansion](https://stackoverflow.com/questions/67648392/how-can-i-confirm-whether-whitespace-or-special-characters-are-escaped-in-a-wild) - [Josh Timmons](https://github.com/josh-59) for proof-reading and suggesting structural improvements as well as grammar and spelling fixes - [Joel Schwarzmann](https://github.com/datajoely) for proofing and adding content on the Python code in the 'How to avoid shell scripting' chapter - [Xiaoyou "Elsie" Jiang](https://github.com/xiaoyou-elsie-jiang) for proof-reading and improvements to Chapter 30 ## Contributors ✨ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> <!-- prettier-ignore-start --> <!-- markdownlint-disable --> <table> <tbody> <tr> <td align="center" valign="top" width="14.28%"><a href="https://github.com/xiaoyou-elsie-jiang"><img src="https://avatars.githubusercontent.com/u/101381124?v=4?s=100" width="100px;" alt="Xiaoyou "Elsie" Jiang"/><br /><sub><b>Xiaoyou "Elsie" Jiang</b></sub></a><br /><a href="https://github.com/dwmkerr/effective-shell/commits?author=xiaoyou-elsie-jiang" title="Documentation">📖</a> <a href="https://github.com/dwmkerr/effective-shell/pulls?q=is%3Apr+reviewed-by%3Axiaoyou-elsie-jiang" title="Reviewed Pull Requests">👀</a></td> <td align="center" valign="top" width="14.28%"><a href="http://linkedin.com/in/tbueschel"><img src="https://avatars.githubusercontent.com/u/13087421?v=4?s=100" width="100px;" alt="Tobias Büschel"/><br /><sub><b>Tobias Büschel</b></sub></a><br /><a href="https://github.com/dwmkerr/effective-shell/pulls?q=is%3Apr+reviewed-by%3Atobiasbueschel" title="Reviewed Pull Requests">👀</a></td> <td align="center" valign="top" width="14.28%"><a href="http://foostack.ai"><img src="https://avatars.githubusercontent.com/u/15166953?v=4?s=100" width="100px;" alt="Doug Foo"/><br /><sub><b>Doug Foo</b></sub></a><br /><a href="https://github.com/dwmkerr/effective-shell/commits?author=dougfoo" title="Documentation">📖</a> <a href="https://github.com/dwmkerr/effective-shell/pulls?q=is%3Apr+reviewed-by%3Adougfoo" title="Reviewed Pull Requests">👀</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/skokaina"><img src="https://avatars.githubusercontent.com/u/2756985?v=4?s=100" width="100px;" alt="Sallah Kokaina"/><br /><sub><b>Sallah Kokaina</b></sub></a><br /><a href="https://github.com/dwmkerr/effective-shell/commits?author=skokaina" title="Documentation">📖</a> <a href="https://github.com/dwmkerr/effective-shell/pulls?q=is%3Apr+reviewed-by%3Askokaina" title="Reviewed Pull Requests">👀</a></td> <td align="center" valign="top" width="14.28%"><a href="http://www.fetch-template.com"><img src="https://avatars.githubusercontent.com/u/26925206?v=4?s=100" width="100px;" alt="samhinton88"/><br /><sub><b>samhinton88</b></sub></a><br /><a href="https://github.com/dwmkerr/effective-shell/commits?author=samhinton88" title="Documentation">📖</a> <a href="https://github.com/dwmkerr/effective-shell/pulls?q=is%3Apr+reviewed-by%3Asamhinton88" title="Reviewed Pull Requests">👀</a></td> <td align="center" valign="top" width="14.28%"><a href="https://www.alexvinall.com"><img src="https://avatars.githubusercontent.com/u/5629393?v=4?s=100" width="100px;" alt="Alex Vinall"/><br /><sub><b>Alex Vinall</b></sub></a><br /><a href="https://github.com/dwmkerr/effective-shell/commits?author=alexvinall" title="Documentation">📖</a> <a href="https://github.com/dwmkerr/effective-shell/pulls?q=is%3Apr+reviewed-by%3Aalexvinall" title="Reviewed Pull Requests">👀</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/JosephFKnight"><img src="https://avatars.githubusercontent.com/u/45918817?v=4?s=100" width="100px;" alt="Joseph Knight"/><br /><sub><b>Joseph Knight</b></sub></a><br /><a href="https://github.com/dwmkerr/effective-shell/commits?author=JosephFKnight" title="Documentation">📖</a> <a href="https://github.com/dwmkerr/effective-shell/pulls?q=is%3Apr+reviewed-by%3AJosephFKnight" title="Reviewed Pull Requests">👀</a></td> </tr> <tr> <td align="center" valign="top" width="14.28%"><a href="http://bit.ly/doug-todd"><img src="https://avatars.githubusercontent.com/u/53582591?v=4?s=100" width="100px;" alt="Doug Todd"/><br /><sub><b>Doug Todd</b></sub></a><br /><a href="https://github.com/dwmkerr/effective-shell/commits?author=Zambrella" title="Documentation">📖</a> <a href="https://github.com/dwmkerr/effective-shell/pulls?q=is%3Apr+reviewed-by%3AZambrella" title="Reviewed Pull Requests">👀</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/jdhzzz"><img src="https://avatars.githubusercontent.com/u/1476690?v=4?s=100" width="100px;" alt="jdhzzz"/><br /><sub><b>jdhzzz</b></sub></a><br /><a href="https://github.com/dwmkerr/effective-shell/commits?author=jdhzzz" title="Documentation">📖</a> <a href="https://github.com/dwmkerr/effective-shell/pulls?q=is%3Apr+reviewed-by%3Ajdhzzz" title="Reviewed Pull Requests">👀</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/valankar"><img src="https://avatars.githubusercontent.com/u/31250800?v=4?s=100" width="100px;" alt="valankar"/><br /><sub><b>valankar</b></sub></a><br /><a href="https://github.com/dwmkerr/effective-shell/commits?author=valankar" title="Documentation">📖</a> <a href="https://github.com/dwmkerr/effective-shell/pulls?q=is%3Apr+reviewed-by%3Avalankar" title="Reviewed Pull Requests">👀</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/Denpeer"><img src="https://avatars.githubusercontent.com/u/5969147?v=4?s=100" width="100px;" alt="Denpeer"/><br /><sub><b>Denpeer</b></sub></a><br /><a href="https://github.com/dwmkerr/effective-shell/pulls?q=is%3Apr+reviewed-by%3ADenpeer" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/dwmkerr/effective-shell/commits?author=Denpeer" title="Documentation">📖</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/mbogatzki"><img src="https://avatars.githubusercontent.com/u/39946827?v=4?s=100" width="100px;" alt="Marek Bogatzki"/><br /><sub><b>Marek Bogatzki</b></sub></a><br /><a href="https://github.com/dwmkerr/effective-shell/commits?author=mbogatzki" title="Documentation">📖</a> <a href="https://github.com/dwmkerr/effective-shell/pulls?q=is%3Apr+reviewed-by%3Ambogatzki" title="Reviewed Pull Requests">👀</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/MichaelWarnecke"><img src="https://avatars.githubusercontent.com/u/7615963?v=4?s=100" width="100px;" alt="MWarnecke"/><br /><sub><b>MWarnecke</b></sub></a><br /><a href="https://github.com/dwmkerr/effective-shell/commits?author=MichaelWarnecke" title="Documentation">📖</a> <a href="https://github.com/dwmkerr/effective-shell/pulls?q=is%3Apr+reviewed-by%3AMichaelWarnecke" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/dwmkerr/effective-shell/issues?q=author%3AMichaelWarnecke" title="Bug reports">🐛</a></td> <td align="center" valign="top" width="14.28%"><a href="https://taxodium.ink/"><img src="https://avatars.githubusercontent.com/u/30440218?v=4?s=100" width="100px;" alt="Spike"/><br /><sub><b>Spike</b></sub></a><br /><a href="https://github.com/dwmkerr/effective-shell/pulls?q=is%3Apr+reviewed-by%3ASpike-Leung" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/dwmkerr/effective-shell/issues?q=author%3ASpike-Leung" title="Bug reports">🐛</a></td> </tr> </tbody> </table> <!-- markdownlint-restore --> <!-- prettier-ignore-end --> <!-- ALL-CONTRIBUTORS-LIST:END --> This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
3,110
:shell: Python-powered, cross-platform, Unix-gazing shell
null
3,111
Convert Ubuntu Server for Raspberry Pi into a Desktop
<h1 align="center"> <!-- <img src=".github/logo.png" alt="Quickemu" /> --> <br /> Desktopify </h1> <p align="center"><b>Convert Ubuntu Server for Raspberry Pi to a Desktop.</b></p> <!-- <div align="center"><img src=".github/screenshot.png" alt="Quickemu Screenshot" /></div> --> <p align="center">Made with 💝 for <img src=".github/ubuntu.png" align="top" width="18" /></p> ## Introduction Desktopify is a simple script to convert [Ubuntu Server for the Raspberry Pi](https://ubuntu.com/download/raspberry-pi) to one of the official Ubuntu desktop flavours. We have a Discord for this project: [![Discord](https://img.shields.io/discord/712850672223125565?color=0C306A&label=WimpysWorld%20Discord&logo=Discord&logoColor=ffffff&style=flat-square)](https://discord.gg/hy7uZfX) [![Raspberry Pi 4 8GB - Install Ubuntu Desktop 20.04 LTS](https://img.youtube.com/vi/umtZuUJOU38/0.jpg)](https://www.youtube.com/watch?v=umtZuUJOU38) ## Installation * Put an [Ubuntu Server image for Raspberry Pi](https://ubuntu.com/download/raspberry-pi) on a SDHC card. * Boot the Ubuntu Server SDHC on a Raspberry Pi 2, 3 or 4. * Login to the Raspberry Pi; username `ubuntu` and password `ubuntu` * You will be prompted to change the password * Clone the project * `git clone https://github.com/wimpysworld/desktopify.git` * Change your current directory to desktopify directory * `cd desktopify` * Convert the server to a desktop * `sudo ./desktopify --de ubuntu-mate` ### Usage ``` Usage ./desktopify --de <desktop environment> Available desktop environments are lubuntu kubuntu ubuntu ubuntu-budgie ubuntu-kylin ubuntu-mate ubuntu-studio xubuntu You can also pass the optional --oem option which will run a setup wizard on the next boot. ``` ## TODO - [ ] Emoji status ## DONE - [x] Install GPIO utilities and libraries - [x] Enable Bluetooth - [x] Make sure it's Ubuntu on a Pi - [x] Make Network Manager the default backend - [x] Prevent low power WiFi mode - [x] Disable overscan - [x] Enable fkms driver - [x] Enable boot splash - [x] Enable Firefox hardware acceleration - [x] Create a snap - [x] Kubuntu - [x] Lubuntu - [x] Ubuntu - [x] Ubuntu Budgie - [x] Ubuntu Kylin - [x] Ubuntu MATE - [x] Ubuntu Studio - [x] Xubuntu - [x] Drop `dpkg-architecture` requirement - [x] Optimise Ubuntu MATE (Marco) window manager - [x] Enable initial setup - [x] Prevent pointless re-installs - [x] Install snaps - [x] Install gpio tools
3,112
:notebook: Books, reference guides and resources on Regular Expressions, CLI one-liners, Scripting Languages and Vim.
# Scripting Course Books, reference guides and resources on Regular Expressions, CLI one-liners, Scripting Languages and Vim. ## Ebooks Free to read online versions: * [Understanding Python re(gex)?](https://learnbyexample.github.io/py_regular_expressions/) * [JavaScript RegExp](https://learnbyexample.github.io/learn_js_regexp/) * [Ruby Regexp](https://learnbyexample.github.io/Ruby_Regexp/) * [GNU grep and ripgrep](https://learnbyexample.github.io/learn_gnugrep_ripgrep/) * [GNU sed](https://learnbyexample.github.io/learn_gnused/) * [GNU awk](https://learnbyexample.github.io/learn_gnuawk/) * [Ruby one-liners cookbook](https://learnbyexample.github.io/learn_ruby_oneliners/) * [Perl one-liners cookbook](https://learnbyexample.github.io/learn_perl_oneliners/) * [100 Page Python Intro](https://learnbyexample.github.io/100_page_python_intro/) * [Practice Python Projects](https://learnbyexample.github.io/practice_python_projects/) * [Command line text processing with GNU Coreutils](https://learnbyexample.github.io/cli_text_processing_coreutils/) * [Vim reference guide](https://learnbyexample.github.io/vim_reference/) * [Computing from the Command Line](https://learnbyexample.github.io/cli-computing/) * [Command line text processing with Rust tools](https://learnbyexample.github.io/cli_text_processing_rust/) — work-in-progress :information_source: :moneybag: You can buy PDF/EPUB versions from [Gumroad](https://learnbyexample.gumroad.com/) or [Leanpub](https://leanpub.com/u/learnbyexample) :loudspeaker: :loudspeaker: Use [this coupon link](https://learnbyexample.gumroad.com/l/all-books/HappyPrice) to get **All books bundle** with 25% discount. ### Ebook drafts * [Command Line Text Processing](https://github.com/learnbyexample/Command-line-text-processing) — From finding text to search and replace, from sorting to beautifying text and more * `grep`, `sed`, `awk`, `perl` and `ruby` got their own books * Coreutils like `head`, `paste`, `sort`, etc were collated into a single book * remaining commands (`find` for example) were added to the *Computing from the Command Line* ebook * [Python Basics](https://github.com/learnbyexample/Python_Basics) — older version of *100 Page Python Intro* * [Ruby Scripting](https://github.com/learnbyexample/Ruby_Scripting) — examples based tutorial for Ruby scripting * [Perl Introduction](https://github.com/learnbyexample/Perl_intro) — Introductory course for Perl 5 through examples, geared towards VLSI engineers <br> ## Blog https://learnbyexample.github.io/ — my super duper awesome programming blog <br> ## Newsletter [learnbyexample weekly](https://learnbyexample.gumroad.com/l/learnbyexample-weekly) — programming resources, tips, tools, free ebooks and more. This is a free newsletter, delivered every Friday <br> ## Curated resources Here's my collection of learning resources. Thanks to [mdBook](https://github.com/rust-lang/mdBook), these lists also have an intelligent search feature to find resources based on keywords. * [Computer Science and Programming](https://learnbyexample.github.io/curated_resources/cs_programming.html) * [Python](https://learnbyexample.github.io/py_resources/) * [Linux CLI and Shell scripting](https://learnbyexample.github.io/curated_resources/linux_cli_scripting.html) * [Vim](https://learnbyexample.github.io/curated_resources/vim.html) * [Perl](https://learnbyexample.github.io/curated_resources/perl.html) * [Git and GitHub](https://learnbyexample.github.io/curated_resources/git_and_github.html) <br> ## dot files This repo also includes Bash and Vim customization files (files starting with `.`) based on my personal preferences. ⚠️ Do NOT copy these files directly to your home directory. You might overwrite useful settings already present. Understand the customizations and apply them manually. <br> ## Contributing * Please open an issue for typos/bugs/suggestions/etc * Even for pull requests, open an issue for discussion before submitting PRs * Share the repo with friends/colleagues, on social media, etc to help reach other learners * In case you need to reach me, mail me at `echo 'bGVhcm5ieWV4YW1wbGUubmV0QGdtYWlsLmNvbQo=' | base64 --decode` or ping me on [twitter](https://twitter.com/learn_byexample) <br> ## License This work is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-nc-sa/4.0/)
3,113
Wi-Fi Exploitation Framework
<p align="center"> <h1 align="center">WiFi Exploitation Framework</h1> </p> <p align="center"> <a href="#attacks">Attacks</a> • <a href="#features">Features</a> • <a href="#installation">Installation</a> • <a href="#uninstallation">Uninstallation</a> • <a href="#disclaimer">Disclaimer</a> </p> ## Introduction A fully offensive framework to the 802.11 networks and protocols with different types of attacks for WPA/WPA2 and WEP, automated hash cracking, and much more. Tested and supported in **Kali Linux**, **Parrot OS** and **Arch Linux**. If you have any error please open an issue (if you want to write it in spanish you can do it). If you have any doubt, please contact me via Discord ***D3Ext#5965*** If you don't know how wifi hacking works you can read my free course [here](https://d3ext.github.io/posts/Curso/), it's written in Spanish and I explain things from 0 - I recommend you my alfa adapter: **Alfa AWUS036ACM**, which works really great with both, 2.4 and 5 Ghz ## Attacks - Deauthentication Attack - Authentication Attack - Beacon Flood Attack - PMKID Attack - EvilTwin Attack - Passive/Stealthy Attack - Pixie Dust Attack - Null Pin Attack - WEP Protocol Attacks - Michael Exploitation Attack ## Features :ballot_box_with_check: WPA/WPA2, WPS and WEP Attacks :ballot_box_with_check: Auto handshake capture and cracking :ballot_box_with_check: Multiple templates for EvilTwin attack (even custom) :ballot_box_with_check: Check monitor mode and its status :ballot_box_with_check: 2.4Ghz and 5Ghz attacks :ballot_box_with_check: Descriptive attack logs (just done user side) :ballot_box_with_check: Custom wordlist selector ## Usage > Common usage of the framework ```sh wef -i wlan0 # Your interface name might be different ``` or ```sh wef --interface wlan0 ``` Once the application is running, type `help` to view more functions and useful info. ## Requirements > Don't install them manually, WEF takes care of that if you don't already have them aircrack-ng reaver mdk4 macchanger hashcat xterm hcxtools pixiewps python3 php hostadp dnsmasq ## Installation Checkout the [Wiki](https://github.com/D3Ext/WEF/wiki/Installation) where I have more info about the program ## Uninstallation Checkout the [Wiki](https://github.com/D3Ext/WEF/wiki/Uninstallation) ## Demo > Demo on a Parrot OS with Kitty Terminal <img src="https://raw.githubusercontent.com/D3Ext/WEF/main/images/wef-demo.png"> ## Special thanks to [ultrazar](https://github.com/ultrazar) who helped me a lot <3 ## Contributing Do you want to contribute with any interesting idea? You're in te right place `1` Open an issue to discuss your idea `2` Fork the repo `3` Create a branch `4` Commit your changes `5` Push to the branch `6` Create a new pull request ***New features and bugs reports are welcome*** ## Disclaimer Creator isn't in charge of any and has no responsibility for any kind of: - Unlawful or illegal use of the project. - Legal or Law infringement (acted in any country, state, municipality, place) by third parties and users. - Act against ethical and / or human moral, ethic, and peoples of the world. - Malicious act, capable of causing damage to third parties, promoted or distributed by third parties or the user through this software. ## License This project is under MIT license Copyright © 2023, *D3Ext*
3,114
A curated list of dotfiles resources.
# Awesome dotfiles A curated list of dotfiles resources. Inspired by the [awesome](https://github.com/sindresorhus/awesome) list thing. Note that some articles or tools may look old or old-fashioned, but this usually means they're battle-tested and mature (like dotfiles themselves). Feel free to propose new articles, projects or tools! ## Articles ### Introductions - [Getting started with dotfiles](https://www.webpro.nl/articles/getting-started-with-dotfiles) ([L. Kappert](https://github.com/webpro)) - [Getting started with dotfiles](https://driesvints.com/blog/getting-started-with-dotfiles/) ([D. Vints](https://github.com/driesvints)) - [Managing your dotfiles](https://www.webpro.nl/articles/managing-your-dotfiles) - [Dotfiles Are Meant to Be Forked](https://zachholman.com/2010/08/dotfiles-are-meant-to-be-forked/) - [Dotfile discovery](https://wynnnetherland.com/journal/dotfiles-discovery/) - [I do Dotfiles!](https://jogendra.dev/i-do-dotfiles) ### Tutorials - [Setting up a new (OS X) development machine: Part 3 - Dotfiles and custom SSH config](https://mattstauffer.com/blog/setting-up-a-new-os-x-development-machine-part-3-dotfiles-rc-files-and-ssh-config/) - [Setting Up a Mac Dev Machine From Zero to Hero With Dotfiles](https://code.tutsplus.com/tutorials/setting-up-a-mac-dev-machine-from-zero-to-hero-with-dotfiles--net-35449); [Part 2](https://code.tutsplus.com/tutorials/setting-up-a-mac-dev-machine-from-zero-to-hero-with-dotfiles-part-2--cms-23145) - [Using Git and GitHub to manage your dotfiles](http://blog.smalleycreative.com/tutorials/using-git-and-github-to-manage-your-dotfiles/) - [conf.d like directories for zsh/bash dotfiles](https://chr4.org/blog/2014/09/10/conf-dot-d-like-directories-for-zsh-slash-bash-dotfiles/) - [Managing your dotfiles](https://www.anishathalye.com/2014/08/03/managing-your-dotfiles/) - [The best way to store your dotfiles: A bare Git repository](https://www.atlassian.com/git/tutorials/dotfiles) - [Dotfiles Management](https://mitxela.com/projects/dotfiles_management) ### Shell startup - [Shell startup scripts](https://blog.flowblok.id.au/2013-02/shell-startup-scripts.html) - [Zsh/Bash startup files loading order](https://shreevatsa.wordpress.com/2008/03/30/zshbash-startup-files-loading-order-bashrc-zshrc-etc/) ### Using specific tools - [Using GNU Stow to manage your dotfiles](http://brandon.invergo.net/news/2012-05-26-using-gnu-stow-to-manage-your-dotfiles.html) - [Managing Dotfile Symlinks with GNU Stow](https://spin.atomicobject.com/2014/12/26/manage-dotfiles-gnu-stow/) - [Dotfiles and dev tools provisioned by Ansible](http://palcu.blogspot.com/2014/06/dotfiles-and-dev-tools-provisioned-by.html) - [Manage a development machine with Ansible](http://kreusch.com.br/blog/2013/12/03/manage-a-development-machine-with-ansible) ## Find dotfiles repos There are many great dotfiles repos out there, each containing their own inspiration and gems. One way to go through them is to [search GitHub for "dotfiles"](https://github.com/search?q=dotfiles&type=Repositories). Also see: - [Google for "dotfiles"](https://www.google.nl/search?q=dotfiles) - [Archlinux collection](https://wiki.archlinux.org/index.php/Dotfiles) - Tip: search for a filename on GitHub, e.g. [in:path .gitconfig](https://github.com/search?utf8=%E2%9C%93&type=Code&q=in%3Apath+.gitconfig). ## Example dotfiles repos A collection of the most popular, well-maintained, and collaborative dotfiles repositories & frameworks. Some projects contain just the dotfiles. Others go further by allowing you to easily add your own custom dotfiles, and some include scripts to manage dotfiles and plugins. ### Bash | Title | Description | Focus | | :------------------------------------------------------------------ | :------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------- | | [Bash it](https://github.com/Bash-it/bash-it) | Community bash framework. | Autocompletion, themes, aliases, custom functions. Well-structured framework. | | [Mathias’s dotfiles](https://github.com/mathiasbynens/dotfiles) | Sensible hacker defaults for macOS | Lots of goodness here, great collaborative community effort. | | [Maximum Awesome](https://github.com/square/maximum-awesome) | Config files for vim and tmux | Vim, tmux. Built for Mac OS X. | | [webpro's dotfiles](https://github.com/webpro/dotfiles) | macOS dotfiles | Bash, Homebrew, Brew Cask, Git, Node.js, Hammerspoon. | | [rootbeersoup's dotfiles](https://github.com/darrylabbate/dotfiles) | Effortless Bash, Vim and macOS configuration | A `curl \| sh` installer and a Makefile offer portable and effortless setup for either permanent or temporary configuration. | | [Luke's voidrice](https://github.com/LukeSmithxyz/voidrice) | Arch linux dotfile bootstrap | Bloatless, often suckless software. Vim config for editing documents in markdown or latex | ### Zsh | Title | Description | Focus | | :------------------------------------------------------------ | :-------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------- | | [thoughtbot dotfiles](https://github.com/thoughtbot/dotfiles) | Set of vim, zsh, git, and tmux configuration files | Zsh, vim, tmux, git, homebrew. Uses [rcm](https://github.com/thoughtbot/rcm). | | [oh-my-zsh](https://ohmyz.sh) | Community-driven framework for managing your zsh configuration. | Includes 200+ optional plugins (rails, git, OSX, hub, capistrano, brew, ant, php, python, etc), over 140 themes to spice up your morning, and an auto-update tool. | | [Prezto](https://github.com/sorin-ionescu/prezto) | The configuration framework for Zsh. | Enriches the command line interface environment with sane defaults, aliases, functions, auto completion, and prompt themes. | | [Dries's dotfiles](https://github.com/driesvints/dotfiles) | Simplified approach to dotfiles for macOS | Zsh, Oh My Zsh, macOS, Homebrew, Mackup | | [sobolevn's dotfiles](https://github.com/sobolevn/dotfiles) | Dotfiles for the developer happiness | Zsh, Brew, Sublime, Python, Node, Elixir | ### Fish | Title | Description | Focus | | :------------------------------------------------------- | :----------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- | | [oh-my-fish](https://github.com/oh-my-fish/oh-my-fish) | Community Fish framework. | Includes many plugins and themes, with installation, auto-update, and scaffolding tools. | | [Paul's dotfiles](https://github.com/paulirish/dotfiles) | Abundant dotfiles with a plethora of cool custom functions | Fish, macOS, Homebrew, Custom Shell functions | | [rkalis's dotfiles](https://github.com/rkalis/dotfiles) | Well-maintained dotfiles featuring Fish, repository management and Hammerspoon | Fish, macOS, Homebrew, Repository management, Hammerspoon | ### Ansible | Title | Description | Focus | | :------------------------------------------------------ | :------------------------------------------- | :------------------------------------------------------------------------------ | | [.dots](https://github.com/Addvilz/dots) | New and upgraded dotfiles, now with Ansible! | Completely automated desktop setup, configuration and maintenance using Ansible | | [sloria's dotfiles](https://github.com/sloria/dotfiles) | sloria's dotfiles as Ansible roles | Sets up a full local development environment with a single command | ## Tools - [Ansible](https://www.ansible.com) - Radically simple configuration-management, application deployment, task-execution, and multinode orchestration engine. - [bashdot](https://github.com/bashdot/bashdot) - Minimalist dotfile management framework written entirely in bash. - [chezmoi](https://github.com/twpayne/chezmoi) - Manage your dotfiles securely across multiple machines. - [comtrya](https://github.com/comtrya/comtrya) - Configuration management for localhost, written in Rust, for Linux, BSD, macOS, and Windows - [dotbare](https://github.com/kazhala/dotbare) - Manage dotfiles interactively with fzf. - [dotbot](https://github.com/anishathalye/dotbot) - Tool that bootstraps your dotfiles. - [dotdrop](https://github.com/deadc0de6/dotdrop) - Save your dotfiles once, deploy them everywhere. - [Fisher](https://github.com/jorgebucaran/fisher) - A package manager for Fish - [fresh](https://freshshell.com) - Keep your dotfiles fresh. Fresh is a tool to source shell configuration (aliases, functions, etc) from others into your own configuration files. - [GNU Stow](http://www.gnu.org/software/stow/) - Symlink farm manager which takes distinct packages of software and/or data located in separate directories on the filesystem, and makes them appear to be installed in the same place. - [homeshick](https://github.com/andsens/homeshick) - Git dotfile synchronizer written in Bash. - [mackup](https://github.com/lra/mackup) - Keep your application settings in sync (OS X/Linux). - [Pearl](https://github.com/pearl-core/pearl) - Package manager that allows to control, sync, share dotfiles as packages automatically activated during shells or editors startup. There is a wide range of packages already available in the [Official Pearl Hub](https://github.com/pearl-hub) (for Linux and OSX). - [rcm](https://github.com/thoughtbot/rcm) - rc file (dotfile) management. - [themer](https://github.com/themerdev/themer) - Manage and generate themes across your development tools from within your dotfiles. - [toml-bombadil](https://github.com/oknozor/toml-bombadil) - Templatize and manage your dotfiles. - [yadm](https://github.com/TheLocehiliosan/yadm) - Tool for managing a collection of files across multiple computers, using a shared Git repository and some additional features. ### macOS - [dockutil](https://github.com/kcrawford/dockutil) - Command line tool for managing dock items - [mas](https://github.com/mas-cli/mas) - Mac App Store command line interface - [zero](https://github.com/zero-sh/zero.sh) - Radically simple personal bootstrapping tool for macOS. ## Miscellaneous - [dotfiles.github.io](https://dotfiles.github.io/) - Your unofficial guide to dotfiles on GitHub. - [Filesystem Hierarchy Standard](https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard) - Directory structure and directory contents in Linux distributions. - [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) - [Summary](https://wiki.archlinux.org/title/XDG_Base_Directory) - [A lesson in shortcuts](https://www.reddit.com/r/linux/comments/at05xh/comment/egyj6lr/) - How the idea of "hidden" or "dot" files was born, by Rob Pike (originally posted on Google+) ## Related Lists - [Awesome Dev Env](https://github.com/jondot/awesome-devenv) - Curated list of awesome tools, resources and workflow tips making an awesome development environment. - [Awesome Fish](https://github.com/jorgebucaran/awsm.fish) - Curated list of packages, prompts, and resources for the fish shell. - [Awesome Shell](https://github.com/alebcay/awesome-shell) - Curated list of awesome command-line frameworks, toolkits, guides and gizmos. - [Awesome Sysadmin](https://github.com/awesome-foss/awesome-sysadmin) - A curated list of amazingly awesome open source sysadmin resources. - [Awesome Zsh Plugins](https://github.com/unixorn/awesome-zsh-plugins) - List of Zsh plugins suitable for use with oh-my-zsh, antigen & Prezto. - [Terminals Are Sexy](https://github.com/k4m4/terminals-are-sexy) - A curated list of Terminal frameworks, plugins & resources for CLI lovers. ## Archive/abandoned projects - [antigen](http://antigen.sharats.me) - [Bashstrap](https://github.com/barryclark/bashstrap) - [battleschool](https://github.com/spencergibb/battleschool) - [Bork](https://github.com/mattly/bork) - [Cider](https://github.com/msanders/cider) - [dev-setup](https://github.com/donnemartin/dev-setup) - [dotfiles](https://github.com/jbernard/dotfiles) - [dotstow](https://github.com/clayrisser/dotstow) - [Eduardo's dotfiles](https://github.com/eduardolundgren/dotfiles) - [ellipsis](https://github.com/ellipsis/ellipsis) - [emplace](https://github.com/tversteeg/emplace) - [holman does dotfiles](https://github.com/holman/dotfiles) - [homesick](https://github.com/technicalpickles/homesick) - [Kevin's dotfiles](https://github.com/kdeldycke/dotfiles) - [kody](https://github.com/jh3y/kody) - [OS X Defaults](https://github.com/kevinSuttle/macOS-Defaults) - [osxc](http://osxc.github.io) - [vcsh](https://github.com/RichiH/vcsh) ([article](https://blog.tfnico.com/2014/03/managing-dot-files-with-vcsh-and-myrepos.html), [article](https://www.kunxi.org/2014/02/manage-dotfiles-using-vcsh-and-mr/)) - [YADR](http://skwp.github.io/dotfiles/) ## License [![CC0](https://licensebuttons.net/p/zero/1.0/88x31.png)](https://creativecommons.org/publicdomain/zero/1.0/) To the extent possible under law, [Lars Kappert](https://www.webpro.nl) has waived all copyright and related or neighboring rights to this work.
3,115
:anchor: A curated list of awesome git hooks
<h1 align="center"> <a href="https://git-scm.com/"> <img width="455" src="https://github.com/compscilauren/awesome-git-hooks/blob/master/git-logo.png" alt="Awesome Git Hooks"></a><br>Awesome Git Hooks </h1> <p align="center"> <a href="https://awesome.re"><img src="https://awesome.re/badge-flat2.svg" alt="Awesome Lists"></a> <a href="https://github.com/CompSciLauren/awesome-git-hooks/blob/master/CONTRIBUTING.md"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square" alt="PRs welcome"></a> </p> # Awesome Git Hooks > :anchor: Easy-to-use git hooks for automating tasks during git workflows. Git hooks are custom scripts you can use to automate tasks which are triggered before or after a git command is executed. There are two groups of these hooks: client-side and server-side. Client-side hooks are triggered by operations such as committing and merging, while server-side hooks run on network operations such as receiving pushed commits. This repo contains helpful resources as well as a variety of git hook scripts that can be easily customized to serve different purposes. :heavy_check_mark: Nothing to install/download :heavy_check_mark: Code is well-documented :heavy_check_mark: Grab & go! Copy the code you want to use and paste into your .git/hooks folder Contributions are _always_ welcome! Please see our [Contribution Guidelines](CONTRIBUTING.md). Also, if you don't find the script you want below, you can [create a new issue](https://github.com/CompSciLauren/awesome-git-hooks/issues/new?assignees=&labels=enhancement&template=new-git-hook-script-request.md&title=) to request it. ## Contents - [Git Hook Scripts](#git-hook-scripts) - [commit-msg](#commit-msg) - [post-checkout](#post-checkout) - [post-update](#post-update) - [pre-commit](#pre-commit) - [prepare-commit-msg](#prepare-commit-msg) - [pre-push](#pre-push) - [pre-rebase](#pre-rebase) - [query-watchman](#query-watchman) - [update](#update) - [Quick Start](#quick-start) - [Tools](#tools) - [Written Guides](#written-guides) - [Video Guides](#video-guides) ## Git Hook Scripts Note: The icon next to each script signifies what language it is written in. | icon | language | | -------------------------------------------------------- | -------- | | <img width="14" src="bash-icon.png" alt="Bash Icon"> | `bash` | | <img width="14" src="python-icon.png" alt="Python Icon"> | `python` | | <img width="14" src="perl-icon.png" alt="Perl Icon"> | `perl` | ### commit-msg - [enforce-insert-issue-number](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/commit-msg-hooks/enforce-insert-issue-number.hook) - Make sure user did not delete the ISSUE-\[#] string that was generated by prepare-commit-msg/insert-issue-number.hook. <img width="14" src="python-icon.png" alt="Python Icon"> ### post-checkout - [delete-pyc-files](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/post-checkout-hooks/delete-pyc-files.hook) - Delete all .pyc files every time a new branch is checked out. <img width="14" src="python-icon.png" alt="Python Icon"> - [new-branch-alert](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/post-checkout-hooks/new-branch-alert.hook) - Display a message when a new branch is checked out for the first time. <img width="14" src="bash-icon.png" alt="Bash Icon"> ### post-update - [update-server-info](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/post-update-hooks/update-server-info.hook) - Prepare a packed repository for use over dumb transports (e.g. http). <img width="14" src="bash-icon.png" alt="Bash Icon"> ### pre-commit - [format-code](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/pre-commit-hooks/format-code.hook) - Run command to format code and re-add any files modified after formatting. <img width="14" src="bash-icon.png" alt="Bash Icon"> - [search-term](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/pre-commit-hooks/search-term.hook) - Fail commit if a specific term is found in the code. <img width="14" src="bash-icon.png" alt="Bash Icon"> - [spell-check-md-files](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/pre-commit-hooks/spell-check-md-files.hook) - Check files with .md extension for spelling errors. <img width="14" src="bash-icon.png" alt="Bash Icon"> - [verify-name-and-email](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/pre-commit-hooks/verify-name-and-email.hook) - Fail commit if user.name or user.email is incorrect. <img width="14" src="bash-icon.png" alt="Bash Icon"> ### prepare-commit-msg - [include-git-diff-name-status](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/prepare-commit-msg-hooks/include-git-diff-name-status.hook) - Include the output of "git diff --name-status -r" into the message, just before the "git status" output. <img width="14" src="bash-icon.png" alt="Bash Icon"> - [insert-issue-number](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/prepare-commit-msg-hooks/insert-issue-number.hook) - Insert issue number to beginning of the commit message. <img width="14" src="python-icon.png" alt="Python Icon"> ### pre-push - [prevent-bad-push](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/pre-push-hooks/prevent-bad-push.hook) - Prevent push of commits where the log message starts with "WIP" (work in progress). <img width="14" src="bash-icon.png" alt="Bash Icon"> ### pre-rebase - [prevent-rebase](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/pre-rebase-hooks/prevent-rebase.hook) - Prevent topic branches that are already merged to 'next' branch from getting rebased, because allowing it would result in rebasing already published history. <img width="14" src="bash-icon.png" alt="Bash Icon"> ### query-watchman - [fsmonitor-watchman](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/query-watchman-hooks/fsmonitor-watchman.hook) - Output to stdout all files that have been modified since a given time. <img width="14" src="perl-icon.png" alt="Perl Icon"> ### update - [update](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/update-hooks/prevent-unannotated-tags.hook) - Block unannotated tags from entering. <img width="14" src="bash-icon.png" alt="Bash Icon"> ## Quick Start 1. Pick a hook, any hook! Try the "verify-name-and-email" one if you're not sure where to start. 2. Navigate to your project's hooks folder (.git/hooks). 3. You should see a list of files already in there. Create a new file called the exact commit type that you want to use (eg: "commit-msg", "pre-rebase", "pre-commit", etc). Do not give it an extension. ![create new file](create-new-file.gif) 4. Open your new file and paste the code from the hook you chose out of this repo (eg: [verify-name-and-email.hook](https://github.com/CompSciLauren/git-hooks/blob/master/pre-commit-hooks/verify-name-and-email.hook)). 5. Save file. Done! Now the git hook will be triggered automatically. ## Tools - [Husky](https://github.com/typicode/husky) - Manage git hooks with a nice user interface. - [Overcommit](https://github.com/sds/overcommit) - A fully configurable and extendable git hook manager. - [Git Build Hook Maven Plugin](https://github.com/rudikershaw/git-build-hook) - Install Git hooks and config during a Maven build. - [CaptainHook](https://github.com/CaptainHookPhp/captainhook) - Git hooks manager for PHP developers. - [pre-commit](https://github.com/pre-commit/pre-commit) - A framework for managing and maintaining multi-language pre-commit hooks. ## Written Guides - [Git hooks documentation at git-scm.com](https://git-scm.com/docs/githooks) - [Git Pro book by Scott Chacon and Ben Straub](https://git-scm.com/book/en/v2) - [An Introduction to Git Hooks](https://www.sitepoint.com/introduction-git-hooks/) - [Atlassian Tutorial on Git Hooks](https://www.atlassian.com/ru/git/tutorials/git-hooks) - [Easy git hooks with husky](https://www.vojtechruzicka.com/githooks-husky/) - [Git Hooked](https://www.javascriptjanuary.com/blog/git-hooked 'Git Hooked') - [How To Use Git Hooks To Automate Development and Deployment Tasks](https://www.digitalocean.com/community/tutorials/how-to-use-git-hooks-to-automate-development-and-deployment-tasks) - [Automate Your Workflow with Git Hooks](https://hackernoon.com/automate-your-workflow-with-git-hooks-fef5d9b2a58c) - [Using JavaScript in Your Git Hooks](https://medium.com/@Sergeon/using-javascript-in-your-git-hooks-f0ce09477334 'Using JavaScript in Your Git Hooks') - [An In-Depth Look at Git Hooks](https://dzone.com/articles/an-in-depth-look-at-git-hooks) - [Git hooks and practical uses. Yes, even on Windows.](https://www.tygertec.com/git-hooks-practical-uses-windows/) - [Automatically Manage Git Hooks with Direnv](https://knpw.rs/blog/direnv-git-hooks) ## Video Guides - [Git Hooks Part 1 - Getting Started](https://www.youtube.com/watch?v=aB3eq52sZSU) - [Git hooks and practical uses. Yes, even on Windows.](http://www.youtube.com/watch?feature=player_embedded&v=fMYv6-SZsSo&t=140s) ## License [![CC0](http://mirrors.creativecommons.org/presskit/buttons/88x31/svg/cc-zero.svg)](https://creativecommons.org/publicdomain/zero/1.0/)<br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/1.0/">Creative Commons Attribution 1.0 International License</a>.
3,116
😎 A collection of awesome Git Hooks
# Awesome Git Hooks [![Awesome](https://awesome.re/badge.svg)](https://awesome.re) > A curated list of awesome [Git hooks](https://git-scm.com/docs/githooks) Git Hooks are scripts that run automatically every time a particular event occurs in a Git repository. ## Contents - [Useful Git Hooks scripts](#useful-git-hooks-scripts) - [Tools](#tools) - [Projects](#projects) - [Articles](#articles) - [Video Tutorials](#video-tutorials) - [Support](#support) ## Useful Git Hooks scripts - [pre-commit](https://github.com/aitemr/awesome-git-hooks/tree/master/pre-commit) - This hook is called before obtaining the proposed commit message. - [prepare-commit-msg](https://github.com/aitemr/awesome-git-hooks/tree/master/prepare-commit-msg) - Called after receiving the default commit message, just prior to firing up the commit message editor. - [pre-receive](https://github.com/aitemr/awesome-git-hooks/tree/master/pre-receive) - This is called on the remote repo just before updating the pushed refs. - [commit-msg](https://github.com/aitemr/awesome-git-hooks/tree/master/commit-msg) - Can be used to adjust the message after it has been edited in order to ensure conformity to a standard or to reject based on any criteria. - [pre-push](https://github.com/aitemr/awesome-git-hooks/tree/master/pre-push) - Called prior to a push to a remote. In addition to the parameters, additional information, separated by a space is passed in through stdin in the form of `<local ref> <local sha1> <remote ref> <remote sha1>`. - [pre-auto-gc](https://github.com/aitemr/awesome-git-hooks/tree/master/pre-auto-gc) - Is used to do some checks before automatically cleaning repos. - [pre-rebase](https://github.com/aitemr/awesome-git-hooks/tree/master/pre-rebase) - Called when rebasing a branch. Mainly used to halt the rebase if it is not desirable. - [applypatch-msg](https://github.com/aitemr/awesome-git-hooks/tree/master/applypatch-msg) - Can edit the commit message file and is often used to verify or actively format a patch's message to a project's standards. - [post-receive](https://github.com/aitemr/awesome-git-hooks/tree/master/post-receive) - This is run on the remote when pushing after the all refs have been updated. It does not take parameters, but receives info through stdin in the form of `<old-value> <new-value> <ref-name>`. - [post-rewrite](https://github.com/aitemr/awesome-git-hooks/tree/master/post-rewrite) - This is called when git commands are rewriting already committed data. - [post-rewrite](https://github.com/aitemr/awesome-git-hooks/tree/master/post-commit) - Called after a successful commit. Useful for triggering notifications, etc. ## Tools - [Husky](https://github.com/typicode/husky) - Git hooks made easy. - [Komondor](https://github.com/orta/Komondor) - Git Hooks for Swift projects. - [Quickhook](https://github.com/dirk/quickhook/) - Faster Git hook (pre-commit, etc.) runner. - [git-hooks](https://github.com/icefox/git-hooks/) - A tool to manage project, user, and global Git hooks. - [overcommit](https://github.com/brigade/overcommit/) - A fully configurable and extendable Git hook manager. - [Grunt GitHooks](https://github.com/wecodemore/grunt-githooks) - Setup, manage and update your hooks with Grunt. Can be used with all languages, supports templates. - [Autohook](https://github.com/nkantar/Autohook) - A very, very small Git hook manager with focus on automation. - [Githooks](https://github.com/rycus86/githooks) - Auto-install Git hook, that supports hooks in any language checked into Git and also shared repos. - [Hooks](https://www.npmjs.com/package/node-hooks) - A command line git hook management tool. - [Lefthook](https://github.com/Arkweid/lefthook) - Fast and powerful Git hooks manager for any type of projects. - [pre-commit](https://github.com/pre-commit/pre-commit) - A framework for managing and maintaining multi-language pre-commit hooks. ## Projects - [Lolcommits](https://github.com/mroth/lolcommits) - Takes a snapshot with your webcam every time you git commit code, and archives a lolcat style image with it. - [Podmena](https://github.com/bmwant/podmena) - Enhance your commit messages adding random emoji to it. - [Git Hooks Manager](https://github.com/icefox/git-hooks) - A tool to manage project, user, and global Git hooks for multiple Git repositories. - [Git::Hooks](https://github.com/gnustavo/Git-Hooks) - A framework for implementing Git (and Gerrit) hooks. - [git-pre-commit-hook](https://pypi.org/project/git-pre-commit-hook/) - Hook that blocks bad commits. Useful for Python-development. - [App::GitHooks](https://metacpan.org/pod/App::GitHooks) - A modular and easy to configure git hooks framework, supporting many plugins. - [Jig](https://pythonhosted.org/jig/) - A pre-commit hook on steroids. - [GitPHPHooks](https://github.com/wecodemore/GitPHPHooks) - Write your hooks in PHP, manage and organize them on a task and project level. Has an additional Hooks library on GitHub. - [git-hooks-php](https://github.com/BernardoSilva/git-hooks-php) - Git hooks for PHP based projects. - [commandbox-githooks](https://github.com/elpete/commandbox-githooks) - Git hooks for CommandBox CFML based projects. - [hooks4git](https://pypi.org/project/hooks4git/) - A simple, flexible and language agnostic git hook management approach. - [Commit Colors](https://github.com/sparkbox/commit-colors) - See a color swatch in your terminal every time you author a commit. ## Articles - [Official Documentation](https://git-scm.com/docs/githooks) - [Git Hooks (Part I): The Basics](http://omerkatz.com/blog/2013/2/15/git-hooks-part-1-the-basics) - [Git Hooks (Part II): Implementing Git Hooks using Python](http://omerkatz.com/blog/2013/5/23/git-hooks-part-2-implementing-git-hooks-using-python) - [Atlassian Git Hooks tutorial](https://ru.atlassian.com/git/tutorials/git-hooks) - [Tips for using Git pre commit hook](https://codeinthehole.com/tips/tips-for-using-a-git-pre-commit-hook/) - [Use a boostrap shell script to use Git Hooks in Mac with PowerShell and with IntelliJ](https://wilsonmar.github.io/git-hooks/) - [githooks.com](https://githooks.com) - [How To Use Git Hooks To Automate Development and Deployment Tasks](https://www.digitalocean.com/community/tutorials/how-to-use-git-hooks-to-automate-development-and-deployment-tasks) - [Automate your workflow with git hooks ](https://medium.com/backticks-tildes/how-to-automate-your-git-workflow-with-git-hooks-c905296c49bc) - [Automate your development workflow](https://medium.com/the-andela-way/git-hooks-beautifully-automate-tasks-stages-bfb29f42fea1) - [Deploying websites with a Git hook](http://ryanflorence.com/deploying-websites-with-a-tiny-git-hook/) - [The missing Git hooks documentation](https://longair.net/blog/2011/04/09/missing-git-hooks-documentation/) ## Video Tutorials - [Introduction to Git Hooks](https://www.youtube.com/watch?v=8-JL6NOTZOw) - [Git hooks, practical uses (yes, even on Windows)](https://www.youtube.com/watch?v=fMYv6-SZsSo) - [Life’s better with Git hooks](https://www.youtube.com/watch?v=RG26-Iozg70) - [Husky and the Git Hooks](https://www.youtube.com/watch?v=EpxkBgd8yq8) ## Support If you have a question, find a bug, or just want to say hi, please open an [issue on GitHub](https://github.com/aitemr/awesome-git-hooks/issues/new). If you want to contribute, please read the [guide](./contributing.md). ## License [![CC0](http://mirrors.creativecommons.org/presskit/buttons/88x31/svg/cc-zero.svg)](https://creativecommons.org/publicdomain/zero/1.0/) To the extent possible under law, [Islam Temirbek](https://aitemr.github.io) has waived all copyright and related or neighboring rights to this work.
3,117
Bash-my-AWS provides simple but powerful CLI commands for managing AWS resources
# Bash-my-AWS Bash-my-AWS is a simple but powerful set of CLI commands for managing resources on Amazon Web Services. They harness the power of Amazon's AWSCLI, while abstracting away verbosity. The project implements some innovative patterns but (arguably) remains simple, beautiful and readable. **Note: Extensive documentation at https://bash-my-aws.org/** ![screencast](docs/images/bma-02-2.gif) ## Introduction - [Short, Memorable Commands](#short-memorable-commands) - [Shell Command Completion (including AWS resources)](#shell-command-completion) - [Unix Pipeline Friendly (instead of JSON)](#unix-pipeline-friendly) - [Convenient Shortcuts](#convenient-shortcuts) ### Short, Memorable Commands There are two main types of commands. **1. Resource Listing Commands** These generally consist of the pluralised form of the resource name. ```shell $ buckets example-assets 2019-12-08 02:35:44.758551 example-logs 2019-12-08 02:35:52.669771 example-backups 2019-12-08 02:35:56.579434 ``` ```shell $ stacks nagios CREATE_COMPLETE 2011-05-23T15:47:44Z NEVER_UPDATED NOT_NESTED postgres01 CREATE_COMPLETE 2011-05-23T15:47:44Z NEVER_UPDATED NOT_NESTED postgres02 CREATE_COMPLETE 2011-05-23T15:47:44Z NEVER_UPDATED NOT_NESTED prometheus CREATE_COMPLETE 2011-05-23T15:47:44Z NEVER_UPDATED NOT_NESTED ``` ```shell $ keypairs alice 8f:85:9a:1e:6c:76:29:34:37:45:de:7f:8d:f9:70:eb bob 56:73:29:c2:ad:7b:6f:b6:f2:f3:b4:de:e4:2b:12:d4 carol 29:4e:1c:cb:ba:d4:85:0e:4f:b6:34:4c:d4:79:32:00 ``` **2. Resource detail/action commands** These generally consist of a resource name and action separated by a hyphen. This makes discovering them via shell completion simple. Some retrieve information about resources while others make changes to them. ```shell $ keypair-delete alice bob You are about to delete the following EC2 SSH KeyPairs: alice bob Are you sure you want to continue? y ``` See the [Command Reference](https://bash-my-aws.org/command-reference/) for a full list of commands. ### Shell Command Completion In the example above, shell autocompletion retrieved the existing EC2 Keypair names (`alice`, `bob`) from AWS. This helps avoid the need to rely on human memory or terminal copypasta. Additionally, all of the bash-my-aws commands are available as completions for the `bma` command, so `bma[tab][tab]` will produce a list of all of the available commands. ### Unix Pipeline Friendly The commands themselves are line oriented and work nicely in unix pipelines with other unix commands (e.g. `grep`, `awk`, etc). ```shell $ stacks | grep postgres postgres01 CREATE_COMPLETE 2011-05-23T15:47:44Z NEVER_UPDATED NOT_NESTED postgres02 CREATE_COMPLETE 2011-05-23T15:47:44Z NEVER_UPDATED NOT_NESTED ``` They also work incredibly well with each other due to the way they treat input from STDIN. The first token from each line of STDIN is taken to be a resource identifier (and the rest is discarded). ```shell $ stacks | grep postgres | stack-delete You are about to delete the following stacks: postgres01 postgres02 Are you sure you want to continue? y ``` *Some users have compared this User Experience to functionality in Windows Powershell.* ### Convenient Shortcuts Bash-my-AWS is insanely simple to pick up and start using but contains a lot of convenient shortcuts you can make use of. Example: resource listing commands accept a filter argument, removing the need for `| grep`. In the following example someone has given a CloudFormation stack a really long name: ```shell $ stacks nagios CREATE_COMPLETE 2011-05-23T15:47:44Z NEVER_UPDATED NOT_NESTED postgres01 DELETE_COMPLETE 2011-05-23T15:47:44Z NEVER_UPDATED NOT_NESTED postgres02 DELETE_COMPLETE 2011-05-23T15:47:44Z NEVER_UPDATED NOT_NESTED prometheus CREATE_COMPLETE 2011-05-23T15:47:44Z NEVER_UPDATED NOT_NESTED stack-with-a-annoyingly-long-name CREATE_COMPLETE 2011-05-23T15:47:44Z NEVER_UPDATED NOT_NESTED ``` This affects the output when we look at our Postgres stacks: ```shell $ stacks | grep postgres postgres01 DELETE_COMPLETE 2011-05-23T15:47:44Z NEVER_UPDATED NOT_NESTED postgres02 DELETE_COMPLETE 2011-05-23T15:47:44Z NEVER_UPDATED NOT_NESTED ``` The resource listing command can filter output before applying `column`. ```shell $ stacks postgres postgres01 DELETE_COMPLETE 2011-05-23T15:47:44Z NEVER_UPDATED NOT_NESTED postgres02 DELETE_COMPLETE 2011-05-23T15:47:44Z NEVER_UPDATED NOT_NESTED ``` ## Quickstart ### Prerequisites * [awscli](http://aws.amazon.com/cli/) * [bash](https://www.gnu.org/software/bash/) * [jq-1.4](http://stedolan.github.io/jq/download/) or later (for stack-diff) ### Optional Packages * [colordiff](https://www.colordiff.org/) to show stack-diff in color * [icdiff](https://github.com/jeffkaufman/icdiff) to show stack-diff in color and side-by-side ### Installation As shown below, you may simply clone the GitHub repo and source the files required. (You should probably fork it instead to keep your customisations) ```Shell $ git clone https://github.com/bash-my-aws/bash-my-aws.git ${BMA_HOME:-$HOME/.bash-my-aws} ``` Put the following in your shell's startup file: ```Shell export PATH="$PATH:${BMA_HOME:-$HOME/.bash-my-aws}/bin" source ${BMA_HOME:-$HOME/.bash-my-aws}/aliases # For ZSH users, uncomment the following two lines: # autoload -U +X compinit && compinit # autoload -U +X bashcompinit && bashcompinit source ${BMA_HOME:-$HOME/.bash-my-aws}/bash_completion.sh ``` #### Why use shell aliases? `Bash-my-AWS` began as a collection of bash functions, sourced into your shell. More recently, the default suggestion has been to load aliases that execute a small wrapper script that loads the functions and executes the desired function. After years of `zsh` users asking for support, one stepped up and identified a changes that would eliminate any shell compatibility problems without compromising the functionaility, simplicity and discoverability of the project. Massive thanks to [@ninth-dev](https://github.com/ninth-dev) for this. # bash users may source the functions instead of loading the aliases if [ -d ${HOME}/.bash-my-aws ]; then for f in ~/.bash-my-aws/lib/*-functions; do source $f; done fi ## Usage ### Running Commands The default way to run the commands is using the aliases: ```ShellSession $ instances i-e6f097f6ea4457757 ami-123456789012 t3.nano running example-ec2-ap-southeast-2 2019-12-07T08:12:00.000Z ap-southeast-2a None i-b983805b4b254f749 ami-123456789012 t3.nano running postfix-prod 2019-12-07T08:26:30.000Z ap-southeast-2a None i-fed39ebe7204dfd37 ami-123456789012 t3.nano running postfix-prod 2019-12-07T08:26:34.000Z ap-southeast-2a None i-47955eb46d98b4dd8 ami-123456789012 t3.nano running prometheus 2019-12-07T08:27:02.000Z ap-southeast-2a None i-8d25b78d40d17f38a ami-123456789012 t3.nano running plex-server 2019-12-07T08:27:38.000Z ap-southeast-2a None ``` It's also possible to run them using the `bma` wrapper. (This is sometimes required when using a restrictive auth tool.) ```ShellSession $ bma instances i-e6f097f6ea4457757 ami-123456789012 t3.nano running example-ec2-ap-southeast-2 2019-12-07T08:12:00.000Z ap-southeast-2a None i-b983805b4b254f749 ami-123456789012 t3.nano running postfix-prod 2019-12-07T08:26:30.000Z ap-southeast-2a None i-fed39ebe7204dfd37 ami-123456789012 t3.nano running postfix-prod 2019-12-07T08:26:34.000Z ap-southeast-2a None i-47955eb46d98b4dd8 ami-123456789012 t3.nano running prometheus 2019-12-07T08:27:02.000Z ap-southeast-2a None i-8d25b78d40d17f38a ami-123456789012 t3.nano running plex-server 2019-12-07T08:27:38.000Z ap-southeast-2a None ``` ### Discovering Commands For each resource type, there is a command to list them: ```shell $ instances i-e6f097f6ea4457757 ami-123456789012 t3.nano running example-ec2-ap-southeast-2 2019-12-07T08:12:00.000Z ap-southeast-2a None i-b983805b4b254f749 ami-123456789012 t3.nano running postfix-prod 2019-12-07T08:26:30.000Z ap-southeast-2a None i-fed39ebe7204dfd37 ami-123456789012 t3.nano running postfix-prod 2019-12-07T08:26:34.000Z ap-southeast-2a None i-47955eb46d98b4dd8 ami-123456789012 t3.nano running prometheus 2019-12-07T08:27:02.000Z ap-southeast-2a None i-8d25b78d40d17f38a ami-123456789012 t3.nano running plex-server 2019-12-07T08:27:38.000Z ap-southeast-2a None ``` and a number of commands to act on these resources: ```ShellSession $ instance-[TAB][TAB] instance-asg instance-ssh-details instance-termination-protection instance-az instance-stack instance-termination-protection-disable instance-console instance-start instance-termination-protection-enable instance-dns instance-state instance-type instance-iam-profile instance-stop instance-userdata instance-ip instance-tags instance-volumes instance-ssh instance-terminate instance-vpc ``` Whether you're new to the tools or just have a bad memory, bash completion makes discovering these commands simple. See the [Command Reference](https://bash-my-aws.org/command-reference/) for a full list of commands and usage examples. ### Piping Between Commands This is where the magic happens! The first token on each line is almost always a resource identifier. When you pipe output between the commands they just take the first token from each line. ```ShellSession $ instances | grep postfix | instance-ip i-b983805b4b254f749 10.190.1.70 54.214.71.51 i-fed39ebe7204dfd37 10.135.204.82 54.214.26.190 ``` !!! Note Most commands that list resources (`stacks`, `instances` , etc) accept filter term as first arg. As well as reducing keystrokes, it can also improve output as columnisation is done after filtering. $ instances postfix | instance-ip i-b983805b4b254f749 10.190.1.70 54.214.71.51 i-fed39ebe7204dfd37 10.135.204.82 54.214.26.190 ### Inspecting Commands For those interested in how it works: - Each command is a bash function. - Most are *very* simple and wrap an AWSCLI command. For a quick look at how a command works, you can use `bma type`: ```shell $ bma type instances instances is a function instances () { local instance_ids=$(__bma_read_inputs); local filters=$(__bma_read_filters $@); aws ec2 describe-instances $([[ -n ${instance_ids} ]] && echo --instance-ids ${instance_ids}) --query " Reservations[].Instances[][ InstanceId, ImageId, InstanceType, State.Name, [Tags[?Key=='Name'].Value][0][0], LaunchTime, Placement.AvailabilityZone, VpcId ]" --output text | grep -E -- "$filters" | LC_ALL=C sort -b -k 6 | column -s' ' -t } ``` A prettier version can be found in the source code: ```shell # ~/.bash-my-aws/lib/instance-functions instances() { local instance_ids=$(__bma_read_inputs) local filters=$(__bma_read_filters $@) aws ec2 describe-instances \ $([[ -n ${instance_ids} ]] && echo --instance-ids ${instance_ids}) \ --query " Reservations[].Instances[][ InstanceId, ImageId, InstanceType, State.Name, [Tags[?Key=='Name'].Value][0][0], LaunchTime, Placement.AvailabilityZone, VpcId ]" \ --output text | grep -E -- "$filters" | LC_ALL=C sort -b -k 6 | column -s$'\t' -t } ``` For more info on AWSCLI query syntax, check out [http://jmespath.org/tutorial.html](http://jmespath.org/tutorial.html)
3,118
Bash-like shell based on Clojure
<img src="doc/img/logo/verticalversion.png" align="right" alt="closh" height="150px" style="border: none; float: right;"> # closh - Bash-like shell based on Clojure [![Chat about Closh at Zulip](https://img.shields.io/badge/zulip-join_chat-brightgreen.svg)](https://clojurians.zulipchat.com/#narrow/stream/195273-closh) [![Join the chat at https://gitter.im/closh/Lobby](https://badges.gitter.im/closh/Lobby.svg)](https://gitter.im/closh/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build status on CircleCI](https://circleci.com/gh/dundalek/closh.svg?style=shield)](https://circleci.com/gh/dundalek/closh) [![GitHub release](https://img.shields.io/github/tag/dundalek/closh.svg?label=release&colorB=blue)](https://github.com/dundalek/closh/releases) > **Status update 2022**: Closh is now on hiatus. > Although the initial proof of concept turned out promising, it would take much more work to make it a robust tool that could be relied upon by a wider audience. > For now I recommend using [fish](https://fishshell.com/) as an interactive shell and [babashka](https://babashka.org/) for scripts. Closh combines the best of traditional unix shells with the power of [Clojure](https://clojure.org/). It aims to be a modern alternative to bash. Demo showing how to execute commands and using Clojure to manipulate outputs in shell: ![closh demo screencast](./doc/img/demo.gif) Why try to reinvent bash? - Bash has obscure syntax for non-trivial operations and lots of WTF moments. - It treats everything as text while we mostly need to manipulate structured information. - It is a large codebase which makes it difficult to hack on it and try innovative ideas. Which is one of the reasons why the shell did not improve much in recent decades. - Traditional shells are limited in terms of presentation and discoverability, what if we could bring back richer environment as imagined by lisp machines? Why shell based on Clojure(Script)? - Clojure's has a simple syntax and well-thought design which makes it pleasurable to work with. - Its extensive collection of powerful functions for data manipulation is suitable to provide solutions for daily tasks. - Write shell scripts in a language you use daily for development so you don't have to google arcane shell constructs every time you need to do anything but simplest tasks. - Less amount and more composable code allows to experiment with new features and ideas. **Warning:** *Closh is still in a early stage and under a heavy development, has many rough edges and is subject to change a lot. Closh is tested on Linux, should run on macOS too.* ## Community and Contribution If you have feedback about a specific feature or found a bug please open an [issue](https://github.com/dundalek/closh/issues). Use [reddit](https://reddit.com/r/closh) for general discussion and to share scripts and workflows. Chat room is on [zulip](https://clojurians.zulipchat.com/#narrow/stream/195273-closh) or [gitter](https://gitter.im/closh/Lobby). If you would like to contribute take look at [open issues](https://github.com/dundalek/closh/issues). Leave a comment if you find anything interesting and we can improve the project together. ## Install **Windows** proper is currently **NOT supported**, but it should run under WSL 2. If you know your way around with Windows, we need your help (see [#54](https://github.com/dundalek/closh/issues/54)). **[Try closh online](https://repl.it/@dundalek/closh-playground)** in the browser without installing anything. ### Clojure/JVM version Download the jar file from the [releases page](https://github.com/dundalek/closh/releases) and run it with: ```sh java -jar closh-zero.jar ``` The jar file also contains a special header, so once you make it executable you can run it directly: ```sh chmod +x closh-zero.jar ./closh-zero.jar ``` It can also run with `clojure` CLI: ```sh clojure -Sdeps '{:deps {closh {:git/url "https://github.com/dundalek/closh.git" :tag "v0.5.0" :sha "6a7c0aa293616e2d28f7f735e915a301e44d2121"}}}' -m closh.zero.frontend.rebel ``` ### ClojureScript/Lumo version Install closh (requires [Node.js](https://nodejs.org/) version 9.x, support for version 10 is in progress, see [#113](https://github.com/dundalek/closh/issues/113)): ``` npm install -g closh ``` If you get a [permission error](https://github.com/dundalek/closh/issues/85) then try: ``` npm install -g closh --unsafe-perm ``` To install development version from master branch: ``` npm i -g dundalek/closh ``` ## Quick Start Start the shell: ```sh closh ``` Run simple commands like you are used to: ```clojure $ echo hi $ git status $ ls -l *.json ``` Commands starting with a parenthesis are evaluated as Clojure code: ```clojure $ (+ 1 2) ; => 3 ``` The power comes from combining shell commands and Clojure: ```clojure $ echo hi | (clojure.string/upper-case) ; => HI $ ls *.json |> (reverse) ; Count number of files grouped by first letter sorted by highest count first $ ls |> (group-by first) | (map #(update % 1 count)) | (sort-by second) | (reverse) ``` If you like closh you can set it as your default shell. Be careful and first test closh from other shell to make sure it works on your machine so you don't get locked out of shell (after `chsh` you need to log out and log back in for changes to take effect): ```sh which closh | sudo tee -a /etc/shells chsh -s $(which closh) ``` For the JVM version you can make it the default shell similarly like: ```sh closh=/path/to/closh-zero.jar chmod +x $closh echo $closh | sudo tee -a /etc/shells chsh -s $closh ``` ## Documentation - [Guide and Reference](./doc/guide.md) - Introduction to closh and basic configuration - [Shell scripting](./doc/scripting.md) - Guide how to use Closh to write shell scripts - [Cookbook](./doc/cookbook.md) - Recipes for integration of other tools like NVM, Autojump, etc. - [Design Principles](./doc/principles.md) - Learn about the philosophy and what guides design decisions - [Tech notes](./doc/tech.md) - Read about internals and architecture - [Notes on Existing Shells](./doc/notes.md) - [Changelog](./CHANGELOG.md) ## Roadmap #### Terminal UI improvements and exploration Explore innovate UI ideas, explore what a shell could become and all possibilities within an ASCII terminal. The goal is to reimagine what people think a command line interface is without having to lose its core power. - [ ] Try to integrate [Liquid](https://github.com/mogenslund/liquid) as the editor interface, which would enable us: - [ ] Better and more flexible readline experience - [ ] Customizable key bindings - [ ] Try to explore [Trikl](https://github.com/lambdaisland/trikl) for building [interactive command-line interfaces](http://dundalek.com/entropic/combining-cli-and-gui/) - [ ] Data helpers that automatically parse command output into data structures - [ ] Automatic abbreviation suggestion - [ ] Explore launcher functionality similar to Alfred, Lacona and others #### More UI exploration Explore if we could take shell power and functionality and lift it from the boundaries set by ASCII terminals. - [ ] Structured graphical output ala [TermKit](https://github.com/unconed/TermKit) or [lisp machines](https://youtu.be/o4-YnLpLgtk?t=3m12s) - [ ] Explore possibilty of a web interface #### Stabilization and performance I hope that new UI ideas above will get people excited and interested. After that we should work on stabilization and adding all the remaining features people are used to from traditional shells. - [ ] Implement a low-level native pipeline library to improve performance - [ ] Make it more robust and better error handling - [ ] Job control ## Limitations ### JVM version (CLJ) - [Abbreviations do not work](https://github.com/dundalek/closh/issues/151) - Cannot redirect STDIO >= 3 (Java ProcessBuilder limitation) ### Lumo version (CLJS) - No script mode - No syntax highlighting - [Prompt quirks](https://github.com/dundalek/closh/issues/71) - Synchronous execution hacks (via deasync library) ## Development Clone the repo and install dependencies ``` git clone [email protected]:dundalek/closh.git cd closh npm install ``` Run the cljs app ``` npm start ``` Run the clj app ``` clojure -m closh.zero.frontend.rebel ``` Run tests once ``` npm run test ``` Re-run tests on change ``` npm run test-auto ``` ### Manual Java builds Run `npm run pkg-java`. The resulting binary will be in `target/closh-zero.jar`. ## Sponsors Thank you for the support: - [AdGoji](https://www.adgoji.com/) ## Mentions - [Hacker News](https://news.ycombinator.com/item?id=15600928) - [root.cz](https://www.root.cz/clanky/softwarova-sklizen-19-12-2018/) ## Copyright & License Copyright (c) Jakub Dundalek and contributors Distributed under the Eclipse Public License 1.0 (same as Clojure). Logo created by [@batarian71](https://github.com/batarian71) under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
3,119
A professional cross-platform SSH/Sftp/Shell/Telnet/Serial terminal.
# WindTerm A Quicker and better SSH/Telnet/Serial/Shell/Sftp client for DevOps. _Hello WindTerm :rose:, hello world!_ **We're just beginning! If you want a high performance text editor, you can try [WindEdit](https://www.github.com/kingToolbox/WindEdit/).** # License **Completely FREE for commercial and non-commercial use without limitations.** **All released source codes (except thirdparty directory) are provided under the terms of Apache-2.0 license.** # Introduction See [Intro Videos](https://kingtoolbox.github.io) # Download **Linux binary**, **MacOS binary** and **Windows binary**: https://github.com/kingToolbox/WindTerm/releases # Source Code WindTerm is a **partial** open source project, and the source will be gradually opened. Open source code includes, but is not limited to, the classes that can be used independently, such as functional, algorithms, gui widgets, etc., as well as functional libraries, such as network, protocols, etc., as well as all types that require open source according to the license. # Issues and feature requests Any issues and feature requests are welcome. Please click [issues](https://github.com/kingToolbox/WindTerm/issues) to commit an issue or a feature request. Please click [Discussion](https://github.com/kingToolbox/WindTerm/discussions) to discuss anything about SSH, SFtp, Shell(Linux shell, Windows cmd and powershell), Telnet, Serial and WindTerm. # Screenshots Main Window (zsh): ![MainWindow](https://github.com/kingToolbox/WindTerm/blob/master/images/screenshots/WindTerm.png) Split views: ![SplitView](https://github.com/kingToolbox/WindTerm/blob/master/images/screenshots/SplitView.png) DigeWhite Theme: ![DigeWhite Theme](https://github.com/kingToolbox/WindTerm/blob/master/images/screenshots/WindTerm_DigeWhite_Theme.png) # Features ### SSH, Telnet, Tcp, Shell, Serial - SSH v2, Telnet, Raw Tcp, Serial, Shell protocols implemented. [Intro Video](https://kingtoolbox.github.io/2020/01/22/new-session/) - Supports SSH auto execution when session authenticated. - Supports SSH ControlMaster. - Supports SSH ProxyCommand or ProxyJump. [Intro Video](https://kingtoolbox.github.io/2021/03/11/proxycommand/) - Supports SSH agent. [Intro Video](https://kingtoolbox.github.io/2020/08/22/ssh_agent/) - Supports SSH auto login with password, public-key, keyboard-interactive, gssapi-with-mic. [Intro Video](https://kingtoolbox.github.io/2020/01/23/auto-login/) - Supports X11 forwarding. [Intro Video](https://kingtoolbox.github.io/2020/07/21/x11_forwarding/) - Supports direct/local port forwarding, reverse/remote port forwarding and dynamic port forwarding. [Intro Video](https://kingtoolbox.github.io/2020/07/21/port_forwarding/) - Supports XModem, YModem and ZModem. [Intro Video](https://kingtoolbox.github.io/tags/modem/) - Integrated sftp, scp client, supports download, upload, remove, rename, make new file/directory and so on. [Intro Video](https://kingtoolbox.github.io/tags/transfer/) - Integrated local file manager, supports move to, copy to, copy from, remove, rename, make new file/directory and so on. - Supports Windows Cmd, PowerShell and Cmd, PowerShell as administrator. - Supports Linux bash, zsh, powershell core and so on. - Supports MacOS bash, zsh, powershell core and so on. ### GUI - **Supports Windows, MacOS and Linux.** - **Supports Multilingual User Interface.** - Supports Unicode 13. - Session dialog and session tree. [Intro Video](https://kingtoolbox.github.io/2020/01/22/manage-sessions/) - **Auto Completion.** [Intro Video](https://kingtoolbox.github.io/tags/auto-completion/) - **Free Type Mode.** [Intro Video](https://kingtoolbox.github.io/2022/04/12/free_type_mode/) - **Focus Mode.** [Intro Video](https://kingtoolbox.github.io/2021/06/28/ui_focus_mode/) - **Sync Input.** [Intro Video](https://kingtoolbox.github.io/2021/05/27/sync-input/) - **Enhanced protection of the session username and password.** [Intro Video](https://kingtoolbox.github.io/2021/03/11/protection-username-password/) - **Command palette.** [Intro Video](https://kingtoolbox.github.io/tags/command-palette/) - **Command sender.** [Intro Video](https://kingtoolbox.github.io/tags/sender/) - **Explorer Pane.** [Intro Video](https://kingtoolbox.github.io/2021/05/27/explorer/) - **Shell Pane.** - **Quick Bar.** [Intro Video](https://kingtoolbox.github.io/2020/08/22/quickbar/) - **Paste Dialog.** [Intro Video](https://kingtoolbox.github.io/2020/08/22/paste_dialog/) - **Local and remote modes with vim keybindings. (Using Shift+Enter key to switch between remote and local mode**) [Intro Video](https://kingtoolbox.github.io/2020/06/21/keyboard-modes/) - Supports time stamp, folding, outlining, split views. - **Supports powerline in Linux and PowerShell, e.g. Oh-My-Zsh, Oh-My-Posh.** [Intro Image](https://github.com/kingToolbox/WindTerm#screenshots) - Supports color schemes like vscode. [Intro Video](https://kingtoolbox.github.io/2020/01/23/highlight/) - Supports searching and previewing. [Intro Video](https://kingtoolbox.github.io/2020/01/22/search-and-mark/) - Supports highlighting the opening and closing delimiter, such as (), [], {} and the customed delimiters. [Intro Video](https://kingtoolbox.github.io/2020/06/28/pair/) - Supports changing the UI theme. [Intro Video](https://kingtoolbox.github.io/2020/09/18/theme/) - Supports setting the tab color. [Intro Video](https://kingtoolbox.github.io/2020/09/18/tabbar-change-tabcolor/) - Supports searching over the opened tabs. [Intro Video](https://kingtoolbox.github.io/2021/03/11/tabbar-search-tab/) - Supports closing tabs to the right. - Supports setting the windows transparency. [Intro video](https://kingtoolbox.github.io/2020/11/13/windows-opacity/) - Supports select-to-copy, right-click-to-paste or middle-click-to-paste. - Supports searching text online with Google, Bing, Github, Stackoverflow, Wikipedia and DuckDuckGo. [Intro video](https://kingtoolbox.github.io/2020/11/13/search-online/) - Supports hiding mouse cursor while typing. - **Supports locking screen.** [Intro video](https://kingtoolbox.github.io/2021/04/23/lock-screen/) ### Term - Supports vt100, vt220, vt340, vt420, vt520, xterm, xterm-256-colors. - Supports unicode, emojis, true-color, mouse protocol, etc. - Supports auto wrap mode. [Intro Video](https://kingtoolbox.github.io/2020/01/22/auto-wrap/) - Protocols and terms can be customed. - All vttest tests have passed except Tektronix 4014. ### Session - **Supports HTTP and SOCKS5 proxy.** [Intro Video](https://kingtoolbox.github.io/2021/03/11/proxy-http-socks5/) - **Supports Jump Server proxy.** [Intro Video](https://kingtoolbox.github.io/2021/03/11/proxy-jump-server/) - Supports manual and automated session logging. [Intro Video](https://kingtoolbox.github.io/tags/logging/) - Rename and duplicate session. [Intro Video](https://kingtoolbox.github.io/tags/tabbar/) - Restore last sessions and layouts when restart. [Intro Video](https://kingtoolbox.github.io/2020/01/22/restore-sessions/) - Supports opening a specific session or set of sessions on startup. ### Performance - Dynamic memory compression, typically `20%` to `90%` of the working memory load can be reduced. - High performance, low memory, low latency. [Intro Video](https://kingtoolbox.github.io/2020/01/23/windterm-putty-performance/) # Sftp Performance The hardware used for generating the data in these benchmarks was windows 10 - 2.3 GHz Intel Core i5 and 8GB memory. **WindTerm1.72, WindTerm 1.2, FileZilla 3.48.1, WinSCP 5.17.2 (Build 10278)** tests are performed on WSL(Ubuntu 18.04.2). The version of clients: | Application | Version | Release Date | | --- | --- | --- | | windterm | v1.72 | 2020-10-25 | | windterm | v1.2 | 2020-06-15 | | FileZilla | v3.48.1 | 2020-05-19 | | WinScp | v5.17.2 (Build 10278) | 2020-03-09 | **All test data is for reference only.** ### 5GB huge file (5,154,830 KB), generated by random data | | Download Time | Download Rate | Upload Time | Upload Rate | | --- | --- | --- | --- | --- | | WindTerm 1.72 (Use high speed transfer) | **23s** | **216.3 MB/s** | **20s** | **247.0 MB/s** | | WindTerm 1.72 | **23s** | **214.7 MB/s** | **20s** | **244.0 MB/s** | | WindTerm 1.2 | 37s | 139.3 MB/s | 43s | 119.9 MB/s | | FileZilla | 32s | 161.1 MB/s | 30s | 171.8 MB/s | | WinSCP | 81s | 63.7 MB/s | 91s | 56.7 MB/s | ### 4400 files, 16 folders (107,042 KB), unzipped from [vim-7.4.1049.zip](https://github.com/vim/vim/archive/v7.4.1049.zip) | | Download Time | Download Rate | Upload Time | Upload Rate | | --- | --- | --- | --- | --- | | WindTerm 1.7 | **26s** | **3.9 MB/s** | 13s | 8.1 MB/s | | WindTerm 1.2 | 32s | 3.4 MB/s | **10s** | **10.7 MB/s** | | FileZilla | 48s | 2.2 MB/s | 35s | 3.1 MB/s | | WinSCP | 42s | 2.6 MB/s | 12s | 8.9 MB/s | # Terminal Performance The hardware used for generating the data in these benchmarks was windows 10 - 2.3 GHz Intel Core i5 and 8GB memory. MacOs 10.13 - 2.3 GHz Intel Core i5 and 8GB memory. **WindTerm 1.72, rxvt, putty, xterm, Windows Terminal** tests are performed on WSL(Ubuntu 18.04.2). **Iterm2, kitty, Alacritty** tests are performed on MacOS shell, For WindTerm: No color scheme used in windterm. Color scheme will result in approximately 2% loss and more memory usage. For Alacritty: Only supports up to 100,000 scrollback lines, so every test use "history: 100000" setting and no memory usage measured. For Windows Terminal: Only supports up to 65,535 scrollback lines, so every test use "historySize: 65535" setting and no memory usage measured. The version of terminals: | Application | Version | Release Date | | --- | --- | --- | | windterm | v1.72 | 2020-10-25 | | rxvt-unicode | v9.2.2 | 2016-05-14 | | putty | v0.71 | 2019-03-16 | | xterm | v3.30 | 2017-06-20 | | iterm2 | v3.3.6 | 2019-10-09 | | alacritty | v0.5.0 | 2020-07-21 | | kitty | v0.14.6 | 2019-09-25 | | Windows Terminal | v1.3.2651.0 | 2020-09-22 | **All test data is for reference only.** ## Test Command: "cat ./benchmark_randomdata" The benchmark_randomdata contains 97.6MB random text (102,401,504 bytes, 1,329,878 lines, generated and tested by [random_test.sh](https://github.com/kingToolbox/WindTerm/blob/master/benchmark/urandom_test.sh)) In all cases, three runs were made to warm system caches. The reported numbers are the median of five runs. 1. Telnet: | | Lines of scrollback | Data Rate(MB/sec) | Memory Usage(MB) | | --- | --- | --- | --- | | WindTerm | unlimited | **52.1** | **106.6** | | rxvt | 1,350,000 | 37.8 | 842.2 | | Putty | 1,350,000 | 4.9 | 733.4 | | xterm | 1,350,000 | 2.2 | 3328.4 | | Windows Terminal + telnet.exe | 65,535 | 0.1 | Not measured, use 65,535 scrollback lines setting | 2. SSH: | | Lines of scrollback | Data Rate(MB/sec) | Memory Usage(MB) | | --- | --- | --- | --- | | WindTerm | unlimited | **41.8** | **108.5** | | rxvt | 1,350,000 | 40.2 | 842.2 | | Putty | 1,350,000 | 4.8 | 734.9 | | xterm | 1,350,000 | 2.3 | 3328.4 | | Windows Terminal + ssh.exe | 65,535 | 2.1 | Not measured, use 65,535 scrollback lines setting | 3. Shell: | | Lines of scrollback | Data Rate(MB/sec) | Memory Usage(MB) | | --- | --- | --- | --- | | iterm2 | unlimited | - (Take too long time) | more than 1300 | | kitty | unlimited | 17.2 | 2655 | | Alacritty | 100,000 | 41.3 | - | ## Test command: "time seq 1 n" (n = [1000000, 2000000, 5000000, 10000000], scrollback lines: unlimited) ### n = 1,000,000 | | Time(sec) | Memory Usage(MB) | | --- | --- | --- | | WindTerm | 1.236 | **16.1** | | rxvt | 5.082 | 633.3 | | putty | 4.161 | 551.1 | | xterm | 40.421 | 2500.7 | | iterm2 | 2.116 | 146.3 | | Kitty | 2.535 | 2376.5 | | Alacritty | **1.162** | Not measured, use 100,000 scrollback lines setting | | Windows Terminal + ssh.exe | 23.246 | Not measured, use 65,535 scrollback lines setting | ### n = 2,000,000 | | Time(sec) | Memory Usage(MB) | | --- | --- | --- | | WindTerm | **2.287** | **24.1** | | rxvt | 10.896 | 1266.6 | | putty | 16.045 | 1102.6 | | xterm | 68.154 | 5005.5 | | iterm2 | 4.181 | 383.2 | | Kitty | 5.620 | 4749.9 | | Alacritty | 2.322 | Not measured, use 100,000 scrollback lines setting | | Windows Terminal + ssh.exe | 50.381 | Not measured, use 65,535 scrollback lines setting | ### n = 5,000,000 | | Time(sec) | Memory Usage(MB) | | --- | --- | --- | | WindTerm | **5.520** | **68.2** | | rxvt | 27.533 | 3166.2 | | putty | 45.911 | 2757.1 | | xterm | - | Out of memory | | iterm2 | 10.805 | 1048.3 | | Kitty | - | Out of memory | | Alacritty | 5.799 | Not measured, use 100,000 scrollback lines setting | | Windows Terminal + ssh.exe | 130.371 | Not measured, use 65,535 scrollback lines setting | ### n = 10,000,000 | | Time(sec) | Memory Usage(MB) | | --- | --- | --- | | WindTerm | **10.674** | **133.3** | | rxvt | - | Out of memory | | putty | - | Out of memory | | xterm | - | Out of memory | | iterm2 | 20.468 | 2231.3 | | Kitty | - | Out of memory | | Alacritty | 11.598 | Not measured, use 100,000 scrollback lines setting | | Windows Terminal + ssh.exe | 264.739 | Not measured, use 65,535 scrollback lines setting | ### n = 10,000,000 scrollback = 30 Lines | | Time(sec) | Memory Usage(MB) | | --- | --- | --- | | WindTerm | 10.167 | 0.7 | | rxvt | **9.687** | **0.1** | | putty | 95.382 | 0.4 | | xterm | 286.510 | **0.1** | | iterm2 | 25.448 | 7.4 | | Kitty | 16.104 | 0.5 | | Alacritty | 11.798 | Not measured, use zero scrollback lines setting | | Windows Terminal + ssh.exe | 261.096 | Not measured, use zero scrollback lines setting | # Linux Terminal Performance The hardware used for generating the data in these benchmarks was Debian 10 Vm - 4cpu and 4GB memory. For WindTerm: No color scheme used in windterm. Color scheme will result in approximately 2% loss and more memory usage. For other terminals: No memory usage measured because most of them write the history to disk or only support a limited number of lines in memory.. The version of terminals: | Application | Version | Release Date | | --- | --- | --- | | Windterm | v1.9 | 2020-12-22 | | Gnome | v3.30.2 | 2018-10-22 | | Mate Terminal | v1.20.2 | 2019-02-11 | | Konsole | v18.04.0 | 2019-04-12 | | Xfce4 Terminal | v0.8.7.4 | 2018-5-15 | | QTerminal | v0.14.1 | 2019-01-26 | **All test data is for reference only.** ## Test Command: "cat ./benchmark_randomdata" The benchmark_randomdata contains 97.6MB random text (102,401,504 bytes, 1,329,878 lines, generated and tested by [random_test.sh](https://github.com/kingToolbox/WindTerm/blob/master/benchmark/urandom_test.sh)) In all cases, three runs were made to warm system caches. The reported numbers are the median of five runs. | | Cost Time | | --- | --- | | WindTerm | **1.976s** | | Gnome Terminal | 9.781s | | Mate Terminal | 9.841s | | Konsole | 25.050s | | xfce4 Terminal | 10.520s | | QTerminal | 20.763s | ## Test command: "time seq 1 n" (n = [1000000, 2000000, 5000000, 10000000], scrollback lines: unlimited) | n | 1,000,000 | 2,000,000 | 5,000,000 | 10,000,000 | 10,000,000<br>(scrollback lines: 100) | | --- | --- | --- | --- | --- | --- | | WindTerm | 0.846s (18.6MB) | **1.574s** (26.6MB) | **4.046s** (56.4MB) | **8.232s** (102.2MB) | **7.748s** (3.4MB) | | Gnome Terminal | 0.920s | 2.152s | 5.271s | 11.111s | 13.109s | | Mate Terminal | **0.822s** | 1.698s | 5.943s | 10.920s | 12.290s | | Konsole | 1.612s | 3.199s | 8.157s | 16.029s | 15.650s | | xfce4 Terminal | 0.870s | 2.160s | 5.866s | 12.089s | 13.304s | | QTerminal | 9.272s | 18.391s | 45.999s | 104.277s | 17.208s | # Latency Considering the network influence on the latency, the following data is from [WindEdit](https://github.com/kingToolbox/digedit). DIGEdit is the text component of WindTerm. | | Min | Max | Avg | SD | | --- | --- | --- | --- | --- | |WindEdit| 1.9 | 7.6 | 2.9 | 0.8 | |Windows Notepad | 0.9 | 16.5 | 7.8 | 1.8 | |GVim | 0.9 | 10.4 | 2.8 | 1.2 | # Shortcuts [Shortcut Keys List](https://kingtoolbox.github.io/tags/keyboard/) # Roadmap **Release cycle:** 4-8 weeks. **Prerelease cycle:** 1~2 weeks # Roadmap of v2.6 (Late-August, for reference only) - **Resolve issues as much as possible** - Improved Filer - Improved Transfer - Improved Quickbar - SSH Agent Forwaring - New memory allocator and manager and garbage collector (Postponed to a later version ) - Command Snippet [Description](https://github.com/kingToolbox/WindTerm/issues/239#issuecomment-951934488) (Postponed to a later version ) - SSH GSSAPI Authentication (Postponed to a later version ) - SSH Agent (Postponed to a later version ) - Search in sessions (Postponed to a later version ) Download: [WindTerm 2.5.0](https://github.com/kingToolbox/WindTerm/releases/tag/2.5.0) (2022-7-24) **Roadmap of version 2.x:** - External tools - Protocols: - Mosh - Rlogin - Session: - Auto Complete - Chat mode - Log viewer - File transfer: - ftp, ftps - Script, macro and plugin stystem - More ... **Release Schedule:** Version | Level | Target | Status | Timeline ------------ | ------------- | -------------- | ---------- | ----------- v0.x | Basic | Basic framework and basic features, but complete a high-performance text editor ([WindEdit](https://github.com/kingToolbox/WindEdit)) as the base, and be able to use them normally. | Finished | Long long ago ~ Sprint of 2020 v1.x | Manual | Perfect features and can be used by most developers in their daily work | Finished | Spring of 2020 ~ Winter of 2020 **v2.x** | **Semi automatic** | **Through triggers, macros, events, notifications and so on, developers can be assisted to complete some operations.** | **Developing** | **Spring of 2021 ~ Summer of 2022** v3.x | Fully automatic | Through plugins, scripts, machine learning and so on, automatically operating with achieving non-attended | Planning | Summer of 2022 ~ Winter of 2023 # Acknowledgement | | Contribution | | ---------- | ------------- | | [EvoWebFrance](https://github.com/EvoWebFrance) | French translation | | [kvnklk](https://github.com/kvnklk) | German translation | | [Lemonawa](https://github.com/Lemonawa) | Simplified Chinese translation | | [LuxNegra](https://github.com/LuxNegra) | French translation | | [MosamXu](https://github.com/MosamXu) | Simplified Chinese translation |
3,120
:book: For those who wanna learn Bash
[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct-single.svg)](https://stand-with-ukraine.pp.ua/) # bash-handbook [![CC 4.0][cc-image]][cc-url] [![NPM version][npm-image]][npm-url] [![Gitter][gitter-image]][gitter-url] This document is written for those who want to learn Bash without diving in too deeply. > **Tip**: Try [**learnyoubash**](https://git.io/learnyoubash) — an interactive workshopper based on this handbook! # Node Packaged Manuscript You can install this handbook using `npm`. Just run: ``` $ npm install -g bash-handbook ``` You should be able to run `bash-handbook` at the command line now. This will open the manual in your selected `$PAGER`. Otherwise, you may continue reading on here. The source is available here: <https://github.com/denysdovhan/bash-handbook> # Translations Currently, there are these translations of **bash-handbook**: - [Português (Brasil)](/translations/pt-BR/README.md) - [简体中文 (中国)](/translations/zh-CN/README.md) - [繁體中文(台灣)](/translations/zh-TW/README.md) - [한국어 (한국)](/translations/ko-KR/README.md) [**Request another translation**][tr-request] [tr-request]: https://github.com/denysdovhan/bash-handbook/issues/new?title=Translation%20Request:%20%5BPlease%20enter%20language%20here%5D&body=I%20am%20able%20to%20translate%20this%20language%20%5Byes/no%5D <!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> # Table of Contents - [Introduction](#introduction) - [Shells and modes](#shells-and-modes) - [Interactive mode](#interactive-mode) - [Non-interactive mode](#non-interactive-mode) - [Exit codes](#exit-codes) - [Comments](#comments) - [Variables](#variables) - [Local variables](#local-variables) - [Environment variables](#environment-variables) - [Positional parameters](#positional-parameters) - [Shell expansions](#shell-expansions) - [Brace expansion](#brace-expansion) - [Command substitution](#command-substitution) - [Arithmetic expansion](#arithmetic-expansion) - [Double and single quotes](#double-and-single-quotes) - [Arrays](#arrays) - [Array declaration](#array-declaration) - [Array expansion](#array-expansion) - [Array slice](#array-slice) - [Adding elements into an array](#adding-elements-into-an-array) - [Deleting elements from an array](#deleting-elements-from-an-array) - [Streams, pipes and lists](#streams-pipes-and-lists) - [Streams](#streams) - [Pipes](#pipes) - [Lists of commands](#lists-of-commands) - [Conditional statements](#conditional-statements) - [Primary and combining expressions](#primary-and-combining-expressions) - [Using an `if` statement](#using-an-if-statement) - [Using a `case` statement](#using-a-case-statement) - [Loops](#loops) - [`for` loop](#for-loop) - [`while` loop](#while-loop) - [`until` loop](#until-loop) - [`select` loop](#select-loop) - [Loop control](#loop-control) - [Functions](#functions) - [Debugging](#debugging) - [Reading User Input](#reading-user-input) - [Afterword](#afterword) - [Want to learn more?](#want-to-learn-more) - [Other resources](#other-resources) - [License](#license) <!-- END doctoc generated TOC please keep comment here to allow auto update --> # Introduction If you are a developer, then you know the value of time. Optimizing your work process is one of the most important aspects of the job. In that path towards efficiency and productivity, we are often posed with actions that must be repeated over and over again, like: * taking a screenshot and uploading it to a server * processing text that may come in many shapes and forms * converting files between different formats * parsing a program's output Enter **Bash**, our savior. Bash is a Unix shell written by [Brian Fox][] for the GNU Project as a free software replacement for the [Bourne shell](https://en.wikipedia.org/wiki/Bourne_shell). It was released in 1989 and has been distributed as the Linux and macOS default shell for a long time. [Brian Fox]: https://en.wikipedia.org/wiki/Brian_Fox_(computer_programmer) <!-- link this format, because some MD processors handle '()' in URLs poorly --> So why do we need to learn something that was written more than 30 years ago? The answer is simple: this _something_ is today one of the most powerful and portable tools for writing efficient scripts for all Unix-based systems. And that's why you should learn bash. Period. In this handbook, I'm going to describe the most important concepts in bash with examples. I hope this compendium will be helpful to you. # Shells and modes The user bash shell can work in two modes - interactive and non-interactive. ## Interactive mode If you are working on Ubuntu, you have seven virtual terminals available to you. The desktop environment takes place in the seventh virtual terminal, so you can return to a friendly GUI using the `Ctrl-Alt-F7` keybinding. You can open the shell using the `Ctrl-Alt-F1` keybinding. After that, the familiar GUI will disappear and one of the virtual terminals will be shown. If you see something like this, then you are working in interactive mode: user@host:~$ Here you can enter a variety of Unix commands, such as `ls`, `grep`, `cd`, `mkdir`, `rm` and see the result of their execution. We call this shell interactive because it interacts directly with the user. Using a virtual terminal is not really convenient. For example, if you want to edit a document and execute another command at the same time, you are better off using virtual terminal emulators like: - [GNOME Terminal](https://en.wikipedia.org/wiki/GNOME_Terminal) - [Terminator](https://en.wikipedia.org/wiki/Terminator_(terminal_emulator)) - [iTerm2](https://en.wikipedia.org/wiki/ITerm2) - [ConEmu](https://en.wikipedia.org/wiki/ConEmu) ## Non-interactive mode In non-interactive mode, the shell reads commands from a file or a pipe and executes them. When the interpreter reaches the end of the file, the shell process terminates the session and returns to the parent process. Use the following commands for running the shell in non-interactive mode: sh /path/to/script.sh bash /path/to/script.sh In the example above, `script.sh` is just a regular text file that consists of commands the shell interpreter can evaluate and `sh` or `bash` is the shell's interpreter program. You can create `script.sh` using your preferred text editor (e.g. vim, nano, Sublime Text, Atom, etc). You can also simplify invoking the script by making it an executable file using the `chmod` command: chmod +x /path/to/script.sh Additionally, the first line in the script must indicate which program it should use to run the file, like so: ```bash #!/bin/bash echo "Hello, world!" ``` Or if you prefer to use `sh` instead of `bash`, change `#!/bin/bash` to `#!/bin/sh`. This `#!` character sequence is known as the [shebang](http://en.wikipedia.org/wiki/Shebang_%28Unix%29). Now you can run the script like this: /path/to/script.sh A handy trick we used above is using `echo` to print text to the terminal screen. Another way to use the shebang line is as follows: ```bash #!/usr/bin/env bash echo "Hello, world!" ``` The advantage of this shebang line is it will search for the program (in this case `bash`) based on the `PATH` environment variable. This is often preferred over the first method shown above, as the location of a program on a filesystem cannot always be assumed. This is also useful if the `PATH` variable on a system has been configured to point to an alternate version of the program. For instance, one might install a newer version of `bash` while preserving the original version and insert the location of the newer version into the `PATH` variable. The use of `#!/bin/bash` would result in using the original `bash`, while `#!/usr/bin/env bash` would make use of the newer version. ## Exit codes Every command returns an **exit code** (**return status** or **exit status**). A successful command always returns `0` (zero-code), and a command that has failed returns a non-zero value (error code). Failure codes must be positive integers between 1 and 255. Another handy command we can use when writing a script is `exit`. This command is used to terminate the current execution and deliver an exit code to the shell. Running an `exit` code without any arguments, will terminate the running script and return the exit code of the last command executed before `exit`. When a program terminates, the shell assigns its **exit code** to the `$?` environment variable. The `$?` variable is how we usually test whether a script has succeeded or not in its execution. In the same way we can use `exit` to terminate a script, we can use the `return` command to exit a function and return an **exit code** to the caller. You can use `exit` inside a function too and this will exit the function _and_ terminate the program. # Comments Scripts may contain _comments_. Comments are special statements ignored by the `shell` interpreter. They begin with a `#` symbol and continue on to the end of the line. For example: ```bash #!/bin/bash # This script will print your username. whoami ``` > **Tip**: Use comments to explain what your script does and _why_. # Variables Like in most programming languages, you can also create variables in bash. Bash knows no data types. Variables can contain only numbers or a string of one or more characters. There are three kinds of variables you can create: local variables, environment variables and variables as _positional parameters_. ## Local variables **Local variables** are variables that exist only within a single script. They are inaccessible to other programs and scripts. A local variable can be declared using `=` sign (as a rule, there **should not** be any spaces between a variable's name, `=` and its value) and its value can be retrieved using the `$` sign. For example: ```bash username="denysdovhan" # declare variable echo $username # display value unset username # delete variable ``` We can also declare a variable local to a single function using the `local` keyword. Doing so causes the variable to disappear when the function exits. ```bash local local_var="I'm a local value" ``` ## Environment variables **Environment variables** are variables accessible to any program or script running in current shell session. They are created just like local variables, but using the keyword `export` instead. ```bash export GLOBAL_VAR="I'm a global variable" ``` There are _a lot_ of global variables in bash. You will meet these variables fairly often, so here is a quick lookup table with the most practical ones: | Variable | Description | | :----------- | :------------------------------------------------------------ | | `$HOME` | The current user's home directory. | | `$PATH` | A colon-separated list of directories in which the shell looks for commands. | | `$PWD` | The current working directory. | | `$RANDOM` | Random integer between 0 and 32767. | | `$UID` | The numeric, real user ID of the current user. | | `$PS1` | The primary prompt string. | | `$PS2` | The secondary prompt string. | Follow [this link](http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_03_02.html#sect_03_02_04) to see an extended list of environment variables in Bash. ## Positional parameters **Positional parameters** are variables allocated when a function is evaluated and are given positionally. The following table lists positional parameter variables and other special variables and their meanings when you are inside a function. | Parameter | Description | | :------------- | :---------------------------------------------------------- | | `$0` | Script's name. | | `$1 … $9` | The parameter list elements from 1 to 9. | | `${10} … ${N}` | The parameter list elements from 10 to N. | | `$*` or `$@` | All positional parameters except `$0`. | | `$#` | The number of parameters, not counting `$0`. | | `$FUNCNAME` | The function name (has a value only inside a function). | In the example below, the positional parameters will be `$0='./script.sh'`, `$1='foo'` and `$2='bar'`: ./script.sh foo bar Variables may also have _default_ values. We can define as such using the following syntax: ```bash # if variables are empty, assign them default values : ${VAR:='default'} : ${1:='first'} # or FOO=${FOO:-'default'} ``` # Shell expansions _Expansions_ are performed on the command line after it has been split into _tokens_. In other words, these expansions are a mechanism to calculate arithmetical operations, to save results of commands' executions and so on. If you are interested, you can read [more about shell expansions](https://www.gnu.org/software/bash/manual/bash.html#Shell-Expansions). ## Brace expansion Brace expansion allows us to generate arbitrary strings. It's similar to _filename expansion_. For example: ```bash echo beg{i,a,u}n # begin began begun ``` Also brace expansions may be used for creating ranges, which are iterated over in loops. ```bash echo {0..5} # 0 1 2 3 4 5 echo {00..8..2} # 00 02 04 06 08 ``` **Note: the rule here is {00..8..2} represents {start..end..steps}** `echo {0..10..3} # 0 3 6 9` ## Command substitution Command substitution allow us to evaluate a command and substitute its value into another command or variable assignment. Command substitution is performed when a command is enclosed by ``` `` ``` or `$()`. For example, we can use it as follows: ```bash now=`date +%T` # or now=$(date +%T) echo $now # 19:08:26 ``` ## Arithmetic expansion In bash we are free to do any arithmetical operations. But the expression must enclosed by `$(( ))` The format for arithmetic expansions is: ```bash result=$(( ((10 + 5*3) - 7) / 2 )) echo $result # 9 ``` Within arithmetic expansions, variables should generally be used without a `$` prefix: ```bash x=4 y=7 echo $(( x + y )) # 11 echo $(( ++x + y++ )) # 12 echo $(( x + y )) # 13 ``` ## Double and single quotes There is an important difference between double and single quotes. Inside double quotes variables or command substitutions are expanded. Inside single quotes they are not. For example: ```bash echo "Your home: $HOME" # Your home: /Users/<username> echo 'Your home: $HOME' # Your home: $HOME ``` Take care to expand local variables and environment variables within quotes if they could contain whitespace. As an innocuous example, consider using `echo` to print some user input: ```bash INPUT="A string with strange whitespace." echo $INPUT # A string with strange whitespace. echo "$INPUT" # A string with strange whitespace. ``` The first `echo` is invoked with 5 separate arguments — $INPUT is split into separate words, `echo` prints a single space character between each. In the second case, `echo` is invoked with a single argument (the entire $INPUT value, including whitespace). Now consider a more serious example: ```bash FILE="Favorite Things.txt" cat $FILE # attempts to print 2 files: `Favorite` and `Things.txt` cat "$FILE" # prints 1 file: `Favorite Things.txt` ``` While the issue in this example could be resolved by renaming FILE to `Favorite-Things.txt`, consider input coming from an environment variable, a positional parameter, or the output of another command (`find`, `cat`, etc). If the input *might* contain whitespace, take care to wrap the expansion in quotes. # Arrays Like in other programming languages, an array in bash is a variable that allows you to refer to multiple values. In bash, arrays are also zero-based, that is, the first element in an array has index 0. When dealing with arrays, we should be aware of the special environment variable `IFS`. **IFS**, or **Input Field Separator**, is the character that separates elements in an array. The default value is an empty space `IFS=' '`. ## Array declaration In bash you create an array by simply assigning a value to an index in the array variable: ```bash fruits[0]=Apple fruits[1]=Pear fruits[2]=Plum ``` Array variables can also be created using compound assignments such as: ```bash fruits=(Apple Pear Plum) ``` ## Array expansion Individual array elements are expanded similar to other variables: ```bash echo ${fruits[1]} # Pear ``` The entire array can be expanded by using `*` or `@` in place of the numeric index: ```bash echo ${fruits[*]} # Apple Pear Plum echo ${fruits[@]} # Apple Pear Plum ``` There is an important (and subtle) difference between the two lines above: consider an array element containing whitespace: ```bash fruits[0]=Apple fruits[1]="Desert fig" fruits[2]=Plum ``` We want to print each element of the array on a separate line, so we try to use the `printf` builtin: ```bash printf "+ %s\n" ${fruits[*]} # + Apple # + Desert # + fig # + Plum ``` Why were `Desert` and `fig` printed on separate lines? Let's try to use quoting: ```bash printf "+ %s\n" "${fruits[*]}" # + Apple Desert fig Plum ``` Now everything is on one line — that's not what we wanted! Here's where `${fruits[@]}` comes into play: ```bash printf "+ %s\n" "${fruits[@]}" # + Apple # + Desert fig # + Plum ``` Within double quotes, `${fruits[@]}` expands to a separate argument for each element in the array; whitespace in the array elements is preserved. ## Array slice Besides, we can extract a slice of array using the _slice_ operators: ```bash echo ${fruits[@]:0:2} # Apple Desert fig ``` In the example above, `${fruits[@]}` expands to the entire contents of the array, and `:0:2` extracts the slice of length 2, that starts at index 0. ## Adding elements into an array Adding elements into an array is quite simple too. Compound assignments are specially useful in this case. We can use them like this: ```bash fruits=(Orange "${fruits[@]}" Banana Cherry) echo ${fruits[@]} # Orange Apple Desert fig Plum Banana Cherry ``` The example above, `${fruits[@]}` expands to the entire contents of the array and substitutes it into the compound assignment, then assigns the new value into the `fruits` array mutating its original value. ## Deleting elements from an array To delete an element from an array, use the `unset` command: ```bash unset fruits[0] echo ${fruits[@]} # Apple Desert fig Plum Banana Cherry ``` # Streams, pipes and lists Bash has powerful tools for working with other programs and their outputs. Using streams we can send the output of a program into another program or file and thereby write logs or whatever we want. Pipes give us opportunity to create conveyors and control the execution of commands. It is paramount we understand how to use this powerful and sophisticated tool. ## Streams Bash receives input and sends output as sequences or **streams** of characters. These streams may be redirected into files or one into another. There are three descriptors: | Code | Descriptor | Description | | :--: | :--------: | :------------------- | | `0` | `stdin` | The standard input. | | `1` | `stdout` | The standard output. | | `2` | `stderr` | The errors output. | Redirection makes it possible to control where the output of a command goes to, and where the input of a command comes from. For redirecting streams these operators are used: | Operator | Description | | :------: | :------------------------------------------- | | `>` | Redirecting output | | `&>` | Redirecting output and error output | | `&>>` | Appending redirected output and error output | | `<` | Redirecting input | | `<<` | [Here documents](http://tldp.org/LDP/abs/html/here-docs.html) syntax | | `<<<` | [Here strings](http://www.tldp.org/LDP/abs/html/x17837.html) | Here are few examples of using redirections: ```bash # output of ls will be written to list.txt ls -l > list.txt # append output to list.txt ls -a >> list.txt # all errors will be written to errors.txt grep da * 2> errors.txt # read from errors.txt less < errors.txt ``` ## Pipes We could redirect standard streams not only in files, but also to other programs. **Pipes** let us use the output of a program as the input of another. In the example below, `command1` sends its output to `command2`, which then passes it on to the input of `command3`: command1 | command2 | command3 Constructions like this are called **pipelines**. In practice, this can be used to process data through several programs. For example, here the output of `ls -l` is sent to the `grep` program, which prints only files with a `.md` extension, and this output is finally sent to the `less` program: ls -l | grep .md$ | less The exit status of a pipeline is normally the exit status of the last command in the pipeline. The shell will not return a status until all the commands in the pipeline have completed. If you want your pipelines to be considered a failure if any of the commands in the pipeline fail, you should set the pipefail option with: set -o pipefail ## Lists of commands A **list of commands** is a sequence of one or more pipelines separated by `;`, `&`, `&&` or `||` operator. If a command is terminated by the control operator `&`, the shell executes the command asynchronously in a subshell. In other words, this command will be executed in the background. Commands separated by a `;` are executed sequentially: one after another. The shell waits for the finish of each command. ```bash # command2 will be executed after command1 command1 ; command2 # which is the same as command1 command2 ``` Lists separated by `&&` and `||` are called _AND_ and _OR_ lists, respectively. The _AND-list_ looks like this: ```bash # command2 will be executed if, and only if, command1 finishes successfully (returns 0 exit status) command1 && command2 ``` The _OR-list_ has the form: ```bash # command2 will be executed if, and only if, command1 finishes unsuccessfully (returns code of error) command1 || command2 ``` The return code of an _AND_ or _OR_ list is the exit status of the last executed command. # Conditional statements Like in other languages, Bash conditionals let us decide to perform an action or not. The result is determined by evaluating an expression, which should be enclosed in `[[ ]]`. Conditional expression may contain `&&` and `||` operators, which are _AND_ and _OR_ accordingly. Besides this, there many [other handy expressions](#primary-and-combining-expressions). There are two different conditional statements: `if` statement and `case` statement. ## Primary and combining expressions Expressions enclosed inside `[[ ]]` (or `[ ]` for `sh`) are called **test commands** or **primaries**. These expressions help us to indicate results of a conditional. In the tables below, we are using `[ ]`, because it works for `sh` too. Here is an answer about [the difference between double and single square brackets in bash](http://serverfault.com/a/52050). **Working with the file system:** | Primary | Meaning | | :-----------: | :----------------------------------------------------------- | | `[ -e FILE ]` | True if `FILE` **e**xists. | | `[ -f FILE ]` | True if `FILE` exists and is a regular **f**ile. | | `[ -d FILE ]` | True if `FILE` exists and is a **d**irectory. | | `[ -s FILE ]` | True if `FILE` exists and not empty (**s**ize more than 0). | | `[ -r FILE ]` | True if `FILE` exists and is **r**eadable. | | `[ -w FILE ]` | True if `FILE` exists and is **w**ritable. | | `[ -x FILE ]` | True if `FILE` exists and is e**x**ecutable. | | `[ -L FILE ]` | True if `FILE` exists and is symbolic **l**ink. | | `[ FILE1 -nt FILE2 ]` | FILE1 is **n**ewer **t**han FILE2. | | `[ FILE1 -ot FILE2 ]` | FILE1 is **o**lder **t**han FILE2. | **Working with strings:** | Primary | Meaning | | :------------: | :---------------------------------------------------------- | | `[ -z STR ]` | `STR` is empty (the length is **z**ero). | | `[ -n STR ]` |`STR` is not empty (the length is **n**on-zero). | | `[ STR1 == STR2 ]` | `STR1` and `STR2` are equal. | | `[ STR1 != STR2 ]` | `STR1` and `STR2` are not equal. | **Arithmetic binary operators:** | Primary | Meaning | | :-----------------: | :----------------------------------------------------- | | `[ ARG1 -eq ARG2 ]` | `ARG1` is **eq**ual to `ARG2`. | | `[ ARG1 -ne ARG2 ]` | `ARG1` is **n**ot **e**qual to `ARG2`. | | `[ ARG1 -lt ARG2 ]` | `ARG1` is **l**ess **t**han `ARG2`. | | `[ ARG1 -le ARG2 ]` | `ARG1` is **l**ess than or **e**qual to `ARG2`. | | `[ ARG1 -gt ARG2 ]` | `ARG1` is **g**reater **t**han `ARG2`. | | `[ ARG1 -ge ARG2 ]` | `ARG1` is **g**reater than or **e**qual to `ARG2`. | Conditions may be combined using these **combining expressions:** | Operation | Effect | | :------------: | :---------------------------------------------------------- | | `[ ! EXPR ]` | True if `EXPR` is false. | | `[ (EXPR) ]` | Returns the value of `EXPR`. | | `[ EXPR1 -a EXPR2 ]` | Logical _AND_. True if `EXPR1` **a**nd `EXPR2` are true. | | `[ EXPR1 -o EXPR2 ]` | Logical _OR_. True if `EXPR1` **o**r `EXPR2` are true.| Sure, there are more useful primaries and you can easily find them in the [Bash man pages](http://www.gnu.org/software/bash/manual/html_node/Bash-Conditional-Expressions.html). ## Using an `if` statement `if` statements work the same as in other programming languages. If the expression within the braces is true, the code between `then` and `fi` is executed. `fi` indicates the end of the conditionally executed code. ```bash # Single-line if [[ 1 -eq 1 ]]; then echo "true"; fi # Multi-line if [[ 1 -eq 1 ]]; then echo "true" fi ``` Likewise, we could use an `if..else` statement such as: ```bash # Single-line if [[ 2 -ne 1 ]]; then echo "true"; else echo "false"; fi # Multi-line if [[ 2 -ne 1 ]]; then echo "true" else echo "false" fi ``` Sometimes `if..else` statements are not enough to do what we want to do. In this case we shouldn't forget about the existence of `if..elif..else` statements, which always come in handy. Look at the example below: ```bash if [[ `uname` == "Adam" ]]; then echo "Do not eat an apple!" elif [[ `uname` == "Eva" ]]; then echo "Do not take an apple!" else echo "Apples are delicious!" fi ``` ## Using a `case` statement If you are confronted with a couple of different possible actions to take, then using a `case` statement may be more useful than nested `if` statements. For more complex conditions use `case` like below: ```bash case "$extension" in "jpg"|"jpeg") echo "It's image with jpeg extension." ;; "png") echo "It's image with png extension." ;; "gif") echo "Oh, it's a giphy!" ;; *) echo "Woops! It's not image!" ;; esac ``` Each case is an expression matching a pattern. The `|` sign is used for separating multiple patterns, and the `)` operator terminates a pattern list. The commands for the first match are executed. `*` is the pattern for anything else that doesn't match the defined patterns. Each block of commands should be divided with the `;;` operator. # Loops Here we won't be surprised. As in any programming language, a loop in bash is a block of code that iterates as long as the control conditional is true. There are four types of loops in Bash: `for`, `while`, `until` and `select`. ## `for` loop The `for` is very similar to its sibling in C. It looks like this: ```bash for arg in elem1 elem2 ... elemN do # statements done ``` During each pass through the loop, `arg` takes on the value from `elem1` to `elemN`. Values may also be wildcards or [brace expansions](#brace-expansion). Also, we can write `for` loop in one line, but in this case there needs to be a semicolon before `do`, like below: ```bash for i in {1..5}; do echo $i; done ``` By the way, if `for..in..do` seems a little bit weird to you, you can also write `for` in C-like style such as: ```bash for (( i = 0; i < 10; i++ )); do echo $i done ``` `for` is handy when we want to do the same operation over each file in a directory. For example, if we need to move all `.bash` files into the `script` folder and then give them execute permissions, our script would look like this: ```bash #!/bin/bash for FILE in $HOME/*.bash; do mv "$FILE" "${HOME}/scripts" chmod +x "${HOME}/scripts/${FILE}" done ``` ## `while` loop The `while` loop tests a condition and loops over a sequence of commands so long as that condition is _true_. A condition is nothing more than a [primary](#primary-and-combining-expressions) as used in `if..then` conditions. So a `while` loop looks like this: ```bash while [[ condition ]] do # statements done ``` Just like in the case of the `for` loop, if we want to write `do` and condition in the same line, then we must use a semicolon before `do`. A working example might look like this: ```bash #!/bin/bash # Squares of numbers from 0 through 9 x=0 while [[ $x -lt 10 ]]; do # value of x is less than 10 echo $(( x * x )) x=$(( x + 1 )) # increase x done ``` ## `until` loop The `until` loop is the exact opposite of the `while` loop. Like a `while` it checks a test condition, but it keeps looping as long as this condition is _false_: ```bash until [[ condition ]]; do #statements done ``` ## `select` loop The `select` loop helps us to organize a user menu. It has almost the same syntax as the `for` loop: ```bash select answer in elem1 elem2 ... elemN do # statements done ``` The `select` prints all `elem1..elemN` on the screen with their sequence numbers, after that it prompts the user. Usually it looks like `$?` (`PS3` variable). The answer will be saved in `answer`. If `answer` is the number between `1..N`, then `statements` will execute and `select` will go to the next iteration — that's because we should use the `break` statement. A working example might look like this: ```bash #!/bin/bash PS3="Choose the package manager: " select ITEM in bower npm gem pip do echo -n "Enter the package name: " && read PACKAGE case $ITEM in bower) bower install $PACKAGE ;; npm) npm install $PACKAGE ;; gem) gem install $PACKAGE ;; pip) pip install $PACKAGE ;; esac break # avoid infinite loop done ``` This example, asks the user what package manager {s,he} would like to use. Then, it will ask what package we want to install and finally proceed to install it. If we run this, we will get: ``` $ ./my_script 1) bower 2) npm 3) gem 4) pip Choose the package manager: 2 Enter the package name: bash-handbook <installing bash-handbook> ``` ## Loop control There are situations when we need to stop a loop before its normal ending or step over an iteration. In these cases, we can use the shell built-in `break` and `continue` statements. Both of these work with every kind of loop. The `break` statement is used to exit the current loop before its ending. We have already met with it. The `continue` statement steps over one iteration. We can use it as such: ```bash for (( i = 0; i < 10; i++ )); do if [[ $(( i % 2 )) -eq 0 ]]; then continue; fi echo $i done ``` If we run the example above, it will print all odd numbers from 0 through 9. # Functions In scripts we have the ability to define and call functions. As in any programming language, functions in bash are chunks of code, but there are differences. In bash, functions are a sequence of commands grouped under a single name, that is the _name_ of the function. Calling a function is the same as calling any other program, you just write the name and the function will be _invoked_. We can declare our own function this way: ```bash my_func () { # statements } my_func # call my_func ``` We must declare functions before we can invoke them. Functions can take on arguments and return a result — exit code. Arguments, within functions, are treated in the same manner as arguments given to the script in [non-interactive](#non-interactive-mode) mode — using [positional parameters](#positional-parameters). A result code can be _returned_ using the `return` command. Below is a function that takes a name and returns `0`, indicating successful execution. ```bash # function with params greeting () { if [[ -n $1 ]]; then echo "Hello, $1!" else echo "Hello, unknown!" fi return 0 } greeting Denys # Hello, Denys! greeting # Hello, unknown! ``` We already discussed [exit codes](#exit-codes). The `return` command without any arguments returns the exit code of the last executed command. Above, `return 0` will return a successful exit code. `0`. ## Debugging The shell gives us tools for debugging scripts. If we want to run a script in debug mode, we use a special option in our script's shebang: ```bash #!/bin/bash options ``` These options are settings that change shell behavior. The following table is a list of options which might be useful to you: | Short | Name | Description | | :---: | :---------- | :----------------------------------------------------- | | `-f` | noglob | Disable filename expansion (globbing). | | `-i` | interactive | Script runs in _interactive_ mode. | | `-n` | noexec | Read commands, but don't execute them (syntax check). | | | pipefail | Make pipelines fail if any commands fail, not just if the final command fail. | | `-t` | — | Exit after first command. | | `-v` | verbose | Print each command to `stderr` before executing it. | | `-x` | xtrace | Print each command and its expanded arguments to `stderr` before executing it. | For example, we have script with `-x` option such as: ```bash #!/bin/bash -x for (( i = 0; i < 3; i++ )); do echo $i done ``` This will print the value of the variables to `stdout` along with other useful information: ``` $ ./my_script + (( i = 0 )) + (( i < 3 )) + echo 0 0 + (( i++ )) + (( i < 3 )) + echo 1 1 + (( i++ )) + (( i < 3 )) + echo 2 2 + (( i++ )) + (( i < 3 )) ``` Sometimes we need to debug a part of a script. In this case using the `set` command is convenient. This command can enable and disable options. Options are turned on using `-` and turned off using `+`: ```bash #!/bin/bash echo "xtrace is turned off" set -x echo "xtrace is enabled" set +x echo "xtrace is turned off again" ``` # Reading User Input The user can enter data into shell variables using `read` commands. ## `read` This command reads input from stdin into variables ```bash read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p prompt] [-t timeout] [-u fd] [variable1 ...] [variable2 ...] ``` If no variable names are provided, the user input is stored in the variable `$REPLY` by default. ```bash #!/bin/bash read #Waits for user input echo $REPLY #Prints the text ``` | Short | Name | Description | | :---: | :---------- | :----------------------------------------------------- | | `-a` | array | Store the words in an indexed [array](#arrays) named `$array` | | `-e` | | Read data from terminal character by character till the delimiter is reached | | `-d` | delimiter | Set the delimiting character to delimiter specified<br>By default, newline('\n') is the delimiter | | `-n` | nchars | Stop reading when **n** characters or delimiter is read | | `-N` | nchars | Stops reading only when **n** charaters or EOF is read, **ignores delimiter** | | `-p` | prompt | Prints prompt string on console | | `-i` | interactive | Prints placeholder text which user can modify<br>Used in conjunction with `-e` | | `-r` | raw input | Disable shell interpretation of special charaters like $ and * | | `-s` | silent | Disable echo of characters read onto terminal | | `-t` | timout | Waits for certain amount of time before exitting | | `-u` | file descriptor | Reads input from file descriptor specified | ```bash #!/bin/bash read -p 'Enter your name: ' name echo Hello, "$name"! read -sp 'Enter Password: ' password if [ "$password" == "1234" ]; then #Space around '[' is required echo -e "\nSuccess!" else echo -e "\nTry Again!" fi echo "" read -p "Enter numbers: " -a array echo ${array[2]} ``` This script will produce such output: ``` Enter your name: User1 Enter password: Success #if password entered was 1234 Enter numbers: 100 200 300 400 300 ``` # Afterword I hope this small handbook was interesting and helpful. To be honest, I wrote this handbook for myself so as to not forget the bash basics. I tried to write concisely but meaningfully, and I hope you will appreciate that. This handbook narrates my own experience with Bash. It does not purport to be comprehensive, so if you still want more, please run `man bash` and start there. Contributions are absolutely welcome and I will be grateful for any corrections or questions you can send my way. For all of that create a new [issue](https://github.com/denysdovhan/bash-handbook/issues). Thanks for reading this handbook! # Want to learn more? Here's a list of other literature covering Bash: * Bash man page. In many environments that you can run Bash, the help system `man` can display information about Bash, by running the command `man bash`. For more information on the `man` command, see the web page ["The man Command"](http://www.linfo.org/man.html) hosted at [The Linux Information Project](http://www.linfo.org/). * ["Bourne-Again SHell manual"](https://www.gnu.org/software/bash/manual/) in many formats, including HTML, Info, TeX, PDF, and Texinfo. Hosted at <https://www.gnu.org/>. As of 2016/01, this covers version 4.3, last updated 2015/02/02. * ["Bash Shell Script"](http://www.gnu.org/software/bash/manual/bashref.html#Shell-Scripts) to learn how to write scripts using bash. It is hosted at <https://www.gnu.org/>. # Other resources * [awesome-bash](https://github.com/awesome-lists/awesome-bash) is a curated list of Bash scripts and resources * [awesome-shell](https://github.com/alebcay/awesome-shell) is another curated list of shell resources * [bash-it](https://github.com/Bash-it/bash-it) provides a solid framework for using, developing and maintaining shell scripts and custom commands for your daily work. * [Bash Guide for Beginners](http://tldp.org/LDP/Bash-Beginners-Guide/html/) a good resource between the [HOWTO](http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html) and the [Bash Scripting](http://tldp.org/LDP/abs/html/) guide. * [dotfiles.github.io](http://dotfiles.github.io/) is a good source of pointers to the various dotfiles collections and shell frameworks available for bash and other shells. * [learnyoubash](https://github.com/denysdovhan/learnyoubash) helps you write your first bash script * [shellcheck](https://github.com/koalaman/shellcheck) is a static analysis tool for shell scripts. You can either use it from a web page at [www.shellcheck.net](http://www.shellcheck.net/) or run it from the command line. Installation instructions are on the [koalaman/shellcheck](https://github.com/koalaman/shellcheck) github repository page. Finally, Stack Overflow has many questions that are [tagged as bash](https://stackoverflow.com/questions/tagged/bash) that you can learn from and is a good place to ask if you're stuck. # License [![CC 4.0][cc-image]][cc-url] &copy; [Denys Dovhan](http://denysdovhan.com) [cc-url]: http://creativecommons.org/licenses/by/4.0/ [cc-image]: https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg?style=flat-square [npm-url]: https://npmjs.org/package/bash-handbook [npm-image]: https://img.shields.io/npm/v/bash-handbook.svg?style=flat-square [gitter-url]: https://gitter.im/denysdovhan/bash-handbook [gitter-image]: https://img.shields.io/gitter/room/nwjs/nw.js.svg?style=flat-square
3,121
Native, fast starting Clojure interpreter for scripting
[<img src="logo/babashka.svg" alt="Babashka" width="425px">](https://babashka.org) [![CircleCI](https://circleci.com/gh/babashka/babashka/tree/master.svg?style=shield)](https://circleci.com/gh/babashka/babashka/tree/master) [![project chat](https://img.shields.io/badge/slack-join_chat-brightgreen.svg)](https://app.slack.com/client/T03RZGPFR/CLX41ASCS) [![Financial Contributors on Open Collective](https://opencollective.com/babashka/all/badge.svg?label=financial+contributors)](https://opencollective.com/babashka) [![Clojars Project](https://img.shields.io/clojars/v/babashka/babashka.svg)](https://clojars.org/babashka/babashka) [![twitter](https://img.shields.io/badge/twitter-%23babashka-blue)](https://twitter.com/search?q=%23babashka&src=typed_query&f=live) [![docs](https://img.shields.io/badge/website-docs-blue)](https://book.babashka.org) <blockquote class="twitter-tweet" data-lang="en"> <p lang="en" dir="ltr">Life's too short to remember how to write Bash code. I feel liberated.</p> &mdash; <a href="https://github.com/laheadle">@laheadle</a> on Clojurians Slack </blockquote> ## Introduction Babashka is a native Clojure interpreter for scripting with fast startup. Its main goal is to leverage Clojure in places where you would be using bash otherwise. As one user described it: > I’m quite at home in Bash most of the time, but there’s a substantial grey area of things that are too complicated to be simple in bash, but too simple to be worth writing a clj/s script for. Babashka really seems to hit the sweet spot for those cases. ### Goals * **Fast starting** Clojure scripting alternative for JVM Clojure * **Easy installation:** grab the self-contained binary and run. No JVM needed. * **Familiar:** targeted at JVM Clojure users * **Cross-platform:** supports linux, macOS and Windows * **Interop** with commonly used classes (`System`, `File`, `java.time.*`, `java.nio.*`) * **Multi-threading** support (`pmap`, `future`) * **Batteries included** (tools.cli, cheshire, ...) ### Non-goals * Provide a mixed Clojure/Bash DSL (see portability). * Replace existing shells. Babashka is a tool you can use inside existing shells like bash and it is designed to play well with them. It does not aim to replace them. ## Quickstart For installation options check [Installation](https://github.com/babashka/babashka#installation). For quick installation use: ``` shell $ bash < <(curl -s https://raw.githubusercontent.com/babashka/babashka/master/install) ``` or grab a binary from [Github releases](https://github.com/babashka/babashka/releases) yourself and place it anywhere on the path. Then you're ready to go: ``` shellsession $ ls | bb -i '(filter fs/directory? *input*)' ("doc" "resources" "sci" "script" "src" "target" "test") bb took 4ms. ``` ## Babashka users See [companies](doc/companies.md) for a list of companies using babashka. Are you using babashka in your company or personal projects? Let us know [here](https://github.com/babashka/babashka/issues/254). ## Setting expectations Babashka uses [SCI](https://github.com/borkdude/sci) for interpreting Clojure. SCI implements a substantial subset of Clojure. Interpreting code is in general not as performant as executing compiled code. If your script takes more than a few seconds to run or has lots of loops, Clojure on the JVM may be a better fit as the performance on JVM is going to outweigh its startup time penalty. Read more about the differences with Clojure [here](#differences-with-clojure). ## Status Functionality regarding `clojure.core` and `java.lang` can be considered stable and is unlikely to change. Changes may happen in other parts of babashka, although we will try our best to prevent them. Always check the release notes or [CHANGELOG.md](CHANGELOG.md) before upgrading. ### Talk To get an overview of babashka, you can watch this talk ([slides](https://speakerdeck.com/borkdude/babashka-and-the-small-clojure-interpreter-at-clojured-2020)): [![Babashka at ClojureD 2020](https://img.youtube.com/vi/Nw8aN-nrdEk/0.jpg)](https://www.youtube.com/watch?v=Nw8aN-nrdEk) ## Babashka book The [babashka book](https://book.babashka.org) contains detailed information about how to get the most out of babashka scripting. If you're a fan of [Clojure for the Brave and True](https://www.braveclojure.com/clojure-for-the-brave-and-true/), you might enjoy [Babashka Babooka](https://www.braveclojure.com/quests/babooka/), a book by the same author, Daniel Higginbotham! ## Examples Read the output from a shell command as a lazy seq of strings: ``` shell $ ls | bb -i '(take 2 *input*)' ("CHANGES.md" "Dockerfile") ``` Read EDN from stdin and write the result to stdout: ``` shell $ bb '(vec (dedupe *input*))' <<< '[1 1 1 1 2]' [1 2] ``` Read more about `*input*` and in- and output flags [here](https://book.babashka.org/#_input_and_output_flags). Execute a script. E.g. print the current time in California using the `java.time` API: File `pst.clj`: ``` clojure #!/usr/bin/env bb (def now (java.time.ZonedDateTime/now)) (def LA-timezone (java.time.ZoneId/of "America/Los_Angeles")) (def LA-time (.withZoneSameInstant now LA-timezone)) (def pattern (java.time.format.DateTimeFormatter/ofPattern "HH:mm")) (println (.format LA-time pattern)) ``` ``` shell $ pst.clj 05:17 ``` More examples can be found [here](examples/README.md). ## Try online You can try babashka online with Nextjournal's babashka [notebook environment](http://nextjournal.com/try/babashka?cm6=1). ## Installation ### Brew Linux and macOS binaries are provided via brew. Install: brew install borkdude/brew/babashka Upgrade: brew upgrade babashka ### Nix Linux and macOS (including ARM Macs) binaries are provided via nix (see the installation instructions for nix [here](https://nixos.org/download.html)). Install: # Adding `nixpkgs-unstable` channel for more up-to-date binaries, skip this if you already have `nixpkgs-unstable` in your channel list nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs-unstable nix-channel --update nix-env -iA nixpkgs-unstable.babashka Upgrade: nix-channel --update nix-env -iA nixpkgs-unstable.babashka You can find more documentation on how to use babashka with nix [here](./doc/nix.md). ### Alpine On Alpine it's recommended to download the binary manually from [Github Releases](https://github.com/babashka/babashka/releases) and use the static linux binary. ### Arch (Linux) `babashka` is [available](https://aur.archlinux.org/packages/babashka-bin/) in the [Arch User Repository](https://aur.archlinux.org). It can be installed using your favorite [AUR](https://aur.archlinux.org) helper such as [yay](https://github.com/Jguer/yay), [yaourt](https://github.com/archlinuxfr/yaourt), [apacman](https://github.com/oshazard/apacman) and [pacaur](https://github.com/rmarquis/pacaur). Here is an example using `yay`: yay -S babashka-bin ### asdf [asdf](https://github.com/asdf-vm/asdf) is an extendable version manager for linux and macOS. Babashka can be installed using a plugin as follows: asdf plugin add babashka https://github.com/pitch-io/asdf-babashka asdf install babashka latest ### Windows #### Scoop On Windows you can install using [scoop](https://scoop.sh/) and the [scoop-clojure](https://github.com/littleli/scoop-clojure) bucket. Or just follow these concrete steps: ``` powershell # Note: if you get an error you might need to change the execution policy (i.e. enable Powershell) with # Set-ExecutionPolicy RemoteSigned -scope CurrentUser Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh') scoop bucket add scoop-clojure https://github.com/littleli/scoop-clojure scoop bucket add extras scoop install babashka ``` #### Manual If scoop does not work for you, then you can also just download the `bb.exe` binary from [Github releases](https://github.com/babashka/babashka/releases) and place it on your path manually. #### WSL1 > Note: WSL1 users might experience a BSOD, please use the --static install option when installing ``` shell $ curl -sLO https://raw.githubusercontent.com/babashka/babashka/master/install $ chmod +x install $ ./install --static ``` ### Installer script Install via the installer script for linux and macOS: ``` shell $ curl -sLO https://raw.githubusercontent.com/babashka/babashka/master/install $ chmod +x install $ ./install ``` By default this will install into `/usr/local/bin` (you may need `sudo` for this). To change this, provide the directory name: ``` shell $ ./install --dir . ``` To install a specific version, the script also supports `--version`: ``` shell $ ./install --dir . --version 0.4.1 ``` To force the download of the zip archive to a different directory than `/tmp` use the `--download-dir` argument: ``` shell $ ./install --dir . --version 0.4.1 --download-dir . ``` On Linux, if you want to install the static binary version: ``` shell $ ./install --dir . --version 0.4.1 --download-dir . --static ``` In case you want to check the download, you can use the `--checksum` option. This maybe useful for unattended installations: ``` shell $ sha256sum babashka-0.4.1-linux-amd64-static.tar.gz ab70fb39fdbb5206c0a2faab178ffb54dd9597991a4bc13c65df2564e8f174f6 babashka-0.4.1-linux-amd64-static.tar.g $ ./install --dir /tmp --checksum ab70fb39fdbb5206c0a2faab178ffb54dd9597991a4bc13c65df2564e8f174f6 --static --version 0.4.1 ``` Note that the `--checksum` option only works when `--version` option is also provided. This is to avoid breakage when a new version of Babashka is released. ### Github releases You may also download a binary from [Github](https://github.com/babashka/babashka/releases). For linux there is a static binary available which can be used on Alpine. ### CI - On Github Actions it's recommended to use [setup-clojure](https://github.com/DeLaGuardo/setup-clojure) with `bb: latest`. - You can use the [installer script](https://github.com/babashka/babashka#installer-script) on any non-Windows CI system. CircleCI requires `sudo`. - On Appveyor + Windows you can use a bit of [Powershell](https://github.com/clj-kondo/clj-kondo/blob/39b5cb2b0d3d004c005e8975b6fafe0e314eec68/appveyor.yml#L60-L64). ## Docker Check out the image on [Docker hub](https://hub.docker.com/r/babashka/babashka/). ## [News](doc/news.md) Check out the [news](doc/news.md) page to keep track of babashka-related news items. ## [Built-in namespaces](https://book.babashka.org/#built-in-namespaces) Go [here](https://book.babashka.org/#built-in-namespaces) to see the full list of built-in namespaces. ## [Compatible Projects](doc/projects.md) A list of projects (scripts, libraries, pods and tools) known to work with babashka. ## Badges <!-- note to editor: it seems a blank line must appear before code blocks within <details> --> [![bb compatible](/logo/badge.svg)](https://babashka.org) The babashka compatible badge indicates that a [library can be used as babashka dependency](doc/projects.md). If this is the case for your library, we encourage you to proudly display this badge. <details><summary>Markdown</summary> ```markdown [![bb compatible](https://raw.githubusercontent.com/babashka/babashka/master/logo/badge.svg)](https://babashka.org) ``` </details> <details><summary>AsciiDoc</summary> ```asciidoc https://babashka.org[image:https://raw.githubusercontent.com/babashka/babashka/master/logo/badge.svg[bb compatible]] ``` </details> <details><summary>HTML</summary> ```html <a href="https://babashka.org" rel="nofollow"><img src="https://github.com/babashka/babashka/raw/master/logo/badge.svg" alt="bb compatible" style="max-width: 100%;"></a> ``` </details> <br/> [![bb built-in](/logo/built-in-badge.svg)](https://babashka.org) The babashka built-in badge means that a [library has been built directly into babashka](https://book.babashka.org/#built-in-namespaces) and requires no extra dependencies to use it. If this rare honor belongs to your library, you should display this badge. <details><summary>Markdown</summary> ```markdown [![bb built-in](https://raw.githubusercontent.com/babashka/babashka/master/logo/built-in-badge.svg)](https://babashka.org) ``` </details> <details><summary>AsciiDoc</summary> ```asciidoc https://babashka.org[image:https://raw.githubusercontent.com/babashka/babashka/master/logo/built-in-badge.svg[bb built-in]] ``` </details> <details><summary>HTML</summary> ```html <a href="https://babashka.org" rel="nofollow"><img src="https://github.com/babashka/babashka/raw/master/logo/built-in-badge.svg" alt="bb built-in" style="max-width: 100%;"></a> ``` </details> </br> ## [Pods](https://github.com/babashka/babashka.pods) Pods are programs that can be used as a Clojure library by babashka. Documentation is available in the [pod library repo](https://github.com/babashka/pods). A list of available pods can be found in the [pod registry](https://github.com/babashka/pod-registry). ## Differences with Clojure Babashka is implemented using the [Small Clojure Interpreter](https://github.com/borkdude/sci). This means that a snippet or script is not compiled to JVM bytecode, but executed form by form by a runtime which implements a substantial subset of Clojure. Babashka is compiled to a native binary using [GraalVM](https://github.com/oracle/graal). It comes with a selection of built-in namespaces and functions from Clojure and other useful libraries. The data types (numbers, strings, persistent collections) are the same. Multi-threading is supported (`pmap`, `future`). Differences with Clojure: - A pre-selected set of Java classes are supported. You cannot add Java classes at runtime. - Interpretation comes with overhead. Therefore loops are slower than in Clojure on the JVM. In general interpretation yields slower programs than compiled programs. - No `deftype`, `definterface` and unboxed math. - `defprotocol` and `defrecord` are implemented using multimethods and regular maps. Ostensibly they work the same, but under the hood there are no Java classes that correspond to them. - Currently `reify` works only for one class at a time - The `clojure.core.async/go` macro is not (yet) supported. For compatibility it currently maps to `clojure.core.async/thread`. More info [here](https://book.babashka.org/#core_async). ## Package babashka script as a AWS Lambda AWS Lambda runtime doesn't support signals, therefore babashka has to disable handling of SIGINT and SIGPIPE. This can be done by setting `BABASHKA_DISABLE_SIGNAL_HANDLERS` to `true`. ## Articles, podcasts and videos - [Blambda analyses sites](https://jmglov.net/blog/2023-01-04-blambda-analyses-sites.html) by Josh Glover - [The wizard of HOP - How we built the web based HOP CLI Settings Editor using Babashka and Scittle](https://www.gethop.dev/post/the-wizard-of-hop-how-we-built-the-web-based-hop-cli-settings-editor-using-babashka-and-scittle) by Bingen Galartza - [Simple TUIs with Babashka and Gum](https://rattlin.blog/bbgum.html) by Rattlin.blog - [Babashka And Dialog Part Ii: Announcing The Bb-Dialog Library](https://www.pixelated-noise.com/blog/2023/01/20/bb-dialog-announcement/index.html) by A.C. Danvers - [Babashka Babooka](https://www.braveclojure.com/quests/babooka/): Write Command-Line Clojure by Daniel Higginbotham - [Re-Writing a GlobalProtect OpenConnect VPN Connect script in Babashka](https://tech.toryanderson.com/2023/01/14/re-writing-a-globalprotect-openconnect-vpn-connect-script-in-babashka/) by Tory Anderson - [Babashka: How GraalVM Helped Create a Fast-Starting Scripting Environment for Clojure](https://medium.com/graalvm/babashka-how-graalvm-helped-create-a-fast-starting-scripting-environment-for-clojure-b0fcc38b0746) by Michiel Borkent (Japanese version [here]((https://logico-jp.io/2023/01/07/babashka-how-graalvm-helped-create-a-fast-starting-scripting-environment-for-clojure/))) - [Adding Prompts To Your Babashka Scripts With Dialog](https://www.pixelated-noise.com/blog/2022/12/09/dialog-and-babashka/index.html) by A.C. Danvers - [Scraping an HTML dictionary with Babashka and Bootleg](https://blog.exupero.org/scraping-an-html-dictionary-with-babashka-and-bootleg/) by exupero - [Using Babashka to Get Electricity Prices](https://www.karimarttila.fi/clojure/2022/12/04/using-babashka-to-get-electricity-prices.html) by Kari Marttila - [How to Do Things With Babashka](https://presumably.de/how-to-do-things-with-babashka.html) by Paulus Esterhazy (2022-12) - [Using nREPL as a system interface](https://yogthos.net/posts/2022-11-26-nREPL-system-interaction.html) by Dmitri Sotnikov - [Manage git hooks with babashka tasks](https://blaster.ai/blog/posts/manage-git-hooks-w-babashka.html) by Mykhaylo Bilyanskyy - [Messing around with babashka](https://ian-muge.medium.com/messing-around-with-babashka-f181a9003faa) by Ian Muge - Introducing [bbin](https://radsmith.com/bbin) by Radford Smith (2022-09) - [Deleting AWS Glacier vaults with babashka](https://javahippie.net/clojure/2022/07/23/deleting-aws-glacier-vaults-with-babashka.html) by Tim Zöller - [Recursive document transformations with Pandoc and Clojure](https://play.teod.eu/document-transform-pandoc-clojure/) by Teodor Heggelund - [Blambda!](https://jmglov.net/blog/2022-07-03-blambda.html) by Josh Glover - [Babashka CLI](https://blog.michielborkent.nl/babashka-cli.html): turn Clojure functions into CLIs! - [Breakneck Babashka on K8s](https://www.linkedin.com/pulse/breakneck-babashka-k8s-heow-goodman/) by Heow Goodman - [Recursive document transformations with Pandoc and Clojure](https://play.teod.eu/document-transform-pandoc-clojure/) - [Detecting inconsistent aliases in a clojure codebase](https://www.youtube.com/watch?v=bf8KLKkCH2g) by Oxalorg - [I, too, Wrote Myself a Static Site Generator](https://dawranliou.com/blog/i-too-wrote-myself-a-static-site-generator/) by Daw-Ran Liou - [Babashka and Clojure](https://youtu.be/ZvOs5Ele6VE) by Rahul Dé at North Virginia Linux Users Group - [Create a password manager with Clojure using Babashka, sqlite, honeysql and stash](https://youtu.be/jm0RXmyjRJ8) by Daniel Amber - [Writing Clojure-living-cookbooks](https://www.loop-code-recur.io/live-clojure-cookbooks) by Cyprien Pannier - [Using babashka with PHP](https://blog.michielborkent.nl/using-babashka-with-php.html) by Michiel Borkent - [Moldable Emacs: a Clojure Playground with Babashka](https://ag91.github.io/blog/2021/11/05/moldable-emacs-a-clojure-playground-with-babashka/) by Andrea - [Finding my inner Wes Anderson with #Babashka](https://javahippie.net/clojure/2021/10/18/finding-my-inner-wes-anderson.html) by Tim Zöller - [Awesome Babashka: Parse & produce HTML and SQLite](https://blog.jakubholy.net/2021/awesome-babashka-dash/) by Jakub Holý - [Babashka tasks](https://youtu.be/u5ECoR7KT1Y), talk by Michiel Borkent - [Rewriting a clojure file with rewrite-clj and babashka](https://youtu.be/b7NPKsm8gkc), video by Oxalorg - [Integrating Babashka into Bazel](https://timjaeger.io/20210627-integrating-babashka-with-bazel.html) by Tim Jäger - [Talk](https://youtu.be/Yjeh57eE9rg): Babashka: a native Clojure interpreter for scripting — The 2021 Graal Workshop at CGO - [Blog](https://savo.rocks/posts/playing-new-music-on-old-car-stereo-with-clojure-and-babashka/): Playing New Music On Old Car Stereo With Clojure And Babashka - [Homoiconicity and feature flags](https://martinklepsch.org/posts/homoiconicity-and-feature-flags.html) by Martin Klepsch - [Clojure like its PHP](https://eccentric-j.com/blog/clojure-like-its-php.html) by Jay Zawrotny (eccentric-j) - [Deploy babashka script to AWS Lambda](https://www.jocas.lt/blog/post/babashka-aws-lambda/) by Dainius Jocas. - [Automating Video Edits with Clojure and ffmpeg](https://youtu.be/Tmgy57R9HZM) by Adam James. - [Exporter for passwordstore.org](https://www.ieugen.ro/posts/2020/2020-12-26-export-passwords-with-babashka/) by Eugen Stan - [Babashka and sci internals](https://youtu.be/pgNp4Lk3gf0), a talk by Michiel Borkent at the [London Clojurians Meetup](https://www.meetup.com/London-Clojurians). - [Writing Clojure on the Command Line with Babashka](https://youtu.be/RogyxI-GaGQ), a talk by Nate Jones. - [Using Clojure in Command Line with Babashka](http://www.karimarttila.fi/clojure/2020/09/01/using-clojure-in-command-line-with-babashka.html), a blog article by Kari Marttila. - [Babashka and GraalVM; taking Clojure to new places](https://youtu.be/3EUMA6bd-xQ), a talk by Michiel Borkent at [Clojure/NYC](https://www.meetup.com/Clojure-NYC/). - [Import a CSV into Kafka, using Babashka](https://blog.davemartin.me/posts/import-a-csv-into-kafka-using-babashka/) by Dave Martin - [Learning about babashka](https://amontalenti.com/2020/07/11/babashka), a blog article by Andrew Montalenti - [Babashka Pods](https://www.youtube.com/watch?v=3Q4GUiUIrzg&feature=emb_logo) presentation by Michiel Borkent at the [Dutch Clojure Meetup](http://meetup.com/The-Dutch-Clojure-Meetup). - [AWS Logs using Babashka](https://tech.toyokumo.co.jp/entry/aws_logs_babashka), a blog published by [Toyokumo](https://toyokumo.co.jp/). - [The REPL podcast](https://www.therepl.net/episodes/36/) Michiel Borkent talks about [clj-kondo](https://github.com/borkdude/clj-kondo), [Jet](https://github.com/borkdude/jet), Babashka, and [GraalVM](https://github.com/oracle/graal) with Daniel Compton. - [Implementing an nREPL server for babashka](https://youtu.be/0YmZYnwyHHc): impromptu presentation by Michiel Borkent at the online [Dutch Clojure Meetup](http://meetup.com/The-Dutch-Clojure-Meetup) - [ClojureScript podcast](https://soundcloud.com/user-959992602/s3-e5-babashka-with-michiel-borkent) with Jacek Schae interviewing Michiel Borkent - [Babashka talk at ClojureD](https://www.youtube.com/watch?v=Nw8aN-nrdEk) ([slides](https://speakerdeck.com/babashka/babashka-and-the-small-clojure-interpreter-at-clojured-2020)) by Michiel Borkent - [Babashka: a quick example](https://juxt.pro/blog/posts/babashka.html) by Malcolm Sparks - [Clojure Start Time in 2019](https://stuartsierra.com/2019/12/21/clojure-start-time-in-2019) by Stuart Sierra - [Advent of Random Hacks](https://lambdaisland.com/blog/2019-12-19-advent-of-parens-19-advent-of-random-hacks) by Arne Brasseur - [Clojure in the Shell](https://lambdaisland.com/blog/2019-12-05-advent-of-parens-5-clojure-in-the-shell) by Arne Brasseur - [Clojure Tool](https://purelyfunctional.tv/issues/purelyfunctional-tv-newsletter-351-clojure-tool-babashka/) by Eric Normand ## [Building babashka](doc/build.md) ## [Developing Babashka](doc/dev.md) ## Including new libraries or classes Before new libraries or classes go into the standardly distributed babashka binary, these evaluation criteria are considered: - The library or class is useful for general purpose scripting. - Adding the library or class would make babashka more compatible with Clojure libraries relevant to scripting. - The library cannot be interpreted by with babashka using `--classpath`. - The functionality can't be met by shelling out to another CLI or can't be written as a small layer over an existing CLI (like `babashka.curl`) instead. - The library cannot be implemented as a [pod](https://github.com/babashka/babashka.pods). If not all of the criteria are met, but adding a feature is still useful to a particular company or niche, adding it behind a feature flag is still a possibility. This is currently the case for `next.jdbc` and the `PostgresQL` and `HSQLDB` database drivers. Companies interested in these features can compile an instance of babashka for their internal use. Companies are also free to make forks of babashka and include their own internal libraries. If their customized babashka is interesting to share with the world, they are free to distribute it using a different binary name (like `bb-sql`, `bb-docker`, `bb-yourcompany`, etc.). See the [feature flag documentation](doc/build.md#feature-flags) and the implementation of the existing feature flags ([example commit](https://github.com/babashka/babashka/commit/02c7c51ad4b2b1ab9aa95c26a74448b138fe6659)). ## Related projects - [planck](https://planck-repl.org/) - [joker](https://github.com/candid82/joker) - [closh](https://github.com/dundalek/closh) - [lumo](https://github.com/anmonteiro/lumo) ## Contributors Thanks to all the people that contributed to babashka: - [Adgoji](https://www.adgoji.com/) for financial support - [CircleCI](https://circleci.com/) for CI and additional support - [Nikita Prokopov](https://github.com/tonsky) for the logo - [Contributors](https://github.com/babashka/babashka/graphs/contributors) and other users posting issues with bug reports and ideas - [Github sponsors](https://github.com/sponsors/borkdude) - [OpenCollective sponsors](https://opencollective.com/babashka) - [Clojurists Together](https://www.clojuriststogether.org/) ### Code Contributors This project exists thanks to all the people who contribute. [[Contribute](doc/dev.md)]. <a href="https://github.com/babashka/babashka/graphs/contributors"><img src="https://opencollective.com/babashka/contributors.svg?width=890&button=false" /></a> ### Financial Contributors #### Github Sponsors - [Dig Gashinsky](https://github.com/digash) #### OpenCollective Become a financial contributor and help us sustain our community. [[Contribute](https://opencollective.com/babashka/contribute)] ##### Individuals <a href="https://opencollective.com/babashka"><img src="https://opencollective.com/babashka/individuals.svg?width=890"></a> ##### Organizations Support this project with your organization. Your logo will show up here with a link to your website. [[Contribute](https://opencollective.com/babashka/contribute)] <a href="https://opencollective.com/babashka/organization/0/website"><img src="https://opencollective.com/babashka/organization/0/avatar.svg"></a> <a href="https://opencollective.com/babashka/organization/1/website"><img src="https://opencollective.com/babashka/organization/1/avatar.svg"></a> <a href="https://opencollective.com/babashka/organization/2/website"><img src="https://opencollective.com/babashka/organization/2/avatar.svg"></a> <a href="https://opencollective.com/babashka/organization/3/website"><img src="https://opencollective.com/babashka/organization/3/avatar.svg"></a> <a href="https://opencollective.com/babashka/organization/4/website"><img src="https://opencollective.com/babashka/organization/4/avatar.svg"></a> <a href="https://opencollective.com/babashka/organization/5/website"><img src="https://opencollective.com/babashka/organization/5/avatar.svg"></a> <a href="https://opencollective.com/babashka/organization/6/website"><img src="https://opencollective.com/babashka/organization/6/avatar.svg"></a> <a href="https://opencollective.com/babashka/organization/7/website"><img src="https://opencollective.com/babashka/organization/7/avatar.svg"></a> <a href="https://opencollective.com/babashka/organization/8/website"><img src="https://opencollective.com/babashka/organization/8/avatar.svg"></a> <a href="https://opencollective.com/babashka/organization/9/website"><img src="https://opencollective.com/babashka/organization/9/avatar.svg"></a> ## License Copyright © 2019-2020 Michiel Borkent Distributed under the EPL License. See LICENSE. This project contains code from: - Clojure, which is licensed under the same EPL License.
3,122
a cozy nest for your scripts
# `sd`: my `s`cript `d`irectory - [Usage](#usage) - [Installation](#installation) - [Changelog](#changelog) Has this ever happened to you? *Black and white video plays of someone struggling to find a shell script they wrote a year ago and stuffed into their `~/bin` without giving it a very meaningful name.* Don't you hate it when you can't find the scripts you need, when you need it? Well now there's a better way! *Color fills the screen. Someone holds `sd` up to the camera, and flashes a winning smile. They've found the script on their first try.* Introducing `sd`, the script directory for the refined, sophisticated professional. Simply organize your scripts in a logical directory hierarchy, and let `sd` take care of the rest! $ tree ~/sd /Users/ian/sd ├── blog │ ├── edit │ ├── preview │ └── publish ├── nix │ ├── diff │ ├── info │ └── sync └── tmux └── init And now instead of typing `~/sd/blog/publish`, you can just type `sd blog publish` -- a savings of nearly three whole characters! But wait! There's more! You'll wonder how you ever lived without `sd`'s best-in-class tab completion: $ sd nix <TAB> diff -- prints what will happen if you run sync info -- <package> prints package description sync -- make user environment match ~/dotfiles/user.nix Simply write a one-line comment in your script, and you'll never be left scratching your head over how you were supposed to call it! # uhh Hi okay sorry. [Take a look at this blog post for a real introduction and a fancy asciinema demo of how it works.](https://ianthehenry.com/posts/sd-my-script-directory/) # Usage The default behavior for `sd foo bar` is: - If `~/sd/foo` is an executable file, execute `~/sd/foo bar`. - If `~/sd/foo/bar` is an executable file, execute it with no arguments. - If `~/sd/foo/bar` is a directory, this is the same is `sd foo bar --help` (it prints usage information). - If `~/sd/foo/bar` is a non-executable regular file, this is the same is `sd foo bar --cat` (it just prints the file out). There are some special flags that are significant to `sd`. If you supply any one of these arguments, `sd` will not invoke your script, and will do something fancier instead. $ sd foo bar --help $ sd foo bar --new $ sd foo bar --edit $ sd foo bar --cat $ sd foo bar --which $ sd foo bar --really ## `--help` Print the contents of a help file, or generate a help file from comments in a script. For executables, `sd` looks for a file with the same name but the `.help` extension. For example, `sd nix diff --help` would look for a file called `~/sd/nix/diff.help`, and print it out. For directories, `sd` looks for a file that's just called `help`. So `sd nix --help` would look for `~/sd/nix/help`. If there is no help file for an executable, `sd` will print the first comment block in the file instead. `sd` currently only recognizes bash-style `#` comments. For example: $ cat ~/sd/nix/sync ```bash #!/usr/bin/env bash # make user environment match ~/dotfiles/user.nix # # This will remove any packages you've installed with nix-env # but have not added to user.nix. To see exactly what this # will do, run: # # sd nix diff set -euo pipefail # maybe this should be configurable nix-env -irf ~/dotfiles/user.nix ``` That will produce the following help output (note that it only prints the first contiguous comment block): ``` $ sd nix sync --help make user environment match ~/dotfiles/user.nix This will remove any packages you've installed with nix-env but have not added to user.nix. To see exactly what this will do, run: sd nix diff ``` If you run `--help` for a directory, it will also print out a command listing after the help text: ``` $ sd nix --help nix commands install -- <package> use --latest to install from nixpkgs-unstable shell -- add gcroots for shell.nix diff -- prints what will happen if you run sync info -- <package> prints package description sync -- make user environment match ~/dotfiles/user.nix ``` ## `--new` Everything to the left of `--new` is considered a command path, and everything to the right of `--new` is considered the command body. For example: $ sd foo bar --new echo hi Will try to create a new command at `~/sd/foo/bar` with an initial contents of `echo hi`. Actually, to be more precise, it will create this script: $ cat ~/sd/foo/bar ```bash #!/usr/bin/env bash set -euo pipefail echo hi ``` Assuming the default template. If no body is supplied after `--new`, `sd` will open the script for editing. ### custom script templates You can customize the template used by `--new` by creating a file called `template`, either in `~/sd` or one of its subdirectories. `sd` will try to find a template by walking recursively up the directory hierarchy. For example, if you run: ``` $ sd foo bar baz --new ``` `sd` will try to find a template at `~/sd/foo/bar/template` first, then fall back to `~/sd/foo/template`, then `~/sd/template`. If it doesn't find any template file, it will use the default bash template shown above. (There is no need to make your `template` executable -- `sd` will take care of that for you.) When `--new` is used to create an inline script, that script will always go at the *end* of your template file. There is currently no way to customize this. ## `--cat` Prints the contents of the script. See `SD_CAT` below. ## `--edit` Open the script in an editor. See `SD_EDITOR` below. ## `--which` Prints the path of the script. ## `--really` Suppress special handling of all of the other special flags. This allows you to pass `--help` or `--new` as arguments to your actual script, instead of being interpreted by `sd`. For example: $ sd foo bar --help --really Will invoke: ~/sd/foo/bar --help The first occurrence of the `--really` argument will be removed from the arguments passed to the script, so if you need to pass a literal `--really`, you must pass it twice to `sd`. For example: $ sd foo bar --help --really --really Will invoke: $ ~/sd/foo/bar --help --really # Context When a script is invoked, `sd` will set the environment variable `SD` to the directory that the script was found in -- in other words, `$(dirname "$0")`. This makes it slightly more convenient to refer to shared helper files or other scripts relative to the executing script. # Options `sd` respects some environment variables: - `SD_ROOT`: location of the script directory. Defaults to `$HOME/sd`. - `SD_EDITOR`: used by `sd foo --edit` and `sd foo --new`. Defaults to `$VISUAL`, then `$EDITOR`, then finally falls back to `vi` if neither of those are set. - `SD_CAT`: program used when printing files, in case you want to use something like [`bat`](https://github.com/sharkdp/bat). Defaults to `cat`. # Installation There are two ways to use `sd`: 1. source the `sd` file, which will define the shell function `sd` 2. treat `sd` as a regular executable and put it somewhere on your `PATH` I prefer to use `sd` as a regular executable, but the function approach is more convenient if you already use a shell plugin manager that knows how to set up `fpath` automatically. Note that you cannot invoke "recursive `sd`" (that is, write scripts that themselves invoke `sd`) if you use the function approach. This includes all of the helper scripts in `sdefaults/` (explained below). ## Installation as a regular script `sd` is not currently packaged in any package manager that I am aware of, but it should be pretty easy if you want to package it for your distribution. It's just a single script and a single completion file. Until that day: 1. Put the `sd` script somewhere on your `PATH`. 2. Put the `_sd` completion script somewhere on your `fpath`. I like to symlink `sd` to `~/bin`, which is already on my path. If you've cloned this repo to `~/src/sd`, you can do that by running something like: $ ln -s ~/src/sd/sd ~/bin/sd There isn't really a standard place in your home directory to put completion scripts, so unless you've made your own, you'll probably want to add your clone directly to your `fpath`. You should add that to your `.zshrc` file before the line where you call `compinit`. It should look something like this: # ~/.zshrc fpath=(~/src/sd $fpath) autoload -U compinit compinit If you use a zsh framework like [`oh-my-zsh`](https://github.com/ohmyzsh/ohmyzsh), it probably calls `compinit` for you. In that case, just set your `fpath` before you source the framework's initialization script. Note that changes you make to your `~/.zshrc` will only take effect for *future* shells you create, so to start enjoying `sd` immediately you'll also want to run these commands in your existing shells: $ fpath=(~/src/sd $fpath) $ compinit ## Installation as a shell function You can just source `sd` in your `.zshrc` and set up completion manually (as described below), but `sd` is designed to be compatible with shell plugin managers. ### [Antigen](https://github.com/zsh-users/antigen) Add this line to your `.zshrc`: ```shell antigen bundle ianthehenry/sd ``` ### [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh): Clone this repo into your custom plugins directory: ``` $ git clone https://github.com/ianthehenry/sd.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/sd ``` And then add it to the plugins list in your `~/.zshrc` before you source `oh-my-zsh`: ``` plugins+=(sd) source "$ZSH/oh-my-zsh.sh" ``` ## `sd help command` vs. `sd command --help` There are some scripts in `sdefaults/` that you can copy into your own `~/sd` if you like. They'll let you type `sd cat foo bar` instead of `sd foo bar --cat` or `sd new foo -- echo hi` instead of `sd foo --new echo hi` (and so on for each of the built-in commands). These mostly exist for backwards compatibility with an earlier version of `sd`. You don't have to use them if you don't want to. Note that they will not work if you've installed `sd` as a shell function instead of an executable. # bash/fish autocompletion support Patrick Jackson contributed [an unofficial fish completion script](https://gist.github.com/patricksjackson/5065e4a9d8e825dafc7824112f17a5e6), which should be usable with some modification (as written it does not respect `SD_ROOT`, but it should act as a very good starting point if you use fish). Bash doesn't support the fancy completion-with-description feature that is sort of the whole point of `sd`, but there are apparently ways to hack something similar. # Changelog ## v1.1.0 2022-10-30 - fix a bug where `--help` would print every comment in the script ## v1.0.1 2022-04-17 - better error message if `~/sd` does not exist - better error message if `~/sd` exists but is not a directory ## v1.0.0 2022-02-27 `sd` is now released under the MIT license. There are no functional changes from the pre-1.0 releases. ## v0.3.0 2022-02-26 - scripts now run with the `SD` environment variable set to the directory they were found in - autocompletion now completes arguments to commands instead of just commands - only completes positional file arguments and the built-in flags (like `--help`) - `sd` now only forks a subshell when invoked as a function - `sd` now `exec`s scripts instead of `fork`+`exec` - this fixes the rare issue where a long-running script could throw errors when it finished if you were editing the `sd` executable itself while the script was running, because `bash` was trying to execute the "rest" of the file and apparently doing so by byte index or something (??) - this only affects me ## v0.2.0 2022-02-24 - added per-directory `template` files, to override the `bash` default ## v0.1.1 2021-12-05 - fix a bug where `--new` wouldn't work unless provided with an initial script ## v0.1.0 2021-12-01 - added `--really` - `dir.help` files are now `dir/help` files You used to be able to provide a description for a directory called `foo/` by writing a file called `foo.help` as a sibling of that directory. Now directory help summaries are expected in `foo/help` instead. This has the sort-of nice effect that `sd foo help` is sometimes similar to `sd foo --help`. Except that the latter also prints out subcommands.
3,123
:godmode: Ultimate list of Linux bash commands, cheatsheet and resources
<p align="left"> <img src="https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&logo=linux&logoColor=blue" height=21 width=80> <img src="https://badges.frapsoft.com/bash/v1/bash.png?v=103)](https://github.com/ellerbrock/open-source-badges"> <img src="https://img.shields.io/badge/shell_script-%23121011.svg?style=for-the-badge&logo=gnu-bash&logoColor=white" height=22 width=110> # Ultimate List of Linux bash commands _Bash is the [Unix](https://www.google.com/search?q=What+is+UNIX+explain%3F&client=firefox-b-d&sxsrf=ALiCzsZmYtgn9ctD5vHAqgVFkM5tZ514pw%3A1667926333803&ei=PYlqY6XIMNmNwbkPqeK3qAo&ved=0ahUKEwjl2ozlhZ_7AhXZRjABHSnxDaUQ4dUDCA4&uact=5&oq=What+is+UNIX+explain%3F&gs_lcp=Cgxnd3Mtd2l6LXNlcnAQAzIFCAAQgAQyBQgAEIAEMgUIABCABDIGCAAQFhAeMgYIABAWEB4yBggAEBYQHjIFCAAQhgMyBQgAEIYDMgUIABCGAzIFCAAQhgM6CggAEEcQ1gQQsAM6BwgAELADEENKBAhNGAFKBAhBGABKBAhGGABQnAFYnAFgvwNoAXABeACAAa0BiAGtAZIBAzAuMZgBAKABAqABAcgBCsABAQ&sclient=gws-wiz-serp) command-line interface (CLI). Also called the terminal, the command line, or the shell. It's a command language that allows us to work with files on our computers in a way that's far more efficient and powerful than using a GUI (graphical user interface)._ <details><summary><h3>A to Z command list 📚</h3></summary> <p> > **Note**<br> > Use `Ctrl+f` to search in browsers🔎 <div align="center"> <h2>Table</h2> #### │ [A](#-a) │ [B](#-b) │ [C](#-c) │ [D](#-d) │ [E](#-e) │ [F](#-f) │ [G](#-g) │ [H](#-h) │ [I](#-i) │ [J](#-j) │ [K](#-k) │ [L](#-l) │ [M](#-m) │ [N](#-n) │ [O](#-o) │ [P](#-p) │ [Q](#-q) │ [R](#-r) │ [S](#-s) │ [T](#-t) │ [U](#-u) │ [V](#-v) │ [W](#-w) │ [X](#-x) │ [Y](#-y) │ [Z](#-z) │ </div> <h2> A</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">accept</td> <td class="tg-yw4l">Accept or Reject jobs to a destination, such as a printer.</td> </tr> <tr> <td class="tg-yw4l">access</td> <td class="tg-yw4l">Check a user’s RWX(read, write and execute) permission for a file.</td> </tr> <tr> <td class="tg-yw4l">accton</td> <td class="tg-yw4l"> Used to turn on or turn off the process for accounting or change info process accounting file.</td> </tr> <tr> <td class="tg-yw4l">aclocal</td> <td class="tg-yw4l">Used to automatically generate aclocal.m4 files from configure.in file.</td> </tr> <tr> <td class="tg-yw4l">aconnect</td> <td class="tg-yw4l">ALSA(Advanced Linux Sound Architecture) sequencer connection manager.</td> </tr> <tr> <td class="tg-yw4l">acpi</td> <td class="tg-yw4l">Show information about the Advanced Configuration and Power Interface.</td> </tr> <tr> <td class="tg-yw4l">acpi_available</td> <td class="tg-yw4l">Check if ACPI(Advanced Configuration and Power Interface) functionality exists on the system.</td> </tr> <tr> <td class="tg-yw4l">acpid</td> <td class="tg-yw4l">Informs user-space programs about ACPI events.</td> </tr> <tr> <td class="tg-yw4l">addr2line</td> <td class="tg-yw4l">Used to convert addresses into file names and line numbers.</td> </tr> <tr> <td class="tg-yw4l">addresses</td> <td class="tg-yw4l">Formats for internet mail addresses.</td> </tr> <tr> <td class="tg-yw4l">agetty</td> <td class="tg-yw4l">An alternative Linux Getty that manages physical or virtual terminals to allow multi-user access</td> </tr> <tr> <td class="tg-yw4l">alias</td> <td class="tg-yw4l">Create an alias, a shortcut that references a command.</td> </tr> <tr> <td class="tg-yw4l">alsactl</td> <td class="tg-yw4l">Access advanced controls for ALSA soundcard driver.</td> </tr> <tr> <td class="tg-yw4l">amidi</td> <td class="tg-yw4l">Perform read/write operation for ALSA RawMIDI ports.</td> </tr> <tr> <td class="tg-yw4l">amixer</td> <td class="tg-yw4l">Access CLI-based mixer for ALSA soundcard driver.</td> </tr> <tr> <td class="tg-yw4l">anacron</td> <td class="tg-yw4l">Used to run commands periodically.</td> </tr> <tr> <td class="tg-yw4l">aplay</td> <td class="tg-yw4l">Sound recorder and player for CLI.</td> </tr> <tr> <td class="tg-yw4l">aplaymidi</td> <td class="tg-yw4l">CLI utility used to play MIDI files.</td> </tr> <tr> <td class="tg-yw4l">apm</td> <td class="tg-yw4l">Show Advanced Power Management (APM) hardware info on older systems.</td> </tr> <tr> <td class="tg-yw4l">apmd</td> <td class="tg-yw4l">Used to handle events reported by APM BIOS drivers.</td> </tr> <tr> <td class="tg-yw4l">apropos</td> <td class="tg-yw4l">Shows the list of all man pages containing a specific keyword.</td> </tr> <tr> <td class="tg-yw4l">apt</td> <td class="tg-yw4l">Advanced Package Tool, a package management system for Debian and derivatives.</td> </tr> <tr> <td class="tg-yw4l">apt-get</td> <td class="tg-yw4l">Command-line utility to install/remove/update packages based on APT system.</td> </tr> <tr> <td class="tg-yw4l">aptitude</td> <td class="tg-yw4l">Another utility to add/remove/upgrade packages based on the APT system.</td> </tr> <tr> <td class="tg-yw4l">ar</td> <td class="tg-yw4l">A utility to create/modify/extract from archives.</td> </tr> <tr> <td class="tg-yw4l">arch</td> <td class="tg-yw4l">Display print machine hardware name.</td> </tr> <tr> <td class="tg-yw4l">arecord</td> <td class="tg-yw4l">Just like aplay, it’s a sound recorder and player for ALSA soundcard driver.</td> </tr> <tr> <td class="tg-yw4l">arecordmidi</td> <td class="tg-yw4l">Record standard MIDI files.</td> </tr> <tr> <td class="tg-yw4l">arp</td> <td class="tg-yw4l">Used to make changes to the system’s ARP cache.</td> </tr> <tr> <td class="tg-yw4l">as</td> <td class="tg-yw4l">A portable GNU assembler.</td> </tr> <tr> <td class="tg-yw4l">aspell</td> <td class="tg-yw4l">An interactive spell checker utility.</td> </tr> <tr> <td class="tg-yw4l">at</td> <td class="tg-yw4l">Used to schedule command execution at specified date &amp; time, reading commands from an input file.</td> </tr> <tr> <td class="tg-yw4l">atd</td> <td class="tg-yw4l">Used to execute jobs queued by the at command.</td> </tr> <tr> <td class="tg-yw4l">atq</td> <td class="tg-yw4l">List a user’s pending jobs for the at command.</td> </tr> <tr> <td class="tg-yw4l">atrm</td> <td class="tg-yw4l">Delete jobs queued by the at command.</td> </tr> <tr> <td class="tg-yw4l">audiosend</td> <td class="tg-yw4l">Used to send an audio recording as an email.</td> </tr> <tr> <td class="tg-yw4l">aumix</td> <td class="tg-yw4l">An audio mixer utility.</td> </tr> <tr> <td class="tg-yw4l">autoconf</td> <td class="tg-yw4l">Generate configuration scripts from a TEMPLATE-FILE and send the output to standard output.</td> </tr> <tr> <td class="tg-yw4l">autoheader</td> <td class="tg-yw4l">Create a template header for configure.</td> </tr> <tr> <td class="tg-yw4l">automake</td> <td class="tg-yw4l">Creates GNU standards-compliant Makefiles from template files.</td> </tr> <tr> <td class="tg-yw4l">autoreconf</td> <td class="tg-yw4l">Update generated configuration files.</td> </tr> <tr> <td class="tg-yw4l">autoscan</td> <td class="tg-yw4l">Generate a preliminary configure.in file.</td> </tr> <tr> <td class="tg-yw4l">autoupdate</td> <td class="tg-yw4l">Update a configure.in file to newer autoconf.</td> </tr> <tr> <td class="tg-yw4l">awk</td> <td class="tg-yw4l">A scripting language used for manipulating data and generating reports. Also used to find and replace text in a file(s).</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> B</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">badblocks</td> <td class="tg-yw4l">Search a disk partition for bad sectors.</td> </tr> <tr> <td class="tg-yw4l">banner</td> <td class="tg-yw4l">Used to print characters as a poster.</td> </tr> <tr> <td class="tg-yw4l">basename</td> <td class="tg-yw4l">Used to display filenames with directory or suffix.</td> </tr> <tr> <td class="tg-yw4l">bash</td> <td class="tg-yw4l">GNU Bourne-Again Shell.</td> </tr> <tr> <td class="tg-yw4l">batch</td> <td class="tg-yw4l">Used to run commands entered on a standard input.</td> </tr> <tr> <td class="tg-yw4l">bc</td> <td class="tg-yw4l">Access the GNU bc calculator utility.</td> </tr> <tr> <td class="tg-yw4l">bg</td> <td class="tg-yw4l">Send processes to the background.</td> </tr> <tr> <td class="tg-yw4l">biff</td> <td class="tg-yw4l">Notify about incoming mail and sender’s name on a system running comsat server.</td> </tr> <tr> <td class="tg-yw4l">bind</td> <td class="tg-yw4l">Used to attach a name to a socket.</td> </tr> <tr> <td class="tg-yw4l">bison</td> <td class="tg-yw4l">A GNU parser generator, compatible with yacc.</td> </tr> <tr> <td class="tg-yw4l">break</td> <td class="tg-yw4l">Used to exit from a loop (eg: for, while, select).</td> </tr> <tr> <td class="tg-yw4l">builtin</td> <td class="tg-yw4l">Used to run shell builtin commands, make custom functions for commands extending their functionality.</td> </tr> <tr> <td class="tg-yw4l">bzcmp</td> <td class="tg-yw4l">Used to call the cmp program forbzip2 compressed files.</td> </tr> <tr> <td class="tg-yw4l">bzdiff</td> <td class="tg-yw4l">Used to call the diff program for bzip2 compressed files.</td> </tr> <tr> <td class="tg-yw4l">bzgrep</td> <td class="tg-yw4l">Used to call grep for bzip2 compressed files.</td> </tr> <tr> <td class="tg-yw4l">bzip2</td> <td class="tg-yw4l">A block-sorting file compressor used to shrink given files.</td> </tr> <tr> <td class="tg-yw4l">bzless</td> <td class="tg-yw4l">Used to apply ‘less’ (show info one page at a time) to bzip2 compressed files.</td> </tr> <tr> <td class="tg-yw4l">bzmore</td> <td class="tg-yw4l">Used to apply ‘more’ (an inferior version of less) to bzip2 compressed files.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> C</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">cal</td> <td class="tg-yw4l">Show calendar.</td> </tr> <tr> <td class="tg-yw4l">cardctl</td> <td class="tg-yw4l">Used to control PCMCIA sockets and select configuration schemes.</td> </tr> <tr> <td class="tg-yw4l">cardmgr</td> <td class="tg-yw4l">Keeps an eye on the added/removes sockets for PCMCIA devices.</td> </tr> <tr> <td class="tg-yw4l">case</td> <td class="tg-yw4l">Execute a command conditionally by matching a pattern.</td> </tr> <tr> <td class="tg-yw4l">cat</td> <td class="tg-yw4l">Used to concatenate files and print them on the screen.</td> </tr> <tr> <td class="tg-yw4l">cc</td> <td class="tg-yw4l">GNU C and C++ compiler.</td> </tr> <tr> <td class="tg-yw4l">ccrypt</td> <td class="tg-yw4l">Used for encryption and decryption of data.</td> </tr> <tr> <td class="tg-yw4l">cd</td> <td class="tg-yw4l">Used to change directory.</td> </tr> <tr> <td class="tg-yw4l">cdda2wav</td> <td class="tg-yw4l">Used to rip a CD-ROM and make WAV file.</td> </tr> <tr> <td class="tg-yw4l">cdparanoia</td> <td class="tg-yw4l">Record audio from CD more reliably using data-verification algorithms.</td> </tr> <tr> <td class="tg-yw4l">cdrdao</td> <td class="tg-yw4l">Used to write all the content specified to a file to a CD all at once.</td> </tr> <tr> <td class="tg-yw4l">cdrecord</td> <td class="tg-yw4l">Used to record data or audio compact discs.</td> </tr> <tr> <td class="tg-yw4l">cfdisk</td> <td class="tg-yw4l">Show or change the disk partition table.</td> </tr> <tr> <td class="tg-yw4l">chage</td> <td class="tg-yw4l">Used to change user password information.</td> </tr> <tr> <td class="tg-yw4l">chattr</td> <td class="tg-yw4l">Used to change file attributes.</td> </tr> <tr> <td class="tg-yw4l">chdir</td> <td class="tg-yw4l">Used to change active working directory.</td> </tr> <tr> <td class="tg-yw4l">chfn</td> <td class="tg-yw4l">Used to change real user name and information.</td> </tr> <tr> <td class="tg-yw4l">chgrp</td> <td class="tg-yw4l">Used to change group ownership for file.</td> </tr> <tr> <td class="tg-yw4l">chkconfig</td> <td class="tg-yw4l">Manage execution of runlevel services.</td> </tr> <tr> <td class="tg-yw4l">chmod</td> <td class="tg-yw4l">Change access permission for a file(s).</td> </tr> <tr> <td class="tg-yw4l">chown</td> <td class="tg-yw4l">Change the owner or group for a file.</td> </tr> <tr> <td class="tg-yw4l">chpasswd</td> <td class="tg-yw4l">Update password in a batch.</td> </tr> <tr> <td class="tg-yw4l">chroot</td> <td class="tg-yw4l">Run a command with root directory.</td> </tr> <tr> <td class="tg-yw4l">chrt</td> <td class="tg-yw4l">Alter process attributed in real-time.</td> </tr> <tr> <td class="tg-yw4l">chsh</td> <td class="tg-yw4l">Switch login shell.</td> </tr> <tr> <td class="tg-yw4l">chvt</td> <td class="tg-yw4l">Change foreground virtual terminal.</td> </tr> <tr> <td class="tg-yw4l">cksum</td> <td class="tg-yw4l">Perform a CRC checksum for files.</td> </tr> <tr> <td class="tg-yw4l">clear</td> <td class="tg-yw4l">Used to clear the terminal window.</td> </tr> <tr> <td class="tg-yw4l">cmp</td> <td class="tg-yw4l">Compare two files (byte by byte).</td> </tr> <tr> <td class="tg-yw4l">col</td> <td class="tg-yw4l">Filter reverse (and half-reverse) line feeds from the input.</td> </tr> <tr> <td class="tg-yw4l">colcrt</td> <td class="tg-yw4l">Filter nroff output for CRT previewing.</td> </tr> <tr> <td class="tg-yw4l">colrm</td> <td class="tg-yw4l">Remove columns from the lines of a file.</td> </tr> <tr> <td class="tg-yw4l">column</td> <td class="tg-yw4l">A utility that formats its input into columns.</td> </tr> <tr> <td class="tg-yw4l">comm</td> <td class="tg-yw4l">Used to compare two sorted files line by line.</td> </tr> <tr> <td class="tg-yw4l">command</td> <td class="tg-yw4l">Used to execute a command with arguments ignoring shell function named command.</td> </tr> <tr> <td class="tg-yw4l">compress</td> <td class="tg-yw4l">Used to compress one or more file(s) and replacing the originals ones.</td> </tr> <tr> <td class="tg-yw4l">continue</td> <td class="tg-yw4l">Resume the next iteration of a loop.</td> </tr> <tr> <td class="tg-yw4l">cp</td> <td class="tg-yw4l">Copy contents of one file to another.</td> </tr> <tr> <td class="tg-yw4l">cpio</td> <td class="tg-yw4l">Copy files from and to archives.</td> </tr> <tr> <td class="tg-yw4l">cpp</td> <td class="tg-yw4l">GNU C language processor.</td> </tr> <tr> <td class="tg-yw4l">cron</td> <td class="tg-yw4l">A daemon to execute scheduled commands.</td> </tr> <tr> <td class="tg-yw4l">crond</td> <td class="tg-yw4l">Same work as cron.</td> </tr> <tr> <td class="tg-yw4l">crontab</td> <td class="tg-yw4l">Manage crontab files (containing schedules commands) for users.</td> </tr> <tr> <td class="tg-yw4l">csplit</td> <td class="tg-yw4l">Split a file into sections on the basis of context lines.</td> </tr> <tr> <td class="tg-yw4l">ctags</td> <td class="tg-yw4l">Make a list of functions and macro names defined in a programming source file.</td> </tr> <tr> <td class="tg-yw4l">cupsd</td> <td class="tg-yw4l">A scheduler for CUPS.</td> </tr> <tr> <td class="tg-yw4l">curl</td> <td class="tg-yw4l">Used to transfer data from or to a server using supported protocols.</td> </tr> <tr> <td class="tg-yw4l">cut</td> <td class="tg-yw4l">Used to remove sections from each line of a file(s).</td> </tr> <tr> <td class="tg-yw4l">cvs</td> <td class="tg-yw4l">Concurrent Versions System. Used to track file versions, allow storage/retrieval of previous versions, and enables multiple users to work on the same file.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> D</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">date</td> <td class="tg-yw4l">Show system date and time.</td> </tr> <tr> <td class="tg-yw4l">dc</td> <td class="tg-yw4l">Desk calculator utility.</td> </tr> <tr> <td class="tg-yw4l">dd</td> <td class="tg-yw4l">Used to convert and copy a file, create disk clone, write disk headers, etc.</td> </tr> <tr> <td class="tg-yw4l">ddrescue</td> <td class="tg-yw4l">Used to recover data from a crashed partition.</td> </tr> <tr> <td class="tg-yw4l">deallocvt</td> <td class="tg-yw4l">Deallocates kernel memory for unused virtual consoles.</td> </tr> <tr> <td class="tg-yw4l">debugfs</td> <td class="tg-yw4l">File system debugger for ext2/ext3/ext4</td> </tr> <tr> <td class="tg-yw4l">declare</td> <td class="tg-yw4l">Used to declare variables and assign attributes.</td> </tr> <tr> <td class="tg-yw4l">depmod</td> <td class="tg-yw4l">Generate modules.dep and map files.</td> </tr> <tr> <td class="tg-yw4l">devdump</td> <td class="tg-yw4l">Interactively displays the contents of device or file system ISO.</td> </tr> <tr> <td class="tg-yw4l">df</td> <td class="tg-yw4l">Show disk usage.</td> </tr> <tr> <td class="tg-yw4l">diff</td> <td class="tg-yw4l">Used to compare files line by line.</td> </tr> <tr> <td class="tg-yw4l">diff3</td> <td class="tg-yw4l">Compare three files line by line.</td> </tr> <tr> <td class="tg-yw4l">dig</td> <td class="tg-yw4l">Domain Information Groper, a DNS lookup utility.</td> </tr> <tr> <td class="tg-yw4l">dir</td> <td class="tg-yw4l">List the contents of a directory.</td> </tr> <tr> <td class="tg-yw4l">dircolors</td> <td class="tg-yw4l">Set colors for ‘ls’ by altering the LS_COLORS environment variable.</td> </tr> <tr> <td class="tg-yw4l">dirname</td> <td class="tg-yw4l">Display pathname after removing the last slash and characters thereafter.</td> </tr> <tr> <td class="tg-yw4l">dirs</td> <td class="tg-yw4l">Show the list of remembered directories.</td> </tr> <tr> <td class="tg-yw4l">disable</td> <td class="tg-yw4l">Restrict access to a printer.</td> </tr> <tr> <td class="tg-yw4l">dlpsh</td> <td class="tg-yw4l">Interactive Desktop Link Protocol (DLP) shell for PalmOS.</td> </tr> <tr> <td class="tg-yw4l">dmesg</td> <td class="tg-yw4l">Examine and control the kernel ring buffer.</td> </tr> <tr> <td class="tg-yw4l">dmidecode</td> <td class="tg-yw4l">Used when the user wants to retrieve system’s hardware related information such as Processor, RAM(DIMMs), BIOS detail, etc. of Linux system in a readable format.</td> </tr> <tr> <td class="tg-yw4l">dnsdomainname</td> <td class="tg-yw4l">Show the DNS domain name of the system.</td> </tr> <tr> <td class="tg-yw4l">dnssec-keygen</td> <td class="tg-yw4l">Generate encrypted Secure DNS keys for a given domain name.</td> </tr> <tr> <td class="tg-yw4l">dnssec-makekeyset</td> <td class="tg-yw4l">Produce domain key set from one or more DNS security keys generated by dnssec-keygen.</td> </tr> <tr> <td class="tg-yw4l">dnssec-signkey</td> <td class="tg-yw4l">Sign a secure DNS keyset with key signatures specified in the list of key-identifiers.</td> </tr> <tr> <td class="tg-yw4l">dnssec-signzone</td> <td class="tg-yw4l">Sign a secure DNS zonefile with the signatures in the specified list of key-identifiers.</td> </tr> <tr> <td class="tg-yw4l">doexec</td> <td class="tg-yw4l">Used to run an executable with an arbitrary argv list provided.</td> </tr> <tr> <td class="tg-yw4l">domainname</td> <td class="tg-yw4l">Show or set the name of current NIS (Network Information Services) domain.</td> </tr> <tr> <td class="tg-yw4l">dosfsck</td> <td class="tg-yw4l">Used to retrieve information or statistics form components of the system such as network connections, IO devices, or CPU, etc.</td> </tr> <tr> <td class="tg-yw4l">dstat</td> <td class="tg-yw4l">Check and repair MS-DOS file systems.</td> </tr> <tr> <td class="tg-yw4l">du</td> <td class="tg-yw4l">Show disk usage summary for a file(s).</td> </tr> <tr> <td class="tg-yw4l">dump</td> <td class="tg-yw4l">Backup utility for ext2/ext3 file systems.</td> </tr> <tr> <td class="tg-yw4l">dumpe2fs</td> <td class="tg-yw4l">Dump ext2/ext3/ext4 file systems.</td> </tr> <tr> <td class="tg-yw4l">dumpkeys</td> <td class="tg-yw4l">Show information about the keyboard driver’s current translation tables.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> E</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">e2fsck</td> <td class="tg-yw4l">Used to check ext2/ext3/ext4 file systems.</td> </tr> <tr> <td class="tg-yw4l">e2image</td> <td class="tg-yw4l">Store important ext2/ext3/ext4 filesystem metadata to a file.</td> </tr> <tr> <td class="tg-yw4l">e2label</td> <td class="tg-yw4l">Show or change the label on an ext2/ext3/ext4 filesystem.</td> </tr> <tr> <td class="tg-yw4l">echo</td> <td class="tg-yw4l">Send input string(s) to standard output i.e. display text on the screen.</td> </tr> <tr> <td class="tg-yw4l">ed</td> <td class="tg-yw4l">GNU Ed – a line-oriented text editor.</td> </tr> <tr> <td class="tg-yw4l">edquota</td> <td class="tg-yw4l">Used to edit filesystem quotas using a text editor, such as vi.</td> </tr> <tr> <td class="tg-yw4l">egrep</td> <td class="tg-yw4l">Search and display text matching a pattern.</td> </tr> <tr> <td class="tg-yw4l">eject</td> <td class="tg-yw4l">Eject removable media.</td> </tr> <tr> <td class="tg-yw4l">elvtune</td> <td class="tg-yw4l">Used to set latency in the elevator algorithm used to schedule I/O activities for specified block devices.</td> </tr> <tr> <td class="tg-yw4l">emacs</td> <td class="tg-yw4l">Emacs text editor command line utility.</td> </tr> <tr> <td class="tg-yw4l">enable</td> <td class="tg-yw4l">Used to enable/disable shell builtin commands.</td> </tr> <tr> <td class="tg-yw4l">env</td> <td class="tg-yw4l">Run a command in a modified environment. Show/set/delete environment variables.</td> </tr> <tr> <td class="tg-yw4l">envsubst</td> <td class="tg-yw4l">Substitute environment variable values in shell format strings.</td> </tr> <tr> <td class="tg-yw4l">esd</td> <td class="tg-yw4l">Start the Enlightenment Sound Daemon (EsounD or esd). Enables multiple applications to access the same audio device simultaneously.</td> </tr> <tr> <td class="tg-yw4l">esd-config</td> <td class="tg-yw4l">Manage EsounD configuration.</td> </tr> <tr> <td class="tg-yw4l">esdcat</td> <td class="tg-yw4l">Use EsounD to send audio data from a specified file.</td> </tr> <tr> <td class="tg-yw4l">esdctl</td> <td class="tg-yw4l">EsounD control program.</td> </tr> <tr> <td class="tg-yw4l">esddsp</td> <td class="tg-yw4l">Used to reroute non-esd audio data to esd and control all the audio using esd.</td> </tr> <tr> <td class="tg-yw4l">esdmon</td> <td class="tg-yw4l">Used to copy the sound being sent to a device. Also, send it to a secondary device.</td> </tr> <tr> <td class="tg-yw4l">esdplay</td> <td class="tg-yw4l">Use EsounD system to play a file.</td> </tr> <tr> <td class="tg-yw4l">esdrec</td> <td class="tg-yw4l">Use EsounD to record audio to a specified file.</td> </tr> <tr> <td class="tg-yw4l">esdsample</td> <td class="tg-yw4l">Sample audio using esd.</td> </tr> <tr> <td class="tg-yw4l">etags</td> <td class="tg-yw4l">Used to create a list of functions and macros from a programming source file. These etags are used by emacs. For vi, use ctags.</td> </tr> <tr> <td class="tg-yw4l">ethtool</td> <td class="tg-yw4l">Used to query and control network driver and hardware settings.</td> </tr> <tr> <td class="tg-yw4l">eval</td> <td class="tg-yw4l">Used to evaluate multiple commands or arguments are once.</td> </tr> <tr> <td class="tg-yw4l">ex</td> <td class="tg-yw4l">Interactive command</td> </tr> <tr> <td class="tg-yw4l">exec</td> <td class="tg-yw4l">An interactive line-based text editor.</td> </tr> <tr> <td class="tg-yw4l">exit</td> <td class="tg-yw4l">Exit from the terminal.</td> </tr> <tr> <td class="tg-yw4l">expand</td> <td class="tg-yw4l">Convert tabs into spaces in a given file and show the output.</td> </tr> <tr> <td class="tg-yw4l">expect</td> <td class="tg-yw4l">An extension to the Tcl script, it’s used to automate interaction with other applications based on their expected output.</td> </tr> <tr> <td class="tg-yw4l">export</td> <td class="tg-yw4l">Used to set an environment variable.</td> </tr> <tr> <td class="tg-yw4l">expr</td> <td class="tg-yw4l">Evaluate expressions and display them on standard output.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> F</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">factor</td> <td class="tg-yw4l">Display prime factors of specified integer numbers.</td> </tr> <tr> <td class="tg-yw4l">false</td> <td class="tg-yw4l">Do nothing, unsuccessfully. Exit with a status code indicating failure.</td> </tr> <tr> <td class="tg-yw4l">fc</td> <td class="tg-yw4l">Used to list, edit or re-execute the commands previously entered into an interactive shell.</td> </tr> <tr> <td class="tg-yw4l">fc-cache</td> <td class="tg-yw4l">Make font information cache after scanning the directories.</td> </tr> <tr> <td class="tg-yw4l">fc-list</td> <td class="tg-yw4l">Show the list of available fonts.</td> </tr> <tr> <td class="tg-yw4l">fdformat</td> <td class="tg-yw4l">Do a low-level format on a floppy disk.</td> </tr> <tr> <td class="tg-yw4l">fdisk</td> <td class="tg-yw4l">Make changes to the disk partition table.</td> </tr> <tr> <td class="tg-yw4l">fetchmail</td> <td class="tg-yw4l">Fetch mail from mail servers and forward it to the local mail delivery system.</td> </tr> <tr> <td class="tg-yw4l">fg</td> <td class="tg-yw4l">Used to send a job to the foreground.</td> </tr> <tr> <td class="tg-yw4l">fgconsole</td> <td class="tg-yw4l">Display the number of the current virtual console.</td> </tr> <tr> <td class="tg-yw4l">fgrep</td> <td class="tg-yw4l">Display lines from a file(s) that match a specified string. A variant of grep.</td> </tr> <tr> <td class="tg-yw4l">file</td> <td class="tg-yw4l">Determine file type for a file.</td> </tr> <tr> <td class="tg-yw4l">find</td> <td class="tg-yw4l">Do a file search in a directory hierarchy.</td> </tr> <tr> <td class="tg-yw4l">finger</td> <td class="tg-yw4l">Display user data including the information listed in <em>.plan</em>and <em>.project</em>in each user’s home directory.</td> </tr> <tr> <td class="tg-yw4l">fingerd</td> <td class="tg-yw4l">Provides a network interface for the finger program.</td> </tr> <tr> <td class="tg-yw4l">flex</td> <td class="tg-yw4l">Generate programs that perform pattern-matching on text.</td> </tr> <tr> <td class="tg-yw4l">fmt</td> <td class="tg-yw4l">Used to convert text to a specified width by filling lines and removing new lines, displaying the output.</td> </tr> <tr> <td class="tg-yw4l">fold</td> <td class="tg-yw4l">Wrap input line to fit in a specified width.</td> </tr> <tr> <td class="tg-yw4l">for</td> <td class="tg-yw4l">Expand words and run commands for each one in the resultant list.</td> </tr> <tr> <td class="tg-yw4l">formail</td> <td class="tg-yw4l">Used to filter standard input into mailbox format.</td> </tr> <tr> <td class="tg-yw4l">format</td> <td class="tg-yw4l">Used to format disks.</td> </tr> <tr> <td class="tg-yw4l">free</td> <td class="tg-yw4l">Show free and used system memory.</td> </tr> <tr> <td class="tg-yw4l">fsck</td> <td class="tg-yw4l">Check and repair a Linux file system</td> </tr> <tr> <td class="tg-yw4l">ftp</td> <td class="tg-yw4l">File transfer protocol user interface.</td> </tr> <tr> <td class="tg-yw4l">ftpd</td> <td class="tg-yw4l">FTP server process.</td> </tr> <tr> <td class="tg-yw4l">function</td> <td class="tg-yw4l">Used to define function macros.</td> </tr> <tr> <td class="tg-yw4l">Fun</td> <td class="tg-yw4l">Used to draw various type of patterns on the terminal.</td> </tr> <tr> <td class="tg-yw4l">fuser</td> <td class="tg-yw4l">Find and kill a process accessing a file.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> G</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">g++</td> <td class="tg-yw4l">Run the g++ compiler.</td> </tr> <tr> <td class="tg-yw4l">gawk</td> <td class="tg-yw4l">Used for pattern scanning and language processing. A GNU implementation of AWK language.</td> </tr> <tr> <td class="tg-yw4l">gcc</td> <td class="tg-yw4l">A C and C++ compiler by GNU.</td> </tr> <tr> <td class="tg-yw4l">gdb</td> <td class="tg-yw4l">A utility to debug programs and know about where it crashes.</td> </tr> <tr> <td class="tg-yw4l">getent</td> <td class="tg-yw4l">Shows entries from Name Service Switch Libraries for specified keys.</td> </tr> <tr> <td class="tg-yw4l">getkeycodes</td> <td class="tg-yw4l">Displays the kernel scancode-to-keycode mapping table.</td> </tr> <tr> <td class="tg-yw4l">getopts</td> <td class="tg-yw4l">A utility to parse positional parameters.</td> </tr> <tr> <td class="tg-yw4l">gpasswd</td> <td class="tg-yw4l">Allows an administrator to change group passwords.</td> </tr> <tr> <td class="tg-yw4l">gpg</td> <td class="tg-yw4l">Enables encryption and signing services as per the OpenPGP standard.</td> </tr> <tr> <td class="tg-yw4l">gpgsplit</td> <td class="tg-yw4l">Used to split an OpenPGP message into packets.</td> </tr> <tr> <td class="tg-yw4l">gpgv</td> <td class="tg-yw4l">Used to verify OpenPGP signatures.</td> </tr> <tr> <td class="tg-yw4l">gpm</td> <td class="tg-yw4l">It enables cut and paste functionality and a mouse server for the Linux console.</td> </tr> <tr> <td class="tg-yw4l">gprof</td> <td class="tg-yw4l">Shows call graph profile data.</td> </tr> <tr> <td class="tg-yw4l">grep</td> <td class="tg-yw4l">Searches input files for a given pattern and displays the relevant lines.</td> </tr> <tr> <td class="tg-yw4l">groff</td> <td class="tg-yw4l">Serves as the front-end of the groff document formatting system.</td> </tr> <tr> <td class="tg-yw4l">groffer</td> <td class="tg-yw4l">Displays groff files and man pages.</td> </tr> <tr> <td class="tg-yw4l">groupadd</td> <td class="tg-yw4l">Used to add a new user group.</td> </tr> <tr> <td class="tg-yw4l">groupdel</td> <td class="tg-yw4l">Used to remove a user group.</td> </tr> <tr> <td class="tg-yw4l">groupmod</td> <td class="tg-yw4l">Used to modify a group definition.</td> </tr> <tr> <td class="tg-yw4l">groups</td> <td class="tg-yw4l">Showthe group(s) to which a user belongs.</td> </tr> <tr> <td class="tg-yw4l">grpck</td> <td class="tg-yw4l">Verifies the integrity of group files.</td> </tr> <tr> <td class="tg-yw4l">grpconv</td> <td class="tg-yw4l">Creates agshadow file from a group or an already existing gshadow.</td> </tr> <tr> <td class="tg-yw4l">gs</td> <td class="tg-yw4l">Invokes Ghostscript, and interpreter and previewer for Adobe’s PostScript and PDF languages.</td> </tr> <tr> <td class="tg-yw4l">gunzip</td> <td class="tg-yw4l">A utility to compress/expand files.</td> </tr> <tr> <td class="tg-yw4l">gzexe</td> <td class="tg-yw4l">Used compress executable files in place and have them automatically uncompress and run at a later stage.</td> </tr> <tr> <td class="tg-yw4l">gzip</td> <td class="tg-yw4l">A utility to compress/expand files.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> H</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">halt</td> <td class="tg-yw4l">Command used to half the machine.</td> </tr> <tr> <td class="tg-yw4l">hash</td> <td class="tg-yw4l">Shows the path for the commands executed in the shell.</td> </tr> <tr> <td class="tg-yw4l">hdparm</td> <td class="tg-yw4l">Show/configure parameters for SATA/IDE devices.</td> </tr> <tr> <td class="tg-yw4l">head</td> <td class="tg-yw4l">Shows first 10 lines from each specified file.</td> </tr> <tr> <td class="tg-yw4l">help</td> <td class="tg-yw4l">Display’s help for a built-in command.</td> </tr> <tr> <td class="tg-yw4l">hexdump</td> <td class="tg-yw4l">Shows specified file output in hexadecimal, octal, decimal, or ASCII format.</td> </tr> <tr> <td class="tg-yw4l">history</td> <td class="tg-yw4l">Shows the command history.</td> </tr> <tr> <td class="tg-yw4l">host</td> <td class="tg-yw4l">A utility to perform DNS lookups.</td> </tr> <tr> <td class="tg-yw4l">hostid</td> <td class="tg-yw4l">Shows host’s numeric ID in hexadecimal format.</td> </tr> <tr> <td class="tg-yw4l">hostname</td> <td class="tg-yw4l">Display/set the hostname of the system.</td> </tr> <tr> <td class="tg-yw4l">hostnamectl</td> <td class="tg-yw4l">Provides a proper API used to control Linux system hostname and change its related settings.</td> </tr> <tr> <td class="tg-yw4l">htdigest</td> <td class="tg-yw4l">Manage the user authentication file used by the Apache web server.</td> </tr> <tr> <td class="tg-yw4l">htop</td> <td class="tg-yw4l">An interactive process viewer for the command line.</td> </tr> <tr> <td class="tg-yw4l">hwclock</td> <td class="tg-yw4l">Show or configure the system’s hardware clock.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> I</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">iconv</td> <td class="tg-yw4l">Convert text file from one encoding to another.</td> </tr> <tr> <td class="tg-yw4l">id</td> <td class="tg-yw4l">Show user and group information for a specified user.</td> </tr> <tr> <td class="tg-yw4l">if</td> <td class="tg-yw4l">Execute a command conditionally.</td> </tr> <tr> <td class="tg-yw4l">ifconfig</td> <td class="tg-yw4l">Used to configure network interfaces.</td> </tr> <tr> <td class="tg-yw4l">ifdown</td> <td class="tg-yw4l">Stops a network interface.</td> </tr> <tr> <td class="tg-yw4l">iftop</td> <td class="tg-yw4l">It is a network analyzing tool used by system administrators to view the bandwidth related stats.</td> </tr> <tr> <td class="tg-yw4l">ifup</td> <td class="tg-yw4l">Starts a network interface.</td> </tr> <tr> <td class="tg-yw4l">imapd</td> <td class="tg-yw4l">An IMAP (Interactive Mail Access Protocol) server daemon.</td> </tr> <tr> <td class="tg-yw4l">import</td> <td class="tg-yw4l">Capture an X server screen and saves it as an image.</td> </tr> <tr> <td class="tg-yw4l">inetd</td> <td class="tg-yw4l">Extended internet services daemon, it starts the programs that provide internet services.</td> </tr> <tr> <td class="tg-yw4l">info</td> <td class="tg-yw4l">Used to read the documentation in Info format.</td> </tr> <tr> <td class="tg-yw4l">init</td> <td class="tg-yw4l">Systemd system and service manager.</td> </tr> <tr> <td class="tg-yw4l">insmod</td> <td class="tg-yw4l">A program that inserts a module into the Linux kernel.</td> </tr> <tr> <td class="tg-yw4l">install</td> <td class="tg-yw4l">Used to copy files to specified locations and set attributions during the install process.</td> </tr> <tr> <td class="tg-yw4l">iostat</td> <td class="tg-yw4l">Shows statistics for CPU, I/O devices, partitions, network filesystems.</td> </tr> <tr> <td class="tg-yw4l">iotop</td> <td class="tg-yw4l">Used to display and monitor the disk IO usage details and even gets a table of existing IO utilization by the process.</td> </tr> <tr> <td class="tg-yw4l">ip</td> <td class="tg-yw4l">Display/manipulate routing, devices, policy, routing and tunnels.</td> </tr> <tr> <td class="tg-yw4l">ipcrm</td> <td class="tg-yw4l">Used to remove System V interprocess communication (IPC) objects and associated data structures.</td> </tr> <tr> <td class="tg-yw4l">ipcs</td> <td class="tg-yw4l">Show information on IPC facilities for which calling process has read access.</td> </tr> <tr> <td class="tg-yw4l">iptables</td> <td class="tg-yw4l">Administration tool for IPv4 packet filtering and NAT.</td> </tr> <tr> <td class="tg-yw4l">iptables-restore</td> <td class="tg-yw4l">Used to restore IP tables from data specified in the input or a file.</td> </tr> <tr> <td class="tg-yw4l">iptables-save</td> <td class="tg-yw4l">Used to dump IP table contents to standard output.</td> </tr> <tr> <td class="tg-yw4l">iwconfig</td> <td class="tg-yw4l">Used to display the parameters, and the wireless statistics which are extracted from /proc/net/wireless.</td> </tr> <tr> <td class="tg-yw4l">isodump</td> <td class="tg-yw4l">A utility that shows the content iso9660 images to verify the integrity of directory contents.</td> </tr> <tr> <td class="tg-yw4l">isoinfo</td> <td class="tg-yw4l">A utility to perform directory like listings of iso9660 images.</td> </tr> <tr> <td class="tg-yw4l">isosize</td> <td class="tg-yw4l">Show the length of an iso9660 filesystem contained in a specified file.</td> </tr> <tr> <td class="tg-yw4l">isovfy</td> <td class="tg-yw4l">Verifies the integrity of an iso9660 image.</td> </tr> <tr> <td class="tg-yw4l">ispell</td> <td class="tg-yw4l">A CLI-based spell-check utility.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> J</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">jobs</td> <td class="tg-yw4l">Show the list of active jobs and their status.</td> </tr> <tr> <td class="tg-yw4l">join</td> <td class="tg-yw4l">For each pair of input lines, join them using a command field and display on standard output.</td> </tr> </tbody> <td class="tg-yw4l">journalctl</td> <td class="tg-yw4l">Used to view systemd, kernal and journal logs.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> K</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">kbd_mode</td> <td class="tg-yw4l">Set a keyboard mode. Without arguments, shows the current keyboard mode.</td> </tr> <tr> <td class="tg-yw4l">kbdrate</td> <td class="tg-yw4l">Reset keyboard repeat rate and delay time.</td> </tr> <tr> <td class="tg-yw4l">kill</td> <td class="tg-yw4l">Send a kill (termination) signal to one more processes.</td> </tr> <tr> <td class="tg-yw4l">killall</td> <td class="tg-yw4l">Kills a process(es) running a specified command.</td> </tr> <tr> <td class="tg-yw4l">killall5</td> <td class="tg-yw4l">A SystemV killall command. Kills all the processes excluding the ones which it depends on.</td> </tr> <tr> <td class="tg-yw4l">klogd</td> <td class="tg-yw4l">Control and prioritize the kernel messages to be displayed on the console, and log them through syslogd.</td> </tr> <tr> <td class="tg-yw4l">kudzu</td> <td class="tg-yw4l">Used to detect new and enhanced hardware by comparing it with existing database. Only for RHEL and derivatives.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> L</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">last</td> <td class="tg-yw4l">Shows a list of recent logins on the system by fetching data from <em>/var/log/wtmp</em> file.</td> </tr> <tr> <td class="tg-yw4l">lastb</td> <td class="tg-yw4l">Shows the list of bad login attempts by fetching data from <em>/var/log/btmp</em>file.</td> </tr> <tr> <td class="tg-yw4l">lastlog</td> <td class="tg-yw4l">Displays information about the most recent login of all users or a specified user.</td> </tr> <tr> <td class="tg-yw4l">ld</td> <td class="tg-yw4l">The Unix linker, it combines archives and object files. It then puts them into one output file, resolving external references.</td> </tr> <tr> <td class="tg-yw4l">ldconfig</td> <td class="tg-yw4l">Configure dynamic linker run-time bindings.</td> </tr> <tr> <td class="tg-yw4l">ldd</td> <td class="tg-yw4l">Shows shared object dependencies.</td> </tr> <tr> <td class="tg-yw4l">less</td> <td class="tg-yw4l">Displays contents of a fileone page at a time. It’s advanced than <em>more</em> command.</td> </tr> <tr> <td class="tg-yw4l">lesskey</td> <td class="tg-yw4l">Used to specify key bindings for less command.</td> </tr> <tr> <td class="tg-yw4l">let</td> <td class="tg-yw4l">Used to perform integer artithmetic on shell variables.</td> </tr> <tr> <td class="tg-yw4l">lftp</td> <td class="tg-yw4l">An FTP utility with extra features.</td> </tr> <tr> <td class="tg-yw4l">lftpget</td> <td class="tg-yw4l">Uses lftop to retrieve HTTP, FTP, and other protocol URLs supported by lftp.</td> </tr> <tr> <td class="tg-yw4l">link</td> <td class="tg-yw4l">Create links between two files. Similar to ln command.</td> </tr> <tr> <td class="tg-yw4l">ln</td> <td class="tg-yw4l">Create links between files. Links can be hard (two names for the same file) or soft (a shortcut of the first file).</td> </tr> <tr> <td class="tg-yw4l">loadkeys</td> <td class="tg-yw4l">Load keyboard translation tables.</td> </tr> <tr> <td class="tg-yw4l">local</td> <td class="tg-yw4l">Used to create function variables.</td> </tr> <tr> <td class="tg-yw4l">locale</td> <td class="tg-yw4l">Shows information about current or all locales.</td> </tr> <tr> <td class="tg-yw4l">locate</td> <td class="tg-yw4l">Used to find files by their name.</td> </tr> <tr> <td class="tg-yw4l">lockfile</td> <td class="tg-yw4l">Create semaphore file(s) which can be used to limit access to a file.</td> </tr> <tr> <td class="tg-yw4l">logger</td> <td class="tg-yw4l">Make entries in the system log.</td> </tr> <tr> <td class="tg-yw4l">login</td> <td class="tg-yw4l">Create a new session on the system.</td> </tr> <tr> <td class="tg-yw4l">logname</td> <td class="tg-yw4l">Shows the login name of the current user.</td> </tr> <tr> <td class="tg-yw4l">logout</td> <td class="tg-yw4l">Performs the logout operation by making changes to the utmp and wtmp files.</td> </tr> <tr> <td class="tg-yw4l">logrotate</td> <td class="tg-yw4l">Used for automatic rotation, compression, removal, and mailing of system log files.</td> </tr> <tr> <td class="tg-yw4l">look</td> <td class="tg-yw4l">Shows any lines in a file containing a given string in the beginning.</td> </tr> <tr> <td class="tg-yw4l">losetup</td> <td class="tg-yw4l">Set up and control loop devices.</td> </tr> <tr> <td class="tg-yw4l">lpadmin</td> <td class="tg-yw4l">Used to configure printer and class queues provided by CUPS (Common UNIX Printing System).</td> </tr> <tr> <td class="tg-yw4l">lpc</td> <td class="tg-yw4l">Line printer control program, it provides limited control over CUPS printer and class queues.</td> </tr> <tr> <td class="tg-yw4l">lpinfo</td> <td class="tg-yw4l">Shows the list of available devices and drivers known to the CUPS server.</td> </tr> <tr> <td class="tg-yw4l">lpmove</td> <td class="tg-yw4l">Move on or more printing jobs to a new destination.</td> </tr> <tr> <td class="tg-yw4l">lpq</td> <td class="tg-yw4l">Shows current print queue status for a specified printer.</td> </tr> <tr> <td class="tg-yw4l">lpr</td> <td class="tg-yw4l">Used to submit files for printing.</td> </tr> <tr> <td class="tg-yw4l">lprint</td> <td class="tg-yw4l">Used to print a file.</td> </tr> <tr> <td class="tg-yw4l">lprintd</td> <td class="tg-yw4l">Used to abort a print job.</td> </tr> <tr> <td class="tg-yw4l">lprintq</td> <td class="tg-yw4l">List the print queue.</td> </tr> <tr> <td class="tg-yw4l">lprm</td> <td class="tg-yw4l">Cancel print jobs.</td> </tr> <tr> <td class="tg-yw4l">lpstat</td> <td class="tg-yw4l">Displays status information about current classes, jobs, and printers.</td> </tr> <tr> <td class="tg-yw4l">ls</td> <td class="tg-yw4l">Shows the list of files in the current directory.</td> </tr> <tr> <td class="tg-yw4l">lsattr</td> <td class="tg-yw4l">Shows file attributes on a Linux ext2 file system.</td> </tr> <tr> <td class="tg-yw4l">lsblk</td> <td class="tg-yw4l">Lists information about all available or the specified block devices.</td> </tr> <tr> <td class="tg-yw4l">lshw</td> <td class="tg-yw4l">Used to generate the detailed information of the system’s hardware configuration from various files in the /proc directory.</td> </tr> <tr> <td class="tg-yw4l">lsmod</td> <td class="tg-yw4l">Show the status of modules in the Linux kernel.</td> </tr> <tr> <td class="tg-yw4l">lsof</td> <td class="tg-yw4l">List open files.</td> </tr> <tr> <td class="tg-yw4l">lspci</td> <td class="tg-yw4l">List all PCI devices.</td> </tr> <tr> <td class="tg-yw4l">lsusb</td> <td class="tg-yw4l">List USB devices.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> M</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">m4</td> <td class="tg-yw4l">Macro processor.</td> </tr> <tr> <td class="tg-yw4l">mail</td> <td class="tg-yw4l">Utility to compose, receive, send, forward, and reply to emails.</td> </tr> <tr> <td class="tg-yw4l">mailq</td> <td class="tg-yw4l">Shows to list all emails queued for delivery (sendmail queue).</td> </tr> <tr> <td class="tg-yw4l">mailstats</td> <td class="tg-yw4l">Shows current mail statistics.</td> </tr> <tr> <td class="tg-yw4l">mailto</td> <td class="tg-yw4l">Used to send mail with multimedia content in MIME format.</td> </tr> <tr> <td class="tg-yw4l">make</td> <td class="tg-yw4l">Utility to maintain groups of programs, recompile them if needed.</td> </tr> <tr> <td class="tg-yw4l">makedbm</td> <td class="tg-yw4l">Creates an NIS (Network Information Services) database map.</td> </tr> <tr> <td class="tg-yw4l">makemap</td> <td class="tg-yw4l">Creates database maps used by the keyed map lookups in sendmail.</td> </tr> <tr> <td class="tg-yw4l">man</td> <td class="tg-yw4l">Shows manual pages for Linux commands.</td> </tr> <tr> <td class="tg-yw4l">manpath</td> <td class="tg-yw4l">Determine search path for manual pages.</td> </tr> <tr> <td class="tg-yw4l">mattrib</td> <td class="tg-yw4l">Used to change MS-DOS file attribute flags.</td> </tr> <tr> <td class="tg-yw4l">mbadblocks</td> <td class="tg-yw4l">Checks MD-DOS filesystems for bad blocks.</td> </tr> <tr> <td class="tg-yw4l">mcat</td> <td class="tg-yw4l">Dump raw disk image.</td> </tr> <tr> <td class="tg-yw4l">mcd</td> <td class="tg-yw4l">Used to change MS-DOS directory.</td> </tr> <tr> <td class="tg-yw4l">mcopy</td> <td class="tg-yw4l">Used to copy MS-DOS files from or to Unix.</td> </tr> <tr> <td class="tg-yw4l">md5sum</td> <td class="tg-yw4l">Used to check MD5 checksum for a file.</td> </tr> <tr> <td class="tg-yw4l">mdel, mdeltree</td> <td class="tg-yw4l">Used to delete MS-DOS file. mdeltree recursively deletes MS-DOS directory and its contents.</td> </tr> <tr> <td class="tg-yw4l">mdir</td> <td class="tg-yw4l">Used to display an MS-DOS directory.</td> </tr> <tr> <td class="tg-yw4l">mdu</td> <td class="tg-yw4l">Used to display the amount of space occupied by an MS-DOS directory.</td> </tr> <tr> <td class="tg-yw4l">merge</td> <td class="tg-yw4l">Three-way file merge. Includes all changes from file2 and file3 to file1.</td> </tr> <tr> <td class="tg-yw4l">mesg</td> <td class="tg-yw4l">Allow/disallow osends to sedn write messages to your terminal.</td> </tr> <tr> <td class="tg-yw4l">metamail</td> <td class="tg-yw4l">For sending and showing rich text or multimedia email using MIME typing metadata.</td> </tr> <tr> <td class="tg-yw4l">metasend</td> <td class="tg-yw4l">An interface for sending non-text mail.</td> </tr> <tr> <td class="tg-yw4l">mformat</td> <td class="tg-yw4l">Used to add an MS-DOS filesystem to a low-level formatted floppy disk.</td> </tr> <tr> <td class="tg-yw4l">mimencode</td> <td class="tg-yw4l">Translate to/from MIME multimedia mail encoding formats.</td> </tr> <tr> <td class="tg-yw4l">minfo</td> <td class="tg-yw4l">Display parameters of an MS-DOS filesystem.</td> </tr> <tr> <td class="tg-yw4l">mkdir</td> <td class="tg-yw4l">Used to create directories.</td> </tr> <tr> <td class="tg-yw4l">mkdosfs</td> <td class="tg-yw4l">Used to create an MS-DOS filesystem under Linux.</td> </tr> <tr> <td class="tg-yw4l">mke2fs</td> <td class="tg-yw4l">Used create an ext2/ext3/ext4 filesystem.</td> </tr> <tr> <td class="tg-yw4l">mkfifo</td> <td class="tg-yw4l">Used to create named pipes (FIFOs) with the given names.</td> </tr> <tr> <td class="tg-yw4l">mkfs</td> <td class="tg-yw4l">Used to build a Linux filesystem on a hard disk partition.</td> </tr> <tr> <td class="tg-yw4l">mkfs.ext3</td> <td class="tg-yw4l">Same as mke2fs, create an ext3 Linux filesystem.</td> </tr> <tr> <td class="tg-yw4l">mkisofs</td> <td class="tg-yw4l">Used to create an ISO9660/JOLIET/HFS hybrid filesystem.</td> </tr> <tr> <td class="tg-yw4l">mklost+found</td> <td class="tg-yw4l">Create a lost+found directory on a mounted ext2 filesystem.</td> </tr> <tr> <td class="tg-yw4l">mkmanifest</td> <td class="tg-yw4l">Makes alist of file names and their DOS 8.3 equivalent.</td> </tr> <tr> <td class="tg-yw4l">mknod</td> <td class="tg-yw4l">Create a FIFO, block (buffered) special file, character (unbuffered) special file with the specified name.</td> </tr> <tr> <td class="tg-yw4l">mkraid</td> <td class="tg-yw4l">Used to setup RAID device arrays.</td> </tr> <tr> <td class="tg-yw4l">mkswap</td> <td class="tg-yw4l">Set up a Linux swap area.</td> </tr> <tr> <td class="tg-yw4l">mktemp</td> <td class="tg-yw4l">Create a temporary file or directory.</td> </tr> <tr> <td class="tg-yw4l">mlabel</td> <td class="tg-yw4l">Make an MD-DOS volume label.</td> </tr> <tr> <td class="tg-yw4l">mmd</td> <td class="tg-yw4l">Make an MS-DOS subdirectory.</td> </tr> <tr> <td class="tg-yw4l">mmount</td> <td class="tg-yw4l">Mount an MS-DOS disk.</td> </tr> <tr> <td class="tg-yw4l">mmove</td> <td class="tg-yw4l">Move or rename an MS-DOS file or subdirectory.</td> </tr> <tr> <td class="tg-yw4l">mmv</td> <td class="tg-yw4l">Mass move and rename files.</td> </tr> <tr> <td class="tg-yw4l">modinfo</td> <td class="tg-yw4l">Show information about a Linux kernel module.</td> </tr> <tr> <td class="tg-yw4l">modprobe</td> <td class="tg-yw4l">Add or remove modules from the Linux kernel.</td> </tr> <tr> <td class="tg-yw4l">more</td> <td class="tg-yw4l">Display content of a file page-by-page.</td> </tr> <tr> <td class="tg-yw4l">most</td> <td class="tg-yw4l">Browse or page through a text file.</td> </tr> <tr> <td class="tg-yw4l">mount</td> <td class="tg-yw4l">Mount a filesystem.</td> </tr> <tr> <td class="tg-yw4l">mountd</td> <td class="tg-yw4l">NFS mount daemon.</td> </tr> <tr> <td class="tg-yw4l">mpartition</td> <td class="tg-yw4l">Used to report processor related statistics.</td> </tr> <tr> <td class="tg-yw4l">mpstat</td> <td class="tg-yw4l">Partition an MS-DOS disk.</td> </tr> <tr> <td class="tg-yw4l">mpg123</td> <td class="tg-yw4l">Command-line mp3 player.</td> </tr> <tr> <td class="tg-yw4l">mpg321</td> <td class="tg-yw4l">Similar to mpg123.</td> </tr> <tr> <td class="tg-yw4l">mrd</td> <td class="tg-yw4l">Remove an MS-DOS subdirectory.</td> </tr> <tr> <td class="tg-yw4l">mren</td> <td class="tg-yw4l">Rename an existing MS-DOS file.</td> </tr> <tr> <td class="tg-yw4l">mshowfat</td> <td class="tg-yw4l">Show FTA clusters allocated to a file.</td> </tr> <tr> <td class="tg-yw4l">mt</td> <td class="tg-yw4l">Control magnetic tape drive operation.</td> </tr> <tr> <td class="tg-yw4l">mtools</td> <td class="tg-yw4l">Utilities to access MS-DOS disks.</td> </tr> <tr> <td class="tg-yw4l">mtoolstest</td> <td class="tg-yw4l">Tests and displays the mtools configuration files.</td> </tr> <tr> <td class="tg-yw4l">mtr</td> <td class="tg-yw4l">A network diagnostic tool.</td> </tr> <tr> <td class="tg-yw4l">mtype</td> <td class="tg-yw4l">Display contents of an MS-DOS file.</td> </tr> <tr> <td class="tg-yw4l">mv</td> <td class="tg-yw4l">Move/rename files or directories.</td> </tr> <tr> <td class="tg-yw4l">mzip</td> <td class="tg-yw4l">Change protection mode and eject disk on Zip/Jaz drive.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> N</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">named</td> <td class="tg-yw4l">Internet domain name server.</td> </tr> <tr> <td class="tg-yw4l">namei</td> <td class="tg-yw4l">Follow a pathname until a terminal point is found.</td> </tr> <tr> <td class="tg-yw4l">nameif</td> <td class="tg-yw4l">Name network interfaces based on MAC addresses.</td> </tr> <tr> <td class="tg-yw4l">nc</td> <td class="tg-yw4l">Netcat utility. Arbitrary TCP and UDP connections and listens.</td> </tr> <tr> <td class="tg-yw4l">netstat</td> <td class="tg-yw4l">Show network information.</td> </tr> <tr> <td class="tg-yw4l">newaliases</td> <td class="tg-yw4l">Rebuilds mail alias database.</td> </tr> <tr> <td class="tg-yw4l">newgrp</td> <td class="tg-yw4l">Log-in to a new group.</td> </tr> <tr> <td class="tg-yw4l">newusers</td> <td class="tg-yw4l">Update/create new users in batch.</td> </tr> <tr> <td class="tg-yw4l">nfsd</td> <td class="tg-yw4l">Special filesystem for controlling Linux NFS server.</td> </tr> <tr> <td class="tg-yw4l">nfsstat</td> <td class="tg-yw4l">List NFS statistics.</td> </tr> <tr> <td class="tg-yw4l">nice</td> <td class="tg-yw4l">Run a program with modified scheduling priority.</td> </tr> <tr> <td class="tg-yw4l">nl</td> <td class="tg-yw4l">Show numbered line while displaying the contents of a file.</td> </tr> <tr> <td class="tg-yw4l">nm</td> <td class="tg-yw4l">List symbols from object files.</td> </tr> <tr> <td class="tg-yw4l">nohup</td> <td class="tg-yw4l">Run a command immune to hangups.</td> </tr> <tr> <td class="tg-yw4l">notify-send</td> <td class="tg-yw4l">A program to send desktop notifications.</td> </tr> <tr> <td class="tg-yw4l">nslookup</td> <td class="tg-yw4l">Used performs DNS queries. Read this article for more info.</td> </tr> <tr> <td class="tg-yw4l">nsupdate</td> <td class="tg-yw4l">Dynamic DNS update utility.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> O</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">objcopy</td> <td class="tg-yw4l">Copy and translate object files.</td> </tr> <tr> <td class="tg-yw4l">objdump</td> <td class="tg-yw4l">Display information from object files.</td> </tr> <tr> <td class="tg-yw4l">od</td> <td class="tg-yw4l">Dump files in octal and other formats.</td> </tr> <tr> <td class="tg-yw4l">op</td> <td class="tg-yw4l">Operator access, allows system administrators to grant users access to certain root operations that require superuser privileges.</td> </tr> <tr> <td class="tg-yw4l">open</td> <td class="tg-yw4l">Open a file using its default application.</td> </tr> <tr> <td class="tg-yw4l">openvt</td> <td class="tg-yw4l">Start a program on a new virtual terminal (VT).</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> P</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">passwd</td> <td class="tg-yw4l">Change user password.</td> </tr> <tr> <td class="tg-yw4l">paste</td> <td class="tg-yw4l">Merge lines of files. Write to standard output, TAB-separated lines consisting of sequentially corresponding lines from each file.</td> </tr> <tr> <td class="tg-yw4l">patch</td> <td class="tg-yw4l">Apply a patchfile (containing differences listing by diff program) to an original file.</td> </tr> <tr> <td class="tg-yw4l">pathchk</td> <td class="tg-yw4l">Check if file names are valid or portable.</td> </tr> <tr> <td class="tg-yw4l">perl</td> <td class="tg-yw4l">Perl 5 language interpreter.</td> </tr> <tr> <td class="tg-yw4l">pgrep</td> <td class="tg-yw4l">List process IDs matching the specified criteria among all the running processes.</td> </tr> <tr> <td class="tg-yw4l">pidof</td> <td class="tg-yw4l">Find process ID of a running program.</td> </tr> <tr> <td class="tg-yw4l">ping</td> <td class="tg-yw4l">Send ICMP ECHO_REQUEST to network hosts.</td> </tr> <tr> <td class="tg-yw4l">pinky</td> <td class="tg-yw4l">Lightweight finger.</td> </tr> <tr> <td class="tg-yw4l">pkill</td> <td class="tg-yw4l">Send kill signal to processes based on name and other attributes.</td> </tr> <tr> <td class="tg-yw4l">pmap</td> <td class="tg-yw4l">Report memory map of a process.</td> </tr> <tr> <td class="tg-yw4l">popd</td> <td class="tg-yw4l">Removes directory on the head of the directory stack and takes you to the new directory on the head.</td> </tr> <tr> <td class="tg-yw4l">portmap</td> <td class="tg-yw4l">Converts RPC program numbers to IP port numbers.</td> </tr> <tr> <td class="tg-yw4l">poweroff</td> <td class="tg-yw4l">Shuts down the machine.</td> </tr> <tr> <td class="tg-yw4l">pppd</td> <td class="tg-yw4l">Point-to-point protocol daemon.</td> </tr> <tr> <td class="tg-yw4l">pr</td> <td class="tg-yw4l">Convert (column or paginate) text files for printing.</td> </tr> <tr> <td class="tg-yw4l">praliases</td> <td class="tg-yw4l">Prints the current system mail aliases.</td> </tr> <tr> <td class="tg-yw4l">printcap</td> <td class="tg-yw4l">Printer capability database.</td> </tr> <tr> <td class="tg-yw4l">printenv</td> <td class="tg-yw4l">Show values of all or specified environment variables.</td> </tr> <tr> <td class="tg-yw4l">printf</td> <td class="tg-yw4l">Show arguments formatted according to a specified format.</td> </tr> <tr> <td class="tg-yw4l">ps</td> <td class="tg-yw4l">Report a snapshot of the current processes.</td> </tr> <tr> <td class="tg-yw4l">ptx</td> <td class="tg-yw4l">Produce a permuted index of file contents.</td> </tr> <tr> <td class="tg-yw4l">pushd</td> <td class="tg-yw4l">Appends a given directory name to the head of the stack and then cd to the given directory.</td> </tr> <tr> <td class="tg-yw4l">pv</td> <td class="tg-yw4l">Monitor progress of data through a pipe.</td> </tr> <tr> <td class="tg-yw4l">pwck</td> <td class="tg-yw4l">Verify integrity of password files.</td> </tr> <tr> <td class="tg-yw4l">pwconv</td> <td class="tg-yw4l">Creates shadow from passwd and an optionally existing shadow.</td> </tr> <tr> <td class="tg-yw4l">pwd</td> <td class="tg-yw4l">Show current directory.</td> </tr> <tr> <td class="tg-yw4l">python</td> <td class="tg-yw4l">Computer programming language often used to build websites and software, automate tasks, and conduct data analysis.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> Q</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">quota</td> <td class="tg-yw4l">Shows disk usage, and space limits for a user or group. Without arguments, only shows user quotas.</td> </tr> <tr> <td class="tg-yw4l">quotacheck</td> <td class="tg-yw4l">Used to scan a file system for disk usage.</td> </tr> <tr> <td class="tg-yw4l">quotactl</td> <td class="tg-yw4l">Make changes to disk quotas.</td> </tr> <tr> <td class="tg-yw4l">quotaoff</td> <td class="tg-yw4l">Enable enforcement of filesystem quotas.</td> </tr> <tr> <td class="tg-yw4l">quotaon</td> <td class="tg-yw4l">Disable enforcement of filesystem quotas.</td> </tr> <tr> <td class="tg-yw4l">quotastats</td> <td class="tg-yw4l">Shows the report of quota system statistics gathered from the kernel.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> R</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">raidstart</td> <td class="tg-yw4l">Start/stop RAID devices.</td> </tr> <tr> <td class="tg-yw4l">ram</td> <td class="tg-yw4l">RAM disk device used to access the RAM disk in raw mode.</td> </tr> <tr> <td class="tg-yw4l">ramsize</td> <td class="tg-yw4l">Show usage information for the RAM disk.</td> </tr> <tr> <td class="tg-yw4l">ranlib</td> <td class="tg-yw4l">Generate index to the contents of an archive and store it in the archive.</td> </tr> <tr> <td class="tg-yw4l">rar</td> <td class="tg-yw4l">Create and manage RAR file in Linux.</td> </tr> <tr> <td class="tg-yw4l">rarpd</td> <td class="tg-yw4l">Respond to Reverse Address Resolution Protocol (RARP) requests.</td> </tr> <tr> <td class="tg-yw4l">rcp</td> <td class="tg-yw4l">Remote copy command to copy files between remote computers.</td> </tr> <tr> <td class="tg-yw4l">rdate</td> <td class="tg-yw4l">Set system date and time by fetching information from a remote machine.</td> </tr> <tr> <td class="tg-yw4l">rdev</td> <td class="tg-yw4l">Set or query RAM disk size, image root device, or video mode.</td> </tr> <tr> <td class="tg-yw4l">rdist</td> <td class="tg-yw4l">Remote file distribution client, maintains identical file copies over multiple hosts.</td> </tr> <tr> <td class="tg-yw4l">rdistd</td> <td class="tg-yw4l">Start the rdist server.</td> </tr> <tr> <td class="tg-yw4l">read</td> <td class="tg-yw4l">Read from a file descriptor.</td> </tr> <tr> <td class="tg-yw4l">readarray</td> <td class="tg-yw4l">Read lines from a file into an array variable.</td> </tr> <tr> <td class="tg-yw4l">readcd</td> <td class="tg-yw4l">Read/write compact disks.</td> </tr> <tr> <td class="tg-yw4l">readelf</td> <td class="tg-yw4l">Shows information about ELF (Executable and Linkable format) files.</td> </tr> <tr> <td class="tg-yw4l">readlink</td> <td class="tg-yw4l">Display value of a symbolic link or canonical file name.</td> </tr> <tr> <td class="tg-yw4l">readonly</td> <td class="tg-yw4l">Mark functions and variables as read-only.</td> </tr> <tr> <td class="tg-yw4l">reboot</td> <td class="tg-yw4l">Restart the machine.</td> </tr> <tr> <td class="tg-yw4l">reject</td> <td class="tg-yw4l">Accept/reject print jobs sent to a specified destination.</td> </tr> <tr> <td class="tg-yw4l">remsync</td> <td class="tg-yw4l">Synchronize remote files over email.</td> </tr> <tr> <td class="tg-yw4l">rename</td> <td class="tg-yw4l">Rename one or more files.</td> </tr> <tr> <td class="tg-yw4l">renice</td> <td class="tg-yw4l">Change priority of active processes.</td> </tr> <tr> <td class="tg-yw4l">repquota</td> <td class="tg-yw4l">Report disk usage and quotas for a specified filesystem.</td> </tr> <tr> <td class="tg-yw4l">reset</td> <td class="tg-yw4l">Reinitialize the terminal.</td> </tr> <tr> <td class="tg-yw4l">resize2fs</td> <td class="tg-yw4l">Used to resize ext2/ext3/ext4 file systems.</td> </tr> <tr> <td class="tg-yw4l">restore</td> <td class="tg-yw4l">Restore files from a backup created using dump.</td> </tr> <tr> <td class="tg-yw4l">return</td> <td class="tg-yw4l">Exit a shell function.</td> </tr> <tr> <td class="tg-yw4l">rev</td> <td class="tg-yw4l">Show contents of a file, reversing the order of characters in every line.</td> </tr> <tr> <td class="tg-yw4l">rexec</td> <td class="tg-yw4l">Remote execution client for exec server.</td> </tr> <tr> <td class="tg-yw4l">rexecd</td> <td class="tg-yw4l">Remote execution server.</td> </tr> <tr> <td class="tg-yw4l">richtext</td> <td class="tg-yw4l">View “richtext” on an ACSII terminal.</td> </tr> <tr> <td class="tg-yw4l">rlogin</td> <td class="tg-yw4l">Used to connect a local host system with a remote host.</td> </tr> <tr> <td class="tg-yw4l">rlogind</td> <td class="tg-yw4l">Acts as the server for rlogin.It facilitates remote login, and authentication based on privileged port numbers from trusted hosts.</td> </tr> <tr> <td class="tg-yw4l">rm</td> <td class="tg-yw4l">Removes specified files and directories (not by default).</td> </tr> <tr> <td class="tg-yw4l">rmail</td> <td class="tg-yw4l">Handle remote mail received via uucp.</td> </tr> <tr> <td class="tg-yw4l">rmdir</td> <td class="tg-yw4l">Used to remove empty directories.</td> </tr> <tr> <td class="tg-yw4l">rmmod</td> <td class="tg-yw4l">A program to remove modules from Linux kernel.</td> </tr> <tr> <td class="tg-yw4l">rndc</td> <td class="tg-yw4l">Name server control utility. Send command to a BIND DNS server over a TCP connection.</td> </tr> <tr> <td class="tg-yw4l">rootflags</td> <td class="tg-yw4l">Show/set flags for the kernel image.</td> </tr> <tr> <td class="tg-yw4l">route</td> <td class="tg-yw4l">Show/change IP routing table.</td> </tr> <tr> <td class="tg-yw4l">routed</td> <td class="tg-yw4l">A daemon, invoked at boot time, to manage internet routing tables.</td> </tr> <tr> <td class="tg-yw4l">rpcgen</td> <td class="tg-yw4l">An RPC protocol compiler. Parse a file written in the RPC language.</td> </tr> <tr> <td class="tg-yw4l">rpcinfo</td> <td class="tg-yw4l">Shows RPC information. Makes an RPC call to an RPC server and reports the findings.</td> </tr> <tr> <td class="tg-yw4l">rpm</td> <td class="tg-yw4l">A package manager for Linux distributions. Originally developed for RedHat Linux.</td> </tr> <tr> <td class="tg-yw4l">rsh</td> <td class="tg-yw4l">Remote shell. Connects to a specified host and executes commands.</td> </tr> <tr> <td class="tg-yw4l">rshd</td> <td class="tg-yw4l">A daemon that acts as a server for rsh and rcp commands.</td> </tr> <tr> <td class="tg-yw4l">rsync</td> <td class="tg-yw4l">A versitile to for copying files remotely and locally.</td> </tr> <tr> <td class="tg-yw4l">runlevel</td> <td class="tg-yw4l">Shows previous and current SysV runlevel.</td> </tr> <tr> <td class="tg-yw4l">rup</td> <td class="tg-yw4l">Remote status display. Shows current system status for all or specified hosts on the local network.</td> </tr> <tr> <td class="tg-yw4l">ruptime</td> <td class="tg-yw4l">Shows uptime and login details of the machines on the local network.</td> </tr> <tr> <td class="tg-yw4l">rusers</td> <td class="tg-yw4l">Shows the list of the users logged-in to the host or on all machines on the local network.</td> </tr> <tr> <td class="tg-yw4l">rusersd</td> <td class="tg-yw4l">The rsuerd daemon acts as a server that responds to the queries from rsuers command.</td> </tr> <tr> <td class="tg-yw4l">rwall</td> <td class="tg-yw4l">Sends messages to all users on the local network.</td> </tr> <tr> <td class="tg-yw4l">rwho</td> <td class="tg-yw4l">Reports who is logged-in to the hosts on the local network.</td> </tr> <tr> <td class="tg-yw4l">rwhod</td> <td class="tg-yw4l">Acts as a server for rwho and ruptime commands.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> S</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">sane-find-scanner</td> <td class="tg-yw4l">Find SCSI and USB scanner and determine their device files.</td> </tr> <tr> <td class="tg-yw4l">sar</td> <td class="tg-yw4l">Used to monitor Linux system’s resources like CPU usage, Memory utilization, I/O devices consumption, etc..</td> </tr> <tr> <td class="tg-yw4l">scanadf</td> <td class="tg-yw4l">Retrieve multiple images from a scanner equipped with an automatic document feeder (ADF).</td> </tr> <tr> <td class="tg-yw4l">scanimage</td> <td class="tg-yw4l">Read images from image acquisition devices (scanner or camera) and display on standard output in PNM (Portable aNyMap) format.</td> </tr> <tr> <td class="tg-yw4l">scp</td> <td class="tg-yw4l">Copy files between hosts on a network securely using SSH.</td> </tr> <tr> <td class="tg-yw4l">screen</td> <td class="tg-yw4l">A window manager that enables multiple pseudo-terminals with the help of ANSI/VT100 terminal emulation.</td> </tr> <tr> <td class="tg-yw4l">script</td> <td class="tg-yw4l">Used to make a typescript of everything displayed on the screen during a terminal session.</td> </tr> <tr> <td class="tg-yw4l">scriptreplay</td> <td class="tg-yw4l">Used to replay a typescript/terminal_activity stored in the log file that was recorded by the script command.</td> </tr> <tr> <td class="tg-yw4l">sdiff</td> <td class="tg-yw4l">Shows two files side-by-side and highlights the differences.</td> </tr> <tr> <td class="tg-yw4l">sed</td> <td class="tg-yw4l">Stream editor for filtering and transforming text (from a file or a pipe input).</td> </tr> <tr> <td class="tg-yw4l">select</td> <td class="tg-yw4l">Synchronous I/O multiplexing.</td> </tr> <tr> <td class="tg-yw4l">sendmail</td> <td class="tg-yw4l">It’s a mail router or an MTA (Mail Transfer Agent). sendmail support can send a mail to one or more recipients using necessary protocols.</td> </tr> <tr> <td class="tg-yw4l">sensors</td> <td class="tg-yw4l">Shows the current readings of all sensor chips.</td> </tr> <tr> <td class="tg-yw4l">seq</td> <td class="tg-yw4l">Displays an incremental sequence of numbers from first to last.</td> </tr> <tr> <td class="tg-yw4l">service</td> <td class="tg-yw4l">This command is used to manage system services.</td> </tr> <tr> <td class="tg-yw4l">set</td> <td class="tg-yw4l">Used to manipulate shell variables and functions.</td> </tr> <tr> <td class="tg-yw4l">setfdprm</td> <td class="tg-yw4l">Sets floppy disk parameters as provided by the user.</td> </tr> <tr> <td class="tg-yw4l">setkeycodes</td> <td class="tg-yw4l">Load kernel scancode-to-keycode mapping table entries.</td> </tr> <tr> <td class="tg-yw4l">setleds</td> <td class="tg-yw4l">Show/change LED light settings of the keyboard.</td> </tr> <tr> <td class="tg-yw4l">setmetamode</td> <td class="tg-yw4l">Define keyboard meta key handling. Without arguments, shows current meta key mode.</td> </tr> <tr> <td class="tg-yw4l">setquota</td> <td class="tg-yw4l">Set disk quotas for users and groups.</td> </tr> <tr> <td class="tg-yw4l">setsid</td> <td class="tg-yw4l">Run a program in a new session.</td> </tr> <tr> <td class="tg-yw4l">setterm</td> <td class="tg-yw4l">Set terminal attributes.</td> </tr> <tr> <td class="tg-yw4l">sftp</td> <td class="tg-yw4l">Secure File Transfer program.</td> </tr> <tr> <td class="tg-yw4l">sh</td> <td class="tg-yw4l">Command interpreter (shell) utility.</td> </tr> <tr> <td class="tg-yw4l">sha1sum</td> <td class="tg-yw4l">Compute and check 160-bit SHA1 checksum to verify file integrity.</td> </tr> <tr> <td class="tg-yw4l">shift</td> <td class="tg-yw4l">Shift positional parameters.</td> </tr> <tr> <td class="tg-yw4l">shopt</td> <td class="tg-yw4l">Shell options.</td> </tr> <tr> <td class="tg-yw4l">showkey</td> <td class="tg-yw4l">Examines codes sent by the keyboard displays them in printable form.</td> </tr> <tr> <td class="tg-yw4l">showmount</td> <td class="tg-yw4l">Shows information about NFS server mount on the host.</td> </tr> <tr> <td class="tg-yw4l">shred</td> <td class="tg-yw4l">Overwrite a file to hide its content (optionally delete it), making it harder to recover it.</td> </tr> <tr> <td class="tg-yw4l">shutdown</td> <td class="tg-yw4l">Power-off the machine.</td> </tr> <tr> <td class="tg-yw4l">size</td> <td class="tg-yw4l">Lists section size and the total size of a specified file.</td> </tr> <tr> <td class="tg-yw4l">skill</td> <td class="tg-yw4l">Send a signal to processes.</td> </tr> <tr> <td class="tg-yw4l">slabtop</td> <td class="tg-yw4l">Show kernel slab cache information in real-time.</td> </tr> <tr> <td class="tg-yw4l">slattach</td> <td class="tg-yw4l">Attack a network interface to a serial line.</td> </tr> <tr> <td class="tg-yw4l">sleep</td> <td class="tg-yw4l">Suspend execution for a specified amount of time (in seconds).</td> </tr> <tr> <td class="tg-yw4l">slocate</td> <td class="tg-yw4l">Display matches by searching filename databases. Takes ownership and file permission into consideration.</td> </tr> <tr> <td class="tg-yw4l">snice</td> <td class="tg-yw4l">Reset priority for processes.</td> </tr> <tr> <td class="tg-yw4l">sort</td> <td class="tg-yw4l">Sort lines of text files.</td> </tr> <tr> <td class="tg-yw4l">source</td> <td class="tg-yw4l">Run commands from a specified file.</td> </tr> <tr> <td class="tg-yw4l">split</td> <td class="tg-yw4l">Split a file into pieces of fixed size.</td> </tr> <tr> <td class="tg-yw4l">ss</td> <td class="tg-yw4l">Display socket statistics, similar to netstat.</td> </tr> <tr> <td class="tg-yw4l">ssh</td> <td class="tg-yw4l">An SSH client for logging in to a remote machine. It provides encrypted communication between the hosts.</td> </tr> <tr> <td class="tg-yw4l">ssh-add</td> <td class="tg-yw4l">Adds private key identities to the authentication agent.</td> </tr> <tr> <td class="tg-yw4l">ssh-agent</td> <td class="tg-yw4l">It holds private keys used for public key authentication.</td> </tr> <tr> <td class="tg-yw4l">ssh-keygen</td> <td class="tg-yw4l">It generates, manages, converts authentication keys for ssh.</td> </tr> <tr> <td class="tg-yw4l">ssh-keyscan</td> <td class="tg-yw4l">Gather ssh public keys.</td> </tr> <tr> <td class="tg-yw4l">sshd</td> <td class="tg-yw4l">Server for the ssh program.</td> </tr> <tr> <td class="tg-yw4l">stat</td> <td class="tg-yw4l">Display file or filesystem status.</td> </tr> <tr> <td class="tg-yw4l">statd</td> <td class="tg-yw4l">A daemon that listens for reboot notifications from other hosts, and manages the list of hosts to be notified when the local system reboots.</td> </tr> <tr> <td class="tg-yw4l">strace</td> <td class="tg-yw4l">Trace system calls and signals.</td> </tr> <tr> <td class="tg-yw4l">strfile</td> <td class="tg-yw4l">Create a random access file for storing strings.</td> </tr> <tr> <td class="tg-yw4l">strings</td> <td class="tg-yw4l">Search a specified file and prints any printable strings with at least four characters and followed by an unprintable character.</td> </tr> <tr> <td class="tg-yw4l">strip</td> <td class="tg-yw4l">Discard symbols from object files.</td> </tr> <tr> <td class="tg-yw4l">stty</td> <td class="tg-yw4l">Change and print terminal line settings.</td> </tr> <tr> <td class="tg-yw4l">su</td> <td class="tg-yw4l">Change user ID or become superuser.</td> </tr> <tr> <td class="tg-yw4l">sudo</td> <td class="tg-yw4l">Execute a command as superuser.</td> </tr> <tr> <td class="tg-yw4l">sum</td> <td class="tg-yw4l">Checksum and count the block in a file.</td> </tr> <tr> <td class="tg-yw4l">suspend</td> <td class="tg-yw4l">Suspend the execution of the current shell.</td> </tr> <tr> <td class="tg-yw4l">swapoff</td> <td class="tg-yw4l">Disable devices for paging and swapping.</td> </tr> <tr> <td class="tg-yw4l">swapon</td> <td class="tg-yw4l">Enable devices for paging and swapping.</td> </tr> <tr> <td class="tg-yw4l">symlink</td> <td class="tg-yw4l">Create a symbolic link to a file.</td> </tr> <tr> <td class="tg-yw4l">sync</td> <td class="tg-yw4l">Synchronize cached writes to persistent storage.</td> </tr> <tr> <td class="tg-yw4l">sysctl</td> <td class="tg-yw4l">Configure kernel parameters at runtime.</td> </tr> <tr> <td class="tg-yw4l">sysklogd</td> <td class="tg-yw4l">Linux system logging utilities. Provides syslogd and klogd functionalities.</td> </tr> <tr> <td class="tg-yw4l">syslogd</td> <td class="tg-yw4l">Read and log system messages to the system console and log files.</td> </tr> <tr> <td class="tg-yw4l">systemctl</td> <td class="tg-yw4l">This command can be used to start, stop, and check the status of system services.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> T</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">tac</td> <td class="tg-yw4l">Concatenate and print files in reverse order. Opposite of cat command.</td> </tr> <tr> <td class="tg-yw4l">tail</td> <td class="tg-yw4l">Show the last 10 lines of each specified file(s).</td> </tr> <tr> <td class="tg-yw4l">tailf</td> <td class="tg-yw4l">Follow the growth of a log file. (Deprecated command)</td> </tr> <tr> <td class="tg-yw4l">talk</td> <td class="tg-yw4l">A two-way screen-oriented communication utility that allows two user to exchange messages simultaneously.</td> </tr> <tr> <td class="tg-yw4l">talkd</td> <td class="tg-yw4l">A remote user communication server for <em>talk</em>.</td> </tr> <tr> <td class="tg-yw4l">tar</td> <td class="tg-yw4l">GNU version of the tar archiving utility. Used to store and extract multiple files from a single archive.</td> </tr> <tr> <td class="tg-yw4l">taskset</td> <td class="tg-yw4l">Set/retrieve a process’s CPU affinity.</td> </tr> <tr> <td class="tg-yw4l">tcpd</td> <td class="tg-yw4l">Access control utility for internet services.</td> </tr> <tr> <td class="tg-yw4l">tcpdump</td> <td class="tg-yw4l">Dump traffic on network. Displays a description of the contents of packets on a network interface that match the boolean expression.</td> </tr> <tr> <td class="tg-yw4l">tcpslice</td> <td class="tg-yw4l">Extract pieces of tcpdump files or merge them.</td> </tr> <tr> <td class="tg-yw4l">tee</td> <td class="tg-yw4l">Read from standard input and write to standard output and files.</td> </tr> <tr> <td class="tg-yw4l">telinit</td> <td class="tg-yw4l">Change SysV runlevel.</td> </tr> <tr> <td class="tg-yw4l">telnet</td> <td class="tg-yw4l">Telnet protocol user interface. Used to interact with another host using telnet.</td> </tr> <tr> <td class="tg-yw4l">telnetd</td> <td class="tg-yw4l">A server for the telnet protocol.</td> </tr> <tr> <td class="tg-yw4l">test</td> <td class="tg-yw4l">Check file type and compare values.</td> </tr> <tr> <td class="tg-yw4l">tftp</td> <td class="tg-yw4l">User interface to the internet TFTP (Trivial File Transfer Protocol).</td> </tr> <tr> <td class="tg-yw4l">tftpd</td> <td class="tg-yw4l">TFTP server.</td> </tr> <tr> <td class="tg-yw4l">time</td> <td class="tg-yw4l">Run programs and summarize system resource usage.</td> </tr> <tr> <td class="tg-yw4l">timeout</td> <td class="tg-yw4l">Execute a command with a time limit.</td> </tr> <tr> <td class="tg-yw4l">times</td> <td class="tg-yw4l">Shows accumulated user and system times for the shell and it’s child processes.</td> </tr> <tr> <td class="tg-yw4l">tload</td> <td class="tg-yw4l">Shows a graph of the current system load average to the specified tty.</td> </tr> <tr> <td class="tg-yw4l">tmpwatch</td> <td class="tg-yw4l">Recursively remove files and directories which haven’t been accessed for the specified period of time.</td> </tr> <tr> <td class="tg-yw4l">top</td> <td class="tg-yw4l">Displays real-time view of processes running on the system.</td> </tr> <tr> <td class="tg-yw4l">touch</td> <td class="tg-yw4l">Change file access and modification times.</td> </tr> <tr> <td class="tg-yw4l">tput</td> <td class="tg-yw4l">Modify terminal-dependent capabilities, color, etc.</td> </tr> <tr> <td class="tg-yw4l">tr</td> <td class="tg-yw4l">Translate, squeeze, or delete characters from standard input and display on standard output.</td> </tr> <tr> <td class="tg-yw4l">tracepath</td> <td class="tg-yw4l">Traces path to a network host discovering MTU (Maximum Transmission Unit) along this path.</td> </tr> <tr> <td class="tg-yw4l">traceroute</td> <td class="tg-yw4l">Traces the route taken by the packets to reach the network host.</td> </tr> <tr> <td class="tg-yw4l">trap</td> <td class="tg-yw4l">Trap function responds to hardware signals. It defines and creates handlers to run when the shell receives signals.</td> </tr> <tr> <td class="tg-yw4l">tree</td> <td class="tg-yw4l">A recursive directory listing program that produces a depth-indented listing of files.</td> </tr> <tr> <td class="tg-yw4l">troff</td> <td class="tg-yw4l">The troff processor of the groff text formatting system.</td> </tr> <tr> <td class="tg-yw4l">TRUE</td> <td class="tg-yw4l">Exit with a status code indicating success.</td> </tr> <tr> <td class="tg-yw4l">tset</td> <td class="tg-yw4l">Initialize terminal.</td> </tr> <tr> <td class="tg-yw4l">tsort</td> <td class="tg-yw4l">Perform topological sort.</td> </tr> <tr> <td class="tg-yw4l">tty</td> <td class="tg-yw4l">Display the filename of the terminal connected to standard input.</td> </tr> <tr> <td class="tg-yw4l">tune2fs</td> <td class="tg-yw4l">Adjust tuneable filesystem parameters on ext2/ext3/ext4 filesystems.</td> </tr> <tr> <td class="tg-yw4l">tunelp</td> <td class="tg-yw4l">Set various parameters for the line printer devices.</td> </tr> <tr> <td class="tg-yw4l">type</td> <td class="tg-yw4l">Write a description for a command type.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> U</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">ul</td> <td class="tg-yw4l">Underline text.</td> </tr> <tr> <td class="tg-yw4l">ulimit</td> <td class="tg-yw4l">Get and set user limits for the calling process.</td> </tr> <tr> <td class="tg-yw4l">umask</td> <td class="tg-yw4l">Set file mode creation mask.</td> </tr> <tr> <td class="tg-yw4l">umount</td> <td class="tg-yw4l">Unmount specified file systems.</td> </tr> <tr> <td class="tg-yw4l">unalias</td> <td class="tg-yw4l">Remove alias definitions for specified alias names.</td> </tr> <tr> <td class="tg-yw4l">uname</td> <td class="tg-yw4l">Show system information.</td> </tr> <tr> <td class="tg-yw4l">uncompress</td> <td class="tg-yw4l">Uncompress the files compressed with the compress command.</td> </tr> <tr> <td class="tg-yw4l">unexpand</td> <td class="tg-yw4l">Convert spaces to tabs for a specified file.</td> </tr> <tr> <td class="tg-yw4l">unicode_start</td> <td class="tg-yw4l">Put keyboard and console in Unicode mode.</td> </tr> <tr> <td class="tg-yw4l">unicode_stop</td> <td class="tg-yw4l">Revert keyboard and console from Unicode mode.</td> </tr> <tr> <td class="tg-yw4l">uniq</td> <td class="tg-yw4l">Report or omit repeating lines.</td> </tr> <tr> <td class="tg-yw4l">units</td> <td class="tg-yw4l">Convert units from one scalar to another.</td> </tr> <tr> <td class="tg-yw4l">unix2dos</td> <td class="tg-yw4l">Converts a Unix text file to DOS format.</td> </tr> <tr> <td class="tg-yw4l">unrar</td> <td class="tg-yw4l">Extract files from a RAR archive.</td> </tr> <tr> <td class="tg-yw4l">unset</td> <td class="tg-yw4l">Remove variable or function names.</td> </tr> <tr> <td class="tg-yw4l">unshar</td> <td class="tg-yw4l">Unpack shell archive scripts.</td> </tr> <tr> <td class="tg-yw4l">until</td> <td class="tg-yw4l">Execute command until a given condition is true.</td> </tr> <tr> <td class="tg-yw4l">uptime</td> <td class="tg-yw4l">Tell how long the system has been running.</td> </tr> <tr> <td class="tg-yw4l">useradd</td> <td class="tg-yw4l">Create a new user or update default user information.</td> </tr> <tr> <td class="tg-yw4l">userdel</td> <td class="tg-yw4l">Delete a user account and related files.</td> </tr> <tr> <td class="tg-yw4l">usermod</td> <td class="tg-yw4l">Modify a user account.</td> </tr> <tr> <td class="tg-yw4l">username</td> <td class="tg-yw4l">It provides a set of commands to fetch username and its configurations from the Linux host.</td> </tr> <tr> <td class="tg-yw4l">users</td> <td class="tg-yw4l">Show the list of active users on the machine.</td> </tr> <tr> <td class="tg-yw4l">usleep</td> <td class="tg-yw4l">Suspend execution for microsecond intervals.</td> </tr> <tr> <td class="tg-yw4l">uudecode</td> <td class="tg-yw4l">Decode a binary file.</td> </tr> <tr> <td class="tg-yw4l">uuencode</td> <td class="tg-yw4l">Encode a binary file.</td> </tr> <tr> <td class="tg-yw4l">uuidgen</td> <td class="tg-yw4l">Created a new UUID (Universally Unique Identifier) table.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> V</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">vdir</td> <td class="tg-yw4l">Same as <strong>ls -l -b</strong>. Verbosely list directory contents.</td> </tr> <tr> <td class="tg-yw4l">vi</td> <td class="tg-yw4l">A text editor utility.</td> </tr> <tr> <td class="tg-yw4l">vidmode</td> <td class="tg-yw4l">Set the video mode for a kernel image. Displays current mode value without arguments. Alternative: rdev -v</td> </tr> <tr> <td class="tg-yw4l">vim</td> <td class="tg-yw4l">Vi Improved, a text-based editor which is a successor to vi.</td> </tr> <tr> <td class="tg-yw4l">vmstat</td> <td class="tg-yw4l">Shows information about processes, memory, paging, block IO, traps, disks, and CPU activity.</td> </tr> <tr> <td class="tg-yw4l">vnstat</td> <td class="tg-yw4l">Used by system administrators in order to monitor network parameters such as bandwidth consumption or maybe some traffic flowing in or out.</td> </tr> <tr> <td class="tg-yw4l">volname</td> <td class="tg-yw4l">Returns volume name for a device formatted with an ISO-9660 filesystem. For example, CD-ROM.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> W</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">w</td> <td class="tg-yw4l">Show who is logged-on and what they’re doing.</td> </tr> <tr> <td class="tg-yw4l">wait</td> <td class="tg-yw4l">Waits for a specified process ID(s) to terminate and returns the termination status.</td> </tr> <tr> <td class="tg-yw4l">wall</td> <td class="tg-yw4l">Display a message on the terminals all the users who are currently logged-in.</td> </tr> <tr> <td class="tg-yw4l">warnquota</td> <td class="tg-yw4l">Send mail to the users who’ve exceeded their disk quota soft limit.</td> </tr> <tr> <td class="tg-yw4l">watch</td> <td class="tg-yw4l">Runs commands repeatedly until interrupted and shows their output and errors.</td> </tr> <tr> <td class="tg-yw4l">wc</td> <td class="tg-yw4l">Print newline, word, and byte count for each of the specified files.</td> </tr> <tr> <td class="tg-yw4l">wget</td> <td class="tg-yw4l">A non-interactive file download utility.</td> </tr> <tr> <td class="tg-yw4l">whatis</td> <td class="tg-yw4l">Display one line manual page descriptions.</td> </tr> <tr> <td class="tg-yw4l">whereis</td> <td class="tg-yw4l">Locate the binary, source, and man page files for a command.</td> </tr> <tr> <td class="tg-yw4l">which</td> <td class="tg-yw4l">For a given command, lists the pathnames for the files which would be executed when the command runs.</td> </tr> <tr> <td class="tg-yw4l">while</td> <td class="tg-yw4l">Conditionally execute commands (while loop).</td> </tr> <tr> <td class="tg-yw4l">who</td> <td class="tg-yw4l">Shows who is logged on.</td> </tr> <tr> <td class="tg-yw4l">whoami</td> <td class="tg-yw4l">Displays the username tied to the current effective user ID.</td> </tr> <tr> <td class="tg-yw4l">whois</td> <td class="tg-yw4l">Looks for an object in a WHOIS database</td> </tr> <tr> <td class="tg-yw4l">write</td> <td class="tg-yw4l">Display a message on other user’s terminal.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> X</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">xargs</td> <td class="tg-yw4l">Runs a command using initial arguments and then reads remaining arguments from standard input.</td> </tr> <tr> <td class="tg-yw4l">xdg-open</td> <td class="tg-yw4l">Used to open a file or URL in an application preferred by the user.</td> </tr> <tr> <td class="tg-yw4l">xinetd</td> <td class="tg-yw4l">Extended internet services daemon. Works similar to inetd.</td> </tr> <tr> <td class="tg-yw4l">xz</td> <td class="tg-yw4l">Compress/ Decompress .xz and .lzma files.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> Y</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">yacc</td> <td class="tg-yw4l">Yet Another Compiler Compiler, a GNU Project parser generator.</td> </tr> <tr> <td class="tg-yw4l">yes</td> <td class="tg-yw4l">Repeatedly output a line with a specified string(s) until killed.</td> </tr> <tr> <td class="tg-yw4l">ypbind</td> <td class="tg-yw4l">A daemon that helps client processes to connect to an NIS server.</td> </tr> <tr> <td class="tg-yw4l">ypcat</td> <td class="tg-yw4l">Shows the NIS map (or database) for the specified MapName parameter.</td> </tr> <tr> <td class="tg-yw4l">ypinit</td> <td class="tg-yw4l">Sets up NIS maps on an NIS server.</td> </tr> <tr> <td class="tg-yw4l">ypmatch</td> <td class="tg-yw4l">Shows values for specified keys from an NIS map.</td> </tr> <tr> <td class="tg-yw4l">yppasswd</td> <td class="tg-yw4l">Change NIS login password.</td> </tr> <tr> <td class="tg-yw4l">yppasswdd</td> <td class="tg-yw4l">Acts as a server for the yppasswd command. Receives and executes requests.</td> </tr> <tr> <td class="tg-yw4l">yppoll</td> <td class="tg-yw4l">Shows the ID number or version of NIS map currently used on the NIS server.</td> </tr> <tr> <td class="tg-yw4l">yppush</td> <td class="tg-yw4l">Forces slave NIS servers to copy updated NIS maps.</td> </tr> <tr> <td class="tg-yw4l">ypserv</td> <td class="tg-yw4l">A daemon activated at system startup. It looks for information in local NIS maps.</td> </tr> <tr> <td class="tg-yw4l">ypset</td> <td class="tg-yw4l">Point a client (running ypbind) to a specific server (running ypserv).</td> </tr> <tr> <td class="tg-yw4l">yptest</td> <td class="tg-yw4l">Calls various functions to check the configuration of NIS services.</td> </tr> <tr> <td class="tg-yw4l">ypwhich</td> <td class="tg-yw4l">Shows the hostname for NIS server or master server for a given map.</td> </tr> <tr> <td class="tg-yw4l">ypxfr</td> <td class="tg-yw4l">Transfers NIS server map from server to a local host.</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) <h2> Z</h2> <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Command</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">zcat</td> <td class="tg-yw4l">Used to compress/uncompress files. Similar to gzip</td> </tr> <tr> <td class="tg-yw4l">zcmp</td> <td class="tg-yw4l">Compare compressed files.</td> </tr> <tr> <td class="tg-yw4l">zdiff</td> <td class="tg-yw4l">Compare compressed files line by line.</td> </tr> <tr> <td class="tg-yw4l">zdump</td> <td class="tg-yw4l">Displays time for the timezone mentioned.</td> </tr> <tr> <td class="tg-yw4l">zforce</td> <td class="tg-yw4l">Adds .gz extension to all gzipped files.</td> </tr> <tr> <td class="tg-yw4l">zgrep</td> <td class="tg-yw4l">Performs grep on compressed files.</td> </tr> <tr> <td class="tg-yw4l">zic</td> <td class="tg-yw4l">Creates time conversion information files using the specified input files.</td> </tr> <tr> <td class="tg-yw4l">zip</td> <td class="tg-yw4l">A file compression and packaging utility.</td> </tr> <tr> <td class="tg-yw4l">zless</td> <td class="tg-yw4l">Displays information of a compressed file (using less command) on the terminal one screen at a time.</td> </tr> <tr> <td class="tg-yw4l">zmore</td> <td class="tg-yw4l">Displays output of a compressed file (using more command) on the terminal one page at a time.</td> </tr> <tr> <td class="tg-yw4l">znew</td> <td class="tg-yw4l">Recompress .z files to .gz. files.</td> </tr> </tbody> </table> <p align="right"> Credits: <a href="https://fossbytes.com"><b>fossbytes</b></a> & <a href="https://www.geeksforgeeks.org"><b>geeksforgeeks</b></a></p> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#table) </p> </details> <details><summary><h3>Quick cheat sheet 📝</h3></summary> <p> >**Warning**<br> > Examples like `-a|--all` option flags means, single `-` used for _short_ option(-a) **or**| double `--` used for _long_ option(--all). Both was added for educational purpose. ### Contents - [Command Information](#command-information) - [Command History](#command-history) - [Navigating Directories](#navigating-directories) - [Creating Directories](#creating-directories) - [Moving Directories](#moving-directories) - [Deleting Directories](#deleting-directories) - [Creating Files](#creating-files) - [Standard Output, Error and Input](#standard-output-standard-error-and-standard-input) - [Moving Files](#moving-files) - [Deleting Files](#deleting-files) - [Reading Files](#reading-files) - [Sorting Files](#sorting-files) - [File Permissions](#file-permissions) - [Finding Files](#finding-files) - [Find in Files](#find-in-files) - [Replace in Files](#replace-in-files) - [File Editor](#file-editor) - [Symbolic Links](#symbolic-links) - [Compressing Files](#compressing-files) - [Decompressing Files](#decompressing-files) - [Packages](#packages) - [Disk Usage](#disk-usage) - [Memory Usage](#memory-usage) - [Shutdown and Reboot](#shutdown-and-reboot) - [Identifying Processes](#identifying-processes) - [Process Priority](#process-priority) - [Killing Processes](#killing-processes) - [Date & Time](#date--time) - [Scheduled Tasks](#scheduled-tasks) - [User Mangement](#user-management) - [HTTP Requests](#http-requests) - [Network Troubleshooting](#network-troubleshooting) - [DNS](#dns) - [Hardware](#hardware) - [System Information](#system-information) - [Terminal Multiplexers](#terminal-multiplexers) - [Secure Shell Protocol (SSH)](#secure-shell-protocol-ssh) - [Secure Copy](#secure-copy) - [Bash Profile](#bash-profile) - [Bash Script](#bash-script) # ## Command Information ```bash man chmod # Display page manual of a command man -f|--whatis chmod # Display short description about a command man -k|--apropos permission # Display all related commands from a specific keyword chmod --help # Display usage options of a command ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Command History ```bash history # View all previous commands history | grep foo # View the commands using a specific word history | grep -E|--extended-regexp -i|--ignore-case 'foo1|foo2|foo3' # View the commands using more than 1 specific word(case sensitive) history | head -n|--lines 3 # View the first 3 executed commands history 3 # View the last 3 executed commands history -d 99 # Clear a command from a specific line history -c # Clears all history commands !! # Run the last command executed touch foo.sh # <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<┐ chmod +x !$ # !$ is the last argument of the last command i.e. foo.sh <<<<┘ ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Navigating Directories ```bash pwd # Print current directory path ls # List directories ls -a|--all # List directories including hidden ls -l # List directories in long form ls -l -h|--human-readable # List directories in long form with human readable sizes ls -t # List directories by modification time, newest first stat foo.txt # List size, created and modified timestamps for a file stat foo # List size, created and modified timestamps for a directory tree # List directory and file tree tree -a # List directory and file tree including hidden tree -d # List directory tree cd foo # Go to foo sub-directory cd # Go to home directory cd ~ # Go to home directory cd - # Go to the previously chosen directory pushd foo # Go to foo sub-directory and add previous directory to stack popd # Go back to directory in stack saved by `pushd` ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Creating Directories ```bash mkdir foo # Create a directory mkdir foo bar # Create multiple directories mkdir -p|--parents foo/bar # Create nested directory mkdir -p|--parents {foo,bar}/baz # Create multiple nested directories mktemp -d|--directory # Create a temporary directory ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Moving Directories ```bash cp -R|--recursive foo bar # Copy directory mv foo bar # Move directory rsync -z|--compress -v|--verbose /foo /bar # Copy directory, overwrites destination rsync --ignore-existing -a|--archive-a|--archive -z|--compress -v|--verbose /foo /bar # Copy directory, without overwriting destination rsync -avz /foo username@hostname:/bar # Copy local directory to remote directory rsync -avz username@hostname:/foo /bar # Copy remote directory to local directory ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Deleting Directories ```bash rmdir foo # Delete non-empty directory rm -r|--recursive foo # Delete directory including contents rm -r|--recursive -f|--force foo # Delete directory including contents, ignore nonexistent files and never prompt ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Creating Files ```bash touch foo.txt # Create file or update existing files modified timestamp touch foo.txt bar.txt # Create multiple files touch {foo,bar}.txt # Create multiple files touch test{1..3} # Create test1, test2 and test3 files touch test{a..c} # Create testa, testb and testc files mktemp # Create a temporary file ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Standard Output, Standard Error and Standard Input ```bash echo "foo" > bar.txt # Overwrite file with content echo "foo" >> bar.txt # Append to file with content ls exists 1> stdout.txt # Redirect the standard output to a file ls noexist 2> stderror.txt # Redirect the standard error output to a file ls > out.txt 2>&1 # Redirect standard output and error to a file ls > /dev/null # Discard standard output and error read foo # Read from standard input and write to the variable foo ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Moving Files ```bash cp foo.txt bar.txt # Copy file mv foo.txt bar.txt # Move file rsync -z|--compress -v|--verbose /foo.txt /bar # Copy file quickly if not changed rsync -z|--compress -v|--verbose /foo.txt /bar.txt # Copy and rename file quickly if not changed ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Deleting Files ```bash rm foo.txt # Delete file rm -f|--force foo.txt # Delete file, ignore nonexistent files and never prompt ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Reading Files ```bash cat foo.txt # Print all contents less foo.txt # Print some contents at a time (g - go to top of file, SHIFT+g, go to bottom of file, /foo to search for 'foo') head foo.txt # Print top 10 lines of file tail foo.txt # Print bottom 10 lines of file tail -f|--follow foo.txt # Print bottom 10 lines of file updating with new data open foo.txt # Open file in the default editor wc foo.txt # List number of lines words and characters in the file ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Sorting Files ```bash sort foo.txt # Sort file (ascending order) sort -r|--reverse foo.txt # Sort file (descending order) sort -n|--numeric-sort foo.txt # Sort numbers instead of strings sort -t|--field-separator: -k 3n /foo/foo.txt # Sort by the third column of a file ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## File Permissions | # | Permission | rwx | Binary | | - | - | - | - | | 7 | read, write and execute | rwx | 111 | | 6 | read and write | rw- | 110 | | 5 | read and execute | r-x | 101 | | 4 | read only | r-- | 100 | | 3 | write and execute | -wx | 011 | | 2 | write only | -w- | 010 | | 1 | execute only | --x | 001 | | 0 | none | --- | 000 | For a directory, execute means you can enter a directory. | User | Group | Others | Description | | - | - | - | - | | 6 | 4 | 4 | User can read and write, everyone else can read (Default file permissions) | | 7 | 5 | 5 | User can read, write and execute, everyone else can read and execute (Default directory permissions) | - u - User - g - Group - o - Others - a - All of the above ```bash ls -l /foo.sh # List file permissions chmod +100 foo.sh # Add 1 to the user permission chmod -100 foo.sh # Subtract 1 from the user permission chmod u+x foo.sh # Give the user execute permission chmod g+x foo.sh # Give the group execute permission chmod u-x,g-x foo.sh # Take away the user and group execute permission chmod u+x,g+x,o+x foo.sh # Give everybody execute permission chmod a+x foo.sh # Give everybody execute permission chmod +x foo.sh # Give everybody execute permission ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Finding Files Find binary files for a command. ```bash type -a wget # Display all locations of executable which -a wget # Display all locations of executables whereis wget # Find the binary, source, and manual page files ``` `locate` uses an index and is fast. ```bash updatedb # Update the index locate foo.txt # Find a file locate --ignore-case # Find a file and ignore case locate f*.txt # Find a text file starting with 'f' ``` `find` doesn't use an index and is slow. ```bash find /path -name foo.txt # Find a file find /path -iname foo.txt # Find a file with case insensitive search find /path -name "*.txt" # Find all text files find /path -name foo.txt -delete # Find a file and delete it find /path -name "*.png" -exec pngquant {} # Find all .png files and execute pngquant on it find /path -type f -name foo.txt # Find a file find /path -type d -name foo # Find a directory find /path -type l -name foo.txt # Find a symbolic link find /path -type f -mtime +30 # Find files that haven't been modified in 30 days find /path -type f -mtime +30 -delete # Delete files that haven't been modified in 30 days ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Find in Files ```bash grep 'foo' /bar.txt # Search for 'foo' in file 'bar.txt' grep 'foo' /bar -r|--recursive # Search for 'foo' in directory 'bar' grep 'foo' /bar -R|--dereference-recursive # Search for 'foo' in directory 'bar' and follow symbolic links grep 'foo' /bar -l|--files-with-matches # Show only files that match grep 'foo' /bar -L|--files-without-match # Show only files that don't match grep 'Foo' /bar -i|--ignore-case # Case insensitive search grep 'foo' /bar -x|--line-regexp # Match the entire line grep 'foo' /bar -C|--context 1 # Add N line of context above and below each search result grep 'foo' /bar -v|--invert-match # Show only lines that don't match grep 'foo' /bar -c|--count # Count the number lines that match grep 'foo' /bar -n|--line-number # Add line numbers grep 'foo' /bar --colour # Add colour to output grep 'foo\|bar' /baz -R # Search for 'foo' or 'bar' in directory 'baz' grep --extended-regexp|-E 'foo|bar' /baz -R # Use regular expressions grep -E 'foo|bar' /baz -R # Use regular expressions ``` ### Replace in Files ```bash sed 's/fox/bear/g' foo.txt # Replace fox with bear in foo.txt and output to console sed 's/fox/bear/gi' foo.txt # Replace fox (case insensitive) with bear in foo.txt and output to console sed 's/red fox/blue bear/g' foo.txt # Replace red with blue and fox with bear in foo.txt and output to console sed 's/fox/bear/g' foo.txt > bar.txt # Replace fox with bear in foo.txt and save in bar.txt sed -i|--in-place 's/fox/bear/g' foo.txt # Replace fox with bear and overwrite foo.txt sed -i|--in-place '/red fox/i\blue bear' foo.txt # Insert blue bear before red fox and overwrite foo.txt sed -i|--in-place '/red fox/a\blue bear' foo.txt # Insert blue bear after red fox and overwrite foo.txt sed -i|--in-place '10s/find/replace/' foo.txt # Replace the 10th line of the file sed -i|--in-place '10,20s/find/replace/' foo.txt # Replace in the file 10-20 lines ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ### File Editor ```bash nano # Open a new file in nano nano foo.txt # Open a specific file nano -m|--mouse foo.txt # Enable the use of the mouse nano -l|--linenumbers foo.txt # Show line numbers in front of the text nano +line,10 foo.txt # Open file positioning the cursor at the specified line and column nano -B|--backup foo.txt # Create a backup file (`foo~`) when saving edits ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Symbolic Links ```bash ln -s|--symbolic foo bar # Create a link 'bar' to the 'foo' folder ln -s|--symbolic -f|--force foo bar # Overwrite an existing symbolic link 'bar' ls -l # Show where symbolic links are pointing ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Compressing Files ### zip Compresses one or more files into *.zip files. ```bash zip foo.zip /bar.txt # Compress bar.txt into foo.zip zip foo.zip /bar.txt /baz.txt # Compress bar.txt and baz.txt into foo.zip zip foo.zip /{bar,baz}.txt # Compress bar.txt and baz.txt into foo.zip zip -r|--recurse-paths foo.zip /bar # Compress directory bar into foo.zip ``` ### gzip Compresses a single file into *.gz files. ```bash gzip /bar.txt foo.gz # Compress bar.txt into foo.gz and then delete bar.txt gzip -k|--keep /bar.txt foo.gz # Compress bar.txt into foo.gz ``` ### tar -c Compresses (optionally) and combines one or more files into a single *.tar, *.tar.gz, *.tpz or *.tgz file. ```bash tar -c|--create -z|--gzip -f|--file=foo.tgz /bar.txt /baz.txt # Compress bar.txt and baz.txt into foo.tgz tar -c|--create -z|--gzip -f|--file=foo.tgz /{bar,baz}.txt # Compress bar.txt and baz.txt into foo.tgz tar -c|--create -z|--gzip -f|--file=foo.tgz /bar # Compress directory bar into foo.tgz ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Decompressing Files ### unzip ```bash unzip foo.zip # Unzip foo.zip into current directory ``` ### gunzip ```bash gunzip foo.gz # Unzip foo.gz into current directory and delete foo.gz gunzip -k|--keep foo.gz # Unzip foo.gz into current directory ``` ### tar -x ```bash tar -x|--extract -z|--gzip -f|--file=foo.tar.gz # Un-compress foo.tar.gz into current directory tar -x|--extract -f|--file=foo.tar # Un-combine foo.tar into current directory ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Packages ```bash apt update # Refreshes repository index apt search wget # Search for a package apt show wget # List information about the wget package apt list --all-versions wget # List all versions of the package apt install wget # Install the latest version of the wget package apt install wget=1.2.3 # Install a specific version of the wget package apt remove wget # Removes the wget package apt upgrade # Upgrades all upgradable packages apt clean # Clears out the local repository of downloaded package files dpkg -i|--install package_name.deb # Install deb file rpm -i|--install package_name.rpm # Install rpm file ``` ### Install package source code ```bash tar zxvf sourcecode.tar.gz cd sourcecode ./configure make make install ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Disk Usage ```bash df # List disks, size, used and available space df -h|--human-readable # List disks, size, used and available space in a human readable format du # List current directory, subdirectories and file sizes du /foo/bar # List specified directory, subdirectories and file sizes du -h|--human-readable # List current directory, subdirectories and file sizes in a human readable format du -d|--max-depth # List current directory, subdirectories and file sizes within the max depth du -d 0 # List current directory size ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Memory Usage ```bash free # Show memory usage free -h|--human # Show human readable memory usage free -h|--human --si # Show human readable memory usage in power of 1000 instead of 1024 free -s|--seconds 5 # Show memory usage and update continuously every five seconds ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Shutdown and Reboot ```bash shutdown # Shutdown in 1 minute shutdown now # Immediately shut down shutdown +5 # Shutdown in 5 minutes shutdown -r|--reboot # Reboot in 1 minute shutdown -r|--reboot now # Immediately reboot shutdown -r|--reboot +5 # Reboot in 5 minutes shutdown -c # Cancel a shutdown or reboot reboot # Reboot now reboot -f # Force a reboot ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Identifying Processes ```bash top # List all processes interactively htop # List all processes interactively ps ax # List all processes pidof foo # Return the PID of all foo processes CTRL+Z # Suspend a process running in the foreground bg # Resume a suspended process and run in the background fg # Bring the last background process to the foreground fg 1 # Bring the background process with the PID to the foreground sleep 30 & # Sleep for 30 seconds and move the process into the background jobs # List all background jobs jobs -p # List all background jobs with their PID lsof # List all open files and the process using them lsof -itcp:4000 # Return the process listening on port 4000 ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Process Priority Process priorities go from -20 (highest) to 19 (lowest). ```bash nice -n -20 foo # Change process priority by name renice 20 PID # Change process priority by PID ps -o ni PID # Return the process priority of PID ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Killing Processes ```bash CTRL+C # Kill a process running in the foreground kill PID # Shut down process by PID gracefully. Sends TERM signal. kill -9 PID # Force shut down of process by PID. Sends SIGKILL signal. pkill foo # Shut down process by name gracefully. Sends TERM signal. pkill -9 foo # force shut down process by name. Sends SIGKILL signal. killall foo # Kill all process with the specified name gracefully. ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Date & Time ```bash date # Print the date and time date --iso-8601 # Print the ISO8601 date date --iso-8601=ns # Print the ISO8601 date and time date -s "02 DEC 2020 12:02:02" # Manually change date and time dpkg-reconfigure tzdata # Change date/timezone uptime # Print how long the system has been running time tree # Print amount of time to tree takes to execute ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Scheduled Tasks ```pre * * * * * Minute, Hour, Day of month, Month, Day of the week ``` ```bash crontab -l # List cron tab crontab -e # Edit cron tab in a file editor crontab /path/crontab # Load cron tab from a file crontab -l > /path/crontab # Save cron tab to a file * * * * * foo # Run foo every minute */15 * * * * foo # Run foo every 15 minutes 0 * * * * foo # Run foo every hour 15 6 * * * foo # Run foo daily at 6:15 AM 44 4 * * 5 foo # Run foo every Friday at 4:44 AM 0 0 1 * * foo # Run foo at midnight on the first of the month 0 0 1 1 * foo # Run foo at midnight on the first of the year at -l # List scheduled tasks at -c 1 # Show task with ID 1 at -r 1 # Remove task with ID 1 at now + 2 minutes # Create a task in a file editor to execute in 2 minutes at 12:34 PM next month # Create a task in a file editor to execute at 12:34 PM next month at tomorrow # Create a task in a file editor to execute tomorrow ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## User Management ```bash sudo su # Switch to root user sudo foo # Execute commands(has permission denied) as the root user sudo nano /foo/foo.txt # Open directories and files(is not writable) as the root user su username # Switch to a different user passwd # To change the password of a user adduser username # To add a new user userdel username # To remove user userdel -r|--remove username # To remove user with home directory and mail spool usermod -a|--append -G|--groups GROUPNAME USERNAME # To add a user to a group deluser USER GROUPNAME # To remove a user from a group last # Display information of all the users logged in last username # Display information of a particular user w # Display who is online ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## HTTP Requests ```bash curl https://example.com # Return response body curl -i|--include https://example.com # Include status code and HTTP headers curl -L|--location https://example.com # Follow redirects curl -O|--remote-name foo.txt https://example.com # Output to a text file curl -H|--header "User-Agent: Foo" https://example.com # Add a HTTP header curl -X|--request POST -H "Content-Type: application/json" -d|--data '{"foo":"bar"}' https://example.com # POST JSON curl -X POST -H --data-urlencode foo="bar" http://example.com # POST URL Form Encoded wget https://example.com/file.txt # Download a file to the current directory wget -O|--output-document foo.txt https://example.com/file.txt # Output to a file with the specified name ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Network Troubleshooting ```bash ifconfig # Display all network card and interface information ifconfig -a # Display information of all network cards (including those that are not started at boot) ifconfig eth0 # Display specific device information ifconfig eth0 up # Turn on the network card ifconfig eth0 down # Turn off the network card ifconfig eth0 192.168.120.56 # Configure IP address for network card curl ifconfig.me # Obtain external IP address ping example.com # Send multiple ping requests using the ICMP protocol ping -c 10 -i 5 example.com # Make 10 attempts, 5 seconds apart ip addr # List IP addresses on the system ip route show # Show IP addresses to router netstat -i|--interfaces # List all network interfaces and in/out usage netstat -l|--listening # List all open ports traceroute example.com # List all servers the network traffic goes through mtr -w|--report-wide example.com # Continually list all servers the network traffic goes through mtr -r|--report -w|--report-wide -c|--report-cycles 100 example.com # Output a report that lists network traffic 100 times nmap 0.0.0.0 # Scan for the 1000 most common open ports on localhost nmap 0.0.0.0 -p1-65535 # Scan for open ports on localhost between 1 and 65535 nmap 192.168.4.3 # Scan for the 1000 most common open ports on a remote IP address nmap -sP 192.168.1.1/24 # Discover all machines on the network by ping'ing them ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## DNS ```bash dig example.com # Show query information of domain A records dig -4 example.com # Show IPv4 A records dig -6 example.com # Show IPv6 AAA records dig example.com @nameserver # Show query of a specific nameserver dig example.com -p 123 # Show query of a specific port number cat /etc/resolv.conf # Nameservers file cat /etc/systemd/resolved.conf # DNS resolver config file ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Hardware ```bash lsusb # List USB devices lspci # List PCI hardware lshw # List all hardware ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## System Information ```bash uname -s # Print kernel name uname -r # Print kernel release uname -m # Print Architecture uname -o # Print Operating System uname -a # Print all Systen info lsb_release -a # Print distribution-specific information dpkg --print-architecture # Print-architecture by name cat /proc/cpuinfo # Show cpu info cat /proc/meminfo # Show memory info ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Terminal Multiplexers Start multiple terminal sessions. Active sessions persist reboots. `tmux` is more modern than `screen`. ```bash tmux # Start a new session (CTRL-b + d to detach) tmux ls # List all sessions tmux attach -t 0 # Reattach to a session screen # Start a new session (CTRL-a + d to detach) screen -S foo # Start a new named session screen -ls # List all sessions screen -R 31166 # Reattach to a session exit # Exit a session reset # Reset the terminal(when binary and the terminal state is messed up) ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Secure Shell Protocol (SSH) ```bash ssh hostname # Connect to hostname using your current user name over the default SSH port 22 ssh -i foo.pem hostname # Connect to hostname using the identity file ssh user@hostname # Connect to hostname using the user over the default SSH port 22 ssh user@hostname -p 8765 # Connect to hostname using the user over a custom port ssh ssh://user@hostname:8765 # Connect to hostname using the user over a custom port ``` Set default user and port in `~/.ssh/config`, so you can just enter the name next time: ```bash $ cat ~/.ssh/config Host name User foo Hostname 127.0.0.1 Port 8765 $ ssh name ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Secure Copy ```bash scp foo.txt ubuntu@hostname:/home/ubuntu # Copy foo.txt into the specified remote directory scp ubuntu@hostname:/home/ubuntu/foo.txt /C:\Users\Admin # Copy foo.txt from the specified remote directory ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Bash Profile - bash - `.bashrc` - zsh - `.zshrc` ```bash # Always run ls after cd function cd { builtin cd "$@" && ls } # Prompt user before overwriting any files alias cp='cp --interactive' alias mv='mv --interactive' alias rm='rm --interactive' # Always show disk usage in a human readable format alias df='df -h' alias du='du -h' ``` [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) ## Bash Script ### Variables ```bash #!/bin/bash foo=123 # Initialize variable foo with 123 declare -i foo=123 # Initialize an integer foo with 123 declare -r foo=123 # Initialize readonly variable foo with 123 echo $foo # Print variable foo echo ${foo}_'bar' # Print variable foo followed by _bar echo ${foo:-'default'} # Print variable foo if it exists otherwise print default export foo # Make foo available to child processes unset foo # Make foo unavailable to child processes and current session ``` ### Environment Variables ```bash #!/bin/bash set # List all environment variables echo $PATH # Print PATH environment variable export FOO=Bar # Set an environment variable ``` ### Functions ```bash #!/bin/bash greet() { local world="World" echo "$1 $world" return "$1 $world" } greet "Hello" greeting=$(greet "Hello") ``` ### Exit Codes ```bash #!/bin/bash exit 0 # Exit the script successfully exit 1 # Exit the script unsuccessfully echo $? # Print the last exit code ``` ### Conditional Statements #### Boolean Operators - `$foo` - Is true - `!$foo` - Is false #### Numeric Operators - `-eq` - Equals - `-ne` - Not equals - `-gt` - Greater than - `-ge` - Greater than or equal to - `-lt` - Less than - `-le` - Less than or equal to - `-e` foo.txt - Check file exists - `-z` foo - Check if variable exists #### String Operators - `=` - Equals - `==` - Equals - `-z` - Is null - `-n` - Is not null - `<` - Is less than in ASCII alphabetical order - `>` - Is greater than in ASCII alphabetical order #### If Statements ```bash #!/bin/bash [[ if [[$foo = 'bar']]; then echo 'one' elif [[$foo = 'bar']] || [[$foo = 'baz']]; then echo 'two' elif [[$foo = 'ban']] && [[$USER = 'bat']]; then echo 'three' else echo 'four' fi ]] ``` #### Inline If Statements ```bash #!/bin/bash [[ $USER = 'rehan' ]] && echo 'yes' || echo 'no' ``` #### While Loops ```bash #!/bin/bash [ declare -i counter counter=10 while [$counter -gt 2]; do echo The counter is $counter counter=counter-1 done ] ``` #### For Loops ```bash #!/bin/bash for i in {0..10..2} do echo "Index: $i" done for filename in file1 file2 file3 do echo "Content: " >> $filename done for filename in *; do echo "Content: " >> $filename done ``` #### Case Statements ```bash #!/bin/bash echo "What's the weather like tomorrow?" read weather case $weather in sunny | warm ) echo "Nice weather: " $weather ;; cloudy | cool ) echo "Not bad weather: " $weather ;; rainy | cold ) echo "Terrible weather: " $weather ;; * ) echo "Don't understand" ;; esac ``` <p align=right> Inspired by <a href="https://github.com/RehanSaeed/Bash-Cheat-Sheet">RehanSaeed/Bash-Cheat-Sheet</a></p> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴄᴏɴᴛᴇɴᴛꜱ](#contents) </p> </details> <details><summary><h3>Special characters 🔣</h3></summary> <p> > **Note** <br> > └─> = or <table class="tg"> <tbody> <tr> <th class="tg-yw4l">Char.</th> <th class="tg-yw4l">Description</th> </tr> <tr> <td class="tg-yw4l">~</td> <td class="tg-yw4l">Home directory [tilde]. The path to a user's home directory location.</td> </tr> <tr> <td class="tg-yw4l">-</td> <td class="tg-yw4l">Last directory [hyphen]. Go to the previously chosen directory.</td> </tr> <tr> <td class="tg-yw4l">└─></td> <td class="tg-yw4l">Option flag for a command or filter.</td> </tr> <tr> <td class="tg-yw4l">└─></td> <td class="tg-yw4l">Arithmetic operator. Minus of arithmetic operations.</td> </tr> <tr> <td class="tg-yw4l">/</td> <td class="tg-yw4l">Root directory [forward slash]. The path to root directory location.</td> </tr> <tr> <td class="tg-yw4l">└─></td> <td class="tg-yw4l">Filename path separator.</td> </tr> <tr> <td class="tg-yw4l">\</td> <td class="tg-yw4l">Escape [backslash]. A quoting mechanism for single characters. It preserves the literal value of the next character that follows, with the exception of newline. </td> </tr> <tr> <td class="tg-yw4l">└─></td> <td class="tg-yw4l">Arithmetic operator. Divider of arithmetic operations.</td> </tr> <tr> <td class="tg-yw4l">|</td> <td class="tg-yw4l">Pipe. This is a method of chaining commands together. Connects the output (stdout) of command1 to the input (stdin) of command2. Each command reads the previous command’s output.</td> </tr> <tr> <td class="tg-yw4l">|&</td> <td class="tg-yw4l">This operator connects the output (stdout) and error (stderr) of command1 to the input (stdin) of command2.</td> </tr> <tr> <td class="tg-yw4l">||</td> <td class="tg-yw4l">The OR operator is used to chain commands. It will execute the first command then stop if successful, if not, it will proceed pass failed commands until one is successful and stop.</tr> <tr> <td class="tg-yw4l">&&</td> <td class="tg-yw4l">The AND operator is used to chain commands. It will execute commands only if the first command is successful and proceed until one fails.</td> </tr> <tr> <td class="tg-yw4l">;</td> <td class="tg-yw4l">Command separator [semicolon]. Used to separate multiple commands and output all successful and failed ones.</td> </tr> <tr> <td class="tg-yw4l">&</td> <td class="tg-yw4l">Run job in background [and]. A command followed by an & will run in the background.</td> </tr> <tr> <td class="tg-yw4l"> >, >>, <</td> <td class="tg-yw4l">Redirect a command's standard output (stdout) or input (stdin) into a file.</td> </tr> <tr> <td class="tg-yw4l">&>, >&</td> <td class="tg-yw4l">Redirects a command's both standard output (stdout) and error (stderr) into a file.</td> </tr> <tr> <td class="tg-yw4l"><&-</td> <td class="tg-yw4l">Close standard input (stdin) to prevent showing from a file.</td> </tr> <tr> <td class="tg-yw4l">>&-</td> <td class="tg-yw4l">Close standard output (stdout) to prevent showing from a file.</td> </tr> <tr> <td class="tg-yw4l">>|</td> <td class="tg-yw4l">Force redirection (even if the <a href="https://www.google.com/search?q=what+is+noclobber+bash+meaning+%3F&client=firefox-b-d&sxsrf=ALiCzsYjxhOR8rNOMWPfYf5DFKIqA_f7SA%3A1667859549077&ei=XYRpY4uiBMLhxgGuwoP4Cw&ved=0ahUKEwjLxNT_jJ37AhXCsDEKHS7hAL8Q4dUDCA4&uact=5&oq=what+is+noclobber+bash+meaning+%3F&gs_lcp=Cgxnd3Mtd2l6LXNlcnAQAzIHCCMQsAMQJzIKCAAQRxDWBBCwAzIKCAAQRxDWBBCwAzIKCAAQRxDWBBCwAzIKCAAQRxDWBBCwAzIKCAAQRxDWBBCwAzIKCAAQRxDWBBCwAzIKCAAQRxDWBBCwAzIKCAAQRxDWBBCwA0oECE0YAUoECEEYAEoECEYYAFAAWABg0gFoAXABeACAAQCIAQCSAQCYAQDIAQnAAQE&sclient=gws-wiz-serp"><b>noclobber</b></a> option is set). This will forcibly overwrite an existing file. </tr> <tr> <td class="tg-yw4l">"</td> <td class="tg-yw4l">Partial quoting [double quotes]. Protects the text inside them from being split into multiple words or arguments, yet allow substitutions to occur, meaning most other special characters is usually prevented.</td> <tr> <td class="tg-yw4l">.</td> <td class="tg-yw4l">Source command [period]. To evaluate commands in the current execution context. This is a bash builtin.</td> </tr> <tr> <td class="tg-yw4l">└─></td> <td class="tg-yw4l">"As a component of a filename. When working with filenames, a leading dot is the prefix of a "hidden" file, a file that an ls will not normally show. </td> </tr> <tr> <td class="tg-yw4l">└─></td> <td class="tg-yw4l">Character match. When matching characters, as part of a regular expression, a "dot" matches a single character.</td> </tr> <tr> <td class="tg-yw4l">'</td> <td class="tg-yw4l">Full quoting [single quotes]. Protects the text inside them so that it has a literal meaning. This is a stronger form of quoting than double quotes.</td> </tr> <tr> <td class="tg-yw4l">`</td> <td class="tg-yw4l">Command substitution [backquotes]. Assign the output of a shell command to a variable.</td> </tr> <tr> <td class="tg-yw4l">#</td> <td class="tg-yw4l">Comment [number sign]. Lines in files beginning with a # (with the exception of #!) are comments and will not be executed.</td> </tr> <tr> <td class="tg-yw4l">!</td> <td class="tg-yw4l">Reverse (or negate) [exclamation]. The ! operator inverts the exit status of the command to which it is applied. It also inverts the meaning of a test operator.</td> </tr> <tr> <td class="tg-yw4l">*</td> <td class="tg-yw4l">Wild card [asterisk]. The * character serves as a "wild card" for filename expansion in <a href="https://www.google.com/search?q=What+is+globbing+in+shell%3F&client=firefox-b-d&sxsrf=ALiCzsYC9z8Ynyd5KFHYK7jo2SDHxrCuxg%3A1667844117587&ei=FUhpY77DI46ykvQPlPO_8A8&ved=0ahUKEwj-oa3B05z7AhUOmYQIHZT5D_4Q4dUDCA4&uact=5&oq=What+is+globbing+in+shell%3F&gs_lcp=Cgxnd3Mtd2l6LXNlcnAQAzIICAAQFhAeEA8yBQgAEIYDMgUIABCGAzIFCAAQhgMyBQgAEIYDOgQIABBHSgQITRgBSgQIQRgASgQIRhgAUPdAWPdAYJ9DaABwA3gAgAGdAYgBnQGSAQMwLjGYAQCgAQKgAQHIAQjAAQE&sclient=gws-wiz-serp"><b>globbing</b></a>. By itself, it matches every filename in a given directory. </td> <tr> <td class="tg-yw4l">└─></td> <td class="tg-yw4l">Arithmetic operator. Multiplier of arithmetic operations.</td> </tr> <tr> <td class="tg-yw4l">?</td> <td class="tg-yw4l">Wild card [question mark]. The ? character serves as a single-character "wild card" for filename expansion in globbing, as well as representing one character in an extended regular expression.</td> </tr> <tr> <td class="tg-yw4l">└─></td> <td class="tg-yw4l">Test operator. Within certain expressions, the ? indicates a test for a condition.</td> </tr> <tr> <td class="tg-yw4l">{ }</td> <td class="tg-yw4l">Inline group [curly brackets]. Commands inside the curly braces are treated as if they were one command.</td> </tr> <tr> <td class="tg-yw4l">└─></td> <td class="tg-yw4l">Placeholder for output text.</td> </tr> <tr> <td class="tg-yw4l">( )</td> <td class="tg-yw4l"><a href="https://www.google.com/search?q=what+is+linux+Subshell+%3F&client=firefox-b-d&biw=1440&bih=660&sxsrf=ALiCzsanH7oWuGhBf-7bIH_SmJhmw9gGxg%3A1667750422612&ei=FtpnY5KDJdeCwbkP3eejiAc&ved=0ahUKEwiS5o289pn7AhVXQTABHd3zCHEQ4dUDCA4&uact=5&oq=what+is+linux+Subshell+%3F&gs_lcp=Cgxnd3Mtd2l6LXNlcnAQAzIECCMQJzoKCAAQRxDWBBCwA0oECE0YAUoECEEYAEoECEYYAFCyBliyBmC7B2gCcAF4AIABcYgBcZIBAzAuMZgBAKABAcgBCMABAQ&sclient=gws-wiz-serp"><b>Subshell</b></a> group [parentheses]. Commands within are executed in a subshell (a new process) Used much like a sandbox, if a command causes side effects (like changing variables), it will have no effect on the current shell.</td> </tr> <tr> <td class="tg-yw4l">[ ]</td> <td class="tg-yw4l">Test expression [brackets]. It is part of the shell builtin test.</td> </tr> <tr> <td class="tg-yw4l">└─></td> <td class="tg-yw4l">Array element. Brackets set off the numbering of each element.</td> </tr> <tr> <td class="tg-yw4l">└─></td> <td class="tg-yw4l">Range of characters. As part of a regular expression, brackets delineate a range of characters to match.</td> </tr> <tr> <td class="tg-yw4l">[[ ]]</td> <td class="tg-yw4l">Test/Evaluate [double brackets] a condition expression to determine whether true or false. It is more flexible than the single-bracket [ ] test. </td> <tr> <td class="tg-yw4l">(( ))</td> <td class="tg-yw4l">Arithmetic expression [double parentheses]. Characters such as +, -, *, and / are mathematical operators used for calculations.</td> </tr> <tr> <td class="tg-yw4l">~+</td> <td class="tg-yw4l">Current working directory.</td> </tr> <tr> <td class="tg-yw4l">~-</td> <td class="tg-yw4l">Previous working directory.</td> </tr> <tr> <td class="tg-yw4l">:</td> <td class="tg-yw4l">Null command [colon]. This is the shell equivalent of a "NOP" (no op, a do-nothing operation). It may be considered a synonym for the shell builtin true.</td> </tr> <tr> <td class="tg-yw4l">;;</td> <td class="tg-yw4l">Terminator [double semicolon]. Only used in case constructs to indicate the end of an alternative.</td> </tr> <tr> <td class="tg-yw4l">" "</td> <td class="tg-yw4l">Whitespace. This is a tab, newline, vertical tab, form feed, carriage return, or space. Bash uses whitespace to determine where words begin and end.</td> </tr> <tr> <td class="tg-yw4l">,, ,</td> <td class="tg-yw4l">Lowercase conversion in parameter substitution.</td> </tr> <tr> <td class="tg-yw4l">^, ^^</td> <td class="tg-yw4l">Uppercase conversion in parameter substitution.</td> </tr> <tr> <td class="tg-yw4l">$</td> <td class="tg-yw4l">Variable substitution. A $ prefixing a variable name indicates the value the variable holds</td> </tr> <tr> <td class="tg-yw4l">└─></td> <td class="tg-yw4l">End-of-line. In a regular expression, a "$" addresses the end of a line of text.</td> </tr> <tr> <td class="tg-yw4l">$*</td> <td class="tg-yw4l">All the arguments are seen as a single word.</td> </tr> <tr> <td class="tg-yw4l">!!</td> <td class="tg-yw4l">The previous command.</td> </tr> <tr> <td class="tg-yw4l">!$</td> <td class="tg-yw4l">The last argument to the previous command.</td> </tr> <tr> <td class="tg-yw4l">!*</td> <td class="tg-yw4l">All the arguments from the previous command.</td> </tr> <tr> <td class="tg-yw4l">$?</td> <td class="tg-yw4l">The exit status of the last command executed.</td> </tr> <tr> <td class="tg-yw4l">$#</td> <td class="tg-yw4l">The number of arguments supplied to a script.</td> </tr> <tr> <td class="tg-yw4l">$$</td> <td class="tg-yw4l">The process number of the current shell. For shell scripts, this is the process ID under which they are executing.</td> </tr> <tr> <td class="tg-yw4l">$!</td> <td class="tg-yw4l">The process number of the last background command.</td> </tr> <tr> <td class="tg-yw4l">$_</td> <td class="tg-yw4l">Special variable set to final argument of previous command executed.</td> </tr> <tr> <td class="tg-yw4l">$-</td> <td class="tg-yw4l">Expands to the current option flags as specified upon invocation, by the set builtin command, or those set by the shell itself (such as the -i option). </td> <tr> <td class="tg-yw4l">$0</td> <td class="tg-yw4l">Used to reference the name of the current shell or current shell script.</td> </tr> <tr> <td class="tg-yw4l">$n</td> <td class="tg-yw4l">These variables correspond to the arguments with which a script was invoked. Here n is a positive decimal number corresponding to the position of an argument (the first argument is $1, the second argument is $2, and so on).</td> </tr> </tbody> </table> [⬆ ʀᴇᴛᴜʀɴ ᴛᴏ ᴛᴏᴩ](#special-characters-) </p> </details> <details><summary><h3>Keyboard controls ⌨️<h3></summary> <p> | Key | Function | | :--: | :-- | | Ctrl+B | Moves cursor backward one character position | | Ctrl+F | Moves cursor forward one character position | | Alt+F | Moves cursor one word forward in line | | Alt+B | Moves cursor one word backwards in line | | Ctrl+A | Moves cursor to beginning of text in line | | Ctrl+E | Moves cursor to end of text in line | | Ctrl+D | Erase character forward from cursor left to right | | Ctrl+H | Erase character backward from cursor right to left | | Alt+D | Erase the next word from cursor left to right | | Ctrl+W | Erase backwards to first non-alphanumeric character or empty space | | Ctrl+U | Erase a line of input from cursor right to left | | Ctrl+K | Erase a line of input from cursor left to right | | Ctrl+P | Fetch previous command from history list | | Ctrl+N | Fetch next command from history list | | Ctrl+/ | Undo changes in command-line | | Alt+R | Reverts any changes to a previously executed command that's being edited | | Alt+. | Fetch and paste the last word at end of a command from previous commands | | Ctrl+T | Reverses the position of the character the cursor is on with the previous character | | Alt+T | Reverses the position of the word the cursor is in with the previous word | | Alt+U | Capitalizes every character from cursor left to right to the end of one word | | Alt+L | UnCapitalizes every character from cursor left to right to the end of one word | | Ctrl+R | Reverse search commands from history list | | Ctrl+Y | Causes the process to be stopped| | Ctrl+Z | Pauses a foreground job | | Ctrl+C | Break/Terminate a foreground job | | Ctrl+M | Clear the current line | | Ctrl+O | Accept the current line for execution and fetch the next command | | Ctrl+L | Clear screen contents (command-line needs to be empty) | | Ctrl+S | Suspend | | Ctrl+Q | Resume | | Ctrl+D | Log out from a shell (similar to exit) | Ctrl+X(twice)| The cursor jumps back and forth between the current position to the beginning of the line | ### Nano | Key | Function | | :--: | :-- | | Ctrl+Y | Scrolls page down | | Ctrl+V | Scrolls page up| | Alt+\ | Go to beginning of file | | Alt+/ | Go to end of file | | Ctrl+H | Delete character before cursor | | Ctrl+D | Erase character under cursor | | Alt+Backspace | Erase word to the left | | Ctrl+Del |Erase word to the right | | Alt+Del | Erase current line | | Alt+^ | Copy selected text | | Ctrl+U | To paste the text from the cut buffer (similar to clipboard) into the selected line. | | Ctrl+K | It cuts the entire selected line to the cut buffer. | | Alt+A | To select text. You can combine this command with CTRL + K to cut a specific part of the text to the cut buffer. | | Alt+U | Undo last action | | Alt+E | Redo last undone action | | Ctrl+Q | Start backward search. Press Ctrl+Q to search for the same phrase again | | Ctrl+W | Start forward search. Press ALT+W to search for the same phrase again | | Ctrl+\ | Replaces string or a regular expression | | Alt+3 | Comment/uncomment line/region | | Ctrl+R | Opens a file and inserts it at the current cursor position | | Ctrl+O | Write changes to a file ("Save as") | | Ctrl+S | Save current file | | Ctrl+X | To exit Nano text editor. It prompts a save request if you made any changes to the file | | Ctrl+G | A Help window will pop out and show you all the available commands | </p> </details> --- <details><summary><h3>Online Cheat Sheet for quick references of commands and codes <img src="https://user-images.githubusercontent.com/18756975/201534292-3b617041-77a8-4e2f-8683-641d0b8d7f57.PNG" width=15px height=20px></h3></summary> [cheat.sh](https://github.com/chubin/cheat.sh)<br> ![image](https://user-images.githubusercontent.com/18756975/200065767-13a6249f-2188-4206-8073-1714be57c408.png)<br> <div align="center"> <details><summary><h4>Cheat sheets sources</h4></summary> <p> |Cheat sheets |Repository |C/U* |Stars |Creation Date| |-----------------------|------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------|-------------| |UNIX/Linux, programming|[cheat.sheets](https://github.com/chubin/cheat.sheets) |![](https://img.shields.io/github/contributors-anon/chubin/cheat.sheets?label=%F0%9F%91%A5&labelColor=white) |![](https://img.shields.io/github/stars/chubin/cheat.sheets?label=%E2%AD%90&labelColor=white) |May 1, 2017 | |UNIX/Linux commands |[tldr-pages/tldr](https://github.com/tldr-pages/tldr) |![](https://img.shields.io/github/contributors-anon/tldr-pages/tldr?label=%F0%9F%91%A5&labelColor=white) |![](https://img.shields.io/github/stars/tldr-pages/tldr?label=%E2%AD%90&labelColor=white) |Dec 8, 2013 | |UNIX/Linux commands |[chrisallenlane/cheat](https://github.com/chrisallenlane/cheat) |![](https://img.shields.io/github/contributors-anon/chrisallenlane/cheat?label=%F0%9F%91%A5&labelColor=white) |![](https://img.shields.io/github/stars/chrisallenlane/cheat?label=%E2%AD%90&labelColor=white) |Jul 28, 2013 | |Programming languages |[adambard/learnxinyminutes-docs](https://github.com/adambard/learnxinyminutes-docs) |![](https://img.shields.io/github/contributors-anon/adambard/learnxinyminutes-docs?label=%F0%9F%91%A5&labelColor=white)|![](https://img.shields.io/github/stars/adambard/learnxinyminutes-docs?label=%E2%AD%90&labelColor=white)|Jun 23, 2013 | |Go |[a8m/go-lang-cheat-sheet](https://github.com/a8m/go-lang-cheat-sheet) |![](https://img.shields.io/github/contributors-anon/a8m/go-lang-cheat-sheet?label=%F0%9F%91%A5&labelColor=white) |![](https://img.shields.io/github/stars/a8m/go-lang-cheat-sheet?label=%E2%AD%90&labelColor=white) |Feb 9, 2014 | |Perl |[pkrumnis/perl1line.txt](https://github.com/pkrumins/perl1line.txt) |![](https://img.shields.io/github/contributors-anon/pkrumins/perl1line.txt?label=%F0%9F%91%A5&labelColor=white) |![](https://img.shields.io/github/stars/pkrumins/perl1line.txt?label=%E2%AD%90&labelColor=white) |Nov 4, 2011 | |Programming languages |[StackOverflow](https://stackoverflow.com) |[14M](https://stackexchange.com/leagues/1/alltime/stackoverflow)|N/A </p> </details> </div> ### Usage _**Terminal**_ : ```bash curl cht.sh/keyword # or curl cheat.sh/keyword ``` _**Browser**_ : > [https://cht.sh/](https://cht.sh/)keyword<br> > or<br> > [https://cheat.sh/](https://cheat.sh/)keyword # ### Offline usage [install](https://github.com/chubin/cheat.sh#installation) cheat script manually<br> _**Install globally(all users)**_ : ```bash curl -s https://cht.sh/:cht.sh | sudo tee /usr/local/bin/cht.sh && sudo chmod +x /usr/local/bin/cht.sh ``` _**Run**_ : ```bash cht.sh keyword ``` >**Note** - More info on usage : > https://cht.sh/:help </p> </details> --- <details><summary><h3>More bash resources <img src="https://user-images.githubusercontent.com/18756975/203332636-6012a214-21d9-423a-b20e-09beed4d9a25.png" width=15px height=20px> </h3></summary> | | | | :--: | :--: | | [introduction-to-bash-scripting](https://github.com/bobbyiliev/introduction-to-bash-scripting) | Free Introduction to Bash Scripting eBook| | [shell-scripting-tutorial](https://github.com/techarkit/shell-scripting-tutorial) | A complete begineers guide to learn shell scripting from scratch which includes Videos, Practice scenarios and project idea. | | [100-shell-script-examples](https://github.com/epety/100-shell-script-examples) | Collection of shell scripts found on the internet | | [simple-bash-scripts](https://github.com/ruanyf/simple-bash-scripts) | A collection of simple Bash scripts | | [shell-examples](https://github.com/qjcg/shell-examples) | Little Bash shell scripting examples | | [bash-utils](https://github.com/pirate/bash-utils)| A collection of hand-crafted bash scripts for various common tasks | | [Bash-Snippets](https://github.com/alexanderepstein/Bash-Snippets) | A collection of small bash scripts for heavy terminal users | | [awesome-bash](https://github.com/awesome-lists/awesome-bash) | A curated list of delightful Bash scripts and resources | | [awesome-shell](https://github.com/uhub/awesome-shell) | A curated list of awesome Shell frameworks, libraries and software | | [awesome-cli-apps](https://github.com/agarrharr/awesome-cli-apps) | A curated list of command line apps | | [cli-apps](https://github.com/toolleeo/cli-apps) | Awesome Curated list of (mainly) CLI/TUI applications with source data organized into CSV files | | [awesome-cli](https://github.com/Kikobeats/awesome-cli) | A curated list of awesome resources for building immersive CLI experiences | | [awesome-cli](https://github.com/umutphp/awesome-cli) | A simple command line tool to give you a fancy command line interface to dive into Awesome lists | | [terminals-are-sexy](https://github.com/k4m4/terminals-are-sexy) | A curated list of Terminal frameworks, plugins & resources for CLI lovers | | [funny-Linux-Commands](https://github.com/Debargha-Mitra-Roy/Funny-Linux-Commands) | Funny Linux Commands in Ubuntu | | [awesome-ttygames](https://github.com/ligurio/awesome-ttygames) | Unix ASCII games | </p> </details> ---
3,124
Experimental PlayStation Vita emulator
# Vita3K ![C/C++ CI](https://github.com/Vita3K/Vita3K/workflows/C/C++%20CI/badge.svg) [![Vita3K discord server](https://img.shields.io/discord/408916678911459329?color=5865F2&label=Vita3K%20&logo=discord&logoColor=white)](https://discord.gg/6aGwQzh) ## Introduction Vita3K is an experimental PlayStation Vita emulator for Windows, Linux and macOS. * [Website](https://vita3k.org/) (information for users) * [Wiki](https://github.com/Vita3K/Vita3K/wiki) (information for developers) * [**Discord**](https://discord.gg/MaWhJVH) (recommended) * IRC `#vita3k` on **freenode** ([Web-based IRC client](https://webchat.freenode.net/?channels=%23vita3k)) * [Patreon](https://www.patreon.com/Vita3K) (support the project) ## Compatibility The emulator currently runs some homebrew programs. It is also able to load some decrypted commercial games. - [Homebrew compatibility page](https://vita3k.org/compatibility-homebrew.html) - [Commercial compatibility page](https://vita3k.org/compatibility.html) | **Persona 4 Golden** by Atlus | **A Rose in the Twilight** by Nippon Ichi Software | | :-----------------------------------------------------------: | :--------------------------------------------------------------------------------------------: | | ![Persona 4 Golden screenshot](./_readme/screenshots/P4G.png) | ![A Rose in the Twilight screenshot](./_readme/screenshots/A%20Rose%20in%20the%20Twilight.png) | | **Alone with You** by Benjamin Rivers | **VA-11 HALL-A** by Sukeban Games | | :------------------------------------------------------------------------: | :------------------------------------------------------------------: | | ![Alone with You screenshot](./_readme/screenshots/Alone%20With%20You.png) | ![VA-11 HALL-A screenshot](./_readme/screenshots/VA-11%20HALL-A.png) | | **Fruit Ninja** by Halfbrick Studios | **Jetpack Joyride** by Halfbrick Studios | | :----------------------------------------------------------------: | :------------------------------------------------------------------------: | | ![Fruit Ninja Screenshot](./_readme/screenshots/Fruit%20Ninja.png) | ![Jetpack Joyride Screenshot](./_readme/screenshots/Jetpack%20Joyride.png) | ## Licence Vita3K is licensed under the **GPLv2** license. This is largely dictated by external dependencies, most notably Unicorn. ## Downloads * Windows * [Scoop](https://scoop.sh/#/apps?q=vita3k&s=0&d=1&o=true) * Requirements: * [Microsoft Visual C++ 2015-2022 Redistributable](https://aka.ms/vs/17/release/vc_redist.x64.exe) * Linux * Arch based: * [vita3k-bin](https://aur.archlinux.org/packages/vita3k-bin)<sup><small>AUR</small></sup> * [vita3k-git](https://aur.archlinux.org/packages/vita3k-git)<sup><small>AUR</small></sup> * Requirements: * xdg-desktop-portal * Others * [Download Artifact](https://github.com/Vita3K/Vita3K/actions?query=event%3Apush+is%3Asuccess+branch%3Amaster) ## Building Please see [`building.md`](./building.md). ## Running Specify the path to a .vpk file as the first command line argument, or run `Vita3K --help` from the command-line for a full list of options. For more detailed instructions on running/installing games on all platforms, please read the **#info-faq** channel on our [Discord Server](https://discord.gg/MaWhJVH). ## Bugs and issues The project is in an early stage, so please be sensitive to that when opening new issues. Expect crashes, glitches, low compatibility and poor performance. ## Thanks Thanks go out to people who offered advice or otherwise made this project possible, such as Davee, korruptor, Rinnegatamante, ScHlAuChi, Simon Kilroy, TheFlow, xerpi, xyz, Yifan Lu and many others. ## Donations If you would like to show your appreciation or help fund development, the project has a [Patreon](https://www.patreon.com/Vita3K) page. ## Supporters Thank you to the following supporters: * Mored1984 * soiaf If you support us on Patreon and would like your name added, please get in touch or open a Pull Request. ## Note The purpose of this emulator is not to enable illegal activity. You can dump games by using [NoNpDrm](https://github.com/TheOfficialFloW/NoNpDrm)/[FAGDec](https://github.com/CelesteBlue-dev/PSVita-RE-tools/tree/master/FAGDec/build). You can get homebrew programs from [VitaDB](https://vitadb.rinnegatamante.it/). PlayStation, PlayStation Vita and PS Vita are trademarks of Sony Interactive Entertainment Inc. This emulator is not related to or endorsed by Sony, or derived from confidential materials belonging to Sony.
3,125
Game Boy emulator written in Python
<p align="center"> <img src="README/pyboy.svg" width="480"> </p> __If you have any questions, or just want to chat, [join us on Discord](https://discord.gg/Zrf2nyH).__ It is highly recommended to read the [report](https://github.com/Baekalfen/PyBoy/raw/master/PyBoy.pdf) to get a light introduction to Game Boy emulation. _But do be aware, that the Python implementation has changed a lot_. The report is relevant, eventhough you want to contribute to another emulator, or create your own. If you've read the report and want more explicit details, have a look at the [Pan Docs](http://bgb.bircd.org/pandocs.htm). __If you are looking to make a bot or AI__, you can find all the external components in the [PyBoy Documentation](https://baekalfen.github.io/PyBoy/index.html). There is also a short example on our Wiki page [Scripts, AI and Bots](https://github.com/Baekalfen/PyBoy/wiki/Scripts,-AI-and-Bots) as well as in the [examples directory](https://github.com/Baekalfen/PyBoy/tree/master/examples). If more features are needed, or if you find a bug, don't hesitate to make an issue here on GitHub, or post on our [Discord channel](https://discord.gg/Zrf2nyH). <!--- Generate GIF with the layout and captions --> <table> <tbody> <tr> <td colspan="3"> <div align="center"> <img src="README/1.gif" width="400"><br> </div> </td> </tr> <tr> <td align="center">Rewind any game<br> </td> <td align="center"><a href=https://github.com/uiucanh/tetris>Beat world records</a><br> </td> <td align="center"><a href=https://github.com/lixado/PyBoy-RL>Train with Reinforcement Learning</a><br> </td> </tr> <tr> <td align="center"> <img src="README/5.gif" width="200"> </td> <td align="center"> <img src="README/7.gif" width="200"> </td> <td align="center"> <img src="README/6.gif" width="200"> </td> </tr> </tbody> </table> Installation ============ The instructions are simple if you already have a functioning Python environment on your machine. 1. Install PyBoy using __`pip install pyboy`__ (add __` --user`__ if your system asks) 2. If your system isn't supported by [pysdl2-dll](https://pypi.org/project/pysdl2-dll/), you'll need to install SDL2 from your package manager. If you need more details, or if you need to compile from source, check out the detailed [installation instructions](https://github.com/Baekalfen/PyBoy/wiki/Installation). We support: macOS, Raspberry Pi (Raspbian), Linux (Ubuntu), and Windows 10. Now you're ready! Either use PyBoy directly from the terminal __`$ pyboy file.rom`__ or use it in your Python scripts: ```python from pyboy import PyBoy pyboy = PyBoy('ROMs/gamerom.gb') while not pyboy.tick(): pass pyboy.stop() ``` Or using the context manager: ```python from pyboy import PyBoy with PyBoy('ROMs/gamerom.gb') as pyboy: while not pyboy.tick(): pass ``` When the emulator is running, you can easily access [PyBoy's API](https://baekalfen.github.io/PyBoy/index.html): ```python from pyboy import WindowEvent pyboy.send_input(WindowEvent.PRESS_ARROW_DOWN) pyboy.tick() # Process one frame to let the game register the input pyboy.send_input(WindowEvent.RELEASE_ARROW_DOWN) pil_image = pyboy.screen_image() pil_image.save('screenshot.png') ``` The Wiki shows how to interface with PyBoy from your own project: [Wiki](https://github.com/Baekalfen/PyBoy/wiki). Contributors ============ Thanks to all the people who have contributed to the project! Original Developers ------------------- * Asger Anders Lund Hansen - [AsgerLundHansen](https://github.com/AsgerLundHansen) * Mads Ynddal - [baekalfen](https://github.com/Baekalfen) * Troels Ynddal - [troelsy](https://github.com/troelsy) GitHub Collaborators -------------------- * Kristian Sims - [krs013](https://github.com/krs013) Student Projects ---------------- * __Rewind Time:__ Jacob Olsen - [JacobO1](https://github.com/JacobO1) * __Link Cable:__ Jonas Flach-Jensen - [thejomas](https://github.com/thejomas) * __Game Boy Color:__ Christian Marslev and Jonas Grønborg - [CKuke](https://github.com/CKuke) and [kaff3](https://github.com/kaff3) Contribute ========== Any contribution is appreciated. The currently known problems are tracked in the Issues tab. Feel free to take a swing at any one of them. For the more major features, there are the following that you can give a try. They are also described in more detail in the [project list](https://github.com/Baekalfen/PyBoy/raw/master/Projects/Projects.pdf): * Link Cable * _(Experimental)_ AI - use the `botsupport` or game wrappers to train a neural network * _(Experimental)_ Game Wrappers - make wrappers for popular games If you want to implement something which is not on the list, feel free to do so anyway. If you want to merge it into our repo, then just send a pull request and we will have a look at it.
3,126
Emulator for rapid prototyping of Software Defined Networks
Mininet: Rapid Prototyping for Software Defined Networks ======================================================== *The best way to emulate almost any network on your laptop!* Mininet 2.3.1b1 [![Build Status][1]](https://github.com/mininet/mininet/actions) ### What is Mininet? Mininet emulates a complete network of hosts, links, and switches on a single machine. To create a sample two-host, one-switch network, just run: `sudo mn` Mininet is useful for interactive development, testing, and demos, especially those using OpenFlow and SDN. OpenFlow-based network controllers prototyped in Mininet can usually be transferred to hardware with minimal changes for full line-rate execution. ### How does it work? Mininet creates virtual networks using process-based virtualization and network namespaces - features that are available in recent Linux kernels. In Mininet, hosts are emulated as `bash` processes running in a network namespace, so any code that would normally run on a Linux server (like a web server or client program) should run just fine within a Mininet "Host". The Mininet "Host" will have its own private network interface and can only see its own processes. Switches in Mininet are software-based switches like Open vSwitch or the OpenFlow reference switch. Links are virtual ethernet pairs, which live in the Linux kernel and connect our emulated switches to emulated hosts (processes). ### Features Mininet includes: * A command-line launcher (`mn`) to instantiate networks. * A handy Python API for creating networks of varying sizes and topologies. * Examples (in the `examples/` directory) to help you get started. * Full API documentation via Python `help()` docstrings, as well as the ability to generate PDF/HTML documentation with `make doc`. * Parametrized topologies (`Topo` subclasses) using the Mininet object. For example, a tree network may be created with the command: `mn --topo tree,depth=2,fanout=3` * A command-line interface (`CLI` class) which provides useful diagnostic commands (like `iperf` and `ping`), as well as the ability to run a command to a node. For example, `mininet> h11 ifconfig -a` tells host h11 to run the command `ifconfig -a` * A "cleanup" command to get rid of junk (interfaces, processes, files in /tmp, etc.) which might be left around by Mininet or Linux. Try this if things stop working! `mn -c` ### Python 3 Support - Mininet 2.3.1b1 supports Python 3 and Python 2! - You can install both the Python 3 and Python 2 versions of Mininet side by side, but the most recent installation will determine which Python version is used by default by `mn`. - You can run `mn` directly with Python 2 or Python 3, as long as the appropriate version of Mininet is installed, e.g. $ sudo python2 `which mn` - More information regarding Python 3 and Python 2 support may be found in the release notes on http://docs.mininet.org. ### Other Enhancements and Information - Support for Ubuntu 20.04 LTS (and 18.04) - More reliable testing and CI via github actions - Minor bug fixes (2.3.1) - Additional information about this release and previous releases may be found in the release notes on http://docs.mininet.org. ### Installation See `INSTALL` for installation instructions and details. ### Documentation In addition to the API documentation (`make doc`), much useful information, including a Mininet walkthrough and an introduction to the Python API, is available on the [Mininet Web Site](http://mininet.org). There is also a wiki which you are encouraged to read and to contribute to, particularly the Frequently Asked Questions (FAQ) at http://faq.mininet.org. ### Support Mininet is community-supported. We encourage you to join the Mininet mailing list, `mininet-discuss` at: <https://mailman.stanford.edu/mailman/listinfo/mininet-discuss> ### Join Us Thanks again to all of the Mininet contributors and users! Mininet is an open source project and is currently hosted at <https://github.com/mininet>. You are encouraged to download, examine, and modify the code, and to submit bug reports, bug fixes, feature requests, new features, and other issues and pull requests. Thanks to everyone who has contributed code to the Mininet project (see CONTRIBUTORS for more info!) It is because of everyone's hard work that Mininet continues to grow and improve. ### Enjoy Mininet Have fun! We look forward to seeing what you will do with Mininet to change the networking world. Bob Lantz, on behalf of the Mininet Contributors [1]: https://github.com/mininet/mininet/workflows/mininet-tests/badge.svg
3,127
Complete Open Source and Modular solution for MMO
null
3,128
Game Boy / Game Boy Color Emulator Library, 🎮written for WebAssembly using AssemblyScript. 🚀Demos built with Preact and Svelte. ⚛️
# wasmboy <!--- Badges --> [![Build Status](https://travis-ci.org/torch2424/wasmBoy.svg?branch=master)](https://travis-ci.org/torch2424/wasmBoy) ![npm version](https://img.shields.io/npm/v/wasmboy.svg) ![npm bundle size (minified)](https://img.shields.io/bundlephobia/min/wasmboy.svg) [![wapm version](https://wapm.io/package/torch2424/wasmerboy/badge.svg?style=flat)](https://wapm.io/package/torch2424/wasmerboy) ![npm](https://img.shields.io/npm/dt/wasmboy.svg) ![GitHub](https://img.shields.io/github/license/torch2424/wasmboy.svg) <!--- Short Description--> 🎮👾🕹️ Gameboy Emulator Library written in Web Assembly using [AssemblyScript](https://github.com/AssemblyScript/assemblyscript), Demos in [Preact](https://preactjs.com/) and [Svelte](https://svelte.dev/) 🎮👾🕹️ **Project is still < 1.0.0. Most games are playable, but the emulator is still not very accurate. Expect bugs.** [Core/Lib Documentation](https://github.com/torch2424/wasmBoy/wiki) [Talk given at WebAssembly SF March 28th, 2019](https://youtu.be/ZlL1nduatZQ) <!-- Header Images --> ![Pokemon Crystal Wasmboy Debugger Demo](./docs/images/debuggerDesktopDemo.gif) <!-- Generated with: https://github.com/ekalinin/github-markdown-toc --> # Table of Contents - [Features](#features) - [Usage](#usage) - [Supported Platforms](#supported-platforms) - [In-Game Screenshots](#in-game-screenshots) - [Gameboy Support](#gameboy-support) - [Gameboy Color Support](#gameboy-color-support) - [Demo Applications](#demo-applications) - [Debugger](#debugger) - [Benchmark](#benchmark) - [Iframe Embed](#iframe-embed) - [Tests](#tests) - [Blarrg](#blarrg) - [Mooneye](#mooneye) - [Timing](#timing) - [Halt](#halt) - [Contributing](#contributing) - [Installation](#installation) - [CLI Commands / Npm Scripts](#cli-commands--npm-scripts) - [Notable Projects](#notable-projects) - [Special Thanks](#special-thanks) - [Resources](#resources) # Features - Emulates the Gameboy / Gameboy Color 🎮👾🕹️ - Outputs graphics to a scalable / responsive HTML5 canvas 🖼️, and audio through the Web Audio API 🔊 - Support for In-game saves, and save states 💾 - Configurable options to increase performance for low(er) end devices 🔥 - Importable into other projects as a dependency ♻️ - Built with Web Assembly 🕸️ - Uses Web Workers for parallelized rendering 🛠️ - Keyboard and gamepad input support using [responsive gamepad](https://www.npmjs.com/package/responsive-gamepad) ⌨️ 🎮 - Debugger with a value table (I/O map), Tile Data visualizer, and Background Map with Scroll Indicators 🐛 - Runs in both Browser and Node 🌐 # Usage **Project is still < 1.0.0. Most games are playable, but the emulator is still not very accurate. Expect bugs.** [1.0 Roadmap Tracking Issue](https://github.com/torch2424/wasmBoy/issues/197) Simply install through npm: `npm install --save wasmboy` Documentation for the project can be found on the [WasmBoy Wiki](https://github.com/torch2424/wasmBoy/wiki). ### Supported Platforms Try to test and aim for support on all major browsers (Chrome, Firefox, and Safari). Also, Node support works with the [`headless` option in the WasmBoy config](https://github.com/torch2424/wasmBoy/wiki/Lib-API#wasmboyoptions), and using the [Worker Threads](https://nodejs.org/api/worker_threads.html) `--experimental-worker` flag. # In-Game Screenshots ### Gameboy Support ![Is that a demo in your pocket](./docs/images/wasmBoyIsThatADemoInYourPocket.png) ![Megaman 2](./docs/images/wasmBoyMegaman2.png) ![Pokemon Blue](./docs/images/wasmBoyPokemonBlue.png) ![tetris](./docs/images/wasmBoyTetris.png) ![tobu tobu girl](./test/performance/testroms/tobutobugirl/tobutobugirl.gb.noPerformanceOptions.png) ### Gameboy Color Support ![Links Awakening](./docs/images/wasmBoyLinksAwakening.png) ![L s d j](./docs/images/wasmBoyLsdj.png) ![Megaman extreme 2](./docs/images/wasmBoyMegamanXtreme2.png) ![Pokemon Silver](./docs/images/wasmBoyPokemonSilver.png) ![Pokemon Yellow](./docs/images/wasmBoyPokemonYellow.png) ![back to color demo](./test/performance/testroms/back-to-color/back-to-color.gbc.noPerformanceOptions.png) # Demo Applications ### Debugger [Application Link](https://wasmboy.app/) A full debugger meant for analyzing the internals of the gameboy. Great for HomeBrew Gameboy Development, or using as a reference point for building your own GameBoy emulator. **See the gif at the top of the README for an example.** **Features** - Support of all Gameboy Components: CPU, PPU (Graphics), APU (Audio), Memory, Interrupts, and Timers. 🎮 - Per cycle state of each Game Boy components data, internal registers, and relevant memory addresses. 🌐 - Loaded ROM Information and parsing of the [Cartridge Header](http://gbdev.gg8.se/wiki/articles/The_Cartridge_Header). 💾 - CPU Control options. Stepping per opcode, and breakpoints. 🧠 - Graphics Background Map, with border for current "camera" location with respect to scroll registers. 🖼️ - Graphics Tile Data, to display the loaded tiles currently loaded across all VRAM Banks. 🎨 - WasmBoy Control options. Play, Pause, Save State, and Load State. ⏯️ 📚 - Ability to log the entire WasmBoy Library Object and Memory to the DevTools Console. 🖥️ - Highly productive "Docker" layout, with snapping of widgets onto sections of the screen and tab support. ⚓ - Saved Layouts between sessions. 💠 - Help widget with tips on how to be effective in the debugger. 🙋 **Mobile Demo** For UI/UX reasons, on mobile the debugger is simply a web app for testing the lib. This is useful for testing a ROM on the go. For playing games, I would suggest [VaporBoy](https://vaporboy.net/). Below is an example of the mobile demo: ![Pokemon Crystal Wasmboy Mobile Demo](./docs/images/debuggerMobileDemo.gif) **Anaytics / Privacy** [Analytics Wrapper Service](./demo/debugger/analytics.js) Analytics is used on this application simply for performance monitoring, and tracking popularity of the applications. The following events are sent, with nothing more than the event name. The analytics provider used is [Google Analytics](https://analytics.google.com/analytics/web/). - Whenever a new ROM is loaded, and played for the first time. - Whether attempting to load a ROM was successful. - Whenever a state is saved. - Whenever a state is loaded. - Whenever custom WasmBoy options are applied. - Whenever the Google Drive option is selected. - Whenever the mobile demo is manually reloaded. ### Benchmark [Application Link](https://wasmboy.app/benchmark/) [Medium Article](https://medium.com/@torch2424/webassembly-is-fast-a-real-world-benchmark-of-webassembly-vs-es6-d85a23f8e193) Since WasmBoy is built in AssemblyScript, it can also run it's core through the Typescript compiler if we mock out some of the WebAssembly interface. The benchmarking tool was built as a way to compare WebAssembly performance to Javascript / ES6 performance, after compiling the core to both WebAssembly and Javascript. It includes detailed stats, live running output, and multiple graphs. Also great for comparing the performance of devices that run WasmBoy. **Example** ![WasmBoy Benchmark Runner Section on Safari](./docs/images/benchmarkSafariBackToColorRunner.png) **Anaytics / Privacy** Analytics is used on this application simply for performance monitoring, and tracking popularity of the application. The following events are sent, with nothing more than the event name. The analytics provider used is [Google Analytics](https://analytics.google.com/analytics/web/). - Whenever a new ROM is loaded from the particular source. - Whenever the benchmark is ran. - Whenever results are rendered for the benchmark. ### Iframe Embed An Iframe embeddable version of WasmBoy. Simply provide information through [URL Query Params](https://en.wikipedia.org/wiki/Query_string), and embed a ROM on your website! Great for embedding your HomeBrew Game Boy / Game Boy Color games on your website, (WordPress) blog, and game hosting services such as [itch.io](https://itch.io/). **Example** [Example Tobu Tobu Girl, Homebrew Hub Iframe](https://wasmboy.app/iframe/?rom-name=Tobu%20Tobu%20Girl&play-poster=https://gbhh.avivace.com/database/entries/tobutobugirl/screenshot1.bmp&rom-url=https://gbhh.avivace.com/database/entries/tobutobugirl/tobu.gb) ![Gif of the Tobu Tobu Girl, Home brew hub example](./docs/images/iframeEmbed.gif) **Usage** Add an iframe to your website like the following: ```html <iframe title="WasmBoy Iframe Embed" width="160" height="144" allowfullscreen="true" src="https://wasmboy.app/iframe/?[QUERY_PARAMS_GO_HERE]"> </iframe> ``` The iframe is configured by adding [URL Query Params](https://en.wikipedia.org/wiki/Query_string). The configuration params are: - `rom-url` - **(Required)** The URL to the `.gb` or `.gbc` ROM that will be loaded, fetched, and played. - `rom-name` - The name of the ROM being played. - `play-poster` - The URL to the image shown at the intial "click to play", play poster. Please ensure all assets that are being loaded by the iframe embed, such as ROMs and images, will work with [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS). The WasmBoy Iframe Embed will take the full width and height (100%) of it's iframe container. Thus, it will be up to your styling to ensure the iframe preserves the GameBoy 160x144 resolution. **Anaytics / Privacy** Analytics is used on this application simply for performance monitoring, and tracking popularity of the application. The analytics provider used is [Google Analytics](https://analytics.google.com/analytics/web/). Only basic user visit data is recorded / used. # Tests These are all currently known passing tests (by me), there may be more test roms out there that pass. Some tests may not pass, and that can either be because of the component it is testing is actually incorrect, or another component that the test is testing is not yet implemented, or is incorrect (e.g a lot of mooneye tests rely on Serial Interrupts, which this emulator has yet to implement). Feel free to open an issue or PR to add any more passing tests to this list 😄 . **The test names are listed from left to right, top to bottom**. ### Blarrg [Repo with all blargg's tests and source](https://github.com/retrio/gb-test-roms) cpu_instrs, instr_timing, mem_timing, mem_timing-2, halt_bug, cgb_sound ![Cpu Instructions all tests passing](./test/accuracy/testroms/blargg/cpu_instrs/cpu_instrs.golden.png) ![Instruction timing all tests passing](./test/accuracy/testroms/blargg/instr_timing/instr_timing.golden.png) ![Memory timing all tests passing](./test/accuracy/testroms/blargg/mem_timing/mem_timing.golden.png) ![Memory timing 2 all tests passing](./test/accuracy/testroms/blargg/mem_timing-2/mem_timing-2.golden.png) ![halt bug all tests passing](./test/accuracy/testroms/blargg/halt_bug/halt_bug.golden.png) ![cgb sound all tests passing](./test/accuracy/testroms/blargg/cgb_sound/cgb_sound.golden.png) ### Mooneye [Mooneye GB Emulator / Tests](https://github.com/Gekkio/mooneye-gb) #### Timing div_write, rapid_toggle, tim00, tim00_div_trigger, tim01, tim01_div_trigger, tim10, tim10_div_trigger, tim11, tim11_div_trigger, tima_reload, tima_write_reloading, tma_write_reloading ![div write test passing](./test/accuracy/testroms/mooneye/timer/div_write/div_write.golden.png) ![rapid toggle test passing](./test/accuracy/testroms/mooneye/timer/rapid_toggle/rapid_toggle.golden.png) ![tim00 test passing](./test/accuracy/testroms/mooneye/timer/tim00/tim00.golden.png) ![tim00 div trigger test passing](./test/accuracy/testroms/mooneye/timer/tim00_div_trigger/tim00_div_trigger.golden.png) ![tim01 test passing](./test/accuracy/testroms/mooneye/timer/tim01/tim01.golden.png) ![tim01 div trigger test passing](./test/accuracy/testroms/mooneye/timer/tim01_div_trigger/tim01_div_trigger.golden.png) ![tim10 test passing](./test/accuracy/testroms/mooneye/timer/tim10/tim10.golden.png) ![tim10 div trigger test passing](./test/accuracy/testroms/mooneye/timer/tim10_div_trigger/tim10_div_trigger.golden.png) ![tim11 test passing](./test/accuracy/testroms/mooneye/timer/tim11/tim11.golden.png) ![tim11 div trigger test passing](./test/accuracy/testroms/mooneye/timer/tim11_div_trigger/tim11_div_trigger.golden.png) ![tima reload test passing](./test/accuracy/testroms/mooneye/timer/tima_reload/tima_reload.golden.png) ![tima write reloading test passing](./test/accuracy/testroms/mooneye/timer/tima_write_reloading/tima_write_reloading.golden.png) ![tma write reloading test passing](./test/accuracy/testroms/mooneye/timer/tma_write_reloading/tma_write_reloading.golden.png) #### Halt halt_ime0_ei, halt_ime0_nointr_timing, halt_ime1_timing ![halt_ime0_ei test passing](./test/accuracy/testroms/mooneye/halt/halt_ime0_ei/halt_ime0_ei.golden.png) ![halt_ime0_nointr_timing test passing](./test/accuracy/testroms/mooneye/halt/halt_ime0_nointr_timing/halt_ime0_nointr_timing.golden.png) ![halt_ime1_timing test passing](./test/accuracy/testroms/mooneye/halt/halt_ime1_timing/halt_ime1_timing.golden.png) # Contributing Feel free to fork and submit PRs! Opening an issue is reccomended before starting any development, as a discussion would be nice on the idea / feature before writing code. Any help is much appreciated, and would be a ton of fun! ### Installation Just your standard node app. Install Node with [nvm](https://github.com/creationix/nvm), `git clone` the project, and `npm install`, and you should be good to go! ### CLI Commands / Npm Scripts The project contains three different elements. - The `core` or `wasm` which is the web assembly module for wasmboy written in [AssemblyScript](https://github.com/AssemblyScript/assemblyscript). - The `lib` which is the importable library of wasmboy that can be used in other projects, that adds a top level API to the `core`. - The `demo`, which is a collection of different apps that are used for demoing purposes of the `lib` and `core`. Most of the build process in this project is done using [Rollup.js](https://rollupjs.org/guide/en). Each element / component of the project is configured in its own `rollup.*.js` file, and are then all used within the standard `rollup.config.js` file by the rollup CLI. Also, The `core` wasm uses the [AssemblyScript](https://github.com/AssemblyScript/assemblyscript) compiler CLI tool. Commands for each part of the project will be prepended with their element name and a colon, e.g `debugger:[command here]`. Common command parts are: - `dev` / `watch` - How the project should be served and developed with tools like reloading. - `build` - Make production builds of the component / element of the project. Commands not prepended with a colon are meant for easily building on all of the different parts as a whole. Not all commands are documented, only ones relevant to making changes to the library for contributions. `*` represents the category of commands, and is not an actual command. ```bash # Command to serve the project, and watch the debugger, wasm, and lib for changes # Uses concurrently: https://github.com/kimmobrunfeldt/concurrently # Concurrently helps cleanup the output and organizes watchers on commands that require concurrent tools # Serve the general project for development (Watches the core, lib, and debugger) npm run start # Same as npm start npm run dev # Same as npm start npm run watch # Build everything to be ready to be pushed to npm or released npm run build # Linting commands used during precommit an tests npm run prettier:* # Commands for building/serving the core, offers commands for building with the Assemblyscript Compiler (WASM) or Typescript (JS) npm run core:* # Commands for building/serving the JS lib npm run lib:* # Run tests in `test/accuracy/test.js` npm run test # Run tests in `test/performance/test.js` npm run test:performance # All commands for testing, and are test related npm run test:* # Commands for the building / serving the debugger npm run debugger:* # Commands for building / serving the benchmark tool npm run benchmark:* # Commands for building / serving all available apps in wasmboy npm run demo:* ``` Using the [gh-pages](https://www.npmjs.com/package/gh-pages) for debugger/demo deployment onto gh-pages. # Notable Projects - [VaporBoy](https://github.com/torch2424/vaporBoy) - PWA for playing ROMs with WasmBoy! - [wasmboy-rs](https://github.com/CryZe/wasmboy-rs) - Wasmboy Compiled to Rust, for native executables and additional cool features! - [wasmboy.py](https://bitbucket.org/windel/ppci/src/default/examples/wasm/wasmboy.py?fileviewer=file-view-default) - Wasmboy running in Python! # Special Thanks - [awesome gb-dev communitty](https://github.com/avivace/awesome-gbdev), too many rad dudes to name! - [dcodeIO for building and fixing bugs with AssemblyScript](https://github.com/AssemblyScript/assemblyscript). And for being awesome! - [r/emudev](https://www.reddit.com/r/EmuDev/), especially to [binjimint](https://www.reddit.com/r/EmuDev/comments/7y2bux/gameboy_gb_graphical_bugs_game_writes_zeroes_into/dudlj3w/) for helping me sooooo much! - [mooneye GB](https://github.com/Gekkio/mooneye-gb) Thank you Gekkio for all the contributions to the communitty, and all the awesome tests! - Blargg. Wherever you may be, thank you for all the awesome tests! # Resources - [Talk given at WebAssembly SF March 28th, 2019](https://youtu.be/ZlL1nduatZQ), general Wasm / AssemblyScript introduction, overview of WasmBoy and how it works. - [awesome gbdev](https://github.com/avivace/awesome-gbdev) for reference material, and getting help from the awesome discord community - [node-gameboy](https://github.com/nakardo/node-gameboy), [binjigb](https://github.com/binji/binjgb), [gomeboycolor](https://github.com/djhworld/gomeboycolor) for comparison for when I'm **REALLY** stuck. - [Codeslinger's Guide for General HOW-TO](http://www.codeslinger.co.uk/pages/projects/gameboy.html) - [tomek's Retrospective for General Roadmap](http://blog.rekawek.eu/2017/02/09/coffee-gb/) - [Awesome Wiki on the Gamelad project](https://github.com/Dooskington/GameLad/wiki) - [Opcode Table](http://pastraiser.com/cpu/gameboy/gameboy_opcodes.html) - [Opcode Instructions](https://rednex.github.io/rgbds/gbz80.7.html) - [Spreadsheet of Game that Do or Do Not Rom Bank](https://docs.google.com/spreadsheets/d/1cOS__xEj8bBT7cqEDgJcYStKuFAS8mMA4uErx9kA40M/edit#gid=1827536881) - [How Does Digital Audio Even?](https://www.youtube.com/watch?v=1RIA9U5oXro) - [Sound Emulation - GhostSonit's reply](https://www.reddit.com/r/EmuDev/comments/5gkwi5/gb_apu_sound_emulation/) - [Gameboy Sound Hardware](http://gbdev.gg8.se/wiki/articles/Gameboy_sound_hardware) - [Gameboy Sound Operation](https://gist.github.com/drhelius/3652407) - [Google Material Icons](https://material.io/icons/) - [The Cycle Accurate Game Boy Docs](https://github.com/AntonioND/giibiiadvance/blob/master/docs/TCAGBD.pdf) - [Demos for perf testing GB/GBC](http://privat.bahnhof.se/wb800787/gb/demos/) - [Homebrew Hub - Collection of GameBoy Homebrew](https://gbhh.avivace.com/)
3,129
Reverse engineering framework in Python
[![Build Status](https://travis-ci.org/cea-sec/miasm.svg)](https://travis-ci.org/cea-sec/miasm) [![Build status](https://ci.appveyor.com/api/projects/status/g845jr23nt18uf29/branch/master?svg=true)](https://ci.appveyor.com/project/cea-sec/miasm) [![Miasm tests](https://github.com/cea-sec/miasm/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/cea-sec/miasm/actions/workflows/tests.yml?branch=master) [![Code Climate](https://codeclimate.com/github/cea-sec/miasm/badges/gpa.svg)](https://codeclimate.com/github/cea-sec/miasm) [![Join the chat at https://gitter.im/cea-sec/miasm](https://badges.gitter.im/cea-sec/miasm.svg)](https://gitter.im/cea-sec/miasm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) <p align="center"> <img src="https://raw.githubusercontent.com/cea-sec/miasm/master/doc/logo_miasm.png"> </p> What is Miasm? ============== Miasm is a free and open source (GPLv2) reverse engineering framework. Miasm aims to analyze / modify / generate binary programs. Here is a non exhaustive list of features: * Opening / modifying / generating PE / ELF 32 / 64 LE / BE * Assembling / Disassembling X86 / ARM / MIPS / SH4 / MSP430 * Representing assembly semantic using intermediate language * Emulating using JIT (dynamic code analysis, unpacking, ...) * Expression simplification for automatic de-obfuscation * ... See the official [blog](http://miasm.re) for more examples and demos. Table of Contents ================= - [What is Miasm?](#user-content-what-is-miasm) - [Basic examples](#user-content-basic-examples) - [Assembling / Disassembling](#user-content-assembling--disassembling) - [Intermediate representation](#user-content-intermediate-representation) - [Emulation](#user-content-emulation) - [Symbolic execution](#user-content-symbolic-execution) - [How does it work?](#user-content-how-does-it-work) - [Documentation](#user-content-documentation) - [Obtaining Miasm](#user-content-obtaining-miasm) - [Software requirements](#user-content-software-requirements) - [Configuration](#user-content-configuration) - [Windows & IDA](#user-content-windows--ida) - [Testing](#user-content-testing) - [They already use Miasm](#user-content-they-already-use-miasm) - [Misc](#user-content-misc) Basic examples ============== Assembling / Disassembling -------------------------- Import Miasm x86 architecture: ```pycon >>> from miasm.arch.x86.arch import mn_x86 >>> from miasm.core.locationdb import LocationDB ``` Get a location db: ```pycon >>> loc_db = LocationDB() ``` Assemble a line: ```pycon >>> l = mn_x86.fromstring('XOR ECX, ECX', loc_db, 32) >>> print(l) XOR ECX, ECX >>> mn_x86.asm(l) ['1\xc9', '3\xc9', 'g1\xc9', 'g3\xc9'] ``` Modify an operand: ```pycon >>> l.args[0] = mn_x86.regs.EAX >>> print(l) XOR EAX, ECX >>> a = mn_x86.asm(l) >>> print(a) ['1\xc8', '3\xc1', 'g1\xc8', 'g3\xc1'] ``` Disassemble the result: ```pycon >>> print(mn_x86.dis(a[0], 32)) XOR EAX, ECX ``` Using `Machine` abstraction: ```pycon >>> from miasm.analysis.machine import Machine >>> mn = Machine('x86_32').mn >>> print(mn.dis('\x33\x30', 32)) XOR ESI, DWORD PTR [EAX] ``` For MIPS: ```pycon >>> mn = Machine('mips32b').mn >>> print(mn.dis(b'\x97\xa3\x00 ', "b")) LHU V1, 0x20(SP) ``` Intermediate representation --------------------------- Create an instruction: ```pycon >>> machine = Machine('arml') >>> instr = machine.mn.dis('\x00 \x88\xe0', 'l') >>> print(instr) ADD R2, R8, R0 ``` Create an intermediate representation object: ```pycon >>> lifter = machine.lifter_model_call(loc_db) ``` Create an empty ircfg: ```pycon >>> ircfg = lifter.new_ircfg() ``` Add instruction to the pool: ```pycon >>> lifter.add_instr_to_ircfg(instr, ircfg) ``` Print current pool: ```pycon >>> for lbl, irblock in ircfg.blocks.items(): ... print(irblock) loc_0: R2 = R8 + R0 IRDst = loc_4 ``` Working with IR, for instance by getting side effects: ```pycon >>> for lbl, irblock in ircfg.blocks.items(): ... for assignblk in irblock: ... rw = assignblk.get_rw() ... for dst, reads in rw.items(): ... print('read: ', [str(x) for x in reads]) ... print('written:', dst) ... print() ... read: ['R8', 'R0'] written: R2 read: [] written: IRDst ``` More information on Miasm IR is in the [corresponding Jupyter Notebook](https://github.com/cea-sec/miasm/blob/master/doc/expression/expression.ipynb). Emulation --------- Giving a shellcode: ```pycon 00000000 8d4904 lea ecx, [ecx+0x4] 00000003 8d5b01 lea ebx, [ebx+0x1] 00000006 80f901 cmp cl, 0x1 00000009 7405 jz 0x10 0000000b 8d5bff lea ebx, [ebx-1] 0000000e eb03 jmp 0x13 00000010 8d5b01 lea ebx, [ebx+0x1] 00000013 89d8 mov eax, ebx 00000015 c3 ret >>> s = b'\x8dI\x04\x8d[\x01\x80\xf9\x01t\x05\x8d[\xff\xeb\x03\x8d[\x01\x89\xd8\xc3' ``` Import the shellcode thanks to the `Container` abstraction: ```pycon >>> from miasm.analysis.binary import Container >>> c = Container.from_string(s, loc_db) >>> c <miasm.analysis.binary.ContainerUnknown object at 0x7f34cefe6090> ``` Disassembling the shellcode at address `0`: ```pycon >>> from miasm.analysis.machine import Machine >>> machine = Machine('x86_32') >>> mdis = machine.dis_engine(c.bin_stream, loc_db=loc_db) >>> asmcfg = mdis.dis_multiblock(0) >>> for block in asmcfg.blocks: ... print(block) ... loc_0 LEA ECX, DWORD PTR [ECX + 0x4] LEA EBX, DWORD PTR [EBX + 0x1] CMP CL, 0x1 JZ loc_10 -> c_next:loc_b c_to:loc_10 loc_10 LEA EBX, DWORD PTR [EBX + 0x1] -> c_next:loc_13 loc_b LEA EBX, DWORD PTR [EBX + 0xFFFFFFFF] JMP loc_13 -> c_to:loc_13 loc_13 MOV EAX, EBX RET ``` Initializing the JIT engine with a stack: ```pycon >>> jitter = machine.jitter(loc_db, jit_type='python') >>> jitter.init_stack() ``` Add the shellcode in an arbitrary memory location: ```pycon >>> run_addr = 0x40000000 >>> from miasm.jitter.csts import PAGE_READ, PAGE_WRITE >>> jitter.vm.add_memory_page(run_addr, PAGE_READ | PAGE_WRITE, s) ``` Create a sentinelle to catch the return of the shellcode: ```Python def code_sentinelle(jitter): jitter.running = False jitter.pc = 0 return True >>> jitter.add_breakpoint(0x1337beef, code_sentinelle) >>> jitter.push_uint32_t(0x1337beef) ``` Active logs: ```pycon >>> jitter.set_trace_log() ``` Run at arbitrary address: ```pycon >>> jitter.init_run(run_addr) >>> jitter.continue_run() RAX 0000000000000000 RBX 0000000000000000 RCX 0000000000000000 RDX 0000000000000000 RSI 0000000000000000 RDI 0000000000000000 RSP 000000000123FFF8 RBP 0000000000000000 zf 0000000000000000 nf 0000000000000000 of 0000000000000000 cf 0000000000000000 RIP 0000000040000000 40000000 LEA ECX, DWORD PTR [ECX+0x4] RAX 0000000000000000 RBX 0000000000000000 RCX 0000000000000004 RDX 0000000000000000 RSI 0000000000000000 RDI 0000000000000000 RSP 000000000123FFF8 RBP 0000000000000000 zf 0000000000000000 nf 0000000000000000 of 0000000000000000 cf 0000000000000000 .... 4000000e JMP loc_0000000040000013:0x40000013 RAX 0000000000000000 RBX 0000000000000000 RCX 0000000000000004 RDX 0000000000000000 RSI 0000000000000000 RDI 0000000000000000 RSP 000000000123FFF8 RBP 0000000000000000 zf 0000000000000000 nf 0000000000000000 of 0000000000000000 cf 0000000000000000 RIP 0000000040000013 40000013 MOV EAX, EBX RAX 0000000000000000 RBX 0000000000000000 RCX 0000000000000004 RDX 0000000000000000 RSI 0000000000000000 RDI 0000000000000000 RSP 000000000123FFF8 RBP 0000000000000000 zf 0000000000000000 nf 0000000000000000 of 0000000000000000 cf 0000000000000000 RIP 0000000040000013 40000015 RET >>> ``` Interacting with the jitter: ```pycon >>> jitter.vm ad 1230000 size 10000 RW_ hpad 0x2854b40 ad 40000000 size 16 RW_ hpad 0x25e0ed0 >>> hex(jitter.cpu.EAX) '0x0L' >>> jitter.cpu.ESI = 12 ``` Symbolic execution ------------------ Initializing the IR pool: ```pycon >>> lifter = machine.lifter_model_call(loc_db) >>> ircfg = lifter.new_ircfg_from_asmcfg(asmcfg) ``` Initializing the engine with default symbolic values: ```pycon >>> from miasm.ir.symbexec import SymbolicExecutionEngine >>> sb = SymbolicExecutionEngine(lifter) ``` Launching the execution: ```pycon >>> symbolic_pc = sb.run_at(ircfg, 0) >>> print(symbolic_pc) ((ECX + 0x4)[0:8] + 0xFF)?(0xB,0x10) ``` Same, with step logs (only changes are displayed): ```pycon >>> sb = SymbolicExecutionEngine(lifter, machine.mn.regs.regs_init) >>> symbolic_pc = sb.run_at(ircfg, 0, step=True) Instr LEA ECX, DWORD PTR [ECX + 0x4] Assignblk: ECX = ECX + 0x4 ________________________________________________________________________________ ECX = ECX + 0x4 ________________________________________________________________________________ Instr LEA EBX, DWORD PTR [EBX + 0x1] Assignblk: EBX = EBX + 0x1 ________________________________________________________________________________ EBX = EBX + 0x1 ECX = ECX + 0x4 ________________________________________________________________________________ Instr CMP CL, 0x1 Assignblk: zf = (ECX[0:8] + -0x1)?(0x0,0x1) nf = (ECX[0:8] + -0x1)[7:8] pf = parity((ECX[0:8] + -0x1) & 0xFF) of = ((ECX[0:8] ^ (ECX[0:8] + -0x1)) & (ECX[0:8] ^ 0x1))[7:8] cf = (((ECX[0:8] ^ 0x1) ^ (ECX[0:8] + -0x1)) ^ ((ECX[0:8] ^ (ECX[0:8] + -0x1)) & (ECX[0:8] ^ 0x1)))[7:8] af = ((ECX[0:8] ^ 0x1) ^ (ECX[0:8] + -0x1))[4:5] ________________________________________________________________________________ af = (((ECX + 0x4)[0:8] + 0xFF) ^ (ECX + 0x4)[0:8] ^ 0x1)[4:5] pf = parity((ECX + 0x4)[0:8] + 0xFF) zf = ((ECX + 0x4)[0:8] + 0xFF)?(0x0,0x1) ECX = ECX + 0x4 of = ((((ECX + 0x4)[0:8] + 0xFF) ^ (ECX + 0x4)[0:8]) & ((ECX + 0x4)[0:8] ^ 0x1))[7:8] nf = ((ECX + 0x4)[0:8] + 0xFF)[7:8] cf = (((((ECX + 0x4)[0:8] + 0xFF) ^ (ECX + 0x4)[0:8]) & ((ECX + 0x4)[0:8] ^ 0x1)) ^ ((ECX + 0x4)[0:8] + 0xFF) ^ (ECX + 0x4)[0:8] ^ 0x1)[7:8] EBX = EBX + 0x1 ________________________________________________________________________________ Instr JZ loc_key_1 Assignblk: IRDst = zf?(loc_key_1,loc_key_2) EIP = zf?(loc_key_1,loc_key_2) ________________________________________________________________________________ af = (((ECX + 0x4)[0:8] + 0xFF) ^ (ECX + 0x4)[0:8] ^ 0x1)[4:5] EIP = ((ECX + 0x4)[0:8] + 0xFF)?(0xB,0x10) pf = parity((ECX + 0x4)[0:8] + 0xFF) IRDst = ((ECX + 0x4)[0:8] + 0xFF)?(0xB,0x10) zf = ((ECX + 0x4)[0:8] + 0xFF)?(0x0,0x1) ECX = ECX + 0x4 of = ((((ECX + 0x4)[0:8] + 0xFF) ^ (ECX + 0x4)[0:8]) & ((ECX + 0x4)[0:8] ^ 0x1))[7:8] nf = ((ECX + 0x4)[0:8] + 0xFF)[7:8] cf = (((((ECX + 0x4)[0:8] + 0xFF) ^ (ECX + 0x4)[0:8]) & ((ECX + 0x4)[0:8] ^ 0x1)) ^ ((ECX + 0x4)[0:8] + 0xFF) ^ (ECX + 0x4)[0:8] ^ 0x1)[7:8] EBX = EBX + 0x1 ________________________________________________________________________________ >>> ``` Retry execution with a concrete ECX. Here, the symbolic / concolic execution reach the shellcode's end: ```pycon >>> from miasm.expression.expression import ExprInt >>> sb.symbols[machine.mn.regs.ECX] = ExprInt(-3, 32) >>> symbolic_pc = sb.run_at(ircfg, 0, step=True) Instr LEA ECX, DWORD PTR [ECX + 0x4] Assignblk: ECX = ECX + 0x4 ________________________________________________________________________________ af = (((ECX + 0x4)[0:8] + 0xFF) ^ (ECX + 0x4)[0:8] ^ 0x1)[4:5] EIP = ((ECX + 0x4)[0:8] + 0xFF)?(0xB,0x10) pf = parity((ECX + 0x4)[0:8] + 0xFF) IRDst = ((ECX + 0x4)[0:8] + 0xFF)?(0xB,0x10) zf = ((ECX + 0x4)[0:8] + 0xFF)?(0x0,0x1) ECX = 0x1 of = ((((ECX + 0x4)[0:8] + 0xFF) ^ (ECX + 0x4)[0:8]) & ((ECX + 0x4)[0:8] ^ 0x1))[7:8] nf = ((ECX + 0x4)[0:8] + 0xFF)[7:8] cf = (((((ECX + 0x4)[0:8] + 0xFF) ^ (ECX + 0x4)[0:8]) & ((ECX + 0x4)[0:8] ^ 0x1)) ^ ((ECX + 0x4)[0:8] + 0xFF) ^ (ECX + 0x4)[0:8] ^ 0x1)[7:8] EBX = EBX + 0x1 ________________________________________________________________________________ Instr LEA EBX, DWORD PTR [EBX + 0x1] Assignblk: EBX = EBX + 0x1 ________________________________________________________________________________ af = (((ECX + 0x4)[0:8] + 0xFF) ^ (ECX + 0x4)[0:8] ^ 0x1)[4:5] EIP = ((ECX + 0x4)[0:8] + 0xFF)?(0xB,0x10) pf = parity((ECX + 0x4)[0:8] + 0xFF) IRDst = ((ECX + 0x4)[0:8] + 0xFF)?(0xB,0x10) zf = ((ECX + 0x4)[0:8] + 0xFF)?(0x0,0x1) ECX = 0x1 of = ((((ECX + 0x4)[0:8] + 0xFF) ^ (ECX + 0x4)[0:8]) & ((ECX + 0x4)[0:8] ^ 0x1))[7:8] nf = ((ECX + 0x4)[0:8] + 0xFF)[7:8] cf = (((((ECX + 0x4)[0:8] + 0xFF) ^ (ECX + 0x4)[0:8]) & ((ECX + 0x4)[0:8] ^ 0x1)) ^ ((ECX + 0x4)[0:8] + 0xFF) ^ (ECX + 0x4)[0:8] ^ 0x1)[7:8] EBX = EBX + 0x2 ________________________________________________________________________________ Instr CMP CL, 0x1 Assignblk: zf = (ECX[0:8] + -0x1)?(0x0,0x1) nf = (ECX[0:8] + -0x1)[7:8] pf = parity((ECX[0:8] + -0x1) & 0xFF) of = ((ECX[0:8] ^ (ECX[0:8] + -0x1)) & (ECX[0:8] ^ 0x1))[7:8] cf = (((ECX[0:8] ^ 0x1) ^ (ECX[0:8] + -0x1)) ^ ((ECX[0:8] ^ (ECX[0:8] + -0x1)) & (ECX[0:8] ^ 0x1)))[7:8] af = ((ECX[0:8] ^ 0x1) ^ (ECX[0:8] + -0x1))[4:5] ________________________________________________________________________________ af = 0x0 EIP = ((ECX + 0x4)[0:8] + 0xFF)?(0xB,0x10) pf = 0x1 IRDst = ((ECX + 0x4)[0:8] + 0xFF)?(0xB,0x10) zf = 0x1 ECX = 0x1 of = 0x0 nf = 0x0 cf = 0x0 EBX = EBX + 0x2 ________________________________________________________________________________ Instr JZ loc_key_1 Assignblk: IRDst = zf?(loc_key_1,loc_key_2) EIP = zf?(loc_key_1,loc_key_2) ________________________________________________________________________________ af = 0x0 EIP = 0x10 pf = 0x1 IRDst = 0x10 zf = 0x1 ECX = 0x1 of = 0x0 nf = 0x0 cf = 0x0 EBX = EBX + 0x2 ________________________________________________________________________________ Instr LEA EBX, DWORD PTR [EBX + 0x1] Assignblk: EBX = EBX + 0x1 ________________________________________________________________________________ af = 0x0 EIP = 0x10 pf = 0x1 IRDst = 0x10 zf = 0x1 ECX = 0x1 of = 0x0 nf = 0x0 cf = 0x0 EBX = EBX + 0x3 ________________________________________________________________________________ Instr LEA EBX, DWORD PTR [EBX + 0x1] Assignblk: IRDst = loc_key_3 ________________________________________________________________________________ af = 0x0 EIP = 0x10 pf = 0x1 IRDst = 0x13 zf = 0x1 ECX = 0x1 of = 0x0 nf = 0x0 cf = 0x0 EBX = EBX + 0x3 ________________________________________________________________________________ Instr MOV EAX, EBX Assignblk: EAX = EBX ________________________________________________________________________________ af = 0x0 EIP = 0x10 pf = 0x1 IRDst = 0x13 zf = 0x1 ECX = 0x1 of = 0x0 nf = 0x0 cf = 0x0 EBX = EBX + 0x3 EAX = EBX + 0x3 ________________________________________________________________________________ Instr RET Assignblk: IRDst = @32[ESP[0:32]] ESP = {ESP[0:32] + 0x4 0 32} EIP = @32[ESP[0:32]] ________________________________________________________________________________ af = 0x0 EIP = @32[ESP] pf = 0x1 IRDst = @32[ESP] zf = 0x1 ECX = 0x1 of = 0x0 nf = 0x0 cf = 0x0 EBX = EBX + 0x3 ESP = ESP + 0x4 EAX = EBX + 0x3 ________________________________________________________________________________ >>> ``` How does it work? ================= Miasm embeds its own disassembler, intermediate language and instruction semantic. It is written in Python. To emulate code, it uses LLVM, GCC, Clang or Python to JIT the intermediate representation. It can emulate shellcodes and all or parts of binaries. Python callbacks can be executed to interact with the execution, for instance to emulate library functions effects. Documentation ============= TODO An auto-generated documentation is available: * [Doxygen](http://miasm.re/miasm_doxygen) * [pdoc](http://miasm.re/miasm_pdoc) Obtaining Miasm =============== * Clone the repository: [Miasm on GitHub](https://github.com/cea-sec/miasm/) * Get one of the Docker images at [Docker Hub](https://registry.hub.docker.com/u/miasm/) Software requirements --------------------- Miasm uses: * python-pyparsing * python-dev * optionally python-pycparser (version >= 2.17) To enable code JIT, one of the following module is mandatory: * GCC * Clang * LLVM with Numba llvmlite, see below 'optional' Miasm can also use: * Z3, the [Theorem Prover](https://github.com/Z3Prover/z3) Configuration ------------- To use the jitter, GCC or LLVM is recommended * GCC (any version) * Clang (any version) * LLVM * Debian (testing/unstable): Not tested * Debian stable/Ubuntu/Kali/whatever: `pip install llvmlite` or install from [llvmlite](https://github.com/numba/llvmlite) * Windows: Not tested * Build and install Miasm: ```pycon $ cd miasm_directory $ python setup.py build $ sudo python setup.py install ``` If something goes wrong during one of the jitter modules compilation, Miasm will skip the error and disable the corresponding module (see the compilation output). Windows & IDA ------------- Most of Miasm's IDA plugins use a subset of Miasm functionality. A quick way to have them working is to add: * `pyparsing.py` to `C:\...\IDA\python\` or `pip install pyparsing` * `miasm/miasm` directory to `C:\...\IDA\python\` All features excepting JITter related ones will be available. For a more complete installation, please refer to above paragraphs. Testing ======= Miasm comes with a set of regression tests. To run all of them: ```pycon cd miasm_directory/test # Run tests using our own test runner python test_all.py # Run tests using standard frameworks (slower, require 'parameterized') python -m unittest test_all.py # sequential, requires 'unittest' python -m pytest test_all.py # sequential, requires 'pytest' python -m pytest -n auto test_all.py # parallel, requires 'pytest' and 'pytest-xdist' ``` Some options can be specified: * Mono threading: `-m` * Code coverage instrumentation: `-c` * Only fast tests: `-t long` (excludes the long tests) They already use Miasm ====================== Tools ----- * [Sibyl](https://github.com/cea-sec/Sibyl): A function divination tool * [R2M2](https://github.com/guedou/r2m2): Use miasm as a radare2 plugin * [CGrex](https://github.com/mechaphish/cgrex): Targeted patcher for CGC binaries * [ethRE](https://github.com/jbcayrou/ethRE): Reversing tool for Ethereum EVM (with corresponding Miasm2 architecture) Blog posts / papers / conferences --------------------------------- * [Deobfuscation: recovering an OLLVM-protected program](http://blog.quarkslab.com/deobfuscation-recovering-an-ollvm-protected-program.html) * [Taming a Wild Nanomite-protected MIPS Binary With Symbolic Execution: No Such Crackme](https://doar-e.github.io/blog/2014/10/11/taiming-a-wild-nanomite-protected-mips-binary-with-symbolic-execution-no-such-crackme/) * [Génération rapide de DGA avec Miasm](https://www.lexsi.com/securityhub/generation-rapide-de-dga-avec-miasm/): Quick computation of DGA (French article) * [Enabling Client-Side Crash-Resistance to Overcome Diversification and Information Hiding](https://www.internetsociety.org/sites/default/files/blogs-media/enabling-client-side-crash-resistance-overcome-diversification-information-hiding.pdf): Detect undirected call potential arguments * [Miasm: Framework de reverse engineering](https://www.sstic.org/2012/presentation/miasm_framework_de_reverse_engineering/) (French) * [Tutorial miasm](https://www.sstic.org/2014/presentation/Tutorial_miasm/) (French video) * [Graphes de dépendances : Petit Poucet style](https://www.sstic.org/2016/presentation/graphes_de_dpendances__petit_poucet_style/): DepGraph (French) Books ----- * [Practical Reverse Engineering: X86, X64, Arm, Windows Kernel, Reversing Tools, and Obfuscation](http://eu.wiley.com/WileyCDA/WileyTitle/productCd-1118787315,subjectCd-CSJ0.html): Introduction to Miasm (Chapter 5 "Obfuscation") * [BlackHat Python - Appendix](https://github.com/oreilly-japan/black-hat-python-jp-support/tree/master/appendix-A): Japan security book's samples
3,130
An educational software system of a tiny self-compiling C compiler, a tiny self-executing RISC-V emulator, and a tiny self-hosting RISC-V hypervisor.
# Selfie [![selfie](https://github.com/cksystemsteaching/selfie/actions/workflows/selfie.yml/badge.svg)](https://github.com/cksystemsteaching/selfie/actions) [![Run on Repl.it](https://replit.com/badge/github/cksystemsteaching/selfie)](https://replit.com/new/github/cksystemsteaching/selfie) Selfie is a project of the [Computational Systems Group](http://www.cs.uni-salzburg.at/~ck) at the Department of Computer Sciences of the University of Salzburg in Austria. The Selfie Project provides an educational platform for teaching undergraduate and graduate students the design and implementation of programming languages and runtime systems. The focus is on the construction of compilers, libraries, operating systems, and virtual machine monitors. The common theme is to identify and resolve self-reference in systems code which is seen as the key challenge when teaching systems engineering, hence the name. Selfie is a self-contained 64-bit, 12-KLOC C implementation of: 1. a self-compiling compiler called starc that compiles a tiny but still fast [subset of C](https://github.com/cksystemsteaching/selfie/blob/main/semantics.md) called C Star ([C\*](https://github.com/cksystemsteaching/selfie/blob/main/grammar.md)) to a tiny and easy-to-teach subset of RISC-V called [RISC-U](https://github.com/cksystemsteaching/selfie/blob/main/riscu.md), 2. a self-executing emulator called mipster that executes RISC-U code including itself when compiled with starc, 3. a self-hosting hypervisor called hypster that provides RISC-U virtual machines that can host all of selfie, that is, starc, mipster, and hypster itself, and 4. a tiny C\* library called libcstar utilized by selfie. Selfie is implemented in a single (!) file and kept minimal for simplicity. There is also a simple in-memory linker, a RISC-U disassembler, a garbage collector, L1 instruction and data caches, a profiler, and a debugger with replay as well as minimal operating system support in the form of RISC-V system calls built into the emulator and hypervisor. The garbage collector is conservative and even self-collecting. It may operate as library in the same address space as the mutator and/or as part of the emulator in the address space of the kernel. Selfie generates ELF binaries that run on real [RISC-V hardware](https://www.sifive.com/boards) as well as on [QEMU](https://www.qemu.org) and are compatible with the official [RISC-V](https://riscv.org) toolchain, in particular the [spike emulator](https://github.com/riscv/riscv-isa-sim) and the [pk kernel](https://github.com/riscv/riscv-pk). Selfie is designed as 64-bit system and requires as such a 64-bit system to run (LP64 data model). However, selfie also compiles on systems that support compiling and executing 32-bit binaries (ILP32 data model). In that case, selfie becomes a 32-bit system that generates and executes 32-bit binaries out-of-the-box. This is possible because the implementation of selfie carefully avoids 32-bit overflows throughout the system. ## Support 1. Slack: Join the conversation in the #selfie channel at [cksystemsteaching.slack.com](https://join.slack.com/t/cksystemsteaching/shared_invite/zt-cp3kb9uq-ACUnAuI8DBdmULQXIjW15A) 2. Slides: There are classroom [slides](http://selfie.cs.uni-salzburg.at/slides) that provide a comprehensive introduction to the design and implementation of selfie. 3. Autograder: There is an [autograder](https://github.com/cksystemsteaching/selfie/blob/main/grader/README.md) with compiler and operating systems assignments. 4. Paper: There is an [Onward! 2017 paper](https://dl.acm.org/doi/10.1145/3133850.3133857) featuring selfie. 5. Book: There is a free book in early draft form based on selfie called [Elementary Computer Science: From Bits and Bytes to the Big Picture](https://github.com/ckirsch/book) reaching out to everyone with an interest in learning about computer science. 6. Code: The selfie code is open source and available at [github.com/cksystemsteaching/selfie](https://github.com/cksystemsteaching/selfie) 7. Twitter: Follow us at [twitter.com/christophkirsch](https://twitter.com/christophkirsch) 8. Web: The selfie homepage is at [selfie.cs.uni-salzburg.at](http://selfie.cs.uni-salzburg.at) ## Extras 1. Garbage collection: In addition to the conservative but O(n^2) garbage collector in selfie, there is an implementation of an O(n) [Boehm](https://github.com/cksystemsteaching/selfie/blob/main/tools/boehm-gc.c) garbage collector for small memory blocks with fall-back to the garbage collector in selfie for large memory blocks. 2. Fuzzing: There is a simple but self-fuzzing fuzzer called [buzzr](https://github.com/cksystemsteaching/selfie/blob/main/tools/buzzr.c) based on selfie that fuzzes RISC-U code including all of selfie and itself. 3. Symbolic execution: There is a self-executing symbolic execution engine called [monster](https://github.com/cksystemsteaching/selfie/blob/main/tools/monster.c) based on selfie that translates RISC-U code including all of selfie and itself to SMT-LIB formulae that are satisfiable if and only if there is input to the code such that the code exits with non-zero exit codes or performs division by zero within a given number of machine instructions. 4. Bounded model checking: There is a self-translating modeling engine called [BEATOR](https://github.com/cksystemsteaching/selfie/blob/main/tools/beator.c) based on selfie that translates RISC-U code including all of selfie and itself to BTOR2 formulae that are satisfiable if and only if there is input to the code such that the code exits with non-zero exit codes, performs division by zero, or accesses memory outside of allocated memory blocks. 5. BTOR2 visualization: There is a visualization tool called [beatle](https://github.com/cksystemsgroup/beator-visualizer) that displays BTOR2 formulae generated from RISC-U binaries as directed acyclic graphs. 6. SAT solving: There is a bruteforce SAT solver called [babysat](https://github.com/cksystemsteaching/selfie/blob/main/tools/babysat.c) based on selfie that computes satisfiability of SAT formulae in DIMACS CNF. 7. Binary translation: There is a self-translating [binary translator](https://github.com/cksystemsteaching/selfie/blob/riscv-2-x86-unsupported/tools/riscv-2-x86.c) based on selfie that translates RISC-U code including all of selfie and itself to x86 binary code. ## Installing Selfie Selfie runs in the cloud and natively on Linux, macOS, and Windows machines and possibly other systems that have a terminal and a C compiler installed. However, even if there is no C compiler installed on your machine or you only have access to a web browser you can still run selfie. There are at least three ways to install and run selfie, from real simple to a bit more difficult: 1. In the cloud: if you only have access to a web browser, just click [here](https://replit.com/new/github/cksystemsteaching/selfie). Alternatively, create a [github](https://github.com) account, unless you already have one, and fork [selfie](https://github.com/cksystemsteaching/selfie) into your github account. Then, create a [cloud9](https://c9.io) student account, connect it to your github account, verify your email address and set a password (important!), and finally clone your fork of selfie into a new cloud9 workspace. 2. In docker on your machine: if you have access to a Linux, macOS, or Windows machine download and install [docker](https://docker.com). Then, open a terminal window and type `docker run -it cksystemsteaching/selfie`. Besides simplicity, the key advantage of using docker is that you can run selfie out of the box on your machine but also on QEMU as well as on spike. Both emulators and the SMT solver boolector are pre-installed in the [selfie docker image](https://hub.docker.com/r/cksystemsteaching/selfie). 3. Natively on your machine: instead of using docker, you may also just download and unzip [selfie](https://github.com/cksystemsteaching/selfie/archive/main.zip), and then open a terminal window to run selfie natively on your machine. However, for this to work you need to have a C compiler installed on your machine. We recommend using [clang](https://clang.llvm.org) or [gcc](https://gcc.gnu.org) (with [cygwin](https://www.cygwin.com) on Windows). At this point we assume that you have a system that supports running selfie. Below we use the `make` command assuming it is installed on your system which is usually the case. However, we also show the command invoked by `make` so that you can always invoke that command manually if your system does not have `make` installed. The next step is to produce a selfie binary. To do that `cd` to the selfie folder in your terminal and then type `make`. With docker, the system will respond `make: 'selfie' is up to date` since there is already a selfie binary pre-installed. Without docker, `make` will invoke the C compiler on your machine or in the cloud9 workspace: ```bash cc -Wall -Wextra -O3 -D'uint64_t=unsigned long' selfie.c -o selfie ``` and then compile `selfie.c` into an executable called `selfie` as directed by the `-o` option. The executable contains the C\* compiler, the mipster emulator, and the hypster hypervisor. The `-Wall` and `-Wextra` options enable all compiler warnings which is useful during further development of selfie. The `-O3` option instructs the compiler to generate optimized code. The `-D'uint64_t=unsigned long'` option is needed to bootstrap the code. It defines the data type `uint64_t` which would otherwise be undefined since C\* does not include the necessary definitions. If your system supports compiling and executing 32-bit binaries you may also try `make selfie-32` which will produce a 32-bit system that in turn generates and executes 32-bit binaries. ## Running Selfie Once you have successfully compiled `selfie.c` you may invoke `selfie` without any arguments as follows: ```bash $ ./selfie ./selfie { -c { source } | -o binary | [ -s | -S ] assembly | -l binary } [ ( -m | -d | -r | -y ) 0-4096 ... ] ``` In this case, `selfie` responds with its usage pattern. The order in which the options are provided matters for taking full advantage of self-referentiality. The `-c` option invokes the C\* compiler on the given list of `source` files compiling and linking them into RISC-U code that is stored internally. For example, `selfie` may be used to compile its own source code `selfie.c` as follows: ```bash $ ./selfie -c selfie.c ``` The `-o` option writes RISC-U code produced by the most recent compiler invocation to the given `binary` file. For example, `selfie` may be instructed to compile itself and then output the generated RISC-U code into a RISC-U binary file called `selfie.m`: ```bash $ ./selfie -c selfie.c -o selfie.m ``` The `-s` option writes RISC-U assembly of the RISC-U code produced by the most recent compiler invocation to the given `assembly` file while the `-S` option additionally includes approximate line numbers and the binary representation of the instructions. Similarly as before, `selfie` may be instructed to compile itself and then output the generated RISC-U code into a RISC-U assembly file called `selfie.s`: ```bash $ ./selfie -c selfie.c -s selfie.s ``` The `-l` option loads RISC-U code from the given `binary` file. The `-o` and `-s` options can also be used after the `-l` option. However, in this case the `-s` option does not generate approximate source line numbers. For example, the previously generated RISC-U binary file `selfie.m` may be loaded as follows: ```bash $ ./selfie -l selfie.m ``` The `-m` option invokes the mipster emulator to execute RISC-U code most recently loaded or produced by a compiler invocation. The emulator creates a machine instance with `0-4096` MB of memory. The `source` or `binary` name of the RISC-U code and any remaining `...` arguments are passed to the main function of the code. For example, the following invocation executes `selfie.m` using mipster: ```bash $ ./selfie -l selfie.m -m 1 ``` This is in fact semantically equivalent to executing `selfie` without any arguments: ```bash $ ./selfie ``` The `-d` option is similar to the `-m` option except that mipster outputs each executed instruction, its approximate source line number, if available, and the relevant machine state. Alternatively, the `-r` option limits the amount of output created with the `-d` option by having mipster merely replay code execution when runtime errors such as division by zero occur. In this case, mipster outputs only the instructions that were executed right before the error occurred. If you are using docker you can also execute `selfie.m` directly on spike and pk as follows: ```bash $ spike pk selfie.m ``` which is again semantically equivalent to executing `selfie` without any arguments. The `-y` option invokes the hypster hypervisor to execute RISC-U code similar to the mipster emulator. The difference to mipster is that hypster creates RISC-U virtual machines rather than a RISC-U emulator to execute the code. See below for an example. ### Self-compilation Here is an example of how to perform self-compilation of `selfie.c` and then check if the RISC-U code `selfie1.m` generated for `selfie.c` by executing the `./selfie` binary is equivalent to the code `selfie2.m` generated by executing the just generated `selfie1.m` binary: ```bash $ ./selfie -c selfie.c -o selfie1.m -m 2 -c selfie.c -o selfie2.m $ diff -s selfie1.m selfie2.m Files selfie1.m and selfie2.m are identical ``` Note that at least 2MB of memory is required for this to work. ### Self-execution The following example shows how to perform self-execution of the mipster emulator. In this case we invoke mipster to invoke itself to execute `selfie`: ```bash $ ./selfie -c selfie.c -o selfie.m -m 2 -l selfie.m -m 1 ``` which is again semantically equivalent to executing `selfie` without any arguments but this time with `selfie` printing its usage pattern much slower since there is a mipster running on top of another mipster. ### Self-hosting The previous example can also be done by running hypster on mipster. This is significantly faster and requires less memory since hypster does not create a second emulator instance on top of the first emulator instance. Instead, hypster creates a virtual machine to execute selfie that runs concurrently to hypster on the first emulator instance: ```bash $ ./selfie -c selfie.c -o selfie.m -m 1 -l selfie.m -y 1 ``` We may even run hypster on hypster on mipster which is still reasonably fast since there is still only one emulator instance involved and hypster itself does not add much overhead: ```bash $ ./selfie -c selfie.c -o selfie.m -m 2 -l selfie.m -y 1 -l selfie.m -y 1 ``` ### Workflow To compile any C\* source code and execute it right away in a single invocation of `selfie` without generating a RISC-U binary use: ```bash $ ./selfie -c any-cstar-file.c -m 1 "arguments for any-cstar-file.c" ``` Equivalently, you may also use a selfie-compiled version of `selfie` and have the mipster emulator execute selfie to compile any C\* source code and then execute it right away with hypster on the same emulator instance: ```bash $ ./selfie -c selfie.c -m 1 -c any-cstar-file.c -y 1 "arguments for any-cstar-file.c" ``` You may also generate RISC-U binaries both ways which will then be identical: ```bash $ ./selfie -c any-cstar-file.c -o any-cstar-file1.m $ ./selfie -c selfie.c -m 1 -c any-cstar-file.c -o any-cstar-file2.m $ diff -s any-cstar-file1.m any-cstar-file2.m Files any-cstar-file1.m and any-cstar-file2.m are identical ``` This can also be done in a single invocation of `selfie`: ```bash $ ./selfie -c any-cstar-file.c -o any-cstar-file1.m -c selfie.c -m 1 -c any-cstar-file.c -o any-cstar-file2.m $ diff -s any-cstar-file1.m any-cstar-file2.m Files any-cstar-file1.m and any-cstar-file2.m are identical ``` The generated RISC-U binaries can then be loaded and executed as follows: ```bash $ ./selfie -l any-cstar-file1.m -m 1 "arguments for any-cstar-file1.m" ``` #### Linking To compile and link any C\* source code from multiple source files use: ```bash $ ./selfie -c any-cstar-file1.c any-cstar-file2.c ... -m 1 ``` For example, to make the source code of `selfie.c` available as library code in any C\* source code use: ```bash $ ./selfie -c any-cstar-file.c selfie.c -m 1 ``` Note that multiple definitions of symbols are ignored by the compiler with a warning. #### Debugging Selfie's console messages always begin with the name of the source or binary file currently running. The mipster emulator also shows the amount of memory allocated for its machine instance and how execution terminated (exit code). As discussed before, RISC-U assembly for `selfie` and any other C\* file is generated as follows: ```bash $ ./selfie -c selfie.c -s selfie.s ``` If the assembly code is generated from a binary generated by the compiler (and not loaded from a file) approximate source line numbers are included in the assembly file. Verbose debugging information is printed with the `-d` option, for example: ```bash $ ./selfie -c selfie.c -d 1 ``` Similarly, if the executed binary is generated by the compiler (and not loaded from a file) approximate source line numbers are included in the debug information.
3,131
GIT utilities -- repo summary, repl, changelog population, author commit percentages and more
null
3,132
Get started using GitHub in less than an hour.
<!-- <<< Author notes: Header of the course >>> Include a 1280×640 image, course title in sentence case, and a concise description in emphasis. In your repository settings: enable template repository, add your 1280×640 social image, auto delete head branches. Add your open source license, GitHub uses Creative Commons Attribution 4.0 International. --> # Introduction to GitHub _Get started using GitHub in less than an hour._ <!-- <<< Author notes: Start of the course >>> Include start button, a note about Actions minutes, and tell the learner why they should take the course. Each step should be wrapped in <details>/<summary>, with an `id` set. The start <details> should have `open` as well. Do not use quotes on the <details> tag attributes. --> <!--step0--> People use GitHub to build some of the most advanced technologies in the world. Whether you’re visualizing data or building a new game, there’s a whole community and set of tools on GitHub that can help you do it even better. GitHub Skills’ “Introduction to GitHub” course guides you through everything you need to start contributing in less than an hour. - **Who is this for**: New developers, new GitHub users, and students. - **What you'll learn**: We'll introduce repositories, branches, commits, and pull requests. - **What you'll build**: We'll make a short Markdown file you can use as your [profile README](https://docs.github.com/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/managing-your-profile-readme). - **Prerequisites**: None. This course is a great introduction for your first day on GitHub. - **How long**: This course is four steps long and takes less than one hour to complete. ## How to start this course 1. Above these instructions, right-click **Use this template** and open the link in a new tab. ![Use this template](https://user-images.githubusercontent.com/1221423/169618716-fb17528d-f332-4fc5-a11a-eaa23562665e.png) 2. In the new tab, follow the prompts to create a new repository. - For owner, choose your personal account or an organization to host the repository. - We recommend creating a public repository—private repositories will [use Actions minutes](https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions). ![Create a new repository](https://user-images.githubusercontent.com/1221423/169618722-406dc508-add4-4074-83f0-c7a7ad87f6f3.png) 3. After your new repository is created, wait about 20 seconds, then refresh the page. Follow the step-by-step instructions in the new repository's README. <!--endstep0--> <!-- <<< Author notes: Step 1 >>> Choose 3-5 steps for your course. The first step is always the hardest, so pick something easy! Link to docs.github.com for further explanations. Encourage users to open new tabs for steps! --> <details id=1> <summary><h2>Step 1: Create a branch</h2></summary> _Welcome to "Introduction to GitHub"! :wave:_ **What is GitHub?**: GitHub is a collaboration platform that uses [Git](https://docs.github.com/get-started/quickstart/github-glossary#git) for versioning. GitHub is a popular place to share and contribute to [open-source](https://docs.github.com/get-started/quickstart/github-glossary#open-source) software. <br>:tv: [Video: What is GitHub?](https://www.youtube.com/watch?v=w3jLJU7DT5E) **What is a repository?**: A [repository](https://docs.github.com/get-started/quickstart/github-glossary#repository) is a project containing files and folders. A repository tracks versions of files and folders. <br>:tv: [Video: Exploring a repository](https://www.youtube.com/watch?v=R8OAwrcMlRw) **What is a branch?**: A [branch](https://docs.github.com/en/get-started/quickstart/github-glossary#branch) is a parallel version of your repository. By default, your repository has one branch named `main` and it is considered to be the definitive branch. You can create additional branches off of `main` in your repository. You can use branches to have different versions of a project at one time. On additional branches, you can make edits without impacting the `main` version. Branches allow you to separate your work from the `main` branch. In other words, everyone's work is safe while you contribute. <br>:tv: [Video: Branches](https://www.youtube.com/watch?v=xgQmu81G1yY) **What is a profile README?**: A [profile README](https://docs.github.com/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/managing-your-profile-readme) is essentially an "About me" section on your GitHub profile where you can share information about yourself with the community on GitHub.com. GitHub shows your profile README at the top of your profile page. ### :keyboard: Activity: Your first branch 1. Open a new browser tab, and navigate to this same repository. Then, work on the steps in your second tab while you read the instructions in this tab. 2. Navigate to the **Code** tab. 3. Click on the **main** branch drop-down.<br> <img alt="image showing my-first-branch entry" src="/images/my-first-branch.png"/> 4. In the field, enter a name for your branch: `my-first-branch`. 5. Click **Create branch: my-first-branch** to create your branch. 6. Move on to Step 2!<br> **Note**: If you made a public repository, and want to confirm you correctly set up your first branch, wait about 20 seconds then refresh this page (the one you're following instructions from). [GitHub Actions](https://docs.github.com/en/actions) will automatically close this step and open the next one. </details> <!-- <<< Author notes: Step 2 >>> Start this step by acknowledging the previous step. Define terms and link to docs.github.com. --> <details id=2> <summary><h2>Step 2: Commit a file</h2></summary> _You created a branch! :tada:_ Creating a branch allows you to edit your project without changing the `main` branch. Now that you have a branch, it’s time to create a file and make your first commit! **What is a commit?**: A [commit](https://docs.github.com/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/about-commits) is a set of changes to the files and folders in your project. A commit exists in a branch. ### :keyboard: Activity: Your first commit The following steps will guide you through the process of committing a change on GitHub. Committing a change requires first adding a new file to your new branch. 1. On the **Code** tab, make sure you're on your new branch `my-first-branch`. 2. Select the **Add file** drop-down and click **Create new file**.<br> ![create new file option](/images/create-new-file.png) 3. In the **Name your file...** field, enter `PROFILE.md`. 4. In the **Edit new file** area, copy the following content to your file: ``` Welcome to my GitHub profile! ``` <img alt="profile.md file screenshot" src="/images/my-profile-file.png"/> 5. For commits, you can enter a short commit message that describes what changes you made. This message helps others know what's included in your commit. GitHub offers a simple default message, but let's change it slightly for practice. First, enter `Add PROFILE.md` in the first text-entry field below **Commit new file**. Then, if you want to confirm what your screen should look like, expand the dropdown below. <details> <summary> Expand to see the screenshot.</summary> <img alt="screenshot of adding a new file with a commit message" src="/images/commit-full-screen.png" /> </details> 6. In this lesson, we'll ignore the other fields and click **Commit new file**. 7. Move on to Step 3! <br> **Note**: Like before, you can wait about 20 seconds, then refresh this page (the one you're following instructions from) and [GitHub Actions](https://docs.github.com/en/actions) will automatically close this step and open the next one. </details> <!-- <<< Author notes: Step 3 >>> Just a historic note: the previous version of this step forced the learner to write a pull request description, checked that `main` was the receiving branch, and that the file was named correctly. --> <details id=3> <summary><h2>Step 3: Open a pull request</h2></summary> _Nice work making that commit :sparkles:_ Now that you’ve created a commit, it’s time to share your proposed change through a pull request! **What is a pull request?**: Collaboration happens on a pull request. The pull request shows the changes in your branch to other people. This pull request is going to keep the changes you just made on your branch and propose applying them to the `main` branch. <br>:tv: [Video: Introduction to pull requests](https://youtu.be/kJr-PIfLDl4) ### :keyboard: Activity: Create a pull request You may have noticed after your commit that a message displayed indicating your recent push to your branch and providing a button that says **Compare & pull request**. ![screenshot of message and button](/images/compare-and-pull-request.png) If you want, feel free to click **Compare & pull request**, and then skip to step 6 below. If you don't click the button, the instructions below walk you through manually setting up the pull request. 1. Click on the **Pull requests** tab in your repository. 2. Click **New pull request**. 3. In the **base:** dropdown, make sure **main** is selected. 4. Select the **compare:** dropdown, and click `my-first-branch`. <br> <img alt="screenshot showing both branch selections" src="/images/pull-request-branches.png"/> 5. Click **Create pull request**. 6. Enter a title for your pull request: `Add my first file`. 7. The next field helps you provide a description of the changes you made. Feel free to add a description of what you’ve accomplished so far. As a reminder, you have: created a branch, created a file and made a commit! <br> <img alt="screenshot showing pull request" src="/images/Pull-request-description.png"/> 8. Click **Create pull request**. 9. Move on to Step 4! <br> **Note**: Like before, you can wait about 20 seconds, then refresh this page (the one you're following instructions from) and [GitHub Actions](https://docs.github.com/en/actions) will automatically close this step and open the next one. As a perk, you may see evidence of GitHub Actions running on the tab with the pull request opened! The image below shows a line you might see on your pull request after the Action finishes running.<br> <img alt="screenshot of an example of an actions line" src="/images/Actions-to-step-4.png"/> </details> <!-- <<< Author notes: Step 4 >>> Just a historic note: The previous version of this step required responding to a pull request review before merging. The previous version also handled if users accidentally closed without merging. --> <details id=4> <summary><h2>Step 4: Merge your pull request</h2></summary> _Nicely done friend! :sunglasses:_ You successfully created a pull request. You can now merge your pull request. **What is a _merge_**: A [merge](https://docs.github.com/en/get-started/quickstart/github-glossary#merge) adds the changes in your pull request and branch into the `main` branch. <br>:tv: [Video: Understanding the GitHub flow](https://www.youtube.com/watch?v=PBI2Rz-ZOxU) As noted in the previous step, you may have seen evidence of an action running which automatically progresses your instructions to the next step. You'll have to wait for it to finish before you can merge your pull request. It will be ready when the merge pull request button is green. ![screenshot of green merge pull request button](/images/Green-merge-pull-request.png) ### :keyboard: Activity: Merge the pull request 1. Click **Merge pull request**. 1. Click **Confirm merge**. 1. Once your branch has been merged, you don't need it anymore. To delete this branch, click **Delete branch**.<br> <img alt="screenshot showing delete branch button" src="/images/delete-branch.png"/> 2. Check out the **Finish** step to see what you can learn next!<br> **Note**: Like before, you can wait about 20 seconds, then refresh this page (the one you're following instructions from) and [GitHub Actions](https://docs.github.com/en/actions) will automatically close this step and open the next one. </details> <!-- <<< Author notes: Finish >>> Review what we learned, ask for feedback, provide next steps. --> <details id=X> <summary><h2>Finish</h2></summary> _Congratulations friend, you've completed this course and joined the world of developers!_ <img src=https://octodex.github.com/images/collabocats.jpg alt=celebrate width=300 align=right> Here's a recap of your accomplishments: - You learned about GitHub, repositories, branches, commits, and pull requests. - You created a branch, a commit, and a pull request. - You merged a pull request. - You made your first contribution! :tada: ### What's next? If you'd like to make a profile README, use the simplified instructions below or follow the instructions in the [Managing your profile README](https://docs.github.com/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/managing-your-profile-readme) article. 1. Make a new public repository with a name that matches your GitHub username. 2. Create a file named `README.md` in its root. The "root" means not inside any folder in your repository. 3. Edit the contents of the `README.md` file. 4. If you created a new branch for your file, open and merge a pull request on your branch. 5. We'd love to see your new profile! Share your profile on social media and tag us! 6. Lastly, we'd love to hear what you thought of this course [in our discussion board](https://github.com/skills/.github/discussions). Check out these resources to learn more or get involved: - Are you a student? Check out the [Student Developer Pack](https://education.github.com/pack). - [Take another GitHub Skills course](https://github.com/skills). - [Read the GitHub Getting Started docs](https://docs.github.com/en/get-started). - To find projects to contribute to, check out [GitHub Explore](https://github.com/explore). </details> <!-- <<< Author notes: Footer >>> Add a link to get support, GitHub status page, code of conduct, license link. --> --- Get help: [Post in our discussion board](https://github.com/skills/.github/discussions) &bull; [Review the GitHub status page](https://www.githubstatus.com/) &copy; 2022 GitHub &bull; [Code of Conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct/code_of_conduct.md) &bull; [CC-BY-4.0 License](https://creativecommons.org/licenses/by/4.0/legalcode)
3,133
📖 An opinionated intermediate/advanced Git book
# Git In Practice Git In Practice is an opinionated, intermediate/advanced-level Git book by [@MikeMcQuaid](https://github.com/MikeMcQuaid). ## Table of Contents 1. [Preface](00-Preface.adoc) 2. [Introduction to Git](01-01-IntroductionToGit.adoc) 1. [Local Git](01-LocalGit.adoc) 2. [Remote Git](02-RemoteGit.adoc) 3. [Git Essentials](03-02-GitEssentials.adoc) 1. [Filesystem Interactions](03-FilesystemInteractions.adoc) 2. [History Visualization](04-HistoryVisualization.adoc) 3. [Advanced Branching](05-AdvancedBranching.adoc) 4. [Rewriting History and Disaster Recovery](06-RewritingHistoryAndDisasterRecovery.adoc) 4. [Advanced Git](07-03-AdvancedGit.adoc) 1. [Personalizing Git](07-PersonalizingGit.adoc) 2. [Vendoring Dependencies as Submodules](08-VendoringDependenciesAsSubmodules.adoc) 3. [Working with Subversion](09-WorkingWithSubversion.adoc) 4. [GitHub Pull Requests](10-GitHubPullRequests.adoc) 5. [Hosting a Repository](11-HostingARepository.adoc) 5. [Git Best Practices](12-04-GitBestPractices.adoc) 1. [Creating a Clean History](12-CreatingACleanHistory.adoc) 2. [Merging vs. Rebasing](13-MergingVsRebasing.adoc) 3. [Recommended Team Workflows](14-RecommendedTeamWorkflows.adoc) 6. [Appendices](15-Appendices.adoc) 1. [Git Installation](15-Appendices.adoc#appendix-a-git-installation) 2. [Creating a GitHub Account and Repository](15-Appendices.adoc#appendix-b-creating-a-github-account-and-repository) 3. [Commented Git Configuration](15-Appendices.adoc#appendix-c-commented-git-configuration) 4. [Why Use Version Control?](15-Appendices.adoc#appendix-d-why-use-version-control) ## License You have the right to read this book through this open source repository, link others to it anywhere on the internet but not redistribute the contents of this repository outside of GitHub. ## Supporting It takes a lot of time from multiple people to write a published book. While the content is available to read freely from this repository, if this content is useful to you and you can afford it, please consider [buying a paper or ebook copy from Manning](http://www.manning.com/mcquaid/?a_aid=MikeMcQuaid&a_bid=5688bbf4). ## Status Published by Manning in 2014 and given a public GitHub repository in 2017. ## Contributing If you contribute changes to this repository you assign copyright to [@MikeMcQuaid](https://github.com/MikeMcQuaid) and Manning Publications. If a future edition is released we may thank you in the foreword but you won't be assigned partial copyright or receive any royalties. If you're OK with that then please feel free to create pull-requests. Thanks to [all the GitInPractice contributors](https://github.com/MikeMcQuaid/GitInPractice/graphs/contributors)! ## Contact [Mike McQuaid](mailto:[email protected])
3,134
AVH Edition of the git extensions to provide high-level repository operations for Vincent Driessen's branching model
# git-flow (AVH Edition) A collection of Git extensions to provide high-level repository operations for Vincent Driessen's [branching model](http://nvie.com/git-model "original blog post"). This fork adds functionality not added to the original branch. ## Getting started For the best introduction to get started with `git flow`, please read Jeff Kreeftmeijer's blog post: [http://jeffkreeftmeijer.com/2010/why-arent-you-using-git-flow/](http://jeffkreeftmeijer.com/2010/why-arent-you-using-git-flow/) Or have a look at one of these screen casts: * [How to use a scalable Git branching model called git-flow](http://buildamodule.com/video/change-management-and-version-control-deploying-releases-features-and-fixes-with-git-how-to-use-a-scalable-git-branching-model-called-gitflow) (by Build a Module) * [A short introduction to git-flow](http://vimeo.com/16018419) (by Mark Derricutt) * [On the path with git-flow](https://vimeo.com/codesherpas/on-the-path-gitflow) (by Dave Bock) A quick cheatsheet was made by Daniel Kummer: [http://danielkummer.github.io/git-flow-cheatsheet/](http://danielkummer.github.io/git-flow-cheatsheet/) ## Installing git-flow See the Wiki for up-to-date [Installation Instructions](https://github.com/petervanderdoes/gitflow-avh/wiki/Installation). ## Integration with your shell For those who use the [Bash](http://www.gnu.org/software/bash/) or [ZSH](http://www.zsh.org) shell, you can use my [fork of git-flow-completion](https://github.com/petervanderdoes/git-flow-completion) which includes several additions for git-flow (AVH Edition), or you can use the original [git-flow-completion](http://github.com/bobthecow/git-flow-completion) project by [bobthecow](http://github.com/bobthecow). Both offer tab-completion for git-flow subcommands and branch names with my fork including tab-completion for the commands not found in the original git-flow. ## FAQ * See the [FAQ](http://github.com/petervanderdoes/gitflow-avh/wiki/FAQ) section of the project Wiki. * Version Numbering Scheme. Starting with version 1.0, the project uses the following scheme: \<MAJOR\>.\<MINOR\>.\<REVISION\>\ * AVH is the acronym of "A VirtualHome" ## Please help out This project is under constant development. Feedback and suggestions are very welcome and I encourage you to use the [Issues list](http://github.com/petervanderdoes/gitflow-avh/issues) on Github to provide that feedback. Feel free to fork this repository and to commit your additions. For a list of all contributors, please see the [AUTHORS](AUTHORS) file. Any questions, tips, or general discussion can be posted to the Google group: [http://groups.google.com/group/gitflow-users](http://groups.google.com/group/gitflow-users) This is the original group set up to support the nvie branch, but I am monitoring the list as well for any questions related to my version. When you do post a question on the list please indicate which version you are, using the complete version number. ## Contributing Fork the repository. Then, run: ```shell git clone -b master [email protected]:<username>/gitflow-avh.git cd gitflow-avh ``` The `-b master` switch has to be added since the fork operation automatically clones the `develop` branch of the official gitflow repository and cloning it results in a local repository with just a `develop` branch. If you do not have gitflow installed yet install it by running `make && make install`. After that initialize the local gitflow repository with gitflow itself: ```shell git flow init -d git flow feature start <your feature> ``` Then, do work and commit your changes. ```shell git flow feature publish <your feature> ``` When done, open a pull request to your feature branch. ## License terms git-flow is published under the FreeBSD License, see the [LICENSE](LICENSE) file. Although the FreeBSD License does not require you to share any modifications you make to the source code, you are very much encouraged and invited to contribute back your modifications to the community, preferably in a Github fork, of course. ## git flow usage ### Initialization To initialize a new repo with the basic branch structure, use: git flow init [-d] This will then interactively prompt you with some questions on which branches you would like to use as development and production branches, and how you would like your prefixes be named. You may simply press Return on any of those questions to accept the (sane) default suggestions. The ``-d`` flag will accept all defaults. ![Screencast git flow init](http://i.imgur.com/lFQbY5V.gif) ### Creating feature/release/hotfix/support branches * To list/start/finish/delete feature branches, use: ```shell git flow feature git flow feature start <name> [<base>] git flow feature finish <name> git flow feature delete <name> ``` For feature branches, the `<base>` arg must be a branch, when omitted it defaults to the develop branch. * To push/pull a feature branch to the remote repository, use: ```shell git flow feature publish <name> git flow feature track <name> ``` * To list/start/finish/delete release branches, use: ```shell git flow release git flow release start <release> [<base>] git flow release finish <release> git flow release delete <release> ``` For release branches, the `<base>` arg must be a branch, when omitted it defaults to the develop branch. * To list/start/finish/delete hotfix branches, use: ```shell git flow hotfix git flow hotfix start <release> [<base>] git flow hotfix finish <release> git flow hotfix delete <release> ``` For hotfix branches, the `<base>` arg must be a branch, when omitted it defaults to the production branch. * To list/start support branches, use: ```shell git flow support git flow support start <release> <base> ``` For support branches, the `<base>` arg must be a branch, when omitted it defaults to the production branch. ### Share features with others You can easily publish a feature you are working on. The reason can be to allow other programmers to work on it or to access it from another machine. The publish/track feature of gitflow simplify the creation of a remote branch and its tracking. When you want to publish a feature just use: ```shell git flow feature publish <name> ``` or, if you already are into the `feature/<name>` branch, just issue: ```shell git flow feature publish ``` Now if you execute `git branch -avv` you will see that your branch `feature/<name>` tracks `[origin/feature/<name>]`. To track the same remote branch in another clone of the same repository use: ```shell git flow feature track <name> ``` This will create a local feature `feature/<name>` that tracks the same remote branch as the original one, that is `origin/feature/<name>`. When one developer (depending on your work flow) finishes working on the feature he or she can issue `git flow feature finish <name>` and this will automatically delete the remote branch. All other developers shall then run: ```shell git flow feature delete <name> ``` to get rid of the local feature that tracks a remote branch that no more exist. ### Share hotfixes with others You can publish an hotfix you are working on. The reason can be to allow other programmers to work on it or validate it or to access it from another machine. When you want to publish an hotfix just use (as you did for features): ```shell git flow hotfix publish <name> ``` or, if you already are into the `hotfix/<name>` branch, just issue: ```shell git flow hotfix publish ``` Other developers can now update their repositories and checkout the hotfix: ```shell git pull git checkout hotfix/<name> ``` and eventually finish it: ```shell git flow hotfix finish ``` ### Using Hooks and Filters For a wide variety of commands hooks or filters can be called before and after the command. The files should be placed in .git/hooks In the directory hooks you can find examples of all the hooks available. ## Showing your appreciation Of course, the best way to show your appreciation for the git-flow tool itself remains contributing to the community. If you'd like to show your appreciation in another way, however, consider donating through PayPal: [![PayPal][2]][1] [1]: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=S85FXJ9EBHAF2&lc=US&item_name=gitflow&item_number=gitflow&no_note=0&cn=Add%20special%20instructions%20to%20the%20seller&no_shipping=1&rm=1&return=https%3a%2f%2fgithub%2ecom%2fpetervanderdoes%2fgitflow&cancel_return=https%3a%2f%2fgithub%2ecom%2fpetervanderdoes%2fgitflow&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted [2]: https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif
3,135
Agola: CI/CD Redefined
# Agola [![Build Status](https://run.agola.io/api/v1alpha/badges/org%2Fagola%2Fagola?branch=master&)](https://run.agola.io/org/agola/projects/agola.proj) [![Discourse](https://img.shields.io/discourse/https/talk.agola.io/status.svg)](https://talk.agola.io) CI/CD redefined For an introduction to agola you can take a look at [this post](https://sorintoss.io/blog/agola-introduction/) <p float="left" align="center"> <img src="https://agola.io/screenshots/screenshot_run_tasksgraph_01.png" height="340" /> <img src="https://agola.io/screenshots/screenshot_run_01.png" height="340" /> </p> ## Try it See [the agolademo example](https://agola.io/tryit) ## Features * Easy to install and manage. * Scalable and High Available: go from a single instance (single process) deployment to a distributed deployment. * Deploy anywhere: Kubernetes, IaaS, bare metal and execute the "tasks" anywhere (currently containers executors like docker or orchestrators and Kubernetes, but easily extensible to future technologies or VMs instead of containers). * Support any language, deployment system etc... (just use the right image) * Integrate with multiple git providers at the same time: you could add repos from github, gitlab, gitea (and more to come) inside the same agola installation. * Use it to manage the full development lifecycle: from build to deploy. * Tasks Workflows (that we called **Runs**) with ability to achieve fan-in, fan-out, matrixes etc..., everything containerized to achieve maximum reproducibility. * Git based workflow: the run definition is committed inside the git repository (so everything is tracked and reproducible). A run execution is started by a git action (push, pull-request). * Design it with the ability to achieve at most once runs: during a deployment to production we don't want multiple concurrent execution of the deploy... * Restartable and reproducible Runs (restart a run from scratch or from failed tasks using the same source commit, variables etc...) * [User Direct Runs](https://agola.io/doc/concepts/user_direct_runs.html): give every user the power to test their software using the same run definition used when pushing to git/opening a pull request inside the Agola installation with just one command like if they were running tests locally (without requiring a super powerful workstation). * Testable "Runs" (what is a CI/CD environment if you cannot test your changes to the Runs definitions?): use the same run definition but use a powerful [secrets and variables system](https://agola.io/doc/concepts/secrets_variables.html) to access different resources (environments, docker registries etc...). * Don't try to extend YAML to be a templating language but use a real templating language (as of now [jsonnet](https://jsonnet.org/)) to easily generate the run configuration without side effects. * An advanced permissions system (work in progress). * Dependency Caching to speed up tasks ## Documentation https://agola.io/doc/ ## Local development See [how to develop agola](doc/devel.md) ## Contributing to Agola Agola is an open source project under the Apache 2.0 license, and contributions are gladly welcomed! To submit your changes please open a pull request. ## Contacts * For bugs and feature requests file an [issue](https://github.com/agola-io/agola/issues/new/choose) * For general discussion about using and developing Agola, join the [agola forum](https://talk.agola.io)
3,136
Picocli is a modern framework for building powerful, user-friendly, GraalVM-enabled command line apps with ease. It supports colors, autocompletion, subcommands, and more. In 1 source file so apps can include as source & avoid adding a dependency. Written in Java, usable from Groovy, Kotlin, Scala, etc.
<p align="center"><img src="docs/images/logo/horizontal-400x150.png" alt="picocli" height="150px"></p> [![GitHub Release](https://img.shields.io/github/release/remkop/picocli.svg)](https://github.com/remkop/picocli/releases) [![Maven Central](https://img.shields.io/maven-central/v/info.picocli/picocli.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22info.picocli%22%20AND%20a:%22picocli%22) [![GitHub Actions Build Status](https://github.com/remkop/picocli/actions/workflows/ci.yml/badge.svg)](https://github.com/remkop/picocli/actions/workflows/ci.yml) [![Tests](https://gist.githubusercontent.com/remkop/36bc8a3b4395f2fbdb9bc271e97ba2dd/raw/badge.svg)](https://github.com/remkop/picocli/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/remkop/picocli/branch/master/graph/badge.svg)](https://codecov.io/gh/remkop/picocli) [![Follow @remkopopma](https://img.shields.io/twitter/follow/remkopopma.svg?style=social)](https://twitter.com/intent/follow?screen_name=remkopopma) [![Follow @picocli](https://img.shields.io/twitter/follow/picocli.svg?style=social)](https://twitter.com/intent/follow?screen_name=picocli) [![Follow picocli on StackShare](https://img.shields.io/badge/Follow%20on-StackShare-blue.svg?logo=stackshare&style=flat)](https://stackshare.io/picocli) # picocli - a mighty tiny command line interface Picocli aims to be the easiest-to-use way to create rich command line applications that can run on and off the JVM. Considering picocli? Check [what happy users say](https://github.com/remkop/picocli/wiki/Feedback-from-Users) about picocli. Picocli is a modern library and framework, written in Java, that contains both an annotations API and a programmatic API. It features usage help with [ANSI colors and styles](https://picocli.info/#_ansi_colors_and_styles), [TAB autocompletion](https://picocli.info/autocomplete.html) and nested subcommands. In a single file, so you can include it _in source form_. This lets users run picocli-based applications without requiring picocli as an external dependency. Picocli-based applications can be ahead-of-time compiled to a <img src="https://www.graalvm.org/resources/img/logo-colored.svg" alt="GraalVM"> [native image](https://picocli.info/#_graalvm_native_image), with extremely fast startup time and lower memory requirements, which can be distributed as a single executable file. Picocli comes with an [annotation processor](https://picocli.info/#_annotation_processor) that automatically Graal-enables your jar during compilation. Picocli applications can be very compact with no boilerplate code: your command (or subcommand) can be executed with a [single line of code](#example "(example below)"). Simply implement `Runnable` or `Callable`, or put the business logic of your command in a `@Command`-annotated method. <a id="picocli_demo"></a> ![Picocli Demo help message with ANSI colors](docs/images/picocli.Demo.png?raw=true) Picocli makes it easy to follow [Command Line Interface Guidelines](https://clig.dev/#guidelines). How it works: annotate your class and picocli initializes it from the command line arguments, converting the input to strongly typed data. Supports git-like [subcommands](https://picocli.info/#_subcommands) (and nested [sub-subcommands](https://picocli.info/#_nested_sub_subcommands)), any option prefix style, POSIX-style [grouped short options](https://picocli.info/#_short_posix_options), custom [type converters](https://picocli.info/#_custom_type_converters), [password options](https://picocli.info/#_interactive_password_options) and more. Picocli distinguishes between [named options](https://picocli.info/#_options) and [positional parameters](https://picocli.info/#_positional_parameters) and allows _both_ to be [strongly typed](https://picocli.info/#_strongly_typed_everything). [Multi-valued fields](https://picocli.info/#_multiple_values) can specify an exact number of parameters or a [range](https://picocli.info/#_arity) (e.g., `0..*`, `1..2`). Supports [Map options](https://picocli.info/#_maps) like `-Dkey1=val1 -Dkey2=val2`, where both key and value can be strongly typed. Parser [tracing](https://picocli.info/#_tracing) facilitates troubleshooting. Command-line [argument files](https://picocli.info/#AtFiles) (@-files) allow applications to handle very long command lines. Generates polished and easily tailored [usage help](https://picocli.info/#_usage_help) and [version help](https://picocli.info/#_version_help), using [ANSI colors](https://picocli.info/#_ansi_colors_and_styles) where possible. Requires at minimum Java 5, but is designed to facilitate the use of Java 8 lambdas. Tested on all [Java versions between 5 and 18-ea](https://github.com/remkop/picocli/actions/workflows/ci.yml) (inclusive). Picocli-based command line applications can have [TAB autocompletion](https://picocli.info/autocomplete.html), interactively showing users what options and subcommands are available. When an option has [`completionCandidates`](https://picocli.info/#_completion_candidates_variable) or has an `enum` type, autocompletion can also suggest option values. Picocli can generate completion scripts for bash and zsh, and offers [`picocli-shell-jline2`](picocli-shell-jline2/README.md) and [`picocli-shell-jline3`](picocli-shell-jline3/README.md) modules with JLine `Completer` implementations for building interactive shell applications. Unique features in picocli include support for [negatable options](https://picocli.info/#_negatable_options), advanced [quoted values](https://picocli.info/#_quoted_values), and [argument groups](https://picocli.info/#_argument_groups). Argument groups can be used to create mutually [exclusive](https://picocli.info/#_mutually_exclusive_options) options, mutually [dependent](https://picocli.info/#_mutually_dependent_options) options, option [sections](https://picocli.info/#_option_sections_in_usage_help) in the usage help message and [repeating composite arguments](https://picocli.info/#_repeating_composite_argument_groups) like `([-a=<a> -b=<b> -c=<c>] (-x | -y | -z))...`. For advanced use cases, applications can access the picocli command object model with the [`@Spec` annotation](https://picocli.info/#spec-annotation), and implement [custom parameter processing](https://picocli.info/#_custom_parameter_processing) for option parameters if the built-in logic is insufficient. Picocli-based applications can easily [integrate](https://picocli.info/#_dependency_injection) with Dependency Injection containers. The [Micronaut](https://micronaut.io/) microservices framework has [built-in support](https://docs.micronaut.io/latest/guide/index.html#commandLineApps) for picocli. [Quarkus](https://quarkus.io/) has a [Command Mode with Picocli](https://quarkus.io/guides/picocli) extension for facilitating the creation of picocli-based CLI applications with Quarkus. Picocli ships with a [`picocli-spring-boot-starter` module](https://github.com/remkop/picocli/tree/main/picocli-spring-boot-starter) that includes a `PicocliSpringFactory` and Spring Boot auto-configuration to use Spring dependency injection in your picocli command line application. The user manual has examples of integrating with [Guice](https://picocli.info/#_guice_example), [Spring Boot](https://picocli.info/#_spring_boot_example), [Micronaut](https://picocli.info/#_micronaut_example), [Quarkus](https://picocli.info/#_quarkus_example) and with containers that comply to [CDI 2.0 specification](https://picocli.info/#_cdi_2_0_jsr_365) (JSR 365). ### Releases * [All Releases](https://github.com/remkop/picocli/releases) * Latest: 4.7.1 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.7.1) * Older: Picocli 4.0 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.0.0) * Older: Picocli 3.0 [Release Notes](https://github.com/remkop/picocli/releases/tag/v3.0.0) * Older: Picocli 2.0 [Release Notes](https://github.com/remkop/picocli/releases/tag/v2.0.0) ### Documentation * [4.x User manual: https://picocli.info](https://picocli.info) * [4.x Quick Guide](https://picocli.info/quick-guide.html) * [4.x API Javadoc](https://picocli.info/apidocs/) * [PREVIEW: Modular Javadoc for all artifacts (4.7.1-SNAPSHOT)](https://picocli.info/apidocs-all/) * [Command line autocompletion](https://picocli.info/autocomplete.html) * [Programmatic API](https://picocli.info/picocli-programmatic-api.html) * [FAQ](https://github.com/remkop/picocli/wiki/FAQ) * [GraalVM AOT Compilation to Native Image](https://picocli.info/picocli-on-graalvm.html) <img src="https://www.graalvm.org/resources/img/logo-colored.svg" > ### Older * ~~[3.x User manual](https://picocli.info/man/3.x)~~ * ~~[3.x Quick Guide](https://picocli.info/man/3.x/quick-guide.html)~~ * ~~[3.x API Javadoc](https://picocli.info/man/3.x/apidocs/)~~ * ~~[2.x User manual](https://picocli.info/man/2.x)~~ * ~~[2.x API Javadoc](https://picocli.info/man/2.x/apidocs/)~~ * ~~[1.x User manual](https://picocli.info/man/1.x)~~ ### Articles & Presentations #### English * [6 things you can do with JBang but you can’t with Shell](http://www.mastertheboss.com/java/jbang-vs-jshell/) (2022-02-28) by [F.Marchioni](http://www.mastertheboss.com/author/admin/). * [VIDEO][Kotlin, CLIs and StarWars! - An introduction to creating CLI applications with Kotlin using Picocli](https://fosdem.org/2022/schedule/event/kotlin_clis_and_starwars/?utm_medium=social&utm_source=twitter&utm_campaign=postfity&utm_content=postfity77511) (2022-02-05) by [Julien Lengrand-Lambert](https://fosdem.org/2022/schedule/speaker/julien_lengrand_lambert/). * [VIDEO][Autocomplete Java CLI using Picocli](https://www.youtube.com/watch?v=tCrQqgOYszQ) (2022-01-24) by [raksrahul](https://www.youtube.com/channel/UCpYkDrjOq3xtt0Uyg9tEqvw). * [Picocli – Easiness for CLI arguments in Java](https://blog.adamgamboa.dev/picocli-easiness-for-cli-arguments-in-java/) (2021-10-27) by [agamboa](https://blog.adamgamboa.dev/author/agamboa/). * [Building Command Line Interfaces with Kotlin using picoCLI](https://foojay.io/today/building-command-line-interfaces-with-kotlin-using-picocli/) (2021-09-23) by [Julien Lengrand-Lambert](https://foojay.io/today/author/jlengrand/). * [VIDEO][Create Java CLI applications with picocli](https://www.youtube.com/watch?v=PaxBXABJIzY) (2021-09-14) by [coder4life](https://www.youtube.com/channel/UCt9lHt5bMpafypEDwj6J2WQ). * [PICOCLI](https://www.linkedin.com/pulse/picocli-sybren-boland/) (2021-06-30) by [Sybren Boland](https://www.linkedin.com/in/sybrenboland/). * [Picocli | Create your first Kotlin /JVM CLI application with GraalVM](https://manserpatrice.medium.com/picocli-create-your-first-kotlin-jvm-cli-application-with-graalvm-a7fea4da7e2) (2021-02-13) by [manserpatrice](https://manserpatrice.medium.com/). * [VIDEO] [Building kubectl plugins with Quarkus, picocli, fabric8io and jbang](https://www.youtube.com/watch?v=ZL29qrpk_Kc) (2021-01-22) by [Sébastien Blanc](https://twitter.com/sebi2706). * [VIDEO] [J-Fall Virtual 2020: Julien Lengrand - An introduction to creating CLI applications using picoCLI](https://www.youtube.com/watch?v=Rc_D4OTKidU&list=PLpQuPreMkT6D36w9d13uGpIPi5nf9I_0c&index=13) (2020-12-07) by [Julien Lengrand-Lambert](https://twitter.com/jlengrand). This was the top rated talk for [@nljug](https://twitter.com/nljug) #jfall virtual 2020! Congrats, Julien! * [Paginate results in a command line application using picoCLI](https://lengrand.fr/paginate-results-in-a-jvm-cli-application-using-picocli/) (2020-11-17) by [Julien Lengrand-Lambert](https://twitter.com/jlengrand). * [CLI applications with GraalVM Native Image](https://medium.com/graalvm/cli-applications-with-graalvm-native-image-d629a40aa0be) (2020-11-13) by [Oleg Šelajev](https://twitter.com/shelajev). * [Picocli subcommands - One program, many purposes](https://aragost.com/blog/java/picocli-subcommands.html) (2020-09-22) by [Jonas Andersen](https://twitter.com/PrimusAlgo). * [Native CLI with Picocli and GraalVM](https://dev.to/jbebar/native-cli-with-picocli-and-graalvm-566m) (2020-08-20) by [jbebar](https://dev.to/jbebar). * [How to build a CLI app in Java using jbang and picocli](https://www.twilio.com/blog/cli-app-java-jbang-picocli) (2020-08-13) by [Matthew Gilliard](https://twitter.com/MaximumGilliard). * [Building a GitHub Dependents Scraper with Quarkus and Picocli](https://blog.marcnuri.com/github-dependents-scraper-quarkus-picocli/) (2020-07-31) by [Marc Nuri](https://twitter.com/MarcNuri). * [Building a decent Java CLI](https://atextor.de/2020/07/27/building-a-decent-java-cli.html) (2020-07-27) by [Andreas Textor](https://twitter.com/atextor). * [VIDEO] (Another very well-produced video by Szymon Stepniak) [Implementing OAuth 2.0 in a Java command-line app using Micronaut, Picocli, and GraalVM](https://www.youtube.com/watch?v=js5H9UbmmMY) (2020-07-23) by [Szymon Stepniak](https://e.printstacktrace.blog/) ([YouTube channel](https://www.youtube.com/channel/UCEf8e5YAYnowq-2deW4tpsw)). * [Micronaut, Picocli, and GraalVM](https://e.printstacktrace.blog/building-stackoverflow-cli-with-java-11-micronaut-picocli-and-graalvm/) (2020-07-08) by [Szymon Stepniak](https://e.printstacktrace.blog/). * [VIDEO] (Extremely well-produced and informative, recommended!) [Building command-line app with Java 11, Micronaut, Picocli, and GraalVM](https://www.youtube.com/watch?v=Xdcg4Drg1hc) (2020-07-01) by [Szymon Stepniak](https://e.printstacktrace.blog/) ([YouTube channel](https://www.youtube.com/channel/UCEf8e5YAYnowq-2deW4tpsw)). * [AUDIO] [Scala Valentines #2](https://scala.love/scala-valentines-2/) (2020-06-21) Podcast talks about picocli (from 18:11). * [How to create a command line tool using Java?](https://fullstackdeveloper.guru/2020/06/18/how-to-create-a-command-line-tool-using-java/) (2020-06-18) by [Vijay SRJ](https://twitter.com/FullStackDevel6). * [Command-line tools with Quarkus and Picocli](https://quarkify.net/command-line-tools-with-quarkus-and-picocli/) (2020-06-08) by [Dmytro Chaban](https://twitter.com/dmi3coder). * Quarkus guide for [Quarkus command mode with picocli](https://quarkus.io/guides/picocli), thanks to a picocli extension by [Michał Górniewski](https://github.com/mgorniew) included in [Quarkus 1.5](https://quarkus.io/blog/quarkus-1-5-final-released/) (2020-06-03). * [Native images with Micronaut and GraalVM](https://dev.to/stack-labs/native-images-with-micronaut-and-graalvm-4koe) (2020-06-01) by [Λ\: Olivier Revial](https://twitter.com/pommeDouze). * [CLI applications with Micronaut and Picocli](https://dev.to/stack-labs/cli-applications-with-micronaut-and-picocli-4mc8) (2020-06-01) by [Λ\: Olivier Revial](https://twitter.com/pommeDouze). * [Picocli introduction - Modern Java command-line parsing](https://aragost.com/blog/java/picocli-introduction.html) (2020-05-19) by [Jonas Andersen](https://twitter.com/PrimusAlgo). * [Building Native Covid19 Tracker CLI using Java, PicoCLI & GraalVM](https://aboullaite.me/java-covid19-cli-picocli-graalvm/) (2020-05-11) by [Mohammed Aboullaite](https://aboullaite.me/author/mohammed/). * [Quarkus Command mode with Picocli](https://quarkify.net/quarkus-command-mode-with-picocli/) (2020-04-27) by [Dmytro Chaban](https://twitter.com/dmi3coder). * [Creating CLI tools with Scala, Picocli and GraalVM](https://medium.com/@takezoe/creating-cli-tools-with-scala-picocli-and-graalvm-ffde05bbd01d) (2020-03-09) by [Naoki Takezoe](https://twitter.com/takezoen) * [Building native Java CLIs with GraalVM, Picocli, and Gradle](https://medium.com/@mitch.seymour/building-native-java-clis-with-graalvm-picocli-and-gradle-2e8a8388d70d) (2020-03-08) by [Mitch Seymour](https://medium.com/@mitch.seymour) * [Build Great Native CLI Apps in Java with Graalvm and Picocli](https://www.infoq.com/articles/java-native-cli-graalvm-picocli/) (2020-03-07) * [Picocli Structured Objects](https://gist.github.com/hanslovsky/8276da86c53bc6d95bf01447cd5cb2b7#file-00_picocli-structured-objects-md) (2019-09-10) by [Philipp Hanslovsky](https://gist.github.com/hanslovsky) explains how to use picocli's support for repeating argument groups to add or configure structured objects from the command line. * [Create a Java Command Line Program with Picocli|Baeldung](https://www.baeldung.com/java-picocli-create-command-line-program) (2019-05-07) by [François Dupire](https://www.baeldung.com/author/francois-dupire/). * A whirlwind tour of picocli [JAX Magazine "Putting the spotlight on Java tools"](https://jaxenter.com/jax-mag-java-tools-157592.html) (2019-04-08). * [An Introduction to PicoCLI](https://devops.datenkollektiv.de/an-introduction-to-picocli.html) (2019-02-10) by [devop](https://devops.datenkollektiv.de/author/devop.html). * [Corda CLI UX (User Experience) Guide](https://docs.corda.net/head/cli-ux-guidelines.html) (2018 by R3 Limited) gives useful advice. * [Develop a CLI tool using groovy scripts](https://medium.com/@chinthakadinadasa/develop-a-cli-tool-using-groovy-scripts-a7d545eecddd) (2018-10-26) by [Chinthaka Dinadasa](https://medium.com/@chinthakadinadasa). * [Migrating from Commons CLI to picocli](https://picocli.info/migrating-from-commons-cli.html). You won't regret it! :-) (also on: [DZone](https://dzone.com/articles/migrating-from-commons-cli-to-picocli) and [Java Code Geeks](https://www.javacodegeeks.com/2018/11/migrating-commons-cli-picocli.html)). * [Groovy 2.5 CliBuilder Renewal](https://picocli.info/groovy-2.5-clibuilder-renewal.html) (also on [blogs.apache.org](https://blogs.apache.org/logging/entry/groovy-2-5-clibuilder-renewal)). In two parts: [Part 1](https://picocli.info/groovy-2.5-clibuilder-renewal-part1.html) (also on: [DZone](https://dzone.com/articles/groovy-25-clibuilder-renewal), [Java Code Geeks](https://www.javacodegeeks.com/2018/06/groovy-clibuilder-renewal-part-1.html)), [Part 2](https://picocli.info/groovy-2.5-clibuilder-renewal-part2.html) (also on: [DZone](https://dzone.com/articles/groovy-25-clibuilder-renewal-part-2), [Java Code Geeks](https://www.javacodegeeks.com/2018/06/groovy-clibuilder-renewal-part-2.html)). * Micronaut user manual for running microservices [standalone with picocli](https://docs.micronaut.io/snapshot/guide/index.html#commandLineApps). * [Java Command-Line Interfaces (Part 30): Observations](https://marxsoftware.blogspot.jp/2017/11/java-cmd-line-observations.html) by Dustin Marx about picocli 2.0.1 (also on: [DZone](https://dzone.com/articles/java-command-line-interfaces-part-30-finale-observations), [Java Code Geeks](https://www.javacodegeeks.com/2017/11/java-command-line-interfaces-part-30-observations.html)) * [Java Command-Line Interfaces (Part 10): Picocli](https://marxsoftware.blogspot.jp/2017/08/picocli.html) by Dustin Marx about picocli 0.9.7 (also on: [DZone](https://dzone.com/articles/java-command-line-interfaces-part-10-picocli), [Java Code Geeks](https://www.javacodegeeks.com/2017/08/java-command-line-interfaces-part-10-picocli.html)) * [Picocli 2.0: Groovy Scripts on Steroids](https://picocli.info/picocli-2.0-groovy-scripts-on-steroids.html) (also on: [DZone](https://dzone.com/articles/picocli-v2-groovy-scripts-on-steroids), [Java Code Geeks](https://www.javacodegeeks.com/2018/01/picocli-2-0-groovy-scripts-steroids.html)) * [Picocli 2.0: Do More With Less](https://picocli.info/picocli-2.0-do-more-with-less.html) (also on: [DZone](https://dzone.com/articles/whats-new-in-picocli-20), [Java Code Geeks](https://www.javacodegeeks.com/2018/01/picocli-2-0-less.html)) * [Announcing picocli 1.0](https://picocli.info/announcing-picocli-1.0.html) (also on: [DZone](https://dzone.com/articles/announcing-picocli-10)) #### русский * [Выбор необходимых опций Picocli на основе основного варианта](https://coderoad.ru/61665865/%D0%92%D1%8B%D0%B1%D0%BE%D1%80-%D0%BD%D0%B5%D0%BE%D0%B1%D1%85%D0%BE%D0%B4%D0%B8%D0%BC%D1%8B%D1%85-%D0%BE%D0%BF%D1%86%D0%B8%D0%B9-Picocli-%D0%BD%D0%B0-%D0%BE%D1%81%D0%BD%D0%BE%D0%B2%D0%B5-%D0%BE%D1%81%D0%BD%D0%BE%D0%B2%D0%BD%D0%BE%D0%B3%D0%BE-%D0%B2%D0%B0%D1%80%D0%B8%D0%B0%D0%BD%D1%82%D0%B0) (2020-05-07) * [Интерфейсы командной строки Java: picocli](https://habr.com/ru/company/otus/blog/419401/) (2018-08-06): Russian translation by [MaxRokatansky](https://habr.com/ru/users/MaxRokatansky/) of Dustin Marx' blog post. #### Español * [Quarkus + Picocli: Web scaper para extraer proyectos dependientes en GitHub](https://blog.marcnuri.com/quarkus-picocli-web-scaper-dependientes-github/) (2020-08-15) by [Marc Nuri](https://twitter.com/MarcNuri). * [Quarkus - Introducción: picocli](https://gerardo.dev/aws-quarkus-picocli.html) (2020-06-15) by [Gerardo Arroyo](https://twitter.com/codewarrior506). * [VIDEO] [Picocli - Spring Boot example](https://youtu.be/y9ayfjfrTF4) (2020-05-24) 7-minute quick introduction by Gonzalo H. Mendoza. #### Français * [Application mobile: Créez de superbes applications CLI natives en Java avec Graalvm et Picocli](https://seodigitalmarketing.net/application-mobile-creez-de-superbes-applications-cli-natives-en-java-avec-graalvm-et-picocli/) (2020-05-07) Translation of [Build Great Native CLI Apps in Java with Graalvm and Picocli](https://www.infoq.com/articles/java-native-cli-graalvm-picocli/) by [bouf1450](https://seodigitalmarketing.net/author/bouf1450/). * [VIDEO] [Des applications en ligne de commande avec Picocli et GraalVM (N. Peters)](https://www.youtube.com/watch?v=8ENbMwkaFyk) (2019-05-07): 15-minute presentation by Nicolas Peters during Devoxx FR. Presentation slides are [available on GitHub](https://t.co/tXhtpTpAff?amp=1). #### Português * [Desenvolva aplicações CLI nativas em Java com Graalvm e Picocli](https://www.infoq.com/br/articles/java-native-cli-graalvm-picocli/) (2020-08-28): Portuguese translation of [Build Great Native CLI Apps in Java with Graalvm and Picocli](https://www.infoq.com/articles/java-native-cli-graalvm-picocli/), thanks to [Rodrigo Ap G Batista](https://www.infoq.com/br/profile/Rodrigo-Ap-G-Batista/). * [VIDEO] [Quarkus #40: Command Mode com Picocli](https://www.youtube.com/watch?v=LweGDh-Jxlc) (2020-06-23): 13-minute presentation by [Vinícius Ferraz](https://www.youtube.com/channel/UCJNOHl-pTTTj4S9yq60Ps9A) (@viniciusfcf). #### 日本語 * [CLI applications with GraalVM Native Image](https://logico-jp.io/2020/11/21/cli-applications-with-graalvm-native-image/) (2020-11-21) translation by [Logico_jp](https://logico-jp.io/who-is-logico/) of Oleg Šelajev's [post](https://medium.com/graalvm/cli-applications-with-graalvm-native-image-d629a40aa0be). * [Picocli + Kotlin + graalvm-native-image plugin でネイティブツールを作る](https://mike-neck.hatenadiary.com/entry/2020/04/24/090000) (2020-04-24) blog post by [mike-neck](https://mike-neck.hatenadiary.com/about) ([引きこもり持田](https://twitter.com/mike_neck) on Twitter). * [pythonのArgumentParserような使い心地!picocliのご紹介](https://lab.astamuse.co.jp/entry/2020/04/15/115000) (2020-04-15) by [@astamuseLab](https://lab.astamuse.co.jp/) * [Javaのコマンドラインアプリケーション向けのフレームワーク、picocliで遊ぶ](https://kazuhira-r.hatenablog.com/entry/2020/03/07/013626) (2020-03-07) blog post by [かずひら](https://twitter.com/kazuhira_r). * [KuromojiのCLIコマンドとpicocliとGraalVM](https://blog.johtani.info/blog/2020/02/28/kuromoji-cli/) (2020-02-28) blog post by [@johtani](https://twitter.com/johtani). * [GraalVM, PicocliとJavaでときめくネイティブコマンドラインアプリを作ろう](https://remkop.github.io/presentations/20191123/) (2019-11-23) Slides for my presentation at Japan Java User Group's [JJUG CCC 2019 Fall](https://ccc2019fall.java-users.jp/) conference. * [Picocliを使用してJavaコマンドラインプログラムを作成する - 開発者ドキュメント](https://ja.getdocs.org/java-picocli-create-command-line-program/) (2019-10-18) * [GraalVM と Picocliで Javaのネイティブコマンドラインアプリを作ろう](https://remkop.github.io/presentations/20190906/) (2019-09-06) Slides for my lightning talk presentation at [【東京】JJUG ナイトセミナー: ビール片手にLT大会 9/6(金)](https://jjug.doorkeeper.jp/events/95987) * [Picocli+Spring Boot でコマンドラインアプリケーションを作成してみる](https://ksby.hatenablog.com/entry/2019/07/20/092721) (2019-07-20) by [かんがるーさんの日記](https://ksby.hatenablog.com/). * [GraalVM の native image を使って Java で爆速 Lambda の夢を見る](https://qiita.com/kencharos/items/69e43965515f368bc4a3) (2019-05-02) by [@kencharos](https://qiita.com/kencharos) #### 中文 * [Java命令行界面(第10部分):picocli](https://blog.csdn.net/dnc8371/article/details/106702365) (2020-06-07) translation by [dnc8371](https://blog.csdn.net/dnc8371). * [如何借助 Graalvm 和 Picocli 构建 Java 编写的原生 CLI 应用](https://www.infoq.cn/article/4RRJuxPRE80h7YsHZJtX) (2020-03-26): Chinese translation of [Build Great Native CLI Apps in Java with Graalvm and Picocli](https://www.infoq.com/articles/java-native-cli-graalvm-picocli/), thanks to [张卫滨](https://www.infoq.cn/profile/1067660). * [从Commons CLI迁移到Picocli](https://blog.csdn.net/genghaihua/article/details/88529409) (2019-03-13): Chinese translation of Migrating from Commons CLI to picocli, thanks to [genghaihua](https://me.csdn.net/genghaihua). * [Picocli 2.0: Steroids上的Groovy脚本](https://picocli.info/zh/picocli-2.0-groovy-scripts-on-steroids.html) * [Picocli 2.0: 以少求多](https://picocli.info/zh/picocli-2.0-do-more-with-less.html) ### Mailing List Join the [picocli Google group](https://groups.google.com/d/forum/picocli) if you are interested in discussing anything picocli-related and receiving announcements on new releases. ### Credit <img src="https://picocli.info/images/logo/horizontal-400x150.png" height="100"> [Reallinfo](https://github.com/reallinfo) designed the picocli logo! Many thanks! ### Commitments | This project follows [semantic versioning](https://semver.org/) and adheres to the **[Zero Bugs Commitment](https://github.com/classgraph/classgraph/blob/f24fb4e8f2e4f3221065d755be6e65d59939c5d0/Zero-Bugs-Commitment.md)**. | |------------------------| ## Adoption <div> <img src="https://picocli.info/images/groovy-logo.png" height="50"> <img src="https://picocli.info/images/1x1.png" width="10"> <img src="https://objectcomputing.com/files/3416/2275/4315/micronaut_horizontal_black.svg" height="50"><img src="https://picocli.info/images/1x1.png" width="10"><img src="https://quarkus.io/assets/images/quarkus_logo_horizontal_rgb_reverse.svg" style="background-color:#33475b" height="50"><img src="https://picocli.info/images/1x1.png" width="10"><img src="https://picocli.info/images/junit5logo-172x50.png" height="50"> <img src="https://picocli.info/images/1x1.png" width="10"> <img src="https://picocli.info/images/debian-logo-192x50.png" height="50"> <img src="https://picocli.info/images/1x1.png" width="10"> <img src="https://spring.io/images/spring-logo.svg" height="50"> <img src="https://avatars0.githubusercontent.com/u/3299148?s=200&v=4" height="50"> <img src="https://avatars3.githubusercontent.com/u/39734771?s=200&v=4" height="50"> <img src="https://avatars3.githubusercontent.com/u/1453152?s=200&v=4" height="50"> <img src="https://avatars1.githubusercontent.com/u/201120?s=200&v=4" height="50"> <img src="https://avatars0.githubusercontent.com/u/6154722?s=200&v=4" height="50"> <img src="https://avatars3.githubusercontent.com/u/453694?s=200&v=4" height="50"> <img src="https://avatars0.githubusercontent.com/u/82592?s=200&v=4" height="50"> <img src="https://avatars0.githubusercontent.com/u/9312489?s=200&v=4" height="50"> <img src="https://avatars0.githubusercontent.com/u/59439283?s=200&v=4" height="50"> <img src="https://avatars1.githubusercontent.com/u/4186383?s=200&v=4" height="50"> <img src="https://redis.com/wp-content/uploads/2021/08/redis-logo.png" height="50"> <img src="https://picocli.info/images/karate-logo.png" height="50" width="50"/> <img src="https://picocli.info/images/checkstyle-logo-260x50.png" height="50"><img src="https://picocli.info/images/1x1.png" width="10"> <img src="https://picocli.info/images/ballerina-logo.png" height="40"><img src="https://picocli.info/images/1x1.png" width="10"> <img src="https://picocli.info/images/apache-hive-logo.png" height="50"><img src="https://picocli.info/images/1x1.png" width="10"> <img src="https://hadoop.apache.org/hadoop-logo.jpg" height="50"><img src="https://picocli.info/images/1x1.png" width="10"> <img src="https://picocli.info/images/apache-ozone-logo.png" height="50"> <img src="https://picocli.info/images/1x1.png" width="10"> <img src="https://picocli.info/images/stackshare-logo.png" height="50"> <img src="https://ignite.apache.org/images/Ignite_tm_Logo_blk_RGB.svg" height="50"> <img src="https://camo.githubusercontent.com/501aae78d282faf7a904bbb92f46eb8d19445ad5/687474703a2f2f736c696e672e6170616368652e6f72672f7265732f6c6f676f732f736c696e672e706e67" height="50"> <img src="https://avatars1.githubusercontent.com/u/541152?s=200&v=4" height="50"> <img src="https://camo.qiitausercontent.com/ec81e80366e061c8488b25c013003267b7a578d4/68747470733a2f2f71696974612d696d6167652d73746f72652e73332e616d617a6f6e6177732e636f6d2f302f3939352f33323331306534352d303537332d383534322d373035652d6530313138643434323632302e706e67" height="50"> <img src="https://mk0upserved13l70iwek.kinstacdn.com/media/Upserve_LS_Lockup_000000_RGB_Vertical.svg" height="50"> <img src="https://www.kloudtek.com/logo-dark.png" height="50"> <img src="https://www.schemacrawler.com/images/schemacrawler_logo.svg" height="50"> <img src="https://avatars1.githubusercontent.com/u/22600631?s=200&v=4" height="50"> <img src="https://fisco-bcos-documentation.readthedocs.io/en/latest/_static/images/FISCO_BCOS_Logo.svg" height="50"> <img src="https://avatars0.githubusercontent.com/u/35625214?s=200&v=4" height="50"> <img src="https://avatars1.githubusercontent.com/u/2386734?s=200&v=4" height="50"> <img src="https://www.e-contract.be/images/logo.svg" height="50"> <img src="https://present.co/images/[email protected]" height="50"> <img src="https://avatars2.githubusercontent.com/u/13641167?s=200&v=4" height="50"> <img src="https://files.pvs-studio.com/static/images/logo.svg" height="50"> <img src="https://concord.walmartlabs.com/assets/img/logo.png" height="50"> <img src="https://res-3.cloudinary.com/crunchbase-production/image/upload/c_lpad,h_120,w_120,f_auto,b_white,q_auto:eco/etxip1k2sx4sphvwgkdu" height="50"> <img src="https://www.minecraftforge.net/forum/uploads/set_resources_2/4eeef9d314eb4c008c0f37dacad2cdd5_logo.svg" height="50"> </div> * Picocli is now part of Groovy. From Groovy 2.5, all Groovy command line tools are picocli-based, and picocli is the underlying parser for Groovy's [CliBuilder DSL](https://groovy-lang.org/dsls.html#_clibuilder). * Picocli is now part of Micronaut. The Micronaut CLI has been rewritten with picocli, and Micronaut has dedicated support for running microservices [standalone with picocli](https://docs.micronaut.io/snapshot/guide/index.html#commandLineApps). See also [Micronaut Picocli Guide](https://micronaut-projects.github.io/micronaut-picocli/latest/guide/). * Quarkus now offers [Command mode with picocli](https://quarkus.io/guides/picocli). * Picocli is now part of JUnit 5. JUnit 5.3 migrated its `ConsoleLauncher` from jopt-simple to picocli to support @-files (argument files); this helps users who need to specify many tests on the command line and run into system limitations. * Debian now offers a [libpicocli-java package](https://tracker.debian.org/pkg/picocli). Thanks to [Miroslav Kravec](https://udd.debian.org/dmd/?kravec.miroslav%40gmail.com). * Picocli is used in the Intuit [Karate](https://github.com/intuit/karate) standalone JAR / executable. * Picocli is part of [Ballerina](https://ballerina.io/). Ballerina uses picocli for all its command line utilities. * Picocli is used in the [CheckStyle](https://checkstyle.org/cmdline.html) standalone JAR / executable from Checkstyle 8.15. * Picocli is included in the [OpenJDK Quality Outreach](https://wiki.openjdk.java.net/display/quality/Quality+Outreach) list of Free Open Source Software (FOSS) projects that actively test against OpenJDK builds. * Picocli is used in the Apache Hadoop Ozone/HDDS command line tools, the Apache Hive benchmark CLI, Apache [Ignite TensorFlow](https://github.com/apache/ignite), and Apache Sling [Feature Model Converter](https://github.com/apache/sling-org-apache-sling-feature-modelconverter). * Picocli is listed on [StackShare](https://stackshare.io/picocli). Please add it to your stack and add/upvote reasons why you like picocli! * Picocli is used in Pinterest [ktlint](https://ktlint.github.io/). * Picocli is used in Spring IO [nohttp-cli](https://github.com/spring-io/nohttp/tree/main/nohttp-cli). * The [MinecraftPicocli](https://github.com/Rubydesic/MinecraftPicocli) library facilitates the use of picocli in [Minecraft Forge](https://files.minecraftforge.net/). * [Simple Java Mail](https://www.simplejavamail.org/) now offers a picocli-based [CLI](https://www.simplejavamail.org/cli.html#navigation). * [jbang](https://github.com/maxandersen/jbang) not only uses picocli internally, but also has a CLI template to generate an initial script: use `jbang --init=cli helloworld.java` to generate a sample picocli-enabled jbang script. See [asciinema](https://asciinema.org/a/AVwA19yijKRNKEO0bJENN2ME3?autoplay=true&speed=2). * Picocli is the main library used in the CookieTemple [cli-java template](https://cookietemple.readthedocs.io/en/latest/available_templates/available_templates.html#cli-java) for building GraalVM native CLI executables in Java. See [this preview](https://user-images.githubusercontent.com/21954664/86740903-474a3000-c037-11ea-9ae3-1a8f7bf1743f.gif). * Picocli is [mentioned](https://clig.dev/#the-basics) in [Command Line Interface Guidelines](https://clig.dev/). <img src="https://picocli.info/images/downloads-202011.png"> Glad to see more people are using picocli. We must be doing something right. :-) ### Contribute by helping to promote picocli If you like picocli, help others discover picocli: #### Easy and impactful :sweat_smile: * Give picocli a star on GitHub! * Upvote my [StackOverflow answer](https://stackoverflow.com/a/43780433/1446916) to "How do I parse command line arguments in Java?" * Upvote my [Quora answer](https://www.quora.com/What-is-the-best-way-to-parse-command-line-arguments-with-Java/answer/Remko-Popma) to "What is the best way to parse command-line arguments with Java?" #### Spread the joy! :tada: * Tweet about picocli! What do you like about it? How has it helped you? How is it different from the alternatives? * Mention that your project uses picocli in the documentation of your project. * Show that your GitHub project uses picocli, with this badge in your README.md: [![picocli](https://img.shields.io/badge/picocli-4.7.1-green.svg)](https://github.com/remkop/picocli) ``` [![picocli](https://img.shields.io/badge/picocli-4.7.1-green.svg)](https://github.com/remkop/picocli) ``` #### Preach it! :muscle: * Perhaps the most impactful way to show people how picocli can make their life easier is to write a blog post or article, or even do a video! ## Example Annotate fields with the command line parameter names and description. Optionally implement `Runnable` or `Callable` to delegate error handling and requests for usage help or version help to picocli. For example: ```java import picocli.CommandLine; import picocli.CommandLine.Option; import picocli.CommandLine.Parameters; import java.io.File; @Command(name = "example", mixinStandardHelpOptions = true, version = "Picocli example 4.0") public class Example implements Runnable { @Option(names = { "-v", "--verbose" }, description = "Verbose mode. Helpful for troubleshooting. Multiple -v options increase the verbosity.") private boolean[] verbose = new boolean[0]; @Parameters(arity = "1..*", paramLabel = "FILE", description = "File(s) to process.") private File[] inputFiles; public void run() { if (verbose.length > 0) { System.out.println(inputFiles.length + " files to process..."); } if (verbose.length > 1) { for (File f : inputFiles) { System.out.println(f.getAbsolutePath()); } } } public static void main(String[] args) { // By implementing Runnable or Callable, parsing, error handling and handling user // requests for usage help or version help can be done with one line of code. int exitCode = new CommandLine(new Example()).execute(args); System.exit(exitCode); } } ``` Implement `Runnable` or `Callable`, and your command can be [executed](https://picocli.info/#execute) in one line of code. The example above uses the `CommandLine.execute` method to parse the command line, handle errors, handle requests for usage and version help, and invoke the business logic. Applications can call `System.exit` with the returned exit code to signal success or failure to their caller. ```bash $ java Example -v inputFile1 inputFile2 2 files to process... ``` The `CommandLine.execute` method automatically prints the usage help message if the user requested help or when the input was invalid. ![Usage help message with ANSI colors](docs/images/ExampleUsageANSI.png?raw=true) This can be customized in many ways. See the user manual [section on Executing Commands](https://picocli.info/#execute) for details. ## Usage Help with ANSI Colors and Styles Colors, styles, headers, footers and section headings are easily [customized with annotations](https://picocli.info/#_ansi_colors_and_styles). For example: ![Longer help message with ANSI colors](docs/images/UsageHelpWithStyle.png?raw=true) See the [source code](https://github.com/remkop/picocli/blob/v0.9.4/src/test/java/picocli/Demo.java#L337). ## Usage Help API Picocli annotations offer many ways to customize the usage help message. If annotations are not sufficient, you can use picocli's [Help API](https://picocli.info/#_usage_help_api) to customize even further. For example, your application can generate help like this with a custom layout: ![Usage help message with two options per row](docs/images/UsageHelpWithCustomLayout.png?raw=true) See the [source code](https://github.com/remkop/picocli/blob/main/src/test/java/picocli/CustomLayoutDemo.java#L61). ## Download You can add picocli as an external dependency to your project, or you can include it as source. See the [source code](https://github.com/remkop/picocli/blob/main/src/main/java/picocli/CommandLine.java). Copy and paste it into a file called `CommandLine.java`, add it to your project, and enjoy! ### Gradle ``` implementation 'info.picocli:picocli:4.7.1' ``` ### Maven ``` <dependency> <groupId>info.picocli</groupId> <artifactId>picocli</artifactId> <version>4.7.1</version> </dependency> ``` ### Scala SBT ``` libraryDependencies += "info.picocli" % "picocli" % "4.7.1" ``` ### Ivy ``` <dependency org="info.picocli" name="picocli" rev="4.7.1" /> ``` ### Grape ```groovy @Grapes( @Grab(group='info.picocli', module='picocli', version='4.7.1') ) ``` ### Leiningen ``` [info.picocli/picocli "4.7.1"] ``` ### Buildr ``` 'info.picocli:picocli:jar:4.7.1' ``` ### JBang ``` //DEPS info.picocli:picocli:4.7.1 ```
3,137
A Git-compatible DVCS that is both simple and powerful
# Jujutsu VCS ![](https://img.shields.io/github/license/martinvonz/jj) ![](https://img.shields.io/github/v/release/martinvonz/jj) ![](https://img.shields.io/github/release-date/martinvonz/jj) ![](https://img.shields.io/crates/v/jujutsu) <br/> ![](https://github.com/martinvonz/jj/workflows/build/badge.svg) ![](https://img.shields.io/codefactor/grade/github/martinvonz/jj/main) ![](https://img.shields.io/librariesio/github/martinvonz/jj) - [Disclaimer](#disclaimer) - [Introduction](#introduction) - [Status](#status) - [Installation](#installation) - [Command-line completion](#command-line-completion) - [Getting started](#getting-started) - [Related work](#related-work) ## Disclaimer This is not a Google product. It is an experimental version-control system (VCS). It was written by me, Martin von Zweigbergk ([email protected]). It is my personal hobby project and my 20% project at Google. It does not indicate any commitment or direction from Google. However, my presentation from Git Merge 2022 does include some information about Google's plans. See the [slides](https://docs.google.com/presentation/d/1F8j9_UOOSGUN9MvHxPZX_L4bQ9NMcYOp1isn17kTC_M/view) or the [recording](https://www.youtube.com/watch?v=bx_LGilOuE4). ## Introduction Jujutsu is a [Git-compatible](docs/git-compatibility.md) [DVCS](https://en.wikipedia.org/wiki/Distributed_version_control). It combines features from Git (data model, [speed](https://github.com/martinvonz/jj/discussions/49)), Mercurial (anonymous branching, simple CLI [free from "the index"](docs/git-comparison.md#the-index), [revsets](docs/revsets.md), powerful history-rewriting), and Pijul/Darcs ([first-class conflicts](docs/conflicts.md)), with features not found in most of them ([working-copy-as-a-commit](docs/working-copy.md), [undo functionality](docs/operation-log.md), automatic rebase, [safe replication via `rsync`, Dropbox, or distributed file system](docs/technical/concurrency.md)). The command-line tool is called `jj` for now because it's easy to type and easy to replace (rare in English). The project is called "Jujutsu" because it matches "jj". If you have any questions, please join us on Discord [![Discord](https://img.shields.io/discord/968932220549103686.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/dkmfj3aGQN). ## Features ### Compatible with Git Jujutsu has two backends. One of them is a Git backend (the other is a native one [^native-backend]). This lets you use Jujutsu as an alternative interface to Git. The commits you create will look like regular Git commits. You can always switch back to Git. The Git support uses the [libgit2](https://libgit2.org/) C library. [^native-backend]: At this time, there's practically no reason to use the native backend (the only minor reason might be [#27](https://github.com/martinvonz/jj/issues/27)). The backend exists mainly to make sure that it's possible to eventually add functionality that cannot easily be added to the Git backend. <img src="demos/git_compat.png" /> ### The working copy is automatically committed Most Jujutsu commands automatically commit the working copy. This leads to a simpler and more powerful interface, since all commands work the same way on the working copy or any other commit. It also means that you can always check out a different commit without first explicitly committing the working copy changes (you can even check out a different commit while resolving merge conflicts). <img src="demos/working_copy.png" /> ### Operations update the repo first, then possibly the working copy The working copy is only updated at the end of an operation, after all other changes have already been recorded. This means that you can run any command (such as `jj rebase`) even if the working copy is dirty. ### Entire repo is under version control All operations you perform in the repo are recorded, along with a snapshot of the repo state after the operation. This means that you can easily revert to an earlier repo state, or to simply undo a particular operation (which does not necessarily have to be the most recent operation). <img src="demos/operation_log.png" /> ### Conflicts can be recorded in commits If an operation results in conflicts, information about those conflicts will be recorded in the commit(s). The operation will succeed. You can then resolve the conflicts later. One consequence of this design is that there's no need to continue interrupted operations. Instead, you get a single workflow for resolving conflicts, regardless of which command caused them. This design also lets Jujutsu rebase merge commits correctly (unlike both Git and Mercurial). Basic conflict resolution: <img src="demos/resolve_conflicts.png" /> Juggling conflicts: <img src="demos/juggle_conflicts.png" /> ### Automatic rebase Whenever you modify a commit, any descendants of the old commit will be rebased onto the new commit. Thanks to the conflict design described above, that can be done even if there are conflicts. Branches pointing to rebased commits will be updated. So will the working copy if it points to a rebased commit. ### Comprehensive support for rewriting history Besides the usual rebase command, there's `jj describe` for editing the description (commit message) of an arbitrary commit. There's also `jj diffedit`, which lets you edit the changes in a commit without checking it out. To split a commit into two, use `jj split`. You can even move part of the changes in a commit to any other commit using `jj move`. ## Status The tool is quite feature-complete, but some important features like (the equivalent of) `git blame` are not yet supported. There are also several performance bugs. It's also likely that workflows and setups different from what the core developers use are not well supported. I (Martin von Zweigbergk) have almost exclusively used `jj` to develop the project itself since early January 2021. I haven't had to re-clone from source (I don't think I've even had to restore from backup). There *will* be changes to workflows and backward-incompatible changes to the on-disk formats before version 1.0.0. Even the binary's name may change (i.e. away from `jj`). For any format changes, we'll try to implement transparent upgrades (as we've done with recent changes), or provide upgrade commands or scripts if requested. ## Installation See below for how to build from source. There are also [pre-built binaries](https://github.com/martinvonz/jj/releases) for Windows, Mac, or Linux (musl). If you're installing from source, you need to use Rust version 1.61 or higher, or you will get a cryptic message like this: ``` error: failed to select a version for the requirement `libgit2-sys = "=0.14.0"`` candidate versions found which didn't match: 0.13.2+1.4.2, 0.13.1+1.4.2, 0.13.0+1.4.1, ... ``` ### Linux On most distributions, you'll need to build from source using `cargo` directly. #### Build using `cargo` First make sure that you have the `libssl-dev`, `openssl`, and `pkg-config` packages installed by running something like this: ```shell script sudo apt-get install libssl-dev openssl pkg-config ``` Now run: ```shell script cargo install --git https://github.com/martinvonz/jj.git --locked --bin jj jujutsu ``` #### Nix OS If you're on Nix OS you can use the flake for this repository. For example, if you want to run `jj` loaded from the flake, use: ```shell script nix run 'github:martinvonz/jj' ``` You can also add this flake url to your system input flakes. Or you can install the flake to your user profile: ```shell script nix profile install 'github:martinvonz/jj' ``` #### Homebrew If you use linuxbrew, you can run: ```shell script brew install jj ``` ### Mac #### Homebrew If you use Homebrew, you can run: ```shell script brew install jj ``` #### MacPorts You can also install `jj` via [MacPorts](https://www.macports.org) (as the `jujutsu` port): ```shell script sudo port install jujutsu ``` ([port page](https://ports.macports.org/port/jujutsu/)) #### From Source You may need to run some or all of these: ```shell script xcode-select --install brew install openssl brew install pkg-config export PKG_CONFIG_PATH="$(brew --prefix)/opt/openssl@3/lib/pkgconfig" ``` Now run: ```shell script cargo install --git https://github.com/martinvonz/jj.git --locked --bin jj jujutsu ``` ### Windows Run: ```shell script cargo install --git https://github.com/martinvonz/jj.git --locked --bin jj jujutsu --features vendored-openssl ``` ## Initial configuration You may want to configure your name and email so commits are made in your name. Create a file at `~/.jjconfig.toml` and make it look something like this: ```shell script $ cat ~/.jjconfig.toml [user] name = "Martin von Zweigbergk" email = "[email protected]" ``` ## Command-line completion To set up command-line completion, source the output of `jj debug completion --bash/--zsh/--fish`. Exactly how to source it depends on your shell. ### Bash ```shell script source <(jj debug completion) # --bash is the default ``` ### Zsh ```shell script autoload -U compinit compinit source <(jj debug completion --zsh | sed '$d') # remove the last line compdef _jj jj ``` ### Fish ```shell script jj debug completion --fish | source ``` ### Xonsh ```shell script source-bash $(jj debug completion) ``` ## Getting started The best way to get started is probably to go through [the tutorial](docs/tutorial.md). Also see the [Git comparison](docs/git-comparison.md), which includes a table of `jj` vs. `git` commands. ## Related work There are several tools trying to solve similar problems as Jujutsu. See [related work](docs/related-work.md) for details.
3,138
Fast and powerful Git hooks manager for any type of projects.
![Build Status](https://github.com/evilmartians/lefthook/actions/workflows/test.yml/badge.svg?branch=master) # Lefthook > The fastest polyglot Git hooks manager out there <img align="right" width="147" height="100" title="Lefthook logo" src="./logo_sign.svg"> Fast and powerful Git hooks manager for Node.js, Ruby or any other type of projects. * **Fast.** It is written in Go. Can run commands in parallel. * **Powerful.** It allows to control execution and files you pass to your commands. * **Simple.** It is single dependency-free binary which can work in any environment. 📖 [Read the introduction post](https://evilmartians.com/chronicles/lefthook-knock-your-teams-code-back-into-shape?utm_source=lefthook) <a href="https://evilmartians.com/?utm_source=lefthook"> <img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg" alt="Sponsored by Evil Martians" width="236" height="54"></a> ## Install With **Go** (>= 1.19): ```bash go install github.com/evilmartians/lefthook@latest ``` With **NPM**: ```bash npm install lefthook --save-dev ``` With **Ruby**: ```bash gem install lefthook ``` **[Installation guide](./docs/install.md)** with more different installation instructions. ## Usage Lefthook is easy to use. Once you configure and setup you can forget that it even exists and rely on the magic underneath. See: - [**Usage**](./docs/usage.md) of **lefthook** CLI utility. - [**Configuration**](./docs/configuration.md) details for `lefthook.yml` - [**Wiki**](https://github.com/evilmartians/lefthook/wiki) for other information. - [**Discussions**](https://github.com/evilmartians/lefthook/discussions) if you want to ask a question, suggest a feature, or report a bug. *** ## Why Lefthook * ### **Parallel execution** Gives you more speed. [Example](./docs/configuration.md#parallel) ```yml pre-push: parallel: true ``` * ### **Flexible list of files** If you want your own list. [Custom](./docs/configuration.md#files) and [prebuilt](./docs/configuration.md#run) examples. ```yml pre-commit: commands: frontend-linter: run: yarn eslint {staged_files} backend-linter: run: bundle exec rubocop --force-exclusion {all_files} frontend-style: files: git diff --name-only HEAD @{push} run: yarn stylelint {files} ``` * ### **Glob and regexp filters** If you want to filter list of files. You could find more glob pattern examples [here](https://github.com/gobwas/glob#example). ```yml pre-commit: commands: backend-linter: glob: "*.rb" # glob filter exclude: "application.rb|routes.rb" # regexp filter run: bundle exec rubocop --force-exclusion {all_files} ``` * ### **Execute in sub-directory** If you want to execute the commands in a relative path ```yml pre-commit: commands: backend-linter: root: "api/" # Careful to have only trailing slash glob: "*.rb" # glob filter run: bundle exec rubocop {all_files} ``` * ### **Run scripts** If oneline commands are not enough, you can execute files. [Example](./docs/configuration.md#script). ```yml commit-msg: scripts: "template_checker": runner: bash ``` * ### **Tags** If you want to control a group of commands. [Example](./docs/configuration.md#tags). ```yml pre-push: commands: packages-audit: tags: frontend security run: yarn audit gems-audit: tags: backend security run: bundle audit ``` * ### **Support Docker** If you are in the Docker environment. [Example](./docs/configuration.md#cmd-template). ```yml pre-commit: scripts: "good_job.js": runner: docker run -it --rm <container_id_or_name> {cmd} ``` * ### **Local config** If you a frontend/backend developer and want to skip unnecessary commands or override something into Docker. [Description](./docs/usage.md#local-config). ```yml # lefthook-local.yml pre-push: exclude_tags: - frontend commands: packages-audit: skip: true ``` * ### **Direct control** If you want to run hooks group directly. ```bash $ lefthook run pre-commit ``` * ### **Your own tasks** If you want to run specific group of commands directly. ```yml fixer: commands: ruby-fixer: run: bundle exec rubocop --force-exclusion --safe-auto-correct {staged_files} js-fixer: run: yarn eslint --fix {staged_files} ``` ```bash $ lefthook run fixer ``` * ### **Optional output** If you [don't want to see](./docs/configuration.md#skip_output) supporting information: ```yml skip_output: - meta #(version and which hook running) - success #(output from runners with exit code 0) ``` --- ## Table of contents: ### Guides * [Install with Node.js](./docs/install.md#node) * [Install with Ruby](./docs/install.md#ruby) * [Install with Homebrew](./docs/install.md#homebrew) * [Install for Debian-based Linux](./docs/install.md#deb) * [Install for RPM-based Linux](./docs/install.md#rpm) * [Install for Arch Linux](./docs/install.md#arch) * [Usage](./docs/usage.md) * [Configuration](./docs/configuration.md) * [Troubleshooting](https://github.com/evilmartians/lefthook/wiki/Troubleshooting) ### Migrate from * [Husky](https://github.com/evilmartians/lefthook/wiki/Migration-from-husky) * [Husky and lint-staged](https://github.com/evilmartians/lefthook/wiki/Migration-from-husky-with-lint-staged) * [Overcommit](https://github.com/evilmartians/lefthook/wiki/Migration-from-overcommit) ### Examples * [Simple script](https://github.com/evilmartians/lefthook/tree/master/examples/with_scripts) * [Full features](https://github.com/evilmartians/lefthook/tree/master/examples/complete) ### Benchmarks * [vs Overcommit](https://github.com/evilmartians/lefthook/wiki/Benchmark-lefthook-vs-overcommit) * [vs pre-commit](https://github.com/evilmartians/lefthook/wiki/Benchmark-lefthook-vs-pre-commit) ### Comparison list * [vs Overcommit, Husky, pre-commit](https://github.com/evilmartians/lefthook/wiki/Comparison-with-other-solutions) ### Articles * [Lefthook: Knock your team’s code back into shape](https://evilmartians.com/chronicles/lefthook-knock-your-teams-code-back-into-shape?utm_source=lefthook) * [Lefthook + Crystalball](https://evilmartians.com/chronicles/lefthook-crystalball-and-git-magic?utm_source=lefthook) * [Keeping OSS documentation in check with docsify, Lefthook, and friends](https://evilmartians.com/chronicles/keeping-oss-documentation-in-check-with-docsify-lefthook-and-friends?utm_source=lefthook) * [Automatically linting docker containers](https://dev.to/nitzano/linting-docker-containers-2lo6?utm_source=lefthook) * [Smooth PostgreSQL upgrades in DockerDev environments with Lefthook](https://dev.to/palkan_tula/smooth-postgresql-upgrades-in-dockerdev-environments-with-lefthook-203k?utm_source=lefthook) * [Lefthook for React/React Native apps](https://blog.logrocket.com/deep-dive-into-lefthook-react-native?utm_source=lefthook)
3,139
OSINT Swiss Army Knife
# gOSINT [![Build Status](https://travis-ci.org/Nhoya/gOSINT.svg?branch=master)](https://travis-ci.org/Nhoya/gOSINT) [![Build status](https://ci.appveyor.com/api/projects/status/9qn2y2f8t5up8ww2?svg=true)](https://ci.appveyor.com/project/Nhoya/gosint) [![GitHub stars](https://img.shields.io/github/stars/Nhoya/gOSINT.svg)](https://github.com/Nhoya/gOSINT/stargazers) [![GitHub forks](https://img.shields.io/github/forks/Nhoya/gOSINT.svg)](https://github.com/Nhoya/gOSINT/network) [![Twitter](https://img.shields.io/twitter/url/https/github.com/Nhoya/gOSINT.svg?style=social&style=plastic)](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2FNhoya%2FgOSINT) [![Go Report Card](https://goreportcard.com/badge/github.com/Nhoya/gOSINT)](https://goreportcard.com/report/github.com/Nhoya/gOSINT) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/76673062a30e48bd99d499d32c0c6af0)](https://www.codacy.com/app/Nhoya/gOSINT?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Nhoya/gOSINT&amp;utm_campaign=Badge_Grade) OSINT framework in Go Take a look at the [develop branch](https://github.com/Nhoya/gOSINT/tree/develop) for more updates. ## Introduction gOSINT is a multiplatform OSINT Swiss army knife in Golang. If you want, feel free to contribute and/or leave a feedback! ## Like my project? Please consider donation :) [![Paypal Badge](https://img.shields.io/badge/Donate-PayPal-yellow.svg)](https://www.paypal.me/Nhoya) [![BTC Badge](https://img.shields.io/badge/Donate-BTC-yellow.svg)](https://pastebin.com/raw/nyDDPwaM) [![Monero Badge](https://img.shields.io/badge/Donate-XMR-yellow.svg)](https://pastebin.com/raw/dNUFqwuC) [![Ethereum Badge](https://img.shields.io/badge/Donate-Ethereum-yellow.svg)](https://pastebin.com/raw/S6XMmSiv) ## What gOSINT can do - [x] Find mails from git repository - [x] Find Dumps for mail address - [x] Search for mail address linked to domain/mail address in PGP keyring - [x] Search for mail address in source code - [x] Retrieve Telegram Public Groups History - [x] Retrieve info about hosts via shodan scan ## Building on Linux You can use the building script, just clone the directory and execute it ``` git clone https://github.com/Nhoya/gOSINT ./build.sh ``` The package will be installed in `/usr/local/bin` You can then call `gOSINT` from command line `$ gOSINT --help` ## Manual Building on Linux #### Dependecies Before building `gOSINT` manually you need to solve the dependencies: ``` go get "github.com/deckarep/golang-set" go get "github.com/nhoya/goPwned" go get "github.com/jessevdk/go-flags" go get "gopkg.in/src-d/go-git.v4" go get "github.com/jaytaylor/html2text" go get "gopkg.in/ns3777k/go-shodan.v2/shodan" ``` `git clone https://github.com/Nhoya/gOSINT && cd gOSINT && go build` ## Binaries for Windows Check the AppVeyor Build page for builds ## Modules Currently `gOSINT` has different modules: - [x] git support for mail retriving (using github API, bitbucket API or RAW clone and search) - [x] Search for mails in PGP Server - [x] [https://haveibeenpwned.com/](http://haveibeenpwned.com/) search for mail in databreach - [x] Retrieve Telegram Public Group Messages - [x] Search for mail address in source - [x] [https://shodan.io](https://shodan.io) search - [ ] Social Media search - [ ] Search Engine search ## Usage ``` Usage: gOSINT [OPTIONS] Application Options: -m, --module=[pgp|pwnd|git|plainSearch|telegram|shodan] Specify module -v, --version Print version --url= Specify target URL --gitAPI=[github|bitbucket] Specify git website API to use (for git module,optional) -c, --clone Enable clone function for plainSearch module (need to specify repo URL) --mail= Specify mail target (for pgp and pwnd module) --grace= Specify telegram messages grace period (default: 15) -g, --tgroup= Specify Telegram group/channel name -s, --tgstart= Specify first message to scrape -e, --tgend= Specify last message to scrape --dumpfile Create and resume messages from dumpfile --ask-confirmation Ask confirmation before adding mail to set (for plainSearch module) -p, --path= Specify target path (for plainSearch module) -t, --target= Specify shodan target host --newscan Ask shodan for a new scan (-1 Scan credit) --honeypot Check Honeypot probability -f, --full Make deep search using linked modules Help Options: -h, --help Show this help message ``` ## Configuration file The configuration file is in `$HOME/.config/gOSINT.conf` If some API Keys are missing insert it there ## PGP module Demo [![asciicast](https://asciinema.org/a/21PCpbgFqyHiTbPINexHKEywj.png)](https://asciinema.org/a/21PCpbgFqyHiTbPINexHKEywj) ## Pwnd module Demo [![asciicast](https://asciinema.org/a/x9Ap0IRcNNcLfriVujkNUhFSF.png)](https://asciinema.org/a/x9Ap0IRcNNcLfriVujkNUhFSF) ## Telegram Crawler Demo [![asciicast](https://asciinema.org/a/nbRO9FNpjiYXAKeI87xn29j9z.png)](https://asciinema.org/a/nbRO9FNpjiYXAKeI87xn29j9z) ## Shodan module Demo [![asciicast](https://asciinema.org/a/9lfzAZ65n9MJCkrUrxoHZQYwP.png)](https://asciinema.org/a/9lfzAZ65n9MJCkrUrxoHZQYwP) ## Examples Currently `gOSINT` supports the following actions: `gOSINT -m git --url=[RepoURL] --gitAPI [github|bitbucket] (optional)` retrieve mail from git commits `gOSINT -m git --url [RepoURL] --gitAPI [github|bitbucket] (optional) -f` pass the result to pgp search and pwnd module `gOSINT -m pwnd --mail [targetMail]` search for breaches where targetMail is preset `gOSINT -m pgp --mail [targetMail]` search for others mail in PGP Server `gOSINT -m pgp --mail [targetMail] -f` pass the result to haveibeenpwn module `gOSINT -m sourceSerch --path [targetDirectory]` search for mails in source code (recursively) `gOSINT -m sourceSearh --path [targetDirectory] --ask-confirmation` ask confirmation before adding mail to search results `gOSINT -m sourceSearch --path [targetDirectory] -f` pass the result to pgp search and haveibeenpwnd modules `gOSINT -m sourceSearch --clone --url [targetRepository]` clone and search mail in repository source `gOSINT -m sourceSearch --clone --url [targetRepository] -f` pass the resoult to pgp search and haveibeenpwnd modules `gOSINT -m sourceSearch --clone --url [targetRepository] --ask-confirmation` ask confirmation before adding mail to search results `gOSINT -m telegram --tgroup | -g [PublicGroupName]` retrieve message history for telegram public group `gOSINT -m telegram --tgroup | -g [PublicGroupName] --dumpfile` the output will be stored in a file, if the file is already populated it will resume from the last ID `gOSINT -m telegram --tgroup | -g [PublicGroupName] --dumpfile -s [masageID] -e [messageID]` Set start and end messages for scraping `gOSINT -m shodan -t [HOST IP]` Get Shodan services report for Host `gOSINT -m shodan -t [HOST IP] --honeypot` Start Shodan service report for host and honeypot probability `gOSINT -m shodan -t [HOST IP] --newscan` Send request for new shodan scan (1 scan credit will be removed)
3,140
:trollface:Git的奇技淫巧
# Git 的奇技淫巧:see_no_evil: > Git 常用命令集合,Fork 自 [tips](https://github.com/git-tips/tips) 项目 Git 是一个分布式版本管理工具,版本管理工具就是大家在写东西的时候都用过 **回撤**这个功能,但是回撤只能回撤几步,假如想要找回我三天之前的修改,光用回撤是找不回来的。而**版本管理工具能记录每次的修改**,只要提交到版本仓库,就可以找到之前任何时刻的状态(文本状态)。 下面的内容就是列举了常用的 Git 命令和一些小技巧,可以通过页面内查找的方式 `Ctrl/Command+f` 进行快速查找。 ## 开卷必读 *如果之前未使用过 Git,可以学习 [Git 小白教程](https://rogerdudler.github.io/git-guide/index.zh.html)入门* 1. **一定要先测试命令的效果后**,再用于工作环境中,以防造成不能弥补的后果!**到时候别拿着砍刀来找我** 2. 所有的命令都在 `git version 2.7.4 (Apple Git-66)` 下测试通过 3. 统一概念: - 工作区:改动(增删文件和内容) - 暂存区:输入命令:`git add 改动的文件名`,此次改动就放到了 ‘暂存区’ - 本地仓库(简称:本地):输入命令:`git commit 此次修改的描述`,此次改动就放到了本地仓库,每个 commit,我叫它为一个版本。 - 远程仓库(简称:远程):输入命令:`git push 远程仓库`,此次改动就放到了远程仓库(GitHub 等) - commit-id:输出命令:`git log`,最上面那行 `commit xxxxxx`,后面的字符串就是 commit-id 4. 如果喜欢这个项目,欢迎 Star、提交 Pr、[反馈问题](https://github.com/521xueweihan/git-tips/issues)😊 ## 目录 * [脑图](#脑图) * [展示帮助信息](#展示帮助信息) * [回到远程仓库的状态](#回到远程仓库的状态) * [重设第一个commit](#重设第一个-commit) * [查看冲突文件列表](#查看冲突文件列表) * [展示工作区和暂存区的不同](#展示工作区和暂存区的不同) * [展示暂存区和最近版本的不同](#展示暂存区和最近版本的不同) * [展示暂存区、工作区和最近版本的不同](#展示暂存区工作区和最近版本的不同) * [快速切换到上一个分支](#快速切换到上一个分支) * [删除已经合并到 master 的分支](#删除已经合并到-master-的分支) * [展示本地分支关联远程仓库的情况](#展示本地分支关联远程仓库的情况) * [关联远程分支](#关联远程分支) * [列出所有远程分支](#列出所有远程分支) * [列出本地和远程分支](#列出本地和远程分支) * [查看远程分支和本地分支的对应关系](#查看远程分支和本地分支的对应关系) * [远程删除了分支本地也想删除](#远程删除了分支本地也想删除) * [创建并切换到本地分支](#创建并切换到本地分支) * [从远程分支中创建并切换到本地分支](#从远程分支中创建并切换到本地分支) * [删除本地分支](#删除本地分支) * [删除远程分支](#删除远程分支) * [重命名本地分支](#重命名本地分支) * [查看标签](#查看标签) * [查看标签详细信息](#查看标签详细信息) * [本地创建标签](#本地创建标签) * [推送标签到远程仓库](#推送标签到远程仓库) * [删除本地标签](#删除本地标签) * [删除远程标签](#删除远程标签) * [切回到某个标签](#切回到某个标签) * [放弃工作区的修改](#放弃工作区的修改) * [恢复删除的文件](#恢复删除的文件) * [以新增一个 commit 的方式还原某一个 commit 的修改](#以新增一个-commit-的方式还原某一个-commit-的修改) * [回到某个 commit 的状态,并删除后面的 commit](#回到某个-commit-的状态并删除后面的-commit) * [修改上一个 commit 的描述](#修改上一个-commit-的描述) * [查看 commit 历史](#查看-commit-历史) * [显示本地更新过 HEAD 的 git 命令记录](#显示本地更新过-head-的-git-命令记录) * [修改作者名](#修改作者名) * [修改远程仓库的 url](#修改远程仓库的-url) * [增加远程仓库](#增加远程仓库) * [列出所有远程仓库](#列出所有远程仓库) * [查看两个星期内的改动](#查看两个星期内的改动) * [把 A 分支的某一个 commit,放到 B 分支上](#把-A-分支的某一个-commit放到-B-分支上) * [给 git 命令起别名](#给-git-命令起别名) * [存储当前的修改,但不用提交 commit](#存储当前的修改但不用提交-commit) * [保存当前状态,包括 untracked 的文件](#保存当前状态包括-untracked-的文件) * [展示所有 stashes](#展示所有-stashes) * [回到某个 stash 的状态](#回到某个-stash-的状态) * [回到最后一个 stash 的状态,并删除这个 stash](#回到最后一个-stash-的状态并删除这个-stash) * [删除所有的 stash](#删除所有的-stash) * [从 stash 中拿出某个文件的修改](#从-stash-中拿出某个文件的修改) * [展示所有 tracked 的文件](#展示所有-tracked-的文件) * [展示所有 untracked 的文件](#展示所有-untracked-的文件) * [展示所有忽略的文件](#展示所有忽略的文件) * [强制删除 untracked 的文件](#强制删除-untracked-的文件) * [强制删除 untracked 的目录](#强制删除-untracked-的目录) * [展示简化的 commit 历史](#展示简化的-commit-历史) * [查看某段代码是谁写的](#查看某段代码是谁写的) * [把某一个分支导出成一个文件](#把某一个分支导出成一个文件) * [从包中导入分支](#从包中导入分支) * [执行 rebase 之前自动 stash](#执行-rebase-之前自动-stash) * [从远程仓库根据 ID,拉下某一状态,到本地分支](#从远程仓库根据-ID-拉下某一状态-到本地分支) * [详细展示一行中的修改](#详细展示一行中的修改) * [清除 `.gitignore` 文件中记录的文件](#清除-gitignore-文件中记录的文件) * [展示所有 alias 和 configs](#展示所有-alias-和-configs) * [展示忽略的文件](#展示忽略的文件) * [commit 历史中显示 Branch1 有的,但是 Branch2 没有 commit](#commit-历史中显示-Branch1-有的但是-Branch2-没有-commit) * [在 commit log 中显示 GPG 签名](#在-commit-log-中显示-GPG-签名) * [删除全局设置](#删除全局设置) * [新建并切换到新分支上,同时这个分支没有任何 commit](#新建并切换到新分支上同时这个分支没有任何-commit) * [展示任意分支某一文件的内容](#展示任意分支某一文件的内容) * [clone 下来指定的单一分支](#clone-下来指定的单一分支) * [clone 最新一次提交](#clone-最新一次提交) * [忽略某个文件的改动](#忽略某个文件的改动) * [忽略文件的权限变化](#忽略文件的权限变化) * [以最后提交的顺序列出所有 Git 分支](#以最后提交的顺序列出所有-Git-分支) * [在 commit log 中查找相关内容](#在-commit-log-中查找相关内容) * [把暂存区的指定 file 放到工作区中](#把暂存区的指定-file-放到工作区中) * [强制推送](#强制推送) * [git 配置 http 和 socks 代理](#git-配置-http-和-socks-代理) * [git 配置 ssh 代理](#git-配置-ssh-代理) * [优雅的Commit信息](#优雅的Commit信息) * [commit工具](#commit工具) * [声明](#声明) ## 展示帮助信息 ```sh git help -g ``` The command output as below: ``` The common Git guides are: attributes Defining attributes per path cli Git command-line interface and conventions core-tutorial A Git core tutorial for developers cvs-migration Git for CVS users diffcore Tweaking diff output everyday A useful minimum set of commands for Everyday Git glossary A Git Glossary hooks Hooks used by Git ignore Specifies intentionally untracked files to ignore modules Defining submodule properties namespaces Git namespaces repository-layout Git Repository Layout revisions Specifying revisions and ranges for Git tutorial A tutorial introduction to Git tutorial-2 A tutorial introduction to Git: part two workflows An overview of recommended workflows with Git 'git help -a' and 'git help -g' list available subcommands and some concept guides. See 'git help <command>' or 'git help <concept>' to read about a specific subcommand or concept. ``` ## 回到远程仓库的状态 抛弃本地所有的修改,回到远程仓库的状态。 ```sh git fetch --all && git reset --hard origin/master ``` ## 重设第一个 commit 也就是把所有的改动都重新放回工作区,并**清空所有的 commit**,这样就可以重新提交第一个 commit 了 ```sh git update-ref -d HEAD ``` ## 查看冲突文件列表 展示工作区的冲突文件列表 ```sh git diff --name-only --diff-filter=U ``` ## 展示工作区和暂存区的不同 输出**工作区**和**暂存区**的 different (不同)。 ```sh git diff ``` 还可以展示本地仓库中任意两个 commit 之间的文件变动: ```sh git diff <commit-id> <commit-id> ``` ## 展示暂存区和最近版本的不同 输出**暂存区**和本地最近的版本 (commit) 的 different (不同)。 ```sh git diff --cached ``` ## 展示暂存区、工作区和最近版本的不同 输出**工作区**、**暂存区** 和本地最近的版本 (commit) 的 different (不同)。 ```sh git diff HEAD ``` ## 快速切换到上一个分支 ```sh git checkout - ``` ## 删除已经合并到 master 的分支 ```sh git branch --merged master | grep -v '^\*\| master' | xargs -n 1 git branch -d ``` ## 展示本地分支关联远程仓库的情况 ```sh git branch -vv ``` ## 关联远程分支 关联之后,`git branch -vv` 就可以展示关联的远程分支名了,同时推送到远程仓库直接:`git push`,不需要指定远程仓库了。 ```sh git branch -u origin/mybranch ``` 或者在 push 时加上 `-u` 参数 ```sh git push origin/mybranch -u ``` ## 列出所有远程分支 -r 参数相当于:remote ```sh git branch -r ``` ## 列出本地和远程分支 -a 参数相当于:all ```sh git branch -a ``` ## 查看远程分支和本地分支的对应关系 ```sh git remote show origin ``` ## 远程删除了分支本地也想删除 ```sh git remote prune origin ``` ## 创建并切换到本地分支 ```sh git checkout -b <branch-name> ``` ## 从远程分支中创建并切换到本地分支 ```sh git checkout -b <branch-name> origin/<branch-name> ``` ## 删除本地分支 ```sh git branch -d <local-branchname> ``` ## 删除远程分支 ```sh git push origin --delete <remote-branchname> ``` 或者 ```sh git push origin :<remote-branchname> ``` ## 重命名本地分支 ```sh git branch -m <new-branch-name> ``` ## 查看标签 ```sh git tag ``` 展示当前分支的最近的 tag ```sh git describe --tags --abbrev=0 ``` ## 查看标签详细信息 ```sh git tag -ln ``` ## 本地创建标签 ```sh git tag <version-number> ``` 默认 tag 是打在最近的一次 commit 上,如果需要指定 commit 打 tag: ```sh $ git tag -a <version-number> -m "v1.0 发布(描述)" <commit-id> ``` ## 推送标签到远程仓库 首先要保证本地创建好了标签才可以推送标签到远程仓库: ```sh git push origin <local-version-number> ``` 一次性推送所有标签,同步到远程仓库: ```sh git push origin --tags ``` ## 删除本地标签 ```sh git tag -d <tag-name> ``` ## 删除远程标签 ```sh git push origin --delete tag <tagname> ``` ## 切回到某个标签 一般上线之前都会打 tag,就是为了防止上线后出现问题,方便快速回退到上一版本。下面的命令是回到某一标签下的状态: ```sh git checkout -b branch_name tag_name ``` ## 放弃工作区的修改 ```sh git checkout <file-name> ``` 放弃所有修改: ```sh git checkout . ``` ## 恢复删除的文件 ```sh git rev-list -n 1 HEAD -- <file_path> #得到 deleting_commit git checkout <deleting_commit>^ -- <file_path> #回到删除文件 deleting_commit 之前的状态 ``` ## 以新增一个 commit 的方式还原某一个 commit 的修改 ```sh git revert <commit-id> ``` ## 回到某个 commit 的状态,并删除后面的 commit 和 revert 的区别:reset 命令会抹去某个 commit id 之后的所有 commit ```sh git reset <commit-id> #默认就是-mixed参数。 git reset --mixed HEAD^ #回退至上个版本,它将重置HEAD到另外一个commit,并且重置暂存区以便和HEAD相匹配,但是也到此为止。工作区不会被更改。 git reset --soft HEAD~3 #回退至三个版本之前,只回退了commit的信息,暂存区和工作区与回退之前保持一致。如果还要提交,直接commit即可   git reset --hard <commit-id> #彻底回退到指定commit-id的状态,暂存区和工作区也会变为指定commit-id版本的内容 ``` ## 修改上一个 commit 的描述 如果暂存区有改动,同时也会将暂存区的改动提交到上一个 commit ```sh git commit --amend ``` ## 查看 commit 历史 ```sh git log ``` ## 查看某段代码是谁写的 blame 的意思为‘责怪’,你懂的。 ```sh git blame <file-name> ``` ## 显示本地更新过 HEAD 的 git 命令记录 每次更新了 HEAD 的 git 命令比如 commit、amend、cherry-pick、reset、revert 等都会被记录下来(不限分支),就像 shell 的 history 一样。 这样你可以 reset 到任何一次更新了 HEAD 的操作之后,而不仅仅是回到当前分支下的某个 commit 之后的状态。 ```sh git reflog ``` ## 修改作者名 ```sh git commit --amend --author='Author Name <[email protected]>' ``` ## 修改远程仓库的 url ```sh git remote set-url origin <URL> ``` ## 增加远程仓库 ```sh git remote add origin <remote-url> ``` ## 列出所有远程仓库 ```sh git remote ``` ## 查看两个星期内的改动 ```sh git whatchanged --since='2 weeks ago' ``` ## 把 A 分支的某一个 commit,放到 B 分支上 这个过程需要 `cherry-pick` 命令,[参考](http://sg552.iteye.com/blog/1300713#bc2367928) ```sh git checkout <branch-name> && git cherry-pick <commit-id> ``` ## 给 git 命令起别名 简化命令 ```sh git config --global alias.<handle> <command> 比如:git status 改成 git st,这样可以简化命令 git config --global alias.st status ``` ## 存储当前的修改,但不用提交 commit 详解可以参考[廖雪峰老师的 git 教程](http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/00137602359178794d966923e5c4134bc8bf98dfb03aea3000) ```sh git stash ``` ## 保存当前状态,包括 untracked 的文件 untracked 文件:新建的文件 ```sh git stash -u ``` ## 展示所有 stashes ```sh git stash list ``` ## 回到某个 stash 的状态 ```sh git stash apply <stash@{n}> ``` ## 回到最后一个 stash 的状态,并删除这个 stash ```sh git stash pop ``` ## 删除所有的 stash ```sh git stash clear ``` ## 从 stash 中拿出某个文件的修改 ```sh git checkout <stash@{n}> -- <file-path> ``` ## 展示所有 tracked 的文件 ```sh git ls-files -t ``` ## 展示所有 untracked 的文件 ```sh git ls-files --others ``` ## 展示所有忽略的文件 ```sh git ls-files --others -i --exclude-standard ``` ## 强制删除 untracked 的文件 可以用来删除新建的文件。如果不指定文件文件名,则清空所有工作的 untracked 文件。`clean` 命令,**注意两点**: 1. clean 后,删除的文件无法找回 2. 不会影响 tracked 的文件的改动,只会删除 untracked 的文件 ```sh git clean <file-name> -f ``` ## 强制删除 untracked 的目录 可以用来删除新建的目录,**注意**:这个命令也可以用来删除 untracked 的文件。详情见上一条 ```sh git clean <directory-name> -df ``` ## 展示简化的 commit 历史 ```sh git log --pretty=oneline --graph --decorate --all ``` ## 把某一个分支导出成一个文件 ```sh git bundle create <file> <branch-name> ``` ## 从包中导入分支 新建一个分支,分支内容就是上面 `git bundle create` 命令导出的内容 ```sh git clone repo.bundle <repo-dir> -b <branch-name> ``` ## 执行 rebase 之前自动 stash ```sh git rebase --autostash ``` ## 从远程仓库根据 ID,拉下某一状态,到本地分支 ```sh git fetch origin pull/<id>/head:<branch-name> ``` ## 详细展示一行中的修改 ```sh git diff --word-diff ``` ## 清除 gitignore 文件中记录的文件 ```sh git clean -X -f ``` ## 展示所有 alias 和 configs **注意:** config 分为:当前目录(local)和全局(golbal)的 config,默认为当前目录的 config ```sh git config --local --list (当前目录) git config --global --list (全局) ``` ## 展示忽略的文件 ```sh git status --ignored ``` ## commit 历史中显示 Branch1 有的,但是 Branch2 没有 commit ```sh git log Branch1 ^Branch2 ``` ## 在 commit log 中显示 GPG 签名 ```sh git log --show-signature ``` ## 删除全局设置 ```sh git config --global --unset <entry-name> ``` ## 新建并切换到新分支上,同时这个分支没有任何 commit 相当于保存修改,但是重写 commit 历史 ```sh git checkout --orphan <branch-name> ``` ## 展示任意分支某一文件的内容 ```sh git show <branch-name>:<file-name> ``` ## clone 下来指定的单一分支 ```sh git clone -b <branch-name> --single-branch https://github.com/user/repo.git ``` ## clone 最新一次提交 只会 clone 最近一次提交,将减少 clone 时间 ```sh git clone --depth=1 https://github.com/user/repo.git ``` ## 忽略某个文件的改动 关闭 track 指定文件的改动,也就是 Git 将不会在记录这个文件的改动 ```sh git update-index --assume-unchanged path/to/file ``` 恢复 track 指定文件的改动 ```sh git update-index --no-assume-unchanged path/to/file ``` ## 忽略文件的权限变化 不再将文件的权限变化视作改动 ```sh git config core.fileMode false ``` ## 以最后提交的顺序列出所有 Git 分支 最新的放在最上面 ```sh git for-each-ref --sort=-committerdate --format='%(refname:short)' refs/heads/ ``` ## 在 commit log 中查找相关内容 通过 grep 查找,given-text:所需要查找的字段 ```sh git log --all --grep='<given-text>' ``` ## 把暂存区的指定 file 放到工作区中 不添加参数,默认是 `-mixed` ```sh git reset <file-name> ``` ## 强制推送 ```sh git push -f <remote-name> <branch-name> ``` ## git 配置 http 和 socks 代理 ```sh git config --global https.proxy 'http://127.0.0.1:8001' # 适用于 privoxy 将 socks 协议转为 http 协议的 http 端口 git config --global http.proxy 'http://127.0.0.1:8001' git config --global socks.proxy "127.0.0.1:1080" ``` ## git 配置 ssh 代理 ```sh $ cat ~/.ssh/config Host gitlab.com ProxyCommand nc -X 5 -x 127.0.0.1:1080 %h %p # 直接使用 shadowsocks 提供的 socks5 代理端口 Host github.com ProxyCommand nc -X 5 -x 127.0.0.1:1080 %h %p ``` ## 脑图 ![](./assets/git.png) ## 优雅的Commit信息 使用[Angular团队提交规范](https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines) 主要有以下组成 * 标题行: 必填, 描述主要修改类型和内容 * 主题内容: 描述为什么修改, 做了什么样的修改, 以及开发的思路等等 * 页脚注释: 放 Breaking Changes 或 Closed Issues 常用的修改项 * type: commit 的类型 * feat: 新特性 * fix: 修改问题 * refactor: 代码重构 * docs: 文档修改 * style: 代码格式修改, 注意不是 css 修改 * test: 测试用例修改 * chore: 其他修改, 比如构建流程, 依赖管理. * scope: commit 影响的范围, 比如: route, component, utils, build... * subject: commit 的概述 * body: commit 具体修改内容, 可以分为多行 * footer: 一些备注, 通常是 BREAKING CHANGE 或修复的 bug 的链接. ## commit工具 可以使用[cz-cli](https://github.com/commitizen/cz-cli)工具代替 `git commit` 全局安装 ```shell npm install -g commitizen cz-conventional-changelog echo '{ "path": "cz-conventional-changelog" }' > ~/.czrc ``` 全局安装后使用 `git cz` 代替 `git commit`就可以了,如下图 ![](./assets/gitcz.png) ## 声明 <a rel="license" href="https://creativecommons.org/licenses/by-nc-nd/4.0/deed.zh"><img alt="知识共享许可协议" style="border-width: 0" src="https://licensebuttons.net/l/by-nc-nd/4.0/88x31.png"></a><br>本作品采用 <a rel="license" href="https://creativecommons.org/licenses/by-nc-nd/4.0/deed.zh">署名-非商业性使用-禁止演绎 4.0 国际</a> 进行许可。 **[⬆ 返回顶部](#目录)**
3,141
Incremental merge for git
# git-imerge -- incremental merge and rebase for Git Perform a merge between two branches incrementally. If conflicts are encountered, figure out exactly which pairs of commits conflict, and present the user with one pairwise conflict at a time for resolution. `git-imerge` has two primary design goals: * Reduce the pain of resolving merge conflicts to its unavoidable minimum, by finding and presenting the smallest possible conflicts: those between the changes introduced by one commit from each branch. * Allow a merge to be saved, tested, interrupted, published, and collaborated on while it is in progress. I think that it is easiest to understand the concept of incremental merging visually, and therefore I recommend the video of my [git-imerge presentation from the GitMerge 2013 conference](https://www.youtube.com/watch?v=FMZ2_-Ny_zc) (20 min) as a good place to start. The full slides for that talk are available in this repository under `doc/presentations/GitMerge-2013`. At the same conference, I was interviewed about `git-imerge` by Thomas Ferris Nicolaisen for his [GitMinutes Podcast #12](https://episodes.gitminutes.com/2013/06/gitminutes-12-git-merge-2013-part-4.html). To learn how to use the `git-imerge` tool itself, I suggest the blog article [git-imerge: A Practical Introduction](https://softwareswirl.blogspot.com/2013/05/git-imerge-practical-introduction.html) and also typing `git-imerge --help` and `git-imerge SUBCOMMAND --help`. If you want more information, the theory and benefits of incremental merging are described in minute detail in a series of blog articles [[1](#REF1)], as are the benefits of retaining history when doing a rebase [[2](#REF2)]. Multiple incremental merges can be in progress at the same time. Each incremental merge has a name, and its progress is recorded in the Git repository as references under `refs/imerge/NAME`. The current state of an incremental merge can be visualized using the `diagram` command. An incremental merge can be interrupted and resumed arbitrarily, or even pushed to a server to allow somebody else to work on it. `git-imerge` comes with a Bash completion script, `completions/git-imerge`, which is installed automatically when installing `git-imerge`. ## Requirements `git-imerge` requires: * A Python interpreter; either * Python 3.x, version 3.3 or later. * Python 2.x, version 2.6 or later. If you are using Python 2.6.x, then you have to install the `argparse` module yourself, as it was only added to the standard library in Python 2.7. * A recent version of Git. Bash completion requires Git's completion being available. ## Installation `git-imerge` is available on [PyPI](https://pypi.org), so you can install it with `pip`: $ pip install git-imerge or using `setup.py` if you have downloaded the source package locally: $ python setup.py install If you prefer, you can use [Homebrew](https://brew.sh) to install `git-imerge`: $ brew install git-imerge ## Instructions To start a merge or rebase operation using `git-imerge`, you use commands that are similar to the corresponding `git` commands: | `git-imerge` command | `git` analogue | Effect | | -------------------- | -------------- | ------ | | `git-imerge merge BRANCH` | `git merge BRANCH` | Merge ``BRANCH`` into the current branch | | `git-imerge rebase BRANCH` | `git rebase BRANCH` | Rebase the current branch on top of ``BRANCH`` | | `git-imerge revert COMMIT` | `git revert COMMIT` | Add a new commit that undoes the effect of `COMMIT` | | `git-imerge revert COMMIT1..COMMIT2` | `git revert COMMIT1..COMMIT2` | Add new commits that undo the effects of `COMMIT1..COMMIT2` | | `git-imerge drop COMMIT` | `git rebase --onto COMMIT^ COMMIT` | Entirely delete commit `COMMIT` from the history of the current branch | | `git-imerge drop COMMIT1..COMMIT2` | `git rebase --onto COMMIT1 COMMIT2` | Entirely delete commits ``COMMIT1..COMMIT2`` from the history of the current branch | `git-imerge drop` is also analogous to running `git rebase --interactive`, then deleting the specified commit(s) from the history. Both the `drop` and the `revert` subcommands are included in git-imerge because the equivalent git operations can conflict, so they both can benefit from using the incremental merge approach.) A few more options are available if you start the incremental merge using `git imerge start`: $ git-imerge start --name=NAME --goal=GOAL [--first-parent] BRANCH where * `NAME` is the name for this merge (and also the default name of the branch to which the results will be saved). * `GOAL` describes how you want to simplify the results (see next section). After the incremental merge is started, you will be presented with any conflicts that have to be resolved. The basic procedure is similar to performing an incremental merge using `git`: while not done: <fix the conflict that is presented to you> <"git add" the files that you changed> git-imerge continue When you have resolved all of the conflicts, you finish the incremental merge by typing: git-imerge finish That should be enough to get you going. All of these subcommands have additional options; to learn about them type: git-imerge --help git-imerge SUBCMD --help ### Simplifying results When the incremental merge is finished, you can simplify its results in various ways before recording it in your project's permanent history by using either the `finish` or `simplify` command. The "goal" of the incremental merge can be one of the following: * `merge` — keep only a simple merge of the second branch into the first branch, discarding all intermediate merges. The end result is similar to what you would get from git checkout BRANCH1 git merge BRANCH2 * `rebase` — keep the versions of the commits from the second branch rebased onto the first branch. The end result is similar to what you would get from git checkout BRANCH2 git rebase BRANCH1 * `rebase-with-history` — like `rebase`, except that it retains the old versions of the rebased commits in the history. It is equivalent to merging the commits from `BRANCH2` into `BRANCH1`, one commit at a time. In other words, it transforms this: o---o---o---o BRANCH1 \ A---B---C---D BRANCH2 into this: o---o---o---o---A'--B'--C'--D' NEW_BRANCH \ / / / / --------A---B---C---D It is safe to rebase an already-published branch using this approach. See [[2](#REF2)] for more information. * `full` — don't simplify the incremental merge at all: do all of the intermediate merges and retain them all in the permanent history. In other words, it transforms this: o---o---1---2---3 BRANCH1 \ A---B---C---D BRANCH2 into this: o---o---1---2---3 \ \ \ \ A---A1--A2--A3 \ \ \ \ B---B1--B2--B3 \ \ \ \ C---C1--C2--C3 \ \ \ \ D---D1--D2--D3 NEW_BRANCH This approach retains the complete history and ancestry information, which gives the maximum flexibility for conducting future merges. On the other hand, it clutters up the permanent Git history considerably. * `border` — this experimental goal retains the rebase of `BRANCH2` onto `BRANCH1` and also the rebase of `BRANCH1` onto `BRANCH2`, plus a merge commit that includes both branches. In other words, it transforms this: o---o---1---2---3 BRANCH1 \ A---B---C---D BRANCH2 into this: o---o---1---2---3 \ \ A A2 \ \ B B2 \ \ C C2 \ \ D---D1--D2--D3 NEW_BRANCH This approach leaves more history than a simple merge or rebase, possibly making future merges easier. * `border-with-history` — this experimental goal retains the `rebase-with-history of` `BRANCH2` onto `BRANCH1` and also the rebase (without history) of `BRANCH1` onto `BRANCH2`, plus a merge commit that includes both branches. In other words, it transforms this: o---o---1---2---3 BRANCH1 \ A---B---C---D BRANCH2 into this: o---o---1---2---3 \ \ A-----------A3 \ \ B-----------B3 \ \ C-----------C3 \ \ D---D1--D2--D3 NEW_BRANCH This approach leaves more history and ancestry information than a simple merge or rebase, possibly making future merges easier. * `border-with-history2` — this experimental goal retains the `rebase-with-history` of `BRANCH1` onto `BRANCH2` and also the `rebase-with-history` of `BRANCH2` onto `BRANCH1`, plus a merge commit that includes both branches. In other words, it transforms this: o---o---1---2---3 BRANCH1 \ A---B---C---D BRANCH2 into this: o---o---1---2---3 \ \ \ \ A--- --- ---A3 \ \ \ \ B--- --- ---B3 \ \ \ \ C--- --- ---C3 \ \ \ \ D---D1--D2--D3 NEW_BRANCH This approach leaves more history and ancestry information than a simple merge or rebase, possibly making future merges easier. ## Technical notes ### Suspending/resuming When `git-imerge` needs to ask the user to do a merge manually, it creates a temporary branch `refs/heads/imerge/NAME` to hold the result. If you want to suspend an incremental merge to do something else before continuing, all you need to do is abort any pending merge using `git merge --abort` and switch to your other branch. When you are ready to resume the incremental merge, just type `git imerge continue`. If you need to completely abort an in-progress incremental merge, first remove the temporary branches `git-imerge` creates using `git-imerge remove`, then checkout the branch you were in before you started the incremental merge with `git checkout ORIGINAL_BRANCH`. ### Storage `git-imerge` records all of the intermediate state about an incremental merge in the Git object database as a bunch of references under `refs/imerge/NAME`, where `NAME` is the name of the imerge: * `refs/imerge/NAME/state` points to a blob that describes the current state of the imerge in JSON format; for example, * The tips of the two branches that are being merged * The current "blocker" merges (merges that the user will have to do by hand), if any * The simplification goal * The name of the branch to which the result will be written. * `refs/imerge/NAME/manual/I-J` and `refs/imerge/NAME/auto/I-J` refer to the manual and automatic merge commits, respectively, that have been done so far as part of the incremental merge. `I` and `J` are integers indicating the location `(I,J)` of the merge in the incremental merge diagram. ### Transferring an in-progress imerge between repositories It might sometimes be convenient to transfer an in-progress incremental merge from one Git repository to another. For example, you might want to make a backup of the current state, or continue an imerge at home that you started at work, or ask a colleague to do a particular pairwise merge for you. Since all of the imerge state is stored in the Git object database, this can be done by pushing/fetching the references named in the previous section. For example, $ git push --prune origin +refs/imerge/NAME/*:refs/imerge/NAME/* or $ git fetch --prune origin +refs/imerge/NAME/*:refs/imerge/NAME/* Please note that these commands _overwrite_ any state that already existed in the destination repository. There is currently no support for combining the work done by two people in parallel on an incremental merge, so for now you'll just have to take turns. ### Interaction with `git rerere` `git rerere` is a nice tool that records how you resolve merge conflicts, and if it sees the same conflict again it tries to automatically reuse the same resolution. Since `git-imerge` attempts so many similar test merges, it is easy to imagine `rerere` getting confused. Moreover, `git-imerge` relies on a merge resolving (or not resolving) consistently if it is carried out more than once. Having `rerere` store extra information behind the scenes could therefore confuse `git-imerge`. Indeed, in testing it appeared that during incremental merges, the interaction of `git-imerge` with `rerere` was sometimes causing merge conflicts to be resolved incorrectly. Therefore, `git-imerge` explicitly turns rerere off temporarily whenever it runs any `git` commands. ### Log messages for pairwise merge commits When `git imerge continue` or `git imerge record` finds a resolved merge in the working tree, it commits that merge then incorporates it into the incremental merge. Usually it just uses Git's autogenerated commit message for such commits. If you want to be prompted to edit such commit messages, you can either specify `--edit` on the command line or change the default in your configuration: $ git config --global imerge.editmergemessages true ## Testing `git-imerge` uses [`tox`](https://tox.readthedocs.io) to run tests. To run the test suite with the system's default Python: $ tox To run with a specific Python version, such as 3.7, pass the `-e` argument to `tox`: $ tox -e py37 ## License `git-imerge` is released as open-source software under the GNU General Public License (GPL), version 2 or later. See file `COPYING` for more information. ## References <a name="REF1">[1]</a> * https://softwareswirl.blogspot.com/2012/12/the-conflict-frontier-of-nightmare-merge.html * https://softwareswirl.blogspot.com/2012/12/mapping-merge-conflict-frontier.html * https://softwareswirl.blogspot.com/2012/12/real-world-conflict-diagrams.html * https://softwareswirl.blogspot.com/2013/05/git-incremental-merge.html * https://softwareswirl.blogspot.com/2013/05/one-merge-to-rule-them-all.html * https://softwareswirl.blogspot.com/2013/05/incremental-merge-vs-direct-merge-vs.html * https://softwareswirl.blogspot.com/2013/05/git-imerge-practical-introduction.html <a name="REF2">[2]</a> * https://softwareswirl.blogspot.com/2009/04/truce-in-merge-vs-rebase-war.html * https://softwareswirl.blogspot.com/2009/08/upstream-rebase-just-works-if-history.html * https://softwareswirl.blogspot.com/2009/08/rebase-with-history-implementation.html
3,142
:anchor: A curated list of awesome git hooks
<h1 align="center"> <a href="https://git-scm.com/"> <img width="455" src="https://github.com/compscilauren/awesome-git-hooks/blob/master/git-logo.png" alt="Awesome Git Hooks"></a><br>Awesome Git Hooks </h1> <p align="center"> <a href="https://awesome.re"><img src="https://awesome.re/badge-flat2.svg" alt="Awesome Lists"></a> <a href="https://github.com/CompSciLauren/awesome-git-hooks/blob/master/CONTRIBUTING.md"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square" alt="PRs welcome"></a> </p> # Awesome Git Hooks > :anchor: Easy-to-use git hooks for automating tasks during git workflows. Git hooks are custom scripts you can use to automate tasks which are triggered before or after a git command is executed. There are two groups of these hooks: client-side and server-side. Client-side hooks are triggered by operations such as committing and merging, while server-side hooks run on network operations such as receiving pushed commits. This repo contains helpful resources as well as a variety of git hook scripts that can be easily customized to serve different purposes. :heavy_check_mark: Nothing to install/download :heavy_check_mark: Code is well-documented :heavy_check_mark: Grab & go! Copy the code you want to use and paste into your .git/hooks folder Contributions are _always_ welcome! Please see our [Contribution Guidelines](CONTRIBUTING.md). Also, if you don't find the script you want below, you can [create a new issue](https://github.com/CompSciLauren/awesome-git-hooks/issues/new?assignees=&labels=enhancement&template=new-git-hook-script-request.md&title=) to request it. ## Contents - [Git Hook Scripts](#git-hook-scripts) - [commit-msg](#commit-msg) - [post-checkout](#post-checkout) - [post-update](#post-update) - [pre-commit](#pre-commit) - [prepare-commit-msg](#prepare-commit-msg) - [pre-push](#pre-push) - [pre-rebase](#pre-rebase) - [query-watchman](#query-watchman) - [update](#update) - [Quick Start](#quick-start) - [Tools](#tools) - [Written Guides](#written-guides) - [Video Guides](#video-guides) ## Git Hook Scripts Note: The icon next to each script signifies what language it is written in. | icon | language | | -------------------------------------------------------- | -------- | | <img width="14" src="bash-icon.png" alt="Bash Icon"> | `bash` | | <img width="14" src="python-icon.png" alt="Python Icon"> | `python` | | <img width="14" src="perl-icon.png" alt="Perl Icon"> | `perl` | ### commit-msg - [enforce-insert-issue-number](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/commit-msg-hooks/enforce-insert-issue-number.hook) - Make sure user did not delete the ISSUE-\[#] string that was generated by prepare-commit-msg/insert-issue-number.hook. <img width="14" src="python-icon.png" alt="Python Icon"> ### post-checkout - [delete-pyc-files](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/post-checkout-hooks/delete-pyc-files.hook) - Delete all .pyc files every time a new branch is checked out. <img width="14" src="python-icon.png" alt="Python Icon"> - [new-branch-alert](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/post-checkout-hooks/new-branch-alert.hook) - Display a message when a new branch is checked out for the first time. <img width="14" src="bash-icon.png" alt="Bash Icon"> ### post-update - [update-server-info](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/post-update-hooks/update-server-info.hook) - Prepare a packed repository for use over dumb transports (e.g. http). <img width="14" src="bash-icon.png" alt="Bash Icon"> ### pre-commit - [format-code](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/pre-commit-hooks/format-code.hook) - Run command to format code and re-add any files modified after formatting. <img width="14" src="bash-icon.png" alt="Bash Icon"> - [search-term](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/pre-commit-hooks/search-term.hook) - Fail commit if a specific term is found in the code. <img width="14" src="bash-icon.png" alt="Bash Icon"> - [spell-check-md-files](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/pre-commit-hooks/spell-check-md-files.hook) - Check files with .md extension for spelling errors. <img width="14" src="bash-icon.png" alt="Bash Icon"> - [verify-name-and-email](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/pre-commit-hooks/verify-name-and-email.hook) - Fail commit if user.name or user.email is incorrect. <img width="14" src="bash-icon.png" alt="Bash Icon"> ### prepare-commit-msg - [include-git-diff-name-status](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/prepare-commit-msg-hooks/include-git-diff-name-status.hook) - Include the output of "git diff --name-status -r" into the message, just before the "git status" output. <img width="14" src="bash-icon.png" alt="Bash Icon"> - [insert-issue-number](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/prepare-commit-msg-hooks/insert-issue-number.hook) - Insert issue number to beginning of the commit message. <img width="14" src="python-icon.png" alt="Python Icon"> ### pre-push - [prevent-bad-push](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/pre-push-hooks/prevent-bad-push.hook) - Prevent push of commits where the log message starts with "WIP" (work in progress). <img width="14" src="bash-icon.png" alt="Bash Icon"> ### pre-rebase - [prevent-rebase](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/pre-rebase-hooks/prevent-rebase.hook) - Prevent topic branches that are already merged to 'next' branch from getting rebased, because allowing it would result in rebasing already published history. <img width="14" src="bash-icon.png" alt="Bash Icon"> ### query-watchman - [fsmonitor-watchman](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/query-watchman-hooks/fsmonitor-watchman.hook) - Output to stdout all files that have been modified since a given time. <img width="14" src="perl-icon.png" alt="Perl Icon"> ### update - [update](https://github.com/CompSciLauren/awesome-git-hooks/blob/master/update-hooks/prevent-unannotated-tags.hook) - Block unannotated tags from entering. <img width="14" src="bash-icon.png" alt="Bash Icon"> ## Quick Start 1. Pick a hook, any hook! Try the "verify-name-and-email" one if you're not sure where to start. 2. Navigate to your project's hooks folder (.git/hooks). 3. You should see a list of files already in there. Create a new file called the exact commit type that you want to use (eg: "commit-msg", "pre-rebase", "pre-commit", etc). Do not give it an extension. ![create new file](create-new-file.gif) 4. Open your new file and paste the code from the hook you chose out of this repo (eg: [verify-name-and-email.hook](https://github.com/CompSciLauren/git-hooks/blob/master/pre-commit-hooks/verify-name-and-email.hook)). 5. Save file. Done! Now the git hook will be triggered automatically. ## Tools - [Husky](https://github.com/typicode/husky) - Manage git hooks with a nice user interface. - [Overcommit](https://github.com/sds/overcommit) - A fully configurable and extendable git hook manager. - [Git Build Hook Maven Plugin](https://github.com/rudikershaw/git-build-hook) - Install Git hooks and config during a Maven build. - [CaptainHook](https://github.com/CaptainHookPhp/captainhook) - Git hooks manager for PHP developers. - [pre-commit](https://github.com/pre-commit/pre-commit) - A framework for managing and maintaining multi-language pre-commit hooks. ## Written Guides - [Git hooks documentation at git-scm.com](https://git-scm.com/docs/githooks) - [Git Pro book by Scott Chacon and Ben Straub](https://git-scm.com/book/en/v2) - [An Introduction to Git Hooks](https://www.sitepoint.com/introduction-git-hooks/) - [Atlassian Tutorial on Git Hooks](https://www.atlassian.com/ru/git/tutorials/git-hooks) - [Easy git hooks with husky](https://www.vojtechruzicka.com/githooks-husky/) - [Git Hooked](https://www.javascriptjanuary.com/blog/git-hooked 'Git Hooked') - [How To Use Git Hooks To Automate Development and Deployment Tasks](https://www.digitalocean.com/community/tutorials/how-to-use-git-hooks-to-automate-development-and-deployment-tasks) - [Automate Your Workflow with Git Hooks](https://hackernoon.com/automate-your-workflow-with-git-hooks-fef5d9b2a58c) - [Using JavaScript in Your Git Hooks](https://medium.com/@Sergeon/using-javascript-in-your-git-hooks-f0ce09477334 'Using JavaScript in Your Git Hooks') - [An In-Depth Look at Git Hooks](https://dzone.com/articles/an-in-depth-look-at-git-hooks) - [Git hooks and practical uses. Yes, even on Windows.](https://www.tygertec.com/git-hooks-practical-uses-windows/) - [Automatically Manage Git Hooks with Direnv](https://knpw.rs/blog/direnv-git-hooks) ## Video Guides - [Git Hooks Part 1 - Getting Started](https://www.youtube.com/watch?v=aB3eq52sZSU) - [Git hooks and practical uses. Yes, even on Windows.](http://www.youtube.com/watch?feature=player_embedded&v=fMYv6-SZsSo&t=140s) ## License [![CC0](http://mirrors.creativecommons.org/presskit/buttons/88x31/svg/cc-zero.svg)](https://creativecommons.org/publicdomain/zero/1.0/)<br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/1.0/">Creative Commons Attribution 1.0 International License</a>.
3,143
A list of cool features of Git and GitHub.
# GitHub Cheat Sheet [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) A collection of cool hidden and not so hidden features of Git and GitHub. This cheat sheet was inspired by [Zach Holman](https://github.com/holman)'s [Git and GitHub Secrets](http://confreaks.tv/videos/aloharuby2012-git-and-github-secrets) talk at Aloha Ruby Conference 2012 ([slides](https://speakerdeck.com/holman/git-and-github-secrets)) and his [More Git and GitHub Secrets](https://vimeo.com/72955426) talk at WDCNZ 2013 ([slides](https://speakerdeck.com/holman/more-git-and-github-secrets)). *Shortlink: [`http://git.io/sheet`](http://git.io/sheet)* *Read this in other languages: [English](README.md), [한국어](README.ko.md), [日本語](README.ja.md), [简体中文](README.zh-cn.md), [正體中文](README.zh-tw.md).* GitHub Cheat Sheet is sponsored by [Drawpoint: create interactive maps and images for your website with no coding](https://www.drawpoint.io) ## Table of Contents - [GitHub](#github) - [Ignore Whitespace](#ignore-whitespace) - [Adjust Tab Space](#adjust-tab-space) - [Commit History by Author](#commit-history-by-author) - [Cloning a Repository](#cloning-a-repository) - [Branch](#branch) - [Compare all Branches to Another Branch](#compare-all-branches-to-another-branch) - [Comparing Branches](#comparing-branches) - [Compare Branches across Forked Repositories](#compare-branches-across-forked-repositories) - [Gists](#gists) - [Git.io](#gitio) - [Keyboard Shortcuts](#keyboard-shortcuts) - [Line Highlighting in Repositories](#line-highlighting-in-repositories) - [Closing Issues via Commit Messages](#closing-issues-via-commit-messages) - [Cross-Link Issues](#cross-link-issues) - [Locking Conversations](#locking-conversations) - [CI Status on Pull Requests](#ci-status-on-pull-requests) - [Filters](#filters) - [Syntax Highlighting in Markdown Files](#syntax-highlighting-in-markdown-files) - [Emojis](#emojis) - [Images/GIFs](#imagesgifs) - [Embedding Images in GitHub Wiki](#embedding-images-in-github-wiki) - [Quick Quoting](#quick-quoting) - [Pasting Clipboard Image to Comments](#pasting-clipboard-image-to-comments) - [Quick Licensing](#quick-licensing) - [Task Lists](#task-lists) - [Task Lists in Markdown Documents](#task-lists-in-markdown-documents) - [Relative Links](#relative-links) - [Metadata and Plugin Support for GitHub Pages](#metadata-and-plugin-support-for-github-pages) - [Viewing YAML Metadata in your Documents](#viewing-yaml-metadata-in-your-documents) - [Rendering Tabular Data](#rendering-tabular-data) - [Rendering PDF](#rendering-pdf) - [Revert a Pull Request](#revert-a-pull-request) - [Diffs](#diffs) - [Rendered Prose Diffs](#rendered-prose-diffs) - [Diffable Maps](#diffable-maps) - [Expanding Context in Diffs](#expanding-context-in-diffs) - [Diff or Patch of Pull Request](#diff-or-patch-of-pull-request) - [Rendering and diffing images](#rendering-and-diffing-images) - [Hub](#hub) - [Contribution Guidelines](#contribution-guidelines) - [CONTRIBUTING file](#contributing-file) - [ISSUE_TEMPLATE file](#issue_template-file) - [PULL_REQUEST_TEMPLATE file](#pull_request_template-file) - [Octicons](#octicons) - [GitHub Student Developer Pack](#github-student-developer-pack) - [GitHub Resources](#github-resources) - [GitHub Talks](#github-talks) - [SSH keys](#ssh-keys) - [Profile Image](#profile-image) - [Repository Templates](#repository-templates) - [Git](#git) - [Remove All Deleted Files from the Working Tree](#remove-all-deleted-files-from-the-working-tree) - [Previous Branch](#previous-branch) - [Stripspace](#stripspace) - [Checking out Pull Requests](#checking-out-pull-requests) - [Empty Commits](#empty-commits) - [Styled Git Status](#styled-git-status) - [Styled Git Log](#styled-git-log) - [Git Query](#git-query) - [Git Grep](#git-grep) - [Merged Branches](#merged-branches) - [Fixup and Autosquash](#fixup-and-autosquash) - [Web Server for Browsing Local Repositories](#web-server-for-browsing-local-repositories) - [Git Configurations](#git-configurations) - [Aliases](#aliases) - [Auto-Correct](#auto-correct) - [Color](#color) - [Git Resources](#git-resources) - [Git Books](#git-books) - [Git Videos](#git-videos) - [Git Articles](#git-articles) ## GitHub ### Ignore Whitespace Adding `?w=1` to any diff URL will remove any changes only in whitespace, enabling you to see only the code that has changed. ![Diff without whitespace](https://camo.githubusercontent.com/797184940defadec00393e6559b835358a863eeb/68747470733a2f2f6769746875622d696d616765732e73332e616d617a6f6e6177732e636f6d2f626c6f672f323031312f736563726574732f776869746573706163652e706e67) [*Read more about GitHub secrets.*](https://github.com/blog/967-github-secrets) ### Adjust Tab Space Adding `?ts=4` to a diff or file URL will display tab characters as 4 spaces wide instead of the default 8. The number after `ts` can be adjusted to suit your preference. This does not work on Gists, or raw file views, but a [Chrome extension](https://chrome.google.com/webstore/detail/tab-size-on-github/ofjbgncegkdemndciafljngjbdpfmbkn) can automate this. Here is a Go source file before adding `?ts=4`: ![Before, tab space example](http://i.imgur.com/GIT1Fr0.png) ...and this is after adding `?ts=4`: ![After, tab space example](http://i.imgur.com/70FL4H9.png) ### Commit History by Author To view all commits on a repo by author add `?author={user}` to the URL. ``` https://github.com/rails/rails/commits/master?author=dhh ``` ![DHH commit history](http://i.imgur.com/S7AE29b.png) [*Read more about the differences between commits views.*](https://help.github.com/articles/differences-between-commit-views/) ### Cloning a Repository When cloning a repository the `.git` can be left off the end. ```bash $ git clone https://github.com/tiimgreen/github-cheat-sheet ``` [*Read more about the Git `clone` command.*](http://git-scm.com/docs/git-clone) ### Branch #### Compare all Branches to Another Branch If you go to the repo's [Branches](https://github.com/tiimgreen/github-cheat-sheet/branches) page, next to the Commits button: ``` https://github.com/{user}/{repo}/branches ``` ... you would see a list of all branches which are not merged into the main branch. From here you can access the compare page or delete a branch with a click of a button. ![Compare branches not merged into master in rails/rails repo - https://github.com/rails/rails/branches](http://i.imgur.com/0FEe30z.png) #### Comparing Branches To use GitHub to compare branches, change the URL to look like this: ``` https://github.com/{user}/{repo}/compare/{range} ``` where `{range} = master...4-1-stable` For example: ``` https://github.com/rails/rails/compare/master...4-1-stable ``` ![Rails branch compare example](http://i.imgur.com/tIRCOsK.png) `{range}` can be changed to things like: ``` https://github.com/rails/rails/compare/master@{1.day.ago}...master https://github.com/rails/rails/compare/master@{2014-10-04}...master ``` *Here, dates are in the format `YYYY-MM-DD`* ![Another compare example](http://i.imgur.com/5dtzESz.png) Branches can also be compared in `diff` and `patch` views: ``` https://github.com/rails/rails/compare/master...4-1-stable.diff https://github.com/rails/rails/compare/master...4-1-stable.patch ``` [*Read more about comparing commits across time.*](https://help.github.com/articles/comparing-commits-across-time/) #### Compare Branches across Forked Repositories To use GitHub to compare branches across forked repositories, change the URL to look like this: ``` https://github.com/{user}/{repo}/compare/{foreign-user}:{branch}...{own-branch} ``` For example: ``` https://github.com/rails/rails/compare/byroot:master...master ``` ![Forked branch compare](http://i.imgur.com/Q1W6qcB.png) ### Gists [Gists](https://gist.github.com/) are an easy way to work with small bits of code without creating a fully fledged repository. ![Gist](http://i.imgur.com/VkKI1LC.png?1) Add `.pibb` to the end of any Gist URL ([like this](https://gist.github.com/tiimgreen/10545817.pibb)) in order to get the *HTML-only* version suitable for embedding in any other site. Gists can be treated as a repository so they can be cloned like any other: ```bash $ git clone https://gist.github.com/tiimgreen/10545817 ``` ![Gists](http://i.imgur.com/BcFzabp.png) This means you also can modify and push updates to Gists: ```bash $ git commit $ git push Username for 'https://gist.github.com': Password for 'https://[email protected]': ``` However, Gists do not support directories. All files need to be added to the repository root. [*Read more about creating Gists.*](https://help.github.com/articles/creating-gists/) ### Git.io [Git.io](http://git.io) is a simple URL shortener for GitHub. ![Git.io](http://i.imgur.com/6JUfbcG.png?1) You can also use it via pure HTTP using Curl: ```bash $ curl -i http://git.io -F "url=https://github.com/..." HTTP/1.1 201 Created Location: http://git.io/abc123 $ curl -i http://git.io/abc123 HTTP/1.1 302 Found Location: https://github.com/... ``` [*Read more about Git.io.*](https://github.com/blog/985-git-io-github-url-shortener) ### Keyboard Shortcuts When on a repository page, keyboard shortcuts allow you to navigate easily. - Pressing `t` will bring up a file explorer. - Pressing `w` will bring up the branch selector. - Pressing `s` will focus the search field for the current repository. Pressing ↓ to select the “All GitHub” option changes the field to search all of GitHub. - Pressing `l` will edit labels on existing Issues. - Pressing `y` **when looking at a file** (e.g., `https://github.com/tiimgreen/github-cheat-sheet/blob/master/README.md`) will change your URL to one which, in effect, freezes the page you are looking at. If this code changes, you will still be able to see what you saw at that current time. To see all of the shortcuts for the current page press `?`: ![Keyboard shortcuts](http://i.imgur.com/y5ZfNEm.png) [Read more about search syntax you can use.](https://help.github.com/articles/search-syntax/) ### Line Highlighting in Repositories Either adding, e.g., `#L52` to the end of a code file URL or simply clicking the line number will highlight that line number. It also works with ranges, e.g., `#L53-L60`, to select ranges, hold `shift` and click two lines: ``` https://github.com/rails/rails/blob/master/activemodel/lib/active_model.rb#L53-L60 ``` ![Line Highlighting](http://i.imgur.com/8AhjrCz.png) ### Closing Issues via Commit Messages If a particular commit fixes an issue, any of the keywords `fix/fixes/fixed`, `close/closes/closed` or `resolve/resolves/resolved`, followed by the issue number, will close the issue once it is committed to the repository's default branch. ```bash $ git commit -m "Fix screwup, fixes #12" ``` This closes the issue and references the closing commit. ![Closing Repo](http://i.imgur.com/Uh1gZdx.png) [*Read more about closing Issues via commit messages.*](https://help.github.com/articles/closing-issues-via-commit-messages/) ### Cross-Link Issues If you want to link to another issue in the same repository, simply type hash `#` then the issue number, and it will be auto-linked. To link to an issue in another repository, `{user}/{repo}#ISSUE_NUMBER`, e.g., `tiimgreen/toc#12`. ![Cross-Link Issues](https://camo.githubusercontent.com/447e39ab8d96b553cadc8d31799100190df230a8/68747470733a2f2f6769746875622d696d616765732e73332e616d617a6f6e6177732e636f6d2f626c6f672f323031312f736563726574732f7265666572656e6365732e706e67) ### Locking Conversations Pull Requests and Issues can now be locked by owners or collaborators of the repo. ![Lock conversation](https://cloud.githubusercontent.com/assets/2723/3221693/bf54dd44-f00d-11e3-8eb6-bb51e825bc2c.png) This means that users who are not collaborators on the project will no longer be able to comment. ![Comments locked](https://cloud.githubusercontent.com/assets/2723/3221775/d6e513b0-f00e-11e3-9721-2131cb37c906.png) [*Read more about locking conversations.*](https://github.com/blog/1847-locking-conversations) ### CI Status on Pull Requests If set up correctly, every time you receive a Pull Request, [Travis CI](https://travis-ci.org/) will build that Pull Request just like it would every time you make a new commit. Read more about how to [get started with Travis CI](http://docs.travis-ci.com/user/getting-started/). [![Travis CI status](https://cloud.githubusercontent.com/assets/1687642/2700187/3a88838c-c410-11e3-9a46-e65e2a0458cd.png)](https://github.com/octokit/octokit.rb/pull/452) [*Read more about the commit status API.*](https://github.com/blog/1227-commit-status-api) ### Filters Both issues and pull requests allow filtering in the user interface. For the Rails repo: https://github.com/rails/rails/issues, the following filter is built by selecting the label "activerecord": `is:issue label:activerecord` But, you can also find all issues that are NOT labeled activerecord: `is:issue -label:activerecord` Additionally, this also works for pull requests: `is:pr -label:activerecord` Github has tabs for displaying open or closed issues and pull requests but you can also see merged pull requests. Just put the following in the filter: `is:merged` [*Read more about searching issues.*](https://help.github.com/articles/searching-issues/) Finally, github now allows you to filter by the Status API's status. Pull requests with only successful statuses: `status:success` [*Read more about searching on the Status API.*](https://github.com/blog/2014-filter-pull-requests-by-status) ### Syntax Highlighting in Markdown Files For example, to syntax highlight Ruby code in your Markdown files write: ```ruby require 'tabbit' table = Tabbit.new('Name', 'Email') table.add_row('Tim Green', '[email protected]') puts table.to_s ``` This will produce: ```ruby require 'tabbit' table = Tabbit.new('Name', 'Email') table.add_row('Tim Green', '[email protected]') puts table.to_s ``` GitHub uses [Linguist](https://github.com/github/linguist) to perform language detection and syntax highlighting. You can find out which keywords are valid by perusing the [languages YAML file](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml). [*Read more about GitHub Flavored Markdown.*](https://help.github.com/articles/github-flavored-markdown/) ### Emojis Emojis can be added to Pull Requests, Issues, commit messages, repository descriptions, etc. using `:name_of_emoji:`. The full list of supported Emojis on GitHub can be found at [emoji-cheat-sheet.com](http://www.emoji-cheat-sheet.com/) or [scotch-io/All-Github-Emoji-Icons](https://github.com/scotch-io/All-Github-Emoji-Icons). A handy emoji search engine can be found at [emoji.muan.co](http://emoji.muan.co/). The top 5 used Emojis on GitHub are: 1. `:shipit:` 2. `:sparkles:` 3. `:-1:` 4. `:+1:` 5. `:clap:` ### Images/GIFs Images and GIFs can be added to comments, READMEs etc.: ``` ![Alt Text](http://www.sheawong.com/wp-content/uploads/2013/08/keephatin.gif) ``` Raw images from the repo can be used by calling them directly.: ``` ![Alt Text](https://github.com/{user}/{repo}/raw/master/path/to/image.gif) ``` ![Peter don't care](http://www.sheawong.com/wp-content/uploads/2013/08/keephatin.gif) All images are cached on GitHub, so if your host goes down, the image will remain available. #### Embedding Images in GitHub Wiki There are multiple ways of embedding images in Wiki pages. There's the standard Markdown syntax (shown above). But there's also a syntax that allows things like specifying the height or width of the image: ```markdown [[ http://www.sheawong.com/wp-content/uploads/2013/08/keephatin.gif | height = 100px ]] ``` Which produces: ![Just a screenshot](http://i.imgur.com/J5bMf7S.png) ### Quick Quoting When on a comment thread and you want to quote something someone previously said, highlight the text and press `r`, this will copy it into your text box in the block-quote format. ![Quick Quote](https://f.cloud.github.com/assets/296432/124483/b0fa6204-6ef0-11e2-83c3-256c37fa7abc.gif) [*Read more about quick quoting.*](https://github.com/blog/1399-quick-quotes) ### Pasting Clipboard Image to Comments _(Works on Chrome browsers only)_ After taking a screenshot and adding it to the clipboard (mac: `cmd-ctrl-shift-4`), you can simply paste (`cmd-v / ctrl-v`) the image into the comment section and it will be auto-uploaded to github. ![Pasting Clipboard Image to Comments](https://cloud.githubusercontent.com/assets/39191/5794265/39c9b65a-9f1b-11e4-9bc7-04e41f59ea5f.png) [*Read more about issue attachments.*](https://help.github.com/articles/issue-attachments/) ### Quick Licensing When creating a repository, GitHub gives you the option of adding in a pre-made license: ![License](http://i.imgur.com/Chqj4Fg.png) You can also add them to existing repositories by creating a new file through the web interface. When the name `LICENSE` is typed in you will get an option to use a template: ![License](http://i.imgur.com/fTjQict.png) Also works for `.gitignore`. [*Read more about open source licensing.*](https://help.github.com/articles/open-source-licensing/) ### Task Lists In Issues and Pull requests check boxes can be added with the following syntax (notice the space): ``` - [ ] Be awesome - [ ] Prepare dinner - [ ] Research recipe - [ ] Buy ingredients - [ ] Cook recipe - [ ] Sleep ``` ![Task List](http://i.imgur.com/jJBXhsY.png) When they are clicked, they will be updated in the pure Markdown: ``` - [x] Be awesome - [ ] Prepare dinner - [x] Research recipe - [x] Buy ingredients - [ ] Cook recipe - [ ] Sleep ``` [*Read more about task lists.*](https://help.github.com/articles/writing-on-github/#task-lists) #### Task Lists in Markdown Documents In full Markdown documents **read-only** checklists can now be added using the following syntax: ``` - [ ] Mercury - [x] Venus - [x] Earth - [x] Moon - [x] Mars - [ ] Deimos - [ ] Phobos ``` - [ ] Mercury - [x] Venus - [x] Earth - [x] Moon - [x] Mars - [ ] Deimos - [ ] Phobos [*Read more about task lists in markdown documents.*](https://github.com/blog/1825-task-lists-in-all-markdown-documents) ### Relative Links Relative links are recommended in your Markdown files when linking to internal content. ```markdown [Link to a header](#awesome-section) [Link to a file](docs/readme) ``` Absolute links have to be updated whenever the URL changes (e.g., repository renamed, username changed, project forked). Using relative links makes your documentation easily stand on its own. [*Read more about relative links.*](https://help.github.com/articles/relative-links-in-readmes/) ### Metadata and Plugin Support for GitHub Pages Within Jekyll pages and posts, repository information is available within the `site.github` namespace, and can be displayed, for example, using `{{ site.github.project_title }}`. The Jemoji and jekyll-mentions plugins enable [emoji](#emojis) and [@mentions](https://github.com/blog/821) in your Jekyll posts and pages to work just like you'd expect when interacting with a repository on GitHub.com. [*Read more about repository metadata and plugin support for GitHub Pages.*](https://github.com/blog/1797-repository-metadata-and-plugin-support-for-github-pages) ### Viewing YAML Metadata in your Documents Many blogging websites, like [Jekyll](http://jekyllrb.com/) with [GitHub Pages](https://pages.github.com), depend on some YAML-formatted metadata at the beginning of your post. GitHub will render this metadata as a horizontal table, for easier reading ![YAML metadata](https://camo.githubusercontent.com/47245aa16728e242f74a9a324ce0d24c0b916075/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f36343035302f313232383236372f65303439643063362d323761302d313165332d396464382d6131636432323539393334342e706e67) [*Read more about viewing YAML metadata in your documents.*](https://github.com/blog/1647-viewing-yaml-metadata-in-your-documents) ### Rendering Tabular Data GitHub supports rendering tabular data in the form of `.csv` (comma-separated) and `.tsv` (tab-separated) files. ![Tabular data](https://camo.githubusercontent.com/1b6dd0157ffb45d9939abf14233a0cb13b3b4dfe/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3238323735392f3937363436322f33323038336463652d303638642d313165332d393262322d3566323863313061353035392e706e67) [*Read more about rendering tabular data.*](https://github.com/blog/1601-see-your-csvs) ### Rendering PDF GitHub supports rendering PDF: ![PDF](https://cloud.githubusercontent.com/assets/1000669/7492902/f8493160-f42e-11e4-8cea-1cb4f02757e7.png) [*Read more about rendering PDF.*](https://github.com/blog/1974-pdf-viewing) ### Revert a Pull Request After a pull request is merged, you may find it does not help anything or it was a bad decision to merge the pull request. You can revert it by clicking the **Revert** button on the right side of a commit in the pull request page to create a pull request with reverted changes to this specific pull request. ![Revert button](https://camo.githubusercontent.com/0d3350caf2bb1cba53123ffeafc00ca702b1b164/68747470733a2f2f6769746875622d696d616765732e73332e616d617a6f6e6177732e636f6d2f68656c702f70756c6c5f72657175657374732f7265766572742d70756c6c2d726571756573742d6c696e6b2e706e67) [*Read more about reverting pull requests*](https://github.com/blog/1857-introducing-the-revert-button) ### Diffs #### Rendered Prose Diffs Commits and pull requests, including rendered documents supported by GitHub (e.g., Markdown), feature *source* and *rendered* views. ![Source / Rendered view](https://github-images.s3.amazonaws.com/help/repository/rendered_prose_diff.png) Click the "rendered" button to see the changes as they'll appear in the rendered document. Rendered prose view is handy when you're adding, removing, and editing text: ![Rendered Prose Diffs](https://f.cloud.github.com/assets/17715/2003056/3997edb4-862b-11e3-90be-5e9586edecd7.png) [*Read more about rendered prose diffs.*](https://github.com/blog/1784-rendered-prose-diffs) #### Diffable Maps Any time you view a commit or pull request on GitHub that includes geodata, GitHub will render a visual representation of what was changed. [![Diffable Maps](https://f.cloud.github.com/assets/282759/2090660/63f2e45a-8e97-11e3-9d8b-d4c8078b004e.gif)](https://github.com/benbalter/congressional-districts/commit/2233c76ca5bb059582d796f053775d8859198ec5) [*Read more about diffable maps.*](https://github.com/blog/1772-diffable-more-customizable-maps) #### Expanding Context in Diffs Using the *unfold* button in the gutter of a diff, you can reveal additional lines of context with a click. You can keep clicking *unfold* until you've revealed the whole file, and the feature is available anywhere GitHub renders diffs. ![Expanding Context in Diffs](https://f.cloud.github.com/assets/22635/1610539/863c1f64-5584-11e3-82bf-151b406a272f.gif) [*Read more about expanding context in diffs.*](https://github.com/blog/1705-expanding-context-in-diffs) #### Diff or Patch of Pull Request You can get the diff of a Pull Request by adding a `.diff` or `.patch` extension to the end of the URL. For example: ``` https://github.com/tiimgreen/github-cheat-sheet/pull/15 https://github.com/tiimgreen/github-cheat-sheet/pull/15.diff https://github.com/tiimgreen/github-cheat-sheet/pull/15.patch ``` The `.diff` extension would give you this in plain text: ``` diff --git a/README.md b/README.md index 88fcf69..8614873 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ All the hidden and not hidden features of Git and GitHub. This cheat sheet was i - [Merged Branches](#merged-branches) - [Quick Licensing](#quick-licensing) - [TODO Lists](#todo-lists) +- [Relative Links](#relative-links) - [.gitconfig Recommendations](#gitconfig-recommendations) - [Aliases](#aliases) - [Auto-correct](#auto-correct) @@ -381,6 +382,19 @@ When they are clicked, they will be updated in the pure Markdown: - [ ] Sleep (...) ``` #### Rendering and diffing images GitHub can display several common image formats, including PNG, JPG, GIF, and PSD. In addition, there are several ways to compare differences between versions of those image formats. [![Diffable PSD](https://cloud.githubusercontent.com/assets/2546/3165594/55f2798a-eb56-11e3-92e7-b79ad791a697.gif)](https://github.com/blog/1845-psd-viewing-diffing) [*Read more about rendering and diffing images.*](https://help.github.com/articles/rendering-and-diffing-images/) ### Hub [Hub](https://github.com/github/hub) is a command line Git wrapper that gives you extra features and commands that make working with GitHub easier. This allows you to do things like: ```bash $ hub clone tiimgreen/toc ``` [*Check out some more cool commands Hub has to offer.*](https://github.com/github/hub#commands) ### Contribution Guidelines GitHub supports adding 3 different files which help users contribute to your project. These files can either be placed in the root of your repository or a `.github` directory under the root. #### CONTRIBUTING File Adding a `CONTRIBUTING` or `CONTRIBUTING.md` file to either the root of your repository or a `.github` directory will add a link to your file when a contributor creates an Issue or opens a Pull Request. ![Contributing Guidelines](https://camo.githubusercontent.com/71995d6b0e620a9ef1ded00a04498241c69dd1bf/68747470733a2f2f6769746875622d696d616765732e73332e616d617a6f6e6177732e636f6d2f736b697463682f6973737565732d32303132303931332d3136323533392e6a7067) [*Read more about contributing guidelines.*](https://github.com/blog/1184-contributing-guidelines) #### ISSUE_TEMPLATE file You can define a template for all new issues opened in your project. The content of this file will pre-populate the new issue box when users create new issues. Add an `ISSUE_TEMPLATE` or `ISSUE_TEMPLATE.md` file to either the root of your repository or a `.github` directory. [*Read more about issue templates.*](https://github.com/blog/2111-issue-and-pull-request-templates) [Issue template file generator](https://www.talater.com/open-source-templates/) ![GitHub Issue template](https://cloud.githubusercontent.com/assets/25792/13120859/733479fe-d564-11e5-8a1f-a03f95072f7a.png) #### PULL_REQUEST_TEMPLATE file You can define a template for all new pull requests opened in your project. The content of this file will pre-populate the text area when users create pull requests. Add a `PULL_REQUEST_TEMPLATE` or `PULL_REQUEST_TEMPLATE.md` file to either the root of your repository or a `.github` directory. [*Read more about pull request templates.*](https://github.com/blog/2111-issue-and-pull-request-templates) [Pull request template file generator](https://www.talater.com/open-source-templates/) ### Octicons GitHubs icons (Octicons) have now been open sourced. ![Octicons](https://og.github.com/octicons/[email protected]) [*Read more about GitHub's Octicons*](https://octicons.github.com) ### GitHub Student Developer Pack If you are a student you will be eligible for the GitHub Student Developer Pack. This gives you free credit, free trials and early access to software that will help you when developing. ![GitHub Student Developer Pack](http://i.imgur.com/9ru3K43.png) [*Read more about GitHub's Student Developer Pack*](https://education.github.com/pack) ### GitHub Resources | Title | Link | | ----- | ---- | | GitHub Explore | https://github.com/explore | | GitHub Blog | https://github.com/blog | | GitHub Help | https://help.github.com/ | | GitHub Training | https://training.github.com/ | | GitHub Developer | https://developer.github.com/ | | Github Education (Free Micro Account and other stuff for students) | https://education.github.com/ | | GitHub Best Practices | [Best Practices List](https://www.datree.io/resources/github-best-practices) | #### GitHub Talks | Title | Link | | ----- | ---- | | How GitHub Uses GitHub to Build GitHub | https://www.youtube.com/watch?v=qyz3jkOBbQY | | Introduction to Git with Scott Chacon of GitHub | https://www.youtube.com/watch?v=ZDR433b0HJY | | How GitHub No Longer Works | https://www.youtube.com/watch?v=gXD1ITW7iZI | | Git and GitHub Secrets | https://www.youtube.com/watch?v=Foz9yvMkvlA | | More Git and GitHub Secrets | https://www.youtube.com/watch?v=p50xsL-iVgU | ### SSH keys You can get a list of public ssh keys in plain text format by visiting: ``` https://github.com/{user}.keys ``` e.g. [https://github.com/tiimgreen.keys](https://github.com/tiimgreen.keys) [*Read more about accessing public ssh keys.*](https://changelog.com/github-exposes-public-ssh-keys-for-its-users/) ### Profile Image You can get a user's profile image by visiting: ``` https://github.com/{user}.png ``` e.g. [https://github.com/tiimgreen.png](https://github.com/tiimgreen.png) ### Repository Templates You can enable templating on your repository which allows anyone to copy the directory structure and files, allowing them to instantly use the files (e.g. for a tutorial or if writing boilerplate code). This can be enabled in the settings of your repository. ![Convert](https://i.postimg.cc/hGCrVm9F/Template.gif) Changing to a template repository will give a new URL endpoint which can be shared and instantly allows users to use your repository as a template. Alternatively, they can go to your repository and click the 'Use as template' button. ![Template](https://i.postimg.cc/L8PKCHx0/New-Template.gif) [*Read more about using repositories as templates*](https://github.blog/2019-06-06-generate-new-repositories-with-repository-templates/) ## Git ### Remove All Deleted Files from the Working Tree When you delete a lot of files using `/bin/rm` you can use the following command to remove them from the working tree and from the index, eliminating the need to remove each one individually: ```bash $ git rm $(git ls-files -d) ``` For example: ```bash $ git status On branch master Changes not staged for commit: deleted: a deleted: c $ git rm $(git ls-files -d) rm 'a' rm 'c' $ git status On branch master Changes to be committed: deleted: a deleted: c ``` ### Previous Branch To move to the previous branch in Git: ```bash $ git checkout - # Switched to branch 'master' $ git checkout - # Switched to branch 'next' $ git checkout - # Switched to branch 'master' ``` [*Read more about Git branching.*](http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging) ### Stripspace Git Stripspace: - Strips trailing whitespace - Collapses newlines - Adds newline to end of file A file must be passed when calling the command, e.g.: ```bash $ git stripspace < README.md ``` [*Read more about the Git `stripspace` command.*](http://git-scm.com/docs/git-stripspace) ### Checking out Pull Requests Pull Requests are special branches on the GitHub repository which can be retrieved locally in several ways: Retrieve a specific Pull Request and store it temporarily in `FETCH_HEAD` for quickly `diff`-ing or `merge`-ing: ```bash $ git fetch origin refs/pull/[PR-Number]/head ``` Acquire all Pull Request branches as local remote branches by refspec: ```bash $ git fetch origin '+refs/pull/*/head:refs/remotes/origin/pr/*' ``` Or setup the remote to fetch Pull Requests automatically by adding these corresponding lines in your repository's `.git/config`: ``` [remote "origin"] fetch = +refs/heads/*:refs/remotes/origin/* url = [email protected]:tiimgreen/github-cheat-sheet.git ``` ``` [remote "origin"] fetch = +refs/heads/*:refs/remotes/origin/* url = [email protected]:tiimgreen/github-cheat-sheet.git fetch = +refs/pull/*/head:refs/remotes/origin/pr/* ``` For Fork-based Pull Request contributions, it's useful to `checkout` a remote branch representing the Pull Request and create a local branch from it: ```bash $ git checkout pr/42 pr-42 ``` Or should you work on more repositories, you can globally configure fetching pull requests in the global git config instead. ```bash git config --global --add remote.origin.fetch "+refs/pull/*/head:refs/remotes/origin/pr/*" ``` This way, you can use the following short commands in all your repositories: ```bash git fetch origin ``` ```bash git checkout pr/42 ``` [*Read more about checking out pull requests locally.*](https://help.github.com/articles/checking-out-pull-requests-locally/) ### Empty Commits Commits can be pushed with no code changes by adding `--allow-empty`: ```bash $ git commit -m "Big-ass commit" --allow-empty ``` Some use-cases for this (that make sense), include: - Annotating the start of a new bulk of work or a new feature. - Documenting when you make changes to the project that aren't code related. - Communicating with people using your repository. - The first commit of a repository: `git commit -m "Initial commit" --allow-empty`. ### Styled Git Status Running: ```bash $ git status ``` produces: ![git status](http://i.imgur.com/qjPyvXb.png) By adding `-sb`: ```bash $ git status -sb ``` this is produced: ![git status -sb](http://i.imgur.com/K0OY3nm.png) [*Read more about the Git `status` command.*](http://git-scm.com/docs/git-status) ### Styled Git Log Running: ```bash $ git log --all --graph --pretty=format:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative ``` produces: ![git log --all --graph --pretty=format:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative](http://i.imgur.com/58eOtkW.png) Credit to [Palesz](http://stackoverflow.com/users/88355/palesz) *This can be aliased using the instructions found [here](https://github.com/tiimgreen/github-cheat-sheet#aliases).* [*Read more about the Git `log` command.*](http://git-scm.com/docs/git-log) ### Git Query A Git query allows you to search all your previous commit messages and find the most recent one matching the query. ```bash $ git show :/query ``` where `query` (case-sensitive) is the term you want to search, this then finds the last one and gives details on the lines that were changed. ```bash $ git show :/typo ``` ![git show :/query](http://i.imgur.com/icaGiNt.png) *Press `q` to quit.* ### Git Grep Git Grep will return a list of lines matching a pattern. Running: ```bash $ git grep aliases ``` will show all the files containing the string *aliases*. ![git grep aliases](http://i.imgur.com/DL2zpQ9.png) *Press `q` to quit.* You can also use multiple flags for more advanced search. For example: * `-e` The next parameter is the pattern (e.g., regex) * `--and`, `--or` and `--not` Combine multiple patterns. Use it like this: ```bash $ git grep -e pattern --and -e anotherpattern ``` [*Read more about the Git `grep` command.*](http://git-scm.com/docs/git-grep) ### Merged Branches Running: ```bash $ git branch --merged ``` will give you a list of all branches that have been merged into your current branch. Conversely: ```bash $ git branch --no-merged ``` will give you a list of branches that have not been merged into your current branch. [*Read more about the Git `branch` command.*](http://git-scm.com/docs/git-branch) ### Fixup and Autosquash If there is something wrong with a previous commit (can be one or more from HEAD), for example `abcde`, run the following command after you've amended the problem: ```bash $ git commit --fixup=abcde $ git rebase abcde^ --autosquash -i ``` [*Read more about the Git `commit` command.*](http://git-scm.com/docs/git-commit) [*Read more about the Git `rebase` command.*](http://git-scm.com/docs/git-rebase) ### Web Server for Browsing Local Repositories Use the Git `instaweb` command to instantly browse your working repository in `gitweb`. This command is a simple script to set up `gitweb` and a web server for browsing the local repository. ```bash $ git instaweb ``` opens: ![Git instaweb](http://i.imgur.com/Dxekmqc.png) [*Read more about the Git `instaweb` command.*](http://git-scm.com/docs/git-instaweb) ### Git Configurations Your `.gitconfig` file contains all your Git configurations. #### Aliases Aliases are helpers that let you define your own git calls. For example you could set `git a` to run `git add --all`. To add an alias, either navigate to `~/.gitconfig` and fill it out in the following format: ``` [alias] co = checkout cm = commit p = push # Show verbose output about tags, branches or remotes tags = tag -l branches = branch -a remotes = remote -v ``` ...or type in the command-line: ```bash $ git config --global alias.new_alias git_function ``` For example: ```bash $ git config --global alias.cm commit ``` For an alias with multiple functions use quotes: ```bash $ git config --global alias.ac 'add -A . && commit' ``` Some useful aliases include: | Alias | Command | What to Type | | --- | --- | --- | | `git cm` | `git commit` | `git config --global alias.cm commit` | | `git co` | `git checkout` | `git config --global alias.co checkout` | | `git ac` | `git add . -A` `git commit` | `git config --global alias.ac '!git add -A && git commit'` | | `git st` | `git status -sb` | `git config --global alias.st 'status -sb'` | | `git tags` | `git tag -l` | `git config --global alias.tags 'tag -l'` | | `git branches` | `git branch -a` | `git config --global alias.branches 'branch -a'` | | `git cleanup` | `git branch --merged \| grep -v '*' \| xargs git branch -d` | `git config --global alias.cleanup "!git branch --merged \| grep -v '*' \| xargs git branch -d"` | | `git remotes` | `git remote -v` | `git config --global alias.remotes 'remote -v'` | | `git lg` | `git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --` | `git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"` | *Some Aliases are taken from [@mathiasbynens](https://github.com/mathiasbynens) dotfiles: https://github.com/mathiasbynens/dotfiles/blob/master/.gitconfig* #### Auto-Correct Git gives suggestions for misspelled commands and if auto-correct is enabled the command can be fixed and executed automatically. Auto-correct is enabled by specifying an integer which is the delay in tenths of a second before git will run the corrected command. Zero is the default value where no correcting will take place, and a negative value will run the corrected command with no delay. For example, if you type `git comit` you will get this: ```bash $ git comit -m "Message" # git: 'comit' is not a git command. See 'git --help'. # Did you mean this? # commit ``` Auto-correct can be enabled like this (with a 1.5 second delay): ```bash $ git config --global help.autocorrect 15 ``` So now the command `git comit` will be auto-corrected to `git commit` like this: ```bash $ git comit -m "Message" # WARNING: You called a Git command named 'comit', which does not exist. # Continuing under the assumption that you meant 'commit' # in 1.5 seconds automatically... ``` The delay before git will rerun the command is so the user has time to abort. #### Color To add more color to your Git output: ```bash $ git config --global color.ui 1 ``` [*Read more about the Git `config` command.*](http://git-scm.com/docs/git-config) ### Git Resources | Title | Link | | ----- | ---- | | Official Git Site | http://git-scm.com/ | | Official Git Video Tutorials | http://git-scm.com/videos | | Code School Try Git | http://try.github.com/ | | Introductory Reference & Tutorial for Git | http://gitref.org/ | | Official Git Tutorial | http://git-scm.com/docs/gittutorial | | Everyday Git | http://git-scm.com/docs/everyday | | Git Immersion | http://gitimmersion.com/ | | Git God | https://github.com/gorosgobe/git-god | | Git for Computer Scientists | http://eagain.net/articles/git-for-computer-scientists/ | | Git Magic | http://www-cs-students.stanford.edu/~blynn/gitmagic/ | | Git Visualization Playground | http://onlywei.github.io/explain-git-with-d3/#freeplay | | Learn Git Branching | http://pcottle.github.io/learnGitBranching/ | | A collection of useful .gitignore templates | https://github.com/github/gitignore | | Unixorn's git-extra-commands collection of git scripts | https://github.com/unixorn/git-extra-commands | #### Git Books | Title | Link | | ----- | ---- | | Pragmatic Version Control Using Git | https://pragprog.com/titles/tsgit/pragmatic-version-control-using-git | | Pro Git | http://git-scm.com/book | | Git Internals PluralSight | https://github.com/pluralsight/git-internals-pdf | | Git in the Trenches | http://cbx33.github.io/gitt/ | | Version Control with Git | http://www.amazon.com/Version-Control-Git-collaborative-development/dp/1449316387 | | Pragmatic Guide to Git | https://pragprog.com/titles/pg_git/pragmatic-guide-to-git | | Git: Version Control for Everyone | https://www.packtpub.com/application-development/git-version-control-everyone | #### Git Videos | Title | Link | | ----- | ---- | | Linus Torvalds on Git | https://www.youtube.com/watch?v=4XpnKHJAok8 | | Introduction to Git with Scott Chacon | https://www.youtube.com/watch?v=ZDR433b0HJY | | Git From the Bits Up | https://www.youtube.com/watch?v=MYP56QJpDr4 | | Graphs, Hashes, and Compression, Oh My! | https://www.youtube.com/watch?v=ig5E8CcdM9g | | GitHub Training & Guides | https://www.youtube.com/watch?list=PLg7s6cbtAD15G8lNyoaYDuKZSKyJrgwB-&v=FyfwLX4HAxM | #### Git Articles | Title | Link | | ----- | ---- | | GitHub Flow | http://scottchacon.com/2011/08/31/github-flow.html | | Migrating to Git Large File Storate (Git LFS) | http://vooban.com/en/tips-articles-geek-stuff/migrating-to-git-lfs-for-developing-deep-learning-applications-with-large-files/ |
3,144
An interactive Git learning game!
<img src="https://github.com/git-learning-game/oh-my-git/blob/main/images/oh-my-git.png" width="400"> **Oh My Git!** is an open-source game about learning Git! ## Play the game! You can download binaries for Linux, macOS, and Windows [from itch.io](https://blinry.itch.io/oh-my-git)! ## Report bugs! If something doesn't work or looks broken, please let us know! You can describe the issue you're having [in our issue tracker](https://github.com/git-learning-game/oh-my-git/issues). If you have ideas for new features, we'd be excited to hear them! Also in that case, we invite you to [open an issue](https://github.com/git-learning-game/oh-my-git/issues)! ## Build your own level! Wanna build your own level? Great! Here's how to do it: 1. Download the latest version of the [Godot game engine](https://godotengine.org). 1. Clone this repository. 1. Run the game – the easiest way to do so is to run `godot scenes/main.tscn` from the project directory. 1. Get a bit familiar with the levels which are currently there. 1. Take a look into the `levels` directory. It's split into chapters, and each level is a file. 1. Make a copy of an existing level or start writing your own. See the documention of the format below. 1. Write and test your level. If you're happy with it, feel free to send it to us in a pull request! <3 ### Level format ``` title = This is the level's title [description] This text will be shown when the level starts. It describes the task or puzzle the player can solve. [cli] (optional) This text will be shown below the level description in a darker color. It should give hints to the player about command line usage and also maybe some neat tricks. [congrats] This text will be shown after the player has solved the level. Can contain additional information, or bonus exercises. [setup] # Bash commands that set up the initial state of the level. An initial # `git init` is always done automatically. The default branch is called `main`. echo You > people_who_are_awesome git add . git commit -m "Initial commit" [win] # Bash commands that check whether the level is solved. Write these as if you're # writing the body of a Bash function. Make the function return 0 if it's # solved, and a non-zero value otherwise. You can use `return`, and also, Bash # functions return the exit code of the last statement, which sometimes allows # very succinct checks. The comment above the win check will be shown in the game # as win condition text. # Check whether the file has at least two lines in the latest commit: test "$(git show HEAD:people_who_are_awesome | wc -l)" -ge 2 ``` A level can consist of multiple repositories. To have more than one, you can use sections like `[setup <name>]` and `[win <name>]`, where `<name>` is the name of the remote. The default name is "yours". All repositories will add each other as remotes. Refer to the [remote](levels/remotes) levels examples. ### Level guidelines At this stage, we're still exploring ourselves which kind of levels would be fun! So feel free to try new things: basic introductions with a little story? Really hard puzzles? Levels where you have to find information? Levels where you need to fix a problem? Levels with three remotes? ## Contribute code! To open the game in the [Godot editor](https://godotengine.org), run `godot project.godot`. You can then run the game using *F5*. Feel free to make improvements to the code and send pull requests! There is one exception: because merge conflicts in Godot's scene files tends to be hard to resolve, before working on an existing *\*.tscn* file, please get in touch with us. To build your own binaries, you'll need Godot's [export templates](https://docs.godotengine.org/en/stable/getting_started/workflow/export/exporting_projects.html), and `zip`, `wget`, and `7z`. Then, run `make`. On Debian/Ubuntu, the Godot binary is called `godot3`, you might need to adjust the paths in the Makefile. ## Code of Conduct We have a [Code of Conduct](CODE_OF_CONDUCT.md) in place that applies to all project contributions, including issues and pull requests. ## Funded by <a href="https://www.bmbf.de/en/"><img src="https://timelens.io/assets/images/bmbf.svg" alt="Logo of the German Ministry for Education and Research" height="100px"></a>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="https://prototypefund.de/en/"><img src="https://timelens.io/assets/images/prototypefund.svg" alt="Logo of the Prototype Fund" height="100px"></a>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="https://okfn.de/en/"><img src="https://timelens.io/assets/images/okfde.svg" alt="Logo of the Open Knowledge Foundation Germany" height="100px"></a> ## Thanks - "success" sound by [Leszek_Szarzy, CC0](https://freesound.org/people/Leszek_Szary/sounds/171670/) - "swish" sound by [jawbutch, CC0](https://freesound.org/people/jawbutch/sounds/344408/) - "swoosh" sound by [WizardOZ, CC0](https://freesound.org/people/WizardOZ/sounds/419341/) - "poof" sound by [Saviraz, CC0](https://freesound.org/people/Saviraz/sounds/512217/) - "buzzer" sound by [Loyalty_Freak_Music, CC0](https://freesound.org/people/Loyalty_Freak_Music/sounds/407466/) - "typewriter_ding" sound by [_stubb, CC0](https://freesound.org/people/_stubb/sounds/406243/) ## License [Blue Oak Model License 1.0.0](LICENSE.md) – a [modern alternative](https://writing.kemitchell.com/2019/03/09/Deprecation-Notice.html) to the MIT license. It's a a pleasant read! :)
3,145
Provides examples and code snippets for the JGit Java Git implementation
jgit-cookbook ============= [![Build Status](https://github.com/centic9/jgit-cookbook/actions/workflows/gradle-build.yml/badge.svg)](https://github.com/centic9/jgit-cookbook/actions) [![Gradle Status](https://gradleupdate.appspot.com/centic9/jgit-cookbook/status.svg?branch=master)](https://gradleupdate.appspot.com/centic9/jgit-cookbook/status) [![Tag](https://img.shields.io/github/tag/centic9/jgit-cookbook.svg)](https://github.com/centic9/jgit-cookbook/tags) Provides examples and code snippets for the [JGit](https://eclipse.org/jgit/) Java Git implementation. The JGit framework is rich and diverse, it has two layers, a low-level _api_ and a higher-level set of _porcelain_ commands. This can be a bit intimidating at first as there are lots of classes, some of which are not relevant for most tasks. This project tries to provide a collection of ready-to-run snippets which provide a quick start for building functionality using JGit. Please make sure to take a look at the nicely written [introduction](http://www.codeaffine.com/2015/12/15/getting-started-with-jgit/) and also use the existing [JavaDoc](http://download.eclipse.org/jgit/site/6.3.0.202209071007-r/apidocs/) and the [User Guide](http://wiki.eclipse.org/JGit/User_Guide) as well, as they are well done and provide detailed information and a general overview of JGit respectively. *Note: Please use sites such as http://stackoverflow.com for general questions about JGit usage, not issues in this project. Issues should be used for problems with snippets and suggestions of missing snippets. Snippets from good answers on stackoverflow can then be included here, naturally.* #### Getting started ##### Grab it git clone https://github.com/centic9/jgit-cookbook.git ##### Build it and create Eclipse project files ###### When using Maven mvn dependency:sources eclipse:eclipse package ###### When using Gradle ./gradlew eclipse check #### Run it Import the project into your favourite IDE and execute the snippets there. #### Currently the following snippets are available ##### General Repository handling * [Open an existing repository](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/OpenRepository.java) * [Create a new repository](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/CreateNewRepository.java) ##### Porcelain commands * [Initialize a new repository](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/InitRepository.java) * [Add a new file to the index](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/AddFile.java) * [Commit a file to an existing repository](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/CommitFile.java) * [Commit all changes](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/CommitAll.java) * [List commits (i.e. Log)](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/ShowLog.java) * [List all tags in a repository](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/ListTags.java) * [List all branches in a repository](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/ListBranches.java) * [List all commits in a repository](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/WalkAllCommits.java) * [List uncommitted changes of a repository](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/ListUncommittedChanges.java) * [Create and delete branches](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/CreateAndDeleteBranch.java) * [Create and delete tags](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/CreateAndDeleteTag.java) * [List all tags applied on a branch](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/ListTagsOnBranch.java) * [Revert a modified tracked file back to its original state in most recent commit](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/RevertChanges.java) * [Return diff between two branches](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/ShowBranchDiff.java) * [Show diff of changes to a file between two revs](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/ShowFileDiff.java) * [Show diff of changes to all files between two commits](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/ShowChangedFilesBetweenCommits.java) * [Show diff of changes to a file between two commits when the file has been renamed](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/DiffRenamedFile.java) * [Show Status](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/ShowStatus.java) * [Store contents of branch into a compressed file](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/CreateArchive.java) * [Write contents of branch into a compressed file using a custom archive format](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/CreateCustomFormatArchive.java) * [Blame, i.e. find out which commit changed specific lines in a file](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/ShowBlame.java) * [Add and list Notes attached to commits](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/AddAndListNoteOfCommit.java) * [List available Notes](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/ListNotes.java) * [Clean all untracked files](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/CleanUntrackedFiles.java) * [Create, list, apply and drop stashes](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/CreateListApplyAndDropStash.java) * [Run garbage collection](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/CollectGarbage.java) * [Blame, i.e. retrieve information who last changed which line in a file](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/BlameFile.java) * [Merge changes from a branch](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/MergeChanges.java) * [List changed files between two commits](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/DiffFilesInCommit.java) ##### Commands working with remote repositories * [Clone a remote repository into a new local directory](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/CloneRemoteRepository.java) * [Iterate remote references in a repository](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/ListRemotes.java) * [List remote heads/tags without a local clone](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/ListRemoteRepository.java) * [Fetch from remote repositories](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/FetchRemoteCommits.java) * [Fetch from remote repositories and use 'prune' to remove outdated remote branches/tags](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/FetchRemoteCommitsWithPrune.java) * [Fetch from remote repositories via ssh protocol](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/FetchRemoteCommitsWithSshAuth.java) * [Clone a remote repository via SSH protocol and username/password credentials](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/CloneRemoteRepositoryWithAuthentication.java) * [Rebase onto an upstream branch](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/RebaseToOriginMaster.java) * [Using InMemoryRepository to clone a Git repo in-memory and work from there](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/CloneRemoteRepositoryIntoMemoryAndReadFile.java) * [Checkout a PR from GitHub](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/CheckoutGitHubPullRequest.java) * [Push to a remote repository](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/PushToRemoteRepository.java) * [Set remote tracking branch](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/porcelain/TrackMaster.java) ##### Low-level API * [Get the SHA-1 ref from a name, e.g. refs/heads/master](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/api/GetRefFromName.java) * [Get the commit-object from a name or a SHA-1](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/api/GetRevCommitFromObjectId.java) * [Get the commit-message](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/api/GetCommitMessage.java) * [Get the tree-object from a commit-object, name or SHA-1](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/api/GetRevTreeFromObjectId.java) * [Read the contents of a file/blob](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/api/ReadBlobContents.java) * [Get the tag-object from a name or a SHA-1](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/api/ReadTagFromName.java) * [Resolve complex references, e.g. HEAD^^ to a SHA-1](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/api/ResolveRef.java) * [Iterate over the commits on a branch](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/api/WalkRev.java) * [Iterate over a range of commits](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/api/WalkFromToRev.java) * [Read contents of a specific file from a specific commit](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/api/ReadFileFromCommit.java) * [List remotes configured for the current repository](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/api/PrintRemotes.java) * [Print out user information from Git](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/api/ReadUserConfig.java) * [Read file attributes, e.g. executable state, file or directory, size, ...](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/api/GetFileAttributes.java) * [Use class BranchTrackingStatus to retrieve number of commits ahead/behind compared to remote branches](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/api/ShowBranchTrackingStatus.java) * [Check if commits on other branches are merged into a given branch](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/api/CheckMergeStatusOfCommit.java) * [List files in a directory as-of a specific commit or a tag](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/api/ListFilesOfCommitAndTag.java) * [Iterate over files of a commit recursively](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/api/WalkTreeRecursive.java) * [Iterate over files of a commit non-recursively](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/api/WalkTreeNonRecursive.java) * [Find all commits that are reachable via tags, branches, remotes, HEADs, ...](https://github.com/centic9/jgit-cookbook/blob/master/src/main/java/org/dstadler/jgit/api/WalkAllCommits.java) ##### GitServlet * There is a standalone sub-project in directory [httpserver](https://github.com/centic9/jgit-cookbook/blob/master/httpserver) which starts up a simple HTTP Git server based on the JGit GitServlet. Just import the project in your IDE and start up the `Main` application, see the Comments in the code for more details. Another simple way to start the sample-server is to run `./gradlew run` in the httpserver-directory. #### Useful code elsewhere ##### cf-ops-automation-broker * Implementation of a simple git server serving anynymous `git:` protocol: https://github.com/orange-cloudfoundry/cf-ops-automation-broker/blob/8bcb286652fae2b8fe2ccc9f67c53cb0272bcbd0/cf-ops-automation-broker-core/src/main/java/com/orange/oss/cloudfoundry/broker/opsautomation/ondemandbroker/git/GitServer.java * Usage in tests: https://github.com/orange-cloudfoundry/cf-ops-automation-broker/blob/8bcb286652fae2b8fe2ccc9f67c53cb0272bcbd0/cf-ops-automation-bosh-broker/src/test/java/com/orange/oss/cloudfoundry/broker/opsautomation/ondemandbroker/sample/BoshServiceProvisionningTest.java#L134 #### Missing snippets * Iterate all commits of a repository: https://gerrit.googlesource.com/plugins/branch-network/+log/refs/heads/master/src/main/java/com/googlesource/gerrit/plugins/branchnetwork/data/JGitFacade.java * Take some of the unit tests as example: https://github.com/eclipse/jgit/tree/master/org.eclipse.jgit.test/tst/org/eclipse/jgit/api * SubModules: http://stackoverflow.com/questions/13426798/jgit-read-gitmodules http://www.codeaffine.com/2014/04/16/how-to-manage-git-submodules-with-jgit/ https://stackoverflow.com/questions/26090139/jgit-reading-commits-from-a-submodule https://download.eclipse.org/jgit/site/6.3.0.202209071007-r/apidocs/org/eclipse/jgit/submodule/package-frame.html * Diffing: http://stackoverflow.com/questions/12987364/how-to-diff-with-two-files-by-jgit-without-creating-repo * Amend a previous commit: http://stackoverflow.com/questions/4772142/jgit-unstaging-files-removing-files-from-the-index-and-ammending-a-commit * Remove a file from the index: http://stackoverflow.com/questions/4803462/jgit-java-git-library-unstaging-files * Git repo on Amazon S3: http://stackoverflow.com/questions/8744611/git-repository-on-s3-as-origin-not-as-backup http://stackoverflow.com/questions/7031729/publish-to-s3-using-git http://www.fancybeans.com/blog/2012/08/24/how-to-use-s3-as-a-private-git-repository/ * CherryPick: http://download.eclipse.org/jgit/site/6.3.0.202209071007-r/apidocs/org/eclipse/jgit/api/CherryPickCommand.html http://stackoverflow.com/questions/18300898/how-to-cherry-pick-a-commit-that-has-more-than-one-parent * More authentication: http://www.lordofthejars.com/2016/09/authenticating-with-jgit.html * How to do a shallow clone (i.e. --depth 1) as soon as https://bugs.eclipse.org/bugs/show_bug.cgi?id=475615 is implemented #### Support this project If you find these snippets useful and would like to support it, you can [Sponsor the author](https://github.com/sponsors/centic9) #### Sources The following sources were used to build the snippets: * [JGit JavaDoc](http://download.eclipse.org/jgit/site/6.3.0.202209071007-r/apidocs/) * [JGit User Guide](http://wiki.eclipse.org/JGit/User_Guide) * [JGit related questions on stackoverflow](http://stackoverflow.com/questions/tagged/jgit) * [AlBlue's Blog: Embedding JGit](http://alblue.bandlem.com/2013/11/embedding-jgit.html) * [JGit main page](http://www.eclipse.org/jgit/) #### Other applications using JGit * EGit - Git plugin for Eclipse - https://www.eclipse.org/egit/ * Gerrit - A web-based team code collaboration tool - https://www.gerritcodereview.com * Gitiles - A simple Git repository browser - http://code.google.com/p/gitiles/ and https://android.googlesource.com * JGitFS - A userfs implementation which allows to browse branches, tags, committs as a directory structure - https://github.com/centic9/JGitFS * jgitstats - displays repository stats - https://github.com/selesse/jgitstats * git-to-solr - Index git history into a Solr repository - https://github.com/arafalov/git-to-solr * Elegit - GUI client for people who want to learn Git - https://github.com/dmusican/Elegit * Grgit - A wrapper over JGit that provides a fluent API for interacting with Git repositories in Groovy-based tooling - https://github.com/ajoberstar/grgit * jgitver A library to calculate a project semver compatible version from a git repository and its content - https://github.com/jgitver/jgitver * gitective - Investigate Git repositories via filters - https://github.com/kevinsawicki/gitective * RJGit - A JRuby wrapper around the JGit library - https://github.com/repotag/rjgit * KGit - A Kotlin Wrapper of JGit - https://github.com/sya-ri/KGit * Jabylon - A web based translation tool - https://github.com/jutzig/jabylon/ - [GitTeamProvider.java](https://github.com/jutzig/jabylon/blob/master/org.jabylon.team.git/src/main/java/org/jabylon/team/git/GitTeamProvider.java) Ruby Build #### Contribute Please note that the list of snippets is not yet complete, probably never will. If you are missing things or have suggestions how to improve or add snippets, please either send pull requests or create [issues](https://github.com/centic9/jgit-cookbook/issues). #### Licensing Copyright 2013-2020 Dominik Stadler Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0) Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
3,146
A collection about awesome blockchains - open distributed public databases w/ crypto hashes incl. git ;-). Blockchains are the new tulips :tulip::tulip::tulip:. Distributed is the new centralized.
Mining Digital Gold one Block at a Time?! • Don't Expect to Get Insanely Rich (Quick) • Tulips :tulip::tulip::tulip: (like Blockchains) are Great and Gorgeous (and will Endure) ```ruby b0 = Block.first( { from: "Dutchgrown", to: "Vincent", what: "Tulip Bloemendaal Sunset", qty: 10 }, { from: "Keukenhof", to: "Anne", what: "Tulip Semper Augustus", qty: 7 } ) b1 = Block.next( b0, { from: "Flowers", to: "Ruben", what: "Tulip Admiral van Eijck", qty: 5 }, { from: "Vicent", to: "Anne", what: "Tulip Bloemendaal Sunset", qty: 3 }, { from: "Anne", to: "Julia", what: "Tulip Semper Augustus", qty: 1 }, { from: "Julia", to: "Luuk", what: "Tulip Semper Augustus", qty: 1 } ) ... ``` (Source: [`blockchain_with_transactions.rb`](blockchain.rb/blockchain_with_transactions.rb)) # Awesome Blockchains A collection about awesome blockchains - open distributed databases w/ crypto hashes incl. git ;-). Blockchains are the new tulips :tulip::tulip::tulip:. Contents: - [Frequently Asked Questions (F.A.Q.s) & Answers](#frequently-asked-questions-faqs--answers) - [Do-It-Yourself (DIY) - Build Your Own Blockchain](#do-it-yourself-diy---build-your-own-blockchain) - [Python](#python) • [Ruby](#ruby) • [JavaScript](#javascript) • [Java](#java) • [Go](#go) - [Blockchain Articles](#blockchain-articles) - [Blockchain Books](#blockchain-books) - [Blockchain (Lite) Crypto Hash Libraries](#blockchain-lite-crypto-hash-libraries) - [Git, Git, Git - The Stupid Content Tracker with Crypto Hashes](#git-git-git---the-stupid-content-tracker-with-crypto-hashes) - [Classic Tulip Mania](#classic-tulip-mania) - [Awesome Awesomeness](#awesome-awesomeness) ## What's News? For blockchain books, see the new [**Best of Crypto Books page »**](https://openblockchains.github.io/crypto-books/) ### The Open Blockchains Book of the Year 2020 Award Goes To... ![](i/libra-shrugged.png) [**Libra Shrugged: How Facebook Tried to Take Over the Money**](https://davidgerard.co.uk/blockchain/libra/) by David Gerard, November 2020, 182 Pages -- _Introduction: Taking over the money ++ A user's guide to Libra ++ The genesis of Libra: Beller's blockchain ++ To launch a Libra: Let’s start a crypto ++ Bitcoin: why Libra is like this ++ The Libra White Papers ++ Banking the unbanked ++ The Libra Reserve plan and economic stability ++ Libra, privacy and your digital identity ++ The regulators recoil in horror ++ David Marcus before the US House and Senate ++ July to September 2019: Libra runs the gauntlet ++ October 2019: Libra's bad month ++ Mark Zuckerberg before the US House ++ November 2019: The comedown ++ Central bank digital currencies ++ Epilogue: Libra 2.0: not dead yet ++ Appendix: 2010–2013: The rise and fall of Facebook Credits_ For more about Diem (formerly Libra), see the [Awesome Diem (formerly Libra) and Move page »](https://github.com/openblockchains/awesome-diem) --- For crypto quotes, see the new [**100+ Best of Crypto Quotes - I HODL, you HODL, we HODL! - BREAKING: BITCOIN JUST BROKE $22 000! page »**](https://github.com/openblockchains/crypto-quotes) ### The Best Crypto Quote "Oracle Saying" of the Year 2020 Award Goes To... > SEC Investor Education: > - Don't understand an investment? > - Don't invest in it. Yes, but what if there's only 21 million of it? \- Trolly McTrollface ## Frequently Asked Questions (F.A.Q.s) & Answers **Q: What's a Blockchain?** A: A blockchain is a distributed database with a list (that is, chain) of records (that is, blocks) linked and secured by digital fingerprints (that is, cryptho hashes). Example from [`blockchain.rb`](blockchain.rb/blockchain.rb): ``` [#<Block:0x1eed2a0 @timestamp = 1637-09-15 20:52:38, @data = "Genesis", @previous_hash = "0000000000000000000000000000000000000000000000000000000000000000", @hash = "edbd4e11e69bc399a9ccd8faaea44fb27410fe8e3023bb9462450a0a9c4caa1b">, #<Block:0x1eec9a0 @timestamp = 1637-09-15 21:02:38, @data = "Transaction Data...", @previous_hash = "edbd4e11e69bc399a9ccd8faaea44fb27410fe8e3023bb9462450a0a9c4caa1b", @hash = "eb8ecbf6d5870763ae246e37539d82e37052cb32f88bb8c59971f9978e437743">, #<Block:0x1eec838 @timestamp = 1637-09-15 21:12:38, @data = "Transaction Data......", @previous_hash = "eb8ecbf6d5870763ae246e37539d82e37052cb32f88bb8c59971f9978e437743", @hash = "be50017ee4bbcb33844b3dc2b7c4e476d46569b5df5762d14ceba9355f0a85f4">, ... ``` ![](i/blockchain-jesus.png) **Q: What's a Hash? What's a (One-Way) Crypto(graphic) Hash Digest Checksum**? A: A hash e.g. `eb8ecbf6d5870763ae246e37539d82e37052cb32f88bb8c59971f9978e437743` is a small digest checksum calculated with a one-way crypto(graphic) hash digest checksum function e.g. SHA256 (Secure Hash Algorithm 256 Bits) from the data. Example from [`blockchain.rb`](blockchain.rb/blockchain.rb): ```ruby def calc_hash sha = Digest::SHA256.new sha.update( @timestamp.to_s + @previous_hash + @data ) sha.hexdigest ## returns "eb8ecbf6d5870763ae246e37539d82e37052cb32f88bb8c59971f9978e437743" end ``` A blockchain uses - the block timestamp (e.g. `1637-09-15 20:52:38`) and - the hash from the previous block (e.g. `edbd4e11e69bc399a9ccd8faaea44fb27410fe8e3023bb9462450a0a9c4caa1b`) and finally - the block data (e.g. `Transaction Data...`) to calculate the new hash digest checksum, that is, the hash e.g. `be50017ee4bbcb33844b3dc2b7c4e476d46569b5df5762d14ceba9355f0a85f4`. **Q: What's a Merkle Tree?** A: A Merkle tree is a hash tree named after Ralph Merkle who patented the concept in 1979 (the patent expired in 2002). A hash tree is a generalization of hash lists or hash chains where every leaf node (in the tree) is labelled with a data block and every non-leaf node (in the tree) is labelled with the crypto(graphic) hash of the labels of its child nodes. For more see the [Merkle tree](https://en.wikipedia.org/wiki/Merkle_tree) Wikipedia Article. Note: By adding crypto(graphic) hash functions you can "merkelize" any data structure. **Q: What's a Merkelized DAG (Directed Acyclic Graph)?** A: It's a blockchain secured by crypto(graphic) hashes that uses a directed acyclic graph data structure (instead of linear "classic" linked list). Note: Git uses merkelized dag (directed acyclic graph)s for its blockchains. **Q: Is the Git Repo a Blockchain?** A: Yes, every branch in the git repo is a blockchain. The "classic" Satoshi-blockchain is like a git repo with a single master branch (only). ## Do-It-Yourself (DIY) - Build Your Own Blockchain ![](i/fake-dilbert-blockchain.png) [Python](#python) • [Ruby](#ruby) • [JavaScript](#javascript) • [Java](#java) • [Go](#go) ### Python **Let's Build the Tiniest Blockchain in Python Series** by Gerald Nash - [**Let's Build the Tiniest Blockchain In Less Than 50 Lines of Python (Part 1)**](https://medium.com/crypto-currently/lets-build-the-tiniest-blockchain-e70965a248b), July 2016 - [**Let's Make the Tiniest Blockchain Bigger With More Lines of Python (Part 2)**](https://medium.com/crypto-currently/lets-make-the-tiniest-blockchain-bigger-ac360a328f4d), July 2016 <!-- break --> [**Build Your Own Blockchain: A Python Tutorial**](http://ecomunsing.com/build-your-own-blockchain) by Eric Munsing, March 2017, [(Source)](https://github.com/emunsing/tutorials/blob/master/BuildYourOwnBlockchain.ipynb) [**Learn Blockchains by Building One (in Python)**](https://hackernoon.com/learn-blockchains-by-building-one-117428612f46) by Daniel van Flymen, September 2017, [(Source)](https://github.com/dvf/blockchain) -- The fastest way to learn how Blockchains work is to build one **Build Your Own Blockchain (in Python 3) Series** by Jack Schultz, [(Source)](https://github.com/jackschultz/jbc) - [**Part 1: Creating, Storing, Syncing, Displaying, Mining, and Proving Work**](https://bigishdata.com/2017/10/17/write-your-own-blockchain-part-1-creating-storing-syncing-displaying-mining-and-proving-work/), October 2017 - [**Part 2: Syncing Chains From Different Nodes**](https://bigishdata.com/2017/10/27/build-your-own-blockchain-part-2-syncing-chains-from-different-nodes/), October 2017 - [**Part 3: Writing Nodes that Mine and Talk**](https://bigishdata.com/2017/11/02/build-your-own-blockchain-part-3-writing-nodes-that-mine/), November 2017 <!-- break --> [**A Practical Introduction to Blockchain with Python**](http://adilmoujahid.com/posts/2018/03/intro-blockchain-bitcoin-python/) by Adil Moujahid, March 2018, [(Source)](https://github.com/adilmoujahid/blockchain-python-tutorial) ### Ruby [**How Does Bitcoin Force Consensus Among Byzantine Generals?**](http://www.akitaonrails.com/2017/11/01/how-does-bitcoin-force-consensus-among-byzantine-generals) by Fabio Akita, November 2017 [**blockchain-lite - Build your own blockchains with crypto hashes; revolutionize the world with blockchains, blockchains, blockchains one block at a time!**](https://planetruby.github.io/calendar/advent2017/01-blockchain-lite) by Gerald Bauer, Ruby Advent Calendar 2017 / Day 1, December 2017 [**merkletree library - Build Your Own Crypto Hash Trees; Grow Your Own Money on Trees**](https://planetruby.github.io/calendar/advent2017/19-merkletree.html) by Gerald Bauer, Ruby Advent Calendar 2017 / Day 19, December 2017 [**centralbank command line tool (and library) - Print Your Own Money / Cryptocurrency; Run Your Own Federated Central Bank Nodes on the Blockchain Peer-to-Peer over HTTP**](https://planetruby.github.io/calendar/advent2017/24-centralbank.html) by Gerald Bauer, Ruby Advent Calendar 2017 / Day 24, December 2017 [**A guide to building a blockchain & cryptocurrency from scratch**](https://antoinefink.com/building-a-blockchain-and-cryptocurrency-in-ruby) [(Source)](https://github.com/antoinefink/melon) by Antoine Fink, April 2021 ### Crystal [**Write your own blockchain and Proof-of-Work (PoW) algorithm using Crystal**](https://medium.com/@bradford_hamilton/write-your-own-blockchain-and-pow-algorithm-using-crystal-d53d5d9d0c52) by Bradford Lamson-Scribner, May 2018, [(Source)](https://github.com/bradford-hamilton/crystal-blockchain) ### JavaScript [**Writing a Tiny Blockchain in JavaScript**](https://www.savjee.be/2017/07/Writing-tiny-blockchain-in-JavaScript/) by Xavier Decuyper, July 2017 [**Node.js Blockchain Imlementation: BrewChain: Chain+WebSockets+HTTP Server**](http://www.darrenbeck.co.uk/blockchain/nodejs/nodejscrypto/) by Darren Beck, November 2017, [(Source)](https://github.com/dbbddb/BrewChain) -- Protecting the tea making ledger from unscrupulous colleagues [**Build your own Blockchain in Javascript/Visualization of Blockchains**](https://github.com/nambrot/blockchain-in-js) by Nam Chu Hoai, January 2018 ### TypeScript [**Naivecoin: a tutorial for building a cryptocurrency**](https://lhartikk.github.io) by Lauri Hartikka, [(Source)](https://github.com/lhartikk/naivecoin) ### Java [**Creating Your First Blockchain with Java, Part 1**](https://medium.com/programmers-blockchain/create-simple-blockchain-java-tutorial-from-scratch-6eeed3cb03fa) by Kass, December 2017, [(Source)](https://github.com/CryptoKass/NoobChain-Tutorial-Part-1) ### Kotlin [**Let's implement a cryptocurrency in Kotlin**](https://medium.com/@vasilyf/lets-implement-a-cryptocurrency-in-kotlin-part-1-blockchain-8704069f8580) by Vasily Fomin, July 2018, [(Source)](https://github.com/VasilyFomin/kCoin) ### SQL [**Blockchain by Example in SQL Server**](https://medium.com/@benjaminsky/blockchain-by-example-in-sql-server-8376b410128) by Benjamin Campbell, December 2017, [(Source)](https://github.com/benjaminsky/BlockchainMessenger) ### Rust **Building Blockchain in Rust Series** by Jacob Lindahl, GeekLaunch, [(Source)](https://github.com/GeekLaunch/blockchain-rust), [(Slide Decks in PDF)](https://github.com/GeekLaunch/slides) - [**Part 1: Blocks and Hashing**](https://medium.com/geeklaunch/blockchain-in-rust-01-blocks-hashing-4192f2265d3d), January 2019 - [**Part 2: Mining**](https://medium.com/geeklaunch/blockchain-in-rust-02-mining-companion-guide-9106b7a7696d), January 2019 - [**Part 3: Chains and Checks**](https://medium.com/geeklaunch/blockchain-in-rust-03-chains-checks-companion-guide-2714e1a76654), January 2019 ### Go **Building Blockchain in Go Series** by Ivan Kuznetsov, [(Source)](https://github.com/Jeiwan/blockchain_go) - [**Part 1: Basic Prototype**](https://jeiwan.cc/posts/building-blockchain-in-go-part-1/), August 2017 - [**Part 2: Proof-of-Work**](https://jeiwan.cc/posts/building-blockchain-in-go-part-2/), August 2017 - [**Part 3: Persistence and CLI**](https://jeiwan.cc/posts/building-blockchain-in-go-part-3/), August 2017 - [**Part 4: Transactions 1**](https://jeiwan.cc/posts/building-blockchain-in-go-part-4/), September 2017 - [**Part 5: Addresses**](https://jeiwan.cc/posts/building-blockchain-in-go-part-5/), September 2017 - [**Part 6: Transactions 2**](https://jeiwan.cc/posts/building-blockchain-in-go-part-6/), September 2017 - [**Part 7: Network**](https://jeiwan.cc/posts/building-blockchain-in-go-part-7/), October 2017 <!-- break --> Blockchain Series in Go by by Coral Health [(Source)](https://github.com/mycoralhealth/blockchain-tutorial) - [**Code your own blockchain in less than 200 lines of Go!**](https://medium.com/@mycoralhealth/code-your-own-blockchain-in-less-than-200-lines-of-go-e296282bcffc) by Coral Health, January 2018 - [**Part 2: Networking — Code your own blockchain in less than 200 lines of Go!**](https://medium.com/@mycoralhealth/part-2-networking-code-your-own-blockchain-in-less-than-200-lines-of-go-17fe1dad46e1) by Coral Health, February 2018 - [**Code your own blockchain mining algorithm in Go!**](https://medium.com/@mycoralhealth/code-your-own-blockchain-mining-algorithm-in-go-82c6a71aba1f) by Coral Health, March 2018 <!-- it's more about bitcoin (and not about blockchain really) ### C# [**Programming The Blockchain in C#**](https://programmingblockchain.gitbooks.io/programmingblockchain/) --> ### Talk Notes - [**Blockchain! Blockchain! Blockchain! - Build Your Own Blockchains in JavaScript from Zero (Scratch)**](https://github.com/geraldb/talks/blob/master/blockchain.md) by Gerald Bauer, Vienna.js, September 2017 - [**Blockchain! Blockchain! Blockchain! - Build Your Own Blockchains in Ruby from Zero (Scratch)**](https://github.com/geraldb/talks/blob/master/blockchain_ruby.md) by Gerald Bauer, Vienna.rb, Dezember 2017 - [**Blockchain vs (Hyper) Ledger -- Inside (Hyper) Ledger Lite - Add Transactions One Block at a Time and Balance the Accounts (Books)**](https://github.com/geraldb/talks/blob/master/hyperledger.md) by Gerald Bauer, Hyperledger Vienna, March 2018 - [**Blockchain! Blockchain! Blockchain! - Build Your Own Blockchains in Go from Zero (Scratch)**](https://github.com/geraldb/talks/blob/master/blockchain_go.md) by Gerald Bauer, Vienna.go, April 2018 ### More See [**Build your own Blockchain / Cryptocurrency**](https://github.com/danistefanovic/build-your-own-x#build-your-own-blockchain--cryptocurrency) @ Build your own (insert technology here) ### Samples #### Blockchain from Scratch - Ruby Version ```ruby class Block attr_reader :timestamp attr_reader :data attr_reader :previous_hash attr_reader :hash def initialize(data, previous_hash) @timestamp = Time.now @data = data @previous_hash = previous_hash @hash = calc_hash end def self.first( data="Genesis" ) # create genesis (big bang! first) block ## note: uses all zero for previous_hash ("0") Block.new( data, "0000000000000000000000000000000000000000000000000000000000000000" ) end def self.next( previous, data="Transaction Data..." ) Block.new( data, previous.hash ) end private def calc_hash sha = Digest::SHA256.new sha.update( @timestamp.to_s + @previous_hash + @data ) sha.hexdigest end end # class Block ##### ## let's get started ## build a blockchain a block at a time b0 = Block.first( "Genesis" ) b1 = Block.next( b0, "Transaction Data..." ) b2 = Block.next( b1, "Transaction Data......" ) b3 = Block.next( b2, "More Transaction Data..." ) blockchain = [b0, b1, b2, b3] pp blockchain ``` (Source: [`blockchain.rb`](blockchain.rb/blockchain.rb)) will pretty print (pp) something like: ``` [#<Block:0x1eed2a0 @timestamp = 1637-09-15 20:52:38, @data = "Genesis", @previous_hash = "0000000000000000000000000000000000000000000000000000000000000000", @hash = "edbd4e11e69bc399a9ccd8faaea44fb27410fe8e3023bb9462450a0a9c4caa1b">, #<Block:0x1eec9a0 @timestamp = 1637-09-15 21:02:38, @data = "Transaction Data...", @previous_hash = "edbd4e11e69bc399a9ccd8faaea44fb27410fe8e3023bb9462450a0a9c4caa1b", @hash = "eb8ecbf6d5870763ae246e37539d82e37052cb32f88bb8c59971f9978e437743">, #<Block:0x1eec838 @timestamp = 1637-09-15 21:12:38, @data = "Transaction Data......", @previous_hash = "eb8ecbf6d5870763ae246e37539d82e37052cb32f88bb8c59971f9978e437743", @hash = "be50017ee4bbcb33844b3dc2b7c4e476d46569b5df5762d14ceba9355f0a85f4">, #<Block:0x1eec6d0 @timestamp = 1637-09-15 21:22:38, @data = "More Transaction Data...", @previous_hash = "be50017ee4bbcb33844b3dc2b7c4e476d46569b5df5762d14ceba9355f0a85f4", @hash = "5ee2981606328abfe0c3b1171440f0df746c1e1f8b3b56c351727f7da7ae5d8d">] ``` Comments from the [reddit ruby posting](https://www.reddit.com/r/ruby/comments/70c30f/build_your_own_blockchain_in_20_lines_of_ruby/): > Wait, so a blockchain is just a linked list? > >> No. A linked list is only required to have a reference to the previous element, a block must >> have an identifier depending on the previous block's identifier, meaning that you cannot >> replace a block without recomputing every single block that comes after. >> In this implementation that happens as the previous digest is input in the calc_hash method. **What about Proof of Work / Waste?** Let's add a proof of work / waste to the blockchain. In the classic blockchain you have to compute a block hash that starts with leading zeros (`00`). The more leading zeros the harder (more difficult) to compute. Let's keep it easy to compute with two leading zeros (`00`), that is, 16^2 = 256 possibilites (^1,2). Three leading zeros (`000`) would be 16^3 = 4_096 possibilites and four zeros (`0000`) would be 16^4 = 65_536 and so on. (^1): 16 possibilties because it's a hex or hexadecimal or base 16 number, that is, `0` `1` `2` `3` `4` `6` `7` `8` `9` `a` (10) `b` (11) `c` (12) `d` (13) `e` (14) `f` (15). (^2): A random secure hash algorithm needs on average 256 tries (might be lets say 305 tries, for example, because it's NOT a perfect statistic distribution of possibilities). Example: ```ruby def compute_hash_with_proof_of_work( difficulty="00" ) nonce = 0 loop do hash = calc_hash_with_nonce( nonce ) if hash.start_with?( difficulty ) return [nonce,hash] ## bingo! proof of work if hash starts with leading zeros (00) else nonce += 1 ## keep trying (and trying and trying) end end end def calc_hash_with_nonce( nonce=0 ) sha = Digest::SHA256.new sha.update( nonce.to_s + @timestamp.to_s + @previous_hash + @data ) sha.hexdigest end ``` (Source: [`blockchain_with_proof_of_work.rb`](blockchain.rb/blockchain_with_proof_of_work.rb)) Let's rerun the sample with the proof of work machinery added. Now the sample will pretty print (pp) something like: ``` [#<Block:0x1e204f0 @timestamp = 1637-09-20 20:13:38, @data = "Genesis", @previous_hash = "0000000000000000000000000000000000000000000000000000000000000000", @nonce = 242, @hash = "00b8e77e27378f9aa0afbcea3a2882bb62f6663771dee053364beb1887e18bcf">, #<Block:0x1e56e20 @timestamp = 1637-09-20 20:23:38, @data = "Transaction Data...", @previous_hash = "00b8e77e27378f9aa0afbcea3a2882bb62f6663771dee053364beb1887e18bcf", @nonce = 46, @hash = "00aae8d2e9387e13c71b33f8cd205d336ac250d2828011f5970062912985a9af">, #<Block:0x1e2bd58 @timestamp = 1637-09-20 20:33:38, @data = "Transaction Data......", @previous_hash = "00aae8d2e9387e13c71b33f8cd205d336ac250d2828011f5970062912985a9af", @nonce = 350, @hash = "00ea45e0f4683c3bec4364f349ee2b6816be0c9fd95cfd5ffcc6ed572c62f190">, #<Block:0x1fa8338 @timestamp = 1637-09-20 20:43:38, @data = "More Transaction Data...", @previous_hash = "00ea45e0f4683c3bec4364f349ee2b6816be0c9fd95cfd5ffcc6ed572c62f190", @nonce = 59, @hash = "00436f0fca677652963e904ce4c624606a255946b921132d5b1f70f7d86c4ab8">] ``` See the difference? All hashes now start with leading zeros (`00`) and the nonce is the random "lucky number" that makes it happen. That's the magic behind the proof of work. ##### Blockchain from Scratch - JavaScript Version ```js class Block { constructor(data, previousHash) { this.timestamp = new Date() this.data = data this.previousHash = previousHash this.hash = this.calcHash() } calcHash() { var sha = SHA256.create() sha.update( this.timestamp.toString() + this.previousHash + this.data ) return sha.hex() } static first( data="Genesis" ) { // create genesis (big bang! first) block // uses all-zero previousHash return new Block( data, "0000000000000000000000000000000000000000000000000000000000000000" ) } static next( previous, data="Transaction Data..." ) { return new Block( data, previous.hash ) } } ////// // let's get started // build a blockchain a block at a time b0 = Block.first( "Genesis" ) b1 = Block.next( b0, "Transaction Data..." ) b2 = Block.next( b1, "Transaction Data......" ) b3 = Block.next( b2, "More Transaction Data..." ) blockchain = [b0, b1, b2, b3] console.log( blockchain ) ``` (Source: [`blockchain.js`](blockchain.js/blockchain.js)) will log something like: ``` [ Block { timestamp : 1637-09-18 08:25:54, data : 'Genesis', previousHash : '0000000000000000000000000000000000000000000000000000000000000000', hash : 'c396de4c03ddb5275661982adc75ce5fc5905d2a2457d1266c74436c1f3c50f1' }, Block { timestamp : 1637-09-18 08:35:54, data : 'Transaction Data...', previousHash : 'c396de4c03ddb5275661982adc75ce5fc5905d2a2457d1266c74436c1f3c50f1', hash : '493131e09c069645c82795c96e4715cea0f5558be514b5096d853a5b9899154a' }, Block { timestamp : 1637-09-18 08:45:54, data : 'Transaction Data......', previousHash : '493131e09c069645c82795c96e4715cea0f5558be514b5096d853a5b9899154a', hash : '97aa3cb5052615d60ff8e6b41bef606562588c4874f011970ac2f218e2f0f4a8' }, Block { timestamp : 1637-09-18 08:55:54, data : 'More Transaction Data...', previousHash : '97aa3cb5052615d60ff8e6b41bef606562588c4874f011970ac2f218e2f0f4a8', hash : 'e10e020f832e46c2b60e1c3c0412bd370b2fde5f0f782c16eb87d0313ea0d3a3' } ] ``` ## Blockchain Articles [**Reflections on the Blockchain**](http://rufuspollock.com/2016/07/02/reflections-on-the-blockchain) by Rufus Pollock (Open Knowledge Foundation), July 2016 -- _The DAO: Code is not Law – and It’s Dangerous to Think So ++ The Internet changed the world - surely the Blockchain will too? ++ Gold-rush or Internet-rush? ++ Governance Matters in Bitcoin ++ The Myth of a Costless, Ownerless Network ++ Lessons from History_ [**On the Dangers of a Blockchain Monoculture**](https://tonyarcieri.com/on-the-dangers-of-a-blockchain-monoculture) by Tony Arcieri, January 2016 -- _The Bitcoin blockchain: the world's worst database ++ Next-generation protocols ++ Decentralized ledger protocols ++ Bitcoin-NG ++ Blockchain! Blockchain! Blockchain! ++ The great decentralized database in the sky_ [**I Don’t Believe in Blockchain**](https://www.tbray.org/ongoing/When/201x/2017/05/13/Not-Believing-in-Blockchain) by Tim Bray, May 2017 [**Minimum Viable Blockchain**](https://www.igvita.com/2014/05/05/minimum-viable-block-chain/) by Ilya Grigorik, May 2014 -- _Securing transactions with triple-entry bookkeeping ++ Securing transactions with PKI ++ Balance = Σ(receipts) ++ Multi-party transfers & verification ++ Double-spending and distributed consensus - Requirements for a distributed consensus network; Protecting the network from Sybil attacks; Proof-of-work as a participation requirement ++ Building the minimum viable blockchain - Adding "blocks" & transaction fee incentives; Racing to claim the transaction fees; Resolving chain conflicts; Blocks are never final ++ Properties of the (minimum viable) blockchain_ [**Blockchains by analogies and applications: How blockchain compares to Git, Raft, and other technologies.**](https://www.oreilly.com/ideas/blockchains-by-analogies-and-applications) by Kieren James-Lubin, January 2016 -- _Blockchains are databases ++ Understanding transactions ++ Persistent, replicated databases (related technology: Git) ++ Peer-to-peer networks (related technology: BitTorrent) ++ Distributed consensus (related technology: distributed databases, Raft) ++ Minting new coins (mining) ++ Embedded identities (related technology: TLS) ++ Smart contracts: Like SQL expressions & triggers ++ What can we really do with blockchains?_ ## Blockchain Books [**Attack of the 50 Foot Blockchain: Bitcoin, Blockchain, Ethereum & Smart Contracts**](https://davidgerard.co.uk/blockchain/table-of-contents/) by David Gerard, London, 2017 -- _What is a bitcoin? ++ The Bitcoin ideology ++ The incredible promises of Bitcoin! ++ Early Bitcoin: the rise to the first bubble ++ How Bitcoin mining centralised ++ Who is Satoshi Nakamoto? ++ Spending bitcoins in 2017 ++ Trading bitcoins in 2017: the second crypto bubble ++ Altcoins ++ Smart contracts, stupid humans ++ Business bafflegab, but on the Blockchain ++ Case study: Why you can’t put the music industry on a blockchain_ [**Mastering Bitcoin - Programming the Open Blockchain**](https://github.com/bitcoinbook/bitcoinbook/blob/second_edition/ch09.asciidoc) 2nd Edition, by Andreas M. Antonopoulos, 2017 - FREE (Online Source Version) -- _What Is Bitcoin? ++ How Bitcoin Works ++ Bitcoin Core: The Reference Implementation ++ Keys, Addresses ++ Wallets ++ Transactions ++ Advanced Transactions and Scripting ++ The Bitcoin Network ++ The Blockchain ++ Mining and Consensus ++ Bitcoin Security ++ Blockchain Applications_ --- ![](i/trolly-ponzi.png) **BEWARE: Bitcoin is a gigantic ponzi scheme¹. To the moon!? The new gold standard!? Do NOT "invest" trying to get-rich-quick HODLing. Why not? The bitcoin code is archaic and out-of-date. Burn, baby, burn! Proof-of-work / waste is a global energy environmental disaster using 300 kW/h per bitcoin transaction (!) that's about 179 kilograms of CO₂ emissions². Programmable money (or the internet of value) for all future generations with (bitcoin) script without loops and jumps (gotos) and all "stateless"!? LOL.** ¹: (Source: [Best of Bitcoin Maximalist - Scammers, Morons, Clowns, Shills & BagHODLers - Inside The New New Crypto Ponzi Economics](https://bitsblocks.github.io/bitcoin-maximalist)) ²: Assuming let's say 0.596 kilograms of CO₂ per kW/h (that's the energy efficiency in Germany) that's about 179 kilograms of CO₂ per bitcoin transaction (300 kW/h × 0.596 kg). For more insights see the [Bitcoin Energy Consumption Index](https://digiconomist.net/bitcoin-energy-consumption). --- [**Programming Bitcoin from Scratch**](https://github.com/jimmysong/programmingbitcoin) by Jimmy Song, 2019 - FREE (Online Source Version) -- _[Chapter 6 - Script](https://github.com/jimmysong/programmingbitcoin/blob/master/ch06.asciidoc) - How Script Works • Example Operations • Parsing the Script Fields • Combining the Script Fields • Standard Scripts • p2pk • Problems with p2pk • Solving the Problems with p2pkh • Scripts Can Be Arbitrarily Constructed • Conclusion ++_ _[Chapter 8 - Pay-to-Script Hash](https://github.com/jimmysong/programmingbitcoin/blob/master/ch08.asciidoc) - Bare Multisig • Coding OP_CHECKMULTISIG • Problems with Bare Multisig • Pay-to-Script-Hash (p2sh) • Coding p2sh • Conclusion ++_ _[Chapter 13 - Segregated Witness](https://github.com/jimmysong/programmingbitcoin/blob/master/ch13.asciidoc) - Pay-to-Witness-Pubkey-Hash (p2wpkh) • p2wpkh Transactions • p2sh-p2wpkh • Coding p2wpkh and p2sh-p2wpkh • Pay-to-Witness-Script-Hash (p2wsh) • p2sh-p2wsh • Coding p2wsh and p2sh-p2wsh • Other Improvements • Conclusion_ [**Programming Bitcoin Script Transaction (Crypto) Contracts Step-by-Step ( Beta / Rough Draft )**](https://github.com/openblockchains/programming-bitcoin-script) by Gerald Bauer et al, 2019 - FREE (Online Version) -- _Let's start with building your own bitcoin stack machine from zero / scratch and let's run your own bitcoin ops (operations)..._ [**Programming Blockchains in Ruby from Scratch Step-by-Step Starting w/ Crypto Hashes... ( Beta / Rough Draft )**](https://github.com/yukimotopress/programming-blockchains-step-by-step) by Gerald Bauer et al, 2018 - FREE (Online Version) -- _(Crypto) Hash ++ (Crypto) Block ++ (Crypto) Block with Proof-of-Work ++ Blockchain! Blockchain! Blockchain! ++ Blockchain Broken? ++ Timestamping ++ Mining, Mining, Mining - What's Your Hash Rate? ++ Bitcoin, Bitcoin, Bitcoin ++ (Crypto) Block with Transactions (Tx)_ [**Mastering Ethereum - Building Contract Services and Decentralized Apps on the Blockchain**](https://github.com/ethereumbook/ethereumbook) - by Andreas M. Antonopoulos, Gavin Wood, 2018 - FREE (Online Source Version) _What is Ethereum ++ Introduction ++ Ethereum Clients ++ Ethereum Testnets ++ Keys and Addresses ++ Wallets ++ Transactions ++ Contract Services ++ Tokens ++ Oracles ++ Accounting & Gas ++ EVM (Ethereum Virtual Machine) ++ Consensus ++ DevP2P (Peer-To-Peer) Protocol ++ Dev Tools and Frameworks ++ Decentralized Apps ++ Ethereum Standards (EIPs/ERCs)_ [**Building Decentralized Apps on the Ethereum Blockchain**](https://www.manning.com/books/building-ethereum-dapps) by Roberto Infante, 2018 - FREE chapter 1 -- _Understanding decentralized applications ++ The Ethereum blockchain ++ Building contract services in (JavaScript-like) Solidity ++ Running contract services on the Ethereum blockchain ++ Developing Ethereum Decentralized apps with Truffle ++ Best design and security practice_ [**Programming Crypto Blockchain Contracts Step-by-Step Book / Guide ( Beta / Rough Draft )**](https://github.com/openblockchains/programming-cryptocontracts) by Gerald Bauer et al, 2019 - FREE (Online Version) -- _Let's Start with Ponzi & Pyramid Schemes. Run Your Own Lotteries, Gambling Casinos and more on the Blockchain World Computer..._ [**Programming Cryptocurrencies and Blockchains in Ruby ( Beta / Rough Draft )**](http://yukimotopress.github.io/blockchains) by Gerald Bauer et al, 2018 - FREE (Online Version) @ Yuki & Moto Press Bookshelf -- _Digital $$$ Alchemy - What's a Blockchain? - How-To Turn Digital Bits Into $$$ or €€€? • Decentralize Payments. Decentralize Transactions. Decentralize Blockchains. • The Proof of the Pudding is ... The Bitcoin (BTC) Blockchain(s) ++ Building Blockchains from Scratch - A Blockchain in Ruby in 20 Lines! A Blockchain is a Data Structure • What about Proof-of-Work? What about Consensus? • Find the Lucky Number - Nonce == Number Used Once ++ Adding Transactions - The World's Worst Database - Bitcoin Blockchain Mining • Tulips on the Blockchain! Adding Transactions ++ Blockchain Lite - Basic Blocks • Proof-of-Work Blocks • Transactions ++ Merkle Tree - Build Your Own Crypto Hash Trees; Grow Your Own Money on Trees • What's a Merkle Tree? • Transactions ++ Central Bank - Run Your Own Federated Central Bank Nodes on the Blockchain Peer-to-Peer over HTTP • Inside Mining - Printing Cryptos, Cryptos, Cryptos on the Blockchain ++ Awesome Crypto ++ Case Studies - Dutch Gulden • Shilling • CryptoKitties (and CryptoCopycats)_ [**Blockchain for Dummies, IBM Limited Edition**](https://www.ibm.com/blockchain/what-is-blockchain.html) by Manav Gupta, 2017 - FREE (Digital Download w/ Email) -- _Grasping Blockchain Fundamentals ++ Taking a Look at How Blockchain Works ++ Propelling Business with Blockchains ++ Blockchain in Action: Use Cases ++ Hyperledger, a Linux Foundation Project ++ Ten Steps to Your First Blockchain application_ [**Get Rich Quick "Business Blockchain" Bible - The Secrets of Free Easy Money**](https://github.com/bitsblocks/get-rich-quick-bible), 2018 - FREE -- _Step 1: Sell hot air. How? ++ Step 2: Pump up your tokens. How? ++ Step 3: Revolutionize the World. How?_ [**Best of Bitcoin Maximalist - Scammers, Morons, Clowns, Shills & BagHODLers - Inside The New New Crypto Ponzi Economics**](https://github.com/bitsblocks/bitcoin-maximalist) by Trolly McTrollface, et al, 2018 - FREE [**Crypto Facts - Decentralize Payments - Efficient, Low Cost, Fair, Clean - True or False?**](https://github.com/bitsblocks/crypto-facts) by Nouriel Roubini, David Gerard, et al, 2018 - FREE [**Crypto is the Mother of All Scams and (Now Busted) Bubbles - While Blockchain Is The Most Over-Hyped Technology Ever, No Better than a Spreadsheet/Database**](https://github.com/bitsblocks/crypto-bubbles) by Nouriel Roubini, 2018 - FREE [**IslandCoin White Paper - A Pen and Paper Cash System - How to Run a Blockchain on a Deserted Island**](https://github.com/bitsblocks/islandcoin-whitepaper) by Tal Kol -- _Motivation ++ Consensus ++ Transaction and Block Specification - Transaction format • Block format • Genesis block ++ References_ ## Blockchain (Lite) Crypto Hash Libraries [Ruby](#ruby) • [JavaScript](#javascript) ### Ruby **blockchain.lite** (github: [openblockchains/blockchain.lite.rb](https://github.com/openblockchains/blockchain.lite.rb), gem: [blockchain-lite](https://rubygems.org/gems/blockchain-lite)) - build your own blockchain with crypto hashes - revolutionize the world with blockchains, blockchains, blockchains one block at a time ```ruby require 'blockchain-lite' b0 = Block.first( "Genesis" ) b1 = Block.next( b0, "Transaction Data..." ) b2 = Block.next( b1, "Transaction Data......" ) b3 = Block.next( b2, "More Transaction Data..." ) blockchain = [b0, b1, b2, b3] pp blockchain ``` will pretty print (pp) something like: ``` [#<Block:0x1eed2a0 @timestamp = 1637-09-15 20:52:38, @data = "Genesis", @previous_hash = "0000000000000000000000000000000000000000000000000000000000000000", @hash = "edbd4e11e69bc399a9ccd8faaea44fb27410fe8e3023bb9462450a0a9c4caa1b">, #<Block:0x1eec9a0 @timestamp = 1637-09-15 21:02:38, @data = "Transaction Data...", @hash = "eb8ecbf6d5870763ae246e37539d82e37052cb32f88bb8c59971f9978e437743", @previous_hash = "edbd4e11e69bc399a9ccd8faaea44fb27410fe8e3023bb9462450a0a9c4caa1b">, ... ``` ### JavaScript **blockchain.lite** (github: [openblockchains/blockchain.lite.js](https://github.com/openblockchains/blockchain.lite.js), npm: [blockchain-lite](https://www.npmjs.com/package/blockchain-lite)) - build your own blockchain with crypto hashes - revolutionize the world with blockchains, blockchains, blockchains one block at a time ```js const Blocks = require( "blockchain-lite" ) // use basic block let Block = Blocks.basic let b0 = Block.first( 'Genesis' ) let b1 = Block.next( b0, 'Transaction Data...' ) let b2 = Block.next( b1, 'Transaction Data......' ) let b3 = Block.next( b2, 'More Transaction Data...' ) let blockchain = [b0, b1, b2, b3] console.log( blockchain ) ``` will log something like: ``` [ Block { timestamp: 2017-09-25 17:03:38, data: 'Genesis', previousHash: '0000000000000000000000000000000000000000000000000000000000000000', hash: '08f4fa71628c5bc6b430228738bc8c41afaf508ece0b1cf9c9cac53d02e11829' }, Block { timestamp: 2017-09-25 17:13:38, data: 'Transaction Data...', previousHash: '08f4fa71628c5bc6b430228738bc8c41afaf508ece0b1cf9c9cac53d02e11829', hash: '740a4aeb3441484c96d1e7f63d31b716220ccee3b6fe94547cae2afbb6010626' }, Block { timestamp: 2017-09-25 17:23:38, data: 'Transaction Data......', previousHash: '740a4aeb3441484c96d1e7f63d31b716220ccee3b6fe94547cae2afbb6010626', hash: '28b6892a069e2ff7f1c3128ab495d7cd9b9b1636a51a7f69db93a14b1ee6b1a7' }, Block { timestamp: 2017-09-25 17:33:38, data: 'More Transaction Data...', previousHash: '28b6892a069e2ff7f1c3128ab495d7cd9b9b1636a51a7f69db93a14b1ee6b1a7', hash: '4cc0329b2c0cb32e0451fa3179bd944d4cd0fcf410939172f979e9fd2aa9f5f3' } ] ``` ## Git, Git, Git - The Stupid Content Tracker with Crypto Hashes _Everything is local. Distributed is the new centralized._ ![](i/xkcd1597.png) ### Quotes - Blockchains and Git > Yep, that's the joke. Nobody has been able to explain to me how the "blockchain" buzzword is significantly different to "git repo". > -- [Yaakov](https://twitter.com/yaakov_h/status/902659507255312384) > > But if you said "let's build a currency where all transactions are stored in a git repo" > you wouldn't be taken seriously for even 24 hrs. > -- [Yaakov](https://twitter.com/yaakov_h/status/902659847224664064) > Soon explaining git like "a git repo is like a blockchain with commits instead of blocks". > -- [Nicolás Berger](https://twitter.com/nicoberger/status/901776907418697729) > > "A local branch is like a state channel. It can be pushed and merged into the master blockchain at any moment." > -- [Nicolás Berger](https://twitter.com/nicoberger/status/901777571456614400) > The #Blockchain has changed the world. Here I make the argument that the #Blockchain is just like #git. > -- [Jackson Kelley](https://twitter.com/sjkelleyjr/status/901464041163341824) > `git merge [-m REF] [-g BLOB] --push` > Merge and push all signed commits to the blockchain. > -- [Git Commands](https://twitter.com/git_commands/status/935574015015612416) ### Books [**Learn Enough Git to Be Dangerous**](https://learnenough.com/git-tutorial) by Michael Hartl - FREE (Online Version) -- _Getting started ++ Backing up and sharing ++ Intermediate workflow ++ Collaborating ++ Conclusion ++ Advanced setup_ [**Pro Git**](https://git-scm.com/book) by Scott Chacon and Ben Straub, 2nd Edition, 2014 - FREE (Online Version) -- _Getting Started ++ Git Basics ++ Git Branching ++ Git on the Server ++ Distributed Git ++ GitHub ++ Git Tools ++ Customizing Git ++ Git and Other Systems ++ Git Internals ++ A1: Git in Other Environments ++ A2: Embedding Git in your Applications ++ A3: Git Commands_ > Git gets easier once you get the basic idea that branches are homeomorphic endofunctors > mapping submanifolds of a Hilbert space. > -- Anonymous ### Open Distributed Databases on Git [**football.db**](https://github.com/openfootball) - open public domain football datasets (incl. clubs, national teams, leagues, match schedules, etc.) [**world.db**](https://github.com/openmundi) - open public domain world (country) datasets [**beer.db**](https://github.com/openbeer) - open public domain beer & brewery datasets > Add a beer transaction to the #blockchain on #git and win a free Wiener Lager beer! Cheers. Prost. > -- [Gerald Bauer @ Austria Codes](https://twitter.com/austriacodes/status/907240018435088384) ### Open Distributed (Hyper) Ledger Books on Git [**Shilling (or Schilling)**](https://github.com/bitshilling/bitshilling) - Shilling on the Blockchain! - Rock-Solid Alpine Dollar from Austria [**Tulips**](TULIPS.md) - Tulips on the Blockchain! - Learn by Example from the Real World (Anno 1637) - Buy! Sell! Hold! Enjoy the Beauty of Admiral of Admirals, Semper Augustus, and More ## Classic Tulip Mania _A period in the Dutch Golden Age during which contract prices for bulbs of the recently introduced tulip reached extraordinarily high levels and then dramatically collapsed in February 1637._ ![](i/tulipmania-ii.png) ### Quotes - Blockchains are the next Internets / Tulips > People who compare digital tokens to tulips are essentially saying digital tokens are a bubble backed > by nothing but pure hype and speculation. > > What they fail to understand is that tulips come from dirt, not a blockchain. > > And as we all know, blockchain is possibly the best technological innovation since the internet. > It will have a tremendous impact on global business and society in general. > -- [TulipToken](http://tuliptoken.com) ### Books **Tulipomania: The Story of the World's Most Coveted Flower & the Extraordinary Passions It Aroused** by Mike Dash, 2001 -- _A Mania for Tulips ++ The Valley of Tien Shan ++ Within the Abode of Bliss ++ Stranger from the East ++ Clusius ++ Leiden ++ An Adornment to the Cleavage ++ The Tulip in the Mirror ++ Florists ++ Boom ++ At the Sign of the Golden Grape ++ The Orphans of Wouter Winkel ++ Bust ++ Goddess of Whores ++ At the Court of the Tulip King ++ Late Flowering_ **Tulipmania: Money, Honor, and Knowledge in the Dutch Golden Age** by Anne Goldgar, 2007 -- _Something Strange ++ Art & Flowers ++ Bloemisten ++ Grieving Money ++ Bad Faith ++ Cabbage Fever ++ Glossary ++ A Note on Money_ ![](i/tulipmania.png) ## Breaking News: CryptoKitties (Yes, Cute Little Cartoon Cats) on the Blockchain! Collectible. Breedable. Adorable. Collect and breed digital cats. Start meow. Buy! Sell! Hold! Learn more @ [cryptokitties.co](https://cryptokitties.co) ![](i/cryptokitties-top10-sales.png) <!-- note: changed pic; was: ![](i/cryptokitties.png) --> Latest (and Greatest) Investment Opportunity! > Blockchain has unlocked the magic of digital scarcity, and combining that with the power of > making the digital goods persistent gives them a potential value that is only limited by how much > prestige a wealthy person might place on ownership of the item. > > -- [Justin Poirier](https://twitter.com/tokenizedcap/status/938460753589424128)‏ > All I want for Christmas is a CryptoKitty. > > -- [Kayla Williams](https://twitter.com/kaylaw/status/938590748655550464) > I got a fever. And the only prescription is more CryptoKitties. > > -- [Eduardo Salazar](https://twitter.com/ceduardosalazar/status/938558630663634944) > My Gen 7 CryptoKitty #104375. The Future is Meow. > > -- [Anshul Dhawan](https://twitter.com/TheAnshulDhawan/status/938551642202324993) ![](i/cryptokitties-genes01.png) > - Fabulous Persian Spock Gerbil Gold Cottoncandy - Extremely rare gen 5 swift virgin | 2.9 ETH > - Rarity: 0.00264% Gen 5 JAGUAR FABULOUS GOLD DALI!! VIRGIN! > - Rarity: 0.0015% Princess Bubblegum is now for sale! Gen 12 | Brisk | Virgin | Chartreux | Bubblegum | Otaku | Emeraldgreen | Saycheese | Mauveover | Spock - Starts ETH 20/Ends ETH 10 > - Gold ducat, Gen 5, Virgin, Swift. Very cheap > - Cheap Gen 1 cute kittie with rare genes! Only 0.125 ETH > - UNIQUE Virgin Peach Googly Gold Mauveover gen:2 cooldown:1 0.87992% RARE > - SUPER CHEAP: Gerbil, Ragdoll, Scarlet, Chestnut, Cotton Candy!!! 0.02 ETH (~$14) > - I'm giving away a Gen 1 FAST Gold for free... > > -- [CrypoKittiesMarket](https://www.reddit.com/r/CryptoKittiesMarket) ### Awesome CryptoKitties (and CryptoCopycats) ![](i/cryptokitties-modernart-paintings.png) A collection about Awesome CryptoKitties (Yes, Cute Little Cartoon Cats) on the Blockchain! and CryptoCopycats - digital collectibles secured on a distributed public databases w/ crypto hashes. Are CryptoPuppies the new CryptoKitties? Learn by Example from the Real World (Anno 2017) - Buy! Sell! Hodl! More @ [cryptocopycats/awesome-cryptokitties](https://github.com/cryptocopycats/awesome-cryptokitties) ![](i/cryptokitties-modernart-paintings-iii.png) ## Events, Meetups, Orgs _Revolutionize the world one country at a time. Blockchainers of the world, unite!_ - [**Blockchain Austria • Blockkette Österreich**](https://github.com/austriacodes/blockchain-austria) -- distributed centralized page for blockchain meetups & orgs in Austria (Central Europe) ## Awesome Awesomeness _A curated list of awesome lists._ - [**Blockchain Stuff**](https://github.com/Xel/Blockchain-stuff) -- a curated list of blockchain and general cryptocurrency resources - [**Awesome Blockchain**](https://github.com/igorbarinov/awesome-blockchain) by Igor Barinov et al -- a curated list of the bitcoin blockchain services - [**Awesome Blockchain**](https://github.com/imbaniac/awesome-blockchain) by Tim Reznich et al -- a curated list of blockchain services and exchanges - [**Awesome Blockchain**](https://github.com/istinspring/awesome-blockchain) by `istinspring` et al -- a curated list of awesome projects and services based on blockchain technology - [**Awesome Coins**](https://github.com/kennethreitz/awesome-coins) by Kenneth Reitz et al -- a guide to crypto-currencies and their algos - [**Awesome CryptoKitties (and CryptoCopycats)**](https://github.com/openblockchains/awesome-cryptokitties) by Gerald Bauer et al -- a curated list about the awesome crypto kitties and copycats - [**Awesome Git**](https://github.com/dictcp/awesome-git) by Dick Tang et al -- a curated list of amazingly awesome Git tools, resources and shiny things - [**Awesome**](https://github.com/sindresorhus/awesome) by Sindre Sorhus et al -- a curated list of awesome lists ## Meta **License** ![](https://publicdomainworks.github.io/buttons/zero88x31.png) The awesome list is dedicated to the public domain. Use it as you please with no restrictions whatsoever.
3,147
Quick reference guide on fork and pull request workflow
Fork and Pull Request Workflow ============================== <!-- :: \iffalse --> [![Download PDF][SHIELD_PDF]][DOWNLOAD_PDF] [![Download TXT][SHIELD_TXT]][DOWNLOAD_TXT] [![CC BY 4.0 License][SHIELD_CCBY]][CCBY] <!-- :: --> [SHIELD_PDF]: https://img.shields.io/badge/download-PDF-brightgreen.svg [SHIELD_TXT]: https://img.shields.io/badge/download-TXT-brightgreen.svg [SHIELD_CCBY]: https://img.shields.io/badge/license-CC%20BY%204.0-blue.svg [DOWNLOAD_PDF]: https://github.com/susam/gitpr/releases/download/0.6.0/gitpr.pdf [DOWNLOAD_TXT]: https://github.com/susam/gitpr/releases/download/0.6.0/gitpr.txt <!-- :: \fi --> <!-- Version 0.6.0 (2018-11-19) --> <!-- :: \maketitle --> This document describes how developers may contribute pull requests to an upstream repository and how upstream owners may merge pull requests from contributors according to the very popular fork and pull request workflow followed in many projects on GitHub. The download buttons above download version 0.6.0 <!-- x --> (the latest stable release) of this document. <!-- x --> <!-- x --> The most recent version of this document is available at [git.io/gitpr](https://git.io/gitpr). <!-- :: \iffalse --> Contents -------- * [Introduction](#introduction) * [Quick Reference](#quick-reference) * [Create Pull Request](#create-pull-request) * [Fork and Clone](#fork-and-clone) * [Work on Pull Request](#work-on-pull-request) * [Keep Your Fork Updated](#keep-your-fork-updated) * [Amend Last Commit](#amend-last-commit) * [Rebase Commits](#rebase-commits) * [Edit Commits](#edit-commits) * [Force Push](#force-push) * [Delete Branch](#delete-branch) * [Merge Pull Request](#merge-pull-request) * [Without Merge Commit](#without-merge-commit) * [With Merge Commit](#with-merge-commit) * [Nifty Commands](#nifty-commands) * [Pretty Log](#pretty-log) * [Staged Diff](#staged-diff) * [Branch Listing](#branch-listing) * [More Aliases](#more-aliases) * [Merge Base](#merge-base) * [Commit Partial Changes](#commit-partial-changes) * [Some Git Wisdom](#some-git-wisdom) * [License](#license) * [Support](#support) <!-- :: \fi --> <!-- :: \tableofcontents --> <!-- :: \pagebreak --> Introduction ------------ Every project has a main development branch where the developers push commits on a day-to-day basis. Usually, the main development branch is `master` but some projects choose to have `develop` or `trunk` or another branch for day-to-day development activities. We refer to this main development branch as the *main development branch* throughout this document to keep the text general. However in the command examples and ASCII-diagrams, we use `master` as an example of the main development branch. We use the following placeholders in the command examples and ASCII-diagrams in this document: - `GITHUB`: [`github.com`](https://github.com/) or domain name/hostname of your private GitHub Enterprise system. - `USER` or `CONTRIBUTOR`: The user that forks an upstream repository, creates pull requests, and sends them to the upstream repository. - `UPSTREAM-OWNER`: Owner of the upstream repository. This is the name of the user or organization that merges pull requests into the upstream repository. - `REPO`: Repository name. - `FILES`: One or more filenames to be staged for a commit. - `TOPIC-BRANCH`: Feature-specific or bug-specific branch where a contributor develops her or his contribution. This is referred to as the *topic branch* in the text. These placeholders should be substituted with appropriate values while executing the commands presented in this document. Beginners to this workflow should always remember that a Git branch is not a container of commits, but rather a lightweight moving pointer that points to a commit in the commit history. A---B---C ↑ (master) When a new commit is made in a branch, its branch pointer simply moves to point to the last commit in the branch. A---B---C---D ↑ (master) A branch is merely a pointer to the tip of a series of commits. With this little thing in mind, seemingly complex operations like rebase and fast-forward merges become easy to understand and use. The next section, *[Quick Reference](#quick-reference)*, provides a brief summary of all the frequently used commands involved in creating and merging pull requests. <!-- :: \pagebreak --> Quick Reference --------------- Here is a brief summary of all the commands used to create and merge pull requests in this document. This section serves as a quick reference. # CREATE PULL REQUEST # =================== # Fork upstream and clone your fork. git clone https://GITHUB/USER/REPO.git cd REPO git remote add upstream https://GITHUB/UPSTREAM-OWNER/REPO.git git remote -v # Work on pull request in a new topic branch. git checkout -b TOPIC-BRANCH git add FILES git commit git push origin TOPIC-BRANCH # Go to your fork on GitHub, switch to the topic branch, and # click *Compare & pull request*. # Keep your fork's main development branch updated with upstream's. git checkout master git pull upstream master git push origin master # Amend last commit (optional). git add FILES git commit --amend # Rebase topic branch on the main development branch (optional). git checkout TOPIC-BRANCH git rebase master # Edit commits, e.g., last 3 commits in topic branch (optional). git checkout TOPIC-BRANCH git rebase -i HEAD~3 # Force push rebased/edited commits to the pull request (optional). git push -f origin TOPIC-BRANCH # Delete topic branch branch after pull request is merged. git checkout master git branch -D TOPIC-BRANCH git push -d origin TOPIC-BRANCH <!-- :: \pagebreak --> # MERGE PULL REQUEST (WITHOUT MERGE COMMIT) # ========================================= # Clone upstream repo. git clone https://GITHUB/UPSTREAM-OWNER/REPO.git cd REPO # Keep the local main development branch up-to-date. git checkout master git pull # Pull changes in pull request into a temporary branch. git checkout -b pr git pull https://GITHUB/CONTRIBUTOR/REPO.git TOPIC-BRANCH # If the above command does not create a new merge commit, ignore # this comment and follow the remaining commands after this comment. # # If the above command creates a new merge commit, first consider # that it is okay to have a merge commit. However, if you want to # get rid of it, choose exactly one of the following three options: # # - Request the contributor to rebase the topic branch on the main # development branch. After the contributor has done so, delete # the temporary branch, start over, and pull the changes again. # (Commands: git checkout master; git branch -D pr) # # - Go to the pull request page on GitHub, click on the dropdown # menu next to 'Merge pull request', select 'Rebase and merge', # and click 'Rebase and merge'. # # - Rebase the topic branch on the main development branch. Then # follow the commands below. Finally close the pull request on # GitHub manually. (Command: git rebase master) # Merge pull request and delete temporary branch. git checkout master git merge pr git branch -d pr # Push the updated main development branch to upstream repo. git push origin master <!-- :: \pagebreak --> # MERGE PULL REQUEST (WITH MERGE COMMIT) # ====================================== # Clone upstream repo. git clone https://GITHUB/UPSTREAM-OWNER/REPO.git cd REPO # Keep the local main development branch up-to-date. git checkout master git pull # Pull changes in pull request into a temporary branch. git checkout -b pr git pull https://GITHUB/CONTRIBUTOR/REPO.git TOPIC-BRANCH # Merge pull request and delete temporary branch. git checkout master git merge --no-ff pr git branch -d pr # Push the updated main development branch to upstream repo. git push origin master The next two sections, *[Create Pull Request](#create-pull-request)* and *[Merge Pull Request](#merge-pull-request)*, elaborate these commands in detail. <!-- :: \pagebreak --> Create Pull Request ------------------- This section is meant for developers who contribute new commits to the upstream repository from their personal fork. ### Fork and Clone On GitHub, fork the upstream repository to your personal user account. Then clone your fork from your personal GitHub user account to your local system and set the upstream repository URL as a remote named `upstream`. git clone https://GITHUB/USER/REPO.git cd REPO git remote add upstream https://GITHUB/UPSTREAM-OWNER/REPO.git git remote -v Now the remote named `upstream` points to the upstream repository and the remote named `origin` points to your fork. ### Work on Pull Request Work on a new pull request in a new topic branch and commit it to your fork. Remember to use a meaningful name instead of `TOPIC-BRANCH` in the commands below. git checkout -b TOPIC-BRANCH git add FILES git commit git push origin TOPIC-BRANCH Create pull request via GitHub web interface as per the following steps: - Go to your fork on GitHub. - Switch to the topic branch. - Click *Compare & pull request*. - Click *Create pull request*. Wait for an upstream developer to review and merge your pull request. If there are review comments to be addressed, continue working on your branch, commiting, optionally rebasing, amending, squashing, and dropping them, and pushing them to the topic branch of `origin` (your fork). Any changes to the topic branch automatically become available in the pull request. In the fork and pull request workflow, a contributor should never commit anything to the main development branch of personal fork. This makes it very easy to keep the main development branch of your fork in sync with that of the upstream repository. This is explained in the next subsection. <!-- :: \pagebreak --> ### Keep Your Fork Updated As new pull requests get merged into the upstream's main development branch, the main development branch of your fork begins falling behind it. The commands below show how to update your fork's main development branch with the new commits in the upstream's main development branch. git checkout master git pull upstream master git push origin master The `git pull` command above simply fast-forwards the main development branch from an earlier commit to the last commit in the upstream's main development branch. When your main development branch falls behind the upstream's main development branch, the upstream's main development branch extends linearly from the last commit in your main development branch, provided that there are no additional commits to your main development branch that has caused it to diverge. E---F---G (TOPIC-BRANCH) / A---B---C---D (master) \ H---I---J (upstream/master) With such a commit history, when the upstream's main development branch is merged into your main development branch, the merge is done by simply fast-forwarding the pointer of your main development branch to the last commit in the upstream's main development branch. E---F---G (TOPIC-BRANCH) / A---B---C---D \ H---I---J (upstream/master, master) After the merge is complete, the upstream's main development branch and your main development branch point to the same commit. <!-- :: \pagebreak --> ### Amend Last Commit This is an optional step to rework on the last commit. After commiting some work, one may realize that some files need to be modified or the commit message needs to updated. E---F---G (TOPIC-BRANCH) / A---B---C---D (master) Git allows us to pick the last commit, modify the changes made in that commit including the commit message, and reapply the changes along with the modifications as a new commit that replaces the last commit. E---F---G' (TOPIC-BRANCH) / A---B---C---D (master) To do so, first rework on the files and make the necessary changes. Then add, remove, move, or rename files to stage them for commiting. Finally, amend the last commit. The commit message may be modified when the editor comes up to show the commit message. git add FILES git commit --amend Although the above example shows only the `git add` command to add new or modified files for commiting, one may amend the last commit by removing, moving, and renaming files with the `git rm` and `git mv` commands before amending the last commit. To update only the commit message without changing files, run only `git commit --amend`. ### Rebase Commits This is an optional step to keep the commit history as linear as possible. The main development branch may have diverged since the topic branch was created. E---F---G (TOPIC-BRANCH) / A---B---C---D (master) It may be a good idea to move the commits in the topic branch and place them on top of the main development branch, so that the topic branch extends linearly from the last commit in the main development branch. E'--F'--G' (TOPIC-BRANCH) / A---B---C---D (master) The following commands show how to rebase the topic branch on the main development branch. git checkout TOPIC-BRANCH git rebase master ### Edit Commits This is an optional step to keep the commit history clean and concise. A pull request may contain multiple commits. Sometimes one may need to amend a commit that is not the last commit in the pull request. Commits prior to the last commit can be amended with the interactive rebase command. After developing the required feature or bug-fix in a topic branch, the developer or a reviewer may notice issues in the work that need to be addressed before the pull request can be merged into the upstream repository. This may lead to multiple new commits in the topic branch that should ideally have been part of the first commit that implemented that feature or bug-fix. E---F---G (TOPIC-BRANCH) / A---B---C---D (master) In such cases, it may be a good idea to squash multiple commits in the topic branch into a single coherent commit with all changes for the feature or bug-fix being developed. E' (TOPIC-BRANCH) / A---B---C---D (master) The following example shows how to amend the last 3 commits. git checkout TOPIC-BRANCH git rebase -i HEAD~3 This brings up an editor with three lines for the last 3 commits ordered from earliest to last followed by instructions on how to edit these lines to amend the commits. For example, to squash all three commits into one, leave the first commit untouched, replace `pick` with `squash` in the next two lines, save, and quit the editor. This brings up the editor again. Clean up the commit message, save, and quit the editor. Apart from `pick` and `squash`, there are other operations such as `reword`, `edit`, `drop`, etc. to amend or drop commits. Follow the instructions that appear in the editor to use them. When a rebase operation involves multiple steps, Git walks you through each step by offering suggestions and commands that you need to use in each step. <!-- :: \pagebreak --> ### Force Push The steps in the last three sections overwrite the history of the branch. If these steps are performed after the pull request branch has already been pushed to GitHub, then it is necessary to use the `-f` or `--force` option to push the overwritten history to GitHub. git push -f origin TOPIC-BRANCH The `-f` (force) option in the `git push` command is necessary only if you are pushing to an already existing pull request branch because doing so overwrites the history of the branch. Normally, overwriting history is strictly discouraged but this is one of the rare scenarios where it is safe to overwrite the commit history because the commits are being pushed to a personal branch in a personal fork without affecting the upstream repository. ### Delete Branch Once the upstream developer merges your pull request, you may delete the topic branch from your local system as well as from your fork. git checkout master git branch -D TOPIC-BRANCH git push -d origin TOPIC-BRANCH The next section, *[Merge Pull Request](#merge-pull-request)*, explains how an upstream owner can merge pull request from contributors into the upstream repository. <!-- :: \pagebreak --> Merge Pull Request ------------------ This section is meant for lead developers who own the upstream repository and merge pull requests from contributors to it. There are two popular methods to merge commits: one that does not introduce an additional merge commit, and another that does. Both are perfectly acceptable. Both are discussed below. Which method you choose depends on whether you want to maintain a concise commit history consisting only of development commits or if you want to introduce additional merge commits for every merge into your commit history. ### Without Merge Commit Clone the upstream repository to your local system. git clone https://GITHUB/UPSTREAM-OWNER/REPO.git cd REPO If the repository was already cloned to the local system earlier, then ensure that the local main development branch is up-to-date with that in the upstream repository. git checkout master git pull Create a temporary branch (`pr` for example) to pull the contribution (pull request) from the CONTRIBUTOR's branch in it. git checkout -b pr git pull https://GITHUB/CONTRIBUTOR/REPO.git TOPIC-BRANCH If the main development branch has diverged from the branch in the pull request, the above command creates a new merge commit to merge the pull request into the temporary branch. Note: It is okay to have a merge commit while merging pull requests. There is nothing wrong about it. If you are comfortable having a merge commit for the pull request, skip the list of three points below and continue with merging the pull request. If you really want to get rid of the additional merge commit, follow exactly one of these options: - Request the contributor to rebase the topic branch on the main development branch. See the *[Rebase Commits](#rebase-commits)* section for more details. After the contributor has rebased the topic branch on the main development branch, delete the temporary branch. git checkout master git branch -D pr Then start over and pull the pull request again. In fact, if at any time the contributor rebases the pull request, or edits, squashes, amends, or drops commits in the pull request, delete the temporary branch and start over, and pull the pull request again. - Go to the pull request page on GitHub, click on the dropdown menu next to the *Merge pull request* button, select *Rebase and merge*, and click *Rebase and merge*. Caveat: The rebase operation rewrites the commit history of the pull request submitted by the contributor. As a result, it modifies the commit hash, committer, and commit date of each change in the pull request. The committer and commit date fields are separate from the author and author date fields. Use `git log --format=fuller` to see all four fields. This caveat is usually not a major problem because the author and author date still remain intact. Further since the rebase and merge is done via GitHub, it closes the pull request successfully and sets its status to *Merged*. However if you are not comfortable with the committer details changing, then do not choose this option and choose the previous option instead. - Rebase the pull request on the main development branch as explained in the *[Rebase Commits](#rebase-commits)* section. Caveat: In addition to the caveat mentioned in the previous point, in this case, GitHub remains oblivious of the changed commit hashes because the rebase operation is done locally, not via GitHub. Therefore after the merged pull request is pushed to the upstream repository, GitHub does not close the pull request. The pull request on GitHub can then be closed manually but its status would not appear as *Merged*. It would appear as *Closed* instead. This can be confusing and misleading. Therefore this option is not recommended. Choose one of the previous two options instead. After sufficient testing, merge the commits in the pull request into the main development branch and remove the pull request branch. git checkout master git merge pr git branch -d pr Finally, push the current state of the main development branch to the upstream repository. git push origin master The `git merge` command above simply fast-forwards the main development branch from an earlier commit to the last commit in the pull request thereby making both the main development branch and the pull request branch point to the same commit. This achieves the merge from the pull request branch into the main development branch without creating a new merge commit. After a pull request branch is rebased on the main development branch, the pull request branch becomes a linear extension of the main development branch. E'---F'---G' (pr) / A---B---C---D (master) With such a commit history, when the pull request branch is now merged into the main development branch, the merge is done by simply fast-forwarding the pointer of the main development branch to the last commit in the pull request branch. E'---F'---G' (pr, master) / A---B---C---D <!-- :: \pagebreak --> ### With Merge Commit Clone the upstream repository to your local system. git clone https://GITHUB/UPSTREAM-OWNER/REPO.git cd REPO If the repository was already cloned to the local system earlier, then ensure that the local main development branch is up-to-date with that in the upstream repository. git checkout git pull Create a temporary branch (`pr` for example) to pull the contribution (pull request) from the CONTRIBUTOR's branch in it. git checkout -b pr git pull https://GITHUB/CONTRIBUTOR/REPO.git TOPIC-BRANCH If the contributor adds new commits to the pull request later, then run these commands again to pull the new commits. After sufficient testing, merge the commits in the pull request into the main development branch. git checkout master git merge --no-ff pr git branch -d pr Finally, push the current state of the main development branch (with the commits from the pull request in it) to the upstream repository. git push origin master The `--no-ff` (no fast-forward) option in the `git merge` command ensures that a merge commit is always created even when a fast-forward merge is possible. E'---F'---G' (pr) / \ A---B---C---D-------------H (master) <!-- :: \pagebreak --> Nifty Commands -------------- This is a bonus section that describes a few aliases and commands that may be useful during day-to-day development activities. ### Pretty Log The following commands create aliases to run `git log` with various subsets of {`--pretty`, `--graph`, `--all`} options to display commit logs in a compact form, i.e., one line per log. # Define aliases. git config --global pretty.fmt '%C(auto)%h %C(magenta)%ad %C(cyan)%an%C(auto)%d %s' git config --global alias.lga 'log --pretty=fmt --date=short --graph --all' git config --global alias.lg 'log --pretty=fmt --date=short --graph' git config --global alias.la 'log --pretty=fmt --date=short --all' git config --global alias.ll 'log --pretty=fmt --date=short' git config --global alias.lf 'log --pretty=fuller --stat' # Use aliases. git lga git lg git la git ll git lf ### Staged Diff While `git diff` shows the unstaged changes in the working directory, it is necessary to use the `--cached` option with `git diff` to see the changes staged for the next commit. The following commands create convenient aliases for this option. # Define aliases. git config --global alias.diffc "diff --cached" git config --global alias.dc "diff --cached" # Use aliases. git diffc git dc <!-- :: \pagebreak --> ### Branch Listing The following commands provides aliases to list branches with verbose information. The second alias includes remote branches too in the output. # Define aliases. git config --global alias.br "branch -vv" git config --global alias.brr "branch -vva" # Use aliases. git br git brr ### More Aliases Here are a few more commands to define aliases for very frequently used commands. # Define aliases. git config --global alias.co "checkout" git config --global alias.cob "checkout -b" git config --global alias.ca "commit --amend" # Use aliases. git co git cob git ca ### Merge Base Find a common ancestor of two branches with this command. It helps to find the commit after which two branches began diverging. git merge-base upstream/master TOPIC-BRANCH ### Commit Partial Changes Sometimes when you are in the zone, you may make large sweeping changes to a file. However it is a good practice to create separate and small commits for separate concerns. To select some changes in a file while ignoring other changes in the same file for the next commit, stage the changes interactively with this command. git add -p This command shows every change hunk one by one. Enter `y` to stage a hunk for the next commit, `n` to ignore it, and `s` to split the hunk into multiple smaller hunks. Enter `?` to print help message about each interactive option that can be entered. ### Some Git Wisdom Enter one of the commands below in your command shell depending on your operating system, or just open the URL with your web browser. open https://xkcd.com/1597/ xdg-open https://xkcd.com/1597/ start https://xkcd.com/1597/ License ------- Copyright &copy; 2018 Susam Pal [![CC BY 4.0 Logo](meta/ccby.svg "CC BY 4.0")][CCBY] <!-- :: --> This document is licensed under the [Creative Commons Attribution 4.0 International License][CCBY]. You are free to share the material in any medium or format and/or adapt the material for any purpose, even commercially, under the terms of the Creative Commons Attribution 4.0 International (CC BY 4.0) License. This document is provided **as-is and as-available,** **without representations or warranties of any kind,** whether express, implied, statutory, or other. See the [CC BY 4.0 Legal Code][CCBYLC] for details. [CCBY]: http://creativecommons.org/licenses/by/4.0/ [CCBYLC]: https://creativecommons.org/licenses/by/4.0/legalcode Support ------- To report bugs, suggest improvements, or ask questions, [create issues][ISSUES]. To contribute improvements to this document, [fork this project][REPO] and *[create pull request][PR]!* ;-) [ISSUES]: https://github.com/susam/gitpr/issues [REPO]: https://github.com/susam/gitpr [PR]: #create-pull-request
3,148
A collection of git utilities and useful extra git scripts.
# git-extra-commands [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Funixorn%2Fgit-extra-commands%2Fbadge%3Fref%3Dmain&style=plastic)](https://actions-badge.atrox.dev/unixorn/git-extra-commands/goto?ref=main) ![Awesomebot](https://github.com/unixorn/git-extra-commands/actions/workflows/awesomebot.yml/badge.svg) ![Megalinter](https://github.com/unixorn/git-extra-commands/actions/workflows/mega-linter.yml/badge.svg) [![Code Climate](https://codeclimate.com/github/unixorn/git-extra-commands/badges/gpa.svg)](https://codeclimate.com/github/unixorn/git-extra-commands) [![Issue Count](https://codeclimate.com/github/unixorn/git-extra-commands/badges/issue_count.svg)](https://codeclimate.com/github/unixorn/git-extra-commands) [![GitHub stars](https://img.shields.io/github/stars/unixorn/git-extra-commands.svg)](https://github.com/unixorn/git-extra-commands/stargazers) <!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> ## Table of Contents - [Included Scripts](#included-scripts) - [Useful git aliases](#useful-git-aliases) - [Installing](#installing) - [Pre-requisites](#pre-requisites) - [Zgenom](#zgenom) - [Antigen](#antigen) - [Fig](#fig) - [oh-my-zsh](#oh-my-zsh) - [Bash / Manual Installation](#bash--manual-installation) - [Other useful git stuff](#other-useful-git-stuff) - [Articles / Blog posts / Books](#articles--blog-posts--books) - [External Git Utilities](#external-git-utilities) - [Miscellaneous Tips](#miscellaneous-tips) - [Make it easier to check out default branch](#make-it-easier-to-check-out-default-branch) - [Have git cope with typos](#have-git-cope-with-typos) - [Rewrite git:// with https://](#rewrite-git-with-https) - [or replace with `ssh`](#or-replace-with-ssh) - [Contributing](#contributing) - [Thanks](#thanks) <!-- END doctoc generated TOC please keep comment here to allow auto update --> **git-extra-commands** is a ZSH plugin that packages some extra `git` helper scripts I've found. This collection (and the scripts that I wrote in it) is licensed with the Apache Version 2 license. However, some of the scripts in this collection came from other sources and may have different licensing - if they do, their license information is included inline in the script source. This collection doesn't actually require ZSH, but packaging it as a ZSH plugin makes it more convenient for people using a ZSH framework to use this collection. If you wrote one of these scripts and want it removed from this collection, please either make a PR and/or file an issue against the repository and I will remove it. ## Included Scripts | Script | Original Source | Description | | ------ | --------------- | ----------- | | `git-add-username-remote` | Ryan Tomayko's dotfiles | Adds a remote for the current repository for the given GitHub username. | | `git-age` | Kristoffer Gronlund's [wiki](https://github.com/krig/git-age/wiki) | A git-blame viewer, written using PyGTK.| | `git-amend-all` | John Wiegley's [git scripts](https://github.com/jwiegley/git-scripts) | Adds all modified and deleted files, except the new files and adds them to the recent commit by amending it | | `git-attic` | Leah Neukirchen's [blog](https://leahneukirchen.org/blog/archive/2013/01/a-grab-bag-of-git-tricks.html) | Displays a list of deleted files in your repository. The output is designed to be copy and pasted: Pass the second field to `git show` to display the file contents, or just select the hash without ^ to see the commit where removal happened. | | `git-authors` | Michael Markert's [dotfiles](https://github.com/cofi/dotfiles) (as `git-changes`) | List authors in the repository in descending commit-count order. | | `git-big-file` | Mislav Marohnić's [dotfiles](https://github.com/mislav/dotfiles) | Show files in the repository larger than a threshold size. | | `git-branch-date` | Joe Block <[email protected]> | List branches in commit-date order | | `git-branch-diff` | Joe Block <[email protected]> | Diffs your current HEAD with the default branch of the origin remote | | `git-branch-name` | Joe Block <[email protected]> | Prints the current branch name in automation-friendly format. | | `git-branch-rebaser` | Vengada Rangaraju <[email protected]> | Kicks off an interactive rebase of all the commits on your branch. _Including pushed commits_, so be careful. | | `git-branch-status` | John Wiegley's [git scripts](https://github.com/jwiegley/git-scripts) | Colorized status report on all branches in your repository | | `git-branches-that-touch` | Mislav Marohnić's [dotfiles](https://github.com/mislav/dotfiles) | Shows which branches touch files under a path that are remote, unmerged, have a commit in the last six months and whose name doesn't start with 'enterprise-' | | `git-change-author` | Michael Demmer in [jut-io/git-scripts](https://github.com/jut-io/git-scripts/blob/master/bin/git-change-author) | Change one author/email in the history to another. | | `git-change-log` | John Wiegley's [git-scripts](https://github.com/jwiegley/git-scripts) | Transform `git log` output into a complete Changelog for projects that haven't been maintaining one. | | `git-changes` | Michael Markert's [dotfiles](https://github.com/cofi/dotfiles) | Symlink to `git-authors`. List authors in the repository in descending commit-count order. | | `git-checkout-branches` | John Wiegley's [git scripts](https://github.com/jwiegley/git-scripts) | Checks out all remote branches | | `git-checkout-by-date` | ? | Lets you checkout several files at once at the version specified by a date. | | `git-checkout-commit` |From the [fzf wiki](https://github.com/junegunn/fzf/wiki/examples) | Uses [fzf](https://github.com/junegunn/fzf) to checkout a commit, showing the commit diff as preview. | | `git-checkout-default-branch` | I got tired of keeping track of which repositories use `main`, `master` or something else as default branch | Checks out the default branch of the `origin` remote so you don't have to remember which repositories use `master`, `main` or whatever. | | `git-checkout-pr` | Based on [gist.github.com/gnarf/5406589](https://gist.github.com/gnarf/5406589) | Check out a PR locally | | `git-checkout-preview` | From the [fzf wiki](https://github.com/junegunn/fzf/wiki/examples) | Uses [fzf](https://github.com/junegunn/fzf) to checkout a branch, showing what commits diverge between the branches. | | `git-checkout-tag` | Joe Block <[email protected]> | Check out a tag into a branch named after the tag. | | `git-children-of` | John Wiegley's [git-scripts](https://github.com/jwiegley/git-scripts) | Shows the children of a given `git` commit | | `git-churn` | Gary Bernhardt's [dotfiles](https://github.com/garybernhardt/dotfiles/blob/master/bin/git-churn) | Show which files are getting changed most often in the repository. | | `git-clone-subset` | Rodrigo Silva (MestreLion) <[email protected]> | Uses `git clone` and `git filter-branch` to remove from the clone all files but the ones requested, along with their associated commit history. | | `git-comma` | Leah Neukirchen's [blog](https://leahneukirchen.org/blog/archive/2013/01/a-grab-bag-of-git-tricks.html) | Adds and commits a file in one command | | `git-commit-browser` | From the [fzf wiki](https://github.com/junegunn/fzf/wiki/examples) | Uses [fzf](https://github.com/junegunn/fzf) to browse commit history. | | `git-conflicts` | Seth Messer's [bits and bobs](https://github.com/megalithic/bits-and-bobs/) repository | Show files with conflicts | | `git-copy-branch-name` | Zach Holman's [dotfiles](https://github.com/holman/dotfiles) | Copy the current branch's name to the clipboard (macOS Only). | | `git-credit` | `git-credit-author` | Zach Holman's [dotfiles](https://github.com/holman/dotfiles) | Quicker way to assign credit to another author on the latest commit. | | `git-current-branch` | Joe Block <[email protected]> | Prints the name of the current branch with no odd characters or formatting, mainly useful in automation scripts. | | `git-current-commit` | Joe Block <[email protected]> | Prints the hash of the current commit with no odd characters or formatting, mainly useful in automation scripts. | | `git-cut-branch` | Ryan Tomayko's dotfiles | Create a new branch pointed at **HEAD** and reset the current branch to the head of its tracking branch | | `git-delete-dangling-commits` | [Stack Overflow](http://stackoverflow.com/questions/3765234/listing-and-deleting-git-commits-that-are-under-no-branch-dangling) | Clean up dangling commits that are not on any branch | | `git-delete-local-merged` | From a deleted post by @tekkub | Delete all local branches that have been merged into **HEAD**. | | `git-delete-merged-branches` | ? | Purges all branches that have been merged to a target branch (defaults to branches merged to master). | | `git-delete-remote-branch` | Joe Block <[email protected]> | Delete a branch from a specified remote. | | `git-delete-squashed-and-merged-branches` | Paul Irish's [dotfiles](https://github.com/paulirish/dotfiles) | Purges all branches that have been squashed and merged to a target branch (defaults to branches merged to master). Requires `pygithub`. | | `git-delete-tag` | Joe Block <[email protected]> | Delete a tag, both locally and from the origin remote. | | `git-diff-last` | [Sebastian Schuberth](https://github.com/sschuberth) | Show the last change made to a file in the repository. | | `git-divergence` | Gary Bernhardt's [dotfiles](https://github.com/garybernhardt/dotfiles/blob/master/bin/git-churn) | Shows differences between local branch and its tracking branch. | | `git-edit-conflicts` | Joe Block <[email protected]> | Edit the files that are marked as conflicted during a merge/rebase in your `$EDITOR/$VISUAL`. | | `git-fetch-prs` | Pretty sure I saw this on slack, but can't recall which one | Get all Pull Request branches from a given remote by refspec | | `git-files` | Jake Zimmerman's [blog](https://blog.jez.io/cli-code-review/) | List the files different between the current branch and `$REVIEW_BRANCH`, which if unset defaults to the repository's default branch | | `git-find-dirty` | Matthew McCullough's [scripts](https://github.com/matthewmccullough/scripts/) repository | | | `git-flush` | John Wiegley's [git-scripts](https://github.com/jwiegley/git-scripts) | Compact your repository by dropping all reflogs, stashes, and other cruft that may be bloating your pack files. | | `git-force-mtimes` | John Wiegley's [git-scripts](https://github.com/jwiegley/git-scripts) | Sets modification times of all files in the repository their last change date based on `git`'s log. Useful to avoid too new dates after a checkout confusing `make` or `rake`. | | `git-forest` | Jan Engelhardt | Prints a text-based tree visualisation of your repository. Requires [Git.pm](https://metacpan.org/release/Git) | | `git-functionlog` | Joe Block <[email protected]> | Allows you to get a `git log` of a particular function, not a file | | `git-fzf-add` | [Fuzzy Finding in Bash with fzf](https://bluz71.github.io/2018/11/26/fuzzy-finding-in-bash-with-fzf.html) | Use [fzf](https://github.com/junegunn/fzf) to select files to add to `git` | | `git-fzf-log-browser` | [Fuzzy Finding in Bash with fzf](https://bluz71.github.io/2018/11/26/fuzzy-finding-in-bash-with-fzf.html) | Use [fzf](https://github.com/junegunn/fzf) to browse the repository's `git` log | | `git-fzf-pickaxe-browser` | [Fuzzy Finding in Bash with fzf](https://bluz71.github.io/2018/11/26/fuzzy-finding-in-bash-with-fzf.html) | Use [fzf](https://github.com/junegunn/fzf) to display a `git log` list that has been filtered with [pickaxe](http://www.philandstuff.com/2014/02/09/git-pickaxe.html) for a search term. | | `git-fzf-reflog-browser` | [Fuzzy Finding in Bash with fzf](https://bluz71.github.io/2018/11/26/fuzzy-finding-in-bash-with-fzf.html) | Use [fzf](https://github.com/junegunn/fzf) to browse the repository's `git` reflog list that can be filtered by entering a fuzzy term at the prompt. Navigation up and down the hash list will preview the changes of each hash. | | `git-git` | Joe Block <[email protected]> | Typing `git git foo` will make `git` do a `git foo` instead of complaining. | | `git-github-open` | ? | Open GitHub file/blob page for FILE on LINE. | | `git-gitlab-mr` | Noel Cower's [gist](https://gist.github.com/nilium/ac808ee3729cdce01ec0f3c0a499f099) | Open a merge request on GitLab | | `git-history-graph` | ? | Pretty `git` log, single line per commit, with branch graphing | | `git-ignored` | ? | Show files being ignored by `git` in the repository. | | `git-improved-merge` | Mislav Marohnić's [dotfiles](https://github.com/mislav/dotfiles) | Sophisticated `git merge` with integrated CI check and automatic cleanup. | | `git-incoming` | Michael Markert's [dotfiles](https://github.com/cofi/dotfiles) | Show commits in the tracking branch that are not in the local branch. | | `git-jump` | Cowboy's [dotfiles](https://github.com/cowboy/dotfiles/blob/master/bin/git-jump) | Replays `git` commits by moving forward / backward through a branch's history | | `git-latest-tag` | Joe Block <[email protected]> | Fetch tags from all remotes and show the most recent tag name. | | `git-lines` | [Neil Killeen](https://github.com/kiLLeen) <[email protected]> | Gives you a list of author names with the number of lines last updated by that user in files in the current directory tree with the extension specified. | | `git-log-single-file` | Joe Block <[email protected]> | Show the log for a single file | | `git-ls-branch-files` | Joe Block | List files changed between a specified branch and the current branch | | `git-ls-object-refs` | Ryan Tomayko's dotfiles | Find references to an object with SHA1 in refs, commits, and trees. All of them. | | `git-maildiff` | Sanjeev Kumar's blogpost | A simple `git` command to email diff in color to reviewer/ co-worker. | | `git-make-gitignore` | #commandline-fu on coffeeops | Prints a language-specific `.gitignore` file using [gitignore.io](https://gitignore.io) | | `git-maxpack` | John Wiegley's [git-scripts](https://github.com/jwiegley/git-scripts) | Compress a repository's pack files as much as possible. | | `git-merged-branches` | Sergei Boiko's [Git housekeeping tutorial: clean-up outdated branches in local and remote repositories](https://railsware.com/blog/git-housekeeping-tutorial-clean-up-outdated-branches-in-local-and-remote-repositories/) article | Lists all branches that have been merged | | `git-move-commits` | Corey Oordt's [git-scripts](https://github.com/coordt/git-scripts/blob/master/git-move-commits) | `git move-commits num-commits correct-branch` moves the last n commits to correct-branch (creating it if necessary). | | `git-neck` | Leah Neukirchen's [blog](https://leahneukirchen.org/blog/archive/2013/01/a-grab-bag-of-git-tricks.html) | Show commits from the HEAD until the first branching point. Companion script for `git-trail`. | | `git-nuke` | Zach Holman's [dotfiles](https://github.com/holman/dotfiles) | Nukes a branch locally and on the origin remote. | | `git-object-deflate` | Ryan Tomayko's dotfiles | Deflate an loose object file and write to standard output. | | `git-oldest-common-ancestor` | Lee Dohm's [dotfiles](https://github.com/lee-dohm/dotfiles/blob/main/bin/git-oldest-ancestor) | Finds the oldest common ancestor commit between two branches. | | `git-open-jira` | If the branch name starts with `JIRAPROJECT-NNNN`, will open that issue in jira. Assumes that your JIRA server location is in `~/.jira-server` or in the `$JIRA_SERVER` environment variable. | | `git-origin-head` | Don't recall, maybe twitter | Prints the name of the origin remote's default branch. Not every repository uses `main` or `master`. | | `git-outgoing` | Michael Markert's [dotfiles](https://github.com/cofi/dotfiles) | Show commits that are on the local branch that have not been pushed to the tracking branch. | | `git-overwritten` | Mislav Marohnić's [dotfiles](https://github.com/mislav/dotfiles) | Aggregates `git blame` information about original owners of lines changed or removed in the '<base>...<head>' diff. | | `git-pie-ify` | JeeBak Kim's [gist](https://gist.github.com/jeebak/f9088cede18d31f2d3a0) | `git pie-ify pattern replacement` | | `git-plotrepo` | Matthew McCullogh's [scripts collection](https://github.com/matthewmccullough/scripts/blob/master/git-plotrepo.rb) | Uses dot to draw a graph of the repository. | | `git-pr-fetch` | Joe Block <[email protected]> | Fetch PR branches by refspec from one of a repository's remotes. | | `git-pr-list` | Joe Block <[email protected]> | Lists pull requests. Requires `gh` | | `git-promote` | Trevor's **Improving My git Workflow** blog post (404 now) | Promotes a local topic branch to a remote tracking branch of the same name. | | `git-prune-branches` | Michael Demmer in [jut-io/git-scripts](https://github.com/jut-io/git-scripts/blob/master/bin/git-prune-branches) | Deletes each fully merged branch after prompting for confirmation, than asks if you want the deleted branches deleted from your upstream remotes. | | `git-pruneall` | Ryan Tomayko's dotfiles | Prune branches from specified remotes, or all remotes when no remote is specified. | | `git-publish` | Michael Markert's [dotfiles](https://github.com/cofi/dotfiles) | `git publish remote [remote-branch]` | | `git-purge-from-history` | David Underhill’s blog | Permanently delete files or folders from your `git` repository. | | `git-pylint` | Joe Block <[email protected]> | Runs pylint on any .py files modified or added in the `git status` output. | | `git-rank-contributors` | William Morgan <[email protected]> | Rummages through the changelog and orders contributors by the size of the diffs they're responsible for. | | `git-rebase-authors` | Mislav Marohnić's [dotfiles](https://github.com/mislav/dotfiles) | Adds authorship info to interactive `git rebase` output | | `git-rebase-theirs` | Rodrigo Silva (MestreLion) <[email protected]> | Resolve rebase conflicts by favoring 'theirs' version. | | `git-recent` | Mine | Shows information about most recent commit on all local branches | | `git-recently-checkedout-branches` | Mislav Marohnić's [dotfiles](https://github.com/mislav/dotfiles) | Shows timestamp and name of recently checked-out branches in reverse chronological order. | | `git-ref-recent` | [Y combinator article](https://news.ycombinator.com/item?id=22796640) | Shows the date, branch name, commit hash, and commit subject of branches, from most recently modified to oldest branches. | | `git-rel` | Ryan Tomayko's dotfiles | Shows the relationship between the current branch and _ref_. With no _ref_, the current branch's remote tracking branch is used. | | `git-related` | Mislav Marohnić's [dotfiles](https://github.com/mislav/dotfiles) | Show other files that often get changed in commits that touch `<file>`. | | `git-release-tag` | Mislav Marohnić's [dotfiles](https://github.com/mislav/dotfiles) | Create a GitHub release for a specified tag. The release notes are automatically populated with the contents of git log since the last tagged version | | `git-remote-default-branch` | Mine | Shows the default branch for a specified remote, defaults to origin when no remote is specified. | | `git-remove-conflicts ours or theirs FILES...` | John Wiegley's [git scripts](https://github.com/jwiegley/git-scripts) | Automatically resolves conflicts by applying the changes from current branch (ours) or remote branch (theirs) | | `git-rename-branches` | Rodrigo Silva (MestreLion) <[email protected]> | Rename multiple branches that start with a given name. | | `git-replace-author` | ? | Uses `git-filter-branch` to rewrite all commits with one name to use another name and email. | | `git-reset-with-fire` | Joe Block <[email protected]> | Hard reset the working directory, then zap any files not known to `git`. | | `git-restore-mtime` | Rodrigo Silva (MestreLion) <[email protected]> | Change mtime of files based on commit date of last change. | | `git-reup` | Zach Holman's [dotfiles](https://github.com/holman/dotfiles) | Like `git pull` but show a short and sexy log of changes after merging or rebasing. | | `git-rm-deleted-from-repo` | Joe Block <[email protected]> | Removes files you deleted with `rm` from the repository for you. | | `git-root-directory` | Joe Block <[email protected]> | Prints the path to the root of the `git` repository you're in. | | `git-run-command-on-revisions` | Gary Bernhardt's [dotfiles](https://github.com/garybernhardt/dotfiles) | Runs a given command over a range of `git` revisions. | | `git-shamend` | Danielle Sucher's [git-shamend](http://www.daniellesucher.com/2014/05/08/git-shamend/) blog post | Amends your staged changes as a fixup (keeping the pre-existing commit message) to the specified commit, or HEAD if no revision is specified. | | `git-show-overwritten` | Mislav Marohnić's [dotfiles](https://github.com/mislav/dotfiles) | Aggregates `git blame` information about the original owners of lines changed or removed in the '<base>...<head>' diff. | | `git-shrink-repo` | Based on [gimbo/gimbo-git.zsh](https://github.com/gimbo/gimbo-git.zsh/blob/master/gimbo-git.zsh) | Shrinks your clone of a `git` repository. | | `git-side-by-side` | Greg V's [vmware-archive/git_scripts](https://github.com/vmware-archive/git_scripts) | @hefeweizen on the coffeeops slack | Does a side-by-side diff similar to GitHub PRs | | `git-sp` | A. Schwarz's [git-sp](https://github.com/Schwarzy1/git-sp) | "Simple push", single short command to commit, and push. Use `-a` flag to add all files to commit. | | `git-sr` | Noel Cower's [git-sr](https://gist.github.com/nilium/2829f6690ad888c25660c15ba3a7c59c) | Use `fzf` to switch to a different `git` ref. | | `git-stats` | Jake Zimmerman's [blog](https://blog.jez.io/cli-code-review/) | Displays stats for the files different between the current branch and `$REVIEW_BRANCH`, which if unset defaults to the repository's default branch | | `git-submodule-rm` | Greg V's [dotfiles](https://github.com/myfreeweb/dotfiles) & [Pascal Sommer](https://github.com/pascal-so/) | Allows you to remove a submodule easily with `git submodule-rm path/to/submodule`. | | `git-superpull` | Greg V's [vmware-archive/git_scripts](https://github.com/vmware-archive/git_scripts) | Pulls, then does a `git submodule init` and `git submodule update` | | `git-switch-branch` | Andrew Steele's [dotfiles](https://github.com/Andrew565/dotfiles) | Make it easier to switch to a branch by a substring of its name. More useful if you are good about deleting branches which have been merged upstream and if your branch names include unique identifiers like ticket/issue numbers or feature names. | | `git-tag-and-sign` | ? | Create and sign a new tag | | `git-tag-diff` | John Wiegley's [git-scripts](https://github.com/jwiegley/git-scripts) | Show the differences between local tags and ones on the remote, if any | | `git-thanks` | Mislav Marohnić's [dotfiles](https://github.com/mislav/dotfiles) | List the contributors to a repository in descending commit order, even if their contribution has been completely replaced. | | `git-track` | Zach Holman's [dotfiles](https://github.com/holman/dotfiles) | Sets up your branch to track a remote branch. Assumes you mean _origin/localbranchname_. | | `git-trail` | Leah Neukirchen's [blog](http://leahneukirchen.org/blog/archive/2013/01/a-grab-bag-of-git-tricks.html) | Show all branching points in the repository's `git` history so you can see how to reach commits in the current branch from other branches. | | `git-undelete` | ? | Undeletes a file. | | `git-undo-push` | ? | Undoes your last push to branch **$1** of origin | | `git-undo` | ? | Undoes your last commit but keeps the changes in place. | | `git-unpushed` | Zach Holman's [dotfiles](https://github.com/holman/dotfiles) | Show the diff of everything you haven't pushed to the origin remote yet | | `git-unreleased` | Mislav Marohnić's [dotfiles](https://github.com/mislav/dotfiles) | Shows `git` commits since the last tagged version. | | `git-up` | Zach Holman's [dotfiles](https://github.com/holman/dotfiles) | Like `git pull` but show a short and sexy log of changes after merging or rebasing. | | `git-upstream-name` | Joe Block <[email protected]> | Print the name of the current branch's upstream. | | `git-upstream-sync` | Joe Block <[email protected]> | Fetches _upstream/yourforkname_ and rebases it into your local fork, then pushes to your origin remote. | | `git-what-the-hell-just-happened` | Gary Bernhardt's [dotfiles](https://github.com/garybernhardt/dotfiles/blob/master/bin/git-what-the-hell-just-happened) | Show what just happened. | | `git-when-merged` | Michael Haggerty [git-when-merged](https://github.com/mhagger/git-when-merged) | Find when a commit was merged into one or more branches. | | `git-where-pr` | Mislav Marohnić's [dotfiles](https://github.com/mislav/dotfiles) | Opens the Pull Request on GitHub where a specified commit originated | | `git-where` | Mislav Marohnić's [dotfiles](https://github.com/mislav/dotfiles) | Shows where a particular commit falls between releases. | | `git-whoami` | Peter Eisentraut | Shows what username & email you have configured for the repository you're in | | `git-winner` | Garry Dolley [https://github.com/up_the_irons/git-winner](https://github.com/up_the_irons/git-winner) | Shows what authors have made the most commits, both by number of commits and by number of lines changed. | | `git-wordiness` | Noel Cower | Shows how wordy people's commit messages are. Useful for shaming the folks who commit atrocities like `git commit -m fixup` | | `git-wtf` | William Morgan <[email protected]> | `git-wtf` displays the state of your repository in a readable, easy-to-scan format. It's useful for getting a summary of how a branch relates to a remote server, and for wrangling many topic branches. | ## Useful git aliases Here are some helpful aliases for your `~/.gitconfig` | alias | Description | | ----- | ----------- | | `ahead-of-master = log --oneline origin/master..HEAD` | Show commits that haven't made it to master yet. | | `fetch-pull-requests = fetch origin '+refs/pull/*/head:refs/remotes/origin/pull/*'` | Fetch pull requests from GitHub so you can `git checkout pull/123` and test them locally. | | `roots = log --all --oneline --decorate --max-parents=0` | Show the root commits. | | `unpushed = log @{u}..` | Show which commits have not been pushed to the tracking branch and are safe to amend/rebase. | | `work-in-progress = rebase -i @{u}` | Starts an interactive rebase of all the commits you haven't pushed yet. Handy for collapsing a bunch of work-in-progress snapshots into logical commits before pushing, without having to worry about accidentally squashing a commit someone else has already referred to. | ## Installing ### Pre-requisites - A relatively recent version of `git`. The version of `git` Apple includes in macOS is very stale. You should really `brew install git` to get the current version if you're on macOS - if not for features, for security updates. - Python 3+ - Ruby 2.2+ ### Zgenom If you're using [Zgenom](https://github.com/jandamm/zgenom): 1. Add `zgenom load unixorn/git-extra-commands` to your `.zshrc` along with your other `zgenom load` commands. 2. `zgenom reset && zgenom save` ### Antigen If you're using [Antigen](https://github.com/zsh-users/antigen): 1. Add `antigen bundle unixorn/git-extra-commands@main` to your `.zshrc` where you've listed your other plugins. 2. Close and reopen your Terminal/iTerm window to **refresh context** and use the plugin. Alternatively, you can run `antigen bundle unixorn/git-extra-commands` in a running shell to have `antigen` load the new plugin. ### Fig [Fig](https://fig.io) adds apps, shortcuts, and autocomplete to your existing terminal. Install `git-extra-commands` in just one click. <a href="https://fig.io/plugins/other/git-extra-commands_unixorn" target="_blank"><img src="https://fig.io/badges/install-with-fig.svg" /></a> ### oh-my-zsh If you're using [oh-my-zsh](https://ohmyz.sh): 1. Clone the repository into a new `git-extra-commands` directory in oh-my-zsh's plugin folder: `git clone https://github.com/unixorn/git-extra-commands.git $ZSH_CUSTOM/plugins/git-extra-commands` 2. Edit your `~/.zshrc` and add `git-extra-commands` – same as clone directory – to the list of plugins to enable: `plugins=( ... git-extra-commands )` 3. Then, restart your terminal application to **refresh context** and use the plugin. Alternatively, you can source your current shell configuration: `source ~/.zshrc` ### Bash / Manual Installation Nothing here actually requires you to use ZSH or zgen, that's just a convenient distribution method for anyone using a ZSH framework. If you aren't using any ZSH frameworks, or if you're using `bash`, `fish` or another shell, do the following steps: 1. `git clone` this repository 2. Add `cloneDirectory/bin` to your `$PATH` in your shell's startup file. ## Other useful git stuff ### Articles / Blog posts / Books - [A Grab Bag of Git Tricks](https://leahneukirchen.org/blog/archive/2013/01/a-grab-bag-of-git-tricks.html) by Leah Neukirchen is a great blog post on `git` that is the source for several scripts in this collection. - [4 Branching Workflows for git](https://medium.com/@patrickporto/4-branching-workflows-for-git-30d0aaee7bf) by Patrick Porto discusses the pros and cons of four of the more popular `git` workflows. - [5 types of Git workflows that will help you deliver better code](https://buddy.works/blog/5-types-of-git-workflows) explains five different Git workflows and the way they tackle various aspects of code collaboration: introducing changes, solving conflicts, using branches, and more. - [A Git Walkthrough](http://www.mutuallyhuman.com/blog/2012/06/22/a-git-walkthrough/) by Zach Dennis is a great blog post - [A Thorough Introduction to Git's Interactive Patch Mode](https://dev.to/krnsk0/a-thorough-introduction-to-git-s-interactive-patch-mode-4bl6) is an introduction on how to stage just parts of your changes to a commit. - [A Tidy, Linear Git History](http://www.bitsnbites.eu/a-tidy-linear-git-history/) by Marcus Geelnard is a blog post about the value of a linear commit history. - [Conditional .gitconfig](https://utf9k.net/blog/conditional-gitconfig/) by Marcus Crane explains how to have different `.gitconfig` settings based on where the checkout is located. This makes it easy to have a work directory with work settings applied to all repositories in it, and a personal one with different settings. - [Fuzzy Finding in Bash with fzf](https://bluz71.github.io/2018/11/26/fuzzy-finding-in-bash-with-fzf.html) is a great article about using [fzf](https://github.com/junegunn/fzf) with some `git` helper scripts. - [Fuzzy Git Checkout](https://polothy.github.io/post/2019-08-19-fzf-git-checkout/) by Mark Nielsen explains how to use [fzf](https://github.com/junegunn/fzf) for `git` checkouts. - [Git Exercises](https://jvns.ca/blog/2019/08/30/git-exercises--navigate-a-repository/) is a great blog post by Julia Evans. - [Git From the Inside Out](https://maryrosecook.com/blog/post/git-from-the-inside-out) explains how `git` works, focusing on the graph structure underpinnings of `git` and how they affect its behavior. - [Git Koans](http://stevelosh.com/blog/2013/04/git-koans/) - Inspired by the [Vim Koans](http://blog.sanctum.geek.nz/vim-koans/) - [Git Rebase in Depth](https://git-rebase.io/) is a good tutorial on `git rebase` that covers the common use cases for rebasing. - [Git Submodules Revisted](https://dev.to/dwd/git-submodules-revisited-1p54) is a good article by Dave Cridland on using submodules in your code. - [GitHub Cheat Sheet](https://github.com/tiimgreen/github-cheat-sheet) is an excellent collection of tips and aliases maintained by Tim Green. - [How to Review a Merge Commit](https://haacked.com/archive/2014/02/21/reviewing-merge-commits/) is a good article on dealing with reviewing the changes made during a merge. - [Learn Git Branching](https://learngitbranching.js.org/) is the most visual and interactive way to learn `git` on the web; you'll be challenged with exciting levels, given step-by-step demonstrations of powerful features, and maybe even have a bit of fun along the way. - [More Productive Git](https://increment.com/open-source/more-productive-git/) by James Turnbull is a quick tutorial for beginning `git` users. - [Oh Shit, Git!](http://ohshitgit.com/) has a collection of bad situations explained in plain English and how to get yourself out of them . When you manage to get your `git` working directory in a sad state, you can run into the chicken-egg problem where if you just knew what command to `man`, you could dig yourself out of the hole, but if you knew that, you wouldn't be in the bad place anyway. - [Platform Specific Gitconfigs and the Wonderful includeif](https://medium.com/doing-things-right/platform-specific-gitconfigs-and-the-wonderful-includeif-7376cd44994d) by Mike Mackintosh explains how to have different gitconfig settings based on what platform you're on or what directory you're in. Makes it easier to have personal and work repos on the same machine. - [Pro Git](http://git-scm.com/book) by Scott Chacon is a great resource for getting more out of `git`. - [The Git Pickaxe](http://www.philandstuff.com/2014/02/09/git-pickaxe.html) explains how you can use the `git` pickaxe to search easily for strings in commit messages - write good commit messages and it'll be easier to find the commits that actually implement changes. - [Top ten pull request review mistakes](https://blog.scottnonnenberg.com/top-ten-pull-request-review-mistakes/) is a great article by Scott Nonnenberg on how to do better code reviews on PRs. - [Tracking diffs by scoping to file, range, function, method, or class changes in Git](https://susanpotter.net/software/tracking-diffs-by-scoping-to-file-range-function-method-or-class-changes-in-git/) is a great article by Susan Potter about making `git` show file-specific diffs, or even function-specific diffs in a language-aware way. - [awesome-github](https://github.com/fffaraz/awesome-github) - Faraz Fallahi maintains a curated list of GitHub & Git resources. - [firstaidgit.io](http://firstaidgit.io/) is a searchable selection of the most frequently asked `git` questions - [git flight rules](https://github.com/k88hudson/git-flight-rules) by Kate Hudson is a collection of useful `git` usage tips. - [git, the simple guide](https://rogerdudler.github.io/git-guide/) by Roger Dudler is a good introduction to `git`. - [git-tips/tips](https://github.com/git-tips/tips) is a collection of `git` tips. - [git-tips](http://mislav.net/2010/07/git-tips/) by Mislav Marohnić is a good article on `git` tips. Several of his `git` scripts are in this collection. - [gitimmersion.com/](http://gitimmersion.com/) is a guided tour that walks through the fundamentals of Git, inspired by the premise that to know a thing is to do it. - [gitready.com/](http://gitready.com/) is a great reference which has been collecting information and tips for `git` since 2009. - [learnenough.com](http://www.learnenough.com/git-tutorial) has a more detailed `git` tutorial on - [“Git” it together: Some tips on commit etiquette and best practices for junior developers](https://hackernoon.com/git-it-together-some-tips-on-commit-etiquette-and-best-practices-for-junior-developers-1f147b8dfd56) is a good article explaining some best practices on how to write a _good_ commit message, no matter what source control system you're using. -[Introduction to git](https://learnxinyminutes.com/docs/git/) on [learnxinyminutes.com](https://learnxinyminutes.com) is a quick intro. ### External Git Utilities - [bfg repo-cleaner](https://rtyley.github.io/bfg-repo-cleaner/) - Removes large or troublesome blobs like `git filter-branch` does, but faster. - [bitbucket-git-helpers](https://github.com/unixorn/bitbucket-git-helpers.plugin.zsh) - Helper scripts to allow you to create bitbucket PRs from a shell session. - [blackbox](https://github.com/StackExchange/blackbox) - Tom Limoncelli open sourced the tool they use at Stack Exchange to use GPG to store secrets in a `git` repository. - [branch-manager](https://github.com/elstgav/branch-manager) - ZSH plugin for branch management - [commit-helper](https://github.com/andre-filho/commit-helper) - A python script that helps you write commits following commit conventions. - [diff-so-fancy](https://github.com/so-fancy/diff-so-fancy) - Better looking `git` diffs - [gig](https://dev.to/shihanng/gig-a-gitignore-generator-opc) - a CLI `.gitignore` generator - [git ZSH plugin](https://github.com/davidde/git) - A replacement for the stock oh-my-zsh `git` plugin. Provides quite a few useful aliases and functions that are more consistent in their naming that the relatively unintuitive ones in the stock plugin. - [git-activity](https://github.com/aaossa/git-activity) - Displays an activity graph (like the contribution graph on GitHub) for the current git repository and branch. - [git-aliases.zsh](https://github.com/peterhurford/git-aliases.zsh) - Peter Hurford's `git` plugin which you may prefer to the `git` plugin from oh-my-zsh. - [git-also](https://github.com/anvaka/git-also) - Shows what files are most often committed with a given file in the repository. - [git-amend](https://github.com/colinodell/git-amend-old) - Bash script to amend older commits with staged changes. - [git-branch-status](https://github.com/dmcgowan/git-branch-status) - A `git` utility to make managing large number of branches either across many remotes easier. Branch status allows comparing all branches against their upstream or any arbitrary branch to show the number of commit differences. - [git-branches](https://github.com/shurcooL/git-branches) - Prints the commit behind/ahead counts for branches. - [git-bump](https://github.com/arrdem/git-bump) - Hook scripts to automatically bump the version file in a repository - [git-chart](https://github.com/flashcode/gitchart) - A python script that builds charts from a `git` repository - [git-clean-branch](https://github.com/gobriansteele/git-clean-branch) - Cleans up dead `git` branches. - [git-cliff](https://github.com/orhun/git-cliff) - git-cliff can generate changelog files from the Git history by utilizing conventional commits as well as regex-powered custom parsers. The changelog template can be customized with a configuration file to match the desired format. - [git-complete-urls](https://github.com/rapgenic/zsh-git-complete-urls) - ZSH plugin to enhance `git` tab completion to include in the remotes completion (e.g. from `git clone`) any URL in the clipboard. - [git-crypt](https://www.agwa.name/projects/git-crypt/) - Enables transparent encryption and decryption of files in a `git` repository. Files which you choose to protect are encrypted when committed, and decrypted when checked out. - [git-deploy-s3](https://github.com/bradt/git-deploy-s3) - Keeps your `git` repository's assets in sync with Amazon S3. - [git-diffall](https://github.com/thenigan/git-diffall) - Provides a directory based diff mechanism for `git`. - [git-extend](https://github.com/nickolasburr/git-extend) - Extend `git` builtins with command wrappers. - [git-fastclone](https://github.com/square/git-fastclone) - Think `git clone --recursive` on steroids. If you're doing repeated checkouts of a given repository on a machine (like a ci box), `git-fastclone` will speed things up considerably. - [git-flow-completion](https://github.com/bobthecow/git-flow-completion) - Bash, Fish and ZSH completion support for [git-flow](http://github.com/nvie/gitflow) - [git-follow](https://github.com/nickolasburr/git-follow) - Follow lifetime changes of a pathspec. - [git-fuzzy](https://github.com/bigH/git-fuzzy) - A CLI interface to `git` that relies heavily on [`fzf`](https://github.com/junegunn/fzf). - [git-graph](https://github.com/jerith666/git-graph) - creates a [Graphviz](https://graphviz.org/) graph showing the high-level structure of a repository's history. - [git-gutter](https://github.com/jisaacks/GitGutter) - Plugin for [Sublime Text](https://www.sublimetext.com/) 2/3 to display the `git` diff in the edit window gutter. - [git-it-on.zsh](https://github.com/peterhurford/git-it-on.zsh) - Another plugin by Peter Hurford that adds a `gitit` command that will open your current directory on github, in your current branch. Also works with private GitHub servers. - [git-lint](https://github.com/bkuhlmann/git-lint) - Enforces `git` rebase workflow with consistent commits for a clean and easy to read/debug project history. - [git-prompt-kit](https://github.com/olets/git-prompt-kit) - A configurable set of components for creating feature rich, high performance Git-aware zsh prompts (aka themes) with minimal coding. - [git-quick-stats](https://github.com/arzzen/git-quick-stats) - A simple and efficient way to access various statistics in a `git` repository. - [git-repo-updater](https://github.com/earwig/git-repo-updater) - Allows you to easily update multiple `git` repositories at once. - [git-secrets](https://github.com/awslabs/git-secrets) - Prevents you from committing secrets and credentials into `git` repositories. - [git-standup](https://github.com/kamranahmedse/git-standup) - Recall what you did on the last working day. Can work in a directory full of `git` repositories to see a consolidated view of all work in all the repositories. - [git-stashd](https://github.com/nickolasburr/git-stashd) - Autostashing daemon for dirty worktrees. - [git-submodule-tools](https://github.com/kollerma/git-submodule-tools) - A collection of scripts that should help make life with `git` submodules easier. - [git-sweep](https://github.com/arc90/git-sweep) - A utility script to remove branches that have been merged to master. - [git-todo](https://github.com/ibolmo/git-todo/blob/master/git-todo) - helper script to show all the todo entries in your repository. - [git-up (gem)](https://github.com/aanand/git-up) - Fetch and rebase all locally-tracked remote branches. - [git-up (python)](https://pypi.python.org/pypi/git-up) - Python implementation of Aanand's original ruby gem - [git-wayback-machine](https://github.com/MadRabbit/git-wayback-machine) - A simple script to quickly navigate a project's state through it's `git` history - [git-worktree](https://github.com/alexiszamanidis/zsh-git-worktree/) - ZSH plugin that wraps `git worktree` for ease of use. - [git_history_visualizer](https://github.com/kidpixo/git_history_visualizer) - python script to visualize the history of files in a `git` repository - [gitgo](https://github.com/ltj/gitgo) - Open a GitHub/Gitlab hosted repository in your browser via the command-line (macOS only). - [gitsh](https://github.com/thoughtbot/gitsh) - An interactive shell for `git`. From within gitsh you can issue any `git` command, even using your local aliases and configuration. - [gunstage](https://github.com/LucasLarson/gunstage) - There are at least eight ways to unstage files in a `git` repository. This is a command-line shell plugin for undoing `git add`. - [hitch](https://github.com/therubymug/hitch) - Allows developers to be properly credited when Pair Programming and using `git`. - [hub](https://github.com/github/hub) - A command-line tool that wraps `git` in order to extend it with extra features and commands that make working with GitHub easier. - [igit](https://github.com/ytakahashi/igit) - Interactively construct `git` commands using [fzf](https://github.com/junegunn/fzf). - [joe](https://github.com/karan/joe) - Generates `.gitignore` files from the command-line for you. - [mergepbx](https://github.com/simonwagner/mergepbx) - Helper script for merging XCode project files. - [more-hooks-for-git](https://github.com/capsulescodes/more-hooks-for-git) - Adds extra hooks for `git add`, `git diff` and `git status`. - [switch-git](https://github.com/robin-mbg/switch-git) - Easy switching between `git` repositories. Just type `sgr <some part of you repo's name>`, press enter and you're there. - [ugit](https://github.com/Bhupesh-V/ugit) - Lets you undo your last `git` operation. - [worktree](https://github.com/jspears/worktree) - Adds functions that wrap `git worktree`. - [xcode-build-scripts](https://github.com/indirect/xcode-git-build-scripts) - Helper scripts to use with XCode projects. ## Miscellaneous Tips ### Make it easier to check out default branch Many repositories are switching away from using **master** as the default branch name. You can do `git config --global alias.co-default '!'"git checkout \$(git branch -r | awk -F/ '/HEAD/ {print \$NF}')"` to add a co-default alias that will determine what the repository's default branch is for you. Alternatively, add the following aliases from a [tweet by @jnesselr](https://twitter.com/jnesselr/status/1334586152691625985) to your `.gitconfig` file: ```sh cdef = "!git checkout $(git originhead)" originhead = "!git remote show origin | grep 'HEAD branch' | cut -d ' ' -f5" ``` This queries the remote to get the current up to date default branch, so it will work even if the remote's default branch changes after you did your initial checkout. ### Have git cope with typos Do `git config --global help.autocorrect 1` git will now try to figure out what you meant, for example: ```sh $ git commt WARNING: You called a Git command named 'commt', which does not exist. Continuing in 0.1 seconds, assuming that you meant 'commit'. ``` ### Rewrite `git://` with `https://` ```sh git config --global url."https://github".insteadOf git://github ``` ### or replace with `ssh` Use `ssh` instead of `https://` ```sh git config --global url."[email protected]:".insteadOf "https://github.com/" ``` **Credit:** [@grawity](https://github.com/grawity/) & [@hansdg1](https://github.com/hansdg1) by way of [@Kovrinic's gist](https://gist.github.com/Kovrinic/ea5e7123ab5c97d451804ea222ecd78a) ## Contributing - Please include an entry both in the credits section of README.md for any scripts and a credit comment in the script itself in your PRs so authors get their work credited correctly. - Please use `#!/usr/bin/env interpreter` instead of a direct path to the interpreter, this makes it easier for people to use more recent versions when the ones packaged with their OS (macOS and CentOS, I'm looking at you!) are stale. ## Thanks Many thanks to all the contributors over the years. <a href="https://github.com/unixorn/git-extra-commands/graphs/contributors"> <img src="https://contributors-img.web.app/image?repo=unixorn/git-extra-commands" /> </a> Made with [contributors-img](https://contributors-img.web.app).
3,149
Captain - Convert your Git workflow to Docker :whale: containers
[![Build Status](https://travis-ci.org/harbur/captain.svg?branch=master)](https://travis-ci.org/harbur/captain) [![Coverage Status](https://coveralls.io/repos/github/harbur/captain/badge.svg?branch=master)](https://coveralls.io/github/harbur/captain?branch=master) # Introduction Captain - Convert your Git workflow to Docker containers ready for Continuous Delivery Define your workflow in the `captain.yaml` and use captain to your Continuous Delivery service to create containers for each commit, test them and push them to your registry only when tests passes. * Use `captain build` to build your Dockerfile(s) of your repository. If your repository has local changes the containers will only be tagged as *latest*, otherwise the containers will be tagged as *latest*, *COMMIT_ID* & *BRANCH_NAME*. Now your Git commit tree is reproduced in your local docker repository. * Use `captain test` to run your tests * Use `captain push` to send selected images to the remote repository From the other side, you can now pull the feature branch you want to test, or create distribution channels (such as 'alpha', 'beta', 'stable') using git tags that are propagated to container tags. ![intro](https://cloud.githubusercontent.com/assets/367397/6997822/c9aeadd8-dbcb-11e4-9901-dd62bcb33e5e.gif) ## Installation To install Captain, run: ``` curl -sSL https://raw.githubusercontent.com/harbur/captain/v1.1.3/install.sh | bash ``` You will need to add `~/.captain/bin` in your `PATH`. E.g. in your `.bashrc` or `.zshrc` add: ``` export PATH=$HOME/.captain/bin:$PATH ``` ## Captain.yml Format Captain will automatically configure itself with sane values without the need for any pre-configuration, so that it will work in most cases. When it doesn't, the `captain.yml` file can be used to configure it properly. This is a simple YAML file placed on the root directory of your git repository. Captain will look for it and use it to be configured. Here is a full `captain.yml` example: ```yaml hello-world: build: Dockerfile image: harbur/hello-world pre: - echo "Preparing hello-world" post: - echo "Finished hello-world" hello-world-test: build: Dockerfile.test image: harbur/hello-world-test pre: - echo "Preparing hello-world-test" post: - echo "Finished hello-world-test" test: - docker run -e NODE_ENV=TEST harbur/hello-world-test node mochaTest - docker run -e NODE_ENV=TEST harbur/hello-world-test node karmaTest project-with-build-args: build: Dockerfile image: harbur/buildargs build_arg: keyname: keyvalue ``` ### image The location of the Dockerfile to be compiled. When auto-detecting, the image will be re-constructed by the following rules: - `Dockerfile`: `username`/`parent_dir` - `Dockerfile.*`: `username`/`parent_dir`.`parsed_suffix` Where - `username` is the host's username - `parent_dir` is the Dockerfile's parent directory name - `parsed_suffix`: is the suffix of the Dockerfile parsed with the following rules: - Lower-cased to avoid invalid repository names (Repository names support only lowercase letters, digits and _ - . characters are allowed) ```yaml image: harbur/hello-world ``` ### build The relative path of the Dockerfile to be used to compile the image. The Dockerfile's directory is also the build context that is sent to the Docker daemon. When auto-detecting it will walk current directory and all subdirectories to locate Dockerfiles of the following format: - `Dockerfile` - `Dockerfile.*` The build path will be reconstructed automatically to compile the Dockerfile. The build context will be the directory where the Dockerfile is located. Note: If more than one Dockerfiles are needed on specific directory, suffix can be used to separate them and share the same build context. ```yaml build: Dockerfile build: Dockerfile.custom build: path/to/file/Dockerfile build: path/to/file/Dockerfile.custom ``` ### test A list of commands that are run as tests after the compilation of the specific image. If any command fail, then captain stops and reports a non-zero exit status. ```yaml test: - docker run -e NODE_ENV=TEST harbur/hello-world-test node mochaTest - docker run -e NODE_ENV=TEST harbur/hello-world-test node karmaTest ``` ### pre A list of commands that are run as preparation before the compilation of the specific image. If any command fail, then captain stops and reports a non-zero exit status. ```yaml pre: - echo "Preparing compilation" ``` ### post A list of commands that are run as post-execution after the compilation of the specific image. If any command fail, then captain stops and reports a non-zero exit status. ```yaml post: - echo "Reporting after compilation" ``` ### build_arg A set of key values that are passed to docker build as `--build-arg` flag. For more information about build-args see [here](https://docs.docker.com/engine/reference/commandline/build/). ```yaml build_arg: keyname: keyvalue ``` ## CLI Commands ### build Builds the docker image(s) of your repository It will build the docker image(s) described on captain.yml in order they appear on file Flags: ``` -B, --all-branches=false: Build all branches on specific commit instead of just working branch -f, --force=false: Force build even if image is already built ``` ### test Runs the tests It will execute the commands described on test section in order they appear on file ### push Pushes the images to remote registry It will push the generated images to the remote registry By default it pushes the 'latest' and the 'branch' docker tags. Flags: ``` -B, --all-branches=false: Push all branches on specific commit instead of just working branch -b, --branch-tags=true: Push the 'branch' docker tags -c, --commit-tags=false: Push the 'commit' docker tags ``` ### pull Pulls the images from remote registry It will pull the images from the remote registry By default it pulls the 'latest' and the 'branch' docker tags. Flags: ``` -B, --all-branches=false: Pull all branches on specific commit instead of just working branch -b, --branch-tags=true: Pull the 'branch' docker tags -c, --commit-tags=false: Pull the 'commit' docker tags ``` ### self-update Updates Captain to the last available version. ### version Display version Displays the version of Captain ### help Help provides help for any command in the application. Simply type `captain help [path to command]` for full details. ## Global CLI Flags ``` -D, --debug=false: Enable debug mode -h, --help=false: help for captain -N, --namespace="username": Set default image namespace ``` ## Docker Tags Lifecycle The following is the workflow of tagging Docker images according to git state. - If you're in non-git repository, captain will tag the built images with `latest`. - If you're in dirty-git repository, captain will tag the built images with `latest`. - If you're in pristine-git repository, captain will tag the built images with `latest`, `commit-id`, `branch-name`, `tag-name`. A maximum of one tag per commit id is supported. ## Roadmap Here are some of the features pending to be implemented: * Environment variables to set captain flags * Implementation of `captain detect` that outputs the generated `captain.yml` with auto-detected content. * Implementation of `captain ci [travis|circle|etc.]` to output configuration wrappers for each CI service * Configure which images are to be pushed (e.g. to exclude test images) * Configure which tag regex are to be pushed (e.g. to exclude development sandbox branches)
3,150
An idiomatic, lean, fast & safe pure Rust implementation of Git
[![Rust](https://github.com/Byron/gitoxide/workflows/Rust/badge.svg)](https://github.com/Byron/gitoxide/actions) [![Crates.io](https://img.shields.io/crates/v/gitoxide.svg)](https://crates.io/crates/gitoxide) <img src="etc/msrv-badge.svg"> `gitoxide` is an implementation of `git` written in Rust for developing future-proof applications which strive for correctness and performance while providing a pleasant and unsurprising developer experience. `gitoxide` provides the `gix` and `ein` binaries for use on the command-line to allow experimentation with key features like `fetch` and `clone`, and to validate the usability and control of the API offered by the [`git-repository`] crate. `gitoxide` aspires to be a production-grade server implementation and the `ein` binary aspires to become the default way to interact with git repositories. [![asciicast](https://asciinema.org/a/542159.svg)](https://asciinema.org/a/542159) [`git-repository`]: https://docs.rs/git-repository ## Development Status The command-line tools as well as the status of each crate is described in [the crate status document](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-mailmap). For use in applications, look for the [`git-repository`](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-repository) crate, which serves as entrypoint to the functionality provided by various lower-level plumbing crates like [`git-config`](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-config). ### Crates Follow linked crate name for detailed status. Please note that all crates follow [semver] as well as the [stability guide]. [semver]: https://semver.org ### Production Grade * **Stability Tier 1** - [git-lock](https://github.com/Byron/gitoxide/blob/main/git-lock/README.md) * **Stability Tier 2** - [git-tempfile](https://github.com/Byron/gitoxide/blob/main/git-tempfile/README.md) ### Stabilization Candidates Crates that seem feature complete and need to see some more use before they can be released as 1.0. Documentation is complete and was reviewed at least once. * [git-mailmap](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-mailmap) * [git-chunk](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-chunk) * [git-ref](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-ref) * [git-config](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-config) * [git-config-value](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-config-value) * [git-glob](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-glob) ### Initial Development These crates may be missing some features and thus are somewhat incomplete, but what's there is usable to some extent. * **usable** _(with rough but complete docs, possibly incomplete functionality)_ * [git-actor](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-actor) * [git-hash](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-hash) * [git-object](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-object) * [git-validate](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-validate) * [git-url](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-url) * [git-packetline](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-packetline) * [git-transport](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-transport) * [git-protocol](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-protocol) * [git-pack](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-pack) * [git-odb](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-odb) * [git-commitgraph](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-commitgraph) * [git-diff](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-diff) * [git-traverse](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-traverse) * [git-features](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-features) * [git-credentials](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-credentials) * [git-sec](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-sec) * [git-quote](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-quote) * [git-discover](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-discover) * [git-path](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-path) * [git-repository](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-repository) * [git-attributes](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-attributes) * [git-pathspec](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-pathspec) * [git-index](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-index) * [git-revision](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-revision) * [git-command](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-command) * [git-prompt](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-prompt) * [git-refspec](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-refspec) * `gitoxide-core` * **very early** _(possibly without any documentation and many rough edges)_ * [git-worktree](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-worktree) * [git-bitmap](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-bitmap) * [git-date](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-date) * [git-hashtable](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-hashtable) * **idea** _(just a name placeholder)_ * [git-note](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-note) * [git-fetchhead](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-fetchhead) * [git-filter](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-filter) * [git-lfs](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-lfs) * [git-rebase](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-rebase) * [git-sequencer](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-sequencer) * [git-submodule](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-submodule) * [git-tui](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-tui) * [git-tix](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-tix) * [git-bundle](https://github.com/Byron/gitoxide/blob/main/crate-status.md#git-bundle) ### Stress Testing * [x] Verify huge packs * [x] Explode a pack to disk * [x] Generate and verify large commit graphs * [ ] Generate huge pack from a lot of loose objects ### Stability and MSRV Our [stability guide] helps to judge how much churn can be expected when depending on crates in this workspace. [stability guide]: https://github.com/Byron/gitoxide/blob/main/STABILITY.md ## Installation ### Download a Binary Release Using `cargo quickinstall`, one is able to fetch [binary releases][releases]. You can install it via `cargo install cargo-quickinstall`, assuming the [rust toolchain][rustup] is present. Then install gitoxide with `cargo quickinstall gitoxide`. See the [releases section][releases] for manual installation and various alternative builds that are _slimmer_ or _smaller_, depending on your needs, for _Linux_, _MacOS_ and _Windows_. [releases]: https://github.com/Byron/gitoxide/releases ### Download from Arch-Repository For Arch Linux you can download `gitoxide` from `community` repository: ``` pacman -S gitoxide ``` ### From Source via Cargo `cargo` is the Rust package manager which can easily be obtained through [rustup]. With it, you can build your own binary effortlessly and for your particular CPU for additional performance gains. The minimum supported Rust version is [documented in the CI configuration](https://github.com/Byron/gitoxide/blob/main/.github/workflows/msrv.yml#L23), the latest stable one will work as well. ``` # The default installation, 'max' cargo install gitoxide # For smaller binaries and even faster build times that are traded for a less fancy CLI implementation, use `lean` # or `lean-termion` respectively. cargo install gitoxide --no-default-features --features lean ``` The following installs the latest unpublished release directly from git: ```sh cargo install --git https://github.com/Byron/gitoxide gitoxide ``` #### How to deal with build failures On some platforms, installation may fail due to lack of tools required by `C` toolchains. This can generally be avoided by installation with `cargo install gitoxide --no-default-features --features max-pure`. What follows is a list of known failures. - On Fedora, `perl` needs to be installed for `OpenSSL` to build properly. This can be done with the following command: `dnf install perl` (see [this issue](https://github.com/Byron/gitoxide/issues/592)). [releases]: https://github.com/Byron/gitoxide/releases [rustup]: https://rustup.rs ## Usage Once installed, there are two binaries: * **ein** * high level commands, _porcelain_, for every-day use, optimized for a pleasant user experience * **gix** * low level commands, _plumbing_, for use in more specialized cases and to validate newly written code in real-world scenarios ## Project Goals Project goals can change over time as we learn more, and they can be challenged. * **a pure-rust implementation of git** * including *transport*, *object database*, *references*, *cli* and *tui* * a simple command-line interface is provided for the most common git operations, optimized for user experience. A *simple-git* if you so will. * be the go-to implementation for anyone who wants to solve problems around git, and become *the* alternative to `GitPython` and *libgit2* in the process. * become the foundation for a distributed alternative to GitHub, and maybe even for use within GitHub itself * **learn from the best to write the best possible idiomatic Rust** * *libgit2* is a fantastic resource to see what abstractions work, we will use them * use Rust's type system to make misuse impossible * **be the best performing implementation** * use Rust's type system to optimize for work not done without being hard to use * make use of parallelism from the get go * _sparse checkout_ support from day one * **assure on-disk consistency** * assure reads never interfere with concurrent writes * assure multiple concurrent writes don't cause trouble * **take shortcuts, but not in quality** * binaries may use `anyhow::Error` exhaustively, knowing these errors are solely user-facing. * libraries use light-weight custom errors implemented using `quick-error` or `thiserror`. * internationalization is nothing we are concerned with right now. * IO errors due to insufficient amount of open file handles don't always lead to operation failure * **Cross platform support, including Windows** * With the tools and experience available here there is no reason not to support Windows. * [Windows is tested on CI](https://github.com/Byron/gitoxide/blob/df66d74aa2a8cb62d8a03383135f08c8e8c579a8/.github/workflows/rust.yml#L34) and failures do prevent releases. ## Non-Goals Project non-goals can change over time as we learn more, and they can be challenged. * **replicate `git` command functionality perfectly** * `git` is `git`, and there is no reason to not use it. Our path is the one of simplicity to make getting started with git easy. * **be incompatible to git** * the on-disk format must remain compatible, and we will never contend with it. * **use async IO everywhere** * for the most part, git operations are heavily reliant on memory mapped IO as well as CPU to decompress data, which doesn't lend itself well to async IO out of the box. * Use `blocking` as well as `git-features::interrupt` to bring operations into the async world and to control long running operations. * When connecting or streaming over TCP connections, especially when receiving on the server, async seems like a must though, but behind a feature flag. ## Contributions If what you have seen so far sparked your interest to contribute, then let us say: We are happy to have you and help you to get started. > ❗️Note❗️: For cloning, `git-lfs` needs to be locally installed or the checkout will fail. `git lfs install` must have been called once, followed by `git lfs pull` to replace the `lfs`-pointer files. We recommend running `make tests check-size` during the development process to assure CI is green before pushing. A backlog for work ready to be picked up is [available in the Project's Kanban board][project-board], which contains instructions on how to pick a task. If it's empty or you have other questions, feel free to [start a discussion][discussions] or reach out to @Byron [privately][keybase]. For additional details, also take a look at the [collaboration guide]. [collaboration guide]: https://github.com/Byron/gitoxide/blob/main/COLLABORATING.md [project-board]: https://github.com/Byron/gitoxide/projects [discussions]: https://github.com/Byron/gitoxide/discussions [keybase]: https://keybase.io/byronbates ### Getting started with Video Tutorials - [Learning Rust with Gitoxide](https://youtube.com/playlist?list=PLMHbQxe1e9Mk5kOHrm9v20-umkE2ck_gE) - In 17 episodes you can learn all you need to meaningfully contribute to `gitoxide`. - [Getting into Gitoxide](https://youtube.com/playlist?list=PLMHbQxe1e9MkEmuj9csczEK1O06l0Npy5) - Get an introduction to `gitoxide` itself which should be a good foundation for any contribution, but isn't a requirement for contributions either. - [Gifting Gitoxide](https://www.youtube.com/playlist?list=PLMHbQxe1e9MlhyyZQXPi_dc-bKudE-WUw) - See how PRs are reviewed along with a lot of inner monologue. #### Other Media - [Rustacean Station Podcast](https://rustacean-station.org/episode/055-sebastian-thiel/) ## Roadmap ### Features for 1.0 Provide a CLI to for the most basic user journey: * [x] initialize a repository * [x] fetch * [ ] and update worktree * clone a repository - [ ] bare - [ ] with working tree * [ ] create a commit after adding worktree files * [x] add a remote * [ ] push * [x] create (thin) pack ### Ideas for Examples * [ ] `gix tool open-remote` open the URL of the remote, possibly after applying known transformations to go from `ssh` to `https`. * [ ] `tix` as example implementation of `tig`, displaying a version of the commit graph, useful for practicing how highly responsive GUIs can be made. * [ ] Something like [`git-sizer`](https://github.com/github/git-sizer), but leveraging extreme decompression speeds of indexed packs. * [ ] Open up SQL for git using [sqlite virtual tables](https://github.com/rusqlite/rusqlite/blob/master/tests/vtab.rs). Check out gitqlite as well. What would an MVP look like? Maybe even something that could ship with gitoxide. See [this go implementation as example](https://github.com/filhodanuvem/gitql). * [ ] A truly awesome history rewriter which makes it easy to understand what happened while avoiding all pitfalls. Think BFG, but more awesome, if that's possible. * [ ] `git-tui` should learn a lot from [fossil-scm] regarding the presentation of data. Maybe [this](https://github.com/Lutetium-Vanadium/requestty/) can be used for prompts. Probably [magit] has a lot to offer, too. ### Ideas for Spin-Offs * [ ] A system to integrate tightly with `git-lfs` to allow a multi-tier architecture so that assets can be stored in git and are accessible quickly from an intranet location (for example by accessing the storage read-only over the network) while changes are pushed immediately by the server to other edge locations, like _the cloud_ or backups. Sparse checkouts along with explorer/finder integrations make it convenient to only work on a small subset of files locally. Clones can contain all configuration somebody would need to work efficiently from their location, and authentication for the git history as well as LFS resources make the system secure. One could imagine encryption support for untrusted locations in _the cloud_ even though more research would have to be done to make it truly secure. * [ ] A [syncthing] like client/server application. This is to demonstrate how lower-level crates can be combined into custom applications that use only part of git's technology to achieve their very own thing. Watch out for big file support, multi-device cross-syncing, the possibility for untrusted destinations using full-encryption, case-insensitive and sensitive filesystems, and extended file attributes as well as ignore files. * An event-based database that uses commit messages to store deltas, while occasionally aggregating the actual state in a tree. Of course it's distributed by nature, allowing people to work offline. - It's abstracted to completely hide the actual data model behind it, allowing for all kinds of things to be implemented on top. - Commits probably need a nanosecond component for the timestamp, which can be added via custom header field. - having recording all changes allows for perfect merging, both on the client or on the server, while keeping a natural audit log which makes it useful for mission critical databases in business. * **Applications** - Can markdown be used as database so issue-trackers along with meta-data could just be markdown files which are mostly human-editable? Could user interfaces be meta-data aware and just hide the meta-data chunks which are now editable in the GUI itself? Doing this would make conflicts easier to resolve than an `sqlite` database. - A time tracker - simple data, very likely naturally conflict free, and interesting to see it in terms of teams or companies using it with maybe GitHub as Backing for authentication. - How about supporting multiple different trackers, as in different remotes? [syncthing]: https://github.com/syncthing/syncthing [fossil-scm]: https://www.fossil-scm.org [magit]: https://magit.vc ## Shortcomings & Limitations Please take a look at the [`SHORTCOMINGS.md` file](https://github.com/Byron/gitoxide/blob/main/SHORTCOMINGS.md) for details. ## Credits * **itertools** _(MIT Licensed)_ * We use the `izip!` macro in code * **deflate2** _(MIT Licensed)_ * We use various abstractions to implement decompression and compression directly on top of the rather low-level `miniz_oxide` crate ## 🙏 Special Thanks 🙏 At least for now this section is exclusive to highlight the incredible support that [Josh Triplett](https://github.com/joshtriplett) has provided to me in the form of advice, sponsorship and countless other benefits that were incredibly meaningful. Going full time with `gitoxide` would hardly have been feasible without his involvement, and I couldn't be more grateful 😌. ## License This project is licensed under either of * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0) * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) at your option. ## Fun facts * Originally @Byron was really fascinated by [this problem](https://github.com/gitpython-developers/GitPython/issues/765#issuecomment-396072153) and believes that with `gitoxide` it will be possible to provide the fastest solution for it. * @Byron has been absolutely blown away by `git` from the first time he experienced git more than 13 years ago, and tried to implement it in [various shapes](https://github.com/gitpython-developers/GitPython/pull/1028) and [forms](https://github.com/byron/gogit) multiple [times](https://github.com/Byron/gitplusplus). Now with Rust @Byron finally feels to have found the right tool for the job!
3,151
Single tabpage interface for easily cycling through diffs for all modified files for any git rev.
# Diffview.nvim Single tabpage interface for easily cycling through diffs for all modified files for any git rev. ![preview](https://user-images.githubusercontent.com/2786478/131269942-e34100dd-cbb9-48fe-af31-6e518ce06e9e.png) ## Introduction Vim's diff mode is pretty good, but there is no convenient way to quickly bring up all modified files in a diffsplit. This plugin aims to provide a simple, unified, single tabpage interface that lets you easily review all changed files for any git rev. ## Requirements - Git ≥ 2.31.0 - Neovim ≥ 0.7.0 - [plenary.nvim](https://github.com/nvim-lua/plenary.nvim) - [nvim-web-devicons](https://github.com/kyazdani42/nvim-web-devicons) (optional) For file icons ## Installation Install the plugin with your package manager of choice. ```vim " Plug Plug 'nvim-lua/plenary.nvim' Plug 'sindrets/diffview.nvim' ``` ```lua -- Packer use { 'sindrets/diffview.nvim', requires = 'nvim-lua/plenary.nvim' } ``` ## Merge Tool ![merge tool showcase](https://user-images.githubusercontent.com/2786478/188286293-13bbf0ab-3595-425d-ba4a-12f514c17eb6.png) Opening a diff view during a merge or a rebase will list the conflicted files in their own section. When opening a conflicted file, it will open in a 3-way diff allowing you to resolve the merge conflicts with the context of the target branch's version, as well as the version from the branch which is being merged. The 3-way diff is only the default layout for merge conflicts. There are multiple variations on this layout, a 4-way diff layout, and a single window layout available. In addition to the normal `:h copy-diffs` mappings, there are default mappings provided for jumping between conflict markers, obtaining a hunk directly from any of the diff buffers, and accepting any one, all, or none of the versions of a file given by a conflict region. For more information on the merge tool, mappings, layouts and how to configure them, see: - `:h diffview-merge-tool` - `:h diffview-config-view.x.layout` ## File History ![file history showcase](https://user-images.githubusercontent.com/2786478/188331057-f9ec9a0d-8cda-4ff8-ac98-febcc7aa4010.png) The file history view allows you to list all the commits that affected a given set of paths, and view the changes made in a diff split. This is a porcelain interface for git-log, and supports a good number of its options. Things like: - Filtering commits by grepping commit messages and commit authors. - Tracing the line evolution of a given set of line ranges for multiple files. - Only listing changes for a specific commit range, branch, or tag. - Following file changes through renames. Get started by opening file history for: - The current branch: `:DiffviewFileHistory` - The current file: `:DiffviewFileHistory %` For more info, see `:h :DiffviewFileHistory`. ## Usage ### `:DiffviewOpen [git rev] [options] [ -- {paths...}]` Calling `:DiffviewOpen` with no args opens a new Diffview that compares against the current index. You can also provide any valid git rev to view only changes for that rev. Examples: - `:DiffviewOpen` - `:DiffviewOpen HEAD~2` - `:DiffviewOpen HEAD~4..HEAD~2` - `:DiffviewOpen d4a7b0d` - `:DiffviewOpen d4a7b0d^!` - `:DiffviewOpen d4a7b0d..519b30e` - `:DiffviewOpen origin/main...HEAD` You can also provide additional paths to narrow down what files are shown: - `:DiffviewOpen HEAD~2 -- lua/diffview plugin` For information about additional `[options]`, visit the [documentation](https://github.com/sindrets/diffview.nvim/blob/main/doc/diffview.txt). Additional commands for convenience: - `:DiffviewClose`: Close the current diffview. You can also use `:tabclose`. - `:DiffviewToggleFiles`: Toggle the file panel. - `:DiffviewFocusFiles`: Bring focus to the file panel. - `:DiffviewRefresh`: Update stats and entries in the file list of the current Diffview. With a Diffview open and the default key bindings, you can cycle through changed files with `<tab>` and `<s-tab>` (see configuration to change the key bindings). #### Staging You can stage individual hunks by editing any buffer that represents the index (after running `:DiffviewOpen` with no `[git-rev]` the entries under "Changes" will have the index buffer on the left side, and the entries under "Staged changes" will have it on the right side). Once you write to an index buffer the index will be updated. ### `:[range]DiffviewFileHistory [paths] [options]` Opens a new file history view that lists all commits that affected the given paths. This is a porcelain interface for git-log. Both `[paths]` and `[options]` may be specified in any order, even interchangeably. If no `[paths]` are given, defaults to the top-level of the working tree. The top-level will be inferred from the current buffer when possible, otherwise the cwd is used. Multiple `[paths]` may be provided and git pathspec is supported. If `[range]` is given, the file history view will trace the line evolution of the given range in the current file (for more info, see the `-L` flag in the docs). Examples: - `:DiffviewFileHistory` - `:DiffviewFileHistory %` - `:DiffviewFileHistory path/to/some/file.txt` - `:DiffviewFileHistory path/to/some/directory` - `:DiffviewFileHistory include/this and/this :!but/not/this` - `:DiffviewFileHistory --range=origin..HEAD` - `:DiffviewFileHistory --range=feat/example-branch` - `:'<,'>DiffviewFileHistory` ## Configuration <p> <details> <summary style='cursor: pointer'><b>Example config with default values</b></summary> ```lua -- Lua local actions = require("diffview.actions") require("diffview").setup({ diff_binaries = false, -- Show diffs for binaries enhanced_diff_hl = false, -- See ':h diffview-config-enhanced_diff_hl' git_cmd = { "git" }, -- The git executable followed by default args. use_icons = true, -- Requires nvim-web-devicons show_help_hints = true, -- Show hints for how to open the help panel watch_index = true, -- Update views and index buffers when the git index changes. icons = { -- Only applies when use_icons is true. folder_closed = "", folder_open = "", }, signs = { fold_closed = "", fold_open = "", done = "✓", }, view = { -- Configure the layout and behavior of different types of views. -- Available layouts: -- 'diff1_plain' -- |'diff2_horizontal' -- |'diff2_vertical' -- |'diff3_horizontal' -- |'diff3_vertical' -- |'diff3_mixed' -- |'diff4_mixed' -- For more info, see ':h diffview-config-view.x.layout'. default = { -- Config for changed files, and staged files in diff views. layout = "diff2_horizontal", winbar_info = false, -- See ':h diffview-config-view.x.winbar_info' }, merge_tool = { -- Config for conflicted files in diff views during a merge or rebase. layout = "diff3_horizontal", disable_diagnostics = true, -- Temporarily disable diagnostics for conflict buffers while in the view. winbar_info = true, -- See ':h diffview-config-view.x.winbar_info' }, file_history = { -- Config for changed files in file history views. layout = "diff2_horizontal", winbar_info = false, -- See ':h diffview-config-view.x.winbar_info' }, }, file_panel = { listing_style = "tree", -- One of 'list' or 'tree' tree_options = { -- Only applies when listing_style is 'tree' flatten_dirs = true, -- Flatten dirs that only contain one single dir folder_statuses = "only_folded", -- One of 'never', 'only_folded' or 'always'. }, win_config = { -- See ':h diffview-config-win_config' position = "left", width = 35, win_opts = {} }, }, file_history_panel = { log_options = { -- See ':h diffview-config-log_options' git = { single_file = { diff_merges = "combined", }, multi_file = { diff_merges = "first-parent", }, }, hg = { single_file = {}, multi_file = {}, }, }, win_config = { -- See ':h diffview-config-win_config' position = "bottom", height = 16, win_opts = {} }, }, commit_log_panel = { win_config = { -- See ':h diffview-config-win_config' win_opts = {}, } }, default_args = { -- Default args prepended to the arg-list for the listed commands DiffviewOpen = {}, DiffviewFileHistory = {}, }, hooks = {}, -- See ':h diffview-config-hooks' keymaps = { disable_defaults = false, -- Disable the default keymaps view = { -- The `view` bindings are active in the diff buffers, only when the current -- tabpage is a Diffview. { "n", "<tab>", actions.select_next_entry, { desc = "Open the diff for the next file" } }, { "n", "<s-tab>", actions.select_prev_entry, { desc = "Open the diff for the previous file" } }, { "n", "gf", actions.goto_file, { desc = "Open the file in a new split in the previous tabpage" } }, { "n", "<C-w><C-f>", actions.goto_file_split, { desc = "Open the file in a new split" } }, { "n", "<C-w>gf", actions.goto_file_tab, { desc = "Open the file in a new tabpage" } }, { "n", "<leader>e", actions.focus_files, { desc = "Bring focus to the file panel" } }, { "n", "<leader>b", actions.toggle_files, { desc = "Toggle the file panel." } }, { "n", "g<C-x>", actions.cycle_layout, { desc = "Cycle through available layouts." } }, { "n", "[x", actions.prev_conflict, { desc = "In the merge-tool: jump to the previous conflict" } }, { "n", "]x", actions.next_conflict, { desc = "In the merge-tool: jump to the next conflict" } }, { "n", "<leader>co", actions.conflict_choose("ours"), { desc = "Choose the OURS version of a conflict" } }, { "n", "<leader>ct", actions.conflict_choose("theirs"), { desc = "Choose the THEIRS version of a conflict" } }, { "n", "<leader>cb", actions.conflict_choose("base"), { desc = "Choose the BASE version of a conflict" } }, { "n", "<leader>ca", actions.conflict_choose("all"), { desc = "Choose all the versions of a conflict" } }, { "n", "dx", actions.conflict_choose("none"), { desc = "Delete the conflict region" } }, }, diff1 = { -- Mappings in single window diff layouts { "n", "g?", actions.help({ "view", "diff1" }), { desc = "Open the help panel" } }, }, diff2 = { -- Mappings in 2-way diff layouts { "n", "g?", actions.help({ "view", "diff2" }), { desc = "Open the help panel" } }, }, diff3 = { -- Mappings in 3-way diff layouts { { "n", "x" }, "2do", actions.diffget("ours"), { desc = "Obtain the diff hunk from the OURS version of the file" } }, { { "n", "x" }, "3do", actions.diffget("theirs"), { desc = "Obtain the diff hunk from the THEIRS version of the file" } }, { "n", "g?", actions.help({ "view", "diff3" }), { desc = "Open the help panel" } }, }, diff4 = { -- Mappings in 4-way diff layouts { { "n", "x" }, "1do", actions.diffget("base"), { desc = "Obtain the diff hunk from the BASE version of the file" } }, { { "n", "x" }, "2do", actions.diffget("ours"), { desc = "Obtain the diff hunk from the OURS version of the file" } }, { { "n", "x" }, "3do", actions.diffget("theirs"), { desc = "Obtain the diff hunk from the THEIRS version of the file" } }, { "n", "g?", actions.help({ "view", "diff4" }), { desc = "Open the help panel" } }, }, file_panel = { { "n", "j", actions.next_entry, { desc = "Bring the cursor to the next file entry" } }, { "n", "<down>", actions.next_entry, { desc = "Bring the cursor to the next file entry" } }, { "n", "k", actions.prev_entry, { desc = "Bring the cursor to the previous file entry." } }, { "n", "<up>", actions.prev_entry, { desc = "Bring the cursor to the previous file entry." } }, { "n", "<cr>", actions.select_entry, { desc = "Open the diff for the selected entry." } }, { "n", "o", actions.select_entry, { desc = "Open the diff for the selected entry." } }, { "n", "<2-LeftMouse>", actions.select_entry, { desc = "Open the diff for the selected entry." } }, { "n", "-", actions.toggle_stage_entry, { desc = "Stage / unstage the selected entry." } }, { "n", "S", actions.stage_all, { desc = "Stage all entries." } }, { "n", "U", actions.unstage_all, { desc = "Unstage all entries." } }, { "n", "X", actions.restore_entry, { desc = "Restore entry to the state on the left side." } }, { "n", "L", actions.open_commit_log, { desc = "Open the commit log panel." } }, { "n", "<c-b>", actions.scroll_view(-0.25), { desc = "Scroll the view up" } }, { "n", "<c-f>", actions.scroll_view(0.25), { desc = "Scroll the view down" } }, { "n", "<tab>", actions.select_next_entry, { desc = "Open the diff for the next file" } }, { "n", "<s-tab>", actions.select_prev_entry, { desc = "Open the diff for the previous file" } }, { "n", "gf", actions.goto_file, { desc = "Open the file in a new split in the previous tabpage" } }, { "n", "<C-w><C-f>", actions.goto_file_split, { desc = "Open the file in a new split" } }, { "n", "<C-w>gf", actions.goto_file_tab, { desc = "Open the file in a new tabpage" } }, { "n", "i", actions.listing_style, { desc = "Toggle between 'list' and 'tree' views" } }, { "n", "f", actions.toggle_flatten_dirs, { desc = "Flatten empty subdirectories in tree listing style." } }, { "n", "R", actions.refresh_files, { desc = "Update stats and entries in the file list." } }, { "n", "<leader>e", actions.focus_files, { desc = "Bring focus to the file panel" } }, { "n", "<leader>b", actions.toggle_files, { desc = "Toggle the file panel" } }, { "n", "g<C-x>", actions.cycle_layout, { desc = "Cycle available layouts" } }, { "n", "[x", actions.prev_conflict, { desc = "Go to the previous conflict" } }, { "n", "]x", actions.next_conflict, { desc = "Go to the next conflict" } }, { "n", "g?", actions.help("file_panel"), { desc = "Open the help panel" } }, }, file_history_panel = { { "n", "g!", actions.options, { desc = "Open the option panel" } }, { "n", "<C-A-d>", actions.open_in_diffview, { desc = "Open the entry under the cursor in a diffview" } }, { "n", "y", actions.copy_hash, { desc = "Copy the commit hash of the entry under the cursor" } }, { "n", "L", actions.open_commit_log, { desc = "Show commit details" } }, { "n", "zR", actions.open_all_folds, { desc = "Expand all folds" } }, { "n", "zM", actions.close_all_folds, { desc = "Collapse all folds" } }, { "n", "j", actions.next_entry, { desc = "Bring the cursor to the next file entry" } }, { "n", "<down>", actions.next_entry, { desc = "Bring the cursor to the next file entry" } }, { "n", "k", actions.prev_entry, { desc = "Bring the cursor to the previous file entry." } }, { "n", "<up>", actions.prev_entry, { desc = "Bring the cursor to the previous file entry." } }, { "n", "<cr>", actions.select_entry, { desc = "Open the diff for the selected entry." } }, { "n", "o", actions.select_entry, { desc = "Open the diff for the selected entry." } }, { "n", "<2-LeftMouse>", actions.select_entry, { desc = "Open the diff for the selected entry." } }, { "n", "<c-b>", actions.scroll_view(-0.25), { desc = "Scroll the view up" } }, { "n", "<c-f>", actions.scroll_view(0.25), { desc = "Scroll the view down" } }, { "n", "<tab>", actions.select_next_entry, { desc = "Open the diff for the next file" } }, { "n", "<s-tab>", actions.select_prev_entry, { desc = "Open the diff for the previous file" } }, { "n", "gf", actions.goto_file, { desc = "Open the file in a new split in the previous tabpage" } }, { "n", "<C-w><C-f>", actions.goto_file_split, { desc = "Open the file in a new split" } }, { "n", "<C-w>gf", actions.goto_file_tab, { desc = "Open the file in a new tabpage" } }, { "n", "<leader>e", actions.focus_files, { desc = "Bring focus to the file panel" } }, { "n", "<leader>b", actions.toggle_files, { desc = "Toggle the file panel" } }, { "n", "g<C-x>", actions.cycle_layout, { desc = "Cycle available layouts" } }, { "n", "g?", actions.help("file_history_panel"), { desc = "Open the help panel" } }, }, option_panel = { { "n", "<tab>", actions.select_entry, { desc = "Change the current option" } }, { "n", "q", actions.close, { desc = "Close the panel" } }, { "n", "g?", actions.help("option_panel"), { desc = "Open the help panel" } }, }, help_panel = { { "n", "q", actions.close, { desc = "Close help menu" } }, { "n", "<esc>", actions.close, { desc = "Close help menu" } }, }, }, }) ``` </details> </p> ### Hooks The `hooks` table allows you to define callbacks for various events emitted from Diffview. The available hooks are documented in detail in `:h diffview-config-hooks`. The hook events are also available as User autocommands. See `:h diffview-user-autocmds` for more details. Examples: ```lua hooks = { diff_buf_read = function(bufnr) -- Change local options in diff buffers vim.opt_local.wrap = false vim.opt_local.list = false vim.opt_local.colorcolumn = { 80 } end, view_opened = function(view) print( ("A new %s was opened on tab page %d!") :format(view:class():name(), view.tabpage) ) end, } ``` ### Keymaps The keymaps config is structured as a table with sub-tables for various different contexts where mappings can be declared. In these sub-tables key-value pairs are treated as the `{lhs}` and `{rhs}` of a normal mode mapping. These mappings all use the `:map-arguments` `silent`, `nowait`, and `noremap`. The implementation uses `vim.keymap.set()`, so the `{rhs}` can be either a vim command in the form of a string, or it can be a lua function: ```lua view = { -- Vim command: ["a"] = "<Cmd>echom 'foo'<CR>", -- Lua function: ["b"] = function() print("bar") end, } ``` For more control (i.e. mappings for other modes), you can also define index values as list-like tables containing the arguments for `vim.keymap.set()`. This way you can also change all the `:map-arguments` with the only exception being the `buffer` field, as this will be overridden with the target buffer number: ```lua view = { -- Normal and visual mode mapping to vim command: { { "n", "v" }, "<leader>a", "<Cmd>echom 'foo'<CR>", { silent = true } }, -- Visual mode mapping to lua function: { "v", "<leader>b", function() print("bar") end, { nowait = true } }, } ``` To disable any single mapping without disabling them all, set its `{rhs}` to `false`: ```lua view = { -- Disable the default normal mode mapping for `<tab>`: ["<tab>"] = false, -- Disable the default visual mode mapping for `gf`: { "x", "gf", false }, } ``` Most of the mapped file panel actions also work from the view if they are added to the view maps (and vice versa). The exception is for actions that only really make sense specifically in the file panel, such as `next_entry`, `prev_entry`. Actions such as `toggle_stage_entry` and `restore_entry` work just fine from the view. When invoked from the view, these will target the file currently open in the view rather than the file under the cursor in the file panel. **For more details on how to set mappings for other modes, actions, and more see:** - `:h diffview-config-keymaps` - `:h diffview-actions` ## Restoring Files If the right side of the diff is showing the local state of a file, you can restore the file to the state from the left side of the diff (key binding `X` from the file panel by default). The current state of the file is stored in the git object database, and a command is echoed that shows how to undo the change. ## Tips and FAQ - **Hide untracked files:** - `DiffviewOpen -uno` - **Exclude certain paths:** - `DiffviewOpen -- :!exclude/this :!and/this` - **Run as if git was started in a specific directory:** - `DiffviewOpen -C/foo/bar/baz` - **Diff the index against a git rev:** - `DiffviewOpen HEAD~2 --cached` - Defaults to `HEAD` if no rev is given. - **Q: How do I get the diagonal lines in place of deleted lines in diff-mode?** - A: Change your `:h 'fillchars'`: - (vimscript): `set fillchars+=diff:╱` - Note: whether or not the diagonal lines will line up nicely will depend on your terminal emulator. The terminal used in the screenshots is Kitty.
3,152
Jenkins Git plugin
null
3,153
Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
<p align="center"> <br /> <a title="Learn more about GitLens" href="https://gitkraken.com/gitlens?utm_source=gitlens-extension&utm_medium=in-app-links&utm_campaign=gitlens-logo-links"><img width="476px" src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/gitlens-logo-anybg.png" alt="GitLens Logo" /></a> </p> > GitLens **supercharges** Git inside VS Code and unlocks **untapped knowledge** within each repository. It helps you to **visualize code authorship** at a glance via Git blame annotations and CodeLens, **seamlessly navigate and explore** Git repositories, **gain valuable insights** via rich visualizations and powerful comparison commands, and so much more. <p align="center"> <br /> <a title="Watch the GitLens Getting Started video" href="https://www.youtube.com/watch?v=UQPb73Zz9qk"><img width="600px" src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/src/webviews/apps/media/gitlens-tutorial-banner.png" alt="Watch the GitLens Getting Started video" /></a> <br/> </p> <p align="center"> <a title="What's New in GitLens 13" href="https://help.gitkraken.com/gitlens/gitlens-release-notes-current/"><img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/whats-new-button.png" alt="Open What's New in GitLens 13" /></a> <br/> or read the <a href="https://github.com/gitkraken/vscode-gitlens/blob/main/CHANGELOG.md">change log</a> </p> # GitLens [GitLens](https://gitkraken.com/gitlens?utm_source=gitlens-extension&utm_medium=in-app-links&utm_campaign=gitlens-logo-links 'Learn more about GitLens') is an [open-source](https://github.com/gitkraken/vscode-gitlens 'Open GitLens on GitHub') extension for [Visual Studio Code](https://code.visualstudio.com). GitLens simply helps you **better understand code**. Quickly glimpse into whom, why, and when a line or code block was changed. Jump back through history to **gain further insights** as to how and why the code evolved. Effortlessly explore the history and evolution of a codebase. GitLens is **powerful**, **feature rich**, and [highly customizable](#gitlens-settings- 'Jump to the GitLens settings docs') to meet your needs. Do you find CodeLens intrusive or the current line blame annotation distracting &mdash; no problem, quickly turn them off or change how they behave via the interactive [_GitLens Settings_ editor](#configuration 'Jump to Configuration'). For advanced customizations, refer to the [GitLens docs](#gitlens-settings- 'Jump to GitLens settings') and edit your [user settings](https://code.visualstudio.com/docs/getstarted/settings 'Open User settings'). Here are just some of the **features** that GitLens provides, - effortless [**revision navigation**](#revision-navigation- 'Jump to Revision Navigation') (backwards and forwards) through the history of a file - an unobtrusive [**current line blame**](#current-line-blame- 'Jump to Current Line Blame') annotation at the end of the line showing the commit and author who last modified the line, with more detailed blame information accessible on [**hover**](#hovers- 'Jump to Hovers') - [**authorship CodeLens**](#git-codelens- 'Jump to Git CodeLens') showing the most recent commit and number of authors at the top of files and/or on code blocks - a [**status bar blame**](#status-bar-blame- 'Jump to Status Bar Blame') annotation showing the commit and author who last modified the current line - on-demand **file annotations** in the editor, including - [**blame**](#file-blame- 'Jump to File Blame') &mdash; shows the commit and author who last modified each line of a file - [**changes**](#file-changes- 'Jump to File Changes') &mdash; highlights any local (unpublished) changes or lines changed by the most recent commit - [**heatmap**](#file-heatmap- 'Jump to File Heatmap') &mdash; shows how recently lines were changed, relative to all the other changes in the file and to now (hot vs. cold) - many rich **Side Bar views** - a [**_Commit Details_ view**](#commits-details-view- 'Jump to the Commits Details view') to provide rich details for commits and stashes - a [**_Commits_ view**](#commits-view- 'Jump to the Commits view') to visualize, explore, and manage Git commits - a [**_Repositories_ view**](#repositories-view- 'Jump to the Repositories view') to visualize, explore, and manage Git repositories - a [**_File History_ view**](#file-history-view- 'Jump to the File History view') to visualize, navigate, and explore the revision history of the current file or just the selected lines of the current file - a [**_Line History_ view**](#line-history-view- 'Jump to the Line History view') to visualize, navigate, and explore the revision history of the selected lines of the current file - a [**_Branches_ view**](#branches-view- 'Jump to the Branches view') to visualize, explore, and manage Git branches - a [**_Remotes_ view**](#remotes-view- 'Jump to the Remotes view') to visualize, explore, and manage Git remotes and remote branches - a [**_Stashes_ view**](#stashes-view- 'Jump to the Stashes view') to visualize, explore, and manage Git stashes - a [**_Tags_ view**](#tags-view- 'Jump to the Tags view') to visualize, explore, and manage Git tags - a [**_Contributors_ view**](#contributors-view- 'Jump to the Contributors view') to visualize, navigate, and explore contributors - a [**_Search & Compare_ view**](#search--compare-view- 'Jump to the Search & Compare view') to search and explore commit histories by message, author, files, id, etc, or visualize comparisons between branches, tags, commits, and more - a [**Git Command Palette**](#git-command-palette- 'Jump to the Git Command Palette') to provide guided (step-by-step) access to many common Git commands, as well as quick access to - [commits](#quick-commit-access- 'Jump to Quick Commit Access') &mdash; history and search - [stashes](#quick-stash-access- 'Jump to Quick Stash Access') - [status](#quick-status-access- 'Jump to Quick Status Access') &mdash; current branch and working tree status - a user-friendly [**interactive rebase editor**](#interactive-rebase-editor- 'Jump to the Interactive Rebase Editor') to easily configure an interactive rebase session - [**terminal links**](#terminal-links- 'Jump to Terminal Links') &mdash; `ctrl+click` on autolinks in the integrated terminal to quickly jump to more details for commits, branches, tags, and more - rich [**remote provider integrations**](#remote-provider-integrations- 'Jump to Remote Provider Integrations') &mdash; GitHub, GitLab, Gitea, Gerrit, GoogleSource, Bitbucket, Azure DevOps - issue and pull request auto-linking - rich hover information provided for linked issues and pull requests (GitHub only) - associates pull requests with branches and commits (GitHub only) - many [**powerful commands**](#powerful-commands- 'Jump to Powerful Commands') for navigating and comparing revisions and more - customizable [**menus & toolbars**](#menus--toolbars- 'Jump to Menus & Toolbars') for control over where menu and toolbar items are shown - user-defined [**modes**](#modes- 'Jump to Modes') for quickly toggling between sets of settings - and so much more 😁 # GitLens+ Features [#](#gitlens+-features- 'GitLens+ Features') All-new, powerful, additional features that enhance your GitLens experience. [GitLens+ features](https://gitkraken.com/gitlens/plus-features?utm_source=gitlens-extension&utm_medium=in-app-links&utm_campaign=gitlens-plus-links) are free for local and public repos, no account required, while upgrading to GitLens Pro gives you access on private repos. > All other GitLens features can always be used on any repo. ## Does this affect existing features? No, the introduction of GitLens+ features has no impact on existing GitLens features, so you won't lose access to any of the GitLens features you know and love. In fact, we are heavily investing in enhancing and expanding the GitLens feature set. Additionally, GitLens+ features are freely available to everyone for local and public repos, while upgrading to GitLens Pro gives you access on private repos. ## Commit Graph [#](#commit-graph- 'Commit Graph') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/commit-graph-illustrated.png" alt="Commit Graph" /> </p> The _Commit Graph_ helps you easily visualize and keep track of all work in progress. Not only does it help you verify your changes, but also easily see changes made by others and when. Selecting a row within the graph will open in-depth information about a commit or stash in the new [Commit Details view](#commit-details-view-). Use the rich commit search to find exactly what you're looking for. It's powerful filters allow you to search by a specific commit, message, author, a changed file or files, or even a specific code change. ## Visual File History view [#](#visual-file-history-view- 'Visual File History view') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/visual-file-history-illustrated.png" alt="Visual File History view" /> </p> The _Visual File History_ view allows you to quickly see the evolution of a file, including when changes were made, how large they were, and who made them. Use it to quickly find when the most impactful changes were made to a file or who best to talk to about file changes and more. Authors who have contributed changes to the file are on the left y-axis to create a swim-lane of their commits over time (the x-axis). Commit are plotted as color-coded (per-author) bubbles, whose size represents the relative magnitude of the changes. Additionally, each commit's additions and deletions are visualized as color-coded, stacked, vertical bars, whose height represents the number of affected lines (right y-axis). Added lines are shown in green, while deleted lines are red. ## Worktrees view [#](#worktrees-view- 'Worktrees view') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/worktrees-illustrated.png" alt="Worktrees view" /> </p> Worktrees help you multitask by minimizing the context switching between branches, allowing you to easily work on different branches of a repository simultaneously. Avoid interrupting your work in progress when needing to review a pull request. Simply create a new worktree and open it in a new VS Code window, all without impacting your other work. You can create multiple working trees, each of which can be opened in individual windows or all together in a single workspace. # Features ## Revision Navigation [#](#revision-navigation- 'Revision Navigation') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/revision-navigation.gif" alt="Revision Navigation" /> </p> - Adds an _Open Changes with Previous Revision_ command (`gitlens.diffWithPrevious`) to compare the current file or revision with the previous commit revision - Adds an _Open Changes with Next Revision_ command (`gitlens.diffWithNext`) to compare the current file or revision with the next commit revision - Adds an _Open Line Changes with Previous Revision_ command (`gitlens.diffLineWithPrevious`) to compare the current file or revision with the previous line commit revision - Adds an _Open Changes with Working File_ command (`gitlens.diffWithWorking`) to compare the current revision or most recent commit revision of the current file with the working tree - Adds an _Open Line Changes with Working File_ command (`gitlens.diffLineWithWorking`) to compare the commit revision of the current line with the working tree - Adds an _Open Changes with Branch or Tag..._ command (`gitlens.diffWithRevisionFrom`) to compare the current file or revision with another revision of the same file on the selected reference - Adds an _Open Changes with Revision..._ command (`gitlens.diffWithRevision`) to compare the current file or revision with another revision of the same file ## Current Line Blame [#](#current-line-blame- 'Current Line Blame') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/current-line-blame.png" alt="Current Line Blame" /> </p> - Adds an unobtrusive, [customizable](#current-line-blame-settings- 'Jump to the Current Line Blame settings'), and [themable](#themable-colors- 'Jump to the Themable Colors'), **blame annotation** at the end of the current line - Contains the author, date, and message of the current line's most recent commit (by [default](#current-line-blame-settings- 'Jump to the Current Line Blame settings')) - Adds a _Toggle Line Blame_ command (`gitlens.toggleLineBlame`) to toggle the blame annotation on and off ## Git CodeLens [#](#git-codelens- 'Git CodeLens') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/code-lens.png" alt="Git CodeLens" /> </p> - Adds Git authorship **CodeLens** to the top of the file and on code blocks ([optional](#git-codelens-settings- 'Jump to the Git CodeLens settings'), on by default) - **Recent Change** &mdash; author and date of the most recent commit for the file or code block - Click the CodeLens to show a **commit file details quick pick menu** with commands for comparing, navigating and exploring commits, and more (by [default](#git-codelens-settings- 'Jump to the Git CodeLens settings')) - **Authors** &mdash; number of authors of the file or code block and the most prominent author (if there is more than one) - Click the CodeLens to toggle the file Git blame annotations on and off of the whole file (by [default](#git-codelens-settings- 'Jump to the Git CodeLens settings')) - Will be hidden if the author of the most recent commit is also the only author of the file or block, to avoid duplicate information and reduce visual noise - Provides [customizable](#git-codelens-settings- 'Jump to the Git CodeLens settings') click behavior for each CodeLens &mdash; choose between one of the following - Toggle file blame annotations on and off - Compare the commit with the previous commit - Show a quick pick menu with details and commands for the commit - Show a quick pick menu with file details and commands for the commit - Show a quick pick menu with the commit history of the file - Show a quick pick menu with the commit history of the current branch - Adds a _Toggle Git CodeLens_ command (`gitlens.toggleCodeLens`) with a shortcut of `shift+alt+b` to toggle the CodeLens on and off ## Status Bar Blame [#](#status-bar-blame- 'Status Bar Blame') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/status-bar.png" alt="Status Bar Blame" /> </p> - Adds a [customizable](#status-bar-settings- 'Jump to the Status Bar Blame settings') **Git blame annotation** showing the commit and author who last modified the current line to the **status bar** ([optional](#status-bar-settings- 'Jump to the Status Bar Blame settings'), on by default) - Contains the commit author and date (by [default](#status-bar-settings- 'Jump to the Status Bar Blame settings')) - Click the status bar item to show a **commit details quick pick menu** with commands for comparing, navigating and exploring commits, and more (by [default](#status-bar-settings- 'Jump to the Status Bar Blame settings')) - Provides [customizable](#status-bar-settings- 'Jump to the Status Bar Blame settings') click behavior &mdash; choose between one of the following - Toggle file blame annotations on and off - Toggle CodeLens on and off - Compare the line commit with the previous commit - Compare the line commit with the working tree - Show a quick pick menu with details and commands for the commit (default) - Show a quick pick menu with file details and commands for the commit - Show a quick pick menu with the commit history of the file - Show a quick pick menu with the commit history of the current branch ## Hovers [#](#hovers- 'Hovers') ### Current Line Hovers <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/hovers-current-line.png" alt="Current Line Hovers" /> </p> - Adds [customizable](#hover-settings- 'Jump to the Hover settings') Git blame hovers accessible over the current line ### Details Hover <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/hovers-current-line-details.png" alt="Current Line Details Hover" /> </p> - Adds a **details hover** annotation to the current line to show more commit details ([optional](#hover-settings- 'Jump to the Hover settings'), on by default) - Provides **automatic issue linking** to Bitbucket, Gerrit, GoogleSource, Gitea, GitHub, GitLab, and Azure DevOps in commit messages - Provides a **quick-access command bar** with _Open Changes_, _Blame Previous Revision_, _Open on Remote_, _Invite to Live Share_ (if available), and _Show More Actions_ command buttons - Click the commit SHA to execute the _Show Commit_ command ### Changes (diff) Hover <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/hovers-current-line-changes.png" alt="Current Line Changes (diff) Hover" /> </p> - Adds a **changes (diff) hover** annotation to the current line to show the line's previous version ([optional](#hover-settings- 'Jump to the Hover settings'), on by default) - Click the **Changes** to execute the _Open Changes_ command - Click the current and previous commit SHAs to execute the _Show Commit_ command ### Annotation Hovers <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/hovers-annotations.png" alt="Annotation Hovers" /> </p> - Adds [customizable](#hover-settings- 'Jump to the Hover settings') Git blame hovers accessible when annotating ### Details Hover <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/hovers-annotations-details.png" alt="Annotations Details Hover" /> </p> - Adds a **details hover** annotation to each line while annotating to show more commit details ([optional](#hover-settings- 'Jump to the Hover settings'), on by default) - Provides **automatic issue linking** to Bitbucket, Gerrit, GoogleSource, Gitea, GitHub, GitLab, and Azure DevOps in commit messages - Provides a **quick-access command bar** with _Open Changes_, _Blame Previous Revision_, _Open on Remote_, _Invite to Live Share_ (if available), and _Show More Actions_ command buttons - Click the commit SHA to execute the _Show Commit_ command ### Changes (diff) Hover <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/hovers-annotations-changes.png" alt="Annotations Changes (diff) Hover" /> </p> - Adds a **changes (diff) hover** annotation to each line while annotating to show the line's previous version ([optional](#hover-settings- 'Jump to the Hover settings'), on by default) - Click the **Changes** to execute the _Open Changes_ command - Click the current and previous commit SHAs to execute the _Show Commit_ command ## File Blame [#](#file-blame- 'File Blame') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/gutter-blame.png" alt="File Blame"> </p> - Adds on-demand, [customizable](#file-blame-settings- 'Jump to the File Blame settings'), and [themable](#themable-colors- 'Jump to Themable Colors'), **file blame annotations** to show the commit and author who last modified each line of a file - Contains the commit message and date, by [default](#file-blame-settings- 'Jump to the File Blame settings') - Adds a **heatmap** (age) indicator on right edge (by [default](#file-blame-settings- 'Jump to the File Blame settings')) of the file to provide an easy, at-a-glance way to tell how recently lines were changed ([optional](#file-blame-settings- 'Jump to the File Blame settings'), on by default) - See the [file heatmap](#file-Heatmap- 'Jump to File Heatmap') section below for more details - Adds a _Toggle File Blame_ command (`gitlens.toggleFileBlame`) with a shortcut of `alt+b` to toggle the blame annotations on and off - Press `Escape` to turn off the annotations ## File Changes [#](#file-changes- 'File Changes') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/gutter-changes.png" alt="File Changes" /> </p> - Adds an on-demand, [customizable](#file-changes-settings- 'Jump to the File Changes settings') and [themable](#themable-colors- 'Jump to Themable Colors'), **file changes annotation** to highlight any local (unpublished) changes or lines changed by the most recent commit - Adds _Toggle File Changes_ command (`gitlens.toggleFileChanges`) to toggle the changes annotations on and off - Press `Escape` to turn off the annotations ## File Heatmap [#](#file-heatmap- 'File Heatmap') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/gutter-heatmap.png" alt="File Heatmap" /> </p> - Adds an on-demand **heatmap** to the edge of the file to show how recently lines were changed - The indicator's [customizable](#file-heatmap-settings- 'Jump to the File Heatmap settings') color will either be hot or cold based on the age of the most recent change (cold after 90 days by [default](#file-heatmap-settings- 'Jump to the File Heatmap settings')) - The indicator's brightness ranges from bright (newer) to dim (older) based on the relative age, which is calculated from the median age of all the changes in the file - Adds _Toggle File Heatmap Annotations_ command (`gitlens.toggleFileHeatmap`) to toggle the heatmap on and off - Press `Escape` to turn off the annotations ## Side Bar Views [#](#side-bar-views- 'Side Bar Views') GitLens adds many side bar views to provide additional rich functionality. The default layout (location) of these views can be quickly customized via the _GitLens: Set Views Layout_ (`gitlens.setViewsLayout`) command from the [_Command Palette_](https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette). - _Source Control Layout_ &mdash; shows all the views together on the Source Control side bar - _GitLens Layout_ &mdash; shows all the views together on the GitLens side bar <p style="display:flex;justify-content:space-around"> <img src="images/docs/views-layout-scm.png" alt="Views Layout: Source Control" /> <img src="images/docs/views-layout-gitlens.png" alt="Views Layout: GitLens" /> </p> ### Commit Details View [#](#commit-details-view- 'Commits Details view') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/commit-details-view.png" alt="Commits Details view" /> </p> The _Commit Details_ view provides rich details for commits and stashes: author, commit ID, autolinks to pull requests and issues, changed files, and more. These will show contextually as you navigate: - lines in the text editor - commits in the [Commit Graph](#commit-graph-), [Visual File History](#visual-file-history-view-), or [Commits view](#commits-view-) - stashes in the [Stashes view](#stashes-view-) Alternatively, you can search for or choose a commit directly from the view. **For optimal usage, we highly recommended dragging this view to the Secondary Side Bar.** ### Commits View [#](#commits-view- 'Commits view') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/commits-view.png" alt="Commits view" /> </p> A [customizable](#commits-view-settings- 'Jump to the Commits view settings') view to visualize, explore, and manage Git commits. The _Commits_ view lists all of the commits on the current branch, and additionally provides: - a toggle to switch between showing all commits or just your own commits - a toggle to change the file layout: list, tree, auto - a branch comparison tool (**Compare &lt;current branch&gt; with &lt;branch, tag, or ref&gt;**) &mdash; [optionally](#commits-view-settings- 'Jump to the Commits view settings') shows a comparison of the current branch (or working tree) to a user-selected reference - **Behind** &mdash; lists the commits that are missing from the current branch (i.e. behind) but exist in the selected reference - **# files changed** &mdash; lists all of the files changed in the behind commits - **Ahead** &mdash; lists the commits that the current branch has (i.e. ahead) but are missing in the selected reference - **# files changed** &mdash; lists all of the files changed in the ahead commits - **# files changed** &mdash; lists all of the files changed between the compared references - the current branch status &mdash; shows the upstream status of the current branch - **Publish &lt;current branch&gt; to &lt;remote&gt;** &mdash; shown when the current branch has not been published to a remote - **Up to date with &lt;remote&gt;** &mdash; shown when the current branch is up to date with the upstream remote - **Changes to pull from &lt;remote&gt;** &mdash; lists all of the commits waiting to be pulled when the current branch has commits that are waiting to be pulled from the upstream remote - **Changes to push to &lt;remote&gt;** &mdash; lists of all the files changed in the unpublished commits when the current branch has (unpublished) commits that waiting to be pushed to the upstream remote - **Merging into &lt;branch&gt;** or **Resolve conflicts before merging into &lt;branch&gt;** &mdash; lists any conflicted files. Conflicted files show comparisons with the common base of the current and incoming changes to aid in resolving the conflict by making it easier to see where changes originated ![Merging](https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/commits-view-merge.png) - **Rebasing &lt;branch&gt;** or **Resolve conflicts to continue rebasing &lt;branch&gt;** &mdash; shows the number of rebase steps left, the commit the rebase is paused at, and lists any conflicted files. Conflicted files show comparisons with the common base of the current and incoming changes to aid in resolving the conflict by making it easier to see where changes originated ![Rebasing](https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/commits-view-rebase.png) - any associated pull request &mdash; shows any opened or merged pull request associated with the current branch --- ### Repositories View [#](#repositories-view- 'Repositories view') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/repositories-view.png" alt="Repositories view" /> </p> A hidden by default, [customizable](#repositories-view-settings- 'Jump to the Repositories view settings') view to visualize, explore, and manage Git repositories. The Repositories view lists opened Git repositories, and additionally provides: - a toggle to automatically refresh the repository on changes - a toggle to change the file layout: list, tree, auto - an icon overlay indicator to show the current branch's upstream status (if available) - _No dot_ &mdash; no changes or the branch is unpublished - _Green dot_ &mdash; has changes unpushed (ahead) - _Red dot_ &mdash; has changes unpulled (behind) - _Yellow dot_ &mdash; both unpushed and unpulled changes - a branch comparison tool (**Compare &lt;current branch&gt; with &lt;branch, tag, or ref&gt;**) &mdash; [optionally](#repositories-view-settings- 'Jump to the Repositories view settings') shows a comparison of the current branch (or working tree) to a user-selected reference - **Behind** &mdash; lists the commits that are missing from the current branch (i.e. behind) but exist in the selected reference - **# files changed** &mdash; lists all of the files changed between the compared references - **Ahead** &mdash; lists the commits that the current branch has (i.e. ahead) but are missing in the selected reference - **# files changed** &mdash; lists all of the files changed between the compared references - **# files changed** &mdash; [optionally](#repositories-view-settings- 'Jump to the Repositories view settings') lists all of the files changed in the working tree - the current branch status &mdash; [optionally](#repositories-view-settings- 'Jump to the Repositories view settings') shows the upstream status of the current branch - **Publish &lt;current branch&gt; to remote** &mdash; shown when the current branch has not been published to a remote - **Up to date with &lt;remote&gt;** &mdash; shown when the current branch is up to date with the upstream remote - **Changes to pull from &lt;remote&gt;** &mdash; lists all of the unpulled commits and all of the files changed in them, when the current branch has commits that are waiting to be pulled from the upstream remote - **Changes to push to &lt;remote&gt;** &mdash; lists of all the unpublished commits and all of the files changed in them, when the current branch has commits that waiting to be pushed to the upstream remote - **Merging into &lt;branch&gt;** or **Resolve conflicts before merging into &lt;branch&gt;** &mdash; lists any conflicted files. Conflicted files show comparisons with the common base of the current and incoming changes to aid in resolving the conflict by making it easier to see where changes originated - **Rebasing &lt;branch&gt;** or **Resolve conflicts to continue rebasing &lt;branch&gt;** &mdash; shows the number of rebase steps left, the commit the rebase is paused at, and lists any conflicted files. Conflicted files show comparisons with the common base of the current and incoming changes to aid in resolving the conflict by making it easier to see where changes originated - any associated pull request &mdash; [optionally](#repositories-view-settings- 'Jump to the Repositories view settings') shows any opened or merged pull request associated with the current branch - **Commits** &mdash; [optionally](#repositories-view-settings- 'Jump to the Repositories view settings') shows the current branch commits, similar to the [Commits view](#commits-view- 'Commits view') - **Branches** &mdash; [optionally](#repositories-view-settings- 'Jump to the Repositories view settings') shows the local branches, similar to the [Branches view](#branches-view- 'Branches view') - **Remotes** &mdash; [optionally](#repositories-view-settings- 'Jump to the Repositories view settings') shows the remotes and remote branches, similar to the [Remotes view](#remotes-view- 'Remotes view') - **Stashes** &mdash; [optionally](#repositories-view-settings- 'Jump to the Repositories view settings') shows the stashes, similar to the [Stashes view](#stashes-view- 'Stashes view') - **Tags** &mdash; [optionally](#repositories-view-settings- 'Jump to the Repositories view settings') shows the tags, similar to the [Tags view](#tags-view- 'Tags view') - **Contributors** &mdash; [optionally](#repositories-view-settings- 'Jump to the Repositories view settings') shows the contributors, similar to the [Contributors view](#contributors-view- 'Contributors view') - **Incoming Activity** (experimental) &mdash; [optionally](#repositories-view-settings- 'Jump to the Repositories view settings') shows any incoming activity, which lists the command, branch (if available), and date of recent incoming activity (merges and pulls) to your local repository --- ### File History View [#](#file-history-view- 'File History view') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/file-history-view.png" alt="File History view" /> </p> A [customizable](#file-history-view-settings- 'Jump to the File History view settings') view to visualize, navigate, and explore the revision history of the current file or just the selected lines of the current file. The file history view lists all of the commits that changed the current file on the current branch, and additionally provides: - a toggle to pin (pause) the automatic tracking of the current editor - a toggle to switch between file and line history, i.e. show all commits of the current file, or just the selected lines of the current file - the ability to change the current base branch or reference when computing the file or line history - (file history only) a toggle to follow renames across the current file - (file history only) a toggle to show commits from all branches rather than just from the current base branch or reference - merge conflict status when applicable - **Merge Changes** &mdash; show comparisons with the common base of the current and incoming changes to aid in resolving the conflict by making it easier to see where changes originated ![Merge Conflicts](https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/file-history-view-merge-conflict.png) --- ### Line History View [#](#line-history-view- 'Line History view') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/line-history-view.png" alt="Line History view" /> </p> A hidden by default, [customizable](#line-history-view-settings- 'Jump to the Line History view settings') view to visualize, navigate, and explore the revision history of the selected lines of the current file. The line history view lists all of the commits that changed the selected lines of the current file on the current branch, and additionally provides: - a toggle to pin (pause) the automatic tracking of the current editor - the ability to change the current base branch or reference when computing the line history - merge conflict status when applicable - **Merge Changes** &mdash; show comparisons with the common base of the current and incoming changes to aid in resolving the conflict by making it easier to see where changes originated --- ### Branches view [#](#branches-view- 'Branches View') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/branches-view.png" alt="Branches view" /> </p> A [customizable](#branches-view-settings- 'Jump to the Branches view settings') view to visualize, explore, and manage Git branches. The _Branches_ view lists all of the local branches, and additionally provides: - a toggle to change the branch layout: list or tree - a toggle to change the file layout: list, tree, auto - an icon overlay indicator to show the branch's upstream status (if available) - _No dot_ &mdash; no changes or the branch is unpublished - _Green dot_ &mdash; has changes unpushed (ahead) - _Red dot_ &mdash; has changes unpulled (behind) - _Yellow dot_ &mdash; both unpushed and unpulled changes - status indicators (decorations), on the right, and themeable colorizations - `✓` &mdash; indicates that the branch is the current branch - `▲` + green colorization &mdash; indicates that the branch has unpushed changes (ahead) - `▼` + red colorization &mdash; indicates that the branch has unpulled changes (behind) - `▼▲` + yellow colorization &mdash; indicates that the branch has diverged from its upstream; meaning it has both unpulled and unpushed changes - `▲+` + green colorization &mdash; indicates that the branch hasn't yet been published to an upstream remote - `!` + dark red colorization &mdash; indicates that the branch has a missing upstream (e.g. the upstream branch was deleted) - a branch comparison tool (**Compare &lt;branch&gt; with &lt;branch, tag, or ref&gt;**) &mdash; [optionally](#branches-view-settings- 'Jump to the Branches view settings') shows a comparison of the branch to a user-selected reference - **Behind** &mdash; lists the commits that are missing from the branch (i.e. behind) but exist in the selected reference - **# files changed** &mdash; lists all of the files changed in the behind commits - **Ahead** &mdash; lists the commits that the branch has (i.e. ahead) but are missing in the selected reference - **# files changed** &mdash; lists all of the files changed in the ahead commits - **# files changed** &mdash; lists all of the files changed between the compared references - the branch status &mdash; shows the upstream status of the branch - **Publish &lt;branch&gt; to &lt;remote&gt;** &mdash; shown when the current branch has not been published to a remote - **Changes to push to &lt;remote&gt;** &mdash; lists of all the files changed in the unpublished commits when the branch has (unpublished) commits that waiting to be pushed to the upstream remote - **Changes to pull from &lt;remote&gt;** &mdash; lists all of the commits waiting to be pulled when the branch has commits that are waiting to be pulled from the upstream remote - any associated pull request &mdash; shows any pull request associated with the branch --- ### Remotes view [#](#remotes-view- 'Remotes View') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/remotes-view.png" alt="Remotes view" /> </p> A [customizable](#remotes-view-settings- 'Jump to the Remotes view settings') view to visualize, explore, and manage Git remotes and remote branches. The _Remotes_ view lists all of the remotes and their remote branches, and additionally provides: - a toggle to change the branch layout: list or tree - a toggle to change the file layout: list, tree, auto - a toggle to connect to a supported remote providers to enable a rich integration with pull requests, issues, avatars, and more --- ### Stashes View [#](#stashes-view- 'Stashes View') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/stashes-view.png" alt="Stashes view" /> </p> A [customizable](#stashes-view-settings- 'Jump to the Stashes view settings') view to visualize, explore, and manage Git stashes. The _Stashes_ view lists all of the stashes, and additionally provides: - a toggle to change the file layout: list, tree, auto --- ### Tags View [#](#tags-view- 'Tags View') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/tags-view.png" alt="Tags view" /> </p> A [customizable](#tags-view-settings- 'Jump to the Tags view settings') view to visualize, explore, and manage Git tags. The _Tags_ view lists all of the tags, and additionally provides: - a toggle to change the tag layout: list or tree - a toggle to change the file layout: list, tree, auto --- ### Contributors View [#](#contributors-view- 'Contributors View') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/contributors-view.png" alt="Contributors view" /> </p> A hidden by default, [customizable](#contributors-view-settings- 'Jump to the Contributors view settings') view to visualize, navigate, and explore contributors. The _Contributors_ view lists all of the contributors, and additionally provides: - a toggle to change the file layout: list, tree, auto --- ### Search & Compare View [#](#search--compare-view- 'Search & Compare View') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/search-and-compare-view.png" alt="Search & Compare view" /> </p> A hidden by default, [customizable](#search--compare-view-settings- 'Jump to the Search & Compare view settings') view to search and explore commit histories by message, author, files, id, etc, or visualize comparisons between branches, tags, commits, and more. The _Search & Compare_ view lists pinnable (saved) results for searching commit histories or for comparison operations, and additionally provides: - a toggle to keep previous results when new results are added - a toggle to change the file layout: list, tree, auto - pinnable search &mdash; lists all of the commits that match the search query - Search results can be provided by the following commands - _Search Commits_ command (`gitlens.showCommitSearch`) can search - by message &mdash; use `<message>` to find commits with messages that match `<message>` &mdash; See [Git docs](https://git-scm.com/docs/git-log#Documentation/git-log.txt---grepltpatterngt 'Open Git docs') - or, by author &mdash; use `@<pattern>` to find commits with authors that match `<pattern>` &mdash; See [Git docs](https://git-scm.com/docs/git-log#Documentation/git-log.txt---authorltpatterngt 'Open Git docs') - or, by commit SHA &mdash; use `#<sha>` to find a commit with SHA of `<sha>` &mdash; See [Git docs](https://git-scm.com/docs/git-log#Documentation/git-log.txt-ltrevisionrangegt 'Open Git docs') - or, by files &mdash; use `:<path/glob>` to find commits with file names that match `<path/glob>` &mdash; See [Git docs](https://git-scm.com/docs/git-log#Documentation/git-log.txt---ltpathgt82308203 'Open Git docs') - or, by changes &mdash; use `~<pattern>` to find commits with differences whose patch text contains added/removed lines that match `<pattern>` &mdash; See [Git docs](https://git-scm.com/docs/git-log#Documentation/git-log.txt--Gltregexgt 'Open Git docs') - _Show File History_ command (`gitlens.showQuickFileHistory`) - _Show Commit_ command (`gitlens.showQuickCommitDetails`) - pinnable comparison &mdash; shows a comparison of the two user-selected references - **Behind** &mdash; lists the commits that are missing from the branch (i.e. behind) but exist in the selected reference - **# files changed** &mdash; lists all of the files changed in the behind commits - **Ahead** &mdash; lists the commits that the branch has (i.e. ahead) but are missing in the selected reference - **# files changed** &mdash; lists all of the files changed in the ahead commits - **# files changed** &mdash; lists all of the files changed between the compared references - Comparison results can be provided by the following commands - _Compare with Upstream_ command (`gitlens.views.compareWithUpstream`) - _Compare with Working Tree_ command (`gitlens.views.compareWithWorking`) - _Compare with HEAD_ command (`gitlens.views.compareWithHead`) - _Compare with Selected_ command (`gitlens.views.compareWithSelected`) - _Compare Ancestry with Working Tree_ command (`gitlens.views.compareAncestryWithWorking`) ## Git Command Palette [#](#git-command-palette- 'Git Command Palette') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/git-command-palette.png" alt="Git Command Palette" /> </p> - Adds a [customizable](#git-command-palette-settings- 'Jump to the Git Command Palette settings') _Git Command Palette_ command (`gitlens.gitCommands`) to provide guided (step-by-step) access to many common Git commands, as well as quick access to commit history and search, stashes, and more - Quickly navigate and execute Git commands through easy-to-use menus where each command can require an explicit confirmation step before executing ### Quick Commit Access [#](#quick-commit-access- 'Quick Commit Access') - Adds a _Show Branch History_ command (`gitlens.showQuickBranchHistory`) to show a quick pick menu to explore the commit history of the selected branch - Adds a _Show Current Branch History_ command (`gitlens.showQuickRepoHistory`) to show a quick pick menu to explore the commit history of the current branch <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/menu-branch-history.png" alt="Branch History Quick Pick Menu" /> </p> - Adds a _Show File History_ command (`gitlens.showQuickFileHistory`) to show quick pick menu to explore the commit history of the current file <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/menu-file-history.png" alt="File History Quick Pick Menu" /> </p> - Adds a _Search Commits_ command (`gitlens.showCommitSearch`) to show quick pick menu to search for commits - by message &mdash; use `<message>` to find commits with messages that match `<message>` &mdash; See [Git docs](https://git-scm.com/docs/git-log#Documentation/git-log.txt---grepltpatterngt 'Open Git docs') - or, by author &mdash; use `@<pattern>` to find commits with authors that match `<pattern>` &mdash; See [Git docs](https://git-scm.com/docs/git-log#Documentation/git-log.txt---authorltpatterngt 'Open Git docs') - or, by commit SHA &mdash; use `#<sha>` to find a commit with id of `<sha>` &mdash; See [Git docs](https://git-scm.com/docs/git-log#Documentation/git-log.txt-ltrevisionrangegt 'Open Git docs') - or, by files &mdash; use `:<path/glob>` to find commits with file names that match `<path/glob>` &mdash; See [Git docs](https://git-scm.com/docs/git-log#Documentation/git-log.txt---ltpathgt82308203 'Open Git docs') - or, by changes &mdash; use `~<pattern>` to find commits with differences whose patch text contains added/removed lines that match `<pattern>` &mdash; See [Git docs](https://git-scm.com/docs/git-log#Documentation/git-log.txt--Gltregexgt 'Open Git docs') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/menu-commit-search.png" alt="Commit Search Quick Pick Menu" /> </p> - Adds a _Show Commit_ command (`gitlens.showQuickCommitDetails`) to show a quick pick menu to explore a commit and take action upon it <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/menu-commit-details.png" alt="Commit Details Quick Pick Menu" /> </p> - Adds a _Show Line Commit_ command (`gitlens.showQuickCommitFileDetails`) to show a quick pick menu to explore a file of a commit and take action upon it <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/menu-commit-file-details.png" alt="Commit File Details Quick Pick Menu" /> </p> ### Quick Stash Access [#](#quick-stash-access- 'Quick Stash Access') - Adds a _Show Stashes_ command (`gitlens.showQuickStashList`) to show a quick pick menu to explore your stashes <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/menu-stash-list.png" alt="Stashes Quick Pick Menu" /> </p> <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/menu-stash-details.png" alt="Stash Details Quick Pick Menu" /> </p> ### Quick Status Access [#](#quick-status-access- 'Quick Status Access') - Adds a _Show Repository Status_ command (`gitlens.showQuickRepoStatus`) to show a quick pick menu to for visualizing the current repository status <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/menu-repo-status.png" alt="Repository Status Quick Pick Menu" /> </p> ## Interactive Rebase Editor [#](#interactive-rebase-editor- 'Interactive Rebase Editor') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/rebase.gif" alt="Interactive Rebase Editor" /> </p> - Adds a user-friendly interactive rebase editor to more easily configure an interactive rebase session - Quickly re-order, edit, squash, and drop commits - Includes drag & drop support! - To use this directly from your terminal, e.g. when running `git rebase -i`, - set VS Code as your default Git editor - `git config --global core.editor "code --wait"` - or, to only affect rebase, set VS Code as your Git rebase editor - `git config --global sequence.editor "code --wait"` > To use the Insiders edition of VS Code, replace `code` in the above with `code-insiders` ## Terminal Links [#](#terminal-links- 'Terminal Links') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/terminal-links.gif" alt="Terminal Links" /> </p> - [Optionally](#terminal-links-settings- 'Jump to the Terminal Links settings') adds autolinks for branches, tags, and commit ranges in the integrated terminal to quickly explore their commit history - [Optionally](#terminal-links-settings- 'Jump to the Terminal Links settings') adds autolinks for commits in the integrated terminal to quickly explore the commit and take action upon it ## Remote Provider Integrations [#](#remote-provider-integrations- 'Remote Provider Integrations') GitLens provides integrations with many Git hosting services, including GitHub, GitHub Enterprise, GitLab, GitLab self-managed, Gitea, Gerrit, GoogleSource, Bitbucket, Bitbucket Server, and Azure DevOps. You can also define [custom remote providers](#remote-provider-integration-settings- 'Jump to the Remote Provider Integration settings') or [remote providers with custom domains](#remote-provider-integration-settings- 'Jump to the Remote Provider Integration settings') as well. All Git host integrations provide issue and pull request auto-linking, while rich integrations (e.g. GitHub & GitLab) provide more detailed hover information for auto-linked issues and pull requests, pull requests associated with branches and commits, and avatars. Additionally, these integrations provide commands to copy the URL of or open files, commits, branches, and the repository on the remote provider. - _Open File from Remote_ command (`gitlens.openFileFromRemote`) &mdash; opens the local file from a URL of a file on a remote provider - _Open File on Remote_ command (`gitlens.openFileOnRemote`) &mdash; opens a file or revision on the remote provider - _Copy Remote File URL_ command (`gitlens.copyRemoteFileUrlToClipboard`) &mdash; copies the URL of a file or revision on the remote provider - _Open File on Remote From..._ command (`gitlens.openFileOnRemoteFrom`) &mdash; opens a file or revision on a specific branch or tag on the remote provider - _Copy Remote File URL From..._ command (`gitlens.copyRemoteFileUrlFrom`) &mdash; copies the URL of a file or revision on a specific branch or tag the remote provider - _Open Commit on Remote_ command (`gitlens.openCommitOnRemote`) &mdash; opens a commit on the remote provider - _Copy Remote Commit URL_ command (`gitlens.copyRemoteCommitUrl`) &mdash; copies the URL of a commit on the remote provider - _Open Branch on Remote_ command (`gitlens.openBranchOnRemote`) &mdash; opens the branch on the remote provider - _Open Current Branch on Remote_ command (`gitlens.openCurrentBranchOnRemote`) &mdash; opens the current branch on the remote provider - _Copy Remote Branch URL_ command (`gitlens.copyRemoteBranchUrl`) &mdash; copies the URL of a branch on the remote provider - _Open Branches on Remote_ command (`gitlens.openBranchesOnRemote`) &mdash; opens the branches on the remote provider - _Copy Remote Branches URL_ command (`gitlens.copyRemoteBranchesUrl`) &mdash; copies the URL of the branches on the remote provider - _Open Comparison on Remote_ command (`gitlens.openComparisonOnRemote`) &mdash; opens the comparison on the remote provider - _Copy Remote Comparison URL_ command (`gitlens.copyRemoteComparisonUrl`) &mdash; copies the URL of the comparison on the remote provider - _Open Pull Request_ command (`gitlens.openPullRequestOnRemote`) &mdash; opens the pull request on the remote provider - _Copy Pull Request URL_ command (`gitlens.copyRemotePullRequestUrl`) &mdash; copies the URL of the pull request on the remote provider - _Open Repository on Remote_ command (`gitlens.openRepoOnRemote`) &mdash; opens the repository on the remote provider - _Copy Remote Repository URL_ command (`gitlens.copyRemoteRepositoryUrl`) &mdash; copies the URL of the repository on the remote provider ## Powerful Commands [#](#powerful-commands- 'Powerful Commands') - Adds an _Add Co-authors_ command (`gitlens.addAuthors`) to add a co-author to the commit message input box - Adds a _Copy SHA_ command (`gitlens.copyShaToClipboard`) to copy the commit SHA of the current line to the clipboard or from the most recent commit to the current branch, if there is no current editor - Adds a _Copy Message_ command (`gitlens.copyMessageToClipboard`) to copy the commit message of the current line to the clipboard or from the most recent commit to the current branch, if there is no current editor - Adds a _Copy Current Branch_ command (`gitlens.copyCurrentBranch`) to copy the name of the current branch to the clipboard - Adds a _Switch to Another Branch_ (`gitlens.views.switchToAnotherBranch`) command &mdash; to quickly switch the current branch - Adds a _Compare References..._ command (`gitlens.compareWith`) to compare two selected references - Adds a _Compare HEAD with..._ command (`gitlens.compareHeadWith`) to compare the index (HEAD) with the selected reference - Adds a _Compare Working Tree with..._ command (`gitlens.compareWorkingWith`) to compare the working tree with the selected reference - Adds an _Open Changes (difftool)_ command (`gitlens.externalDiff`) to open the changes of a file or set of files with the configured git difftool - Adds an _Open All Changes (difftool)_ command (`gitlens.externalDiffAll`) to open all working changes with the configured git difftool - Adds an _Open Directory Compare (difftool)_ command (`gitlens.diffDirectoryWithHead`) to compare the working tree with HEAD with the configured Git difftool - Adds an _Open Directory Compare (difftool) with..._ command (`gitlens.diffDirectory`) to compare the working tree with the selected reference with the configured Git difftool - Adds an _Open File_ command (`gitlens.openWorkingFile`) to open the working file for the current file revision - Adds an _Open Revision..._ command (`gitlens.openFileRevision`) to open the selected revision for the current file - Adds an _Open Revision from..._ command (`gitlens.openFileRevisionFrom`) to open the revision of the current file from the selected reference - Adds an _Open Blame Prior to Change_ command (`gitlens.openBlamePriorToChange`) to open the blame of prior revision of the selected line in the current file - Adds a _Open Changed Files_ command (`gitlens.openChangedFiles`) to open any files with working tree changes - Adds a _Close Unchanged Files_ command (`gitlens.closeUnchangedFiles`) to close any files without working tree changes - Adds an _Enable Debug Logging_ command (`gitlens.enableDebugLogging`) to enable debug logging to the GitLens output channel - Adds a _Disable Debug Logging_ command (`gitlens.disableDebugLogging`) to disable debug logging to the GitLens output channel ## Menus & Toolbars [#](#menus--toolbars- 'Menus & Toolbars') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/menus.png" alt="Menus &amp; Toolbars" /> </p> GitLens provides [customizable](#menu--toolbar-settings-) menu and toolbar contributions to put you in control over where GitLens' commands are shown. The easiest way to configure these settings is via the GitLens [**interactive settings editor**](#configuration- 'Jump to Configuration'). For example, if you uncheck the _Add to the editor group toolbar_ you will see the following items removed from the toolbar: <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/menus-example.png" alt="Editor Group Toolbar example" /> </p> You can also expand each group to control each area more granularly. ## Modes [#](#modes- 'Modes') GitLens supports [user-defined](#modes-settings- 'Jump to the Modes settings') modes for quickly toggling between sets of settings. - Adds _Switch Mode_ command (`gitlens.switchMode`) to quickly switch the active mode - Adds a _Zen_ mode which for a zen-like experience, disables many visual features - Adds _Toggle Zen Mode_ command (`gitlens.toggleZenMode`) to toggle Zen mode - Adds a _Review_ mode which for reviewing code, enables many visual features - Adds _Toggle Review Mode_ command (`gitlens.toggleReviewMode`) to toggle Review mode - Adds the active mode to the **status bar** ([optional](#modes-settings- 'Jump to the Modes settings'), on by default) # Configuration [#](#configuration- 'Configuration') <p align="center"> <img src="https://raw.githubusercontent.com/gitkraken/vscode-gitlens/main/images/docs/settings.png" alt="GitLens Interactive Settings" /> </p> GitLens provides a rich **interactive settings editor**, an easy-to-use interface, to configure many of GitLens' powerful features. It can be accessed via the _GitLens: Open Settings_ (`gitlens.showSettingsPage`) command from the [_Command Palette_](https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette). For more advanced customizations, refer to the [settings documentation](#gitlens-settings- 'Jump to the GitLens settings docs') below. # GitLens Settings [#](#gitlens-settings- 'GitLens Settings') GitLens is highly customizable and provides many configuration settings to allow the personalization of almost all features. ## Current Line Blame Settings [#](#current-line-blame-settings- 'Current Line Blame Settings') | Name | Description | | ---------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `gitlens.currentLine.dateFormat` | Specifies how to format absolute dates (e.g. using the `${date}` token) for the current line blame annotations. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for supported formats | | `gitlens.currentLine.enabled` | Specifies whether to provide a blame annotation for the current line, by default. Use the _Toggle Line Blame Annotations_ command (`gitlens.toggleLineBlame`) to toggle the annotations on and off for the current window | | `gitlens.currentLine.format` | Specifies the format of the current line blame annotation. See [_Commit Tokens_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs. Date formatting is controlled by the `gitlens.currentLine.dateFormat` setting | | `gitlens.currentLine.uncommittedChangesFormat` | Specifies the uncommitted changes format of the current line blame annotation. See [_Commit Tokens_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs. Date formatting is controlled by the `gitlens.currentLine.dateFormat` setting<br/><br/>**NOTE**: Setting this to an empty string will disable current line blame annotations for uncommitted changes. | | `gitlens.currentLine.pullRequests.enabled` | Specifies whether to provide information about the Pull Request (if any) that introduced the commit in the current line blame annotation. Requires a connection to a supported remote service (e.g. GitHub) | | `gitlens.currentLine.scrollable` | Specifies whether the current line blame annotation can be scrolled into view when it is outside the viewport. **NOTE**: Setting this to `false` will inhibit the hovers from showing over the annotation; Set `gitlens.hovers.currentLine.over` to `line` to enable the hovers to show anywhere over the line. | ## Git CodeLens Settings [#](#git-codelens-settings- 'Git CodeLens Settings') | Name | Description | | ------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `gitlens.codeLens.authors.command` | Specifies the command to be executed when an _authors_ CodeLens is clicked, set to (`gitlens.toggleFileBlame`) by default. Can be set to `false` to disable click actions on the CodeLens.<br /><br />`gitlens.toggleFileBlame` - toggles file blame annotations<br />`gitlens.toggleFileHeatmap` - toggles file heatmap<br />`gitlens.toggleFileChanges` - toggles file changes since before the commit<br />`gitlens.toggleFileChangesOnly` - toggles file changes from the commit<br />`gitlens.diffWithPrevious` - opens changes with the previous revision<br />`gitlens.revealCommitInView` - reveals the commit in the Side Bar<br />`gitlens.showCommitsInView` - searches for commits within the range<br />`gitlens.showQuickCommitDetails` - shows details of the commit<br />`gitlens.showQuickCommitFileDetails` - show file details of the commit<br />`gitlens.showQuickFileHistory` - shows the current file history<br />`gitlens.showQuickRepoHistory` - shows the current branch history<br />`gitlens.openCommitOnRemote` - opens the commit on the remote service (when available)<br />`gitlens.copyRemoteCommitUrl` - copies the remote commit URL to the clipboard (when available)<br />`gitlens.openFileOnRemote` - opens the file revision on the remote service (when available)<br />`gitlens.copyRemoteFileUrl` - copies the remote file URL to the clipboard (when available) | | `gitlens.codeLens.authors.enabled` | Specifies whether to provide an _authors_ CodeLens, showing number of authors of the file or code block and the most prominent author (if there is more than one) | | `gitlens.codeLens.enabled` | Specifies whether to provide any Git CodeLens, by default. Use the _Toggle Git CodeLens_ command (`gitlens.toggleCodeLens`) to toggle the Git CodeLens on and off for the current window | | `gitlens.codeLens.includeSingleLineSymbols` | Specifies whether to provide any Git CodeLens on symbols that span only a single line | | `gitlens.codeLens.recentChange.command` | Specifies the command to be executed when a _recent change_ CodeLens is clicked, set to (`gitlens.showQuickCommitFileDetails`) by default. Can be set to `false` to disable click actions on the CodeLens.<br /><br />`gitlens.toggleFileBlame` - toggles file blame annotations<br />`gitlens.toggleFileHeatmap` - toggles file heatmap<br />`gitlens.toggleFileChanges` - toggles file changes since before the commit<br />`gitlens.toggleFileChangesOnly` - toggles file changes from the commit<br />`gitlens.diffWithPrevious` - opens changes with the previous revision<br />`gitlens.revealCommitInView` - reveals the commit in the Side Bar<br />`gitlens.showCommitsInView` - searches for commits within the range<br />`gitlens.showQuickCommitDetails` - shows details of the commit<br />`gitlens.showQuickCommitFileDetails` - show file details of the commit<br />`gitlens.showQuickFileHistory` - shows the current file history<br />`gitlens.showQuickRepoHistory` - shows the current branch history<br />`gitlens.openCommitOnRemote` - opens the commit on the remote service (when available)<br />`gitlens.copyRemoteCommitUrl` - copies the remote commit URL to the clipboard (when available)<br />`gitlens.openFileOnRemote` - opens the file revision on the remote service (when available)<br />`gitlens.copyRemoteFileUrl` - copies the remote file URL to the clipboard (when available) | | `gitlens.codeLens.recentChange.enabled` | Specifies whether to provide a _recent change_ CodeLens, showing the author and date of the most recent commit for the file or code block | | `gitlens.codeLens.scopes` | Specifies where Git CodeLens will be shown in the document<br /><br />`document` - adds CodeLens at the top of the document<br />`containers` - adds CodeLens at the start of container-like symbols (modules, classes, interfaces, etc)<br />`blocks` - adds CodeLens at the start of block-like symbols (functions, methods, etc) lines | | `gitlens.codeLens.symbolScopes` | Specifies a set of document symbols where Git CodeLens will or will not be shown in the document. Prefix with `!` to avoid providing a Git CodeLens for the symbol. Must be a member of [`SymbolKind`](https://code.visualstudio.com/docs/extensionAPI/vscode-api#_a-namesymbolkindaspan-classcodeitem-id660symbolkindspan) | ## Status Bar Settings [#](#status-bar-settings- 'Status Bar Settings') | Name | Description | | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `gitlens.statusBar.alignment` | Specifies the blame alignment in the status bar<br /><br />`left` - aligns to the left<br />`right` - aligns to the right | | `gitlens.statusBar.command` | Specifies the command to be executed when the blame status bar item is clicked<br /><br />`gitlens.toggleFileBlame` - toggles file blame annotations<br />`gitlens.toggleFileHeatmap` - toggles file heatmap<br />`gitlens.toggleFileChanges` - toggles file changes since before the commit<br />`gitlens.toggleFileChangesOnly` - toggles file changes from the commit<br />`gitlens.diffWithPrevious` - opens changes with the previous revision<br />`gitlens.revealCommitInView` - reveals the commit in the Side Bar<br />`gitlens.showCommitsInView` - searches for commits within the range<br />`gitlens.showQuickCommitDetails` - shows details of the commit<br />`gitlens.showQuickCommitFileDetails` - show file details of the commit<br />`gitlens.showQuickFileHistory` - shows the current file history<br />`gitlens.showQuickRepoHistory` - shows the current branch history<br />`gitlens.openCommitOnRemote` - opens the commit on the remote service (when available)<br />`gitlens.copyRemoteCommitUrl` - copies the remote commit URL to the clipboard (when available)<br />`gitlens.openFileOnRemote` - opens the file revision on the remote service (when available)<br />`gitlens.copyRemoteFileUrl` - copies the remote file URL to the clipboard (when available) | | `gitlens.statusBar.dateFormat` | Specifies how to format absolute dates (e.g. using the `${date}` token) in the blame information in the status bar. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for supported formats | | `gitlens.statusBar.enabled` | Specifies whether to provide blame information in the status bar | | `gitlens.statusBar.format` | Specifies the format of the blame information in the status bar. See [_Commit Tokens_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs. Date formatting is controlled by the `gitlens.statusBar.dateFormat` setting | | `gitlens.statusBar.pullRequests.enabled` | Specifies whether to provide information about the Pull Request (if any) that introduced the commit in the status bar. Requires a connection to a supported remote service (e.g. GitHub) | | `gitlens.statusBar.reduceFlicker` | Specifies whether to avoid clearing the previous blame information when changing lines to reduce status bar "flashing" | | `gitlens.statusBar.tooltipFormat` | Specifies the format (in markdown) of hover shown over the blame information in the status bar. See [_Commit Tokens_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs | ## Hover Settings [#](#hover-settings- 'Hover Settings') | Name | Description | | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `gitlens.hovers.annotations.changes` | Specifies whether to provide a _changes (diff)_ hover for all lines when showing blame annotations | | `gitlens.hovers.annotations.details` | Specifies whether to provide a _commit details_ hover for all lines when showing blame annotations | | `gitlens.hovers.annotations.enabled` | Specifies whether to provide any hovers when showing blame annotations | | `gitlens.hovers.annotations.over` | Specifies when to trigger hovers when showing blame annotations<br /><br />`annotation` - only shown when hovering over the line annotation<br />`line` - shown when hovering anywhere over the line | | `gitlens.hovers.avatars` | Specifies whether to show avatar images in hovers | | `gitlens.hovers.avatarSize` | Specifies the size of the avatar images in hovers | | `gitlens.hovers.changesDiff` | Specifies whether to show just the changes to the line or the set of related changes in the _changes (diff)_ hover<br /><br />`line` - Shows only the changes to the line<br />`hunk` - Shows the set of related changes | | `gitlens.hovers.currentLine.changes` | Specifies whether to provide a _changes (diff)_ hover for the current line | | `gitlens.hovers.currentLine.details` | Specifies whether to provide a _commit details_ hover for the current line | | `gitlens.hovers.currentLine.enabled` | Specifies whether to provide any hovers for the current line | | `gitlens.hovers.currentLine.over` | Specifies when to trigger hovers for the current line<br /><br />`annotation` - only shown when hovering over the line annotation<br />`line` - shown when hovering anywhere over the line | | `gitlens.hovers.detailsMarkdownFormat` | Specifies the format (in markdown) of the _commit details_ hover. See [_Commit Tokens_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs | | `gitlens.hovers.enabled` | Specifies whether to provide any hovers | | `gitlens.hovers.autolinks.enabled` | Specifies whether to automatically link external resources in commit messages | | `gitlens.hovers.autolinks.enhanced` | Specifies whether to lookup additional details about automatically link external resources in commit messages. Requires a connection to a supported remote service (e.g. GitHub) | | `gitlens.hovers.pullRequests.enabled` | Specifies whether to provide information about the Pull Request (if any) that introduced the commit in the hovers. Requires a connection to a supported remote service (e.g. GitHub) | ## View Settings [#](#view-settings- 'View Settings') | Name | Description | | ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `gitlens.views.defaultItemLimit` | Specifies the default number of items to show in a view list. Use 0 to specify no limit | | `gitlens.views.formats.commits.label` | Specifies the format of commits in the views. See [_Commit Tokens_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs | | `gitlens.views.formats.commits.description` | Specifies the description format of commits in the views. See [_Commit Tokens_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs | | `gitlens.views.formats.files.label` | Specifies the format of a file in the views. See [_File Tokens_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#file-tokens) in the GitLens docs | | `gitlens.views.formats.files.description` | Specifies the description format of a file in the views. See [_File Tokens_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#file-tokens) in the GitLens docs | | `gitlens.views.formats.stashes.label` | Specifies the format of stashes in the views. See [_Commit Tokens_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs | | `gitlens.views.formats.stashes.description` | Specifies the description format of stashes in the views. See [_Commit Tokens_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs | | `gitlens.views.pageItemLimit` | Specifies the number of items to show in a each page when paginating a view list. Use 0 to specify no limit | | `gitlens.views.showRelativeDateMarkers` | Specifies whether to show relative date markers (_Less than a week ago_, _Over a week ago_, _Over a month ago_, etc) on revision (commit) histories in the views | ## Commits View Settings [#](#commits-view-settings- 'Commits View Settings') See also [View Settings](#view-settings- 'Jump to the View settings') | Name | Description | | ---------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `gitlens.views.commits.avatars` | Specifies whether to show avatar images instead of commit (or status) icons in the _Commits_ view | | `gitlens.views.commits.files.compact` | Specifies whether to compact (flatten) unnecessary file nesting in the _Commits_ view.<br />Only applies when `gitlens.views.commits.files.layout` is set to `tree` or `auto` | | `gitlens.views.commits.files.layout` | Specifies how the _Commits_ view will display files<br /><br />`auto` - automatically switches between displaying files as a `tree` or `list` based on the `gitlens.views.commits.files.threshold` value and the number of files at each nesting level<br />`list` - displays files as a list<br />`tree` - displays files as a tree | | `gitlens.views.commits.files.threshold` | Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Commits_ view<br />Only applies when `gitlens.views.commits.files.layout` is set to `auto` | | `gitlens.views.commits.pullRequests.enabled` | Specifies whether to query for pull requests associated with the current branch and commits in the _Commits_ view. Requires a connection to a supported remote service (e.g. GitHub) | | `gitlens.views.commits.pullRequests.showForBranches` | Specifies whether to query for pull requests associated with the current branch in the _Commits_ view. Requires a connection to a supported remote service (e.g. GitHub) | | `gitlens.views.commits.pullRequests.showForCommits` | Specifies whether to show pull requests (if any) associated with commits in the _Commits_ view. Requires a connection to a supported remote service (e.g. GitHub) | | `gitlens.views.commits.reveal` | Specifies whether to reveal commits in the _Commits_ view, otherwise they will be revealed in the _Repositories_ view | | `gitlens.views.commits.showBranchComparison` | Specifies whether to show a comparison of the current branch or the working tree with a user-selected reference (branch, tag. etc) in the _Commits_ view<br /><br />`false` - hides the branch comparison<br />`branch` - compares the current branch with a user-selected reference<br />`working` - compares the working tree with a user-selected reference | ## Repositories View Settings [#](#repositories-view-settings- 'Repositories View Settings') See also [View Settings](#view-settings- 'Jump to the View settings') | Name | Description | | ---------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `gitlens.views.repositories.avatars` | Specifies whether to show avatar images instead of commit (or status) icons in the _Repositories_ view | | `gitlens.views.repositories.autoRefresh` | Specifies whether to automatically refresh the _Repositories_ view when the repository or the file system changes | | `gitlens.views.repositories.autoReveal` | Specifies whether to automatically reveal repositories in the _Repositories_ view when opening files | | `gitlens.views.repositories.branches.layout` | Specifies how the _Repositories_ view will display branches<br /><br />`list` - displays branches as a list<br />`tree` - displays branches as a tree when branch names contain slashes `/` | | `gitlens.views.repositories.branches.showBranchComparison` | Specifies whether to show a comparison of the branch with a user-selected reference (branch, tag. etc) under each branch in the _Repositories_ view | | `gitlens.views.repositories.compact` | Specifies whether to show the _Repositories_ view in a compact display density | | `gitlens.views.repositories.files.compact` | Specifies whether to compact (flatten) unnecessary file nesting in the _Repositories_ view. Only applies when `gitlens.views.repositories.files.layout` is set to `tree` or `auto` | | `gitlens.views.repositories.files.layout` | Specifies how the _Repositories_ view will display files<br /><br />`auto` - automatically switches between displaying files as a `tree` or `list` based on the `gitlens.views.repositories.files.threshold` value and the number of files at each nesting level<br />`list` - displays files as a list<br />`tree` - displays files as a tree | | `gitlens.views.repositories.files.threshold` | Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Repositories_ view. Only applies when `gitlens.views.repositories.files.layout` is set to `auto` | | `gitlens.views.repositories.includeWorkingTree` | Specifies whether to include working tree file status for each repository in the _Repositories_ view | | `gitlens.views.repositories.showBranchComparison` | Specifies whether to show a comparison of a user-selected reference (branch, tag. etc) to the current branch or the working tree in the _Repositories_ view | | `gitlens.views.repositories.showBranches` | Specifies whether to show the branches for each repository in the _Repositories_ view | | `gitlens.views.repositories.showCommits` | Specifies whether to show the commits on the current branch for each repository in the _Repositories_ view | | `gitlens.views.repositories.showContributors` | Specifies whether to show the contributors for each repository in the _Repositories_ view | | `gitlens.views.repositories.showIncomingActivity` | Specifies whether to show the experimental incoming activity for each repository in the _Repositories_ view | | `gitlens.views.repositories.showRemotes` | Specifies whether to show the remotes for each repository in the _Repositories_ view | | `gitlens.views.repositories.showStashes` | Specifies whether to show the stashes for each repository in the _Repositories_ view | | `gitlens.views.repositories.showTags` | Specifies whether to show the tags for each repository in the _Repositories_ view | | `gitlens.views.repositories.showUpstreamStatus` | Specifies whether to show the upstream status of the current branch for each repository in the _Repositories_ view | ## File History View Settings [#](#file-history-view-settings- 'File History View Settings') See also [View Settings](#view-settings- 'Jump to the View settings') | Name | Description | | ----------------------------------- | ------------------------------------------------------------------------------------------ | | `gitlens.views.fileHistory.avatars` | Specifies whether to show avatar images instead of status icons in the _File History_ view | ## Line History View Settings [#](#line-history-view-settings- 'Line History View Settings') See also [View Settings](#view-settings- 'Jump to the View settings') | Name | Description | | ----------------------------------- | ------------------------------------------------------------------------------------------ | | `gitlens.views.lineHistory.avatars` | Specifies whether to show avatar images instead of status icons in the _Line History_ view | ## Branches View Settings [#](#branches-view-settings- 'Branches View Settings') See also [View Settings](#view-settings- 'Jump to the View settings') | Name | Description | | ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `gitlens.views.branches.avatars` | Specifies whether to show avatar images instead of commit (or status) icons in the _Branches_ view | | `gitlens.views.branches.branches.layout` | Specifies how the _Branches_ view will display branches<br /><br />`list` - displays branches as a list<br />`tree` - displays branches as a tree | | `gitlens.views.branches.files.compact` | Specifies whether to compact (flatten) unnecessary file nesting in the _Branches_ view.<br />Only applies when `gitlens.views.commits.files.layout` is set to `tree` or `auto` | | `gitlens.views.branches.files.layout` | Specifies how the _Branches_ view will display files<br /><br />`auto` - automatically switches between displaying files as a `tree` or `list` based on the `gitlens.views.commits.files.threshold` value and the number of files at each nesting level<br />`list` - displays files as a list<br />`tree` - displays files as a tree | | `gitlens.views.branches.files.threshold` | Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Branches_ view<br />Only applies when `gitlens.views.commits.files.layout` is set to `auto` | | `gitlens.views.branches.pullRequests.enabled` | Specifies whether to query for pull requests associated with each branch and commits in the _Branches_ view. Requires a connection to a supported remote service (e.g. GitHub) | | `gitlens.views.branches.pullRequests.showForBranches` | Specifies whether to query for pull requests associated with each branch in the _Branches_ view. Requires a connection to a supported remote service (e.g. GitHub) | | `gitlens.views.branches.pullRequests.showForCommits` | Specifies whether to show pull requests (if any) associated with commits in the _Branches_ view. Requires a connection to a supported remote service (e.g. GitHub) | | `gitlens.views.branches.reveal` | Specifies whether to reveal branches in the _Branches_ view, otherwise they will be revealed in the _Repositories_ view | | `gitlens.views.branches.showBranchComparison` | Specifies whether to show a comparison of the branch with a user-selected reference (branch, tag. etc) in the _Branches_ view<br /><br />`false` - hides the branch comparison<br />`branch` - compares the current branch with a user-selected reference | ## Remotes View Settings [#](#remotes-view-settings- 'Remotes View Settings') See also [View Settings](#view-settings- 'Jump to the View settings') | Name | Description | | ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `gitlens.views.remotes.avatars` | Specifies whether to show avatar images instead of commit (or status) icons in the _Remotes_ view | | `gitlens.views.remotes.branches.layout` | Specifies how the _Remotes_ view will display branches<br /><br />`list` - displays branches as a list<br />`tree` - displays branches as a tree | | `gitlens.views.remotes.files.compact` | Specifies whether to compact (flatten) unnecessary file nesting in the _Remotes_ view.<br />Only applies when `gitlens.views.commits.files.layout` is set to `tree` or `auto` | | `gitlens.views.remotes.files.layout` | Specifies how the _Remotes_ view will display files<br /><br />`auto` - automatically switches between displaying files as a `tree` or `list` based on the `gitlens.views.commits.files.threshold` value and the number of files at each nesting level<br />`list` - displays files as a list<br />`tree` - displays files as a tree | | `gitlens.views.remotes.files.threshold` | Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Remotes_ view<br />Only applies when `gitlens.views.commits.files.layout` is set to `auto` | | `gitlens.views.remotes.pullRequests.enabled` | Specifies whether to query for pull requests associated with each branch and commits in the _Remotes_ view. Requires a connection to a supported remote service (e.g. GitHub) | | `gitlens.views.remotes.pullRequests.showForBranches` | Specifies whether to query for pull requests associated with each branch in the _Remotes_ view. Requires a connection to a supported remote service (e.g. GitHub) | | `gitlens.views.remotes.pullRequests.showForCommits` | Specifies whether to show pull requests (if any) associated with commits in the _Remotes_ view. Requires a connection to a supported remote service (e.g. GitHub) | | `gitlens.views.remotes.reveal` | Specifies whether to reveal remotes in the _Remotes_ view, otherwise they will be revealed in the _Repositories_ view | | `gitlens.views.remotes.showBranchComparison` | Specifies whether to show a comparison of the branch with a user-selected reference (branch, tag. etc) in the _Remotes_ view<br /><br />`false` - hides the branch comparison<br />`branch` - compares the current branch with a user-selected reference | ## Stashes View Settings [#](#stashes-view-settings- 'Stashes View Settings') See also [View Settings](#view-settings- 'Jump to the View settings') | Name | Description | | --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `gitlens.views.stashes.files.compact` | Specifies whether to compact (flatten) unnecessary file nesting in the _Stashes_ view.<br />Only applies when `gitlens.views.commits.files.layout` is set to `tree` or `auto` | | `gitlens.views.stashes.files.layout` | Specifies how the _Stashes_ view will display files<br /><br />`auto` - automatically switches between displaying files as a `tree` or `list` based on the `gitlens.views.commits.files.threshold` value and the number of files at each nesting level<br />`list` - displays files as a list<br />`tree` - displays files as a tree | | `gitlens.views.stashes.files.threshold` | Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Stashes_ view<br />Only applies when `gitlens.views.commits.files.layout` is set to `auto` | | `gitlens.views.stashes.reveal` | Specifies whether to reveal stashes in the _Stashes_ view, otherwise they will be revealed in the _Repositories_ view | ## Tags View Settings [#](#tags-view-settings- 'Tags View Settings') See also [View Settings](#view-settings- 'Jump to the View settings') | Name | Description | | ------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `gitlens.views.tags.avatars` | Specifies whether to show avatar images instead of commit (or status) icons in the _Tags_ view | | `gitlens.views.tags.branches.layout` | Specifies how the _Tags_ view will display tags<br /><br />`list` - displays tags as a list<br />`tree` - displays tags as a tree | | `gitlens.views.tags.files.compact` | Specifies whether to compact (flatten) unnecessary file nesting in the _Tags_ view.<br />Only applies when `gitlens.views.commits.files.layout` is set to `tree` or `auto` | | `gitlens.views.tags.files.layout` | Specifies how the _Tags_ view will display files<br /><br />`auto` - automatically switches between displaying files as a `tree` or `list` based on the `gitlens.views.commits.files.threshold` value and the number of files at each nesting level<br />`list` - displays files as a list<br />`tree` - displays files as a tree | | `gitlens.views.tags.files.threshold` | Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Tags_ view<br />Only applies when `gitlens.views.commits.files.layout` is set to `auto` | | `gitlens.views.tags.reveal` | Specifies whether to reveal tags in the _Tags_ view, otherwise they will be revealed in the _Repositories_ view | ## Worktrees View Settings [#](#worktrees-view-settings- 'Worktrees View Settings') See also [View Settings](#view-settings- 'Jump to the View settings') | Name | Description | | ------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `gitlens.views.worktrees.avatars` | Specifies whether to show avatar images instead of commit (or status) icons in the _Worktrees_ view | | `gitlens.views.worktrees.files.compact` | Specifies whether to compact (flatten) unnecessary file nesting in the _Worktrees_ view.<br />Only applies when `gitlens.views.commits.files.layout` is set to `tree` or `auto` | | `gitlens.views.worktrees.files.layout` | Specifies how the _Worktrees_ view will display files<br /><br />`auto` - automatically switches between displaying files as a `tree` or `list` based on the `gitlens.views.commits.files.threshold` value and the number of files at each nesting level<br />`list` - displays files as a list<br />`tree` - displays files as a tree | | `gitlens.views.worktrees.files.threshold` | Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Worktrees_ view<br />Only applies when `gitlens.views.commits.files.layout` is set to `auto` | | `gitlens.views.worktrees.pullRequests.enabled` | Specifies whether to query for pull requests associated with the worktree branch and commits in the _Worktrees_ view. Requires a connection to a supported remote service (e.g. GitHub) | | `gitlens.views.worktrees.pullRequests.showForBranches` | Specifies whether to query for pull requests associated with the worktree branch in the _Worktrees_ view. Requires a connection to a supported remote service (e.g. GitHub) | | `gitlens.views.worktrees.pullRequests.showForCommits` | Specifies whether to show pull requests (if any) associated with commits in the _Worktrees_ view. Requires a connection to a supported remote service (e.g. GitHub) | | `gitlens.views.worktrees.reveal` | Specifies whether to reveal worktrees in the _Worktrees_ view, otherwise they will be revealed in the _Repositories_ view | | `gitlens.views.worktrees.showBranchComparison` | Specifies whether to show a comparison of the worktree branch with a user-selected reference (branch, tag. etc) in the _Worktrees_ view<br /><br />`false` - hides the branch comparison<br />`branch` - compares the current branch with a user-selected reference | ## Contributors View Settings [#](#contributors-view-settings- 'Contributors View Settings') See also [View Settings](#view-settings- 'Jump to the View settings') | Name | Description | | -------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `gitlens.views.contributors.avatars` | Specifies whether to show avatar images instead of commit (or status) icons in the _Contributors_ view | | `gitlens.views.contributors.files.compact` | Specifies whether to compact (flatten) unnecessary file nesting in the _Contributors_ view.<br />Only applies when `gitlens.views.commits.files.layout` is set to `tree` or `auto` | | `gitlens.views.contributors.files.layout` | Specifies how the _Contributors_ view will display files<br /><br />`auto` - automatically switches between displaying files as a `tree` or `list` based on the `gitlens.views.commits.files.threshold` value and the number of files at each nesting level<br />`list` - displays files as a list<br />`tree` - displays files as a tree | | `gitlens.views.contributors.files.threshold` | Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Contributors_ view<br />Only applies when `gitlens.views.commits.files.layout` is set to `auto` | | `gitlens.views.contributors.pullRequests.enabled` | Specifies whether to query for pull requests associated with the current branch and commits in the _Contributors_ view. Requires a connection to a supported remote service (e.g. GitHub) | | `gitlens.views.contributors.pullRequests.showForCommits` | Specifies whether to show pull requests (if any) associated with the current branch in the _Contributors_ view. Requires a connection to a supported remote service (e.g. GitHub) | | `gitlens.views.contributors.showAllBranches` | Specifies whether to show commits from all branches in the _Contributors_ view | | `gitlens.views.contributors.showStatistics` | Specifies whether to show contributor statistics in the _Contributors_ view. This can take a while to compute depending on the repository size | ## Search & Compare View Settings [#](#search-&-compare-view-settings- 'Search & Compare View Settings') See also [View Settings](#view-settings- 'Jump to the View settings') | Name | Description | | --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `gitlens.views.compare.files.threshold` | Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Search Commits_ view<br />Only applies when `gitlens.views.compare.files.layout` is set to `auto` | | `gitlens.views.compare.avatars` | Specifies whether to show avatar images instead of commit (or status) icons in the _Compare_ view | | `gitlens.views.compare.files.compact` | Specifies whether to compact (flatten) unnecessary file nesting in the _Compare_ view. Only applies when `gitlens.views.compare.files.layout` is set to `tree` or `auto` | | `gitlens.views.compare.files.layout` | Specifies how the _Compare_ view will display files<br /><br />`auto` - automatically switches between displaying files as a `tree` or `list` based on the `gitlens.views.compare.files.threshold` value and the number of files at each nesting level<br />`list` - displays files as a list<br />`tree` - displays files as a tree | | `gitlens.views.compare.files.threshold` | Specifies when to switch between displaying files as a `tree` or `list` based on the number of files in a nesting level in the _Compare_ view. Only applies when `gitlens.views.compare.files.layout` is set to `auto` | | `gitlens.views.search.avatars` | Specifies whether to show avatar images instead of commit (or status) icons in the _Search Commits_ view | | `gitlens.views.search.files.compact` | Specifies whether to compact (flatten) unnecessary file nesting in the _Search Commits_ view<br />Only applies when `gitlens.views.compare.files.layout` is set to `tree` or `auto` | | `gitlens.views.search.files.layout` | Specifies how the _Search Commits_ view will display files<br />`auto` - automatically switches between displaying files as a `tree` or `list` based on the `gitlens.views.compare.files.threshold` value and the number of files at each nesting level<br />`list` - displays files as a list<br />`tree` - displays files as a tree | ## File Blame Settings [#](#file-blame-settings- 'File Blame Settings') | Name | Description | | ----------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `gitlens.blame.avatars` | Specifies whether to show avatar images in the file blame annotations | | `gitlens.blame.compact` | Specifies whether to compact (deduplicate) matching adjacent file blame annotations | | `gitlens.blame.dateFormat` | Specifies how to format absolute dates (e.g. using the `${date}` token) in file blame annotations. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for supported formats | | `gitlens.blame.format` | Specifies the format of the file blame annotations. See [_Commit Tokens_](https://github.com/gitkraken/vscode-gitlens/wiki/Custom-Formatting#commit-tokens) in the GitLens docs. Date formatting is controlled by the `gitlens.blame.dateFormat` setting | | `gitlens.blame.heatmap.enabled` | Specifies whether to provide a heatmap indicator in the file blame annotations | | `gitlens.blame.heatmap.location` | Specifies where the heatmap indicators will be shown in the file blame annotations<br /><br />`left` - adds a heatmap indicator on the left edge of the file blame annotations<br />`right` - adds a heatmap indicator on the right edge of the file blame annotations | | `gitlens.blame.highlight.enabled` | Specifies whether to highlight lines associated with the current line | | `gitlens.blame.highlight.locations` | Specifies where the associated line highlights will be shown<br /><br />`gutter` - adds an indicator to the gutter<br />`line` - adds a full-line highlight background color<br />`overview` - adds an indicator to the scroll bar | | `gitlens.blame.ignoreWhitespace` | Specifies whether to ignore whitespace when comparing revisions during blame operations | | `gitlens.blame.separateLines` | Specifies whether file blame annotations will have line separators | | `gitlens.blame.toggleMode` | Specifies how the file blame annotations will be toggled<br /><br />`file` - toggles each file individually<br />`window` - toggles the window, i.e. all files at once | ## File Changes Settings [#](#file-changes-settings- 'File Changes Settings') | Name | Description | | ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `gitlens.changes.locations` | Specifies where the indicators of the file changes annotations will be shown<br /><br />`gutter` - adds an indicator to the gutter<br />`line` - adds a full-line highlight background color<br />`overview` - adds an indicator to the scroll bar | | `gitlens.changes.toggleMode` | Specifies how the file changes annotations will be toggled<br /><br />`file` - toggles each file individually<br />`window` - toggles the window, i.e. all files at once | ## File Heatmap Settings [#](#file-heatmap-settings- 'File Heatmap Settings') | Name | Description | | ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `gitlens.heatmap.ageThreshold` | Specifies the age of the most recent change (in days) after which the file heatmap annotations will be cold rather than hot (i.e. will use `gitlens.heatmap.coldColor` instead of `gitlens.heatmap.hotColor`) | | `gitlens.heatmap.coldColor` | Specifies the base color of the file heatmap annotations when the most recent change is older (cold) than the `gitlens.heatmap.ageThreshold` value | | `gitlens.heatmap.hotColor` | Specifies the base color of the file heatmap annotations when the most recent change is newer (hot) than the `gitlens.heatmap.ageThreshold` value | | `gitlens.heatmap.locations` | Specifies where the indicators of the file heatmap annotations will be shown<br /><br />`gutter` - adds an indicator to the gutter<br />`line` - adds a full-line highlight background color<br />`overview` - adds an indicator to the scroll bar | | `gitlens.heatmap.toggleMode` | Specifies how the file heatmap annotations will be toggled<br /><br />`file` - toggles each file individually<br />`window` - toggles the window, i.e. all files at once | ## Git Command Palette Settings [#](#git-command-palette-settings- 'Git Command Palette Settings') | Name | Description | | ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `gitlens.gitCommands.closeOnFocusOut` | Specifies whether to dismiss the _Git Commands Palette_ when focus is lost (if not, press `ESC` to dismiss) | | `gitlens.gitCommands.search.matchAll` | Specifies whether to match all or any commit message search patterns | | `gitlens.gitCommands.search.matchCase` | Specifies whether to match commit search patterns with or without regard to casing | | `gitlens.gitCommands.search.matchRegex` | Specifies whether to match commit search patterns using regular expressions | | `gitlens.gitCommands.search.showResultsInSideBar` | Specifies whether to show the commit search results directly in the quick pick menu, in the Side Bar, or will be based on the context | | `gitlens.gitCommands.skipConfirmations` | Specifies which (and when) Git commands will skip the confirmation step, using the format: `git-command-name:(menu/command)` | | `gitlens.gitCommands.sortBy` | Specifies how Git commands are sorted in the _Git Command Palette_<br /><br />`name` - sorts commands by name<br />`usage` - sorts commands by last used date | ## Terminal Links Settings [#](#terminal-links-settings- 'Terminal Links Settings') | Name | Description | | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `gitlens.terminalLinks.enabled` | Specifies whether to enable terminal links &mdash; autolinks in the integrated terminal to quickly jump to more details for commits, branches, tags, and more | ## Remote Provider Integration Settings [#](#remote-provider-integration-settings- 'Remote Provider Integration Settings') | Name | Description | | ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `gitlens.integrations.enabled` | Specifies whether to enable rich integrations with any supported remote services | | `gitlens.remotes` | Specifies custom remote services to be matched with Git remotes to detect custom domains for built-in remote services or provide support for custom remote services<br /><br />Supported Types (e.g. `"type": "GitHub"`):<ul><li>"GitHub"</li><li>"GitLab"</li><li>"Gerrit"</li><li>"GoogleSource"</li><li>"Gitea"</li><li>"AzureDevOps"</li><li>"Bitbucket"</li><li>"BitbucketServer"</li><li>"Custom"</li></ul>Example:<br />`"gitlens.remotes": [{ "domain": "git.corporate-url.com", "type": "GitHub" }]`<br /><br />Example:<br />`"gitlens.remotes": [{ "regex": "ssh:\/\/(my\.company\.com):1234\/git\/(.+)", "type": "GitHub" }]`<br /><br />Example:<br />`"gitlens.remotes": [{`<br />&nbsp;&nbsp;&nbsp;&nbsp;`"domain": "git.corporate-url.com",`<br />&nbsp;&nbsp;&nbsp;&nbsp;`"type": "Custom",`<br />&nbsp;&nbsp;&nbsp;&nbsp;`"name": "My Company",`<br />&nbsp;&nbsp;&nbsp;&nbsp;`"protocol": "https",`<br />&nbsp;&nbsp;&nbsp;&nbsp;`"urls": {`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"repository": "https://git.corporate-url.com/${repo}",`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"branches": "https://git.corporate-url.com/${repo}/branches",`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"branch": "https://git.corporate-url.com/${repo}/commits/${branch}",`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"commit": "https://git.corporate-url.com/${repo}/commit/${id}",`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"file": "https://git.corporate-url.com/${repo}?path=${file}${line}",`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"fileInBranch": "https://git.corporate-url.com/${repo}/blob/${branch}/${file}${line}",`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"fileInCommit": "https://git.corporate-url.com/${repo}/blob/${id}/${file}${line}",`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"fileLine": "#L${line}",`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"fileRange": "#L${start}-L${end}"`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`}`<br />&nbsp;&nbsp;&nbsp;&nbsp;`}]`<br /><br />Example:<br />`"gitlens.remotes": [{`<br />&nbsp;&nbsp;&nbsp;&nbsp;`"regex": "ssh:\\/\\/(my\\.company\\.com):1234\\/git\\/(.+)",`<br />&nbsp;&nbsp;&nbsp;&nbsp;`"type": "Custom",`<br />&nbsp;&nbsp;&nbsp;&nbsp;`"name": "My Company",`<br />&nbsp;&nbsp;&nbsp;&nbsp;`"protocol": "https",`<br />&nbsp;&nbsp;&nbsp;&nbsp;`"urls": {`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"repository": "https://my.company.com/projects/${repoBase}/repos/${repoPath}",`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"branches": "https://my.company.com/projects/${repoBase}/repos/${repoPath}/branches",`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"branch": "https://my.company.com/projects/${repoBase}/repos/${repoPath}/commits/${branch}",`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"commit": "https://my.company.com/projects/${repoBase}/repos/${repoPath}/commit/${id}",`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"file": "https://my.company.com/projects/${repoBase}/repos/${repoPath}?path=${file}${line}",`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"fileInBranch": "https://my.company.com/projects/${repoBase}/repos/${repoPath}/blob/${branch}/${file}${line}",`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"fileInCommit": "https://my.company.com/projects/${repoBase}/repos/${repoPath}/blob/${id}/${file}${line}",`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"fileLine": "#L${line}",`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"fileRange": "#L${start}-L${end}"`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`}`<br />&nbsp;&nbsp;&nbsp;&nbsp;`}]` | ## Date & Time Settings [#](#date--time-settings- 'Date & Time Settings') | Name | Description | | -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `gitlens.defaultDateFormat` | Specifies how absolute dates will be formatted by default. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for supported formats | | `gitlens.defaultDateLocale` | Specifies the locale, a [BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag#List_of_major_primary_language_subtags), to use for date formatting, defaults to the VS Code locale. Use `system` to follow the current system locale, or choose a specific locale, e.g `en-US` — US English, `en-GB` — British English, `de-DE` — German, 'ja-JP = Japanese, etc. | | `gitlens.defaultDateShortFormat` | Specifies how short absolute dates will be formatted by default. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for supported formats | | `gitlens.defaultDateSource` | Specifies whether commit dates should use the authored or committed date | | `gitlens.defaultDateStyle` | Specifies how dates will be displayed by default | | `gitlens.defaultTimeFormat` | Specifies how times will be formatted by default. See the [Moment.js docs](https://momentjs.com/docs/#/displaying/format/) for supported formats | ## Menu & Toolbar Settings [#](#menu--toolbar-settings- 'Menu & Toolbar Settings') | Name | Description | | --------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `gitlens.menus` | Specifies which commands will be added to which menus | | `gitlens.fileAnnotations.command` | Specifies whether the file annotations button in the editor title shows a menu or immediately toggles the specified file annotations<br />`null` (default) - shows a menu to choose which file annotations to toggle<br />`blame` - toggles file blame annotations<br />`heatmap` - toggles file heatmap annotations<br />`changes` - toggles file changes annotations | ## Keyboard Shortcut Settings [#](#keyboard-shortcut-settings- 'Keyboard Shortcut Settings') | Name | Description | | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `gitlens.keymap` | Specifies the keymap to use for GitLens shortcut keys<br /><br />`alternate` - adds an alternate set of shortcut keys that start with `Alt` (&#x2325; on macOS)<br />`chorded` - adds a chorded set of shortcut keys that start with `Ctrl+Shift+G` (<code>&#x2325;&#x2318;G</code> on macOS)<br />`none` - no shortcut keys will be added | ## Modes Settings [#](#modes-settings- 'Modes Settings') | Name | Description | | ---------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `gitlens.mode.active` | Specifies the active GitLens mode, if any | | `gitlens.mode.statusBar.enabled` | Specifies whether to provide the active GitLens mode in the status bar | | `gitlens.mode.statusBar.alignment` | Specifies the active GitLens mode alignment in the status bar<br /><br />`left` - aligns to the left<br />`right` - aligns to the right | | `gitlens.modes` | Specifies the user-defined GitLens modes<br /><br />Example &mdash; adds heatmap annotations to the _Reviewing_ mode<br />`"gitlens.modes": { "review": { "annotations": "heatmap" } }`<br /><br />Example &mdash; adds a new _Annotating_ mode with blame annotations<br />`"gitlens.modes": {`<br />&nbsp;&nbsp;&nbsp;&nbsp;`"annotate": {`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"name": "Annotating",`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"statusBarItemName": "Annotating",`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"description": "for root cause analysis",`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"annotations": "blame",`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"codeLens": false,`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"currentLine": false,`<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`"hovers": true`<br />&nbsp;&nbsp;&nbsp;&nbsp;`}`<br />`}` | ## Autolink Settings [#](#autolink-settings- 'Autolink Settings') | Name | Description | | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `gitlens.autolinks` | Specifies autolinks to external resources in commit messages. Use `<num>` as the variable for the reference number<br /><br />Example to autolink Jira issues: (e.g. `JIRA-123 ⟶ https://jira.company.com/issue?query=123`)<br />`"gitlens.autolinks": [{ "prefix": "JIRA-", "url": "https://jira.company.com/issue?query=<num>" }]` | ## Misc Settings [#](#misc-settings- 'Misc Settings') | Name | Description | | ---------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `gitlens.defaultGravatarsStyle` | Specifies the style of the gravatar default (fallback) images<br /><br />`identicon` - a geometric pattern<br />`mp` - a simple, cartoon-style silhouetted outline of a person (does not vary by email hash)<br />`monsterid` - a monster with different colors, faces, etc<br />`retro` - 8-bit arcade-style pixelated faces<br />`robohash` - a robot with different colors, faces, etc<br />`wavatar` - a face with differing features and backgrounds | | `gitlens.liveshare.allowGuestAccess` | Specifies whether to allow guest access to GitLens features when using Visual Studio Live Share | | `gitlens.outputLevel` | Specifies how much (if any) output will be sent to the GitLens output channel | | `gitlens.showWelcomeOnInstall` | Specifies whether to show the Welcome (Quick Setup) experience on first install | | `gitlens.showWhatsNewAfterUpgrades` | Specifies whether to show the What's New notification after upgrading to new feature releases | | `gitlens.sortBranchesBy` | Specifies how branches are sorted in quick pick menus and views | | `gitlens.sortContributorsBy` | Specifies how contributors are sorted in quick pick menus and views | | `gitlens.sortTagsBy` | Specifies how tags are sorted in quick pick menus and views | | `gitlens.advanced.abbreviatedShaLength` | Specifies the length of abbreviated commit SHAs (shas) | | `gitlens.advanced.abbreviateShaOnCopy` | Specifies whether to copy full or abbreviated commit SHAs to the clipboard. Abbreviates to the length of `gitlens.advanced.abbreviatedShaLength`.. | | `gitlens.advanced.blame.customArguments` | Specifies additional arguments to pass to the `git blame` command | | `gitlens.advanced.blame.delayAfterEdit` | Specifies the time (in milliseconds) to wait before re-blaming an unsaved document after an edit. Use 0 to specify an infinite wait | | `gitlens.advanced.blame.sizeThresholdAfterEdit` | Specifies the maximum document size (in lines) allowed to be re-blamed after an edit while still unsaved. Use 0 to specify no maximum | | `gitlens.advanced.caching.enabled` | Specifies whether git output will be cached &mdash; changing the default is not recommended | | `gitlens.advanced.commitOrdering` | Specifies the order by which commits will be shown. If unspecified, commits will be shown in reverse chronological order<br /><br />`date` - shows commits in reverse chronological order of the commit timestamp<br />`author-date` - shows commits in reverse chronological order of the author timestamp<br />`topo` - shows commits in reverse chronological order of the commit timestamp, but avoids intermixing multiple lines of history | | `gitlens.advanced.externalDiffTool` | Specifies an optional external diff tool to use when comparing files. Must be a configured [Git difftool](https://git-scm.com/docs/git-config#Documentation/git-config.txt-difftool). | | `gitlens.advanced.externalDirectoryDiffTool` | Specifies an optional external diff tool to use when comparing directories. Must be a configured [Git difftool](https://git-scm.com/docs/git-config#Documentation/git-config.txt-difftool). | | `gitlens.advanced.fileHistoryFollowsRenames` | Specifies whether file histories will follow renames -- will affect how merge commits are shown in histories | | `gitlens.advanced.fileHistoryShowAllBranches` | Specifies whether file histories will show commits from all branches | | `gitlens.advanced.maxListItems` | Specifies the maximum number of items to show in a list. Use 0 to specify no maximum | | `gitlens.advanced.maxSearchItems` | Specifies the maximum number of items to show in a search. Use 0 to specify no maximum | | `gitlens.advanced.messages` | Specifies which messages should be suppressed | | `gitlens.advanced.quickPick.closeOnFocusOut` | Specifies whether to dismiss quick pick menus when focus is lost (if not, press `ESC` to dismiss) | | `gitlens.advanced.repositorySearchDepth` | Specifies how many folders deep to search for repositories. Defaults to `git.repositoryScanMaxDepth` | | `gitlens.advanced.similarityThreshold` | Specifies the amount (percent) of similarity a deleted and added file pair must have to be considered a rename | | `gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors` | Specifies the string to be shown in place of both the _recent change_ and _authors_ CodeLens when there are unsaved changes | | `gitlens.strings.codeLens.unsavedChanges.recentChangeOnly` | Specifies the string to be shown in place of the _recent change_ CodeLens when there are unsaved changes | | `gitlens.strings.codeLens.unsavedChanges.authorsOnly` | Specifies the string to be shown in place of the _authors_ CodeLens when there are unsaved changes | ## Themable Colors [#](#themable-colors- 'Themable Colors') GitLens defines a set of themable colors which can be provided by vscode themes or directly by the user using [`workbench.colorCustomizations`](https://code.visualstudio.com/docs/getstarted/themes#_customize-a-color-theme). | Name | Description | | ------------------------------------------ | ------------------------------------------------------------------------------------- | | `gitlens.gutterBackgroundColor` | Specifies the background color of the file blame annotations | | `gitlens.gutterForegroundColor` | Specifies the foreground color of the file blame annotations | | `gitlens.gutterUncommittedForegroundColor` | Specifies the foreground color of an uncommitted line in the file blame annotations | | `gitlens.trailingLineBackgroundColor` | Specifies the background color of the trailing blame annotation | | `gitlens.trailingLineForegroundColor` | Specifies the foreground color of the trailing blame annotation | | `gitlens.lineHighlightBackgroundColor` | Specifies the background color of the associated line highlights in blame annotations | | `gitlens.lineHighlightOverviewRulerColor` | Specifies the scroll bar color of the associated line highlights in blame annotations | # Contributors &#x1F64F;&#x2764; A big thanks to the people that have contributed to this project: - Zeeshan Adnan ([@zeeshanadnan](https://github.com/zeeshanadnan)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=zeeshanadnan) - Alex ([@deadmeu](https://github.com/deadmeu)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=deadmeu) - Abdulrahman (Abdu) Assabri ([@abdusabri](https://github.com/abdusabri)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=abdusabri) - Grey Baker ([@greysteil](https://github.com/greysteil)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=greysteil) - Loris Bettazza ([@Pustur](https://github.com/Pustur)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=Pustur) - Brian Bolte ([@bolte-17](https://github.com/bolte-17)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=bolte-17) - Zach Boyle ([@zaboyle](https://github.com/zaboyle)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=zaboyle) - Tony Brix ([@UziTech](https://github.com/UziTech)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=UziTech) - Matt Buckley ([@Mattadore](https://github.com/Mattadore)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=Mattadore) - Lee Chang ([@MeltingMosaic](https://github.com/MeltingMosaic)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=MeltingMosaic) - Amanda Cameron ([@AmandaCameron](https://github.com/AmandaCameron)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=AmandaCameron) - Martin Campbell ([@martin-css](https://github.com/martin-css)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=martin-css) - Brett Cannon ([@brettcannon](https://github.com/brettcannon)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=brettcannon) - Barney Carroll ([@barneycarroll](https://github.com/barneycarroll)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=barneycarroll) - Andrea Cigana ([@ciganandrea](https://github.com/ciganandrea)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=ciganandrea) - Ash Clarke ([@ashclarke](https://github.com/ashclarke)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=ashclarke) - Travis Collins ([@TravisTX](https://github.com/TravisTX)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=TravisTX) - Matt Cooper ([@vtbassmatt](https://github.com/vtbassmatt)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=vtbassmatt) - Andrii Dieiev ([@IllusionMH](https://github.com/IllusionMH)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=IllusionMH) - egfx-notifications ([@egfx-notifications](https://github.com/egfx-notifications)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=egfx-notifications) - Segev Finer ([@segevfiner](https://github.com/segevfiner)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=segevfiner) - Cory Forsyth ([@bantic](https://github.com/bantic)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=bantic) - John Gee ([@shadowspawn](https://github.com/shadowspawn)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=shadowspawn) - Geoffrey ([@g3offrey](https://github.com/g3offrey)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=g3offrey) - Guillaume Rozan ([@grozan](https://github.com/grozan)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=grozan) - Guillem González Vela ([@guillemglez](https://github.com/guillemglez)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=guillemglez) - Vladislav Guleaev ([@vguleaev](https://github.com/vguleaev)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=vguleaev) - Dmitry Gurovich ([@yrtimiD](https://github.com/yrtimiD)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=yrtimiD) - Ken Hom ([@kh0m](https://github.com/kh0m)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=kh0m) - Yukai Huang ([@Yukaii](https://github.com/Yukaii)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=Yukaii) - Justin Hutchings ([@jhutchings1](https://github.com/jhutchings1)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=jhutchings1) - Roy Ivy III ([@rivy](https://github.com/rivy)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=rivy) - Helmut Januschka ([@hjanuschka](https://github.com/hjanuschka)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=hjanuschka) - jogo- ([@jogo-](https://github.com/jogo-)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=jogo-) - Nils K ([@septatrix](https://github.com/septatrix)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=septatrix) - Chris Kaczor ([@ckaczor](https://github.com/ckaczor)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=ckaczor) - Allan Karlson ([@bees4ever](https://github.com/bees4ever)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=bees4ever) - Nafiur Rahman Khadem ([@ShafinKhadem](https://github.com/ShafinKhadem)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=ShafinKhadem) - Mathew King ([@MathewKing](https://github.com/MathewKing)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=MathewKing) - Lior Kletter ([@Git-Lior](https://github.com/Git-Lior)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=Git-Lior) - Chase Knowlden ([@ChaseKnowlden](https://github.com/ChaseKnowlden)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=ChaseKnowlden) - Andrei Korigodski ([@korigod](https://github.com/korigod)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=korigod) - Kwok ([@mankwok](https://github.com/mankwok)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=mankwok) - Marc Lasson ([@mlasson](https://github.com/mlasson)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=mlasson) - John Letey ([@johnletey](https://github.com/johnletey)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=johnletey) - Stanislav Lvovsky ([@slavik-lvovsky](https://github.com/slavik-lvovsky)) &mdash; [contributions]((https://github.com/gitkraken/vscode-gitlens/commits?author=slavik-lvovsky) - Peng Lyu ([@rebornix](https://github.com/rebornix)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=rebornix) - Cédric Malard ([@cmalard](https://github.com/cmalard)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=cmalard) - Asif Kamran Malick ([@akmalick](https://github.com/akmalick)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=akmalick) - Sam Martin ([@smartinio](https://github.com/smartinio)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=smartinio) - mcy-kylin ([@mcy-kylin](https://github.com/mcy-kylin)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=mcy-kylin) - Mark Molinaro ([@markjm](https://github.com/markjm)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=markjm) - Ahmadou Waly Ndiaye ([@sir-kain](https://github.com/sir-kain)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=sir-kain) - Nguyen Long Nhat ([@torn4dom4n](https://github.com/torn4dom4n)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=torn4dom4n) - Dave Nicolson ([@dnicolson](https://github.com/dnicolson)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=dnicolson) - Aurelio Ogliari ([@nobitagit](https://github.com/nobitagit)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=nobitagit) - Raaj Patil ([@arrpee](https://github.com/arrpee)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=arrpee) - Kevin Paxton ([kpaxton](https://github.com/kpaxton)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=kpaxton) - Connor Peet ([@connor4312](https://github.com/connor4312)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=connor4312) - Maxim Pekurin ([@pmaxim25](https://github.com/pmaxim25)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=pmaxim25) - Leo Dan Peña ([@amouxaden](https://github.com/amouxaden)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=amouxaden) - Arunprasad Rajkumar ([@arajkumar](https://github.com/arajkumar)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=arajkumar) - David Rees ([@studgeek](https://github.com/studgeek)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=studgeek) - Rickard ([@rickardp](https://github.com/rickardp)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=rickardp) - Johannes Rieken ([@jrieken](https://github.com/jrieken)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=jrieken) - Guillaume Rozan ([@rozangu1](https://github.com/rozangu1)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=rozangu1) - ryenus ([@ryenus](https://github.com/ryenus)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=ryenus) - Felipe Santos ([@felipecrs](https://github.com/felipecrs)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=felipecrs) - Andrew Savage ([@andrewsavage1](https://github.com/andrewsavage1)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=andrewsavage1) - Zack Schuster ([@zackschuster](https://github.com/zackschuster)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=zackschuster) - Matt Seddon ([@mattseddon](https://github.com/mattseddon)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=mattseddon) - Ahmadali Shafiee ([@ahmadalli](https://github.com/ahmadalli)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=ahmadalli) - Shashank Shastri ([@Shashank-Shastri](https://github.com/Shashank-Shastri)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=Shashank-Shastri) - Skybbles ([@Luxray5474](https://github.com/Luxray5474)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=Luxray5474) - Brendon Smith ([@br3ndonland](https://github.com/br3ndonland)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=br3ndonland) - Ross Smith II ([@rasa](https://github.com/rasa)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=rasa) - Oleg Solomka ([@legomushroom](https://github.com/legomushroom)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=legomushroom) - Miguel Solorio ([@misolori](https://github.com/misolori)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=misolori) - SpaceEEC ([@SpaceEEC](https://github.com/SpaceEEC)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=SpaceEEC) - stampyzfanz ([@stampyzfanz](https://github.com/stampyzfanz)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=stampyzfanz) - sueka ([@sueka](https://github.com/sueka)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=sueka) - Mike Surcouf ([@mikes-gh](https://github.com/mikes-gh)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=mikes-gh) - Alexey Svetliakov ([@asvetliakov](https://github.com/asvetliakov)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=asvetliakov) - Takashi Tamura ([@tamuratak](https://github.com/tamuratak)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=tamuratak) - Andy Tang ([@thewindsofwinter](https://github.com/thewindsofwinter)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=thewindsofwinter) - Dmitry Ulupov ([@dimaulupov](https://github.com/dimaulupov)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=dimaulupov) - Alexey Vasyukov ([@notmedia](https://github.com/notmedia)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=notmedia) - Ivan Volzhev ([@ivolzhevbt](https://github.com/ivolzhevbt)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=ivolzhevbt) - x13machine ([@x13machine](https://github.com/x13machine)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=x13machine) - Alwin Wang ([@alwinw](https://github.com/alwinw)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=alwinw) - Ian Wilkinson ([@sgtwilko](https://github.com/sgtwilko)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=sgtwilko) - Brian Williams ([@Brcrwilliams](https://github.com/Brcrwilliams)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=Brcrwilliams) - Adaex Yang ([@adaex](https://github.com/adaex)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=adaex) - Yan Zhang ([@Eskibear](https://github.com/Eskibear)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=Eskibear) - Zyck ([@qzyse2017](https://github.com/qzyse2017)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=qzyse2017) - Yonatan Greenfeld ([@YonatanGreenfeld](https://github.com/YonatanGreenfeld)) &mdash; [contributions](https://github.com/gitkraken/vscode-gitlens/commits?author=YonatanGreenfeld) Also special thanks to the people that have provided support, testing, brainstorming, etc: - Brian Canzanella ([@bcanzanella](https://github.com/bcanzanella)) - Matt King ([@KattMingMing](https://github.com/KattMingMing)) And of course the awesome [vscode](https://github.com/Microsoft/vscode/graphs/contributors) team! # License This repository contains both OSS-licensed and non-OSS-licensed files. All files in or under any directory named "plus" fall under LICENSE.plus. The remaining files fall under the MIT license.
3,154
Dockerized GitLab
# sameersbn/gitlab:15.8.1 [![CircleCI](https://circleci.com/gh/sameersbn/docker-gitlab/tree/master.svg?style=svg)](https://circleci.com/gh/sameersbn/docker-gitlab/tree/master) - [Introduction](#introduction) - [Changelog](Changelog.md) - [Contributing](#contributing) - [Team](#team) - [Issues](#issues) - [Announcements](https://github.com/sameersbn/docker-gitlab/issues/39) - [Prerequisites](#prerequisites) - [Installation](#installation) - [Quick Start](#quick-start) - [Configuration](#configuration) - [Data Store](#data-store) - [Database](#database) - [PostgreSQL (Recommended)](#postgresql) - [External PostgreSQL Server](#external-postgresql-server) - [Linking to PostgreSQL Container](#linking-to-postgresql-container) - [Upgrading PostgreSQL](#upgrading-postgresql) - [Redis](#redis) - [Internal Redis Server](#internal-redis-server) - [External Redis Server](#external-redis-server) - [Linking to Redis Container](#linking-to-redis-container) - [Mail](#mail) - [Reply by email](#reply-by-email) - [SSL](#ssl) - [Generation of a Self Signed Certificate](#generation-of-a-self-signed-certificate) - [Strengthening the server security](#strengthening-the-server-security) - [Installation of the SSL Certificates](#installation-of-the-ssl-certificates) - [Enabling HTTPS support](#enabling-https-support) - [Configuring HSTS](#configuring-hsts) - [Using HTTPS with a load balancer](#using-https-with-a-load-balancer) - [Establishing trust with your server](#establishing-trust-with-your-server) - [Installing Trusted SSL Server Certificates](#installing-trusted-ssl-server-certificates) - [Deploy to a subdirectory (relative url root)](#deploy-to-a-subdirectory-relative-url-root) - [OmniAuth Integration](#omniauth-integration) - [CAS3](#cas3) - [Authentiq](#authentiq) - [Google](#google) - [Twitter](#twitter) - [GitHub](#github) - [GitLab](#gitlab) - [BitBucket](#bitbucket) - [SAML](#saml) - [Crowd](#crowd) - [Microsoft Azure](#microsoft-azure) - [Generic OAuth2](#Generic-OAuth2) - [Gitlab Pages](#gitlab-pages) - [External Issue Trackers](#external-issue-trackers) - [Host UID / GID Mapping](#host-uid--gid-mapping) - [Piwik](#piwik) - [Exposing ssh port in dockerized gitlab-ce](docs/exposing-ssh-port.md) - [Available Configuration Parameters](#available-configuration-parameters) - [Maintenance](#maintenance) - [Creating Backups](#creating-backups) - [Restoring Backups](#restoring-backups) - [Automated Backups](#automated-backups) - [Amazon Web Services (AWS) Remote Backups](#amazon-web-services-aws-remote-backups) - [Google Cloud Storage (GCS) Remote Backups](#google-cloud-storage-gcs-remote-backup) - [Rake Tasks](#rake-tasks) - [Import Repositories](#import-repositories) - [Upgrading](#upgrading) - [Shell Access](#shell-access) - [Monitoring](#monitoring) - [Health Check](#health-check) - [Container Registry](docs/container_registry.md) - [Deploy in Docker Swarm mode, with HTTPS handled by Traefik proxy and Docker Registry](docs/docker-swarm-traefik-registry.md) - [References](#references) ## Introduction Dockerfile to build a [GitLab](https://about.gitlab.com/) image for the [Docker](https://www.docker.com/products/docker-engine) opensource container platform. GitLab CE is set up in the Docker image using the [install from source](https://docs.gitlab.com/ce/install/installation.html) method as documented in the the official GitLab documentation. For other methods to install GitLab please refer to the [Official GitLab Installation Guide](https://about.gitlab.com/install/) which includes a [GitLab image for Docker](https://docs.gitlab.com/omnibus/docker/). ## Contributing If you find this image useful here's how you can help: - Send a Pull Request with your awesome new features and bug fixes - Be a part of the community and help resolve [Issues](https://github.com/sameersbn/docker-gitlab/issues) - Support the development of this image with a [donation](http://www.damagehead.com/donate/) ## Team - Niclas Mietz ([solidnerd](https://github.com/solidnerd)) - Sameer Naik ([sameersbn](https://github.com/sameersbn)) See [Contributors](../../graphs/contributors) for the complete list developers that have contributed to this project. ## Issues Docker is a relatively new project and is active being developed and tested by a thriving community of developers and testers and every release of docker features many enhancements and bugfixes. Given the nature of the development and release cycle it is very important that you have the latest version of docker installed because any issue that you encounter might have already been fixed with a newer docker release. Install the most recent version of the Docker Engine for your platform using the [official Docker releases](http://docs.docker.com/engine/installation/), which can also be installed using: ```bash wget -qO- https://get.docker.com/ | sh ``` Fedora and RHEL/CentOS users should try disabling selinux with `setenforce 0` and check if resolves the issue. If it does than there is not much that I can help you with. You can either stick with selinux disabled (not recommended by redhat) or switch to using ubuntu. You may also set `DEBUG=true` to enable debugging of the entrypoint script, which could help you pin point any configuration issues. If using the latest docker version and/or disabling selinux does not fix the issue then please file a issue request on the [issues](https://github.com/sameersbn/docker-gitlab/issues) page. In your issue report please make sure you provide the following information: - The host distribution and release version. - Output of the `docker version` command - Output of the `docker info` command - The `docker run` command you used to run the image (mask out the sensitive bits). ## Prerequisites Your docker host needs to have 1GB or more of available RAM to run GitLab. Please refer to the GitLab [hardware requirements](https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/requirements.md#hardware-requirements) documentation for additional information. ## Installation Automated builds of the image are available on [Dockerhub](https://hub.docker.com/r/sameersbn/gitlab) and is the recommended method of installation. ```bash docker pull sameersbn/gitlab:15.8.1 ``` You can also pull the `latest` tag which is built from the repository *HEAD* ```bash docker pull sameersbn/gitlab:latest ``` Alternatively you can build the image locally. ```bash docker build -t sameersbn/gitlab github.com/sameersbn/docker-gitlab ``` ## Quick Start The quickest way to get started is using [docker-compose](https://docs.docker.com/compose/). ```bash wget https://raw.githubusercontent.com/sameersbn/docker-gitlab/master/docker-compose.yml ``` Generate random strings that are at least `64` characters long for each of `GITLAB_SECRETS_OTP_KEY_BASE`, `GITLAB_SECRETS_DB_KEY_BASE`, and `GITLAB_SECRETS_SECRET_KEY_BASE`. These values are used for the following: - `GITLAB_SECRETS_OTP_KEY_BASE` is used to encrypt 2FA secrets in the database. If you lose or rotate this secret, none of your users will be able to log in using 2FA. - `GITLAB_SECRETS_DB_KEY_BASE` is used to encrypt CI secret variables, as well as import credentials, in the database. If you lose or rotate this secret, you will not be able to use existing CI secrets. - `GITLAB_SECRETS_SECRET_KEY_BASE` is used for password reset links, and other 'standard' auth features. If you lose or rotate this secret, password reset tokens in emails will reset. > **Tip**: You can generate a random string using `pwgen -Bsv1 64` and assign it as the value of `GITLAB_SECRETS_DB_KEY_BASE`. Start GitLab using: ```bash docker-compose up ``` Alternatively, you can manually launch the `gitlab` container and the supporting `postgresql` and `redis` containers by following this three step guide. Step 1. Launch a postgresql container ```bash docker run --name gitlab-postgresql -d \ --env 'DB_NAME=gitlabhq_production' \ --env 'DB_USER=gitlab' --env 'DB_PASS=password' \ --env 'DB_EXTENSION=pg_trgm,btree_gist' \ --volume /srv/docker/gitlab/postgresql:/var/lib/postgresql \ sameersbn/postgresql:12-20200524 ``` Step 2. Launch a redis container ```bash docker run --name gitlab-redis -d \ --volume /srv/docker/gitlab/redis:/data \ redis:6.2 ``` Step 3. Launch the gitlab container ```bash docker run --name gitlab -d \ --link gitlab-postgresql:postgresql --link gitlab-redis:redisio \ --publish 10022:22 --publish 10080:80 \ --env 'GITLAB_PORT=10080' --env 'GITLAB_SSH_PORT=10022' \ --env 'GITLAB_SECRETS_DB_KEY_BASE=long-and-random-alpha-numeric-string' \ --env 'GITLAB_SECRETS_SECRET_KEY_BASE=long-and-random-alpha-numeric-string' \ --env 'GITLAB_SECRETS_OTP_KEY_BASE=long-and-random-alpha-numeric-string' \ --volume /srv/docker/gitlab/gitlab:/home/git/data \ sameersbn/gitlab:15.8.1 ``` *Please refer to [Available Configuration Parameters](#available-configuration-parameters) to understand `GITLAB_PORT` and other configuration options* **NOTE**: Please allow a couple of minutes for the GitLab application to start. Point your browser to `http://localhost:10080` and set a password for the `root` user account. You should now have the GitLab application up and ready for testing. If you want to use this image in production then please read on. *The rest of the document will use the docker command line. You can quite simply adapt your configuration into a `docker-compose.yml` file if you wish to do so.* ## Configuration ### Data Store GitLab is a code hosting software and as such you don't want to lose your code when the docker container is stopped/deleted. To avoid losing any data, you should mount a volume at, - `/home/git/data` *Note: that if you are using the `docker-compose` approach, you must "inspect" the volumes (```docker volume inspect```) to check the mounted path.* SELinux users are also required to change the security context of the mount point so that it plays nicely with selinux. ```bash mkdir -p /srv/docker/gitlab/gitlab sudo chcon -Rt svirt_sandbox_file_t /srv/docker/gitlab/gitlab ``` Volumes can be mounted in docker by specifying the `-v` option in the docker run command. ```bash docker run --name gitlab -d \ --volume /srv/docker/gitlab/gitlab:/home/git/data \ sameersbn/gitlab:15.8.1 ``` ### Database GitLab uses a database backend to store its data. You can configure this image to use PostgreSQL. *Note:* GitLab requieres PostgreSQL now. So use an older image < 12.1 or migrate to PostgresSQL #### PostgreSQL *NOTE:* version 13.7.0 and later requires PostgreSQL version 12.x ##### External PostgreSQL Server The image also supports using an external PostgreSQL Server. This is also controlled via environment variables. ```sql CREATE ROLE gitlab with LOGIN CREATEDB PASSWORD 'password'; CREATE DATABASE gitlabhq_production; GRANT ALL PRIVILEGES ON DATABASE gitlabhq_production to gitlab; ``` Additionally since GitLab `8.6.0` the `pg_trgm` extension should also be loaded for the `gitlabhq_production` database. We are now ready to start the GitLab application. *Note:* The following applies assuming that the PostgreSQL server host is `192.168.1.100`. ```bash docker run --name gitlab -d \ --env 'DB_HOST=192.168.1.100' \ --env 'DB_NAME=gitlabhq_production' \ --env 'DB_USER=gitlab' --env 'DB_PASS=password' \ --volume /srv/docker/gitlab/gitlab:/home/git/data \ sameersbn/gitlab:15.8.1 ``` ##### Linking to PostgreSQL Container You can link this image with a postgresql container for the database requirements. The alias of the postgresql server container should be set to **postgresql** while linking with the gitlab image. If a postgresql container is linked, only the `DB_HOST` and `DB_PORT` settings are automatically retrieved using the linkage. You may still need to set other database connection parameters such as the `DB_NAME`, `DB_USER`, `DB_PASS` and so on. To illustrate linking with a postgresql container, we will use the [sameersbn/postgresql](https://github.com/sameersbn/docker-postgresql) image. When using postgresql image in production you should mount a volume for the postgresql data store. Please refer the [README](https://github.com/sameersbn/docker-postgresql/blob/master/README.md) of docker-postgresql for details. First, lets pull the postgresql image from the docker index. ```bash docker pull sameersbn/postgresql:12-20200524 ``` For data persistence lets create a store for the postgresql and start the container. SELinux users are also required to change the security context of the mount point so that it plays nicely with selinux. ```bash mkdir -p /srv/docker/gitlab/postgresql sudo chcon -Rt svirt_sandbox_file_t /srv/docker/gitlab/postgresql ``` The run command looks like this. ```bash docker run --name gitlab-postgresql -d \ --env 'DB_NAME=gitlabhq_production' \ --env 'DB_USER=gitlab' --env 'DB_PASS=password' \ --env 'DB_EXTENSION=pg_trgm' \ --volume /srv/docker/gitlab/postgresql:/var/lib/postgresql \ sameersbn/postgresql:12-20200524 ``` The above command will create a database named `gitlabhq_production` and also create a user named `gitlab` with the password `password` with access to the `gitlabhq_production` database. We are now ready to start the GitLab application. ```bash docker run --name gitlab -d --link gitlab-postgresql:postgresql \ --volume /srv/docker/gitlab/gitlab:/home/git/data \ sameersbn/gitlab:15.8.1 ``` Here the image will also automatically fetch the `DB_NAME`, `DB_USER` and `DB_PASS` variables from the postgresql container as they are specified in the `docker run` command for the postgresql container. This is made possible using the magic of docker links and works with the following images: - [postgres](https://hub.docker.com/_/postgres/) - [sameersbn/postgresql](https://quay.io/repository/sameersbn/postgresql/) - [orchardup/postgresql](https://hub.docker.com/r/orchardup/postgresql/) - [paintedfox/postgresql](https://hub.docker.com/r/paintedfox/postgresql/) ##### Upgrading PostgreSQL When this Gitlab image upgrades its dependency on specific version of PostgreSQL you will need to make sure to use corresponding version of PostgreSQL. If you are setting a brand new install, there is no data migration involved. However, if you already have an existing setup, the PostgreSQL data will need to be migrated as you are upgrading the version of PostgreSQL. If you are using PostgreSQL image other than [sameersbn/postgresql](https://quay.io/repository/sameersbn/postgresql/) you will need make sure that the image you are using can handle migration itself, **or**, you will need to migrate the data yourself before starting newer version of PostgreSQL. Following project provides Docker image that handles migration of PostgreSQL data: [tianon/postgres-upgrade](https://hub.docker.com/r/tianon/postgres-upgrade/) After migration of the data, verify that other PostgreSQL configuration files in its data folder are copied over as well. One such file is `pg_hba.conf`, it will need to be copied from old version data folder into new version data folder. ### Redis GitLab uses the redis server for its key-value data store. The redis server connection details can be specified using environment variables. #### Internal Redis Server The internal redis server has been removed from the image. Please use a [linked redis](#linking-to-redis-container) container or specify a [external redis](#external-redis-server) connection. #### External Redis Server The image can be configured to use an external redis server. The configuration should be specified using environment variables while starting the GitLab image. *Note:* The following applies assuming that the redis server host is `192.168.1.100`. ```bash docker run --name gitlab -it --rm \ --env 'REDIS_HOST=192.168.1.100' --env 'REDIS_PORT=6379' \ sameersbn/gitlab:15.8.1 ``` #### Linking to Redis Container You can link this image with a redis container to satisfy gitlab's redis requirement. The alias of the redis server container should be set to **redisio** while linking with the gitlab image. To illustrate linking with a redis container, we will use the [redis](https://github.com/docker-library/redis) image. Please refer the [README](https://github.com/docker-library/docs/blob/master/redis/README.md) for details. First, lets pull the redis image from the docker index. ```bash docker pull redis:6.2 ``` Lets start the redis container ```bash docker run --name gitlab-redis -d \ --volume /srv/docker/gitlab/redis:/data \ redis:6.2 ``` We are now ready to start the GitLab application. ```bash docker run --name gitlab -d --link gitlab-redis:redisio \ sameersbn/gitlab:15.8.1 ``` #### Mail The mail configuration should be specified using environment variables while starting the GitLab image. The configuration defaults to using gmail to send emails and requires the specification of a valid username and password to login to the gmail servers. If you are using Gmail then all you need to do is: ```bash docker run --name gitlab -d \ --env '[email protected]' --env 'SMTP_PASS=PASSWORD' \ --volume /srv/docker/gitlab/gitlab:/home/git/data \ sameersbn/gitlab:15.8.1 ``` Please refer the [Available Configuration Parameters](#available-configuration-parameters) section for the list of SMTP parameters that can be specified. ##### Reply by email Since version `8.0.0` GitLab adds support for commenting on issues by replying to emails. To enable this feature you need to provide IMAP configuration parameters that will allow GitLab to connect to your mail server and read mails. Additionally, you may need to specify `GITLAB_INCOMING_EMAIL_ADDRESS` if your incoming email address is not the same as the `IMAP_USER`. If your email provider supports email [sub-addressing](https://en.wikipedia.org/wiki/Email_address#Sub-addressing) then you should add the `+%{key}` placeholder after the user part of the email address, eg. `GITLAB_INCOMING_EMAIL_ADDRESS=reply+%{key}@example.com`. Please read the [documentation on reply by email](http://doc.gitlab.com/ce/incoming_email/README.html) to understand the requirements for this feature. If you are using Gmail then all you need to do is: ```bash docker run --name gitlab -d \ --env '[email protected]' --env 'IMAP_PASS=PASSWORD' \ --env 'GITLAB_INCOMING_EMAIL_ADDRESS=USER+%{key}@gmail.com' \ --volume /srv/docker/gitlab/gitlab:/home/git/data \ sameersbn/gitlab:15.8.1 ``` Please refer the [Available Configuration Parameters](#available-configuration-parameters) section for the list of IMAP parameters that can be specified. #### SSL Access to the gitlab application can be secured using SSL so as to prevent unauthorized access to the data in your repositories. While a CA certified SSL certificate allows for verification of trust via the CA, a self signed certificate can also provide an equal level of trust verification as long as each client takes some additional steps to verify the identity of your website. I will provide instructions on achieving this towards the end of this section. Jump to the [Using HTTPS with a load balancer](#using-https-with-a-load-balancer) section if you are using a load balancer such as hipache, haproxy or nginx. To secure your application via SSL you basically need two things: - **Private key (.key)** - **SSL certificate (.crt)** When using CA certified certificates, these files are provided to you by the CA. When using self-signed certificates you need to generate these files yourself. Skip to [Strengthening the server security](#strengthening-the-server-security) section if you are armed with CA certified SSL certificates. ##### Generation of a Self Signed Certificate Generation of a self-signed SSL certificate involves a simple 3-step procedure: **STEP 1**: Create the server private key ```bash openssl genrsa -out gitlab.key 2048 ``` **STEP 2**: Create the certificate signing request (CSR) ```bash openssl req -new -key gitlab.key -out gitlab.csr ``` **STEP 3**: Sign the certificate using the private key and CSR ```bash openssl x509 -req -days 3650 -in gitlab.csr -signkey gitlab.key -out gitlab.crt ``` Congratulations! You now have a self-signed SSL certificate valid for 10 years. ##### Strengthening the server security This section provides you with instructions to [strengthen your server security](https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx.html). To achieve this we need to generate stronger DHE parameters. ```bash openssl dhparam -out dhparam.pem 2048 ``` ##### Installation of the SSL Certificates Out of the four files generated above, we need to install the `gitlab.key`, `gitlab.crt` and `dhparam.pem` files at the gitlab server. The CSR file is not needed, but do make sure you safely backup the file (in case you ever need it again). The default path that the gitlab application is configured to look for the SSL certificates is at `/home/git/data/certs`, this can however be changed using the `SSL_KEY_PATH`, `SSL_CERTIFICATE_PATH` and `SSL_DHPARAM_PATH` configuration options. If you remember from above, the `/home/git/data` path is the path of the [data store](#data-store), which means that we have to create a folder named `certs/` inside the volume to where `/home/git/data` point and copy the files into it and as a measure of security we'll update the permission on the `gitlab.key` file to only be readable by the owner. In case use of docker-compose ... ```$>docker volume inspect``` look for "< user >_gitlab-data" and copy the "certs" directory into the "Mountpoint" ```bash mkdir -p /srv/docker/gitlab/gitlab/certs cp gitlab.key /srv/docker/gitlab/gitlab/certs/ cp gitlab.crt /srv/docker/gitlab/gitlab/certs/ cp dhparam.pem /srv/docker/gitlab/gitlab/certs/ chmod 400 /srv/docker/gitlab/gitlab/certs/gitlab.key ``` Great! we are now just one step away from having our application secured. ##### Enabling HTTPS support HTTPS support can be enabled by setting the `GITLAB_HTTPS` option to `true`. Additionally, when using self-signed SSL certificates you need to the set `SSL_SELF_SIGNED` option to `true` as well. Assuming we are using self-signed certificates ```bash docker run --name gitlab -d \ --publish 10022:22 --publish 10080:80 --publish 10443:443 \ --env 'GITLAB_SSH_PORT=10022' --env 'GITLAB_PORT=10443' \ --env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \ --volume /srv/docker/gitlab/gitlab:/home/git/data \ sameersbn/gitlab:15.8.1 ``` In this configuration, any requests made over the plain http protocol will automatically be redirected to use the https protocol. However, this is not optimal when using a load balancer. ##### Configuring HSTS HSTS if supported by the browsers makes sure that your users will only reach your sever via HTTPS. When the user comes for the first time it sees a header from the server which states for how long from now this site should only be reachable via HTTPS - that's the HSTS max-age value. With `NGINX_HSTS_MAXAGE` you can configure that value. The default value is `31536000` seconds. If you want to disable a already sent HSTS MAXAGE value, set it to `0`. ```bash docker run --name gitlab -d \ --env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \ --env 'NGINX_HSTS_MAXAGE=2592000' \ --volume /srv/docker/gitlab/gitlab:/home/git/data \ sameersbn/gitlab:15.8.1 ``` If you want to completely disable HSTS set `NGINX_HSTS_ENABLED` to `false`. ##### Using HTTPS with a load balancer Load balancers like nginx/haproxy/hipache talk to backend applications over plain http and as such the installation of ssl keys and certificates are not required and should **NOT** be installed in the container. The SSL configuration has to instead be done at the load balancer. However, when using a load balancer you **MUST** set `GITLAB_HTTPS` to `true`. Additionally you will need to set the `SSL_SELF_SIGNED` option to `true` if self signed SSL certificates are in use. With this in place, you should configure the load balancer to support handling of https requests. But that is out of the scope of this document. Please refer to [Using SSL/HTTPS with HAProxy](http://seanmcgary.com/posts/using-sslhttps-with-haproxy) for information on the subject. When using a load balancer, you probably want to make sure the load balancer performs the automatic http to https redirection. Information on this can also be found in the link above. In summation, when using a load balancer, the docker command would look for the most part something like this: ```bash docker run --name gitlab -d \ --publish 10022:22 --publish 10080:80 \ --env 'GITLAB_SSH_PORT=10022' --env 'GITLAB_PORT=443' \ --env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \ --volume /srv/docker/gitlab/gitlab:/home/git/data \ sameersbn/gitlab:15.8.1 ``` Again, drop the `--env 'SSL_SELF_SIGNED=true'` option if you are using CA certified SSL certificates. In case GitLab responds to any kind of POST request (login, OAUTH, changing settings etc.) with a 422 HTTP Error, consider adding this to your reverse proxy configuration: `proxy_set_header X-Forwarded-Ssl on;` (nginx format) ##### Establishing trust with your server This section deals will self-signed ssl certificates. If you are using CA certified certificates, your done. This section is more of a client side configuration so as to add a level of confidence at the client to be 100 percent sure they are communicating with whom they think they. This is simply done by adding the servers certificate into their list of trusted certificates. On ubuntu, this is done by copying the `gitlab.crt` file to `/usr/local/share/ca-certificates/` and executing `update-ca-certificates`. Again, this is a client side configuration which means that everyone who is going to communicate with the server should perform this configuration on their machine. In short, distribute the `gitlab.crt` file among your developers and ask them to add it to their list of trusted ssl certificates. Failure to do so will result in errors that look like this: ```bash git clone https://git.local.host/gitlab-foss.git fatal: unable to access 'https://git.local.host/gitlab-foss.git': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none ``` You can do the same at the web browser. Instructions for installing the root certificate for firefox can be found [here](http://portal.threatpulse.com/docs/sol/Content/03Solutions/ManagePolicy/SSL/ssl_firefox_cert_ta.htm). You will find similar options chrome, just make sure you install the certificate under the authorities tab of the certificate manager dialog. There you have it, that's all there is to it. ##### Installing Trusted SSL Server Certificates If your GitLab CI server is using self-signed SSL certificates then you should make sure the GitLab CI server certificate is trusted on the GitLab server for them to be able to talk to each other. The default path image is configured to look for the trusted SSL certificates is at `/home/git/data/certs/ca.crt`, this can however be changed using the `SSL_CA_CERTIFICATES_PATH` configuration option. Copy the `ca.crt` file into the certs directory on the [datastore](#data-store). The `ca.crt` file should contain the root certificates of all the servers you want to trust. With respect to GitLab CI, this will be the contents of the gitlab_ci.crt file as described in the [README](https://github.com/sameersbn/docker-gitlab-ci/blob/master/README.md#ssl) of the [docker-gitlab-ci](https://github.com/sameersbn/docker-gitlab-ci) container. By default, our own server certificate [gitlab.crt](#generation-of-self-signed-certificate) is added to the trusted certificates list. #### Deploy to a subdirectory (relative url root) By default GitLab expects that your application is running at the root (eg. /). This section explains how to run your application inside a directory. Let's assume we want to deploy our application to '/git'. GitLab needs to know this directory to generate the appropriate routes. This can be specified using the `GITLAB_RELATIVE_URL_ROOT` configuration option like so: ```bash docker run --name gitlab -it --rm \ --env 'GITLAB_RELATIVE_URL_ROOT=/git' \ --volume /srv/docker/gitlab/gitlab:/home/git/data \ sameersbn/gitlab:15.8.1 ``` GitLab will now be accessible at the `/git` path, e.g. `http://www.example.com/git`. **Note**: *The `GITLAB_RELATIVE_URL_ROOT` parameter should always begin with a slash and* **SHOULD NOT** *have any trailing slashes.* #### OmniAuth Integration GitLab leverages OmniAuth to allow users to sign in using Twitter, GitHub, and other popular services. Configuring OmniAuth does not prevent standard GitLab authentication or LDAP (if configured) from continuing to work. Users can choose to sign in using any of the configured mechanisms. Refer to the GitLab [documentation](http://doc.gitlab.com/ce/integration/omniauth.html) for additional information. ##### CAS3 To enable the CAS OmniAuth provider you must register your application with your CAS instance. This requires the service URL GitLab will supply to CAS. It should be something like: `https://git.example.com:443/users/auth/cas3/callback?url`. By default handling for SLO is enabled, you only need to configure CAS for backchannel logout. For example, if your cas server url is `https://sso.example.com`, then adding `--env 'OAUTH_CAS3_SERVER=https://sso.example.com'` to the docker run command enables support for CAS3 OAuth. Please refer to [Available Configuration Parameters](#available-configuration-parameters) for additional CAS3 configuration parameters. ##### Authentiq To enable the Authentiq OmniAuth provider for passwordless authentication you must register an application with [Authentiq](https://www.authentiq.com/). Please refer to the GitLab [documentation](https://docs.gitlab.com/ce/administration/auth/authentiq.html) for the procedure to generate the client ID and secret key with Authentiq. Once you have the API client id and client secret generated, configure them using the `OAUTH_AUTHENTIQ_CLIENT_ID` and `OAUTH_AUTHENTIQ_CLIENT_SECRET` environment variables respectively. For example, if your API key is `xxx` and the API secret key is `yyy`, then adding `--env 'OAUTH_AUTHENTIQ_CLIENT_ID=xxx' --env 'OAUTH_AUTHENTIQ_CLIENT_SECRET=yyy'` to the docker run command enables support for Authentiq OAuth. You may want to specify `OAUTH_AUTHENTIQ_REDIRECT_URI` as well. The OAuth scope can be altered as well with `OAUTH_AUTHENTIQ_SCOPE` (defaults to `'aq:name email~rs address aq:push'`). ##### Google To enable the Google OAuth2 OmniAuth provider you must register your application with Google. Google will generate a client ID and secret key for you to use. Please refer to the GitLab [documentation](http://doc.gitlab.com/ce/integration/google.html) for the procedure to generate the client ID and secret key with google. Once you have the client ID and secret keys generated, configure them using the `OAUTH_GOOGLE_API_KEY` and `OAUTH_GOOGLE_APP_SECRET` environment variables respectively. For example, if your client ID is `xxx.apps.googleusercontent.com` and client secret key is `yyy`, then adding `--env 'OAUTH_GOOGLE_API_KEY=xxx.apps.googleusercontent.com' --env 'OAUTH_GOOGLE_APP_SECRET=yyy'` to the docker run command enables support for Google OAuth. You can also restrict logins to a single domain by adding `--env "OAUTH_GOOGLE_RESTRICT_DOMAIN='example.com'"`. ##### Facebook To enable the Facebook OAuth2 OmniAuth provider you must register your application with Facebook. Facebook will generate a API key and secret for you to use. Please refer to the GitLab [documentation](http://doc.gitlab.com/ce/integration/facebook.html) for the procedure to generate the API key and secret. Once you have the API key and secret generated, configure them using the `OAUTH_FACEBOOK_API_KEY` and `OAUTH_FACEBOOK_APP_SECRET` environment variables respectively. For example, if your API key is `xxx` and the API secret key is `yyy`, then adding `--env 'OAUTH_FACEBOOK_API_KEY=xxx' --env 'OAUTH_FACEBOOK_APP_SECRET=yyy'` to the docker run command enables support for Facebook OAuth. ##### Twitter To enable the Twitter OAuth2 OmniAuth provider you must register your application with Twitter. Twitter will generate a API key and secret for you to use. Please refer to the GitLab [documentation](http://doc.gitlab.com/ce/integration/twitter.html) for the procedure to generate the API key and secret with twitter. Once you have the API key and secret generated, configure them using the `OAUTH_TWITTER_API_KEY` and `OAUTH_TWITTER_APP_SECRET` environment variables respectively. For example, if your API key is `xxx` and the API secret key is `yyy`, then adding `--env 'OAUTH_TWITTER_API_KEY=xxx' --env 'OAUTH_TWITTER_APP_SECRET=yyy'` to the docker run command enables support for Twitter OAuth. ##### GitHub To enable the GitHub OAuth2 OmniAuth provider you must register your application with GitHub. GitHub will generate a Client ID and secret for you to use. Please refer to the GitLab [documentation](http://doc.gitlab.com/ce/integration/github.html) for the procedure to generate the Client ID and secret with github. Once you have the Client ID and secret generated, configure them using the `OAUTH_GITHUB_API_KEY` and `OAUTH_GITHUB_APP_SECRET` environment variables respectively. For example, if your Client ID is `xxx` and the Client secret is `yyy`, then adding `--env 'OAUTH_GITHUB_API_KEY=xxx' --env 'OAUTH_GITHUB_APP_SECRET=yyy'` to the docker run command enables support for GitHub OAuth. Users of GitHub Enterprise may want to specify `OAUTH_GITHUB_URL` and `OAUTH_GITHUB_VERIFY_SSL` as well. ##### GitLab To enable the GitLab OAuth2 OmniAuth provider you must register your application with GitLab. GitLab will generate a Client ID and secret for you to use. Please refer to the GitLab [documentation](http://doc.gitlab.com/ce/integration/gitlab.html) for the procedure to generate the Client ID and secret with GitLab. Once you have the Client ID and secret generated, configure them using the `OAUTH_GITLAB_API_KEY` and `OAUTH_GITLAB_APP_SECRET` environment variables respectively. For example, if your Client ID is `xxx` and the Client secret is `yyy`, then adding `--env 'OAUTH_GITLAB_API_KEY=xxx' --env 'OAUTH_GITLAB_APP_SECRET=yyy'` to the docker run command enables support for GitLab OAuth. ##### BitBucket To enable the BitBucket OAuth2 OmniAuth provider you must register your application with BitBucket. BitBucket will generate a Client ID and secret for you to use. Please refer to the GitLab [documentation](http://doc.gitlab.com/ce/integration/bitbucket.html) for the procedure to generate the Client ID and secret with BitBucket. Once you have the Client ID and secret generated, configure them using the `OAUTH_BITBUCKET_API_KEY` and `OAUTH_BITBUCKET_APP_SECRET` environment variables respectively. For example, if your Client ID is `xxx` and the Client secret is `yyy`, then adding `--env 'OAUTH_BITBUCKET_API_KEY=xxx' --env 'OAUTH_BITBUCKET_APP_SECRET=yyy'` to the docker run command enables support for BitBucket OAuth. ##### SAML GitLab can be configured to act as a SAML 2.0 Service Provider (SP). This allows GitLab to consume assertions from a SAML 2.0 Identity Provider (IdP) such as Microsoft ADFS to authenticate users. Please refer to the GitLab [documentation](http://doc.gitlab.com/ce/integration/saml.html). The following parameters have to be configured to enable SAML OAuth support in this image: `OAUTH_SAML_ASSERTION_CONSUMER_SERVICE_URL`, `OAUTH_SAML_IDP_CERT_FINGERPRINT`, `OAUTH_SAML_IDP_SSO_TARGET_URL`, `OAUTH_SAML_ISSUER` and `OAUTH_SAML_NAME_IDENTIFIER_FORMAT`. You can also override the default "Sign in with" button label with `OAUTH_SAML_LABEL`. Please refer to [Available Configuration Parameters](#available-configuration-parameters) for the default configurations of these parameters. ##### Crowd To enable the Crowd server OAuth2 OmniAuth provider you must register your application with Crowd server. Configure GitLab to enable access the Crowd server by specifying the `OAUTH_CROWD_SERVER_URL`, `OAUTH_CROWD_APP_NAME` and `OAUTH_CROWD_APP_PASSWORD` environment variables. ##### Auth0 To enable the Auth0 OmniAuth provider you must register your application with [auth0](https://auth0.com/). Configure the following environment variables `OAUTH_AUTH0_CLIENT_ID`, `OAUTH_AUTH0_CLIENT_SECRET` and `OAUTH_AUTH0_DOMAIN` to complete the integration. ##### Microsoft Azure To enable the Microsoft Azure OAuth2 OmniAuth provider you must register your application with Azure. Azure will generate a Client ID, Client secret and Tenant ID for you to use. Please refer to the GitLab [documentation](http://doc.gitlab.com/ce/integration/azure.html) for the procedure. Once you have the Client ID, Client secret and Tenant ID generated, configure them using the `OAUTH_AZURE_API_KEY`, `OAUTH_AZURE_API_SECRET` and `OAUTH_AZURE_TENANT_ID` environment variables respectively. For example, if your Client ID is `xxx`, the Client secret is `yyy` and the Tenant ID is `zzz`, then adding `--env 'OAUTH_AZURE_API_KEY=xxx' --env 'OAUTH_AZURE_API_SECRET=yyy' --env 'OAUTH_AZURE_TENANT_ID=zzz'` to the docker run command enables support for Microsoft Azure OAuth. Also you can configure v2 endpoint (`azure_activedirectory_v2`) by using `OAUTH_AZURE_ACTIVEDIRECTORY_V2_CLIENT_ID`, `OAUTH_AZURE_ACTIVEDIRECTORY_V2_CLIENT_SECRET` and `OAUTH_AZURE_ACTIVEDIRECTORY_V2_TENANT_ID` environment variables. Optionally you can change label of login button using the `OAUTH_AZURE_ACTIVEDIRECTORY_V2_LABEL`. ##### Generic OAuth2 To enable the Generic OAuth2 provider, you must register your application with your provider. You also need to confirm OAuth2 provider app's ID and secret, the client options and the user's response structure. As an example this code has been tested with Keycloak, with the following variables: `OAUTH2_GENERIC_APP_ID`, `OAUTH2_GENERIC_APP_SECRET`, `OAUTH2_GENERIC_CLIENT_SITE`, `OAUTH2_GENERIC_CLIENT_USER_INFO_URL`, `OAUTH2_GENERIC_CLIENT_AUTHORIZE_URL`, `OAUTH2_GENERIC_CLIENT_TOKEN_URL`, `OAUTH2_GENERIC_CLIENT_END_SESSION_ENDPOINT`, `OAUTH2_GENERIC_ID_PATH`, `OAUTH2_GENERIC_USER_UID`, `OAUTH2_GENERIC_USER_NAME`, `OAUTH2_GENERIC_USER_EMAIL`, `OAUTH2_GENERIC_NAME`, See [GitLab documentation](https://docs.gitlab.com/ee/integration/oauth2_generic.html#sign-into-gitlab-with-almost-any-oauth2-provider) and [Omniauth-oauth2-generic documentation](https://gitlab.com/satorix/omniauth-oauth2-generic) for more details. #### Gitlab Pages Gitlab Pages allows a user to host static websites from a project. Gitlab pages can be enabled with setting the envrionment variable `GITLAB_PAGES_ENABLED` to `true`. #### Gitlab Pages Access Control Since version `11.5.0` Gitlab pages supports access control. This allows only access to a published website if you are a project member, or have access to a certain project. Gitlab pages access control requires additional configuration before activating it through the variable `GITLAB_PAGES_ACCESS_CONTROL`. Gitab pages access control makes use of the Gitlab OAuth Module. - Goto the Gitlab Admin area - Select `Applications` in the menu - Create `New Application` - Name: `Gitlab Pages` - Scopes: - api - Trusted: NO (Do not select) - Redirect URI: `https://projects.<GITLAB_PAGES_DOMAIN>/auth` Note about the `Redirect URI`; this can be tricky to configure or figure out, What needs to be achieved is to following, the redirect URI needs to end up at the `gitlab-pages` daemon with the `/auth` endpoint. This means that if you run your gitlab pages at domain `pages.example.io` this will be a wilcard domain where your projects are created based on their namespace. The best trick is to enter a NON-Existing gitlab project pages URI as the redirect URI. In the example above; the pages domain `projects` has been chosen. This will cause the nginx, either the built in or your own loadbalancer to redirect `*.<GITLAB_PAGES_DOMAIN>` to the `gitlab-pages` daemon. Which will trigger the pages endpoint. Make sure to choose own which does not exist and make sure that the request is routed to the `gitlab-pages` daemon if you are using your own HTTP load balancer in front of Gitlab. After creating the OAuth application endpoint for the Gitlab Pages Daemon. Gitlab pages access control can now be enabled. Add to following environment variables to your Gitlab Container. | Variable | R/O | Description | |----------|-----|-------------| | GITLAB_PAGES_ACCESS_CONTROL | Required | Set to `true` to enable access control. | | GITLAB_PAGES_ACCESS_SECRET | Optional | Secret Hash, minimal 32 characters, if omitted, it will be auto generated. | | GITLAB_PAGES_ACCESS_CONTROL_SERVER | Required | Gitlab instance URI, example: `https://gitlab.example.io` | | GITLAB_PAGES_ACCESS_CLIENT_ID | Required | Client ID from earlier generated OAuth application | | GITLAB_PAGES_ACCESS_CLIENT_SECRET | Required | Client Secret from earlier genereated OAuth application | | GITLAB_PAGES_ACCESS_REDIRECT_URI | Required | Redirect URI, non existing pages domain to redirect to pages daemon, `https://projects.example.io` | After you have enabled the gitlab pages access control. When you go to a project `General Settings` -> `Permissions` you can choose the pages persmission level for the project. #### External Issue Trackers Since version `7.10.0` support for external issue trackers can be enabled in the "Service Templates" section of the settings panel. If you are using the [docker-redmine](https://github.com/sameersbn/docker-redmine) image, you can *one up* the gitlab integration with redmine by adding `--volumes-from=gitlab` flag to the docker run command while starting the redmine container. By using the above option the `/home/git/data/repositories` directory will be accessible by the redmine container and now you can add your git repository path to your redmine project. If, for example, in your gitlab server you have a project named `opensource/gitlab`, the bare repository will be accessible at `/home/git/data/repositories/opensource/gitlab.git` in the redmine container. #### Host UID / GID Mapping Per default the container is configured to run gitlab as user and group `git` with `uid` and `gid` `1000`. The host possibly uses this ids for different purposes leading to unfavorable effects. From the host it appears as if the mounted data volumes are owned by the host's user/group `1000`. Also the container processes seem to be executed as the host's user/group `1000`. The container can be configured to map the `uid` and `gid` of `git` to different ids on host by passing the environment variables `USERMAP_UID` and `USERMAP_GID`. The following command maps the ids to user and group `git` on the host. ```bash docker run --name gitlab -it --rm [options] \ --env "USERMAP_UID=$(id -u git)" --env "USERMAP_GID=$(id -g git)" \ sameersbn/gitlab:15.8.1 ``` When changing this mapping, all files and directories in the mounted data volume `/home/git/data` have to be re-owned by the new ids. This can be achieved automatically using the following command: ```bash docker run --name gitlab -d [OPTIONS] \ sameersbn/gitlab:15.8.1 app:sanitize ``` #### Piwik If you want to monitor your gitlab instance with [Piwik](http://piwik.org/), there are two options to setup: `PIWIK_URL` and `PIWIK_SITE_ID`. These options should contain something like: - `PIWIK_URL=piwik.example.org` - `PIWIK_SITE_ID=42` #### Available Configuration Parameters *Please refer the docker run command options for the `--env-file` flag where you can specify all required environment variables in a single file. This will save you from writing a potentially long docker run command. Alternatively you can use docker-compose. docker-compose users and Docker Swarm mode users can also use the [secrets and config file options](#docker-secrets-and-configs)* Below is the complete list of available options that can be used to customize your gitlab installation. ##### `DEBUG` Set this to `true` to enable entrypoint debugging. ##### `TZ` Set the container timezone. Defaults to `UTC`. Values are expected to be in Canonical format. Example: `Europe/Amsterdam` See the list of [acceptable values](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). For configuring the timezone of gitlab see variable `GITLAB_TIMEZONE`. ##### `GITLAB_HOST` The hostname of the GitLab server. Defaults to `localhost` ##### `GITLAB_CI_HOST` If you are migrating from GitLab CI use this parameter to configure the redirection to the GitLab service so that your existing runners continue to work without any changes. No defaults. ##### `GITLAB_PORT` The port of the GitLab server. This value indicates the public port on which the GitLab application will be accessible on the network and appropriately configures GitLab to generate the correct urls. It does not affect the port on which the internal nginx server will be listening on. Defaults to `443` if `GITLAB_HTTPS=true`, else defaults to `80`. ##### `GITLAB_SECRETS_DB_KEY_BASE` Encryption key for GitLab CI secret variables, as well as import credentials, in the database. Ensure that your key is at least 32 characters long and that you don't lose it. You can generate one using `pwgen -Bsv1 64`. If you are migrating from GitLab CI, you need to set this value to the value of `GITLAB_CI_SECRETS_DB_KEY_BASE`. No defaults. ##### `GITLAB_SECRETS_SECRET_KEY_BASE` Encryption key for session secrets. Ensure that your key is at least 64 characters long and that you don't lose it. This secret can be rotated with minimal impact - the main effect is that previously-sent password reset emails will no longer work. You can generate one using `pwgen -Bsv1 64`. No defaults. ##### `GITLAB_SECRETS_OTP_KEY_BASE` Encryption key for OTP related stuff with GitLab. Ensure that your key is at least 64 characters long and that you don't lose it. **If you lose or change this secret, 2FA will stop working for all users.** You can generate one using `pwgen -Bsv1 64`. No defaults. ##### `GITLAB_TIMEZONE` Configure the timezone for the gitlab application. This configuration does not effect cron jobs. Defaults to `UTC`. See the list of [acceptable values](http://api.rubyonrails.org/classes/ActiveSupport/TimeZone.html). For settings the container timezone which will effect cron, see variable `TZ` ##### `GITLAB_ROOT_PASSWORD` The password for the root user on firstrun. Defaults to `5iveL!fe`. GitLab requires this to be at least **8 characters long**. ##### `GITLAB_ROOT_EMAIL` The email for the root user on firstrun. Defaults to `[email protected]` ##### `GITLAB_EMAIL` The email address for the GitLab server. Defaults to value of `SMTP_USER`, else defaults to `[email protected]`. ##### `GITLAB_EMAIL_DISPLAY_NAME` The name displayed in emails sent out by the GitLab mailer. Defaults to `GitLab`. ##### `GITLAB_EMAIL_REPLY_TO` The reply-to address of emails sent out by GitLab. Defaults to value of `GITLAB_EMAIL`, else defaults to `[email protected]`. ##### `GITLAB_EMAIL_SUBJECT_SUFFIX` The e-mail subject suffix used in e-mails sent by GitLab. No defaults. ##### `GITLAB_EMAIL_ENABLED` Enable or disable gitlab mailer. Defaults to the `SMTP_ENABLED` configuration. ##### `GITLAB_EMAIL_SMIME_ENABLE` Enable or disable email S/MIME signing. Defaults is `false`. ##### `GITLAB_EMAIL_SMIME_KEY_FILE` Specifies the path to a S/MIME private key file in PEM format, unencrypted. Defaults to ``. ##### `GITLAB_EMAIL_SMIME_CERT_FILE` Specifies the path to a S/MIME public certificate key in PEM format. Defaults to ``. ##### `GITLAB_DEFAULT_THEME` Default theme ID, by default 2. (1 - Indigo, 2 - Dark, 3 - Light, 4 - Blue, 5 - Green, 6 - Light Indigo, 7 - Light Blue, 8 - Light Green, 9 - Red, 10 - Light Red) ##### `GITLAB_ISSUE_CLOSING_PATTERN` Issue closing pattern regex. See [GitLab's documentation](https://docs.gitlab.com/ee/administration/issue_closing_pattern.html) for more detail. Defaults to ` \b((?:[Cc]los(?:e[sd]?|ing)|\b[Ff]ix(?:e[sd]|ing)?|\b[Rr]esolv(?:e[sd]?|ing)|\b[Ii]mplement(?:s|ed|ing)?)(:?) +(?:(?:issues? +)?%{issue_ref}(?:(?:, *| +and +)?)|([A-Z][A-Z0-9_]+-\d+))+) ` . ##### `GITLAB_INCOMING_EMAIL_ADDRESS` The incoming email address for reply by email. Defaults to the value of `IMAP_USER`, else defaults to `[email protected]`. Please read the [reply by email](http://doc.gitlab.com/ce/incoming_email/README.html) documentation to currently set this parameter. ##### `GITLAB_INCOMING_EMAIL_ENABLED` Enable or disable gitlab reply by email feature. Defaults to the value of `IMAP_ENABLED`. ##### `GITLAB_SIGNUP_ENABLED` Enable or disable user signups (first run only). Default is `true`. ##### `GITLAB_IMPERSONATION_ENABLED` Enable or disable impersonation. Defaults to `true`. ##### `GITLAB_PROJECTS_LIMIT` Set default projects limit. Defaults to `100`. ##### `GITLAB_USERNAME_CHANGE` Enable or disable ability for users to change their username. Defaults to `true`. ##### `GITLAB_CREATE_GROUP` Enable or disable ability for users to create groups. Defaults to `true`. ##### `GITLAB_PROJECTS_ISSUES` Set if *issues* feature should be enabled by default for new projects. Defaults to `true`. ##### `GITLAB_PROJECTS_MERGE_REQUESTS` Set if *merge requests* feature should be enabled by default for new projects. Defaults to `true`. ##### `GITLAB_PROJECTS_WIKI` Set if *wiki* feature should be enabled by default for new projects. Defaults to `true`. ##### `GITLAB_PROJECTS_SNIPPETS` Set if *snippets* feature should be enabled by default for new projects. Defaults to `false`. ##### `GITLAB_PROJECTS_BUILDS` Set if *builds* feature should be enabled by default for new projects. Defaults to `true`. ##### `GITLAB_PROJECTS_CONTAINER_REGISTRY` Set if *container_registry* feature should be enabled by default for new projects. Defaults to `true`. ##### `GITLAB_SHELL_CUSTOM_HOOKS_DIR` Global custom hooks directory. Defaults to `/home/git/gitlab-shell/hooks`. ##### `GITLAB_WEBHOOK_TIMEOUT` Sets the timeout for webhooks. Defaults to `10` seconds. ##### `GITLAB_NOTIFY_ON_BROKEN_BUILDS` Enable or disable broken build notification emails. Defaults to `true` ##### `GITLAB_NOTIFY_PUSHER` Add pusher to recipients list of broken build notification emails. Defaults to `false` ##### `GITLAB_REPOS_DIR` The git repositories folder in the container. Defaults to `/home/git/data/repositories` ##### `GITLAB_BACKUP_DIR` The backup folder in the container. Defaults to `/home/git/data/backups` ##### `GITLAB_BACKUP_DIR_CHOWN` Optionally change ownership of backup files on start-up. Defaults to `true` ##### `GITLAB_BACKUP_DIR_GROUP` Optionally group backups into a subfolder. Can also be used to place backups in to a subfolder on remote storage. Not used by default. ##### `GITLAB_BUILDS_DIR` The build traces directory. Defaults to `/home/git/data/builds` ##### `GITLAB_DOWNLOADS_DIR` The repository downloads directory. A temporary zip is created in this directory when users click **Download Zip** on a project. Defaults to `/home/git/data/tmp/downloads`. ##### `GITLAB_SHARED_DIR` The directory to store the build artifacts. Defaults to `/home/git/data/shared` ##### `GITLAB_ARTIFACTS_ENABLED` Enable/Disable GitLab artifacts support. Defaults to `true`. ##### `GITLAB_ARTIFACTS_DIR` Directory to store the artifacts. Defaults to `$GITLAB_SHARED_DIR/artifacts` ##### `AWS_ACCESS_KEY_ID` Default AWS access key to be used for object store. Defaults to `AWS_ACCESS_KEY_ID` ##### `AWS_SECRET_ACCESS_KEY` Default AWS access key to be used for object store. Defaults to `AWS_SECRET_ACCESS_KEY` ##### `AWS_REGION` AWS Region. Defaults to `us-east-1` ##### `AWS_HOST` Configure this for an compatible AWS host like minio. Defaults to `$AWS_HOST`. Defaults to `s3.amazon.com` ##### `AWS_ENDPOINT` AWS Endpoint like `http://127.0.0.1:9000`. Defaults to `nil` ##### `AWS_PATH_STYLE` Changes AWS Path Style to 'host/bucket_name/object' instead of 'bucket_name.host/object'. Defaults to `true` ##### `AWS_SIGNATURE_VERSION` AWS signature version to use. 2 or 4 are valid options. Digital Ocean Spaces and other providers may need 2. Defaults to `4` ##### `GITLAB_OBJECT_STORE_CONNECTION_GOOGLE_PROJECT` Default Google project to use for Object Store. ##### `GITLAB_OBJECT_STORE_CONNECTION_GOOGLE_CLIENT_EMAIL` Default Google service account email to use for Object Store. ##### `GITLAB_OBJECT_STORE_CONNECTION_GOOGLE_JSON_KEY_LOCATION` Default Google key file Defaults to `/gcs/key.json` ##### `GITLAB_OBJECT_STORE_CONNECTION_PROVIDER` Default object store connection provider. Defaults to `AWS` ##### `GITLAB_ARTIFACTS_OBJECT_STORE_ENABLED` Enables Object Store for Artifacts that will be remote stored. Defaults to `false` ##### `GITLAB_ARTIFACTS_OBJECT_STORE_REMOTE_DIRECTORY` Bucket name to store the artifacts. Defaults to `artifacts` ##### `GITLAB_ARTIFACTS_OBJECT_STORE_DIRECT_UPLOAD` Set to true to enable direct upload of Artifacts without the need of local shared storage. Defaults to `false` ##### `GITLAB_ARTIFACTS_OBJECT_STORE_BACKGROUND_UPLOAD` Temporary option to limit automatic upload. Defaults to `false` ##### `GITLAB_ARTIFACTS_OBJECT_STORE_PROXY_DOWNLOAD` Passthrough all downloads via GitLab instead of using Redirects to Object Storage. Defaults to `false` ##### `GITLAB_ARTIFACTS_OBJECT_STORE_CONNECTION_PROVIDER` Connection Provider for the Object Store. (`AWS` or `Google`) Defaults to `$GITLAB_OBJECT_STORE_CONNECTION_PROVIDER` (`AWS`) ##### `GITLAB_ARTIFACTS_OBJECT_STORE_CONNECTION_AWS_ACCESS_KEY_ID` AWS Access Key ID for the Bucket. Defaults to `$AWS_ACCESS_KEY_ID` ##### `GITLAB_ARTIFACTS_OBJECT_STORE_CONNECTION_AWS_SECRET_ACCESS_KEY` AWS Secret Access Key. Defaults to `$AWS_SECRET_ACCESS_KEY` ##### `GITLAB_ARTIFACTS_OBJECT_STORE_CONNECTION_AWS_REGION` AWS Region. Defaults to `$AWS_REGION` ##### `GITLAB_ARTIFACTS_OBJECT_STORE_CONNECTION_AWS_HOST` Configure this for an compatible AWS host like minio. Defaults to `$AWS_HOST` ##### `GITLAB_ARTIFACTS_OBJECT_STORE_CONNECTION_AWS_ENDPOINT` AWS Endpoint like `http://127.0.0.1:9000`. Defaults to `$AWS_ENDPOINT` ##### `GITLAB_ARTIFACTS_OBJECT_STORE_CONNECTION_AWS_PATH_STYLE` Changes AWS Path Style to 'host/bucket_name/object' instead of 'bucket_name.host/object'. Defaults to `$AWS_PATH_STYLE` ##### `GITLAB_ARTIFACTS_OBJECT_STORE_CONNECTION_AWS_SIGNATURE_VERSION` AWS signature version to use. 2 or 4 are valid options. Digital Ocean Spaces and other providers may need 2. Defaults to `$AWS_SIGNATURE_VERSION` ##### `GITLAB_ARTIFACTS_OBJECT_STORE_CONNECTION_GOOGLE_PROJECT` Google project. Defaults to `$GITLAB_OBJECT_STORE_CONNECTION_GOOGLE_PROJECT` ##### `GITLAB_ARTIFACTS_OBJECT_STORE_CONNECTION_GOOGLE_CLIENT_EMAIL` Google service account. Defaults to `$GITLAB_OBJECT_STORE_CONNECTION_GOOGLE_CLIENT_EMAIL` ##### `GITLAB_ARTIFACTS_OBJECT_STORE_CONNECTION_GOOGLE_JSON_KEY_LOCATION` Default Google key file. Defaults to `$GITLAB_OBJECT_STORE_CONNECTION_GOOGLE_JSON_KEY_LOCATION` (`/gcs/key.json`) ##### `GITLAB_PIPELINE_SCHEDULE_WORKER_CRON` Cron notation for the GitLab pipeline schedule worker. Defaults to `'19 * * * *'` ##### `GITLAB_LFS_ENABLED` Enable/Disable Git LFS support. Defaults to `true`. ##### `GITLAB_LFS_OBJECTS_DIR` Directory to store the lfs-objects. Defaults to `$GITLAB_SHARED_DIR/lfs-objects` ##### `GITLAB_LFS_OBJECT_STORE_ENABLED` Enables Object Store for LFS that will be remote stored. Defaults to `false` ##### `GITLAB_LFS_OBJECT_STORE_REMOTE_DIRECTORY` Bucket name to store the LFS. Defaults to `lfs-object` ##### `GITLAB_LFS_OBJECT_STORE_BACKGROUND_UPLOAD` Temporary option to limit automatic upload. Defaults to `false` ##### `GITLAB_LFS_OBJECT_STORE_PROXY_DOWNLOAD` Passthrough all downloads via GitLab instead of using Redirects to Object Storage. Defaults to `false` ##### `GITLAB_LFS_OBJECT_STORE_CONNECTION_PROVIDER` Connection Provider for the Object Store. (`AWS` or `Google`) Defaults to `$GITLAB_OBJECT_STORE_CONNECTION_PROVIDER` (`AWS`) ##### `GITLAB_LFS_OBJECT_STORE_CONNECTION_AWS_ACCESS_KEY_ID` AWS Access Key ID for the Bucket. Defaults to `AWS_ACCESS_KEY_ID` ##### `GITLAB_LFS_OBJECT_STORE_CONNECTION_AWS_SECRET_ACCESS_KEY` AWS Secret Access Key. Defaults to `AWS_SECRET_ACCESS_KEY` ##### `GITLAB_LFS_OBJECT_STORE_CONNECTION_AWS_REGION` AWS Region. Defaults to `$AWS_REGION` ##### `GITLAB_LFS_OBJECT_STORE_CONNECTION_AWS_HOST` Configure this for an compatible AWS host like minio. Defaults to `$AWS_HOST` ##### `GITLAB_LFS_OBJECT_STORE_CONNECTION_AWS_ENDPOINT` AWS Endpoint like `http://127.0.0.1:9000`. Defaults to `$AWS_ENDPOINT` ##### `GITLAB_LFS_OBJECT_STORE_CONNECTION_AWS_PATH_STYLE` Changes AWS Path Style to 'host/bucket_name/object' instead of 'bucket_name.host/object'. Defaults to `$AWS_PATH_STYLE` ##### `GITLAB_LFS_OBJECT_STORE_CONNECTION_AWS_SIGNATURE_VERSION` AWS signature version to use. 2 or 4 are valid options. Digital Ocean Spaces and other providers may need 2. Defaults to `$AWS_SIGNATURE_VERSION` ##### `GITLAB_LFS_OBJECT_STORE_CONNECTION_GOOGLE_PROJECT` Google project. Defaults to `$GITLAB_OBJECT_STORE_CONNECTION_GOOGLE_PROJECT` ##### `GITLAB_LFS_OBJECT_STORE_CONNECTION_GOOGLE_CLIENT_EMAIL` Google service account. Defaults to `$GITLAB_OBJECT_STORE_CONNECTION_GOOGLE_CLIENT_EMAIL` ##### `GITLAB_LFS_OBJECT_STORE_CONNECTION_GOOGLE_JSON_KEY_LOCATION` Default Google key file. Defaults to `$GITLAB_OBJECT_STORE_CONNECTION_GOOGLE_JSON_KEY_LOCATION` (`/gcs/key.json`) ##### `GITLAB_PACKAGES_ENABLED` Enable/Disable Pakages support. Defaults to `true`. ##### `GITLAB_PACKAGES_DIR` Directory to store the packages data. Defaults to `$GITLAB_SHARED_DIR/packages` ##### `GITLAB_PACKAGES_OBJECT_STORE_ENABLED` Enables Object Store for Packages that will be remote stored. Defaults to `false` ##### `GITLAB_PACKAGES_OBJECT_STORE_REMOTE_DIRECTORY` Bucket name to store the packages. Defaults to `packages` ##### `GITLAB_PACKAGES_OBJECT_STORE_DIRECT_UPLOAD` Set to true to enable direct upload of Packages without the need of local shared storage. Defaults to `false` ##### `GITLAB_PACKAGES_OBJECT_STORE_BACKGROUND_UPLOAD` Temporary option to limit automatic upload. Defaults to `false` ##### `GITLAB_PACKAGES_OBJECT_STORE_PROXY_DOWNLOAD` Passthrough all downloads via GitLab instead of using Redirects to Object Storage. Defaults to `false` ##### `GITLAB_PACKAGES_OBJECT_STORE_CONNECTION_PROVIDER` Connection Provider for the Object Store. (`AWS` or `Google`) Defaults to `$GITLAB_OBJECT_STORE_CONNECTION_PROVIDER` (`AWS`) ##### `GITLAB_PACKAGES_OBJECT_STORE_CONNECTION_AWS_ACCESS_KEY_ID` AWS Access Key ID for the Bucket. Defaults to `$AWS_ACCESS_KEY_ID` ##### `GITLAB_PACKAGES_OBJECT_STORE_CONNECTION_AWS_SECRET_ACCESS_KEY` AWS Secret Access Key. Defaults to `$AWS_SECRET_ACCESS_KEY` ##### `GITLAB_PACKAGES_OBJECT_STORE_CONNECTION_AWS_REGION` AWS Region. Defaults to `$AWS_REGION` ##### `GITLAB_PACKAGES_OBJECT_STORE_CONNECTION_AWS_HOST` Configure this for an compatible AWS host like minio. Defaults to `$AWS_HOST` ##### `GITLAB_PACKAGES_OBJECT_STORE_CONNECTION_AWS_ENDPOINT` AWS Endpoint like `http://127.0.0.1:9000`. Defaults to `$AWS_ENDPOINT` ##### `GITLAB_PACKAGES_OBJECT_STORE_CONNECTION_AWS_PATH_STYLE` Changes AWS Path Style to 'host/bucket_name/object' instead of 'bucket_name.host/object'. Defaults to `AWS_PATH_STYLE` ##### `GITLAB_PACKAGES_OBJECT_STORE_CONNECTION_GOOGLE_PROJECT` Google project. Defaults to `$GITLAB_OBJECT_STORE_CONNECTION_GOOGLE_PROJECT` ##### `GITLAB_PACKAGES_OBJECT_STORE_CONNECTION_GOOGLE_CLIENT_EMAIL` Google service account. Defaults to `$GITLAB_OBJECT_STORE_CONNECTION_GOOGLE_CLIENT_EMAIL` ##### `GITLAB_PACKAGES_OBJECT_STORE_CONNECTION_GOOGLE_JSON_KEY_LOCATION` Default Google key file. Defaults to `$GITLAB_OBJECT_STORE_CONNECTION_GOOGLE_JSON_KEY_LOCATION` (`/gcs/key.json`) ##### `GITLAB_TERRAFORM_STATE_ENABLED` Enable/Disable Terraform State support. Defaults to `true`. ##### `GITLAB_TERRAFORM_STATE_STORAGE_PATH` Directory to store the terraform state data. Defaults to `$GITLAB_SHARED_DIR/terraform_state` ##### `GITLAB_TERRAFORM_STATE_OBJECT_STORE_ENABLED` Enables Object Store for Terraform state that will be remote stored. Defaults to `false` ##### `GITLAB_TERRAFORM_STATE_OBJECT_STORE_REMOTE_DIRECTORY` Bucket name to store the Terraform state. Defaults to `terraform_state` ##### `GITLAB_TERRAFORM_STATE_OBJECT_STORE_CONNECTION_PROVIDER` Connection Provider for the Object Store (AWS or Google). Defaults to $GITLAB_OBJECT_STORE_CONNECTION_PROVIDER (i.e. AWS). ##### `GITLAB_TERRAFORM_STATE_OBJECT_STORE_CONNECTION_AWS_ACCESS_KEY_ID` AWS Access Key ID for the Bucket. Defaults to `$AWS_ACCESS_KEY_ID` ##### `GITLAB_TERRAFORM_STATE_OBJECT_STORE_CONNECTION_AWS_SECRET_ACCESS_KEY` AWS Secret Access Key. Defaults to `$AWS_SECRET_ACCESS_KEY` ##### `GITLAB_TERRAFORM_STATE_OBJECT_STORE_CONNECTION_AWS_REGION` AWS Region. Defaults to `$AWS_REGION` ##### `GITLAB_TERRAFORM_STATE_OBJECT_STORE_CONNECTION_AWS_HOST` Configure this for an compatible AWS host like minio. Defaults to `$AWS_HOST` ##### `GITLAB_TERRAFORM_STATE_OBJECT_STORE_CONNECTION_AWS_ENDPOINT` AWS Endpoint like `http://127.0.0.1:9000`. Defaults to `$AWS_ENDPOINT` ##### `GITLAB_TERRAFORM_STATE_OBJECT_STORE_CONNECTION_AWS_PATH_STYLE` Changes AWS Path Style to 'host/bucket_name/object' instead of 'bucket_name.host/object'. Defaults to `AWS_PATH_STYLE` ##### `GITLAB_TERRAFORM_STATE_OBJECT_STORE_CONNECTION_GOOGLE_PROJECT` Google project. Defaults to `$GITLAB_OBJECT_STORE_CONNECTION_GOOGLE_PROJECT` ##### `GITLAB_TERRAFORM_STATE_OBJECT_STORE_CONNECTION_GOOGLE_CLIENT_EMAIL` Google service account. Defaults to `$GITLAB_OBJECT_STORE_CONNECTION_GOOGLE_CLIENT_EMAIL` ##### `GITLAB_TERRAFORM_STATE_OBJECT_STORE_CONNECTION_GOOGLE_JSON_KEY_LOCATION` Default Google key file. Defaults to `$GITLAB_OBJECT_STORE_CONNECTION_GOOGLE_JSON_KEY_LOCATION` (`/gcs/key.json`) ##### `GITLAB_UPLOADS_STORAGE_PATH` The location where uploads objects are stored. Defaults to `$GITLAB_SHARED_DIR/public`. ##### `GITLAB_UPLOADS_BASE_DIR` Mapping for the `GITLAB_UPLOADS_STORAGE_PATH`. Defaults to `uploads/-/system` ##### `GITLAB_UPLOADS_OBJECT_STORE_ENABLED` Enables Object Store for UPLOADS that will be remote stored. Defaults to `false` ##### `GITLAB_UPLOADS_OBJECT_STORE_REMOTE_DIRECTORY` Bucket name to store the UPLOADS. Defaults to `uploads` ##### `GITLAB_UPLOADS_OBJECT_STORE_BACKGROUND_UPLOAD` Temporary option to limit automatic upload. Defaults to `false` ##### `GITLAB_UPLOADS_OBJECT_STORE_PROXY_DOWNLOAD` Passthrough all downloads via GitLab instead of using Redirects to Object Storage. Defaults to `false` ##### `GITLAB_UPLOADS_OBJECT_STORE_CONNECTION_PROVIDER` Connection Provider for the Object Store. (`AWS` or `Google`) Defaults to `$GITLAB_OBJECT_STORE_CONNECTION_PROVIDER` (`AWS`) ##### `GITLAB_UPLOADS_OBJECT_STORE_CONNECTION_AWS_ACCESS_KEY_ID` AWS Access Key ID for the Bucket. Defaults to `AWS_ACCESS_KEY_ID` ##### `GITLAB_UPLOADS_OBJECT_STORE_CONNECTION_AWS_SECRET_ACCESS_KEY` AWS Secret Access Key. Defaults to `AWS_SECRET_ACCESS_KEY` ##### `GITLAB_UPLOADS_OBJECT_STORE_CONNECTION_AWS_REGION` AWS Region. Defaults to `$AWS_REGION` ##### `GITLAB_UPLOADS_OBJECT_STORE_CONNECTION_AWS_HOST` Configure this for an compatible AWS host like minio. Defaults to `$AWS_HOST` ##### `GITLAB_UPLOADS_OBJECT_STORE_CONNECTION_AWS_ENDPOINT` AWS Endpoint like `http://127.0.0.1:9000`. Defaults to `$AWS_ENDPOINT` ##### `GITLAB_UPLOADS_OBJECT_STORE_CONNECTION_AWS_PATH_STYLE` Changes AWS Path Style to 'host/bucket_name/object' instead of 'bucket_name.host/object'. Defaults to `AWS_PATH_STYLE` ##### `GITLAB_UPLOADS_OBJECT_STORE_CONNECTION_GOOGLE_PROJECT` Google project. Defaults to `$GITLAB_OBJECT_STORE_CONNECTION_GOOGLE_PROJECT` ##### `GITLAB_UPLOADS_OBJECT_STORE_CONNECTION_GOOGLE_CLIENT_EMAIL` Google service account. Defaults to `$GITLAB_OBJECT_STORE_CONNECTION_GOOGLE_CLIENT_EMAIL` ##### `GITLAB_UPLOADS_OBJECT_STORE_CONNECTION_GOOGLE_JSON_KEY_LOCATION` Default Google key file. Defaults to `$GITLAB_OBJECT_STORE_CONNECTION_GOOGLE_JSON_KEY_LOCATION` (`/gcs/key.json`) ##### `GITLAB_MATTERMOST_ENABLED` Enable/Disable GitLab Mattermost for *Add Mattermost button*. Defaults to `false`. ##### `GITLAB_MATTERMOST_URL` Sets Mattermost URL. Defaults to `https://mattermost.example.com`. ##### `GITLAB_BACKUP_SCHEDULE` Setup cron job to automatic backups. Possible values `disable`, `daily`, `weekly` or `monthly`. Disabled by default ##### `GITLAB_BACKUP_EXPIRY` Configure how long (in seconds) to keep backups before they are deleted. By default when automated backups are disabled backups are kept forever (0 seconds), else the backups expire in 7 days (604800 seconds). ##### `GITLAB_BACKUP_PG_SCHEMA` Specify the PostgreSQL schema for the backups. No defaults, which means that all schemas will be backed up. see #524 ##### `GITLAB_BACKUP_ARCHIVE_PERMISSIONS` Sets the permissions of the backup archives. Defaults to `0600`. [See](http://doc.gitlab.com/ce/raketasks/backup_restore.html#backup-archive-permissions) ##### `GITLAB_BACKUP_TIME` Set a time for the automatic backups in `HH:MM` format. Defaults to `04:00`. ##### `GITLAB_BACKUP_SKIP` Specified sections are skipped by the backups. Defaults to empty, i.e. `lfs,uploads`. [See](http://doc.gitlab.com/ce/raketasks/backup_restore.html#create-a-backup-of-the-gitlab-system) ##### `GITLAB_SSH_HOST` The ssh host. Defaults to **GITLAB_HOST**. ##### `GITLAB_SSH_LISTEN_PORT` The ssh port for SSHD to listen on. Defaults to `22` ##### `GITLAB_SSH_MAXSTARTUPS` The ssh "MaxStartups" parameter, defaults to `10:30:60`. ##### `GITLAB_SSH_PORT` The ssh port number. Defaults to `$GITLAB_SSH_LISTEN_PORT`. ##### `GITLAB_RELATIVE_URL_ROOT` The relative url of the GitLab server, e.g. `/git`. No default. ##### `GITLAB_TRUSTED_PROXIES` Add IP address reverse proxy to trusted proxy list, otherwise users will appear signed in from that address. Currently only a single entry is permitted. No defaults. ##### `GITLAB_REGISTRY_ENABLED` Enables the GitLab Container Registry. Defaults to `false`. ##### `GITLAB_REGISTRY_HOST` Sets the GitLab Registry Host. Defaults to `registry.example.com` ##### `GITLAB_REGISTRY_PORT` Sets the GitLab Registry Port. Defaults to `443`. ##### `GITLAB_REGISTRY_API_URL` Sets the GitLab Registry API URL. Defaults to `http://localhost:5000` ##### `GITLAB_REGISTRY_KEY_PATH` Sets the GitLab Registry Key Path. Defaults to `config/registry.key` ##### `GITLAB_REGISTRY_DIR` Directory to store the container images will be shared with registry. Defaults to `$GITLAB_SHARED_DIR/registry` ##### `GITLAB_REGISTRY_ISSUER` Sets the GitLab Registry Issuer. Defaults to `gitlab-issuer`. ##### `GITLAB_REGISTRY_GENERATE_INTERNAL_CERTIFICATES` Set to `true` to generate SSL internal Registry keys. Used to communicate between a Docker Registry and GitLab. It will generate a self-signed certificate key at the location given by `$GITLAB_REGISTRY_KEY_PATH`, e.g. `/certs/registry.key`. And will generate the certificate file at the same location, with the same name, but changing the extension from `key` to `crt`, e.g. `/certs/registry.crt` ##### `GITLAB_PAGES_ENABLED` Enables the GitLab Pages. Defaults to `false`. ##### `GITLAB_PAGES_DOMAIN` Sets the GitLab Pages Domain. Defaults to `example.com` ##### `GITLAB_PAGES_DIR` Sets GitLab Pages directory where all pages will be stored. Defaults to `$GITLAB_SHARED_DIR/pages` ##### `GITLAB_PAGES_PORT` Sets GitLab Pages Port that will be used in NGINX. Defaults to `80` ##### `GITLAB_PAGES_HTTPS` Sets GitLab Pages to HTTPS and the gitlab-pages-ssl config will be used. Defaults to `false` ##### `GITLAB_PAGES_ARTIFACTS_SERVER` Set to `true` to enable pages artifactsserver, enabled by default. ##### `GITLAB_PAGES_ARTIFACTS_SERVER_URL` If `GITLAB_PAGES_ARTIFACTS_SERVER` is enabled, set to API endpoint for GitLab Pages (e.g. `https://example.com/api/v4`). No default. ##### `GITLAB_PAGES_EXTERNAL_HTTP` Sets GitLab Pages external http to receive request on an independen port. Disabled by default ##### `GITLAB_PAGES_EXTERNAL_HTTPS` Sets GitLab Pages external https to receive request on an independen port. Disabled by default ##### `GITLAB_PAGES_ACCESS_CONTROL` Set to `true` to enable access control for pages. Allows access to a Pages site to be controlled based on a user’s membership to that project. Disabled by default. ##### `GITLAB_PAGES_NGINX_PROXY` Disable the nginx proxy for gitlab pages, defaults to `true`. When set to `false` this will turn off the nginx proxy to the gitlab pages daemon, used when the user provides their own http load balancer in combination with a gitlab pages custom domain setup. ##### `GITLAB_PAGES_ACCESS_SECRET` Secret Hash, minimal 32 characters, if omitted, it will be auto generated. ##### `GITLAB_PAGES_ACCESS_CONTROL_SERVER` Gitlab instance URI, example: `https://gitlab.example.io` ##### `GITLAB_PAGES_ACCESS_CLIENT_ID` Client ID from earlier generated OAuth application ##### `GITLAB_PAGES_ACCESS_CLIENT_SECRET` Client Secret from earlier genereated OAuth application ##### `GITLAB_PAGES_ACCESS_REDIRECT_URI` Redirect URI, non existing pages domain to redirect to pages daemon, `https://projects.example.io/auth` ##### `GITLAB_HTTPS` Set to `true` to enable https support, disabled by default. ##### `GITALY_CLIENT_PATH` Set default path for gitaly. defaults to `/home/git/gitaly` ##### `GITALY_TOKEN` Set a gitaly token, blank by default. ##### `GITLAB_MONITORING_UNICORN_SAMPLER_INTERVAL` Time between sampling of unicorn socket metrics, in seconds, defaults to `10` ##### `GITLAB_MONITORING_IP_WHITELIST` IP whitelist to access monitoring endpoints, defaults to `0.0.0.0/8` ##### `GITLAB_MONITORING_SIDEKIQ_EXPORTER_ENABLED` Set to `true` to enable the sidekiq exporter, enabled by default. ##### `GITLAB_MONITORING_SIDEKIQ_EXPORTER_ADDRESS` Sidekiq exporter address, defaults to `0.0.0.0` ##### `GITLAB_MONITORING_SIDEKIQ_EXPORTER_PORT` Sidekiq exporter port, defaults to `3807` ##### `GITLAB_CONTENT_SECURITY_POLICY_ENABLED` Set to `true` to enable [Content Security Policy](https://guides.rubyonrails.org/security.html#content-security-policy), enabled by default. ##### `GITLAB_CONTENT_SECURITY_POLICY_REPORT_ONLY` Set to `true` to set `Content-Security-Policy-Report-Only` header, disabled by default ##### `GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_BASE_URI` The value of the `base-uri` directive in the `Content-Security-Policy` header ##### `GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_CHILD_SRC` The value of the `child-src` directive in the `Content-Security-Policy` header ##### `GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_CONNECT_SRC` The value of the `connect-src` directive in the `Content-Security-Policy` header. Default to `'self' http://localhost:* ws://localhost:* wss://localhost:*` ##### `GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_DEFAULT_SRC` The value of the `default-src` directive in the `Content-Security-Policy` header. Default to `'self'` ##### `GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_FONT_SRC` The value of the `font-src` directive in the `Content-Security-Policy` header ##### `GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_FORM_ACTION` The value of the `form-action` directive in the `Content-Security-Policy` header ##### `GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_FRAME_ANCESTORS` The value of the `frame-ancestors` directive in the `Content-Security-Policy` header. Default to `'self'` ##### `GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_FRAME_SRC` The value of the `frame-src` directive in the `Content-Security-Policy` header. Default to `'self' https://www.google.com/recaptcha/ https://www.recaptcha.net/ https://content.googleapis.com https://content-compute.googleapis.com https://content-cloudbilling.googleapis.com https://content-cloudresourcemanager.googleapis.com` ##### `GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_IMG_SRC` The value of the `img-src` directive in the `Content-Security-Policy` header. Default to `* data: blob:` ##### `GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_MANIFEST_SRC` The value of the `manifest-src` directive in the `Content-Security-Policy` header ##### `GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_MEDIA_SRC` The value of the `media-src` directive in the `Content-Security-Policy` header ##### `GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_OBJECT_SRC` The value of the `object-src` directive in the `Content-Security-Policy` header. Default to `'none'` ##### `GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_SCRIPT_SRC` The value of the `script-src` directive in the `Content-Security-Policy` header. Default to `'self' 'unsafe-eval' http://localhost:* https://www.google.com/recaptcha/ https://www.recaptcha.net/ https://www.gstatic.com/recaptcha/ https://apis.google.com` ##### `GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_STYLE_SRC` The value of the `style-src` directive in the `Content-Security-Policy` header. Default to `'self' 'unsafe-inline'` ##### `GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_WORKER_SRC` The value of the `worker-src` directive in the `Content-Security-Policy` header. Default to `'self' blob:` ##### `GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_REPORT_URI` The value of the `report-uri` directive in the `Content-Security-Policy` header ##### `SSL_SELF_SIGNED` Set to `true` when using self signed ssl certificates. `false` by default. ##### `SSL_CERTIFICATE_PATH` Location of the ssl certificate. Defaults to `/home/git/data/certs/gitlab.crt` ##### `SSL_KEY_PATH` Location of the ssl private key. Defaults to `/home/git/data/certs/gitlab.key` ##### `SSL_DHPARAM_PATH` Location of the dhparam file. Defaults to `/home/git/data/certs/dhparam.pem` ##### `SSL_VERIFY_CLIENT` Enable verification of client certificates using the `SSL_CA_CERTIFICATES_PATH` file or setting this variable to `on`. Defaults to `off` ##### `SSL_CA_CERTIFICATES_PATH` List of SSL certificates to trust. Defaults to `/home/git/data/certs/ca.crt`. ##### `SSL_REGISTRY_KEY_PATH` Location of the ssl private key for gitlab container registry. Defaults to `/home/git/data/certs/registry.key` ##### `SSL_REGISTRY_CERT_PATH` Location of the ssl certificate for the gitlab container registry. Defaults to `/home/git/data/certs/registry.crt` ##### `SSL_PAGES_KEY_PATH` Location of the ssl private key for gitlab pages. Defaults to `/home/git/data/certs/pages.key` ##### `SSL_PAGES_CERT_PATH` Location of the ssl certificate for the gitlab pages. Defaults to `/home/git/data/certs/pages.crt` ##### `SSL_CIPHERS` List of supported SSL ciphers: Defaults to `ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:ECDHE-RSA-DES-CBC3-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4` ##### `SSL_PROTOCOLS` List of supported SSL protocols: Defaults to `TLSv1 TLSv1.1 TLSv1.2 TLSv1.3` ##### `SSL_PAGES_CIPHERS` List of supported SSL ciphers for the gitlab pages: Defaults to `SSL_CIPHERS` ##### `SSL_PAGES_PROTOCOLS` List of supported SSL protocols for the gitlab pages: Defaults to `SSL_PROTOCOLS` ##### `SSL_REGISTRY_CIPHERS` List of supported SSL ciphers for gitlab container registry: Defaults to `SSL_CIPHERS` ##### `SSL_REGISTRY_PROTOCOLS` List of supported SSL protocols for gitlab container registry: Defaults to `SSL_PROTOCOLS` ##### `NGINX_WORKERS` The number of nginx workers to start. Defaults to `1`. ##### `NGINX_SERVER_NAMES_HASH_BUCKET_SIZE` Sets the bucket size for the server names hash tables. This is needed when you have long server_names or your an error message from nginx like *nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size:..*. It should be only increment by a power of 2. Defaults to `32`. ##### `NGINX_HSTS_ENABLED` Advanced configuration option for turning off the HSTS configuration. Applicable only when SSL is in use. Defaults to `true`. See [#138](https://github.com/sameersbn/docker-gitlab/issues/138) for use case scenario. ##### `NGINX_HSTS_MAXAGE` Advanced configuration option for setting the HSTS max-age in the gitlab nginx vHost configuration. Applicable only when SSL is in use. Defaults to `31536000`. ##### `NGINX_PROXY_BUFFERING` Enable `proxy_buffering`. Defaults to `off`. ##### `NGINX_ACCEL_BUFFERING` Enable `X-Accel-Buffering` header. Default to `no` ##### `NGINX_X_FORWARDED_PROTO` Advanced configuration option for the `proxy_set_header X-Forwarded-Proto` setting in the gitlab nginx vHost configuration. Defaults to `https` when `GITLAB_HTTPS` is `true`, else defaults to `$scheme`. ##### `NGINX_REAL_IP_RECURSIVE` set to `on` if docker container runs behind a reverse proxy,you may not want the IP address of the proxy to show up as the client address. `off` by default. ##### `NGINX_REAL_IP_TRUSTED_ADDRESSES` You can have NGINX look for a different address to use by adding your reverse proxy to the `NGINX_REAL_IP_TRUSTED_ADDRESSES`. Currently only a single entry is permitted. No defaults. ##### `NGINX_CUSTOM_GITLAB_SERVER_CONFIG` Advanced configuration option. You can add custom configuration for nginx as you like (e.g. custom location proxy). This is similar to setting `nginx['custom_gitlab_server_config']` to `gitlab.rb` for gitlab-omnibus. No defaults. ##### `REDIS_HOST` The hostname of the redis server. Defaults to `localhost` ##### `REDIS_PORT` The connection port of the redis server. Defaults to `6379`. ##### `REDIS_DB_NUMBER` The redis database number. Defaults to '0'. ##### `PUMA_WORKERS` The number of puma workers to start. Defaults to `3`. ##### `PUMA_TIMEOUT` Sets the timeout of puma worker processes. Defaults to `60` seconds. ##### `PUMA_THREADS_MIN` The number of puma minimum threads. Defaults to `1`. ##### `PUMA_THREADS_MAX` The number of puma maximum threads. Defaults to `16`. ##### `PUMA_PER_WORKER_MAX_MEMORY_MB` Maximum memory size of per puma worker process. Defaults to `1024`. ##### `PUMA_MASTER_MAX_MEMORY_MB` Maximum memory size of puma master process. Defaults to `800`. ##### `SIDEKIQ_CONCURRENCY` The number of concurrent sidekiq jobs to run. Defaults to `25` ##### `SIDEKIQ_SHUTDOWN_TIMEOUT` Timeout for sidekiq shutdown. Defaults to `4` ##### `SIDEKIQ_MEMORY_KILLER_MAX_RSS` Non-zero value enables the SidekiqMemoryKiller. Defaults to `1000000`. For additional options refer [Configuring the MemoryKiller](http://doc.gitlab.com/ce/operations/sidekiq_memory_killer.html) ##### `GITLAB_SIDEKIQ_LOG_FORMAT` Sidekiq log format that will be used. Defaults to `json` ##### `DB_ADAPTER` The database type. Currently only postgresql is supported. Over 12.1 postgres force. Possible values: `postgresql`. Defaults to `postgresql`. ##### `DB_ENCODING` The database encoding. For `DB_ADAPTER` values `postresql` this parameter defaults and `utf8` respectively. ##### `DB_HOST` The database server hostname. Defaults to `localhost`. ##### `DB_PORT` The database server port. Defaults to `5432` for postgresql. ##### `DB_NAME` The database database name. Defaults to `gitlabhq_production` ##### `DB_USER` The database database user. Defaults to `root` ##### `DB_PASS` The database database password. Defaults to no password ##### `DB_POOL` The database database connection pool count. Defaults to `10`. ##### `DB_PREPARED_STATEMENTS` Whether use database prepared statements. No defaults. But set to `false` if you want to use with [PgBouncer](https://pgbouncer.github.io/) ##### `SMTP_ENABLED` Enable mail delivery via SMTP. Defaults to `true` if `SMTP_USER` is defined, else defaults to `false`. ##### `SMTP_DOMAIN` SMTP domain. Defaults to `www.gmail.com` ##### `SMTP_HOST` SMTP server host. Defaults to `smtp.gmail.com`. ##### `SMTP_PORT` SMTP server port. Defaults to `587`. ##### `SMTP_USER` SMTP username. ##### `SMTP_PASS` SMTP password. ##### `SMTP_STARTTLS` Enable STARTTLS. Defaults to `true`. ##### `SMTP_TLS` Enable SSL/TLS. Defaults to `false`. ##### `SMTP_OPENSSL_VERIFY_MODE` SMTP openssl verification mode. Accepted values are `none`, `peer`, `client_once` and `fail_if_no_peer_cert`. Defaults to `none`. ##### `SMTP_AUTHENTICATION` Specify the SMTP authentication method. Defaults to `login` if `SMTP_USER` is set. ##### `SMTP_CA_ENABLED` Enable custom CA certificates for SMTP email configuration. Defaults to `false`. ##### `SMTP_CA_PATH` Specify the `ca_path` parameter for SMTP email configuration. Defaults to `/home/git/data/certs`. ##### `SMTP_CA_FILE` Specify the `ca_file` parameter for SMTP email configuration. Defaults to `/home/git/data/certs/ca.crt`. ##### `IMAP_ENABLED` Enable mail delivery via IMAP. Defaults to `true` if `IMAP_USER` is defined, else defaults to `false`. ##### `IMAP_HOST` IMAP server host. Defaults to `imap.gmail.com`. ##### `IMAP_PORT` IMAP server port. Defaults to `993`. ##### `IMAP_USER` IMAP username. ##### `IMAP_PASS` IMAP password. ##### `IMAP_SSL` Enable SSL. Defaults to `true`. ##### `IMAP_STARTTLS` Enable STARTSSL. Defaults to `false`. ##### `IMAP_MAILBOX` The name of the mailbox where incoming mail will end up. Defaults to `inbox`. ##### `LDAP_ENABLED` Enable LDAP. Defaults to `false` ##### `LDAP_LABEL` Label to show on login tab for LDAP server. Defaults to 'LDAP' ##### `LDAP_HOST` LDAP Host ##### `LDAP_PORT` LDAP Port. Defaults to `389` ##### `LDAP_UID` LDAP UID. Defaults to `sAMAccountName` ##### `LDAP_METHOD` LDAP method, Possible values are `simple_tls`, `start_tls` and `plain`. Defaults to `plain` ##### `LDAP_VERIFY_SSL` LDAP verify ssl certificate for installations that are using `LDAP_METHOD: 'simple_tls'` or `LDAP_METHOD: 'start_tls'`. Defaults to `true` ##### `LDAP_CA_FILE` Specifies the path to a file containing a PEM-format CA certificate. Defaults to `` ##### `LDAP_SSL_VERSION` Specifies the SSL version for OpenSSL to use, if the OpenSSL default is not appropriate. Example: 'TLSv1_1'. Defaults to `` ##### `LDAP_BIND_DN` No default. ##### `LDAP_PASS` LDAP password ##### `LDAP_TIMEOUT` Timeout, in seconds, for LDAP queries. Defaults to `10`. ##### `LDAP_ACTIVE_DIRECTORY` Specifies if LDAP server is Active Directory LDAP server. If your LDAP server is not AD, set this to `false`. Defaults to `true`, ##### `LDAP_ALLOW_USERNAME_OR_EMAIL_LOGIN` If enabled, GitLab will ignore everything after the first '@' in the LDAP username submitted by the user on login. Defaults to `false` if `LDAP_UID` is `userPrincipalName`, else `true`. ##### `LDAP_BLOCK_AUTO_CREATED_USERS` Locks down those users until they have been cleared by the admin. Defaults to `false`. ##### `LDAP_BASE` Base where we can search for users. No default. ##### `LDAP_USER_FILTER` Filter LDAP users. No default. ##### `LDAP_USER_ATTRIBUTE_USERNAME` Attribute fields for the identification of a user. Default to `['uid', 'userid', 'sAMAccountName']` ##### `LDAP_USER_ATTRIBUTE_MAIL` Attribute fields for the shown mail address. Default to `['mail', 'email', 'userPrincipalName']` ##### `LDAP_USER_ATTRIBUTE_NAME` Attribute field for the used username of a user. Default to `cn`. ##### `LDAP_USER_ATTRIBUTE_FIRSTNAME` Attribute field for the forename of a user. Default to `givenName` ##### `LDAP_USER_ATTRIBUTE_LASTNAME` Attribute field for the surname of a user. Default to `sn` ##### `LDAP_LOWERCASE_USERNAMES` GitLab will lower case the username for the LDAP Server. Defaults to `false` ##### `LDAP_PREVENT_LDAP_SIGN_IN` Set to `true` to [Disable LDAP web sign in](https://docs.gitlab.com/ce/administration/auth/ldap/#disable-ldap-web-sign-in), defaults to `false` ##### `OAUTH_ENABLED` Enable OAuth support. Defaults to `true` if any of the support OAuth providers is configured, else defaults to `false`. ##### `OAUTH_AUTO_SIGN_IN_WITH_PROVIDER` Automatically sign in with a specific OAuth provider without showing GitLab sign-in page. Accepted values are `cas3`, `github`, `bitbucket`, `gitlab`, `google_oauth2`, `facebook`, `twitter`, `saml`, `crowd`, `auth0` and `azure_oauth2`. No default. ##### `OAUTH_ALLOW_SSO` Comma separated list of oauth providers for single sign-on. This allows users to login without having a user account. The account is created automatically when authentication is successful. Accepted values are `cas3`, `github`, `bitbucket`, `gitlab`, `google_oauth2`, `facebook`, `twitter`, `saml`, `crowd`, `auth0` and `azure_oauth2`. No default. ##### `OAUTH_BLOCK_AUTO_CREATED_USERS` Locks down those users until they have been cleared by the admin. Defaults to `true`. ##### `OAUTH_AUTO_LINK_LDAP_USER` Look up new users in LDAP servers. If a match is found (same uid), automatically link the omniauth identity with the LDAP account. Defaults to `false`. ##### `OAUTH_AUTO_LINK_SAML_USER` Allow users with existing accounts to login and auto link their account via SAML login, without having to do a manual login first and manually add SAML. Defaults to `false`. ##### `OAUTH_AUTO_LINK_USER` Allow users with existing accounts to login and auto link their account via the defined Omniauth providers login, without having to do a manual login first and manually connect their chosen provider. Defaults to `[]`. ##### `OAUTH_EXTERNAL_PROVIDERS` Comma separated list if oauth providers to disallow access to `internal` projects. Users creating accounts via these providers will have access internal projects. Accepted values are `cas3`, `github`, `bitbucket`, `gitlab`, `google_oauth2`, `facebook`, `twitter`, `saml`, `crowd`, `auth0` and `azure_oauth2`. No default. ##### `OAUTH_CAS3_LABEL` The "Sign in with" button label. Defaults to "cas3". ##### `OAUTH_CAS3_SERVER` CAS3 server URL. No defaults. ##### `OAUTH_CAS3_DISABLE_SSL_VERIFICATION` Disable CAS3 SSL verification. Defaults to `false`. ##### `OAUTH_CAS3_LOGIN_URL` CAS3 login URL. Defaults to `/cas/login` ##### `OAUTH_CAS3_VALIDATE_URL` CAS3 validation URL. Defaults to `/cas/p3/serviceValidate` ##### `OAUTH_CAS3_LOGOUT_URL` CAS3 logout URL. Defaults to `/cas/logout` ##### `OAUTH_GOOGLE_API_KEY` Google App Client ID. No defaults. ##### `OAUTH_GOOGLE_APP_SECRET` Google App Client Secret. No defaults. ##### `OAUTH_GOOGLE_RESTRICT_DOMAIN` List of Google App restricted domains. Value is comma separated list of single quoted groups. Example: `'exemple.com','exemple2.com'`. No defaults. ##### `OAUTH_FACEBOOK_API_KEY` Facebook App API key. No defaults. ##### `OAUTH_FACEBOOK_APP_SECRET` Facebook App API secret. No defaults. ##### `OAUTH_TWITTER_API_KEY` Twitter App API key. No defaults. ##### `OAUTH_TWITTER_APP_SECRET` Twitter App API secret. No defaults. ##### `OAUTH_AUTHENTIQ_CLIENT_ID` authentiq Client ID. No defaults. ##### `OAUTH_AUTHENTIQ_CLIENT_SECRET` authentiq Client secret. No defaults. ##### `OAUTH_AUTHENTIQ_SCOPE` Scope of Authentiq Application Defaults to `'aq:name email~rs address aq:push'` ##### `OAUTH_AUTHENTIQ_REDIRECT_URI` Callback URL for Authentiq. No defaults. ##### `OAUTH_GITHUB_API_KEY` GitHub App Client ID. No defaults. ##### `OAUTH_GITHUB_APP_SECRET` GitHub App Client secret. No defaults. ##### `OAUTH_GITHUB_URL` Url to the GitHub Enterprise server. Defaults to `https://github.com` ##### `OAUTH_GITHUB_VERIFY_SSL` Enable SSL verification while communicating with the GitHub server. Defaults to `true`. ##### `OAUTH_GITLAB_API_KEY` GitLab App Client ID. No defaults. ##### `OAUTH_GITLAB_APP_SECRET` GitLab App Client secret. No defaults. ##### `OAUTH_BITBUCKET_API_KEY` BitBucket App Client ID. No defaults. ##### `OAUTH_BITBUCKET_APP_SECRET` BitBucket App Client secret. No defaults. ##### `OAUTH_BITBUCKET_URL` Bitbucket URL. Defaults: `https://bitbucket.org/` ##### `OAUTH_SAML_ASSERTION_CONSUMER_SERVICE_URL` The URL at which the SAML assertion should be received. When `GITLAB_HTTPS=true`, defaults to `https://${GITLAB_HOST}/users/auth/saml/callback` else defaults to `http://${GITLAB_HOST}/users/auth/saml/callback`. ##### `OAUTH_SAML_IDP_CERT_FINGERPRINT` The SHA1 fingerprint of the certificate. No Defaults. ##### `OAUTH_SAML_IDP_SSO_TARGET_URL` The URL to which the authentication request should be sent. No defaults. ##### `OAUTH_SAML_ISSUER` The name of your application. When `GITLAB_HTTPS=true`, defaults to `https://${GITLAB_HOST}` else defaults to `http://${GITLAB_HOST}`. ##### `OAUTH_SAML_LABEL` The "Sign in with" button label. Defaults to "Our SAML Provider". ##### `OAUTH_SAML_NAME_IDENTIFIER_FORMAT` Describes the format of the username required by GitLab, Defaults to `urn:oasis:names:tc:SAML:2.0:nameid-format:transient` ##### `OAUTH_SAML_GROUPS_ATTRIBUTE` Map groups attribute in a SAMLResponse to external groups. No defaults. ##### `OAUTH_SAML_EXTERNAL_GROUPS` List of external groups in a SAMLResponse. Value is comma separated list of single quoted groups. Example: `'group1','group2'`. No defaults. ##### `OAUTH_SAML_ATTRIBUTE_STATEMENTS_EMAIL` Map 'email' attribute name in a SAMLResponse to entries in the OmniAuth info hash, No defaults. See [GitLab documentation](http://doc.gitlab.com/ce/integration/saml.html#attribute_statements) for more details. ##### `OAUTH_SAML_ATTRIBUTE_STATEMENTS_USERNAME` Map 'username' attribute in a SAMLResponse to entries in the OmniAuth info hash, No defaults. See [GitLab documentation](http://doc.gitlab.com/ce/integration/saml.html#attribute_statements) for more details. ##### `OAUTH_SAML_ATTRIBUTE_STATEMENTS_NAME` Map 'name' attribute in a SAMLResponse to entries in the OmniAuth info hash, No defaults. See [GitLab documentation](http://doc.gitlab.com/ce/integration/saml.html#attribute_statements) for more details. ##### `OAUTH_SAML_ATTRIBUTE_STATEMENTS_FIRST_NAME` Map 'first_name' attribute in a SAMLResponse to entries in the OmniAuth info hash, No defaults. See [GitLab documentation](http://doc.gitlab.com/ce/integration/saml.html#attribute_statements) for more details. ##### `OAUTH_SAML_ATTRIBUTE_STATEMENTS_LAST_NAME` Map 'last_name' attribute in a SAMLResponse to entries in the OmniAuth info hash, No defaults. See [GitLab documentation](http://doc.gitlab.com/ce/integration/saml.html#attribute_statements) for more details. ##### `OAUTH_CROWD_SERVER_URL` Crowd server url. No defaults. ##### `OAUTH_CROWD_APP_NAME` Crowd server application name. No defaults. ##### `OAUTH_CROWD_APP_PASSWORD` Crowd server application password. No defaults. ##### `OAUTH_AUTH0_CLIENT_ID` Auth0 Client ID. No defaults. ##### `OAUTH_AUTH0_CLIENT_SECRET` Auth0 Client secret. No defaults. ##### `OAUTH_AUTH0_DOMAIN` Auth0 Domain. No defaults. ##### `OAUTH_AUTH0_SCOPE` Auth0 Scope. Defaults to `openid profile email`. ##### `OAUTH_AZURE_API_KEY` Azure Client ID. No defaults. ##### `OAUTH_AZURE_API_SECRET` Azure Client secret. No defaults. ##### `OAUTH_AZURE_TENANT_ID` Azure Tenant ID. No defaults. #### `OAUTH_AZURE_ACTIVEDIRECTORY_V2_CLIENT_ID` Client ID for oauth provider `azure_activedirectory_v2`. If not set, corresponding oauth provider configuration will be removed from `gitlab.yml` during container startup. No defaults. #### `OAUTH_AZURE_ACTIVEDIRECTORY_V2_CLIENT_SECRET` Client secret for oauth provider `azure_activedirectory_v2`. If not set, corresponding oauth provider configuration will be removed from `gitlab.yml` during container startup. No defaults. #### `OAUTH_AZURE_ACTIVEDIRECTORY_V2_TENANT_ID` Tenant ID for oauth provider `azure_activedirectory_v2`. If not set, corresponding oauth provider configuration will be removed from `gitlab.yml` during container startup. No defaults. #### `OAUTH_AZURE_ACTIVEDIRECTORY_V2_LABEL` Optional label for login button for `azure_activedirectory_v2`. Defaults to `Azure AD v2` ##### `OAUTH2_GENERIC_APP_ID` Your OAuth2 App ID. No defaults. ##### `OAUTH2_GENERIC_APP_SECRET` Your OAuth2 App Secret. No defaults. ##### `OAUTH2_GENERIC_CLIENT_SITE` The OAuth2 generic client site. No defaults ##### `OAUTH2_GENERIC_CLIENT_USER_INFO_URL` The OAuth2 generic client user info url. No defaults ##### `OAUTH2_GENERIC_CLIENT_AUTHORIZE_URL` The OAuth2 generic client authorize url. No defaults ##### `OAUTH2_GENERIC_CLIENT_TOKEN_URL` The OAuth2 generic client token url. No defaults ##### `OAUTH2_GENERIC_CLIENT_END_SESSION_ENDPOINT` The OAuth2 generic client end session endpoint. No defaults ##### `OAUTH2_GENERIC_ID_PATH` The OAuth2 generic id path. No defaults ##### `OAUTH2_GENERIC_USER_UID` The OAuth2 generic user id path. No defaults ##### `OAUTH2_GENERIC_USER_NAME` The OAuth2 generic user name. No defaults ##### `OAUTH2_GENERIC_USER_EMAIL` The OAuth2 generic user email. No defaults ##### `OAUTH2_GENERIC_NAME` The name of your OAuth2 provider. No defaults ##### `GITLAB_GRAVATAR_ENABLED` Enables gravatar integration. Defaults to `true`. ##### `GITLAB_GRAVATAR_HTTP_URL` Sets a custom gravatar url. Defaults to `http://www.gravatar.com/avatar/%{hash}?s=%{size}&d=identicon`. This can be used for [Libravatar integration](http://doc.gitlab.com/ce/customization/libravatar.html). ##### `GITLAB_GRAVATAR_HTTPS_URL` Same as above, but for https. Defaults to `https://secure.gravatar.com/avatar/%{hash}?s=%{size}&d=identicon`. ##### `USERMAP_UID` Sets the uid for user `git` to the specified uid. Defaults to `1000`. ##### `USERMAP_GID` Sets the gid for group `git` to the specified gid. Defaults to `USERMAP_UID` if defined, else defaults to `1000`. ##### `GOOGLE_ANALYTICS_ID` Google Analytics ID. No defaults. ##### `PIWIK_URL` Sets the Piwik URL. No defaults. ##### `PIWIK_SITE_ID` Sets the Piwik site ID. No defaults. ##### `AWS_BACKUPS` Enables automatic uploads to an Amazon S3 instance. Defaults to `false`. ##### `AWS_BACKUP_REGION` AWS region. No defaults. ##### `AWS_BACKUP_ENDPOINT` AWS endpoint. No defaults. ##### `AWS_BACKUP_ACCESS_KEY_ID` AWS access key id. No defaults. ##### `AWS_BACKUP_SECRET_ACCESS_KEY` AWS secret access key. No defaults. ##### `AWS_BACKUP_BUCKET` AWS bucket for backup uploads. No defaults. ##### `AWS_BACKUP_MULTIPART_CHUNK_SIZE` Enables mulitpart uploads when file size reaches a defined size. See at [AWS S3 Docs](http://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html) ##### `AWS_BACKUP_ENCRYPTION` Turns on AWS Server-Side Encryption. Defaults to `false`. See at [AWS S3 Docs](http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html) ##### `AWS_BACKUP_STORAGE_CLASS` Configure the storage class for the item. Defaults to `STANDARD` See at [AWS S3 Docs](http://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html) ##### `AWS_BACKUP_SIGNATURE_VERSION` Configure the storage signature version. Defaults to `4` See at [AWS S3 Docs](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version) ##### `GCS_BACKUPS` Enables automatic uploads to an Google Cloud Storage (GCS) instance. Defaults to `false`. ##### `GCS_BACKUP_ACCESS_KEY_ID` GCS access key id. No defaults ##### `GCS_BACKUP_SECRET_ACCESS_KEY` GCS secret access key. No defaults ##### `GCS_BACKUP_BUCKET` GCS bucket for backup uploads. No defaults ##### `GITLAB_ROBOTS_PATH` Location of custom `robots.txt`. Uses GitLab's default `robots.txt` configuration by default. See [www.robotstxt.org](http://www.robotstxt.org) for examples. ##### `RACK_ATTACK_ENABLED` Enable/disable rack middleware for blocking & throttling abusive requests Defaults to `true`. ##### `RACK_ATTACK_WHITELIST` Always allow requests from whitelisted host. Defaults to `127.0.0.1` ##### `RACK_ATTACK_MAXRETRY` Number of failed auth attempts before which an IP should be banned. Defaults to `10` ##### `RACK_ATTACK_FINDTIME` Number of seconds before resetting the per IP auth attempt counter. Defaults to `60`. ##### `RACK_ATTACK_BANTIME` Number of seconds an IP should be banned after too many auth attempts. Defaults to `3600`. ##### `GITLAB_WORKHORSE_TIMEOUT` Timeout for gitlab workhorse http proxy. Defaults to `5m0s`. ##### `SENTRY_ENABLED` Enables Error Reporting and Logging with Sentry. Defaults to `false`. ##### `SENTRY_DSN` Sentry DSN. No defaults. ##### `SENTRY_CLIENTSIDE_DSN` Sentry clientside DSN. No defaults. ##### `SENTRY_ENVIRONMENT` Sentry environment. Defaults to `production`. #### Docker secrets and configs All the above environment variables can be put into a [secrets](https://docs.docker.com/compose/compose-file/#secrets) or [config](https://docs.docker.com/compose/compose-file/#configs) file and then both docker-compose and Docker Swarm can import them into your gitlab container. On startup, the gitlab container will source env vars from a config file labeled `gitlab-config`, and then a secrets file labeled `gitlab-secrets` (both mounted in the default locations). See the example [`contrib/docker-swarm/docker-compose.yml`](./contrib/docker-swarm/docker-compose.yml) file, and the example `gitlab.configs` and `gitlab.secrets` file. You may as well choose file names other than the example source files (`gitlab.configs` and `gitlab.secrets`) and update the `file: ./gitlab.configs` and `file: ./gitlab.secrets` references accordingly. But do not alter the config keys [`gitlab-configs`](contrib/docker-swarm/docker-compose.yml#L158) and [`gitlab-secrets`](contrib/docker-swarm/docker-compose.yml#L162) as they are currently [hardcoded](./assets/runtime/functions#L4:L9) and thus must be kept as in the example. If you're not using one of these files, then don't include its entry in the docker-compose file. ## Maintenance ### Creating backups GitLab defines a rake task to take a backup of your gitlab installation. The backup consists of all git repositories, uploaded files and as you might expect, the sql database. Before taking a backup make sure the container is stopped and removed to avoid container name conflicts. ```bash docker stop gitlab && docker rm gitlab ``` Execute the rake task to create a backup. ```bash docker run --name gitlab -it --rm [OPTIONS] \ sameersbn/gitlab:15.8.1 app:rake gitlab:backup:create ``` A backup will be created in the backups folder of the [Data Store](#data-store). You can change the location of the backups using the `GITLAB_BACKUP_DIR` configuration parameter. *P.S. Backups can also be generated on a running instance using `docker exec` as described in the [Rake Tasks](#rake-tasks) section. However, to avoid undesired side-effects, I advice against running backup and restore operations on a running instance.* When using `docker-compose` you may use the following command to execute the backup. ```bash docker-compose rm -sf gitlab docker-compose run --rm gitlab app:rake gitlab:backup:create ``` Afterwards you can bring your Instance back with the following command: ```bash docker-compose up -d ``` ### Restoring Backups GitLab also defines a rake task to restore a backup. Before performing a restore make sure the container is stopped and removed to avoid container name conflicts. ```bash docker stop gitlab && docker rm gitlab ``` If this is a fresh database that you're doing the restore on, first you need to prepare the database: ```bash docker run --name gitlab -it --rm [OPTIONS] \ sameersbn/gitlab:15.8.1 app:rake db:setup ``` Execute the rake task to restore a backup. Make sure you run the container in interactive mode `-it`. ```bash docker run --name gitlab -it --rm [OPTIONS] \ sameersbn/gitlab:15.8.1 app:rake gitlab:backup:restore ``` The list of all available backups will be displayed in reverse chronological order. Select the backup you want to restore and continue. To avoid user interaction in the restore operation, specify the timestamp, date and version of the backup using the `BACKUP` argument to the rake task. ```bash docker run --name gitlab -it --rm [OPTIONS] \ sameersbn/gitlab:15.8.1 app:rake gitlab:backup:restore BACKUP=1515629493_2020_12_06_13.0.6 ``` When using `docker-compose` you may use the following command to execute the restore. ```bash docker-compose run --rm gitlab app:rake gitlab:backup:restore # List available backups docker-compose run --rm gitlab app:rake gitlab:backup:restore BACKUP=1515629493_2020_12_06_13.10.0 # Choose to restore from 1515629493 ``` ### Host Key Backups (ssh) SSH keys are not backed up in the normal gitlab backup process. You will need to backup the `ssh/` directory in the data volume by hand and you will want to restore it prior to doing a gitlab restore. ### Automated Backups The image can be configured to automatically take backups `daily`, `weekly` or `monthly` using the `GITLAB_BACKUP_SCHEDULE` configuration option. Daily backups are created at `GITLAB_BACKUP_TIME` which defaults to `04:00` everyday. Weekly backups are created every Sunday at the same time as the daily backups. Monthly backups are created on the 1st of every month at the same time as the daily backups. By default, when automated backups are enabled, backups are held for a period of 7 days. While when automated backups are disabled, the backups are held for an infinite period of time. This behavior can be configured via the `GITLAB_BACKUP_EXPIRY` option. #### Amazon Web Services (AWS) Remote Backups The image can be configured to automatically upload the backups to an AWS S3 bucket. To enable automatic AWS backups first add `--env 'AWS_BACKUPS=true'` to the docker run command. In addition `AWS_BACKUP_REGION` and `AWS_BACKUP_BUCKET` must be properly configured to point to the desired AWS location. Finally an IAM user must be configured with appropriate access permission and their AWS keys exposed through `AWS_BACKUP_ACCESS_KEY_ID` and `AWS_BACKUP_SECRET_ACCESS_KEY`. More details about the appropriate IAM user properties can found on [doc.gitlab.com](http://doc.gitlab.com/ce/raketasks/backup_restore.html#upload-backups-to-remote-cloud-storage) For remote backup to selfhosted s3 compatible storage, use `AWS_BACKUP_ENDPOINT`. AWS uploads are performed alongside normal backups, both through the appropriate `app:rake` command and when an automatic backup is performed. #### Google Cloud Storage (GCS) Remote Backups The image can be configured to automatically upload the backups to an Google Cloud Storage bucket. To enable automatic GCS backups first add `--env 'GCS_BACKUPS=true'` to the docker run command. In addition `GCS_BACKUP_BUCKET` must be properly configured to point to the desired GCS location. Finally a couple of `Interoperable storage access keys` user must be created and their keys exposed through `GCS_BACKUP_ACCESS_KEY_ID` and `GCS_BACKUP_SECRET_ACCESS_KEY`. More details about the Cloud storage interoperability properties can found on [cloud.google.com/storage](https://cloud.google.com/storage/docs/interoperability) GCS uploads are performed alongside normal backups, both through the appropriate `app:rake` command and when an automatic backup is performed. ### Rake Tasks The `app:rake` command allows you to run gitlab rake tasks. To run a rake task simply specify the task to be executed to the `app:rake` command. For example, if you want to gather information about GitLab and the system it runs on. ```bash docker run --name gitlab -it --rm [OPTIONS] \ sameersbn/gitlab:15.8.1 app:rake gitlab:env:info ``` You can also use `docker exec` to run raketasks on running gitlab instance. For example, ```bash docker exec --user git -it gitlab bundle exec rake gitlab:env:info RAILS_ENV=production ``` Similarly, to import bare repositories into GitLab project instance ```bash docker run --name gitlab -it --rm [OPTIONS] \ sameersbn/gitlab:15.8.1 app:rake gitlab:import:repos ``` Or ```bash docker exec -it gitlab sudo -HEu git bundle exec rake gitlab:import:repos RAILS_ENV=production ``` For a complete list of available rake tasks please refer <https://github.com/gitlabhq/gitlabhq/tree/master/doc/raketasks> or the help section of your gitlab installation. *P.S. Please avoid running the rake tasks for backup and restore operations on a running gitlab instance.* To use the `app:rake` command with `docker-compose` use the following command. ```bash ## For stopped instances docker-compose run --rm gitlab app:rake gitlab:env:info docker-compose run --rm gitlab app:rake gitlab:import:repos ## For running instances docker-compose exec --user git gitlab bundle exec rake gitlab:env:info RAILS_ENV=production docker-compose exec gitlab sudo -HEu git bundle exec rake gitlab:import:repos RAILS_ENV=production ``` ### Import Repositories Copy all the **bare** git repositories to the `repositories/` directory of the [data store](#data-store) and execute the `gitlab:import:repos` rake task like so: ```bash docker run --name gitlab -it --rm [OPTIONS] \ sameersbn/gitlab:15.8.1 app:rake gitlab:import:repos ``` Watch the logs and your repositories should be available into your new gitlab container. See [Rake Tasks](#rake-tasks) for more information on executing rake tasks. Usage when using `docker-compose` can also be found there. ### Upgrading > **Important Notice** > > Since GitLab release `8.6.0` PostgreSQL users should enable `pg_trgm` extension on the GitLab database. Refer to GitLab's [Postgresql Requirements](http://doc.gitlab.com/ce/install/requirements.html#postgresql-requirements) for more information > > If you're using `sameersbn/postgresql` then please upgrade to `sameersbn/postgresql:12-20200524` or later and add `DB_EXTENSION=pg_trgm,btree_gist` to the environment of the PostgreSQL container (see: <https://github.com/sameersbn/docker-gitlab/blob/master/docker-compose.yml#L8>). > > As of version 13.7.0, the required PostgreSQL is version 12.x. If you're using PostgreSQL image other than the above, please review section [Upgrading PostgreSQL](#upgrading-postgresql). GitLabHQ releases new versions on the 22nd of every month, bugfix releases immediately follow. I update this project almost immediately when a release is made (at least it has been the case so far). If you are using the image in production environments I recommend that you delay updates by a couple of days after the gitlab release, allowing some time for the dust to settle down. To upgrade to newer gitlab releases, simply follow this 4 step upgrade procedure. > **Note** > > Upgrading to `sameersbn/gitlab:15.8.1` from `sameersbn/gitlab:7.x.x` can cause issues. It is therefore required that you first upgrade to `sameersbn/gitlab:8.0.5-1` before upgrading to `sameersbn/gitlab:8.1.0` or higher. - **Step 1**: Update the docker image. ```bash docker pull sameersbn/gitlab:15.8.1 ``` - **Step 2**: Stop and remove the currently running image ```bash docker stop gitlab docker rm gitlab ``` - **Step 3**: Create a backup ```bash docker run --name gitlab -it --rm [OPTIONS] \ sameersbn/gitlab:x.x.x app:rake gitlab:backup:create ``` Replace `x.x.x` with the version you are upgrading from. For example, if you are upgrading from version `6.0.0`, set `x.x.x` to `6.0.0` - **Step 4**: Start the image > **Note**: Since GitLab `8.0.0` you need to provide the `GITLAB_SECRETS_DB_KEY_BASE` parameter while starting the image. > **Note**: Since GitLab `8.11.0` you need to provide the `GITLAB_SECRETS_SECRET_KEY_BASE` and `GITLAB_SECRETS_OTP_KEY_BASE` parameters while starting the image. These should initially both have the same value as the contents of the `/home/git/data/.secret` file. See [Available Configuration Parameters](#available-configuration-parameters) for more information on these parameters. ```bash docker run --name gitlab -d [OPTIONS] sameersbn/gitlab:15.8.1 ``` ### Shell Access For debugging and maintenance purposes you may want access the containers shell. If you are using docker version `1.3.0` or higher you can access a running containers shell using `docker exec` command. ```bash docker exec -it gitlab bash ``` ## Monitoring You can monitor your GitLab instance status as described in the [official documentation](https://docs.gitlab.com/ee/user/admin_area/monitoring/health_check.html), for example: ```bash curl 'https://gitlab.example.com/-/liveness' ``` On success, the endpoint will return a `200` HTTP status code, and a response like below. ```bash { "status": "ok" } ``` To do that you will need to set the environment variable `GITLAB_MONITORING_IP_WHITELIST` to allow your IP or subnet to make requests to your GitLab instance. ### Health Check You can also set your `docker-compose.yml` [healthcheck](https://docs.docker.com/compose/compose-file/compose-file-v2/#healthcheck) configuration to make periodic checks: ```yml version: '2.3' services: gitlab: image: sameersbn/gitlab:15.8.1 healthcheck: test: ["CMD", "/usr/local/sbin/healthcheck"] interval: 1m timeout: 5s retries: 5 start_period: 2m ``` Then you will be able to consult the healthcheck log by executing: ```bash docker inspect --format "{{json .State.Health }}" $(docker-compose ps -q gitlab) | jq ``` ## References - <https://github.com/gitlabhq/gitlabhq> - <https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/installation.md> - <http://wiki.nginx.org/HttpSslModule> - <https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx.html> - <https://github.com/gitlabhq/gitlab-recipes/blob/master/web-server/nginx/gitlab-ssl> - <https://github.com/jpetazzo/nsenter> - <https://jpetazzo.github.io/2014/03/23/lxc-attach-nsinit-nsenter-docker-0-9/>
3,155
A build system that lets you clone, build and run C/C++ projects with a single command
[![.github/workflows/main.yml](https://github.com/SanderMertens/bake/actions/workflows/main.yml/badge.svg)](https://github.com/SanderMertens/bake/actions/workflows/main.yml) # bake The Dutch IRS has a catchy slogan, which goes like this: "Leuker kunnen we 't niet maken, wel makkelijker". Roughly translated this means: "We can't make it more fun, but we can make it easier". Bake adopts a similar philosophy. Building C/C++ code will never be fun, but with bake you'll probably spend a little less time worrying about it. Here's how bake tries to alleviate some of the pain: - Minimal, platform independent project configuration (as in 2 lines of JSON minimal) - Create new projects with a single command - Builtin emscripten (webasm) support - Zero-dependencies, calls msvc, gcc, clang and emcc compilers directly - Refer to dependencies by logical names, no OS/environment dependent paths - Automatically include headers from dependencies - Out of the box macro's for exporting symbols - Automatically discover, order and build projects in directories without additional config - Recursively build projects & their dependencies for the right config with a single command - Generate single source/header files from any project - A test framework - Clone, build and run projects with their dependencies with a single command - Make projects warning free on all compilers/compiler versions with strict compilation mode - Out of the box support for running projects with address sanitizers - Manage projects & their git repositories with bake bundles Bake is verified on the following platforms: - Linux - MacOS - Windows Bake is verified on the following compilers - gcc (7, 8, 9, 10) - clang (8, 9, 10) - msvc Bake is used as the primary build system for [Flecs](https://github.com/SanderMertens/flecs). ## Contents * [Installation](#installation) * [Getting Started](#getting-started) * [FAQ](#faq) * [Manual](#manual) * [Introduction](#introduction) * [Building projects](#building-projects) * [Running projects](#running-projects) * [Project kinds](#project-kinds) * [Project layout](#project-layout) * [Project configuration](#project-configuration) * [Project bundles](#project-bundles) * [Template functions](#template-functions) * [Templates](#templates) * [Configuring Bake](#configuring-bake) * [Installing Miscellaneous Files](#installing-miscellaneous-files) * [Integrating Non-bake Projects](#integrating-non-bake-projects) * [The Bake Environment](#the-bake-environment) * [Environment Variables](#environment-variables) * [Command line interface](#command-line-interface) * [Writing drivers](#writing-drivers) * [Authors](#authors) * [Legal stuff](#legal-stuff) ## Installation Install bake using the following commands: On Linux/MacOS: ```demo git clone https://github.com/SanderMertens/bake bake/setup.sh ``` On Windows: ``` git clone https://github.com/SanderMertens/bake cd bake setup ``` On MacOS/Linux bake will install a single script in `/usr/local/bin` which calls the bake binary in `~/bake`, which may prompt for your password during installation. This script allows you to call bake from any location without having to make changes to your environment. If you'd rather not install this script, you can install bake in local mode: ```c git clone https://github.com/SanderMertens/bake cd bake make -C build-$(uname) clean all ./bake setup --local ``` After the setup has finished, the bake executable will be stored in `~/bake`. Make sure to add this directory to your `PATH` variable before using bake. ## Upgrade bake You can upgrade bake to the latest version by running this command: ```demo bake upgrade ``` ## Getting started The following commands are useful for getting started with bake. Also, check out the `bake --help` command, which lists all the options and commands available in the bake tool. ### Create and run new project To create and run a new bake application project called `my_app`, run the following commands: ```demo bake new my_app bake run my_app ``` You can also run projects in interactive mode. This will automatically rebuild and restart an application when a project file changes. To run in interactive mode, simply add `--interactive` to the bake command: ```demo bake run my_app --interactive ``` ### Basic configuration with dependency and configuration for C driver This example shows a simple configuration with a dependency on the `foo.bar` package and links with `pthread`. ```json { "id": "my_app", "type": "application", "value": { "use": ["foo.bar"] }, "lang.c": { "lib": ["pthread"] } } ``` ### Build, rebuild and clean a project ```demo bake bake rebuild bake clean ``` Specify a build configuration: ```demo bake --cfg release ``` ### Clone & build a project from git Build a project and its dependencies directly from a git repository using this command: ```demo bake clone https://github.com/SanderMertens/example ``` ### Export an environment variable to the bake environment Bake can manage environment variables that must be set during the build. To export an environment variable to the bake environment, use this command: ```demo bake export VAR=value ``` Alternatively, if you want to add a path to an environment variable like `PATH` or `LD_LIBRARY_PATH`, use this: ```demo bake export PATH+=/my/path ``` These variables are stored in a configuration file called `bake.json` in the root of the bake environment, which by default is `$HOME/bake`. To export the bake environment to a terminal, use: ``` export `bake env` ``` ## FAQ ### Bake is built under the GPL3.0 license. Does this mean I cannot use it for commercial projects? No. As long as you do not distribute bake (either as source or binary) as part of your (closed source) deliverable, you can use bake for building your projects. This is no different than when you would use make for your projects, which is also GPL licensed. ### I want my customers to use bake. Does the license allow for this? Yes. As long as your customers use the open source version of bake, and you do not distribute bake binaries or source files with your product, your customers can use bake. ### I noticed a premake file in the bake repository. Does bake need premake to be installed? No. Bake uses premake to generate its makefiles (we would've used bake to build bake- but chicken & egg etc). The generated makefiles are included in the bake repository, so you won't need premake to use bake. ### Why yet another build tool? To put it bluntly, existing tools for C/C++ aren't great. ### Is bake a package manager? No. Bake has package-management like features, like resolving projects by logica name, automatic project discovery & associate projects with git repositories, but it does not pretend to be a full-fledged package manager. The only reason bake has these features is because it makes the build process easier. ### Why are bake project configurations so simple? All C/C++ project build configurations basically boil down to the same set of rules to translate source files into objects, and objects into shared objects or application binaries. Yet with most build systems you'll find yourself copy-pasting the same rules every time you create a new project. Bake doesn't need to be told how to build C/C++ code. It just needs three pieces of information: - The project name - Whether it's an application or a package - A `src` and `include` directory ### Why doesn't bake generate makefiles or visual studio files? Makefiles and Visual Studio files are just elaborate front-ends for how to call compilers. Bake calls the compiler directly. It has builtin drivers for gcc, clang, msvc and emcc, and it automatically detects for which compiler it's building. ### How does bake compare to make? GNU make is a low-level tool that requires you to explicitly list all the rules required to translate code to binaries. Bake is a high-level tool that already knows how to build the code, and can do this with minimal configuration. ### How does bake compare to CMake? CMake is a tool that generates other build configurations. When you use CMake you still need to use another tool like Make or Visual Studio to actually build your project. Bake builds your code directly. Another big difference is that CMake requires you to specify project configuration in a custom language, whereas Bake configuration is specified in JSON. Here is a CMake configuration and a Bake configuration for the same project: CMake: ```cmake cmake_minimum_required (VERSION 2.6) include_directories ("bar") add_subdirectory (bar) set (EXTRA_LIBS ${EXTRA_LIBS} bar) project (foo) add_executable(foo foo.c) target_link_libraries (foo ${EXTRA_LIBS}) ``` Bake: ```json { "id": "foo", "type": "application", "value": { "use": ["bar"] } } ``` A difference that jumps out from the examples is that the bake configuration is agnostic to its environment. It knows where to find project `bar`, whereas in CMake this needs to be explicitly specified. ### How does bake compare to premake? Premake is a lot like CMake, but with a Lua-based project configuration that's slightly less verbose. Premake also generates build configurations, and requires additional tools to actually build your code. ### How does bake compare to Bazel? Out of all build systems, bake and bazel come closest in the way they approach building code. The biggest differences are: - Bake is a much, much smaller project - Bake is less controlling when it comes to your environment. If you want absolute control over which version of Python, make, gcc etc. you're using while building, Bazel can do a better job. - Bake only builds C/C++ code. - Bazel project identifiers are relative to a workspace. Bake project identifiers are universal. - Bazel has a custom language for project congiguration ### Can I link with non-bake libraries? Yes. This example shows how to link with `libm`: ```json { "id": "my_app", "type": "application", "lang.c": { "lib": ["m"] } } ``` This can be improved by ensuring that `libm` is only added on Linux (MacOS/Windows don't have `libm`): ```json { "id": "my_app", "type": "application", "${os linux}": { "lang.c": { "lib": ["m"] } } } ``` ### I want to wrap a C library so I can use it as a bake dependency. How do I do this? It would be nice if we could wrap `libm.so` from the previous example in a bake `math` package, aso we don't have to repeat this configuration for every project. Bake lets us do this with the `"dependee"` attribute: ```json { "id": "math", "type": "package", "value": { "language": "none" }, "dependee": { "${os linux}": { "lang.c": { "lib": ["m"] } } } } ``` This creates a new "math" package that you can now specify as regular bake dependency. The `"language": "none"` attribute lets bake know that there is no code to build, and this is a configuration-only project. The `dependee` attribute tells bake to not apply the settings inside the JSON object to the `math` project, but to the projects that depend on `math`. We can now use the math package like this: ```json { "id": "my_app", "type": "application", "value": { "use": ["math"] } } ``` ### Where can I find the configuration options for C and C++ projects? You can find language-specific configuration options in the README of the language driver projects: For C: https://github.com/SanderMertens/bake/tree/master/drivers/lang/c For C++: https://github.com/SanderMertens/bake/tree/master/drivers/lang/cpp ### What is a driver? All of the rules and instructions in bake that actually builds code is organized in bake "drivers". Drivers are shared libraries that bake loads when a project needs them. The most common used drivers are "language drivers", which contain all the build instructions for a specific language, like C or C++. Bake automatically loads the language drivers based on the `"language"` attribute in your `project.json`, as is specified here: ```json { "id": "my_app", "type": "application", "value": { "language": "c" } } ``` By default the language is set to "c", so if you do not specify a language, your project will build as a C project. ### What does "lang.c" mean? When do I need to specify it? In some cases you will want to provide configuration options that are specific to a language, like linking with C libraries on your system, or provide additional compiler flags. In that case, you have to tell bake that the configuration you are about to specify is for a specific driver. This is where "lang.c" comes in: ```json { "id": "my_app", "type": "application", "value": { "language": "c" }, "lang.c": { "lib": ["m"] } } ``` The `"lang.c"` member uniquely identifies the bake driver responsible for building C code, and bake will make all of the attributes inside the object (`"lib"`) available to the driver. If you want to build a C++ project, instead of using the `"lang.c"` attribute, you have to use the `"lang.cpp"` attribute, which identifies the C++ driver: ```json { "id": "my_app", "type": "application", "value": { "language": "c++" }, "lang.cpp": { "lib": ["m"] } } ``` ### For C++ projects, should I specify cpp or c++ for the language attribute? You can use either, but for specifying driver-specific configuration you always have to use `lang.cpp`. ### How can I see a list of the available drivers? The following command will show you a list of the available drivers: ``` bake list bake.* ``` Everything except for `bake.util` is a driver. If you just built bake for the first time, this will only show the `"lang.c"` and `"lang.cpp"` drivers. ### Can I load more than one driver? Yes! You can load as many drivers as you want. If you want to add a driver, simply add it to your configuration like this: ```json { "id": "my_app", "type": "application", "my_custom_driver": { } } ``` ### Are there any example drivers I can use as a template? Driver documentation is a bit lacking at the moment, but we will eventually address that. In the meantime, you can take a look at the C driver to see what a fully fletched driver looks like: https://github.com/SanderMertens/bake/tree/master/drivers/lang/c ### How do I install bake packages? Bake relies on git to store packages. To install a package, use the `bake clone` command with a GitHub repository identifier: ``` bake clone SanderMertens/example ``` If your git repository is not hosted on GitHub, simply provide the full git URL: ``` bake clone https://my_git_server.com/example ``` Any URL that is accepted by git is accepted by bake. ### How does bake find dependencies of cloned projects? When bake clones a package with dependencies, it will try to also install those dependencies. It does this by taking the git URL specified to `bake clone`, and replacing the package name with the dependency name. For example, if the https://github.com/SanderMertens/example git repository depends on project `foobar`, bake would also look for https://github.com/SanderMertens/foobar. Future versions of bake may provide more intelligent ways to locate packages. ### Why use JSON for project configuration? A number of people have asked me why I used JSON for project configuration. There are two reasons: - It is a ubiquitous language that everyone understands, - It has a C parser that can be easily embedded into bake without adding dependencies A disadvantage of JSON is that while it is fine for trivial configurations, it can get a bit unwieldy once project configurations get more complex. In bake however, you can encapsulate complexity into a configuration-only project, and then include that project as a dependency in your project configuration ([example](https://github.com/SanderMertens/bake/tree/master/examples/c/pkg_w_dependee)). Additionally, bake is not like traditional build tools where you specify rules with inputs and outputs in your project configuration. If you want to, for example, add a code generation step to your build, you write a driver for it, and then include the driver in your project configuration. ### How can I specify a custom compiler? The drivers for C & C++ projects by default use gcc/g++ (on Linux) and clang/clang++ (on MacOS). If you want to change the default compiler, you can set the `CC` (for C) and `CXX` (for C++) environment variables, as long as the command line options are compatible with gcc. Instead of setting the environment variables manually, you can make them part of a bake environment like this: ```demo bake export CC=clang --env clang_env ``` To use the environment, and build with clang, you can then invoke bake like this: ```demo bake --env clang_env ``` To export `CC` or `CXX` to the default environment, simply leave out the `--env` argument. ### Where does bake store my binaries? Bake always stores binaries in the `bin/arch-os-config` directory of your project. When your project is a public project (this is the default) binaries are also copied to the target bake environment, which by default is `$BAKE_HOME/arch-os/config/bin` or `$BAKE_HOME/bake/arch-os/config/lib`. By default, `$BAKE_HOME` is set to `~/bake`. To prevent a project from being stored in the bake environment, add this to the `project.json`: ```json "value": { "public": false } ``` Usually you do not need to know where binaries are stored, as you can run applications with `bake run`, and specify dependencies by using their logical name. ### How do I do a release build? By default, binaries are built with the default debug configuration. To build a release configuration, add `--cfg release` to your bake command. You can add/change configurations in the bake configuration file. See "Configuring Bake" for more details. ### How to use different versions of the same package? Bake does not support having different versions of a package in the same environment. If you want to use different versions of the same package on a machine, you have to use different bake environments. You can do this by setting the `BAKE_HOME` environment variable. By default, this variable is set to `$HOME/bake`, but you can override it to any path you want. You can set `BAKE_HOME` in a new environment called `my_env` (for example) with this command: ``` bake export BAKE_HOME=/home/user/my_path --env my_env ``` To set the variables in this environment, add `--env my_env` to any bake command, like this: ```demo bake --env my_env ``` ## Manual ### Introduction The goal of bake is to bring a level of abstraction to building software that is comparable with `npm`. Tools like `make`, `cmake` and `premake` abstract away from writing your own compiler commands by hand, but still require users to create their own build system, with proprietary mechanisms for specifying dependencies, build configurations etc. This makes it difficult to share code between different people and organizations, and is arguably one of the reasons why ecosystems like `npm` are thriving, while ecosystems for native code are fragmented. Bake is therefore not just a build tool like `make` that can automatically generate compiler commands. It is also a build system that specifies how projects are organized and configured. When a project relies on bake, a user does, for example, not need to worry about how to link with it, where to find its include files or whether binaries have been built with incompatible compiler flags. A secondary goal is to create a zero-dependency build tool that can be easily ported to other platforms. Whereas other build tools exist, like `make`, `premake`, `rake` and `gradle`, they all rely on their respective ecosystems (`unix`, `lua`, `ruby`, `java`) which complicates writing platform-independent build configurations. Bake's only dependency is the C runtime. ### Creating a new Project You can create a new bake project with the `bake new` command. This command has a few options, which lets you create different kinds of projects (see "Project Kinds"). By default, bake creates an "application" project, which is a standard executable. To create a new application project called `my_app`, run the following command: ``` bake new my_app ``` This will create a new directory called `my_app` with the contents of a basic bake application project. If you want to create a bake package (a shared library), you can simply add `--package` to the command: ``` bake new my_pkg --package ``` When a new project is created, its metadata is also stored in the bake environment. That means that the project is now discoverable by bake, and can be used as dependency of other projects. You can inspect the bake environment with this command: ``` bake list ``` Your new project should show up in the list of projects. Bake lets you create projects with nested identifiers, like `foo.bar`. This lets you create hierarchies of projects. The `.` notation is used to denote different elements in the project identifier. To use nested identfiers, simply specify their name with bake new: ``` bake new foo.bar ``` This will create a new directory `foo-bar`. The project will appear as `foo.bar` when you do `bake list`. ### Building Projects Bake's primary task is to build the code in your projects, and generate binaries in a reliable and reproducible way. You can simply build a bake project by invoking the `bake` command: ``` bake ``` This will recursively discover and build all bake projects in the current directory. The command is synonymous for running bake with the `build` action: ``` bake build ``` Alternatively you can also specify a directory to build, like so: ``` bake my_directory bake build my_directory ``` Bake has a number of actions, of which the following are related to building your project: ``` bake build bake rebuild bake clean ``` The `build` action incrementally builds your project, and will reuse artefacts from previous builds, like object files and binaries. The `rebuild` action cleans artefacts from previous builds, and is then followed by a regular build. The `clean` action cleans all build artefacts for the project. Bake allows you to build for multiple platforms and build configurations from the same source tree, as it stores build artefacts in locations that are platform/configuration specific. When you do a `bake rebuild`, only the artefacts for the current platform / configuration are cleaned, whereas `bake clean` cleans artefacts for all platforms / configurations. #### Discovery Bake automatically discovers projects in the provided path, or current directory if no path was specified. It will then order the discovered projects based on their dependencies, so that they are built in the correct order. This removes the need for building makefiles in which you explicitly have to maintain the build order for your projects. Bake uses the information in the `use` attribute of your project configuration (see [Project Configuration](#project-configuration)). Bake will not attempt to discover projects in subdirectories of projects if those subdirectories have special meaning. The following directories are skipped, _only_ if they are found inside a bake project directory: - src - include - config - data - test - etc - lib - bin - install - examples - .bake_cache Additionally, bake will skip any directories that start with a `.`. #### Build configurations Bake lets you build projects with different build configurations, like `debug` and `release`. By default, bake has built-in settings for `debug` and `release` configurations. You can specify a build configuration with the `--cfg` flag: ``` bake my_project --cfg release ``` The default configuration is `debug`. The difference between `debug` and `release` is that `debug` disables optimizations and enables debugging code (release adds the `-DNDEBUG` flag). Furthermore, `debug` builds add compiler debugging information (like `-g` in gcc). Bake never mixes binaries between build configurations. Therefore, if you build a project in `release` mode, but its dependencies haven't been built in `release` mode yet, the build will fail. #### Recursive builds To make working across configurations easier, bake lets you do so called "recursive builds". These builds don't just build the current project, but also all dependencies for a project (and dependencies of dependencies, hence recursive builds). When building a project in `release` mode, but all dependencies have been built in `debug` mode, you can simply do: ``` bake my_project --cfg release -r ``` The `-r` flag enables recursive building, which will, in addition to the current project, rebuild all dependencies in release mode as well. Recursive builds work for any dependency that is available in the bake environment. Bake keeps track of where the source files of your projects are located on disk, which is how it can start a build for a dependency, even when it is not discoverable from the location where bake was invoked from. ### Running Projects You can run bake projects by using `bake run`, followed by either a folder or a project id: ``` bake run foo.bar bake run my_directory ``` This only works for application projects (see [Project Kinds](#project-kinds)). Bake will automatically start the executable and monitor its status. Before running the project, bake will first attempt to do a recursive build (see [Recursive builds](#recursive-builds)) so that the project and all its dependencies are built and are available for the right configuration. You can specify a configuration just like you would when building: ``` bake run foo.bar --cfg release ``` Additionally, bake lets you do interactive builds, which monitor changes from your project, and rebuild the project when a change occurs. To start an interactive build, add the `--interactive` flag: ``` bake run foo.bar --interactive ``` Currently bake does not monitor changes in the source code of dependencies, though it may do so in the future. ### Project Kinds Bake supports different project kinds which are configured in the `type` property of a `project.json` file. The project kind determines whether a project is a library or executable, whether a project is installed to a bake environment and whether a project is managed or not. The following table shows an overview of the different project kinds: Project Kind | Description -------------|---------- application | Executable package | Shared object template | Template for new bake projects #### Public vs private projects A public project is a project that is installed to the bake environment. In this environment, bake knows where to find include files, binaries and other project resources. This allows other projects to refer to these resources by the logical project name, and makes specifying dependencies between projects a lot easier. Private projects are projects that are not installed to a bake environment. Because of this, these projects cannot be located by other projects. Private projects may depend on public projects, but public projects cannot depend on private projects. Binaries of private objects are only stored in the bin folder in the project root. ### Project Layout Each bake project uses the same layout. This makes it very easy to build bake projects, as bake always knows where to find project configuration, include files, source files and so on. A bake project has at least three files: Directory / File | Description -----------------|------------ project.json | Contains build configuration for the project src | Contains the project source files include | Contains the project header files In addition, a bake project can contain the following optional directories: Directory / File | Description -----------------|------------ etc | Miscellaneous project-specific files install | Miscellaneous files that can be used by all projects in bake environment templates | Template projects that are automatically installed when building the project Bake will by default build any source file that is in the `src` directory. If the project is public, files in the `include`, `etc` and `install` folders will be soft-linked to the bake environment on Linux/MacOS, and copied when using Windows. When bake builds a project, build artefacts are stored in these directories: Directory / File | Description -----------------|------------ bin | Contains project binaries .bake_cache | Contains temporary files, like object files and precompiled headers Bake stores temporary files in platform- and configuration specific directories, so that you can safely do debug/release builds, and builds for different operating systems from the same source directory. ### Project Configuration A bake project file is located in the root of a project, and must be called `project.json`. This file contains of an `id` describing the logical project name, a `type` describing the kind of project, and a `value` property which contains properties that customize how the project should be built. This is a minimal example of a bake project file that builds an shared object. With this configuration, the project will be built with all values set to their defaults. ```json { "id": "my_library", "type": "package" } ``` This example shows how to specify dependencies and specify additional flags: ```json { "id": "my_application", "type": "application", "value": { "use": ["my_library"] }, "lang.c": { "cflags": ["-DHELLO_WORLD"] } } ``` In this example, if `my_library` is a project that is discovered by bake, it will be built *before* `my_application`. The following properties are available from the bake configuration and are specified inside the `value` property: Property | Type | Description ---------|------|------------ language | string | Language of the project. Is used to load a bake language driver. May be `null`. version | string | Version of the project (use semantic versioning) public | bool | If `true`, project is installed to `$BAKE_TARGET` use | list(string) | List of dependencies using logical project ids. Dependencies must be located in either `$BAKE_HOME` or `$BAKE_TARGET`. use_private | list(string) | Same as "use", but dependencies are private, which means that header files will not be exposed to dependees of this project. use_runtime | list(string) | Specify dependencies that a project needs at runtime, but that are not used/linked with during build time. use-bundle | list(string) | Bundles to be used by project. If the bundles are also specified as a repository, bake will be able to automatically download & find dependencies in the specified bundles. amalgamate | bool | Experimental. Generate amalgamated header and source file for the project. sources | list(string) | List of paths that contain source files. Default is `src`. The `$SOURCES` rule is substituted with this value. includes | list(string) | List of paths that contain include files. keep_binary | bool | Do not clean binary files when doing bake clean. When a binary for the target platform is present, bake will skip the project. To force a rebuild, a user has to explicitly use the `bake rebuild` command. The `cflags` attribute is specified inside the `lang.c` property. This is because `cflags` is a property specific to the C driver. For documentation on which properties are valid for which drivers, see the driver documentation. #### Private dependencies When projects depend on other projects that require additional library paths or include paths, it may not be desirable to require having these properties propagate to dependees. For example, `bar` depends on `foo`, and `foo` requires adding an `include` path to the build configuration. Now, `helloworld` depends on `bar`, but it does not need to know about `foo`. To prevent the `foo` build settings from propagating to `helloworld`, `bar` will need to configure `foo` as a "private dependency". The following configuration shows how to do this: ```json { "id": "bar", "type": "package", "value": { "use_private": ["foo"] } } ``` This way, `foo` is still added as a dependency to `bar`, but `helloworld` will not be exposed to `foo`, nor inherit any of its build settings. ### Template Functions Bake property values may contain calls to template functions, which in many cases allows project configuration files to be more generic or less complex. Additionally, template functions can be used to parameterize bake template projects. Template functions take the following form: ``` ${function_name argument} ``` They are used like this: ```json { "id": "my_project", "type": "package", "value": { "include": ["${locate include}"] } } ``` The following functions are currently supported: Function | Description ---------|------------- locate | Locate project paths in the bake environment os | Match or return operating system language | Match or return target language id | Return project identifier The next sections are detailed description of the supported functions: #### locate The locate function allows a project configuration to use any of the project paths in the bake environment. This functionality can also be used programmatically, through the `ut_locate` function in the `bake.util` package. Parameter | Description ----------|------------- package | The package directory (lib) include | The package include directory etc | The package etc directory lib | The package library (empty if an executable) app | The package executable (empty if a library) bin | The package binary env | The package environment #### os The `os` function can be used to specify platform-specific settings, or use the platform string in a path. The following example demonstrates how it can be used: ```json { "${os linux}": { "include": ["includes/linux"] } } ``` The `os` function can match both operating system and architecture. The following expressions are all valid: - x86-linux - darwin - x86_64 - x86_64-darwin - i386 For a full description of the expressions that are supported, see the documentation of `ut_os_match`. The `os` function may be nested: ```json { "${os linux}": { "include": ["includes/linux"], "${os x86_64}": { "lib": ["mylib64"] }, "${os x86}": { "lib": ["mylib32"] } } } ``` If no argument is provided to `os`, it will return the current architecture in the following format: ``` arch-os ``` This format is consistent with the platform-specific bin path under which bake stores project binaries (like `bin/x86-linux`). #### language The `language` function matches or returns the language of the project. When an argument is provided, it is matched against the current language: ```json { "${language c}": { "lib": ["my_c_lib"] }, "${language cpp}": { "lib": ["my_cpp_lib"] } } ``` The function accepts both `cpp` and `c++` for C++ projects. When the argument is ommitted, the current language is returned. This is particularly effective in combination with the `dependee` attribute, when dependees can be implemented in different languages: ```json { "dependee": { "lang.${language}": { } } } ``` #### id The `id` function returns the current project id in various formats. When the function is used without arguments, it returns the project id as it appears in the `project.json` file: ``` ${id} ``` To obtain the id in other formats, the following arguments can be passed to the `id` functions: Parameter | Description | Example ----------|-------------|--------- no parameter | | foo.bar base | Last element of an id | bar upper | Upper case, replace '.' with '\_'. Used for macro's | FOO_BAR dash | Replace '.' with '-'. Used for repository names | foo-bar underscore | Replace '.' with '\_'. Used for variable names | foo_bar ### Project bundles Bake bundles let projects specify in which repositories their dependencies are located, and which revision of those dependencies they require. All repositories and their revisions in a bundle are expected to be compatible with each other. This makes it easier to work with projects that have many (open source) dependencies, where the dependencies have their own release cycles and rules for versioning. If bundles are setup correctly, the following commands can all automatically download and build the correct set of dependencies: Run directly from a repository: ``` bake run https://github.com/SanderMertens/example ``` Clone a bake project and its dependencies: ``` bake clone https://github.com/SanderMertens/example ``` Recursively build a project: ``` bake -r example ``` This is a simple example of a bundle configuration: ```json { "id": "example", "type": "application", "value": { "use": ["example_library"] }, "bundle": { "repositories": { "example_library": "https://github.com/SanderMertens/example_library" } } } ``` This example only contains information about where the `example_library` project can be found. When a user clones, runs or recursively builds the project, bake will automatically clone the `example_library` project if it is not locally available. Alternatively, this information can be stored in a separate project: ```json { "id": "example_bundle", "type": "package", "value": { "language": "none" }, "bundle": { "default-host": "https://github.com/SanderMertens", "repositories": { "example_library": "SanderMertens/example_library", "foo.bar": "SanderMertens/foo-bar", "hello.world": "SanderMertens/hello-world" } } } ``` This is a configuration for a project that only contains bundle information. Note how it uses the `default-host` attribute to shorten the URLs. A bake project can automatically load this bundle when it is built by specifying the bundle in the `use-bundle` attribute: ```json { "id": "example", "type": "application", "value": { "use-bundle": ["example_bundle"] }, "bundle": { "repositories": { "example_bundle": "https://github.com/SanderMertens/example_bundle" } } } ``` Note how the project also adds the bundle project to the `repositories` list in its `bundle` section. This is not required, but is recommended so that bake will be able to clone the bundle if `example` is built in an environment that does not contain `example_bundle`. If the repository configuration is ommitted and `example_bundle` cannot be found by bake the project will fail to build. If a project wants to use a specific branch, commit and/or tag of a repository, it can do so by adding a `refs` property to the `bundle` section: ```json { "id": "example_bundle", "type": "package", "value": { "language": "none" }, "bundle": { "default-host": "https://github.com/SanderMertens", "repositories": { "example_library": "SanderMertens/example_library", "foo.bar": "SanderMertens/foo-bar", "hello.world": "SanderMertens/hello-world" }, "refs": { "v1.0": { "example_library": { "branch": "master", "tag": "v1.0" }, "foo.bar": { "branch": "master", "tag": "v1.0" }, "hello.world": { "branch": "master", "commit": "52ba2e129a6359f06f3437e7f46b9f466464b495" } } } } } ``` To use this specific set of revisions, a project should specify its id in the `use-bundle` property, like so: ```json { "use-bundle": ["example_bundle:v1.0"] } ``` The above bundle configuration can be shortened with the `default-branch` and `default-tag` properties: ```json { "id": "example_bundle", "type": "package", "value": { "language": "none" }, "bundle": { "default-host": "https://github.com/SanderMertens", "repositories": { "example_library": "SanderMertens/example_library", "foo.bar": "SanderMertens/foo-bar", "hello.world": "SanderMertens/hello-world" }, "refs": { "v1.0": { "default-branch": "master", "default-tag": "v1.0", "hello.world": { "commit": "52ba2e129a6359f06f3437e7f46b9f466464b495" } } } } } ``` In cases where the revision id is the same as the tag, the `tag` and `default-tag` properties can be ommitted, as bake will automatically use this id as the tag when a project has no tag and no commit specified. Additionally, if no branch is specified, master is assumed. Therefore the above configuration is equivalent to this: ```json { "id": "example_bundle", "type": "package", "value": { "language": "none" }, "bundle": { "default-host": "https://github.com", "repositories": { "example_library": "SanderMertens/example_library", "foo.bar": "SanderMertens/foo-bar", "hello.world": "SanderMertens/hello-world" }, "refs": { "v1.0": { "hello.world": { "commit": "52ba2e129a6359f06f3437e7f46b9f466464b495" } } } } } ``` This allows for shorter bundle configurations, where the bundle only needs to capture deviations from what is considered good practice. The exception to this rule is if a set of revisions has the `default` id. `default` specifies the set of revisions that are loaded when no bundle id, or `default`, is specified. It is possible to add bundles to the bake configuration. This ensures that repositories in the environment are guaranteed to be of the revisions in the configured bundle. If a bundle is configured with bake, and a project is loaded that has a different configuration (repository, branch, tag, commit) for a project, it will fail to build. To add a bundle to bake's configuration, use the `bake use` command: ``` bake use example_bundle:v1.0 ``` Attempting to load a project with different settings for any of the projects in the `example_bundle` bundle will result in an error. For example, if a project specifies project `hello.world` with tag `v1.0`, bake will reject it. Additionally, if a project specifies project `foo.bar` with tag `v2.0` bake will also reject the configuration. Even though `foo.bar` is not explicitly added to `v1.0`, bake adds it automatically when it loads the bundle configuration. If a project specifies its repository URL in the `repository` property, it must match with bundle configurations, or bake will reject the project. For example, trying to load the following project configuration against the previous bundle will fail because the URL does not match: ```json { "id": "foo.bar", "type": "library", "value": { "repository": "https://gitlab.com/foo-bar" } } ``` Bake will not automatically download dependencies during a build. Dependencies are only automatically downloaded for recursive builds, which are enbled with the `-r` argument: ``` bake -r ``` ### Templates Bake lets you create template projects which contain boilerplate code for common types of applications. Template projects look like regular projects, with two exceptions: - The project type is set to `template` - Files may contain template functions that are resolved when instantiating a template You can create a new template project by specifying the `--template` flag when using the `bake new` command: ``` bake new my_template --template ``` This creates a new template project which can be instantiated like this: ``` bake new my_app -t my_template ``` A template project can be parameterized using bake template functions (see previous chapter), like so: #### Using template functions ```c int main(int argc, char *argv[]) { printf("Hello ${id}!"); return 0; } ``` Template functions may occur at any point in your files. Not all files in a project are parsed. Only files with the following extensions are considered by the template parser: - c, cpp, h, hpp, html, js, css, json, md, sh, bat, lua, python, java, cs, make Additionally, files with the following filename will be considered: - Makefile These lists may be extended with additional extensions and filenames. Additionally, filenames may also be parameterized with bake template functions. The syntax for doing so is (`xxx` is a placeholder for parts of the filename): ``` xxx__<template function>.<file extension> xxx__<template function>_<template argument>.<file extension> xxx__<template function>__xxx.<file extension> xxx__<template function>_<template argument>__xxx.<file extension> ``` For example, if you want a source file in your template project to have the base name of the instantiated project, you can name it like this: ``` __id_base.c ``` This is equivalent to the template function: ``` ${id base}.c ``` #### Running templates If you are developing a new template, you'll often find yourself wanting to instantiate it to test modifications to the template. To make this process easier, bake lets you instantiate templates directly. Simply do: ``` bake run my_template --template ``` where `my_template` is the template name. This will cause bake to automatically instantiate a new temporary project with the template. ### Configuring Bake Bake can be optionally configured with configuration files that specify the environment in which bake should run and the build configuration that should be used. Bake locates a bake configuration file by traveling upwards from the current working directory, and looking for a `bake.json` file. If multiple files are found, they are applied in reverse order, so that the file that is "closest" to the project takes precedence. A bake configuration file consists out of an `environment` and a `configuration` section. The `configuration` section contains parameters that are not specific to a project, but influence how code is built. The `environment` section contains a list of environment variables and their values which are loaded when bake is started. The `bake env` command prints the bake environment to the command line in a format that can be used with the `export` bash command, so that the bake environment can be easily exported to the current shell, like so: ``` export `bake env` ``` ```note Bake automatically adds `$BAKE_HOME/bin` to the `PATH` environment variable. This ensures that even when applications (tools) are not installed to a global location, such as `/usr/local/bin`, they can still be directly accessed from a shell when the bake environment is exported. ``` The following table is a list of the configuration parameters: Parameter | Type | Description ----------|------|------------ symbols | bool | Enable or disable symbols in binaries debug | bool | Enable or disable debugging (defines NDEBUG if `false`) optimizations | bool | Enable or disable optimizations coverage | bool | Enable or disable coverage strict | bool | Enable or disable strict building ```note It is up to plugins to provide implementations for the above parameters. Not all parameters may be implemented. Refer to the plugin documentation for specifics. ``` This is an example configuration file: ```json { "configuration":{ "debug":{ "symbols":true, "debug":true, "optimizations":false, "coverage":false, "strict":false }, "release":{ "symbols":false, "debug":false, "optimizations":true, "coverage":false, "strict":false } }, "environment":{ "default":{ "PATH": ["/my/path"], "FOO": "Some value" } } } ``` Note that environment variables configured as a JSON array (as shown with the `PATH` variable), are appended to their current value. Elements in the array are separated by a `:` or `;`, depending on the platform. With the `--cfg` and `--env` flags the respective configuration or environment can be selected. ### Installing Miscellaneous Files Files in the `install` and `etc` directories are automatically copied to the project-specific locations in the bake environment, so they can be accessed from anywhere (see below). The `install` folder installs files directly to a location where other projects can also access it, whereas files in `etc` install to the project-specific location in the bake environment. For example, the following files: ``` my_app | |-- etc | | index.html | + style.css | +-- install/etc | image.jpg + manual.pdf ``` would be installed to the following locations: ``` $BAKE_HOME/platform/config/etc/my_app/index.html $BAKE_HOME/platform/config/etc/my_app/style.html $BAKE_HOME/platform/config/etc/image.jpg $BAKE_HOME/platform/config/etc/manual.pdf ``` Bake allows projects to differentiate between different platforms when installing files from the `etc` and `install` directories. This can be useful when for example distributing binaries for different architectures and operating systems. By default, all files from these directories installed. However, bake will look for subdirectories that match the platform string. Files in those directories will only be installed to that platform. For example, consider the following tree: ``` my_app | +-- etc |-- Linux/linux_manual.html | |-- Darwin/darwin_manual.html | |-- Linux-i686/libmy_binary.so | |-- Linux-x86_64/libmy_binary.so | |-- Linux-armv7l/libmy_binary.so | +-- Darwin-x86_64/libmy_binary.so ``` Here, only the `libmy_binary.so` that is in the directory that matches the platform string will be installed. The platform string is case independent. It allows for a number of different notations. For example, both `x86-linux` and `linux-x86` are allowed. In addition, projects can also just specify the operating system name, in which case the file will be installed to all architectures, as long as the operating system matches the directory name. To see the exact matching of the platform string, see the implementation of `ut_os_match` in `bake.util`. ### Integrating Non-Bake Projects It is not uncommon that a project needs to include or link with a project that itself was not built with bake. Often such projects require that you specify custom include paths, library paths, and link with specific libraries. When you have many projects that depend on such an external project, it can become tedious having to repeat these properties in every `project.json`. #### Wrapping external projects Bake allows you to create a project that "wraps around" the external project, in which you describe this build configuration once. Once done, projects can simply add this project as a dependency, and the properties will be automatically added. Consider a project that requires dependees to add `/usr/local/include/foobar` to their include path, that need to link with `libfoobar.so`, which is a library located in `/usr/local/lib/foobar`. For such a project, this is what the `project.json` could look like: ```json { "id": "foobar", "type": "package", "value": { "language": "none", }, "dependee": { "lang.c": { "include": ["/usr/local/include/foobar"], "libpath": ["/usr/local/lib/foobar"], "lib": ["foobar"] } } } ``` Lets go over each property. The first two specify that the project is a bake package with the id `foobar`. Because bake packages are public by default, we do not have to explicitly add `"public": true` to the `project.json` file to ensure that other packages can find this dependency. The next property is `"language": "none"`. This ensures that when ran, bake does not try to build anything for the package. It also ensures that when specifying this package as a dependency, bake will not try to link with any binaries. The `dependee` property is where the properties are specified for projects that depend on `foobar`. For every dependee project, bake will add the include, libpath and lib properties to those of the dependee configuration. Therefore, a project that depends on `foobar`, simply can do: ```json { "id": "my_app", "type": "application", "value": { "use": ["foobar"] } } ``` ... and bake will take care of the rest. #### Include external files from bake environment When include files or libraries are not installed to a common system location, you can use bake to make these files available to dependee projects as well. Suppose we have a project called `helloworld`, which is shipped as a library `libhelloworld.so`, and two header files called `helloworld.h` and `helloworld_types.h`. We could include these files in a bake project, like this: ``` helloworld | +-- include |-- helloworld.h +-- helloworld_types.h ``` That way, when running bake, they are installed to the bake environment and are available to other projects. However, there is a potential problem with this approach. The `helloworld.h` file might for example depend on `helloworld_types.h`, simply by doing: ```c #include <helloworld_types.h> ``` Because bake does not automatically add project-specific include paths to the include path when compiling (to prevent name-clashes), that include file will not be found by the compiler. Therefore, an additional property is required that includes the correct path from the bake environment. Instead of hard-coding that path, bake provides a convenient way to do this: ```json { "id": "helloworld", "type": "package", "value": { "language": "none" }, "dependee": { "include": ["${locate include}"], } } ``` The `${locate include}` part of the include path will be substituted by the project-specific include folder when the `project.json` is parsed. #### Link external files from global environment When a project needs to link with an external binary, one option is to install it to a global location. The bake equivalent is to install it to the `lib` directory in the bake environment. That way, the library will be installed to `$BAKE_TARGET/lib`. To install the library to this location, it needs to be added to the project folder. Add the library to this location: ``` helloworld | +-- install/lib/libhelloworld.so ``` The project configuration now needs to be configured so that dependee projects link with the library: ```json { "id": "helloworld", "type": "package", "value": { "language": "none" }, "dependee": { "lib": ["helloworld"] } } ``` #### Link external files from bake environment In some cases it may be desirable to link with a library without copying it to a public location, like `/usr/local/lib`. In that case, the library can also be copied to the bake environment, in the same way we did for the the include file. First, the library needs to be installed to a project specific location. This can be accomplished by storing it in the `lib` directory in the project: ``` helloworld | +-- lib/libhelloworld.so ``` Now the `dependee` section in the `project.json` file needs to be adjusted so that projects depending on `helloworld` will link with the correct library. To avoid having to rely on `LD_LIBRARY_PATH`, or having to specify a full path in the project configuration, we can use the `link` property in combination with a bake template function. The full configuration now looks like this: ```json { "id": "helloworld", "type": "package", "value": { "language": "none" }, "dependee": { "link": ["${locate lib}/helloworld"] } } ``` Bake will automatically expand the expression in the `link` path so that it contains the `lib` and `.so` prefixes. The `link` property will cause bake to link with the library using a hard-coded path, just like other project dependencies. ```warning Some prebuilt libraries cannot be linked with using a hard-coded path. Typically libraries that have been compiled with "--soname" may cause problems, as the hardcoded path will be overwritten at link-time with the name provided to "--soname", which will cause the runtime linker to fail. ``` #### Deploying to multiple operating systems When deploying binaries, a project likely needs to include versions for multiple operating systems. This can be done by storing the binaries in a directory that matches the target operating system. The following tree shows the `helloworld` project with two binaries, for Linux and MacOS: ``` helloworld | +-- lib |-- Linux-i686/libhelloworld.so |-- Linux-x86_64/libhelloworld.so +-- Darwin-x86_64/libhelloworld.dylib ``` Bake will automatically install and link with the binary that corresponds with the target platform. Note that bake also automatically tries to find libraries that end in `dylib` on MacOS. #### Putting it all together The following tree and project file show a non-bake project where the include files and binary file are installed to the bake environment, and the project supports multiple operating systems. Files: ``` helloworld |-- project.json | |-- include | |-- helloworld.h | +-- helloworld_types.h | +-- lib |-- Linux-i686/libhelloworld.so |-- Linux-x86_64/libhelloworld.so +-- Darwin-x86_64/libhelloworld.dylib ``` project.json: ```json { "id": "helloworld", "type": "package", "value": { "language": "none" }, "dependee": { "include": ["${locate include}"], "link": ["${locate lib}/helloworld"] } } ``` ### The Bake Environment Bake installs projects to the "bake environment". The bake environment is located in a location specified by the `BAKE_HOME` environment variable, and contains all the metadata and binaries for public projects, miscellaneous files and templates. By default, the bake environment is located in `~/bake`. A different location can be specified by changing the value of the `BAKE_HOME` environment variable. Projects in the bake environment can be automatically discovered and linked with by using their logical name. Here is an example of two public projects, one `application` and one `package`, where the `application` depends on the `package`: ```json { "id": "my_lib", "type": "package" } ``` ```json { "id": "my_app", "type": "application", "value": { "use": ["my_lib"] } } ``` Note that neither project configuration specifies where they are built to, or where to find the `my_lib` project. This is automatically managed by the bake environment. To get an overview of the projects stored in the bake environment, you can do: ``` bake list ``` The bake environment stores platform-specific data (such as binaries) in a location that is specific to a platform and build configuration. For example, if you are doing a debug build on Windows, you will find a directory in `$BAKE_HOME` called: ``` x64-Windows/debug ``` During a build, this directory is accessible through the `BAKE_TARGET` environment variable. This will contain all binaries (in `bin` and `lib` directories) for projects built for this platform and build configuration. The `bake list` command shows which projects have been built for which build configuration. ### Environment Variables Bake uses the following environment variables: Variable | Description ---------|------------ BAKE_HOME | Location of the bake environment BAKE_CONFIG | The current build configuration used by bake (`debug` by default) BAKE_ENVIRONMENT | The current build environment used by bake (`default` by default) BAKE_VERBOSITY | Specify the bake logging level (`INFO` by default) BAKE_ARCHITECTURE | Specify the processor architecture (default is the host architecture) BAKE_OS | Specify the operating system (default is the host operating system) ### Command line usage The following is the output of `bake --help` ``` Usage: bake [options] <command> <path> Options: -h,--help Display this usage information -v,--version Display version information --cfg <configuration> Specify configuration id --env <environment> Specify environment id --strict Manually enable strict compiler options --optimize Manually enable compiler optimizations --package Set the project type to package --template Set the project type to template --test Create a test project --to-env Clone projects to the bake environment source path (use with clone) --always-clone Clone dependencies even if found in the bake environment (use with clone) --id <project id> Specify a project id --type <package|template> Specify a project type (default = "application") --language <language> Specify a language for project (default = "c") --artefact <binary> Specify a binary file for project -i,--includes <include path> Specify an include path for project --private Specify a project to be private (not discoverable) -a,--args [arguments] Pass arguments to application (use with run) --interactive Rebuild project when files change (use with run) --run-prefix Specify prefix command for run --test-prefix Specify prefix command for tests run by test -r,--recursive Recursively build all dependencies of discovered projects -t [id] Specify template for new project -o [path] Specify output directory for new projects --show-repositories List loaded repositories (use with list) -v,--verbosity <kind> Set verbosity level (DEBUG, TRACE, OK, INFO, WARNING, ERROR, CRITICAL) --trace Set verbosity to TRACE --debug Set verbosity to DEBUG (highest verbosity) Commands: new [path] Initialize new bake project run [path|project id] Build & run project build [path] Build a project (default command) rebuild [path] Clean and build a project clean [path] Clean a project test [path] Run tests of project coverage [path] Run coverage analysis for project cleanup Cleanup bake environment by removing dead or invalid projects reset Resets bake environment to initial state, save for bake configuration publish <patch|minor|major> Publish new project version install <project id> Install project to bake environment (repository must be known) uninstall [project id] Remove project from bake environment clone <git url> Clone and build git repository and dependencies use <project:bundle> Configure the environment to use specified bundle update [project id] Update an installed package or application foreach <cmd> Run command for each discovered project env Echo bake environment upgrade Upgrade to new bake version export <NAME>=|+=<VALUE> Add variable to bake environment info <package id> Display info on a project in the bake environment list [filter] List packages in bake environment Examples: bake Build all projects discovered in current directory bake my_app Build all projects discovered in my_app directory bake new Create new application project in current directory bake new my_app Create new application project in directory my_app bake new my_lib --package Create new package project in directory my_lib bake new my_tmpl --template Create new template project in directory my_tmpl bake new game -t sdl2.basic Create new project from the sdl2.basic template bake run my_app -a hello Run my_app project, pass 'hello' as argument bake publish major Increase major project version, create git tag bake info foo.bar Show information about package foo.bar bake list foo.* List all packages that start with foo. ``` ### Writing Drivers Bake has a plugin architecture, where a plugin describes how code should be built for a particular language. Bake plugins are essentially parameterized makefiles, with the only difference that they are written in C, and that they use the bake build engine. Plugins allow you to define how projects should be built once, and then reuse it for every project. Plugins can be created for any language. The bake build engine has a design that is similar to other build engines in that it uses rules that depend on other rules. Rules have rule-actions, which get executed when a rule is outdated. Whether a rule is outdated or not is determined by comparing timestamps of the rule dependencies with the timestamps of the rule output. Rules are written in their respective language plugins in C. A simple set of rules that builds a binary from a set of source files would look like this: ```c driver->pattern("SOURCES", "//*.c|*.cpp|*.cxx"); driver->rule("objects", "$SOURCES", driver->target_map(src_to_obj), compile_src); driver->rule("ARTEFACT", "$objects", driver->target_pattern(NULL), link_binary); ``` Patterns create a label for a pattern (using the `ut_expr` syntax). Rules are patterns that have dependencies and actions. The syntax for a rule is: ```c driver->rule(<id>, <dependencies>, <function to map target to output>, <action>); ``` Each plugin must have a `bakemain` entrypoint. This function is called when the plugin is loaded, and must specify the rules and patterns. ## Authors - Sander Mertens - Initial work ## Legal stuff Bake is licensed under the GPL3.0 license. The bake runtime (all code under the `util` directory) is licensed under the MIT license.
3,156
Hawtio web console helps you manage your JVM stuff and stay cool!
![hawtio][logo] [![Test](https://github.com/hawtio/hawtio/actions/workflows/test.yml/badge.svg)](https://github.com/hawtio/hawtio/actions/workflows/test.yml) ## Introduction [Hawtio](http://hawt.io) is a lightweight and modular Web console for managing Java applications. ![Hawtio screenshot](https://raw.githubusercontent.com/hawtio/website/main/static/images/screenshots/camel-route.png) Hawtio has [lots of plugins](http://hawt.io/docs/plugins/) such as: Apache ActiveMQ "Classic," Apache Camel, JMX, OSGi, Logs, Spring Boot, and Diagnostics. You can dynamically extend Hawtio with your own plugins or automatically discover plugins inside the JVM. The only server side dependency (other than the static HTML/CSS/JS/images) is the excellent [Jolokia library](http://jolokia.org) which has small footprint (around 300KB) and is available as a [JVM agent](http://jolokia.org/agent/jvm.html), or comes embedded as a servlet inside the `hawtio-default.war` or can be deployed as [an OSGi bundle](http://jolokia.org/agent/osgi.html). ## Get Started - [Running an executable JAR](#running-an-executable-jar) - [Running a Spring Boot app](#running-a-spring-boot-app) - [Deploying on Apache Karaf](#deploying-on-apache-karaf) - [Deploying on OpenShift](https://github.com/hawtio/hawtio-online) For more details and other containers, see [Get Started Guide](http://hawt.io/docs/get-started/). ### Running an executable JAR You can start up Hawtio on your machine using the hawtio-app executable JAR. * [hawtio-app-2.17.0.jar](https://repo1.maven.org/maven2/io/hawt/hawtio-app/2.17.0/hawtio-app-2.17.0.jar) Once you have downloaded it, just run this from the command line: java -jar hawtio-app-2.17.0.jar ### Running a Spring Boot app Attaching the Hawtio console to your Spring Boot app is simple. 1. Add `io.hawt:hawtio-springboot` to the dependencies in `pom.xml`: <dependency> <groupId>io.hawt</groupId> <artifactId>hawtio-springboot</artifactId> <version>2.17.0</version> </dependency> 2. Enable the Hawtio and Jolokia endpoints by adding the following line in `application.properties`: ``` management.endpoints.web.exposure.include=hawtio,jolokia spring.jmx.enabled=true ``` Now you should be able to run Hawtio in your Spring Boot app as follows: mvn spring-boot:run Opening <http://localhost:8080/actuator/hawtio> should show the Hawtio console. See [Spring Boot example](https://github.com/hawtio/hawtio/tree/hawtio-2.17.0/examples/springboot) for a working example app. ### Deploying on Apache Karaf If you are using [Apache Karaf](https://karaf.apache.org/) 4.x and above: feature:repo-add hawtio 2.17.0 feature:install hawtio This will install all the features required for Hawtio. The Hawtio console can then be viewed at <http://localhost:8181/hawtio>. Karaf versions prior to 4.x are not supported. ## Contributing We love [contributions](http://hawt.io/docs/contributing/)! Here are the resources on how to get you involved in Hawtio development. * [FAQ](http://hawt.io/docs/faq/) * [Change Log](CHANGES.md) * [How to contribute](http://hawt.io/docs/contributing/) * [Community](http://hawt.io/community/) Check out the [GitHub issues](https://github.com/hawtio/hawtio/issues) for finding issues to work on. ## License Hawtio is licensed under [Apache License, Version 2.0](LICENSE.txt). [logo]: http://hawt.io/images/hawtio_logo.svg "hawtio"
3,157
12 weeks, 26 lessons, 52 quizzes, classic Machine Learning for all
[![GitHub license](https://img.shields.io/github/license/microsoft/ML-For-Beginners.svg)](https://github.com/microsoft/ML-For-Beginners/blob/master/LICENSE) [![GitHub contributors](https://img.shields.io/github/contributors/microsoft/ML-For-Beginners.svg)](https://GitHub.com/microsoft/ML-For-Beginners/graphs/contributors/) [![GitHub issues](https://img.shields.io/github/issues/microsoft/ML-For-Beginners.svg)](https://GitHub.com/microsoft/ML-For-Beginners/issues/) [![GitHub pull-requests](https://img.shields.io/github/issues-pr/microsoft/ML-For-Beginners.svg)](https://GitHub.com/microsoft/ML-For-Beginners/pulls/) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) [![GitHub watchers](https://img.shields.io/github/watchers/microsoft/ML-For-Beginners.svg?style=social&label=Watch)](https://GitHub.com/microsoft/ML-For-Beginners/watchers/) [![GitHub forks](https://img.shields.io/github/forks/microsoft/ML-For-Beginners.svg?style=social&label=Fork)](https://GitHub.com/microsoft/ML-For-Beginners/network/) [![GitHub stars](https://img.shields.io/github/stars/microsoft/ML-For-Beginners.svg?style=social&label=Star)](https://GitHub.com/microsoft/ML-For-Beginners/stargazers/) # Machine Learning for Beginners - A Curriculum > 🌍 Travel around the world as we explore Machine Learning by means of world cultures 🌍 Azure Cloud Advocates at Microsoft are pleased to offer a 12-week, 26-lesson curriculum all about **Machine Learning**. In this curriculum, you will learn about what is sometimes called **classic machine learning**, using primarily Scikit-learn as a library and avoiding deep learning, which is covered in our forthcoming 'AI for Beginners' curriculum. Pair these lessons with our ['Data Science for Beginners' curriculum](https://aka.ms/datascience-beginners), as well! Travel with us around the world as we apply these classic techniques to data from many areas of the world. Each lesson includes pre- and post-lesson quizzes, written instructions to complete the lesson, a solution, an assignment, and more. Our project-based pedagogy allows you to learn while building, a proven way for new skills to 'stick'. **✍️ Hearty thanks to our authors** Jen Looper, Stephen Howell, Francesca Lazzeri, Tomomi Imura, Cassie Breviu, Dmitry Soshnikov, Chris Noring, Anirban Mukherjee, Ornella Altunyan, and Amy Boyd **🎨 Thanks as well to our illustrators** Tomomi Imura, Dasani Madipalli, and Jen Looper **🙏 Special thanks 🙏 to our Microsoft Student Ambassador authors, reviewers, and content contributors**, notably Rishit Dagli, Muhammad Sakib Khan Inan, Rohan Raj, Alexandru Petrescu, Abhishek Jaiswal, Nawrin Tabassum, Ioan Samuila, and Snigdha Agarwal **🤩 Extra gratitude to Microsoft Student Ambassador Eric Wanjau for our R lessons!** --- # Getting Started **[Students](https://aka.ms/student-page)**, to use this curriculum, fork the entire repo to your own GitHub account and complete the exercises on your own or with a group: - Start with a pre-lecture quiz. - Read the lecture and complete the activities, pausing and reflecting at each knowledge check. - Try to create the projects by comprehending the lessons rather than running the solution code; however that code is available in the `/solution` folders in each project-oriented lesson. - Take the post-lecture quiz. - Complete the challenge. - Complete the assignment. - After completing a lesson group, visit the [Discussion Board](https://github.com/microsoft/ML-For-Beginners/discussions) and "learn out loud" by filling out the appropriate PAT rubric. A 'PAT' is a Progress Assessment Tool that is a rubric you fill out to further your learning. You can also react to other PATs so we can learn together. > For further study, we recommend following these [Microsoft Learn](https://docs.microsoft.com/en-us/users/jenlooper-2911/collections/k7o7tg1gp306q4?WT.mc_id=academic-77952-leestott) modules and learning paths. **Teachers**, we have [included some suggestions](for-teachers.md) on how to use this curriculum. --- ## Meet the Team [![Promo video](ml.gif)](https://youtu.be/Tj1XWrDSYJU "Promo video") **Gif by** [Mohit Jaisal](https://linkedin.com/in/mohitjaisal) > 🎥 Click the image above for a video about the project and the folks who created it! --- ## Pedagogy We have chosen two pedagogical tenets while building this curriculum: ensuring that it is hands-on **project-based** and that it includes **frequent quizzes**. In addition, this curriculum has a common **theme** to give it cohesion. By ensuring that the content aligns with projects, the process is made more engaging for students and retention of concepts will be augmented. In addition, a low-stakes quiz before a class sets the intention of the student towards learning a topic, while a second quiz after class ensures further retention. This curriculum was designed to be flexible and fun and can be taken in whole or in part. The projects start small and become increasingly complex by the end of the 12-week cycle. This curriculum also includes a postscript on real-world applications of ML, which can be used as extra credit or as a basis for discussion. > Find our [Code of Conduct](CODE_OF_CONDUCT.md), [Contributing](CONTRIBUTING.md), and [Translation](TRANSLATIONS.md) guidelines. We welcome your constructive feedback! ## Each lesson includes: - optional sketchnote - optional supplemental video - pre-lecture warmup quiz - written lesson - for project-based lessons, step-by-step guides on how to build the project - knowledge checks - a challenge - supplemental reading - assignment - post-lecture quiz > **A note about languages**: These lessons are primarily written in Python, but many are also available in R. To complete an R lesson, go to the `/solution` folder and look for R lessons. They include an .rmd extension that represents an **R Markdown** file which can be simply defined as an embedding of `code chunks` (of R or other languages) and a `YAML header` (that guides how to format outputs such as PDF) in a `Markdown document`. As such, it serves as an exemplary authoring framework for data science since it allows you to combine your code, its output, and your thoughts by allowing you to write them down in Markdown. Moreover, R Markdown documents can be rendered to output formats such as PDF, HTML, or Word. > **A note about quizzes**: All quizzes are contained [in this app](https://gray-sand-07a10f403.1.azurestaticapps.net/), for 52 total quizzes of three questions each. They are linked from within the lessons but the quiz app can be run locally; follow the instruction in the `quiz-app` folder. | Lesson Number | Topic | Lesson Grouping | Learning Objectives | Linked Lesson | Author | | :-----------: | :------------------------------------------------------------: | :-------------------------------------------------: | ------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------: | | 01 | Introduction to machine learning | [Introduction](1-Introduction/README.md) | Learn the basic concepts behind machine learning | [Lesson](1-Introduction/1-intro-to-ML/README.md) | Muhammad | | 02 | The History of machine learning | [Introduction](1-Introduction/README.md) | Learn the history underlying this field | [Lesson](1-Introduction/2-history-of-ML/README.md) | Jen and Amy | | 03 | Fairness and machine learning | [Introduction](1-Introduction/README.md) | What are the important philosophical issues around fairness that students should consider when building and applying ML models? | [Lesson](1-Introduction/3-fairness/README.md) | Tomomi | | 04 | Techniques for machine learning | [Introduction](1-Introduction/README.md) | What techniques do ML researchers use to build ML models? | [Lesson](1-Introduction/4-techniques-of-ML/README.md) | Chris and Jen | | 05 | Introduction to regression | [Regression](2-Regression/README.md) | Get started with Python and Scikit-learn for regression models | <ul><li>[Python](2-Regression/1-Tools/README.md)</li><li>[R](2-Regression/1-Tools/solution/R/lesson_1-R.ipynb)</li></ul> | <ul><li>Jen</li><li>Eric Wanjau</li></ul> | | 06 | North American pumpkin prices 🎃 | [Regression](2-Regression/README.md) | Visualize and clean data in preparation for ML | <ul><li>[Python](2-Regression/2-Data/README.md)</li><li>[R](2-Regression/2-Data/solution/R/lesson_2-R.ipynb)</li></ul> | <ul><li>Jen</li><li>Eric Wanjau</li></ul> | | 07 | North American pumpkin prices 🎃 | [Regression](2-Regression/README.md) | Build linear and polynomial regression models | <ul><li>[Python](2-Regression/3-Linear/README.md)</li><li>[R](2-Regression/3-Linear/solution/R/lesson_3-R.ipynb)</li></ul> | <ul><li>Jen and Dmitry</li><li>Eric Wanjau</li></ul> | | 08 | North American pumpkin prices 🎃 | [Regression](2-Regression/README.md) | Build a logistic regression model | <ul><li>[Python](2-Regression/4-Logistic/README.md) </li><li>[R](2-Regression/4-Logistic/solution/R/lesson_4-R.ipynb)</li></ul> | <ul><li>Jen</li><li>Eric Wanjau</li></ul> | | 09 | A Web App 🔌 | [Web App](3-Web-App/README.md) | Build a web app to use your trained model | [Python](3-Web-App/1-Web-App/README.md) | Jen | | 10 | Introduction to classification | [Classification](4-Classification/README.md) | Clean, prep, and visualize your data; introduction to classification | <ul><li> [Python](4-Classification/1-Introduction/README.md) </li><li>[R](4-Classification/1-Introduction/solution/R/lesson_10-R.ipynb) | <ul><li>Jen and Cassie</li><li>Eric Wanjau</li></ul> | | 11 | Delicious Asian and Indian cuisines 🍜 | [Classification](4-Classification/README.md) | Introduction to classifiers | <ul><li> [Python](4-Classification/2-Classifiers-1/README.md)</li><li>[R](4-Classification/2-Classifiers-1/solution/R/lesson_11-R.ipynb) | <ul><li>Jen and Cassie</li><li>Eric Wanjau</li></ul> | | 12 | Delicious Asian and Indian cuisines 🍜 | [Classification](4-Classification/README.md) | More classifiers | <ul><li> [Python](4-Classification/3-Classifiers-2/README.md)</li><li>[R](4-Classification/3-Classifiers-2/solution/R/lesson_12-R.ipynb) | <ul><li>Jen and Cassie</li><li>Eric Wanjau</li></ul> | | 13 | Delicious Asian and Indian cuisines 🍜 | [Classification](4-Classification/README.md) | Build a recommender web app using your model | [Python](4-Classification/4-Applied/README.md) | Jen | | 14 | Introduction to clustering | [Clustering](5-Clustering/README.md) | Clean, prep, and visualize your data; Introduction to clustering | <ul><li> [Python](5-Clustering/1-Visualize/README.md)</li><li>[R](5-Clustering/1-Visualize/solution/R/lesson_14-R.ipynb) | <ul><li>Jen</li><li>Eric Wanjau</li></ul> | | 15 | Exploring Nigerian Musical Tastes 🎧 | [Clustering](5-Clustering/README.md) | Explore the K-Means clustering method | <ul><li> [Python](5-Clustering/2-K-Means/README.md)</li><li>[R](5-Clustering/2-K-Means/solution/R/lesson_15-R.ipynb) | <ul><li>Jen</li><li>Eric Wanjau</li></ul> | | 16 | Introduction to natural language processing ☕️ | [Natural language processing](6-NLP/README.md) | Learn the basics about NLP by building a simple bot | [Python](6-NLP/1-Introduction-to-NLP/README.md) | Stephen | | 17 | Common NLP Tasks ☕️ | [Natural language processing](6-NLP/README.md) | Deepen your NLP knowledge by understanding common tasks required when dealing with language structures | [Python](6-NLP/2-Tasks/README.md) | Stephen | | 18 | Translation and sentiment analysis ♥️ | [Natural language processing](6-NLP/README.md) | Translation and sentiment analysis with Jane Austen | [Python](6-NLP/3-Translation-Sentiment/README.md) | Stephen | | 19 | Romantic hotels of Europe ♥️ | [Natural language processing](6-NLP/README.md) | Sentiment analysis with hotel reviews 1 | [Python](6-NLP/4-Hotel-Reviews-1/README.md) | Stephen | | 20 | Romantic hotels of Europe ♥️ | [Natural language processing](6-NLP/README.md) | Sentiment analysis with hotel reviews 2 | [Python](6-NLP/5-Hotel-Reviews-2/README.md) | Stephen | | 21 | Introduction to time series forecasting | [Time series](7-TimeSeries/README.md) | Introduction to time series forecasting | [Python](7-TimeSeries/1-Introduction/README.md) | Francesca | | 22 | ⚡️ World Power Usage ⚡️ - time series forecasting with ARIMA | [Time series](7-TimeSeries/README.md) | Time series forecasting with ARIMA | [Python](7-TimeSeries/2-ARIMA/README.md) | Francesca | | 23 | ⚡️ World Power Usage ⚡️ - time series forecasting with SVR | [Time series](7-TimeSeries/README.md) | Time series forecasting with Support Vector Regressor | [Python](7-TimeSeries/3-SVR/README.md) | Anirban | | 24 | Introduction to reinforcement learning | [Reinforcement learning](8-Reinforcement/README.md) | Introduction to reinforcement learning with Q-Learning | [Python](8-Reinforcement/1-QLearning/README.md) | Dmitry | | 25 | Help Peter avoid the wolf! 🐺 | [Reinforcement learning](8-Reinforcement/README.md) | Reinforcement learning Gym | [Python](8-Reinforcement/2-Gym/README.md) | Dmitry | | Postscript | Real-World ML scenarios and applications | [ML in the Wild](9-Real-World/README.md) | Interesting and revealing real-world applications of classical ML | [Lesson](9-Real-World/1-Applications/README.md) | Team | ## Offline access You can run this documentation offline by using [Docsify](https://docsify.js.org/#/). Fork this repo, [install Docsify](https://docsify.js.org/#/quickstart) on your local machine, and then in the root folder of this repo, type `docsify serve`. The website will be served on port 3000 on your localhost: `localhost:3000`. ## PDFs Find a pdf of the curriculum with links [here](https://microsoft.github.io/ML-For-Beginners/pdf/readme.pdf). ## Help Wanted! Would you like to contribute a translation? Please read our [translation guidelines](TRANSLATIONS.md) and add a templated issue to manage the workload [here](https://github.com/microsoft/ML-For-Beginners/issues). ## Other Curricula Our team produces other curricula! Check out: - [Web Dev for Beginners](https://aka.ms/webdev-beginners) - [IoT for Beginners](https://aka.ms/iot-beginners) - [Data Science for Beginners](https://aka.ms/datascience-beginners) - [AI for Beginners](https://aka.ms/ai-beginners)
3,158
Python Data Science Handbook: full text in Jupyter Notebooks
# Python Data Science Handbook [![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/jakevdp/PythonDataScienceHandbook/master?filepath=notebooks%2FIndex.ipynb) [![Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/Index.ipynb) This repository contains the entire [Python Data Science Handbook](http://shop.oreilly.com/product/0636920034919.do), in the form of (free!) Jupyter notebooks. ![cover image](notebooks/figures/PDSH-cover.png) ## How to Use this Book - Read the book in its entirety online at https://jakevdp.github.io/PythonDataScienceHandbook/ - Run the code using the Jupyter notebooks available in this repository's [notebooks](notebooks) directory. - Launch executable versions of these notebooks using [Google Colab](http://colab.research.google.com): [![Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/Index.ipynb) - Launch a live notebook server with these notebooks using [binder](https://beta.mybinder.org/): [![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/jakevdp/PythonDataScienceHandbook/master?filepath=notebooks%2FIndex.ipynb) - Buy the printed book through [O'Reilly Media](http://shop.oreilly.com/product/0636920034919.do) ## About The book was written and tested with Python 3.5, though other Python versions (including Python 2.7) should work in nearly all cases. The book introduces the core libraries essential for working with data in Python: particularly [IPython](http://ipython.org), [NumPy](http://numpy.org), [Pandas](http://pandas.pydata.org), [Matplotlib](http://matplotlib.org), [Scikit-Learn](http://scikit-learn.org), and related packages. Familiarity with Python as a language is assumed; if you need a quick introduction to the language itself, see the free companion project, [A Whirlwind Tour of Python](https://github.com/jakevdp/WhirlwindTourOfPython): it's a fast-paced introduction to the Python language aimed at researchers and scientists. See [Index.ipynb](http://nbviewer.jupyter.org/github/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/Index.ipynb) for an index of the notebooks available to accompany the text. ## Software The code in the book was tested with Python 3.5, though most (but not all) will also work correctly with Python 2.7 and other older Python versions. The packages I used to run the code in the book are listed in [requirements.txt](requirements.txt) (Note that some of these exact version numbers may not be available on your platform: you may have to tweak them for your own use). To install the requirements using [conda](http://conda.pydata.org), run the following at the command-line: ``` $ conda install --file requirements.txt ``` To create a stand-alone environment named ``PDSH`` with Python 3.5 and all the required package versions, run the following: ``` $ conda create -n PDSH python=3.5 --file requirements.txt ``` You can read more about using conda environments in the [Managing Environments](http://conda.pydata.org/docs/using/envs.html) section of the conda documentation. ## License ### Code The code in this repository, including all code samples in the notebooks listed above, is released under the [MIT license](LICENSE-CODE). Read more at the [Open Source Initiative](https://opensource.org/licenses/MIT). ### Text The text content of the book is released under the [CC-BY-NC-ND license](LICENSE-TEXT). Read more at [Creative Commons](https://creativecommons.org/licenses/by-nc-nd/3.0/us/legalcode).
3,159
10 Weeks, 20 Lessons, Data Science for All!
# Data Science for Beginners - A Curriculum [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&ref=main&repo=344191198) [![GitHub license](https://img.shields.io/github/license/microsoft/Data-Science-For-Beginners.svg)](https://github.com/microsoft/Data-Science-For-Beginners/blob/master/LICENSE) [![GitHub contributors](https://img.shields.io/github/contributors/microsoft/Data-Science-For-Beginners.svg)](https://GitHub.com/microsoft/Data-Science-For-Beginners/graphs/contributors/) [![GitHub issues](https://img.shields.io/github/issues/microsoft/Data-Science-For-Beginners.svg)](https://GitHub.com/microsoft/Data-Science-For-Beginners/issues/) [![GitHub pull-requests](https://img.shields.io/github/issues-pr/microsoft/Data-Science-For-Beginners.svg)](https://GitHub.com/microsoft/Data-Science-For-Beginners/pulls/) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) [![GitHub watchers](https://img.shields.io/github/watchers/microsoft/Data-Science-For-Beginners.svg?style=social&label=Watch)](https://GitHub.com/microsoft/Data-Science-For-Beginners/watchers/) [![GitHub forks](https://img.shields.io/github/forks/microsoft/Data-Science-For-Beginners.svg?style=social&label=Fork)](https://GitHub.com/microsoft/Data-Science-For-Beginners/network/) [![GitHub stars](https://img.shields.io/github/stars/microsoft/Data-Science-For-Beginners.svg?style=social&label=Star)](https://GitHub.com/microsoft/Data-Science-For-Beginners/stargazers/) Azure Cloud Advocates at Microsoft are pleased to offer a 10-week, 20-lesson curriculum all about Data Science. Each lesson includes pre-lesson and post-lesson quizzes, written instructions to complete the lesson, a solution, and an assignment. Our project-based pedagogy allows you to learn while building, a proven way for new skills to 'stick'. **Hearty thanks to our authors:** [Jasmine Greenaway](https://www.twitter.com/paladique), [Dmitry Soshnikov](http://soshnikov.com), [Nitya Narasimhan](https://twitter.com/nitya), [Jalen McGee](https://twitter.com/JalenMcG), [Jen Looper](https://twitter.com/jenlooper), [Maud Levy](https://twitter.com/maudstweets), [Tiffany Souterre](https://twitter.com/TiffanySouterre), [Christopher Harrison](https://www.twitter.com/geektrainer). **🙏 Special thanks 🙏 to our [Microsoft Student Ambassador](https://studentambassadors.microsoft.com/) authors, reviewers and content contributors,** notably Aaryan Arora, [Aditya Garg](https://github.com/AdityaGarg00), [Alondra Sanchez](https://www.linkedin.com/in/alondra-sanchez-molina/), [Ankita Singh](https://www.linkedin.com/in/ankitasingh007), [Anupam Mishra](https://www.linkedin.com/in/anupam--mishra/), [Arpita Das](https://www.linkedin.com/in/arpitadas01/), ChhailBihari Dubey, [Dibri Nsofor](https://www.linkedin.com/in/dibrinsofor), [Dishita Bhasin](https://www.linkedin.com/in/dishita-bhasin-7065281bb), [Majd Safi](https://www.linkedin.com/in/majd-s/), [Max Blum](https://www.linkedin.com/in/max-blum-6036a1186/), [Miguel Correa](https://www.linkedin.com/in/miguelmque/), [Mohamma Iftekher (Iftu) Ebne Jalal](https://twitter.com/iftu119), [Nawrin Tabassum](https://www.linkedin.com/in/nawrin-tabassum), [Raymond Wangsa Putra](https://www.linkedin.com/in/raymond-wp/), [Rohit Yadav](https://www.linkedin.com/in/rty2423), Samridhi Sharma, [Sanya Sinha](https://www.linkedin.com/mwlite/in/sanya-sinha-13aab1200), [Sheena Narula](https://www.linkedin.com/in/sheena-narua-n/), [Tauqeer Ahmad](https://www.linkedin.com/in/tauqeerahmad5201/), Yogendrasingh Pawar , [Vidushi Gupta](https://www.linkedin.com/in/vidushi-gupta07/), [Jasleen Sondhi](https://www.linkedin.com/in/jasleen-sondhi/) |![ Sketchnote by [(@sketchthedocs)](https://sketchthedocs.dev) ](./sketchnotes/00-Title.png)| |:---:| | Data Science For Beginners - _Sketchnote by [@nitya](https://twitter.com/nitya)_ | # Are you a student? Get started with the following resources: - [Student Hub page](https://docs.microsoft.com/en-gb/learn/student-hub?WT.mc_id=academic-77958-bethanycheum) In this page, you will find beginner resources, Student packs and even ways to get a free cert voucher. This is one page you want to bookmark and check from time to time as we switch out content at least monthly. - [Microsoft Learn Student Ambassadors](https://studentambassadors.microsoft.com?WT.mc_id=academic-77958-bethanycheum) Join a global community of student ambassadors, this could be your way into Microsoft # Getting Started > **Teachers**: we have [included some suggestions](for-teachers.md) on how to use this curriculum. We'd love your feedback [in our discussion forum](https://github.com/microsoft/Data-Science-For-Beginners/discussions)! > **[Students](https://aka.ms/student-page)**: to use this curriculum on your own, fork the entire repo and complete the exercises on your own, starting with a pre-lecture quiz. Then read the lecture and complete the rest of the activities. Try to create the projects by comprehending the lessons rather than copying the solution code; however, that code is available in the /solutions folders in each project-oriented lesson. Another idea would be to form a study group with friends and go through the content together. For further study, we recommend [Microsoft Learn](https://docs.microsoft.com/en-us/users/jenlooper-2911/collections/qprpajyoy3x0g7?WT.mc_id=academic-77958-bethanycheum). ## Meet the Team [![Promo video](ds-for-beginners.gif)](https://youtu.be/8mzavjQSMM4 "Promo video") **Gif by** [Mohit Jaisal](https://www.linkedin.com/in/mohitjaisal) > 🎥 Click the image above for a video about the project the folks who created it! ## Pedagogy We have chosen two pedagogical tenets while building this curriculum: ensuring that it is project-based and that it includes frequent quizzes. By the end of this series, students will have learned basic principles of data science, including ethical concepts, data preparation, different ways of working with data, data visualization, data analysis, real-world use cases of data science, and more. In addition, a low-stakes quiz before a class sets the intention of the student towards learning a topic, while a second quiz after class ensures further retention. This curriculum was designed to be flexible and fun and can be taken in whole or in part. The projects start small and become increasingly complex by the end of the 10 week cycle. > Find our [Code of Conduct](CODE_OF_CONDUCT.md), [Contributing](CONTRIBUTING.md), [Translation](TRANSLATIONS.md) guidelines. We welcome your constructive feedback! ## Each lesson includes: - Optional sketchnote - Optional supplemental video - Pre-lesson warmup quiz - Written lesson - For project-based lessons, step-by-step guides on how to build the project - Knowledge checks - A challenge - Supplemental reading - Assignment - Post-lesson quiz > **A note about quizzes**: All quizzes are contained [in this app](https://purple-hill-04aebfb03.1.azurestaticapps.net/), for 40 total quizzes of three questions each. They are linked from within the lessons, but the quiz app can be run locally; follow the instruction in the `quiz-app` folder. They are gradually being localized. ## Lessons |![ Sketchnote by [(@sketchthedocs)](https://sketchthedocs.dev) ](./sketchnotes/00-Roadmap.png)| |:---:| | Data Science For Beginners: Roadmap - _Sketchnote by [@nitya](https://twitter.com/nitya)_ | | Lesson Number | Topic | Lesson Grouping | Learning Objectives | Linked Lesson | Author | | :-----------: | :----------------------------------------: | :--------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------: | :----: | | 01 | Defining Data Science | [Introduction](1-Introduction/README.md) | Learn the basic concepts behind data science and how it’s related to artificial intelligence, machine learning, and big data. | [lesson](1-Introduction/01-defining-data-science/README.md) [video](https://youtu.be/beZ7Mb_oz9I) | [Dmitry](http://soshnikov.com) | | 02 | Data Science Ethics | [Introduction](1-Introduction/README.md) | Data Ethics Concepts, Challenges & Frameworks. | [lesson](1-Introduction/02-ethics/README.md) | [Nitya](https://twitter.com/nitya) | | 03 | Defining Data | [Introduction](1-Introduction/README.md) | How data is classified and its common sources. | [lesson](1-Introduction/03-defining-data/README.md) | [Jasmine](https://www.twitter.com/paladique) | | 04 | Introduction to Statistics & Probability | [Introduction](1-Introduction/README.md) | The mathematical techniques of probability and statistics to understand data. | [lesson](1-Introduction/04-stats-and-probability/README.md) [video](https://youtu.be/Z5Zy85g4Yjw) | [Dmitry](http://soshnikov.com) | | 05 | Working with Relational Data | [Working With Data](2-Working-With-Data/README.md) | Introduction to relational data and the basics of exploring and analyzing relational data with the Structured Query Language, also known as SQL (pronounced “see-quell”). | [lesson](2-Working-With-Data/05-relational-databases/README.md) | [Christopher](https://www.twitter.com/geektrainer) | | | | 06 | Working with NoSQL Data | [Working With Data](2-Working-With-Data/README.md) | Introduction to non-relational data, its various types and the basics of exploring and analyzing document databases. | [lesson](2-Working-With-Data/06-non-relational/README.md) | [Jasmine](https://twitter.com/paladique)| | 07 | Working with Python | [Working With Data](2-Working-With-Data/README.md) | Basics of using Python for data exploration with libraries such as Pandas. Foundational understanding of Python programming is recommended. | [lesson](2-Working-With-Data/07-python/README.md) [video](https://youtu.be/dZjWOGbsN4Y) | [Dmitry](http://soshnikov.com) | | 08 | Data Preparation | [Working With Data](2-Working-With-Data/README.md) | Topics on data techniques for cleaning and transforming the data to handle challenges of missing, inaccurate, or incomplete data. | [lesson](2-Working-With-Data/08-data-preparation/README.md) | [Jasmine](https://www.twitter.com/paladique) | | 09 | Visualizing Quantities | [Data Visualization](3-Data-Visualization/README.md) | Learn how to use Matplotlib to visualize bird data 🦆 | [lesson](3-Data-Visualization/09-visualization-quantities/README.md) | [Jen](https://twitter.com/jenlooper) | | 10 | Visualizing Distributions of Data | [Data Visualization](3-Data-Visualization/README.md) | Visualizing observations and trends within an interval. | [lesson](3-Data-Visualization/10-visualization-distributions/README.md) | [Jen](https://twitter.com/jenlooper) | | 11 | Visualizing Proportions | [Data Visualization](3-Data-Visualization/README.md) | Visualizing discrete and grouped percentages. | [lesson](3-Data-Visualization/11-visualization-proportions/README.md) | [Jen](https://twitter.com/jenlooper) | | 12 | Visualizing Relationships | [Data Visualization](3-Data-Visualization/README.md) | Visualizing connections and correlations between sets of data and their variables. | [lesson](3-Data-Visualization/12-visualization-relationships/README.md) | [Jen](https://twitter.com/jenlooper) | | 13 | Meaningful Visualizations | [Data Visualization](3-Data-Visualization/README.md) | Techniques and guidance for making your visualizations valuable for effective problem solving and insights. | [lesson](3-Data-Visualization/13-meaningful-visualizations/README.md) | [Jen](https://twitter.com/jenlooper) | | 14 | Introduction to the Data Science lifecycle | [Lifecycle](4-Data-Science-Lifecycle/README.md) | Introduction to the data science lifecycle and its first step of acquiring and extracting data. | [lesson](4-Data-Science-Lifecycle/14-Introduction/README.md) | [Jasmine](https://twitter.com/paladique) | | 15 | Analyzing | [Lifecycle](4-Data-Science-Lifecycle/README.md) | This phase of the data science lifecycle focuses on techniques to analyze data. | [lesson](4-Data-Science-Lifecycle/15-analyzing/README.md) | [Jasmine](https://twitter.com/paladique) | | | | 16 | Communication | [Lifecycle](4-Data-Science-Lifecycle/README.md) | This phase of the data science lifecycle focuses on presenting the insights from the data in a way that makes it easier for decision makers to understand. | [lesson](4-Data-Science-Lifecycle/16-communication/README.md) | [Jalen](https://twitter.com/JalenMcG) | | | | 17 | Data Science in the Cloud | [Cloud Data](5-Data-Science-In-Cloud/README.md) | This series of lessons introduces data science in the cloud and its benefits. | [lesson](5-Data-Science-In-Cloud/17-Introduction/README.md) | [Tiffany](https://twitter.com/TiffanySouterre) and [Maud](https://twitter.com/maudstweets) | | 18 | Data Science in the Cloud | [Cloud Data](5-Data-Science-In-Cloud/README.md) | Training models using Low Code tools. |[lesson](5-Data-Science-In-Cloud/18-Low-Code/README.md) | [Tiffany](https://twitter.com/TiffanySouterre) and [Maud](https://twitter.com/maudstweets) | | 19 | Data Science in the Cloud | [Cloud Data](5-Data-Science-In-Cloud/README.md) | Deploying models with Azure Machine Learning Studio. | [lesson](5-Data-Science-In-Cloud/19-Azure/README.md)| [Tiffany](https://twitter.com/TiffanySouterre) and [Maud](https://twitter.com/maudstweets) | | 20 | Data Science in the Wild | [In the Wild](6-Data-Science-In-Wild/README.md) | Data science driven projects in the real world. | [lesson](6-Data-Science-In-Wild/20-Real-World-Examples/README.md) | [Nitya](https://twitter.com/nitya) | ## GitHub Codespaces Follow these steps to open this sample in a Codespace: 1. Click the Code drop-down menu and select the Open with Codespaces option. 2. Select + New codespace at the bottom on the pane. For more info, check out the [GitHub documentation](https://docs.github.com/en/codespaces/developing-in-codespaces/creating-a-codespace-for-a-repository#creating-a-codespace). ## VSCode Remote - Containers Follow these steps to open this repo in a container using your local machine and VSCode using the VS Code Remote - Containers extension: 1. If this is your first time using a development container, please ensure your system meets the pre-reqs (i.e. have Docker installed) in [the getting started documentation](https://code.visualstudio.com/docs/devcontainers/containers#_getting-started). To use this repository, you can either open the repository in an isolated Docker volume: **Note**: Under the hood, this will use the Remote-Containers: **Clone Repository in Container Volume...** command to clone the source code in a Docker volume instead of the local filesystem. [Volumes](https://docs.docker.com/storage/volumes/) are the preferred mechanism for persisting container data. Or open a locally cloned or downloaded version of the repository: - Clone this repository to your local filesystem. - Press F1 and select the **Remote-Containers: Open Folder in Container...** command. - Select the cloned copy of this folder, wait for the container to start, and try things out. ## Offline access You can run this documentation offline by using [Docsify](https://docsify.js.org/#/). Fork this repo, [install Docsify](https://docsify.js.org/#/quickstart) on your local machine, then in the root folder of this repo, type `docsify serve`. The website will be served on port 3000 on your localhost: `localhost:3000`. > Note, notebooks will not be rendered via Docsify, so when you need to run a notebook, do that separately in VS Code running a Python kernel. ## Help Wanted! If you would like to translate all or part of the curriculum, please follow our [Translations](TRANSLATIONS.md) guide ## Other Curricula Our team produces other curricula! Check out: - [Machine Learning for Beginners](https://aka.ms/ml-beginners) - [IoT for Beginners](https://aka.ms/iot-beginners) - [Web Dev for Beginners](https://aka.ms/webdev-beginners) - [AI for Beginners](https://aka.ms/ai-beginners)
3,160
TensorFlow Tutorial and Examples for Beginners (support TF v1 & v2)
# TensorFlow Examples This tutorial was designed for easily diving into TensorFlow, through examples. For readability, it includes both notebooks and source codes with explanation, for both TF v1 & v2. It is suitable for beginners who want to find clear and concise examples about TensorFlow. Besides the traditional 'raw' TensorFlow implementations, you can also find the latest TensorFlow API practices (such as `layers`, `estimator`, `dataset`, ...). **Update (05/16/2020):** Moving all default examples to TF2. For TF v1 examples: [check here](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1). ## Tutorial index #### 0 - Prerequisite - [Introduction to Machine Learning](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/0_Prerequisite/ml_introduction.ipynb). - [Introduction to MNIST Dataset](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/0_Prerequisite/mnist_dataset_intro.ipynb). #### 1 - Introduction - **Hello World** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/1_Introduction/helloworld.ipynb)). Very simple example to learn how to print "hello world" using TensorFlow 2.0+. - **Basic Operations** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/1_Introduction/basic_operations.ipynb)). A simple example that cover TensorFlow 2.0+ basic operations. #### 2 - Basic Models - **Linear Regression** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/2_BasicModels/linear_regression.ipynb)). Implement a Linear Regression with TensorFlow 2.0+. - **Logistic Regression** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/2_BasicModels/logistic_regression.ipynb)). Implement a Logistic Regression with TensorFlow 2.0+. - **Word2Vec (Word Embedding)** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/2_BasicModels/word2vec.ipynb)). Build a Word Embedding Model (Word2Vec) from Wikipedia data, with TensorFlow 2.0+. - **GBDT (Gradient Boosted Decision Trees)** ([notebooks](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/2_BasicModels/gradient_boosted_trees.ipynb)). Implement a Gradient Boosted Decision Trees with TensorFlow 2.0+ to predict house value using Boston Housing dataset. #### 3 - Neural Networks ##### Supervised - **Simple Neural Network** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/3_NeuralNetworks/neural_network.ipynb)). Use TensorFlow 2.0 'layers' and 'model' API to build a simple neural network to classify MNIST digits dataset. - **Simple Neural Network (low-level)** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/3_NeuralNetworks/neural_network_raw.ipynb)). Raw implementation of a simple neural network to classify MNIST digits dataset. - **Convolutional Neural Network** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/3_NeuralNetworks/convolutional_network.ipynb)). Use TensorFlow 2.0+ 'layers' and 'model' API to build a convolutional neural network to classify MNIST digits dataset. - **Convolutional Neural Network (low-level)** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/3_NeuralNetworks/convolutional_network_raw.ipynb)). Raw implementation of a convolutional neural network to classify MNIST digits dataset. - **Recurrent Neural Network (LSTM)** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/3_NeuralNetworks/recurrent_network.ipynb)). Build a recurrent neural network (LSTM) to classify MNIST digits dataset, using TensorFlow 2.0 'layers' and 'model' API. - **Bi-directional Recurrent Neural Network (LSTM)** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/3_NeuralNetworks/bidirectional_rnn.ipynb)). Build a bi-directional recurrent neural network (LSTM) to classify MNIST digits dataset, using TensorFlow 2.0+ 'layers' and 'model' API. - **Dynamic Recurrent Neural Network (LSTM)** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/3_NeuralNetworks/dynamic_rnn.ipynb)). Build a recurrent neural network (LSTM) that performs dynamic calculation to classify sequences of variable length, using TensorFlow 2.0+ 'layers' and 'model' API. ##### Unsupervised - **Auto-Encoder** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/3_NeuralNetworks/autoencoder.ipynb)). Build an auto-encoder to encode an image to a lower dimension and re-construct it. - **DCGAN (Deep Convolutional Generative Adversarial Networks)** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/3_NeuralNetworks/dcgan.ipynb)). Build a Deep Convolutional Generative Adversarial Network (DCGAN) to generate images from noise. #### 4 - Utilities - **Save and Restore a model** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/4_Utils/save_restore_model.ipynb)). Save and Restore a model with TensorFlow 2.0+. - **Build Custom Layers & Modules** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/4_Utils/build_custom_layers.ipynb)). Learn how to build your own layers / modules and integrate them into TensorFlow 2.0+ Models. - **Tensorboard** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/4_Utils/tensorboard.ipynb)). Track and visualize neural network computation graph, metrics, weights and more using TensorFlow 2.0+ tensorboard. #### 5 - Data Management - **Load and Parse data** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/5_DataManagement/load_data.ipynb)). Build efficient data pipeline with TensorFlow 2.0 (Numpy arrays, Images, CSV files, custom data, ...). - **Build and Load TFRecords** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/5_DataManagement/tfrecords.ipynb)). Convert data into TFRecords format, and load them with TensorFlow 2.0+. - **Image Transformation (i.e. Image Augmentation)** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/5_DataManagement/image_transformation.ipynb)). Apply various image augmentation techniques with TensorFlow 2.0+, to generate distorted images for training. #### 6 - Hardware - **Multi-GPU Training** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/6_Hardware/multigpu_training.ipynb)). Train a convolutional neural network with multiple GPUs on CIFAR-10 dataset. ## TensorFlow v1 The tutorial index for TF v1 is available here: [TensorFlow v1.15 Examples](tensorflow_v1). Or see below for a list of the examples. ## Dataset Some examples require MNIST dataset for training and testing. Don't worry, this dataset will automatically be downloaded when running examples. MNIST is a database of handwritten digits, for a quick description of that dataset, you can check [this notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/0_Prerequisite/mnist_dataset_intro.ipynb). Official Website: [http://yann.lecun.com/exdb/mnist/](http://yann.lecun.com/exdb/mnist/). ## Installation To download all the examples, simply clone this repository: ``` git clone https://github.com/aymericdamien/TensorFlow-Examples ``` To run them, you also need the latest version of TensorFlow. To install it: ``` pip install tensorflow ``` or (with GPU support): ``` pip install tensorflow_gpu ``` For more details about TensorFlow installation, you can check [TensorFlow Installation Guide](https://www.tensorflow.org/install/) ## TensorFlow v1 Examples - Index The tutorial index for TF v1 is available here: [TensorFlow v1.15 Examples](tensorflow_v1). #### 0 - Prerequisite - [Introduction to Machine Learning](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/tensorflow_v1/0_Prerequisite/ml_introduction.ipynb). - [Introduction to MNIST Dataset](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/tensorflow_v1/0_Prerequisite/mnist_dataset_intro.ipynb). #### 1 - Introduction - **Hello World** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/1_Introduction/helloworld.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/1_Introduction/helloworld.py)). Very simple example to learn how to print "hello world" using TensorFlow. - **Basic Operations** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/notebooks/tensorflow_v1/1_Introduction/basic_operations.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-examples/Examples/blob/master/tensorflow_v1/1_Introduction/basic_operations.py)). A simple example that cover TensorFlow basic operations. - **TensorFlow Eager API basics** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/1_Introduction/basic_eager_api.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/1_Introduction/basic_eager_api.py)). Get started with TensorFlow's Eager API. #### 2 - Basic Models - **Linear Regression** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/2_BasicModels/linear_regression.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/2_BasicModels/linear_regression.py)). Implement a Linear Regression with TensorFlow. - **Linear Regression (eager api)** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/2_BasicModels/linear_regression_eager_api.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/2_BasicModels/linear_regression_eager_api.py)). Implement a Linear Regression using TensorFlow's Eager API. - **Logistic Regression** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/2_BasicModels/logistic_regression.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/2_BasicModels/logistic_regression.py)). Implement a Logistic Regression with TensorFlow. - **Logistic Regression (eager api)** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/2_BasicModels/logistic_regression_eager_api.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/2_BasicModels/logistic_regression_eager_api.py)). Implement a Logistic Regression using TensorFlow's Eager API. - **Nearest Neighbor** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/2_BasicModels/nearest_neighbor.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/2_BasicModels/nearest_neighbor.py)). Implement Nearest Neighbor algorithm with TensorFlow. - **K-Means** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/2_BasicModels/kmeans.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/2_BasicModels/kmeans.py)). Build a K-Means classifier with TensorFlow. - **Random Forest** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/2_BasicModels/random_forest.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/2_BasicModels/random_forest.py)). Build a Random Forest classifier with TensorFlow. - **Gradient Boosted Decision Tree (GBDT)** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/2_BasicModels/gradient_boosted_decision_tree.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/2_BasicModels/gradient_boosted_decision_tree.py)). Build a Gradient Boosted Decision Tree (GBDT) with TensorFlow. - **Word2Vec (Word Embedding)** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/2_BasicModels/word2vec.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/2_BasicModels/word2vec.py)). Build a Word Embedding Model (Word2Vec) from Wikipedia data, with TensorFlow. #### 3 - Neural Networks ##### Supervised - **Simple Neural Network** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/3_NeuralNetworks/notebooks/neural_network_raw.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/3_NeuralNetworks/neural_network_raw.py)). Build a simple neural network (a.k.a Multi-layer Perceptron) to classify MNIST digits dataset. Raw TensorFlow implementation. - **Simple Neural Network (tf.layers/estimator api)** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/3_NeuralNetworks/neural_network.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/3_NeuralNetworks/neural_network.py)). Use TensorFlow 'layers' and 'estimator' API to build a simple neural network (a.k.a Multi-layer Perceptron) to classify MNIST digits dataset. - **Simple Neural Network (eager api)** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/3_NeuralNetworks/neural_network_eager_api.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/3_NeuralNetworks/neural_network_eager_api.py)). Use TensorFlow Eager API to build a simple neural network (a.k.a Multi-layer Perceptron) to classify MNIST digits dataset. - **Convolutional Neural Network** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/3_NeuralNetworks/convolutional_network_raw.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/3_NeuralNetworks/convolutional_network_raw.py)). Build a convolutional neural network to classify MNIST digits dataset. Raw TensorFlow implementation. - **Convolutional Neural Network (tf.layers/estimator api)** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/3_NeuralNetworks/convolutional_network.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/3_NeuralNetworks/convolutional_network.py)). Use TensorFlow 'layers' and 'estimator' API to build a convolutional neural network to classify MNIST digits dataset. - **Recurrent Neural Network (LSTM)** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/3_NeuralNetworks/recurrent_network.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/3_NeuralNetworks/recurrent_network.py)). Build a recurrent neural network (LSTM) to classify MNIST digits dataset. - **Bi-directional Recurrent Neural Network (LSTM)** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/3_NeuralNetworks/bidirectional_rnn.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/3_NeuralNetworks/bidirectional_rnn.py)). Build a bi-directional recurrent neural network (LSTM) to classify MNIST digits dataset. - **Dynamic Recurrent Neural Network (LSTM)** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/3_NeuralNetworks/dynamic_rnn.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/3_NeuralNetworks/dynamic_rnn.py)). Build a recurrent neural network (LSTM) that performs dynamic calculation to classify sequences of different length. ##### Unsupervised - **Auto-Encoder** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/3_NeuralNetworks/autoencoder.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/3_NeuralNetworks/autoencoder.py)). Build an auto-encoder to encode an image to a lower dimension and re-construct it. - **Variational Auto-Encoder** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/3_NeuralNetworks/variational_autoencoder.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/3_NeuralNetworks/variational_autoencoder.py)). Build a variational auto-encoder (VAE), to encode and generate images from noise. - **GAN (Generative Adversarial Networks)** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/3_NeuralNetworks/gan.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/3_NeuralNetworks/gan.py)). Build a Generative Adversarial Network (GAN) to generate images from noise. - **DCGAN (Deep Convolutional Generative Adversarial Networks)** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/3_NeuralNetworks/dcgan.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/3_NeuralNetworks/dcgan.py)). Build a Deep Convolutional Generative Adversarial Network (DCGAN) to generate images from noise. #### 4 - Utilities - **Save and Restore a model** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/4_Utils/save_restore_model.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/4_Utils/save_restore_model.py)). Save and Restore a model with TensorFlow. - **Tensorboard - Graph and loss visualization** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/4_Utils/tensorboard_basic.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/4_Utils/tensorboard_basic.py)). Use Tensorboard to visualize the computation Graph and plot the loss. - **Tensorboard - Advanced visualization** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/4_Utils/tensorboard_advanced.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/4_Utils/tensorboard_advanced.py)). Going deeper into Tensorboard; visualize the variables, gradients, and more... #### 5 - Data Management - **Build an image dataset** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/5_DataManagement/build_an_image_dataset.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/5_DataManagement/build_an_image_dataset.py)). Build your own images dataset with TensorFlow data queues, from image folders or a dataset file. - **TensorFlow Dataset API** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/5_DataManagement/tensorflow_dataset_api.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/5_DataManagement/tensorflow_dataset_api.py)). Introducing TensorFlow Dataset API for optimizing the input data pipeline. - **Load and Parse data** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/5_DataManagement/load_data.ipynb)). Build efficient data pipeline (Numpy arrays, Images, CSV files, custom data, ...). - **Build and Load TFRecords** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/5_DataManagement/tfrecords.ipynb)). Convert data into TFRecords format, and load them. - **Image Transformation (i.e. Image Augmentation)** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/5_DataManagement/image_transformation.ipynb)). Apply various image augmentation techniques, to generate distorted images for training. #### 6 - Multi GPU - **Basic Operations on multi-GPU** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/6_MultiGPU/multigpu_basics.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/6_MultiGPU/multigpu_basics.py)). A simple example to introduce multi-GPU in TensorFlow. - **Train a Neural Network on multi-GPU** ([notebook](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/notebooks/6_MultiGPU/multigpu_cnn.ipynb)) ([code](https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v1/examples/6_MultiGPU/multigpu_cnn.py)). A clear and simple TensorFlow implementation to train a convolutional neural network on multiple GPUs. ## More Examples The following examples are coming from [TFLearn](https://github.com/tflearn/tflearn), a library that provides a simplified interface for TensorFlow. You can have a look, there are many [examples](https://github.com/tflearn/tflearn/tree/master/examples) and [pre-built operations and layers](http://tflearn.org/doc_index/#api). ### Tutorials - [TFLearn Quickstart](https://github.com/tflearn/tflearn/blob/master/tutorials/intro/quickstart.md). Learn the basics of TFLearn through a concrete machine learning task. Build and train a deep neural network classifier. ### Examples - [TFLearn Examples](https://github.com/tflearn/tflearn/blob/master/examples). A large collection of examples using TFLearn.
3,161
Code for some of my articles
# Tutorials This repository contains the code for all my articles and videos. | Name | Article | Video | Code | |:---------------:|:--------:|:----------:|:------:| | Generating text using a Recurrent Neural Network | [Link](https://gilberttanner.com/blog/generating-text-using-a-recurrent-neuralnetwork) | - | [Link](https://github.com/TannerGilbert/Tutorials/blob/master/Keras-Tutorials/4.%20LSTM%20Text%20Generation/Keras%20LSTM%20Text%20Generation.ipynb) | | Building a book Recommendation System using Keras | [Link](https://gilberttanner.com/blog/building-a-book-recommendation-system-usingkeras) | [Link](https://youtu.be/4vwNkHFuZBk) | [Link](https://github.com/TannerGilbert/Tutorials/blob/master/Recommendation%20System/Recommendation%20System.ipynb) | | Introduction to Web Scraping with BeautifulSoup | - | - | [Link](https://github.com/TannerGilbert/Tutorials/tree/master/Introduction%20to%20Web%20Scraping%20with%20BeautifulSoup) | | Scraping Reddit data | [Link](https://gilberttanner.com/blog/scraping-redditdata) | - | [Link](https://github.com/TannerGilbert/Tutorials/tree/master/Reddit%20Webscraping%20using%20PRAW) | | Introduction to Deep Learning with Keras | [Link](https://gilberttanner.com/blog/introduction-to-deep-learning-withkeras) | - | [Link](https://github.com/TannerGilbert/Tutorials/blob/master/Introduction%20to%20Deep%20Learning%20with%C2%A0Keras/Introduction%20to%20Deep%20Learning%20with%20Keras.ipynb) | | Introduction to Data Visualization in Python | [Link](https://gilberttanner.com/blog/introduction-to-data-visualization-inpython) | - | [Link](https://github.com/TannerGilbert/Tutorials/tree/master/Introduction%20to%20Data%20Visualization%20in%C2%A0Python) | | Live Object Detection with the Tensorflow Object Detection API | - | - | [Link](https://github.com/TannerGilbert/Tutorials/blob/master/Tensorflow%20Object%20Detection/detect_object_in_webcam_video.ipynb) | | FastAI Image Classification | - | - | [Link](https://github.com/TannerGilbert/Tutorials/blob/master/FastAI/Animal%20detector%20from%20Google%20images.ipynb) | | FastAI Multi-label image classification | - | - | [Link](https://github.com/TannerGilbert/Tutorials/blob/master/FastAI/%20Multi-label%20prediction%20with%20Planet%20Amazon%20dataset.ipynb) | | Introduction to Uber’s Ludwig | - | - | [Link](https://github.com/TannerGilbert/Tutorials/tree/master/Uber%20Ludwig%20Introduction) | | Productionizing your Machine Learning model | - | - | [Link](https://github.com/TannerGilbert/Tutorials/tree/master/Deploying%20your%20ML%20Model) | | Creating a discord sentiment analysis bot using VADER | - | - | [Link](https://github.com/TannerGilbert/Tutorials/tree/master/Discord%20Sentiment%20Analysis%20Bot) | | FastAI Image Segmentation | - | - | [Link](https://github.com/TannerGilbert/Tutorials/blob/master/FastAI/Image%20segmentation%20on%20CamVid%20dataset.ipynb) | | Collaborative filtering with FastAI | - | - | [Link](https://github.com/TannerGilbert/Tutorials/blob/master/FastAI/Book%20Recommendation%20System.ipynb) | | FastAI Sentiment Analysis | - | - | [Link](https://github.com/TannerGilbert/Tutorials/blob/master/FastAI/Twitter%20US%20Airline%20Sentiment.ipynb) | | Uber Ludwig Applications | - | - | [Link](https://github.com/TannerGilbert/Tutorials/tree/master/Uber%20Ludwig%20Examples) | | Introduction to Ensemble Learning | - | - | [Link](https://github.com/TannerGilbert/Tutorials/tree/master/A%20guide%20to%20Ensemble%C2%A0Learning) | | Introduction to Machine Learning in C# with ML.NET | [Link](https://gilberttanner.com/blog/introduction-to-machine-learning-in-c-with-ml-net) | - | [Link](https://github.com/TannerGilbert/Tutorials/tree/master/Introduction%20to%20Machine%20Learning%20in%20C%23%20with%20ML.NET/CreditCardFraudDetection) | | Turn your data science scripts into websites with Streamlit | [Link](https://gilberttanner.com/blog/turn-your-data-science-script-into-websites-with-streamlit) | - | [Link](https://github.com/TannerGilbert/Tutorials/tree/master/Streamlit) | | Deploying your Streamlit dashboard with Heroku | [Link](https://gilberttanner.com/blog/deploying-your-streamlit-dashboard-with-heroku) | - | [Link](https://github.com/TannerGilbert/Tutorials/tree/master/Streamlit/Deploy-Application-with-Heroku) | ## Author **Gilbert Tanner** ## Support me <a href="https://www.buymeacoffee.com/gilberttanner" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a> ## License This project is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details
3,162
《动手学深度学习》:面向中文读者、能运行、可讨论。中英文版被60多个国家的400多所大学用于教学。
# 动手学深度学习(Dive into Deep Learning,D2L.ai) [![Build Status](http://ci.d2l.ai/job/d2l-zh/job/master/badge/icon)](http://ci.d2l.ai/job/d2l-zh/job/master/) [第二版:zh.D2L.ai](https://zh.d2l.ai) | [第一版:zh-v1.D2L.ai](https://zh-v1.d2l.ai/) | 安装和使用书中源代码: [第二版](https://zh.d2l.ai/chapter_installation/index.html) [第一版](https://zh-v1.d2l.ai/chapter_prerequisite/install.html) <h5 align="center"><i>理解深度学习的最佳方法是学以致用。</i></h5> <p align="center"> <img width="200" src="static/frontpage/_images/eq.jpg"> <img width="200" src="static/frontpage/_images/figure.jpg"> <img width="200" src="static/frontpage/_images/code.jpg"> <img width="200" src="static/frontpage/_images/notebook.gif"> </p> 本开源项目代表了我们的一种尝试:我们将教给读者概念、背景知识和代码;我们将在同一个地方阐述剖析问题所需的批判性思维、解决问题所需的数学知识,以及实现解决方案所需的工程技能。 我们的目标是创建一个为实现以下目标的统一资源: 1. 所有人均可在网上免费获取; 1. 提供足够的技术深度,从而帮助读者实际成为深度学习应用科学家:既理解数学原理,又能够实现并不断改进方法; 1. 包含可运行的代码,为读者展示如何在实际中解决问题。这样不仅直接将数学公式对应成实际代码,而且可以修改代码、观察结果并及时获取经验; 1. 允许我们和整个社区不断快速迭代内容,从而紧跟仍在高速发展的深度学习领域; 1. 由包含有关技术细节问答的论坛作为补充,使大家可以相互答疑并交换经验。 <h5 align="center">将本书(中英文版)用作教材或参考书的大学</h5> <p align="center"> <img width="400" src="https://d2l.ai/_images/map.png"> </p> 如果本书对你有帮助,请Star (★) 本仓库或引用本书的英文版: ``` @article{zhang2021dive, title={Dive into Deep Learning}, author={Zhang, Aston and Lipton, Zachary C. and Li, Mu and Smola, Alexander J.}, journal={arXiv preprint arXiv:2106.11342}, year={2021} } ``` ## 本书的英文版 虽然纸质书已出版,但深度学习领域依然在迅速发展。为了得到来自更广泛的英文开源社区的帮助,从而提升本书质量,本书的新版将继续用英文编写,并搬回中文版。 欢迎关注本书的[英文开源项目](https://github.com/d2l-ai/d2l-en)。 ## 中英文教学资源 加州大学伯克利分校 2019 年春学期 [*Introduction to Deep Learning* 课程](http://courses.d2l.ai/berkeley-stat-157/index.html)教材(同时提供含教学视频地址的[中文版课件](https://github.com/d2l-ai/berkeley-stat-157/tree/master/slides-zh))。 ## 学术界推荐 > <p>"Dive into this book if you want to dive into deep learning!"</p> > <b>&mdash; 韩家炜,ACM 院士、IEEE 院士,美国伊利诺伊大学香槟分校计算机系 Michael Aiken Chair 教授</b> > <p>"This is a highly welcome addition to the machine learning literature."</p> > <b>&mdash; Bernhard Schölkopf,ACM 院士、德国国家科学院院士,德国马克斯•普朗克研究所智能系统院院长</b> > <p>"书中代码可谓‘所学即所用’。"</p> > <b>&mdash; 周志华,ACM 院士、IEEE 院士、AAAS 院士,南京大学计算机科学与技术系主任</b> > <p>"这本书可以帮助深度学习实践者快速提升自己的能力。"</p> > <b>&mdash; 张潼,ASA 院士、IMS 院士,香港科技大学计算机系和数学系教授</b> ## 工业界推荐 > <p>"一本优秀的深度学习教材,值得任何想了解深度学习何以引爆人工智能革命的人关注。"</p> > <b>&mdash; 黄仁勋,NVIDIA创始人 & CEO</b> > <p>"《动手学深度学习》是最适合工业界研发工程师学习的。我毫无保留地向广大的读者们强烈推荐。"</p> > <b>&mdash; 余凯,地平线公司创始人 & CEO</b> > <p>"强烈推荐这本书!我特别赞赏这种手脑一体的学习方式。"</p> > <b>&mdash; 漆远,复旦大学“浩清”教授、人工智能创新与产业研究院院长</b> > <p>"《动手学深度学习》是一本很容易让学习者上瘾的书。"</p> > <b>&mdash; 沈强,将门创投创始合伙人</b> ## 贡献 感谢[社区贡献者们](https://github.com/d2l-ai/d2l-zh/graphs/contributors)为每一位读者改进这本开源书。 [如何贡献](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/contributing.html) | [致谢](https://zh.d2l.ai/chapter_preface/index.html) | [讨论或报告问题](https://discuss.d2l.ai/c/chinese-version/16) | [其他](INFO.md)
3,163
General Assembly's 2015 Data Science course in Washington, DC
## DAT8 Course Repository Course materials for [General Assembly's Data Science course](https://generalassemb.ly/education/data-science/washington-dc/) in Washington, DC (8/18/15 - 10/29/15). **Instructor:** Kevin Markham ([Data School blog](http://www.dataschool.io/), [email newsletter](http://www.dataschool.io/subscribe/), [YouTube channel](https://www.youtube.com/user/dataschool)) [![Binder](http://mybinder.org/badge.svg)](http://mybinder.org/repo/justmarkham/DAT8) Tuesday | Thursday --- | --- 8/18: [Introduction to Data Science](#class-1-introduction-to-data-science) | 8/20: [Command Line, Version Control](#class-2-command-line-and-version-control) 8/25: [Data Reading and Cleaning](#class-3-data-reading-and-cleaning) | 8/27: [Exploratory Data Analysis](#class-4-exploratory-data-analysis) 9/1: [Visualization](#class-5-visualization) | 9/3: [Machine Learning](#class-6-machine-learning) 9/8: [Getting Data](#class-7-getting-data) | 9/10: [K-Nearest Neighbors](#class-8-k-nearest-neighbors) 9/15: [Basic Model Evaluation](#class-9-basic-model-evaluation) | 9/17: [Linear Regression](#class-10-linear-regression) 9/22: [First Project Presentation](#class-11-first-project-presentation) | 9/24: [Logistic Regression](#class-12-logistic-regression) 9/29: [Advanced Model Evaluation](#class-13-advanced-model-evaluation) | 10/1: [Naive Bayes and Text Data](#class-14-naive-bayes-and-text-data) 10/6: [Natural Language Processing](#class-15-natural-language-processing) | 10/8: [Kaggle Competition](#class-16-kaggle-competition) 10/13: [Decision Trees](#class-17-decision-trees) | 10/15: [Ensembling](#class-18-ensembling) 10/20: [Advanced scikit-learn, Clustering](#class-19-advanced-scikit-learn-and-clustering) | 10/22: [Regularization, Regex](#class-20-regularization-and-regular-expressions) 10/27: [Course Review](#class-21-course-review-and-final-project-presentation) | 10/29: [Final Project Presentation](#class-22-final-project-presentation) <!-- ### Before the Course Begins * Install [Git](http://git-scm.com/downloads). * Create an account on the [GitHub](https://github.com/) website. * It is not necessary to download "GitHub for Windows" or "GitHub for Mac" * Install the [Anaconda distribution](http://continuum.io/downloads) of Python 2.7x. * If you choose not to use Anaconda, here is a list of the [Python packages](other/python_packages.md) you will need to install during the course. * We would like to check the setup of your laptop before the course begins: * You can have your laptop checked before the intermediate Python workshop on Tuesday 8/11 (5:30pm-6:30pm), at the [15th & K Starbucks](http://www.yelp.com/biz/starbucks-washington-15) on Saturday 8/15 (1pm-3pm), or before class on Tuesday 8/18 (5:30pm-6:30pm). * Alternatively, you can walk through the [setup checklist](other/setup_checklist.md) yourself. * Once you receive an email invitation from Slack, join our "DAT8 team" and add your photo. * Practice Python using the resources below. --> ### Python Resources * [Codecademy's Python course](http://www.codecademy.com/en/tracks/python): Good beginner material, including tons of in-browser exercises. * [Dataquest](https://www.dataquest.io): Uses interactive exercises to teach Python in the context of data science. * [Google's Python Class](https://developers.google.com/edu/python/): Slightly more advanced, including hours of useful lecture videos and downloadable exercises (with solutions). * [Introduction to Python](http://introtopython.org/): A series of IPython notebooks that do a great job explaining core Python concepts and data structures. * [Python for Informatics](http://www.pythonlearn.com/book.php): A very beginner-oriented book, with associated [slides](https://drive.google.com/folderview?id=0B7X1ycQalUnyal9yeUx3VW81VDg&usp=sharing) and [videos](https://www.youtube.com/playlist?list=PLlRFEj9H3Oj4JXIwMwN1_ss1Tk8wZShEJ). * [A Crash Course in Python for Scientists](http://nbviewer.ipython.org/gist/rpmuller/5920182): Read through the Overview section for a very quick introduction to Python. * [Python 2.7 Quick Reference](https://github.com/justmarkham/python-reference/blob/master/reference.py): My beginner-oriented guide that demonstrates Python concepts through short, well-commented examples. * [Beginner](code/00_python_beginner_workshop.py) and [intermediate](code/00_python_intermediate_workshop.py) workshop code: Useful for review and reference. * [Python Tutor](http://pythontutor.com/): Allows you to visualize the execution of Python code. <!-- ### Submission Forms * [Feedback form](http://bit.ly/dat8feedback) * [Homework and project submissions](http://bit.ly/dat8homework) --> ### [Course project](project/README.md) ### [Comparison of machine learning models](other/model_comparison.md) ### [Comparison of model evaluation procedures and metrics](other/model_evaluation_comparison.md) ### [Advice for getting better at data science](other/advice.md) ### [Additional resources](#additional-resources-1) ----- ### Class 1: Introduction to Data Science * Course overview ([slides](slides/01_course_overview.pdf)) * Introduction to data science ([slides](slides/01_intro_to_data_science.pdf)) * Discuss the course project: [requirements](project/README.md) and [example projects](https://github.com/justmarkham/DAT-project-examples) * Types of data ([slides](slides/01_types_of_data.pdf)) and [public data sources](project/public_data.md) * Welcome from General Assembly staff **Homework:** * Work through GA's friendly [command line tutorial](http://generalassembly.github.io/prework/command-line/#/) using Terminal (Linux/Mac) or Git Bash (Windows). * Read through this [command line reference](code/02_command_line.md), and complete the pre-class exercise at the bottom. (There's nothing you need to submit once you're done.) * Watch videos 1 through 8 (21 minutes) of [Introduction to Git and GitHub](https://www.youtube.com/playlist?list=PL5-da3qGB5IBLMp7LtN8Nc3Efd4hJq0kD), or read sections 1.1 through 2.2 of [Pro Git](http://git-scm.com/book/en/v2). * If your laptop has any setup issues, please work with us to resolve them by Thursday. If your laptop has not yet been checked, you should come early on Thursday, or just walk through the [setup checklist](other/setup_checklist.md) yourself (and let us know you have done so). **Resources:** * For a useful look at the different types of data scientists, read [Analyzing the Analyzers](http://cdn.oreillystatic.com/oreilly/radarreport/0636920029014/Analyzing_the_Analyzers.pdf) (32 pages). * For some thoughts on what it's like to be a data scientist, read these short posts from [Win-Vector](http://www.win-vector.com/blog/2012/09/on-being-a-data-scientist/) and [Datascope Analytics](http://datascopeanalytics.com/what-we-think/2014/07/31/six-qualities-of-a-great-data-scientist). * Quora has a [data science topic FAQ](https://www.quora.com/Data-Science) with lots of interesting Q&A. * Keep up with local data-related events through the Data Community DC [event calendar](http://www.datacommunitydc.org/calendar) or [weekly newsletter](http://www.datacommunitydc.org/newsletter). ----- ### Class 2: Command Line and Version Control * Slack tour * Review the command line pre-class exercise ([code](code/02_command_line.md)) * Git and GitHub ([slides](slides/02_git_github.pdf)) * Intermediate command line **Homework:** * Complete the [command line homework assignment](homework/02_command_line_chipotle.md) with the Chipotle data. * Review the code from the [beginner](code/00_python_beginner_workshop.py) and [intermediate](code/00_python_intermediate_workshop.py) Python workshops. If you don't feel comfortable with any of the content (excluding the "requests" and "APIs" sections), you should spend some time this weekend practicing Python: * [Introduction to Python](http://introtopython.org/) does a great job explaining Python essentials and includes tons of example code. * If you like learning from a book, [Python for Informatics](http://www.pythonlearn.com/html-270/) has useful chapters on strings, lists, and dictionaries. * If you prefer interactive exercises, try these lessons from [Codecademy](http://www.codecademy.com/en/tracks/python): "Python Lists and Dictionaries" and "A Day at the Supermarket". * If you have more time, try missions 2 and 3 from [DataQuest's Learning Python](https://www.dataquest.io/course/learning-python) course. * If you've already mastered these topics and want more of a challenge, try solving [Python Challenge](http://www.pythonchallenge.com/) number 1 (decoding a message) and send me your code in Slack. * To give you a framework for thinking about your project, watch [What is machine learning, and how does it work?](https://www.youtube.com/watch?v=elojMnjn4kk) (10 minutes). (This is the [IPython notebook](https://github.com/justmarkham/scikit-learn-videos/blob/master/01_machine_learning_intro.ipynb) shown in the video.) Alternatively, read [A Visual Introduction to Machine Learning](http://www.r2d3.us/visual-intro-to-machine-learning-part-1/), which focuses on a specific machine learning model called decision trees. * **Optional:** Browse through some more [example student projects](https://github.com/justmarkham/DAT-project-examples), which may help to inspire your own project! **Git and Markdown Resources:** * [Pro Git](http://git-scm.com/book/en/v2) is an excellent book for learning Git. Read the first two chapters to gain a deeper understanding of version control and basic commands. * If you want to practice a lot of Git (and learn many more commands), [Git Immersion](http://gitimmersion.com/) looks promising. * If you want to understand how to contribute on GitHub, you first have to understand [forks and pull requests](http://www.dataschool.io/simple-guide-to-forks-in-github-and-git/). * [GitRef](http://gitref.org/) is my favorite reference guide for Git commands, and [Git quick reference for beginners](http://www.dataschool.io/git-quick-reference-for-beginners/) is a shorter guide with commands grouped by workflow. * [Cracking the Code to GitHub's Growth](https://growthhackers.com/growth-studies/github) explains why GitHub is so popular among developers. * [Markdown Cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) provides a thorough set of Markdown examples with concise explanations. GitHub's [Mastering Markdown](https://guides.github.com/features/mastering-markdown/) is a simpler and more attractive guide, but is less comprehensive. **Command Line Resources:** * If you want to go much deeper into the command line, [Data Science at the Command Line](http://shop.oreilly.com/product/0636920032823.do) is a great book. The [companion website](http://datascienceatthecommandline.com/) provides installation instructions for a "data science toolbox" (a virtual machine with many more command line tools), as well as a long reference guide to popular command line tools. * If you want to do more at the command line with CSV files, try out [csvkit](http://csvkit.readthedocs.org/), which can be installed via `pip`. ----- ### Class 3: Data Reading and Cleaning * Git and GitHub assorted tips ([slides](slides/02_git_github.pdf)) * Review command line homework ([solution](homework/02_command_line_chipotle.md)) * Python: * Spyder interface * Looping exercise * Lesson on file reading with airline safety data ([code](code/03_file_reading.py), [data](data/airlines.csv), [article](http://fivethirtyeight.com/features/should-travelers-avoid-flying-airlines-that-have-had-crashes-in-the-past/)) * Data cleaning exercise * Walkthrough of Python homework with Chipotle data ([code](code/03_python_homework_chipotle.py), [data](data/chipotle.tsv), [article](http://www.nytimes.com/interactive/2015/02/17/upshot/what-do-people-actually-order-at-chipotle.html)) **Homework:** * Complete the [Python homework assignment](code/03_python_homework_chipotle.py) with the Chipotle data, add a commented Python script to your GitHub repo, and submit a link using the homework submission form. You have until Tuesday (9/1) to complete this assignment. (**Note:** Pandas, which is covered in class 4, should not be used for this assignment.) **Resources:** * [Want to understand Python's comprehensions? Think in Excel or SQL](http://blog.lerner.co.il/want-to-understand-pythons-comprehensions-think-like-an-accountant/) may be helpful if you are still confused by list comprehensions. * [My code isn't working](http://www.tecoed.co.uk/uploads/1/4/2/4/14249012/624506_orig.png) is a great flowchart explaining how to debug Python errors. * [PEP 8](https://www.python.org/dev/peps/pep-0008/) is Python's "classic" style guide, and is worth a read if you want to write readable code that is consistent with the rest of the Python community. * If you want to understand Python at a deeper level, Ned Batchelder's [Loop Like A Native](http://nedbatchelder.com/text/iter.html) and [Python Names and Values](http://nedbatchelder.com/text/names1.html) are excellent presentations. ----- ### Class 4: Exploratory Data Analysis * Pandas ([code](code/04_pandas.py)): * MovieLens 100k movie ratings ([data](data/u.user), [data dictionary](http://files.grouplens.org/datasets/movielens/ml-100k-README.txt), [website](http://grouplens.org/datasets/movielens/)) * Alcohol consumption by country ([data](data/drinks.csv), [article](http://fivethirtyeight.com/datalab/dear-mona-followup-where-do-people-drink-the-most-beer-wine-and-spirits/)) * Reports of UFO sightings ([data](data/ufo.csv), [website](http://www.nuforc.org/webreports.html)) * Project question exercise **Homework:** * The deadline for discussing your project ideas with an instructor is Tuesday (9/1), and your project question write-up is due Thursday (9/3). * Read [How Software in Half of NYC Cabs Generates $5.2 Million a Year in Extra Tips](http://iquantny.tumblr.com/post/107245431809/how-software-in-half-of-nyc-cabs-generates-5-2) for an excellent example of exploratory data analysis. * Read [Anscombe's Quartet, and Why Summary Statistics Don't Tell the Whole Story](http://data.heapanalytics.com/anscombes-quartet-and-why-summary-statistics-dont-tell-the-whole-story/) for a classic example of why visualization is useful. **Resources:** * Browsing or searching the Pandas [API Reference](http://pandas.pydata.org/pandas-docs/stable/api.html) is an excellent way to locate a function even if you don't know its exact name. * [What I do when I get a new data set as told through tweets](http://simplystatistics.org/2014/06/13/what-i-do-when-i-get-a-new-data-set-as-told-through-tweets/) is a fun (yet enlightening) look at the process of exploratory data analysis. ----- ### Class 5: Visualization * Python homework with the Chipotle data due ([solution](code/03_python_homework_chipotle.py), [detailed explanation](notebooks/03_python_homework_chipotle_explained.ipynb)) * Part 2 of Exploratory Data Analysis with Pandas ([code](code/04_pandas.py)) * Visualization with Pandas and Matplotlib ([notebook](notebooks/05_pandas_visualization.ipynb)) **Homework:** * Your project question write-up is due on Thursday. * Complete the [Pandas homework assignment](code/05_pandas_homework_imdb.py) with the [IMDb data](data/imdb_1000.csv). You have until Tuesday (9/8) to complete this assignment. * If you're not using Anaconda, install the [Jupyter Notebook](http://jupyter.readthedocs.org/en/latest/install.html) (formerly known as the IPython Notebook) using `pip`. (The Jupyter or IPython Notebook is included with Anaconda.) **Pandas Resources:** * To learn more Pandas, read this [three-part tutorial](http://www.gregreda.com/2013/10/26/intro-to-pandas-data-structures/), or review these two excellent (but extremely long) notebooks on Pandas: [introduction](https://github.com/fonnesbeck/Bios8366/blob/master/notebooks/Section2_5-Introduction-to-Pandas.ipynb) and [data wrangling](https://github.com/fonnesbeck/Bios8366/blob/master/notebooks/Section2_6-Data-Wrangling-with-Pandas.ipynb). * If you want to go really deep into Pandas (and NumPy), read the book [Python for Data Analysis](http://shop.oreilly.com/product/0636920023784.do), written by the creator of Pandas. * This notebook demonstrates the different types of [joins in Pandas](notebooks/05_pandas_merge.ipynb), for when you need to figure out how to merge two DataFrames. * This is a nice, short tutorial on [pivot tables](https://beta.oreilly.com/learning/pivot-tables) in Pandas. * For working with geospatial data in Python, [GeoPandas](http://geopandas.org/index.html) looks promising. This [tutorial](http://michelleful.github.io/code-blog/2015/04/24/sgmap/) uses GeoPandas (and scikit-learn) to build a "linguistic street map" of Singapore. **Visualization Resources:** * Watch [Look at Your Data](https://www.youtube.com/watch?v=coNDCIMH8bk) (18 minutes) for an excellent example of why visualization is useful for understanding your data. * For more on Pandas plotting, read this [notebook](https://github.com/fonnesbeck/Bios8366/blob/master/notebooks/Section2_7-Plotting-with-Pandas.ipynb) or the [visualization page](http://pandas.pydata.org/pandas-docs/stable/visualization.html) from the official Pandas documentation. * To learn how to customize your plots further, browse through this [notebook on matplotlib](https://github.com/fonnesbeck/Bios8366/blob/master/notebooks/Section2_4-Matplotlib.ipynb) or this [similar notebook](https://github.com/jrjohansson/scientific-python-lectures/blob/master/Lecture-4-Matplotlib.ipynb). * Read [Overview of Python Visualization Tools](http://pbpython.com/visualization-tools-1.html) for a useful comparison of Matplotlib, Pandas, Seaborn, ggplot, Bokeh, Pygal, and Plotly. * To explore different types of visualizations and when to use them, [Choosing a Good Chart](http://extremepresentation.typepad.com/files/choosing-a-good-chart-09.pdf) and [The Graphic Continuum](http://www.coolinfographics.com/storage/post-images/The-Graphic-Continuum-POSTER.jpg) are nice one-page references, and the interactive [R Graph Catalog](http://shiny.stat.ubc.ca/r-graph-catalog/) has handy filtering capabilities. * This [PowerPoint presentation](http://www2.research.att.com/~volinsky/DataMining/Columbia2011/Slides/Topic2-EDAViz.ppt) from Columbia's Data Mining class contains lots of good advice for properly using different types of visualizations. * [Harvard's Data Science course](http://cs109.github.io/2014/) includes an excellent lecture on [Visualization Goals, Data Types, and Statistical Graphs](http://cm.dce.harvard.edu/2015/01/14328/L03/screen_H264LargeTalkingHead-16x9.shtml) (83 minutes), for which the [slides](https://docs.google.com/file/d/0B7IVstmtIvlHLTdTbXdEVENoRzQ/edit) are also available. ----- ### Class 6: Machine Learning * Part 2 of Visualization with Pandas and Matplotlib ([notebook](notebooks/05_pandas_visualization.ipynb)) * Brief introduction to the Jupyter/IPython Notebook * "Human learning" exercise: * [Iris dataset](http://archive.ics.uci.edu/ml/datasets/Iris) hosted by the UCI Machine Learning Repository * [Iris photo](http://sebastianraschka.com/Images/2014_python_lda/iris_petal_sepal.png) * [Notebook](notebooks/06_human_learning_iris.ipynb) * Introduction to machine learning ([slides](slides/06_machine_learning.pdf)) **Homework:** * **Optional:** Complete the bonus exercise listed in the [human learning notebook](notebooks/06_human_learning_iris.ipynb). It will take the place of any one homework you miss, past or future! This is due on Tuesday (9/8). * If you're not using Anaconda, install [requests](http://www.python-requests.org/en/latest/user/install/) and [Beautiful Soup 4](http://www.crummy.com/software/BeautifulSoup/bs4/doc/#installing-beautiful-soup) using `pip`. (Both of these packages are included with Anaconda.) **Machine Learning Resources:** * For a very quick summary of the key points about machine learning, watch [What is machine learning, and how does it work?](https://www.youtube.com/watch?v=elojMnjn4kk) (10 minutes) or read the [associated notebook](https://github.com/justmarkham/scikit-learn-videos/blob/master/01_machine_learning_intro.ipynb). * For a more in-depth introduction to machine learning, read section 2.1 (14 pages) of Hastie and Tibshirani's excellent book, [An Introduction to Statistical Learning](http://www-bcf.usc.edu/~gareth/ISL/). (It's a free PDF download!) * The [Learning Paradigms](http://work.caltech.edu/library/014.html) video (13 minutes) from [Caltech's Learning From Data course](http://work.caltech.edu/telecourse.html) provides a nice comparison of supervised versus unsupervised learning, as well as an introduction to "reinforcement learning". * [Real-World Active Learning](https://beta.oreilly.com/ideas/real-world-active-learning) is a readable and thorough introduction to "active learning", a variation of machine learning in which humans label only the most "important" observations. * For a preview of some of the machine learning content we will cover during the course, read Sebastian Raschka's [overview of the supervised learning process](https://github.com/rasbt/pattern_classification/blob/master/machine_learning/supervised_intro/introduction_to_supervised_machine_learning.md). * [Data Science, Machine Learning, and Statistics: What is in a Name?](http://www.win-vector.com/blog/2013/04/data-science-machine-learning-and-statistics-what-is-in-a-name/) discusses the differences between these (and other) terms. * [The Emoji Translation Project](https://www.kickstarter.com/projects/fred/the-emoji-translation-project) is a really fun application of machine learning. * Look up the [characteristics of your zip code](http://www.esri.com/landing-pages/tapestry/), and then read about the [67 distinct segments](http://doc.arcgis.com/en/esri-demographics/data/tapestry-segmentation.htm) in detail. **IPython Notebook Resources:** * For a recap of the IPython Notebook introduction (and a preview of scikit-learn), watch [scikit-learn and the IPython Notebook](https://www.youtube.com/watch?v=IsXXlYVBt1M) (15 minutes) or read the [associated notebook](https://github.com/justmarkham/scikit-learn-videos/blob/master/02_machine_learning_setup.ipynb). * If you would like to learn the IPython Notebook, the official [Notebook tutorials](https://github.com/jupyter/notebook/blob/master/docs/source/examples/Notebook/Examples%20and%20Tutorials%20Index.ipynb) are useful. * This [Reddit discussion](https://www.reddit.com/r/Python/comments/3be5z2/do_you_prefer_ipython_notebook_over_ipython/) compares the relative strengths of the IPython Notebook and Spyder. ----- ### Class 7: Getting Data * Pandas homework with the IMDb data due ([solution](code/05_pandas_homework_imdb.py)) * Optional "human learning" exercise with the iris data due ([solution](notebooks/06_human_learning_iris.ipynb)) * APIs ([code](code/07_api.py)) * [OMDb API](http://www.omdbapi.com/) * Web scraping ([code](code/07_web_scraping.py)) * [IMDb: robots.txt](http://www.imdb.com/robots.txt) * [Example web page](data/example.html) * [IMDb: The Shawshank Redemption](http://www.imdb.com/title/tt0111161/) **Homework:** * **Optional:** Complete the homework exercise listed in the [web scraping code](code/07_web_scraping.py). It will take the place of any one homework you miss, past or future! This is due on Tuesday (9/15). * **Optional:** If you're not using Anaconda, [install Seaborn](http://stanford.edu/~mwaskom/software/seaborn/installing.html) using `pip`. If you're using Anaconda, install Seaborn by running `conda install seaborn` at the command line. (Note that some students in past courses have had problems with Anaconda after installing Seaborn.) **API Resources:** * This Python script to [query the U.S. Census API](https://github.com/laurakurup/census-api) was created by a former DAT student. It's a bit more complicated than the example we used in class, it's very well commented, and it may provide a useful framework for writing your own code to query APIs. * [Mashape](https://www.mashape.com/explore) and [Apigee](https://apigee.com/providers) allow you to explore tons of different APIs. Alternatively, a [Python API wrapper](http://www.pythonforbeginners.com/api/list-of-python-apis) is available for many popular APIs. * The [Data Science Toolkit](http://www.datasciencetoolkit.org/) is a collection of location-based and text-related APIs. * [API Integration in Python](https://realpython.com/blog/python/api-integration-in-python/) provides a very readable introduction to REST APIs. * Microsoft's [Face Detection API](https://www.projectoxford.ai/demo/face#detection), which powers [How-Old.net](http://how-old.net/), is a great example of how a machine learning API can be leveraged to produce a compelling web application. **Web Scraping Resources:** * The [Beautiful Soup documentation](http://www.crummy.com/software/BeautifulSoup/bs4/doc/) is incredibly thorough, but is hard to use as a reference guide. However, the section on [specifying a parser](http://www.crummy.com/software/BeautifulSoup/bs4/doc/#specifying-the-parser-to-use) may be helpful if Beautiful Soup appears to be parsing a page incorrectly. * For more Beautiful Soup examples and tutorials, see [Web Scraping 101 with Python](http://www.gregreda.com/2013/03/03/web-scraping-101-with-python/), a former DAT student's well-commented notebook on [scraping Craigslist](https://github.com/Alexjmsherman/DataScience_GeneralAssembly/blob/master/Final_Project/1.%20Final_Project_Data%20Scraping.ipynb), this [notebook](http://web.stanford.edu/~zlotnick/TextAsData/Web_Scraping_with_Beautiful_Soup.html) from Stanford's Text As Data course, and this [notebook](https://github.com/cs109/2014/blob/master/lectures/2014_09_23-lecture/data_scraping_transcript.ipynb) and associated [video](http://cm.dce.harvard.edu/2015/01/14328/L07/screen_H264LargeTalkingHead-16x9.shtml) from Harvard's Data Science course. * For a much longer web scraping tutorial covering Beautiful Soup, lxml, XPath, and Selenium, watch [Web Scraping with Python](https://www.youtube.com/watch?v=p1iX0uxM1w8) (3 hours 23 minutes) from PyCon 2014. The [slides](https://docs.google.com/presentation/d/1uHM_esB13VuSf7O1ScGueisnrtu-6usGFD3fs4z5YCE/edit#slide=id.p) and [code](https://github.com/kjam/python-web-scraping-tutorial) are also available. * For more complex web scraping projects, [Scrapy](http://scrapy.org/) is a popular application framework that works with Python. It has excellent [documentation](http://doc.scrapy.org/en/1.0/index.html), and here's a [tutorial](https://github.com/rdempsey/ddl-data-wrangling) with detailed slides and code. * [robotstxt.org](http://www.robotstxt.org/robotstxt.html) has a concise explanation of how to write (and read) the `robots.txt` file. * [import.io](https://import.io/) and [Kimono](https://www.kimonolabs.com/) claim to allow you to scrape websites without writing any code. * [How a Math Genius Hacked OkCupid to Find True Love](http://www.wired.com/2014/01/how-to-hack-okcupid/all/) and [How Netflix Reverse Engineered Hollywood](http://www.theatlantic.com/technology/archive/2014/01/how-netflix-reverse-engineered-hollywood/282679/?single_page=true) are two fun examples of how web scraping has been used to build interesting datasets. ----- ### Class 8: K-Nearest Neighbors * Brief review of Pandas ([notebook](notebooks/08_pandas_review.ipynb)) * K-nearest neighbors and scikit-learn ([notebook](notebooks/08_knn_sklearn.ipynb)) * Exercise with NBA player data ([notebook](notebooks/08_nba_knn.ipynb), [data](https://github.com/justmarkham/DAT4-students/blob/master/kerry/Final/NBA_players_2015.csv), [data dictionary](https://github.com/justmarkham/DAT-project-examples/blob/master/pdf/nba_paper.pdf)) * Exploring the bias-variance tradeoff ([notebook](notebooks/08_bias_variance.ipynb)) **Homework:** * Reading assignment on the [bias-variance tradeoff](homework/09_bias_variance.md) * Read Kevin's [introduction to reproducibility](http://www.dataschool.io/reproducibility-is-not-just-for-researchers/), read Jeff Leek's [guide to creating a reproducible analysis](https://github.com/jtleek/datasharing), and watch this related [Colbert Report video](http://thecolbertreport.cc.com/videos/dcyvro/austerity-s-spreadsheet-error) (8 minutes). * Work on your project... your first project presentation is in less than two weeks! **KNN Resources:** * For a recap of the key points about KNN and scikit-learn, watch [Getting started in scikit-learn with the famous iris dataset](https://www.youtube.com/watch?v=hd1W4CyPX58) (15 minutes) and [Training a machine learning model with scikit-learn](https://www.youtube.com/watch?v=RlQuVL6-qe8) (20 minutes). * KNN supports [distance metrics](http://scikit-learn.org/stable/modules/generated/sklearn.neighbors.DistanceMetric.html) other than Euclidean distance, such as [Mahalanobis distance](http://stats.stackexchange.com/questions/62092/bottom-to-top-explanation-of-the-mahalanobis-distance), which [takes the scale of the data into account](http://blogs.sas.com/content/iml/2012/02/15/what-is-mahalanobis-distance.html). * [A Detailed Introduction to KNN](https://saravananthirumuruganathan.wordpress.com/2010/05/17/a-detailed-introduction-to-k-nearest-neighbor-knn-algorithm/) is a bit dense, but provides a more thorough introduction to KNN and its applications. * This lecture on [Image Classification](http://cs231n.github.io/classification/) shows how KNN could be used for detecting similar images, and also touches on topics we will cover in future classes (hyperparameter tuning and cross-validation). * Some applications for which KNN is well-suited are [object recognition](http://vlm1.uta.edu/~athitsos/nearest_neighbors/), [satellite image enhancement](http://land.umn.edu/documents/FS6.pdf), [document categorization](http://www.ceng.metu.edu.tr/~e120321/paper.pdf), and [gene expression analysis](http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.208.993). **Seaborn Resources:** * To get started with Seaborn for visualization, the official website has a series of [detailed tutorials](http://web.stanford.edu/~mwaskom/software/seaborn/tutorial.html) and an [example gallery](http://web.stanford.edu/~mwaskom/software/seaborn/examples/index.html). * [Data visualization with Seaborn](https://beta.oreilly.com/learning/data-visualization-with-seaborn) is a quick tour of some of the popular types of Seaborn plots. * [Visualizing Google Forms Data with Seaborn](http://pbpython.com/pandas-google-forms-part2.html) and [How to Create NBA Shot Charts in Python](http://savvastjortjoglou.com/nba-shot-sharts.html) are both good examples of Seaborn usage on real-world data. ----- ### Class 9: Basic Model Evaluation * Optional web scraping homework due ([solution](code/07_web_scraping.py#L136)) * Reproducibility * Discuss assigned readings: [introduction](http://www.dataschool.io/reproducibility-is-not-just-for-researchers/), [Colbert Report video](http://thecolbertreport.cc.com/videos/dcyvro/austerity-s-spreadsheet-error), [cabs article](http://iquantny.tumblr.com/post/107245431809/how-software-in-half-of-nyc-cabs-generates-5-2), [Tweet](https://twitter.com/jakevdp/status/519563939177197571), [creating a reproducible analysis](https://github.com/jtleek/datasharing) * Examples: [Classic rock](https://github.com/fivethirtyeight/data/tree/master/classic-rock), [student project 1](https://github.com/jwknobloch/DAT4_final_project), [student project 2](https://github.com/justmarkham/DAT4-students/tree/master/Jonathan_Bryan/Project_Files) * Discuss the reading assignment on the [bias-variance tradeoff](homework/09_bias_variance.md) * Model evaluation using train/test split ([notebook](notebooks/09_model_evaluation.ipynb)) * Exploring the scikit-learn documentation: [module reference](http://scikit-learn.org/stable/modules/classes.html), [user guide](http://scikit-learn.org/stable/user_guide.html), class and function documentation **Homework:** * Watch [Data science in Python](https://www.youtube.com/watch?v=3ZWuPVWq7p4) (35 minutes) for an introduction to linear regression (and a review of other course content), or at the very least, read through the [associated notebook](https://github.com/justmarkham/scikit-learn-videos/blob/master/06_linear_regression.ipynb). * **Optional:** For another introduction to linear regression, watch [The Easiest Introduction to Regression Analysis](https://www.youtube.com/watch?v=k_OB1tWX9PM) (14 minutes). **Model Evaluation Resources:** * For a recap of some of the key points from today's lesson, watch [Comparing machine learning models in scikit-learn](https://www.youtube.com/watch?v=0pP4EwWJgIU) (27 minutes). * For another explanation of training error versus testing error, the bias-variance tradeoff, and train/test split (also known as the "validation set approach"), watch Hastie and Tibshirani's video on [estimating prediction error](https://www.youtube.com/watch?v=_2ij6eaaSl0&t=2m34s) (12 minutes, starting at 2:34). * Caltech's Learning From Data course includes a fantastic video on [visualizing bias and variance](http://work.caltech.edu/library/081.html) (15 minutes). * [Random Test/Train Split is Not Always Enough](http://www.win-vector.com/blog/2015/01/random-testtrain-split-is-not-always-enough/) explains why random train/test split may not be a suitable model evaluation procedure if your data has a significant time element. **Reproducibility Resources:** * [What We've Learned About Sharing Our Data Analysis](https://source.opennews.org/en-US/articles/what-weve-learned-about-sharing-our-data-analysis/) includes tips from BuzzFeed News about how to publish a reproducible analysis. * [Software development skills for data scientists](http://treycausey.com/software_dev_skills.html) discusses the importance of writing functions and proper code comments (among other skills), which are highly useful for creating a reproducible analysis. * [Data science done well looks easy - and that is a big problem for data scientists](http://simplystatistics.org/2015/03/17/data-science-done-well-looks-easy-and-that-is-a-big-problem-for-data-scientists/) explains how a reproducible analysis demonstrates all of the work that goes into proper data science. ----- ### Class 10: Linear Regression * Machine learning exercise ([article](http://blog.dominodatalab.com/10-interesting-uses-of-data-science/)) * Linear regression ([notebook](notebooks/10_linear_regression.ipynb)) * [Capital Bikeshare dataset](data/bikeshare.csv) used in a Kaggle competition * [Data dictionary](https://www.kaggle.com/c/bike-sharing-demand/data) * Feature engineering example: [Predicting User Engagement in Corporate Collaboration Network](https://github.com/mikeyea/DAT7_project/blob/master/final%20project/Class_Presention_MYea.ipynb) **Homework:** * Your first project presentation is on Tuesday (9/22)! Please submit a link to your project repository (with slides, code, data, and visualizations) by 6pm on Tuesday. * Complete the [homework assignment](homework/10_yelp_votes.md) with the [Yelp data](data/yelp.csv). This is due on Thursday (9/24). **Linear Regression Resources:** * To go much more in-depth on linear regression, read Chapter 3 of [An Introduction to Statistical Learning](http://www-bcf.usc.edu/~gareth/ISL/). Alternatively, watch the [related videos](http://www.dataschool.io/15-hours-of-expert-machine-learning-videos/) or read my [quick reference guide](http://www.dataschool.io/applying-and-interpreting-linear-regression/) to the key points in that chapter. * This [introduction to linear regression](http://people.duke.edu/~rnau/regintro.htm) is more detailed and mathematically thorough, and includes lots of good advice. * This is a relatively quick post on the [assumptions of linear regression](http://pareonline.net/getvn.asp?n=2&v=8). * Setosa has an [interactive visualization](http://setosa.io/ev/ordinary-least-squares-regression/) of linear regression. * For a brief introduction to confidence intervals, hypothesis testing, p-values, and R-squared, as well as a comparison between scikit-learn code and [Statsmodels](http://statsmodels.sourceforge.net/) code, read my [DAT7 lesson on linear regression](https://github.com/justmarkham/DAT7/blob/master/notebooks/10_linear_regression.ipynb). * Here is a useful explanation of [confidence intervals](http://www.quora.com/What-is-a-confidence-interval-in-laymans-terms/answer/Michael-Hochster) from Quora. * [Hypothesis Testing: The Basics](http://20bits.com/article/hypothesis-testing-the-basics) provides a nice overview of the topic, and John Rauser's talk on [Statistics Without the Agonizing Pain](https://www.youtube.com/watch?v=5Dnw46eC-0o) (12 minutes) gives a great explanation of how the null hypothesis is rejected. * Earlier this year, a major scientific journal banned the use of p-values: * Scientific American has a nice [summary](http://www.scientificamerican.com/article/scientists-perturbed-by-loss-of-stat-tools-to-sift-research-fudge-from-fact/) of the ban. * This [response](http://www.nature.com/news/statistics-p-values-are-just-the-tip-of-the-iceberg-1.17412) to the ban in Nature argues that "decisions that are made earlier in data analysis have a much greater impact on results". * Andrew Gelman has a readable [paper](http://www.stat.columbia.edu/~gelman/research/unpublished/p_hacking.pdf) in which he argues that "it's easy to find a p < .05 comparison even if nothing is going on, if you look hard enough". * [Science Isn't Broken](http://fivethirtyeight.com/features/science-isnt-broken/) includes a neat tool that allows you to "p-hack" your way to "statistically significant" results. * [Accurately Measuring Model Prediction Error](http://scott.fortmann-roe.com/docs/MeasuringError.html) compares adjusted R-squared, AIC and BIC, train/test split, and cross-validation. **Other Resources:** * Section 3.3.1 of [An Introduction to Statistical Learning](http://www-bcf.usc.edu/~gareth/ISL/) (4 pages) has a great explanation of dummy encoding for categorical features. * Kaggle has some nice [visualizations of the bikeshare data](https://www.kaggle.com/c/bike-sharing-demand/scripts?outputType=Visualization) we used today. ----- ### Class 11: First Project Presentation * Project presentations! **Homework:** * Watch Rahul Patwari's videos on [probability](https://www.youtube.com/watch?v=o4QmoNfW3bI) (5 minutes) and [odds](https://www.youtube.com/watch?v=GxbXQjX7fC0) (8 minutes) if you're not comfortable with either of those terms. * Read these excellent articles from BetterExplained: [An Intuitive Guide To Exponential Functions & e](http://betterexplained.com/articles/an-intuitive-guide-to-exponential-functions-e/) and [Demystifying the Natural Logarithm (ln)](http://betterexplained.com/articles/demystifying-the-natural-logarithm-ln/). Then, review this [brief summary](notebooks/12_e_log_examples.ipynb) of exponential functions and logarithms. ----- ### Class 12: Logistic Regression * Yelp votes homework due ([solution](notebooks/10_yelp_votes_homework.ipynb)) * Logistic regression ([notebook](notebooks/12_logistic_regression.ipynb)) * [Glass identification dataset](https://archive.ics.uci.edu/ml/datasets/Glass+Identification) * Exercise with Titanic data ([notebook](notebooks/12_titanic_confusion.ipynb), [data](data/titanic.csv), [data dictionary](https://www.kaggle.com/c/titanic/data)) * Confusion matrix ([slides](slides/12_confusion_matrix.pdf), [notebook](notebooks/12_titanic_confusion.ipynb)) **Homework:** * If you aren't yet comfortable with all of the confusion matrix terminology, watch Rahul Patwari's videos on [Intuitive sensitivity and specificity](https://www.youtube.com/watch?v=U4_3fditnWg) (9 minutes) and [The tradeoff between sensitivity and specificity](https://www.youtube.com/watch?v=vtYDyGGeQyo) (13 minutes). * Video/reading assignment on [ROC curves and AUC](homework/13_roc_auc.md) * Video/reading assignment on [cross-validation](homework/13_cross_validation.md) **Logistic Regression Resources:** * To go deeper into logistic regression, read the first three sections of Chapter 4 of [An Introduction to Statistical Learning](http://www-bcf.usc.edu/~gareth/ISL/), or watch the [first three videos](http://www.dataschool.io/15-hours-of-expert-machine-learning-videos/) (30 minutes) from that chapter. * For a math-ier explanation of logistic regression, watch the first seven videos (71 minutes) from week 3 of Andrew Ng's [machine learning course](https://www.coursera.org/learn/machine-learning/home/info), or read the [related lecture notes](http://www.holehouse.org/mlclass/06_Logistic_Regression.html) compiled by a student. * For more on interpreting logistic regression coefficients, read this excellent [guide](http://www.ats.ucla.edu/stat/mult_pkg/faq/general/odds_ratio.htm) by UCLA's IDRE and these [lecture notes](http://www.unm.edu/~schrader/biostat/bio2/Spr06/lec11.pdf) from the University of New Mexico. * The scikit-learn documentation has a nice [explanation](http://scikit-learn.org/stable/modules/calibration.html) of what it means for a predicted probability to be calibrated. * [Supervised learning superstitions cheat sheet](http://ryancompton.net/assets/ml_cheat_sheet/supervised_learning.html) is a very nice comparison of four classifiers we cover in the course (logistic regression, decision trees, KNN, Naive Bayes) and one classifier we do not cover (Support Vector Machines). **Confusion Matrix Resources:** * My [simple guide to confusion matrix terminology](http://www.dataschool.io/simple-guide-to-confusion-matrix-terminology/) may be useful to you as a reference. * This blog post about [Amazon Machine Learning](https://aws.amazon.com/blogs/aws/amazon-machine-learning-make-data-driven-decisions-at-scale/) contains a neat [graphic](https://media.amazonwebservices.com/blog/2015/ml_adjust_model_1.png) showing how classification threshold affects different evaluation metrics. * This notebook (from another DAT course) explains [how to calculate "expected value"](https://github.com/podopie/DAT18NYC/blob/master/classes/13-expected_value_cost_benefit_analysis.ipynb) from a confusion matrix by treating it as a cost-benefit matrix. ----- ### Class 13: Advanced Model Evaluation * Data preparation ([notebook](notebooks/13_advanced_model_evaluation.ipynb)) * Handling missing values * Handling categorical features (review) * ROC curves and AUC * Discuss the [video/reading assignment](homework/13_roc_auc.md) * Exercise: drawing an ROC curve ([slides](slides/13_drawing_roc.pdf)) * Return to the main notebook * Cross-validation * Discuss the [video/reading assignment](homework/13_cross_validation.md) and associated [notebook](notebooks/13_cross_validation.ipynb) * Return to the main notebook * Exercise with bank marketing data ([notebook](notebooks/13_bank_exercise.ipynb), [data](data/bank-additional.csv), [data dictionary](https://archive.ics.uci.edu/ml/datasets/Bank+Marketing)) **Homework:** * Reading assignment on [spam filtering](homework/14_spam_filtering.md) * Read these [Introduction to Probability](https://docs.google.com/presentation/d/1cM2dVbJgTWMkHoVNmYlB9df6P2H8BrjaqAcZTaLe9dA/edit#slide=id.gfc3caad2_00) slides, or skim section 2.1 of the [OpenIntro Statistics textbook](https://www.openintro.org/stat/textbook.php?stat_book=os) (12 pages). Pay specific attention to the following terms: probability, mutually exclusive, sample space, independent. * **Optional:** Try to gain an understanding of conditional probability from this [visualization](http://setosa.io/conditional/). * **Optional:** For an intuitive introduction to Bayes' theorem, read these posts on [wealth and happiness](http://www.quora.com/What-is-an-intuitive-explanation-of-Bayes-Rule/answer/Michael-Hochster), [ducks](https://planspacedotorg.wordpress.com/2014/02/23/bayes-rule-for-ducks/), or [legos](http://www.countbayesie.com/blog/2015/2/18/bayes-theorem-with-lego). **ROC Resources:** * Rahul Patwari has a great video on [ROC Curves](https://www.youtube.com/watch?v=21Igj5Pr6u4) (12 minutes). * [An introduction to ROC analysis](http://people.inf.elte.hu/kiss/13dwhdm/roc.pdf) is a very readable paper on the topic. * ROC curves can be used across a wide variety of applications, such as [comparing different feature sets](http://research.microsoft.com/pubs/205472/aisec10-leontjeva.pdf) for detecting fraudulent Skype users, and [comparing different classifiers](http://www.cse.ust.hk/nevinZhangGroup/readings/yi/Bradley_PR97.pdf) on a number of popular datasets. **Cross-Validation Resources:** * For more on cross-validation, read section 5.1 of [An Introduction to Statistical Learning](http://www-bcf.usc.edu/~gareth/ISL/) (11 pages) or watch the related videos: [K-fold and leave-one-out cross-validation](https://www.youtube.com/watch?v=nZAM5OXrktY) (14 minutes), [cross-validation the right and wrong ways](https://www.youtube.com/watch?v=S06JpVoNaA0) (10 minutes). * If you want to understand the different variations of cross-validation, this [paper](http://www.jcheminf.com/content/pdf/1758-2946-6-10.pdf) examines and compares them in detail. * To learn how to use [GridSearchCV and RandomizedSearchCV](http://scikit-learn.org/stable/modules/grid_search.html) for parameter tuning, watch [How to find the best model parameters in scikit-learn](https://www.youtube.com/watch?v=Gol_qOgRqfA) (28 minutes) or read the [associated notebook](https://github.com/justmarkham/scikit-learn-videos/blob/master/08_grid_search.ipynb). **Other Resources:** * scikit-learn has extensive documentation on [model evaluation](http://scikit-learn.org/stable/modules/model_evaluation.html). * [Counterfactual evaluation of machine learning models](https://www.youtube.com/watch?v=QWCSxAKR-h0) (45 minutes) is an excellent talk about the sophisticated way in which Stripe evaluates its fraud detection model. (These are the associated [slides](http://www.slideshare.net/MichaelManapat/counterfactual-evaluation-of-machine-learning-models).) * [Visualizing Machine Learning Thresholds to Make Better Business Decisions](http://blog.insightdatalabs.com/visualizing-classifier-thresholds/) demonstrates how visualizing precision, recall, and "queue rate" at different thresholds can help you to maximize the business value of your classifier. ----- ### Class 14: Naive Bayes and Text Data * Conditional probability and Bayes' theorem * [Slides](slides/14_bayes_theorem.pdf) (adapted from [Visualizing Bayes' theorem](http://oscarbonilla.com/2009/05/visualizing-bayes-theorem/)) * Applying Bayes' theorem to iris classification ([notebook](notebooks/14_bayes_theorem_iris.ipynb)) * Naive Bayes classification * [Slides](slides/14_naive_bayes.pdf) * Spam filtering example ([notebook](notebooks/14_naive_bayes_spam.ipynb)) * Applying Naive Bayes to text data in scikit-learn ([notebook](notebooks/14_text_data_sklearn.ipynb)) * [CountVectorizer](http://scikit-learn.org/stable/modules/generated/sklearn.feature_extraction.text.CountVectorizer.html) documentation * SMS messages: [data](data/sms.tsv), [data dictionary](https://archive.ics.uci.edu/ml/datasets/SMS+Spam+Collection) **Homework:** * Complete another [homework assignment](homework/14_yelp_review_text.md) with the [Yelp data](data/yelp.csv). This is due on Tuesday (10/6). * Confirm that you have [TextBlob](https://textblob.readthedocs.org/) installed by running `import textblob` from within your preferred Python environment. If it's not installed, run `pip install textblob` at the command line (not from within Python). **Resources:** * Sebastian Raschka's article on [Naive Bayes and Text Classification](http://sebastianraschka.com/Articles/2014_naive_bayes_1.html) covers the conceptual material from today's class in much more detail. * For more on conditional probability, read these [slides](https://docs.google.com/presentation/d/1psUIyig6OxHQngGEHr3TMkCvhdLInnKnclQoNUr4G4U/edit#slide=id.gfc69f484_00), or read section 2.2 of the [OpenIntro Statistics textbook](https://www.openintro.org/stat/textbook.php?stat_book=os) (15 pages). * For an intuitive explanation of Naive Bayes classification, read this post on [airport security](http://www.quora.com/In-laymans-terms-how-does-Naive-Bayes-work/answer/Konstantin-Tt). * For more details on Naive Bayes classification, Wikipedia has two excellent articles ([Naive Bayes classifier](http://en.wikipedia.org/wiki/Naive_Bayes_classifier) and [Naive Bayes spam filtering](http://en.wikipedia.org/wiki/Naive_Bayes_spam_filtering)), and Cross Validated has a good [Q&A](http://stats.stackexchange.com/questions/21822/understanding-naive-bayes). * When applying Naive Bayes classification to a dataset with continuous features, it is better to use [GaussianNB](http://scikit-learn.org/stable/modules/generated/sklearn.naive_bayes.GaussianNB.html) rather than [MultinomialNB](http://scikit-learn.org/stable/modules/generated/sklearn.naive_bayes.MultinomialNB.html). This [notebook](notebooks/14_types_of_naive_bayes.ipynb) compares their performances on such a dataset. Wikipedia has a short [description](https://en.wikipedia.org/wiki/Naive_Bayes_classifier#Gaussian_naive_Bayes) of Gaussian Naive Bayes, as well as an excellent [example](https://en.wikipedia.org/wiki/Naive_Bayes_classifier#Sex_classification) of its usage. * These [slides](http://www.umiacs.umd.edu/~jbg/teaching/DATA_DIGGING/lecture_05.pdf) from the University of Maryland provide more mathematical details on both logistic regression and Naive Bayes, and also explain how Naive Bayes is actually a "special case" of logistic regression. * Andrew Ng has a [paper](http://ai.stanford.edu/~ang/papers/nips01-discriminativegenerative.pdf) comparing the performance of logistic regression and Naive Bayes across a variety of datasets. * If you enjoyed Paul Graham's article, you can read [his follow-up article](http://www.paulgraham.com/better.html) on how he improved his spam filter and this [related paper](http://www.merl.com/publications/docs/TR2004-091.pdf) about state-of-the-art spam filtering in 2004. * Yelp has found that Naive Bayes is more effective than Mechanical Turks at [categorizing businesses](http://engineeringblog.yelp.com/2011/02/towards-building-a-high-quality-workforce-with-mechanical-turk.html). ----- ### Class 15: Natural Language Processing * Yelp review text homework due ([solution](notebooks/14_yelp_review_text_homework.ipynb)) * Natural language processing ([notebook](notebooks/15_natural_language_processing.ipynb)) * Introduction to our [Kaggle competition](https://inclass.kaggle.com/c/dat8-stack-overflow) * Create a Kaggle account, join the competition using the invitation link, download the sample submission, and then submit the sample submission (which will require SMS account verification). **Homework:** * Your draft paper is due on Thursday (10/8)! Please submit a link to your project repository (with paper, code, data, and visualizations) before class. * Watch [Kaggle: How it Works](https://www.youtube.com/watch?v=PoD84TVdD-4) (4 minutes) for a brief overview of the Kaggle platform. * Download the competition files, move them to the `DAT8/data` directory, and make sure you can open the CSV files using Pandas. If you have any problems opening the files, you probably need to turn off real-time virus scanning (especially Microsoft Security Essentials). * **Optional:** Come up with some theories about which features might be relevant to predicting the response, and then explore the data to see if those theories appear to be true. * **Optional:** Watch my [project presentation video](https://www.youtube.com/watch?v=HGr1yQV3Um0) (16 minutes) for a tour of the end-to-end machine learning process for a Kaggle competition, including feature engineering. (Or, just read through the [slides](https://speakerdeck.com/justmarkham/allstate-purchase-prediction-challenge-on-kaggle).) **NLP Resources:** * If you want to learn a lot more NLP, check out the excellent [video lectures](https://class.coursera.org/nlp/lecture) and [slides](http://web.stanford.edu/~jurafsky/NLPCourseraSlides.html) from this [Coursera course](https://www.coursera.org/course/nlp) (which is no longer being offered). * This slide deck defines many of the [key NLP terms](https://github.com/ga-students/DAT_SF_9/blob/master/16_Text_Mining/DAT9_lec16_Text_Mining.pdf). * [Natural Language Processing with Python](http://www.nltk.org/book/) is the most popular book for going in-depth with the [Natural Language Toolkit](http://www.nltk.org/) (NLTK). * [A Smattering of NLP in Python](https://github.com/charlieg/A-Smattering-of-NLP-in-Python/blob/master/A%20Smattering%20of%20NLP%20in%20Python.ipynb) provides a nice overview of NLTK, as does this [notebook from DAT5](https://github.com/justmarkham/DAT5/blob/master/notebooks/14_nlp.ipynb). * [spaCy](http://spacy.io/) is a newer Python library for text processing that is focused on performance (unlike NLTK). * If you want to get serious about NLP, [Stanford CoreNLP](http://nlp.stanford.edu/software/corenlp.shtml) is a suite of tools (written in Java) that is highly regarded. * When working with a large text corpus in scikit-learn, [HashingVectorizer](http://scikit-learn.org/stable/modules/feature_extraction.html#vectorizing-a-large-text-corpus-with-the-hashing-trick) is a useful alternative to CountVectorizer. * [Automatically Categorizing Yelp Businesses](http://engineeringblog.yelp.com/2015/09/automatically-categorizing-yelp-businesses.html) discusses how Yelp uses NLP and scikit-learn to solve the problem of uncategorized businesses. * [Modern Methods for Sentiment Analysis](http://districtdatalabs.silvrback.com/modern-methods-for-sentiment-analysis) shows how "word vectors" can be used for more accurate sentiment analysis. * [Identifying Humorous Cartoon Captions](http://www.cs.huji.ac.il/~dshahaf/pHumor.pdf) is a readable paper about identifying funny captions submitted to the New Yorker Caption Contest. * [DC Natural Language Processing](http://www.meetup.com/DC-NLP/) is an active Meetup group in our local area. ----- ### Class 16: Kaggle Competition * Overview of how Kaggle works ([slides](slides/16_kaggle.pdf)) * Kaggle In-Class competition: [Predict whether a Stack Overflow question will be closed](https://inclass.kaggle.com/c/dat8-stack-overflow) * [Complete code file](code/16_kaggle.py) * [Minimal code file](code/16_kaggle_minimal.py): excludes all exploratory code * [Explanations of log loss](http://www.quora.com/What-is-an-intuitive-explanation-for-the-log-loss-function) **Homework:** * You will be assigned to review the project drafts of two of your peers. You have until Tuesday 10/20 to provide them with feedback, according to the [peer review guidelines](project/peer_review.md). * Read [A Visual Introduction to Machine Learning](http://www.r2d3.us/visual-intro-to-machine-learning-part-1/) for a brief overview of decision trees. * Download and install [Graphviz](http://www.graphviz.org/), which will allow you to visualize decision trees in scikit-learn. * Windows users should also add Graphviz to your path: Go to Control Panel, System, Advanced System Settings, Environment Variables. Under system variables, edit "Path" to include the path to the "bin" folder, such as: `C:\Program Files (x86)\Graphviz2.38\bin` * **Optional:** Keep working on our Kaggle competition! You can make up to 5 submissions per day, and the competition doesn't close until 6:30pm ET on Tuesday 10/27 (class 21). **Resources:** * [Specialist Knowledge Is Useless and Unhelpful](http://www.slate.com/articles/health_and_science/new_scientist/2012/12/kaggle_president_jeremy_howard_amateurs_beat_specialists_in_data_prediction.html) is a brief interview with Jeremy Howard (past president of Kaggle) in which he argues that data science skills are much more important than domain expertise for creating effective predictive models. * [Getting in Shape for the Sport of Data Science](https://www.youtube.com/watch?v=kwt6XEh7U3g) (74 minutes), also by Jeremy Howard, contains a lot of tips for competitive machine learning. * [Learning from the best](http://blog.kaggle.com/2014/08/01/learning-from-the-best/) is an excellent blog post covering top tips from Kaggle Masters on how to do well on Kaggle. * [Feature Engineering Without Domain Expertise](https://www.youtube.com/watch?v=bL4b1sGnILU) (17 minutes), a talk by Kaggle Master Nick Kridler, provides some simple advice about how to iterate quickly and where to spend your time during a Kaggle competition. * These examples may help you to better understand the process of feature engineering: predicting the number of [passengers at a train station](https://medium.com/@chris_bour/french-largest-data-science-challenge-ever-organized-shows-the-unreasonable-effectiveness-of-open-8399705a20ef), identifying [fraudulent users of an online store](https://docs.google.com/presentation/d/1UdI5NY-mlHyseiRVbpTLyvbrHxY8RciHp5Vc-ZLrwmU/edit#slide=id.p), identifying [bots in an online auction](https://www.kaggle.com/c/facebook-recruiting-iv-human-or-bot/forums/t/14628/share-your-secret-sauce), predicting who will [subscribe to the next season of an orchestra](http://blog.kaggle.com/2015/01/05/kaggle-inclass-stanfords-getting-a-handel-on-data-science-winners-report/), and evaluating the [quality of e-commerce search engine results](http://blog.kaggle.com/2015/07/22/crowdflower-winners-interview-3rd-place-team-quartet/). * [Our perfect submission](https://www.kaggle.com/c/restaurant-revenue-prediction/forums/t/13950/our-perfect-submission) is a fun read about how great performance on the [public leaderboard](https://www.kaggle.com/c/restaurant-revenue-prediction/leaderboard/public) does not guarantee that a model will generalize to new data. ----- ### Class 17: Decision Trees * Decision trees ([notebook](notebooks/17_decision_trees.ipynb)) * Exercise with Capital Bikeshare data ([notebook](notebooks/17_bikeshare_exercise.ipynb), [data](data/bikeshare.csv), [data dictionary](https://www.kaggle.com/c/bike-sharing-demand/data)) **Homework:** * Read the "Wisdom of the crowds" section from MLWave's post on [Human Ensemble Learning](http://mlwave.com/human-ensemble-learning/). * **Optional:** Read the abstract from [Do We Need Hundreds of Classifiers to Solve Real World Classification Problems?](http://jmlr.csail.mit.edu/papers/volume15/delgado14a/delgado14a.pdf), as well as Kaggle CTO Ben Hamner's [comment](https://news.ycombinator.com/item?id=8719723) about the paper, paying attention to the mentions of "Random Forests". **Resources:** * scikit-learn's documentation on [decision trees](http://scikit-learn.org/stable/modules/tree.html) includes a nice overview of trees as well as tips for proper usage. * For a more thorough introduction to decision trees, read section 4.3 (23 pages) of [Introduction to Data Mining](http://www-users.cs.umn.edu/~kumar/dmbook/index.php). (Chapter 4 is available as a free download.) * If you want to go deep into the different decision tree algorithms, this slide deck contains [A Brief History of Classification and Regression Trees](https://drive.google.com/file/d/0B-BKohKl-jUYQ3RpMEF0OGRUU3RHVGpHY203NFd3Z19Nc1ZF/view). * [The Science of Singing Along](http://www.doc.gold.ac.uk/~mas03dm/papers/PawleyMullensiefen_Singalong_2012.pdf) contains a neat regression tree (page 136) for predicting the percentage of an audience at a music venue that will sing along to a pop song. * Decision trees are common in the medical field for differential diagnosis, such as this classification tree for [identifying psychosis](http://www.psychcongress.com/sites/naccme.com/files/images/pcn/saundras/psychosis_decision_tree.pdf). ----- ### Class 18: Ensembling * Finish decision trees lesson ([notebook](notebooks/17_decision_trees.ipynb)) * Ensembling ([notebook](notebooks/18_ensembling.ipynb)) * [Major League Baseball player data](data/hitters.csv) from 1986-87 * [Data dictionary](https://cran.r-project.org/web/packages/ISLR/ISLR.pdf) (page 7) **Resources:** * scikit-learn's documentation on [ensemble methods](http://scikit-learn.org/stable/modules/ensemble.html) covers both "averaging methods" (such as bagging and Random Forests) as well as "boosting methods" (such as AdaBoost and Gradient Tree Boosting). * MLWave's [Kaggle Ensembling Guide](http://mlwave.com/kaggle-ensembling-guide/) is very thorough and shows the many different ways that ensembling can take place. * Browse the excellent [solution paper](https://docs.google.com/viewer?url=https://raw.githubusercontent.com/ChenglongChen/Kaggle_CrowdFlower/master/Doc/Kaggle_CrowdFlower_ChenglongChen.pdf) from the winner of Kaggle's [CrowdFlower competition](https://www.kaggle.com/c/crowdflower-search-relevance) for an example of the work and insight required to win a Kaggle competition. * [Interpretable vs Powerful Predictive Models: Why We Need Them Both](https://medium.com/@chris_bour/interpretable-vs-powerful-predictive-models-why-we-need-them-both-990340074979) is a short post on how the tactics useful in a Kaggle competition are not always useful in the real world. * [Not Even the People Who Write Algorithms Really Know How They Work](http://www.theatlantic.com/technology/archive/2015/09/not-even-the-people-who-write-algorithms-really-know-how-they-work/406099/) argues that the decreased interpretability of state-of-the-art machine learning models has a negative impact on society. * For an intuitive explanation of Random Forests, read Edwin Chen's answer to [How do random forests work in layman's terms?](http://www.quora.com/Random-Forests/How-do-random-forests-work-in-laymans-terms/answer/Edwin-Chen-1) * [Large Scale Decision Forests: Lessons Learned](http://blog.siftscience.com/blog/2015/large-scale-decision-forests-lessons-learned) is an excellent post from Sift Science about their custom implementation of Random Forests. * [Unboxing the Random Forest Classifier](http://nerds.airbnb.com/unboxing-the-random-forest-classifier/) describes a way to interpret the inner workings of Random Forests beyond just feature importances. * [Understanding Random Forests: From Theory to Practice](http://arxiv.org/pdf/1407.7502v3.pdf) is an in-depth academic analysis of Random Forests, including details of its implementation in scikit-learn. ----- ### Class 19: Advanced scikit-learn and Clustering * Advanced scikit-learn ([notebook](notebooks/19_advanced_sklearn.ipynb)) * [StandardScaler](http://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.StandardScaler.html): standardizing features * [Pipeline](http://scikit-learn.org/stable/modules/pipeline.html): chaining steps * Clustering ([slides](slides/19_clustering.pdf), [notebook](notebooks/19_clustering.ipynb)) * K-means: [documentation](http://scikit-learn.org/stable/modules/generated/sklearn.cluster.KMeans.html), [visualization 1](http://tech.nitoyon.com/en/blog/2013/11/07/k-means/), [visualization 2](http://www.naftaliharris.com/blog/visualizing-k-means-clustering/) * DBSCAN: [documentation](http://scikit-learn.org/stable/modules/generated/sklearn.cluster.DBSCAN.html), [visualization](http://www.naftaliharris.com/blog/visualizing-dbscan-clustering/) **Homework:** * Reread [Understanding the Bias-Variance Tradeoff](http://scott.fortmann-roe.com/docs/BiasVariance.html). (The "answers" to the [guiding questions](homework/09_bias_variance.md) have been posted and may be helpful to you.) * **Optional:** Watch these two excellent (and related) videos from Caltech's Learning From Data course: [bias-variance tradeoff](http://work.caltech.edu/library/081.html) (15 minutes) and [regularization](http://work.caltech.edu/library/121.html) (8 minutes). **scikit-learn Resources:** * This is a longer example of [feature scaling](https://github.com/rasbt/pattern_classification/blob/master/preprocessing/about_standardization_normalization.ipynb) in scikit-learn, with additional discussion of the types of scaling you can use. * [Practical Data Science in Python](http://radimrehurek.com/data_science_python/) is a long and well-written notebook that uses a few advanced scikit-learn features: pipelining, plotting a learning curve, and pickling a model. * To learn how to use [GridSearchCV and RandomizedSearchCV](http://scikit-learn.org/stable/modules/grid_search.html) for parameter tuning, watch [How to find the best model parameters in scikit-learn](https://www.youtube.com/watch?v=Gol_qOgRqfA) (28 minutes) or read the [associated notebook](https://github.com/justmarkham/scikit-learn-videos/blob/master/08_grid_search.ipynb). * Sebastian Raschka has a number of excellent resources for scikit-learn users, including a repository of [tutorials and examples](https://github.com/rasbt/pattern_classification), a library of machine learning [tools and extensions](http://rasbt.github.io/mlxtend/), a new [book](https://github.com/rasbt/python-machine-learning-book), and a semi-active [blog](http://sebastianraschka.com/blog/). * scikit-learn has an incredibly active [mailing list](https://www.mail-archive.com/[email protected]/index.html) that is often much more useful than Stack Overflow for researching functions and asking questions. * If you forget how to use a particular scikit-learn function that we have used in class, don't forget that this repository is fully searchable! **Clustering Resources:** * For a very thorough introduction to clustering, read chapter 8 (69 pages) of [Introduction to Data Mining](http://www-users.cs.umn.edu/~kumar/dmbook/index.php) (available as a free download), or browse through the chapter 8 slides. * scikit-learn's user guide compares many different [types of clustering](http://scikit-learn.org/stable/modules/clustering.html). * This [PowerPoint presentation](http://www2.research.att.com/~volinsky/DataMining/Columbia2011/Slides/Topic6-Clustering.ppt) from Columbia's Data Mining class provides a good introduction to clustering, including hierarchical clustering and alternative distance metrics. * An Introduction to Statistical Learning has useful videos on [K-means clustering](https://www.youtube.com/watch?v=aIybuNt9ps4&list=PL5-da3qGB5IBC-MneTc9oBZz0C6kNJ-f2) (17 minutes) and [hierarchical clustering](https://www.youtube.com/watch?v=Tuuc9Y06tAc&list=PL5-da3qGB5IBC-MneTc9oBZz0C6kNJ-f2) (15 minutes). * This is an excellent interactive visualization of [hierarchical clustering](https://joyofdata.shinyapps.io/hclust-shiny/). * This is a nice animated explanation of [mean shift clustering](http://spin.atomicobject.com/2015/05/26/mean-shift-clustering/). * The [K-modes algorithm](http://www.cs.ust.hk/~qyang/Teaching/537/Papers/huang98extensions.pdf) can be used for clustering datasets of categorical features without converting them to numerical values. Here is a [Python implementation](https://github.com/nicodv/kmodes). * Here are some fun examples of clustering: [A Statistical Analysis of the Work of Bob Ross](http://fivethirtyeight.com/features/a-statistical-analysis-of-the-work-of-bob-ross/) (with [data and Python code](https://github.com/fivethirtyeight/data/tree/master/bob-ross)), [How a Math Genius Hacked OkCupid to Find True Love](http://www.wired.com/2014/01/how-to-hack-okcupid/all/), and [characteristics of your zip code](http://www.esri.com/landing-pages/tapestry/). ----- ### Class 20: Regularization and Regular Expressions * Regularization ([notebook](notebooks/20_regularization.ipynb)) * Regression: [Ridge](http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.Ridge.html), [RidgeCV](http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.RidgeCV.html), [Lasso](http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.Lasso.html), [LassoCV](http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LassoCV.html) * Classification: [LogisticRegression](http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) * Helper functions: [Pipeline](http://scikit-learn.org/stable/modules/pipeline.html), [GridSearchCV](http://scikit-learn.org/stable/modules/grid_search.html) * Regular expressions * [Baltimore homicide data](data/homicides.txt) * [Regular expressions 101](https://regex101.com/#python): real-time testing of regular expressions * [Reference guide](code/20_regex_reference.py) * [Exercise](code/20_regex_exercise.py) **Homework:** * Your final project is due next week! * **Optional:** Make your final submissions to our Kaggle competition! It closes at 6:30pm ET on Tuesday 10/27. * **Optional:** Read this classic paper, which may help you to connect many of the topics we have studied throughout the course: [A Few Useful Things to Know about Machine Learning](http://homes.cs.washington.edu/~pedrod/papers/cacm12.pdf). **Regularization Resources:** * The scikit-learn user guide for [Generalized Linear Models](http://scikit-learn.org/stable/modules/linear_model.html) explains different variations of regularization. * Section 6.2 of [An Introduction to Statistical Learning](http://www-bcf.usc.edu/~gareth/ISL/) (14 pages) introduces both lasso and ridge regression. Or, watch the related videos on [ridge regression](https://www.youtube.com/watch?v=cSKzqb0EKS0&list=PL5-da3qGB5IB-Xdpj_uXJpLGiRfv9UVXI&index=6) (13 minutes) and [lasso regression](https://www.youtube.com/watch?v=A5I1G1MfUmA&index=7&list=PL5-da3qGB5IB-Xdpj_uXJpLGiRfv9UVXI) (15 minutes). * For more details on lasso regression, read Tibshirani's [original paper](http://statweb.stanford.edu/~tibs/lasso/lasso.pdf). * For a math-ier explanation of regularization, watch the last four videos (30 minutes) from week 3 of Andrew Ng's [machine learning course](https://www.coursera.org/learn/machine-learning/), or read the [related lecture notes](http://www.holehouse.org/mlclass/07_Regularization.html) compiled by a student. * This [notebook](https://github.com/luispedro/PenalizedRegression/blob/master/PenalizedRegression.ipynb) from chapter 7 of [Building Machine Learning Systems with Python](https://www.packtpub.com/big-data-and-business-intelligence/building-machine-learning-systems-python) has a nice long example of regularized linear regression. * There are some special considerations when using dummy encoding for categorical features with a regularized model. This [Cross Validated Q&A](https://stats.stackexchange.com/questions/69568/whether-to-rescale-indicator-binary-dummy-predictors-for-lasso) debates whether the dummy variables should be standardized (along with the rest of the features), and a comment on this [blog post](http://appliedpredictivemodeling.com/blog/2013/10/23/the-basics-of-encoding-categorical-data-for-predictive-models) recommends that the baseline level should not be dropped. **Regular Expressions Resources:** * Google's Python Class includes an excellent [introductory lesson](https://developers.google.com/edu/python/regular-expressions) on regular expressions (which also has an associated [video](https://www.youtube.com/watch?v=kWyoYtvJpe4&index=4&list=PL5-da3qGB5IA5NwDxcEJ5dvt8F9OQP7q5)). * Python for Informatics has a nice [chapter](http://www.pythonlearn.com/html-270/book012.html) on regular expressions. (If you want to run the examples, you'll need to download [mbox.txt](http://www.py4inf.com/code/mbox.txt) and [mbox-short.txt](http://www.py4inf.com/code/mbox-short.txt).) * [Breaking the Ice with Regular Expressions](https://www.codeschool.com/courses/breaking-the-ice-with-regular-expressions/) is an interactive Code School course, though only the first "level" is free. * If you want to go really deep with regular expressions, [RexEgg](http://www.rexegg.com/) includes endless articles and tutorials. * [5 Tools You Didn't Know That Use Regular Expressions](http://blog.codeschool.io/2015/07/30/5-tools-you-didnt-know-that-use-regular-expressions/) demonstrates how regular expressions can be used with Excel, Word, Google Spreadsheets, Google Forms, text editors, and other tools. * [Exploring Expressions of Emotions in GitHub Commit Messages](http://geeksta.net/geeklog/exploring-expressions-emotions-github-commit-messages/) is a fun example of how regular expressions can be used for data analysis, and [Emojineering](http://instagram-engineering.tumblr.com/post/118304328152/emojineering-part-2-implementing-hashtag-emoji) explains how Instagram uses regular expressions to detect emoji in hashtags. ----- ### Class 21: Course Review and Final Project Presentation * Project presentations! * [Data science review](https://docs.google.com/document/d/19gBCkmrbMpFFLPX8wa5daMnyl7J5BXhMV8JNJwgp1pk/edit?usp=sharing) **Resources:** * scikit-learn's [machine learning map](http://scikit-learn.org/stable/tutorial/machine_learning_map/) may help you to choose the "best" model for your task. * [Choosing a Machine Learning Classifier](http://blog.echen.me/2011/04/27/choosing-a-machine-learning-classifier/) is a short and highly readable comparison of several classification models, [Classifier comparison](http://scikit-learn.org/stable/auto_examples/classification/plot_classifier_comparison.html) is scikit-learn's visualization of classifier decision boundaries, [Comparing supervised learning algorithms](http://www.dataschool.io/comparing-supervised-learning-algorithms/) is a model comparison table that I created, and [Supervised learning superstitions cheat sheet](http://ryancompton.net/assets/ml_cheat_sheet/supervised_learning.html) is a more thorough comparison (with links to lots of useful resources). * [Machine Learning Done Wrong](http://ml.posthaven.com/machine-learning-done-wrong), [Machine Learning Gremlins](https://www.youtube.com/watch?v=tleeC-KlsKA) (31 minutes), [Clever Methods of Overfitting](http://hunch.net/?p=22), and [Common Pitfalls in Machine Learning](http://danielnee.com/?p=155) all offer thoughtful advice on how to avoid common mistakes in machine learning. * [Practical machine learning tricks from the KDD 2011 best industry paper](http://blog.david-andrzejewski.com/machine-learning/practical-machine-learning-tricks-from-the-kdd-2011-best-industry-paper/) and Andrew Ng's [Advice for applying machine learning](http://cs229.stanford.edu/materials/ML-advice.pdf) include slightly more advanced advice than the resources above. * [An Empirical Comparison of Supervised Learning Algorithms](http://www.cs.cornell.edu/~caruana/ctp/ct.papers/caruana.icml06.pdf) is a readable research paper from 2006, which was also presented as a [talk](http://videolectures.net/solomon_caruana_wslmw/) (77 minutes). ----- ### Class 22: Final Project Presentation * Project presentations! * [What's next?](other/advice.md) ----- ## Additional Resources ### Tidy Data * [Good Data Management Practices for Data Analysis](https://www.prometheusresearch.com/good-data-management-practices-for-data-analysis-tidy-data-part-2/) briefly summarizes the principles of "tidy data". * [Hadley Wickham's paper](http://www.jstatsoft.org/article/view/v059i10) explains tidy data in detail and includes lots of good examples. * Example of a tidy dataset: [Bob Ross](https://github.com/fivethirtyeight/data/blob/master/bob-ross/elements-by-episode.csv) * Examples of untidy datasets: [NFL ticket prices](https://github.com/fivethirtyeight/data/blob/master/nfl-ticket-prices/2014-average-ticket-price.csv), [airline safety](https://github.com/fivethirtyeight/data/blob/master/airline-safety/airline-safety.csv), [Jets ticket prices](https://github.com/fivethirtyeight/data/blob/master/nfl-ticket-prices/jets-buyer.csv), [Chipotle orders](https://github.com/TheUpshot/chipotle/blob/master/orders.tsv) * If your co-workers tend to create spreadsheets that are [unreadable by computers](https://bosker.wordpress.com/2014/12/05/the-government-statistical-services-terrible-spreadsheet-advice/), they may benefit from reading these [tips for releasing data in spreadsheets](http://www.clean-sheet.org/). (There are some additional suggestions in this [answer](http://stats.stackexchange.com/questions/83614/best-practices-for-creating-tidy-data/83711#83711) from Cross Validated.) ### Databases and SQL * This [GA slide deck](https://github.com/justmarkham/DAT5/blob/master/slides/20_sql.pdf) provides a brief introduction to databases and SQL. The [Python script](https://github.com/justmarkham/DAT5/blob/master/code/20_sql.py) from that lesson demonstrates basic SQL queries, as well as how to connect to a SQLite database from Python and how to query it using Pandas. * The repository for this [SQL Bootcamp](https://github.com/brandonmburroughs/sql_bootcamp) contains an extremely well-commented SQL script that is suitable for walking through on your own. * This [GA notebook](https://github.com/podopie/DAT18NYC/blob/master/classes/17-relational_databases.ipynb) provides a shorter introduction to databases and SQL that helpfully contrasts SQL queries with Pandas syntax. * [SQLZOO](http://sqlzoo.net/wiki/SQL_Tutorial), [Mode Analytics](http://sqlschool.modeanalytics.com/), [Khan Academy](https://www.khanacademy.org/computing/computer-programming/sql), [Codecademy](https://www.codecademy.com/courses/learn-sql), [Datamonkey](http://datamonkey.pro/guess_sql/lessons/), and [Code School](http://campus.codeschool.com/courses/try-sql/contents) all have online beginner SQL tutorials that look promising. Code School also offers an [advanced tutorial](https://www.codeschool.com/courses/the-sequel-to-sql/), though it's not free. * [w3schools](http://www.w3schools.com/sql/trysql.asp?filename=trysql_select_all) has a sample database that allows you to practice SQL from your browser. Similarly, Kaggle allows you to query a large SQLite database of [Reddit Comments](https://www.kaggle.com/c/reddit-comments-may-2015/data) using their online "Scripts" application. * [What Every Data Scientist Needs to Know about SQL](http://joshualande.com/data-science-sql/) is a brief series of posts about SQL basics, and [Introduction to SQL for Data Scientists](http://bensresearch.com/downloads/SQL.pdf) is a paper with similar goals. * [10 Easy Steps to a Complete Understanding of SQL](https://web.archive.org/web/20150402234726/http://tech.pro/tutorial/1555/10-easy-steps-to-a-complete-understanding-of-sql) is a good article for those who have some SQL experience and want to understand it at a deeper level. * SQLite's article on [Query Planning](http://www.sqlite.org/queryplanner.html) explains how SQL queries "work". * [A Comparison Of Relational Database Management Systems](https://www.digitalocean.com/community/tutorials/sqlite-vs-mysql-vs-postgresql-a-comparison-of-relational-database-management-systems) gives the pros and cons of SQLite, MySQL, and PostgreSQL. * If you want to go deeper into databases and SQL, Stanford has a well-respected series of [14 mini-courses](https://lagunita.stanford.edu/courses/DB/2014/SelfPaced/about). * [Blaze](http://blaze.pydata.org) is a Python package enabling you to use Pandas-like syntax to query data living in a variety of data storage systems. ### Recommendation Systems * This [GA slide deck](https://github.com/justmarkham/DAT4/blob/master/slides/18_recommendation_engines.pdf) provides a brief introduction to recommendation systems, and the [Python script](https://github.com/justmarkham/DAT4/blob/master/code/18_recommenders_soutions.py) from that lesson demonstrates how to build a simple recommender. * Chapter 9 of [Mining of Massive Datasets](http://infolab.stanford.edu/~ullman/mmds/bookL.pdf) (36 pages) is a more thorough introduction to recommendation systems. * Chapters 2 through 4 of [A Programmer's Guide to Data Mining](http://guidetodatamining.com/) (165 pages) provides a friendlier introduction, with lots of Python code and exercises. * The Netflix Prize was the famous competition for improving Netflix's recommendation system by 10%. Here are some useful articles about the Netflix Prize: * [Netflix Recommendations: Beyond the 5 stars](http://techblog.netflix.com/2012/04/netflix-recommendations-beyond-5-stars.html): Two posts from the Netflix blog summarizing the competition and their recommendation system * [Winning the Netflix Prize: A Summary](http://blog.echen.me/2011/10/24/winning-the-netflix-prize-a-summary/): Overview of the models and techniques that went into the winning solution * [A Perspective on the Netflix Prize](http://www2.research.att.com/~volinsky/papers/chance.pdf): A summary of the competition by the winning team * This [paper](http://www.cs.umd.edu/~samir/498/Amazon-Recommendations.pdf) summarizes how Amazon.com's recommendation system works, and this [Stack Overflow Q&A](http://stackoverflow.com/questions/2323768/how-does-the-amazon-recommendation-feature-work) has some additional thoughts. * [Facebook](https://code.facebook.com/posts/861999383875667/recommending-items-to-more-than-a-billion-people/) and [Etsy](https://codeascraft.com/2014/11/17/personalized-recommendations-at-etsy/) have blog posts about how their recommendation systems work. * [The Global Network of Discovery](http://www.gnod.com/) provides some neat recommenders for music, authors, and movies. * [The People Inside Your Machine](http://www.npr.org/blogs/money/2015/01/30/382657657/episode-600-the-people-inside-your-machine) (23 minutes) is a Planet Money podcast episode about how Amazon Mechanical Turks can assist with recommendation engines (and machine learning in general). * Coursera has a [course](https://www.coursera.org/learn/recommender-systems) on recommendation systems, if you want to go even deeper into the material.
3,164
The "Python Machine Learning (2nd edition)" book code repository and info resource
## Python Machine Learning (2nd Ed.) Code Repository [![Build Status](https://travis-ci.com/rasbt/python-machine-learning-book-2nd-edition.svg?token=zvSsJVLJFKzB2yqaeKN1&branch=master)](https://travis-ci.com/rasbt/python-machine-learning-book-2nd-edition) ![Python 3.6](https://img.shields.io/badge/Python-3.6-blue.svg) ![License](https://img.shields.io/badge/Code%20License-MIT-blue.svg) *Please note that a new edition (3rd edition) is now available as of December 2019. The code repository link for the 3rd edition is https://github.com/rasbt/python-machine-learning-book-3rd-edition.* **Python Machine Learning, 2nd Ed.** published September 20th, 2017 Paperback: 622 pages Publisher: Packt Publishing Language: English ISBN-10: 1787125939 ISBN-13: 978-1787125933 Kindle ASIN: B0742K7HYF [<img src="./images/cover_1.jpg" width="348">](https://www.amazon.com/Python-Machine-Learning-scikit-learn-TensorFlow/dp/1787125939) ## Links - [Amazon Page](https://www.amazon.com/Python-Machine-Learning-scikit-learn-TensorFlow/dp/1787125939) - [Packt Page](https://www.packtpub.com/big-data-and-business-intelligence/python-machine-learning-second-edition) ## Table of Contents and Code Notebooks **Helpful installation and setup instructions can be found in the [README.md file of Chapter 1](code/ch01/README.md)** To access the code materials for a given chapter, simply click on the `open dir` links next to the chapter headlines to navigate to the chapter subdirectories located in the [code/](code/) subdirectory. You can also click on the `ipynb` links below to open and view the Jupyter notebook of each chapter directly on GitHub. In addition, the [code/](code/) subdirectories also contain .py script files, which were created from the Jupyter Notebooks. However, I highly recommend working with the Jupyter notebook if possible in your computing environment. Not only do the Jupyter notebooks contain the images and section headings for easier navigation, but they also allow for a stepwise execution of individual code snippets, which -- in my opinion -- provide a better learning experience. **Please note that these are just the code examples accompanying the book, which I uploaded for your convenience; be aware that these notebooks may not be useful without the formulae and descriptive text.** 1. Machine Learning - Giving Computers the Ability to Learn from Data [[open dir](./code/ch01)] [[ipynb](./code/ch01/ch01.ipynb)] 2. Training Machine Learning Algorithms for Classification [[open dir](./code/ch02)] [[ipynb](./code/ch02/ch02.ipynb)] 3. A Tour of Machine Learning Classifiers Using Scikit-Learn [[open dir](./code/ch03)] [[ipynb](./code/ch03/ch03.ipynb)] 4. Building Good Training Sets – Data Pre-Processing [[open dir](./code/ch04)] [[ipynb](./code/ch04/ch04.ipynb)] 5. Compressing Data via Dimensionality Reduction [[open dir](./code/ch05)] [[ipynb](./code/ch05/ch05.ipynb)] 6. Learning Best Practices for Model Evaluation and Hyperparameter Optimization [[open dir](./code/ch06)] [[ipynb](./code/ch06/ch06.ipynb)] 7. Combining Different Models for Ensemble Learning [[open dir](./code/ch07)] [[ipynb](./code/ch07/ch07.ipynb)] 8. Applying Machine Learning to Sentiment Analysis [[open dir](./code/ch08)] [[ipynb](./code/ch08/ch08.ipynb)] 9. Embedding a Machine Learning Model into a Web Application [[open dir](./code/ch09)] [[ipynb](./code/ch09/ch09.ipynb)] 10. Predicting Continuous Target Variables with Regression Analysis [[open dir](./code/ch10)] [[ipynb](./code/ch10/ch10.ipynb)] 11. Working with Unlabeled Data – Clustering Analysis [[open dir](./code/ch11)] [[ipynb](./code/ch11/ch11.ipynb)] 12. Implementing a Multi-layer Artificial Neural Network from Scratch [[open dir](./code/ch12)] [[ipynb](./code/ch12/ch12.ipynb)] 13. Parallelizing Neural Network Training with TensorFlow [[open dir](./code/ch13)] [[ipynb](./code/ch13/ch13.ipynb)] 14. Going Deeper: The Mechanics of TensorFlow [[open dir](./code/ch14)] [[ipynb](./code/ch14/ch14.ipynb)] 15. Classifying Images with Deep Convolutional Neural Networks [[open dir](./code/ch15)] [[ipynb](./code/ch15/ch15.ipynb)] 16. Modeling Sequential Data Using Recurrent Neural Networks [[open dir](./code/ch16)] [[ipynb](./code/ch16/ch16.ipynb)] ### What’s new in the second edition from the first edition? > Oh, there are so many things that we improved or added; where should I start!? The one issue on top of my priority list was to fix all the nasty typos that were introduced during the layout stage or my oversight. I really appreciated all the helpful feedback from readers in this manner! Furthermore, I addressed all the feedback about sections that may have been confusing or a bit unclear, reworded paragraphs, and added additional explanations. Also, special thanks go to the excellent editors of the second edition, who helped a lot along the way! > Also, the figures and plots became much prettier. While readers liked the graphic content a lot, some people criticized the PowerPoint-esque style and layout. Thus, I decided to overhaul every little figure with a hopefully more pleasing choice of fonts and colors. Also, the data plots look much nicer now, thanks to the matplotlib team who put a lot of work in matplotlib 2.0 and its new styling theme. > Beyond all these cosmetic fixes, new sections were added here and there. Among these is, for example, is a section on dealing with imbalanced datasets, which several readers were missing in the first edition and short section on Latent Dirichlet Allocation among others. > As time and the software world moved on after the first edition was released in September 2015, we decided to replace the introduction to deep learning via Theano. No worries, we didn't remove it but it got a substantial overhaul and is now based on TensorFlow, which has become a major player in my research toolbox since its open source release by Google in November 2015. Along with the new introduction to deep learning using TensorFlow, the biggest additions to this new edition are three brand new chapters focussing on deep learning applications: A more detailed overview of the TensorFlow mechanics, an introduction to convolutional neural networks for image classification, and an introduction to recurrent neural networks for natural language processing. Of course, and in a similar vein as the rest of the book, these new chapters do not only provide readers with practical instructions and examples but also introduce the fundamental mathematics behind those concepts, which are an essential building block for understanding how deep learning works. [ [Excerpt from "Machine Learning can be useful in almost every problem domain:" An interview with Sebastian Raschka](https://www.packtpub.com/books/content/machine-learning-useful-every-problem-domain-interview-sebastian-raschka/) ] --- <br> <br> Raschka, Sebastian, and Vahid Mirjalili. *Python Machine Learning, 2nd Ed*. Packt Publishing, 2017. @book{RaschkaMirjalili2017, address = {Birmingham, UK}, author = {Raschka, Sebastian and Mirjalili, Vahid}, edition = {2}, isbn = {978-1787125933}, keywords = {Clustering,Data Science,Deep Learning, Machine Learning,Neural Networks,Programming, Supervised Learning}, publisher = {Packt Publishing}, title = {{Python Machine Learning, 2nd Ed.}}, year = {2017} } # Translations ### German - ISBN-10: 3958457339 - ISBN-13: 978-3958457331 - [Amazon.de link](https://www.amazon.de/Machine-Learning-Python-Scikit-Learn-TensorFlow/dp/3958457339/ref=tmm_pap_swatch_0?_encoding=UTF8&qid=1513601461&sr=8-5) - [Publisher link](https://mitp.de/IT-WEB/Programmierung/Machine-Learning-mit-Python-oxid.html) ![](images/cover-german.jpg) ### Japanese - ISBN-10: 4295003379 - ISBN-13: 978-4295003373 - [Amazon.co.jp link](https://www.amazon.co.jp/Python-機械学習プログラミング-達人データサイエンティストによる理論と実践-impress-gear/dp/4295003379/ref=tmm_pap_swatch_0) ![](images/cover-japanese.jpg)
3,165
Code, exercises and tutorials of my personal blog ! 📝
# Machine Learning Tutorials and Articles <img alt="GitHub stars" src="https://img.shields.io/github/stars/maelfabien/Machine_Learning_Tutorials.svg?style=social"> <img alt="GitHub forks" src="https://img.shields.io/github/forks/maelfabien/Machine_Learning_Tutorials.svg?style=social"> <img alt="GitHub watchers" src="https://img.shields.io/github/watchers/maelfabien/Machine_Learning_Tutorials.svg?style=social"> <img alt="GitHub followers" src="https://img.shields.io/github/followers/maelfabien.svg?style=social"> <img alt="GitHub commit activity" src="https://img.shields.io/github/commit-activity/y/maelfabien/Machine_Learning_Tutorials.svg"> <img alt="GitHub contributors" src="https://img.shields.io/github/contributors-anon/maelfabien/Machine_Learning_Tutorials.svg"> <img alt="PyPI - Python Version" src="https://img.shields.io/pypi/pyversions/3.svg"> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/mf_logo_short.jpg" alt="Illustration" width="50px"/> In this repository, I'm uploading code, notebooks and articles from my personal blog : https://maelfabien.github.io/. Don't hesitate to ⭐ the repo if you enjoy my work ! New articles are being published weekly ! 🚀 I recently started a newsletter in which I gather some cool articles I wrote on a topic, interesting Github repositories, projects, papers and more! I’ll try to send 1 to 2 emails per month. If you want to stay in the loop, just click here : http://eepurl.com/gyYzi5 **NEW: I'm looking for motivated Data Scientists to help me build high environmental impact algorithms (CV essentially). Please contact me if you're interested (from my website, contact section)** ## Table of Content : - [CheatSheets](https://github.com/maelfabien/Machine_Learning_Tutorials#machine-learning-cheatsheet) - [Latest Articles](https://github.com/maelfabien/Machine_Learning_Tutorials/#latest-articles) - [Machine Learning](https://github.com/maelfabien/Machine_Learning_Tutorials#machine-learning) - [Deep Learning](https://github.com/maelfabien/Machine_Learning_Tutorials#deep-learning) - [Data Engineering](https://github.com/maelfabien/Machine_Learning_Tutorials#data-engineering) - [Written for other blogs](https://github.com/maelfabien/Machine_Learning_Tutorials#written-for-other-blogs) - [Medium Articles](https://github.com/maelfabien/Machine_Learning_Tutorials#medium-articles) <br> First of all, if you're not familiar with the key concepts of machine learrning, make sure to check this first article : https://maelfabien.github.io/machinelearning/ml_base/ The repository is organized the following way : - articles and tutorials are posted by category - there is a link to the article in question with the read time specified - the is a link to the code folder for each article You would like to work on an article with me ? Or you would like me to work on a specific topic ? Feel free to reach out ! ([email protected]) # Machine Learning Cheatsheet : For the moment, these cheat sheets are written manually. I'd like to create a visual content later that would both dive in the maths and illustrate clearly each algorithm. 1. Supervised Learning <a href="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/supervised.pdf"><img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/sup.png?" alt="Illustration" width="220px"/></a> 2. Unsupervised Learning <a href="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/unsupervised.pdf"><img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/unsup.png?" alt="Illustration" width="220px"/></a> <br> # Projects I have made a series of projects, all of which are available on my blog : https://maelfabien.github.io/portfolio/# <a href="https://maelfabien.github.io/portfolio/#"> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/new_proj.png" alt="Illustration"/> </a> # Latest articles [SP - Voice Gender Detection web application](https://maelfabien.github.io/machinelearning/Speech11/#): How to extract relevant features and build a voice gender detection application using MFCC, GMMs and a provided dataset. [SP - Sound Visualization (3/3)](https://maelfabien.github.io/machinelearning/Speech10/#): Dive into spectrograms, chromagrams, tempograms, spectral power density and more... [SP - Sound Feature Extraction (2/3)](https://maelfabien.github.io/machinelearning/Speech9/#): An overview with a Python implementation of the different sound features to extract. [SP - Introduction to Voice Processing in Python (1/3)](https://maelfabien.github.io/machinelearning/Speech8/#): Summary of the book "Voice Computing with Python" with concepts, code and examples. [SP - Building a Voice Activity Detection web application](https://maelfabien.github.io/machinelearning/Speech4/#) : Voice detection can be used to start a voice assistant or in emergency cases for example. Here's how to implement it using simple methods. [CV - Implementing YoloV3 for Object Detection](https://maelfabien.github.io/computervision/yolo/) : Learn how to implement YoloV3 and detect objects on your images and videos. [NLP - Easy Question Answering with AllenNLP](https://maelfabien.github.io/machinelearning/NLP_9/) : Understand the core concepts and create a simple example of Question Answering. [NLP - Data Augmentation in NLP](https://maelfabien.github.io/machinelearning/NLP_8/) : Details of the implementation of “Easy Data Augmentation” paper. [NLP - Character-level LSTMs to predict gender of first names](https://maelfabien.github.io/machinelearning/NLP_7/) : 90% accuracy on predictiong the gender of French and US first names. [NLP - Few Shot Text Classification](https://maelfabien.github.io/machinelearning/NLP_5) : Implementation of a simple paper that leverages pre-trained models for few shot text classification. [NLP - Improved Few Shot Text Classification](https://maelfabien.github.io/machinelearning/NLP_6) : Improving previous results with Data Augmentation and more complex models. [RL - Introduction to Reinforcement Learning](https://maelfabien.github.io/rl/RL_1) : An introduction to the basic building blocks of reinforcement learning. [RL - Markov Decision Process](https://maelfabien.github.io/rl/RL_2/) : Overview of Markov Decision Process and Bellman Equation. [RL - Planning by Dynamic Programming](https://maelfabien.github.io/rl/RL_3/) : Introduction to Dynamic Programming, including Policy and Value Iteration. [NLP - I trained a Neural Network to speak like me](https://maelfabien.github.io/machinelearning/NLP_4/) : Having written over 100 articles, I trained a NN to write articles just like me. [DL - How do Neural Networks learn?](https://maelfabien.github.io/deeplearning/feed/) : Dive into feedforward process and back-propagation. <center><a href="https://maelfabien.github.io/year-archive/#">See More</a></center> <br> <br> <img src="https://github.com/maelfabien/maelfabien.github.io/blob/master/assets/images/ml_head.jpg" alt="Illustration"/> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/s_head.jpg" alt="Illustration"/> | Article Title | Read Time | Article | Code Folder | | --- | --- | --- | --- | | The linear regression model (1/2) | 14mn | [here](https://maelfabien.github.io/statistics/linreg/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/2-Statistics/LinearRegression) | | The linear regression model (3/2) | 10mn | [here](https://maelfabien.github.io/statistics/linreg2/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/2-Statistics/LinearRegression) | | Basics of Statistical Hypothesis Testing | 5mn | [here](https://maelfabien.github.io/statistics/Tests/) | --- | | The Logistic Regression | 4mn | [here](https://maelfabien.github.io/statistics/linreg3/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/2-Statistics/LogisticRegression) | | Statistics in Matlab | 4mn | [here](https://maelfabien.github.io/statistics/matlab/) | --- | <br> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/sup_head.jpg" alt="Illustration"/> | Article Title | Read Time | Article | Code Folder | | --- | --- | --- | --- | | The Basics of Machine Learning | 4mn | [here](https://maelfabien.github.io/machinelearning/ml_base/) | --- | | Bayes Classifier | 1mn | [here](https://maelfabien.github.io/machinelearning/bayes/) | --- | | Linear Discriminant Analysis | 3mn | [here](https://maelfabien.github.io/machinelearning/LDA/) | --- | | Adaboost and Boosting | 7mn | [here](https://maelfabien.github.io/machinelearning/adaboost/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/3-MachineLearning/AdaBoost) | | Gradient Boosting Regression | 6mn | [here](https://maelfabien.github.io/machinelearning/GradientBoost/#) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/3-MachineLearning/GradientBoost) | | Gradient Boosting Classification | 3mn | [here](https://maelfabien.github.io/machinelearning/GradientBoostC/#) | --- | | Large Scale Kernel Methods for SVM | 9mn | [here](https://maelfabien.github.io/machinelearning/largescale/#svm-classifier) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/3-MachineLearning/LargeScaleKernel) | | Anomaly Detection | 3mn | [here](https://maelfabien.github.io/machinelearning/anomaly/) | --- | <br> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/ts_head.jpg" alt="Illustration"/> | Article Title | Read Time | Article | Code Folder | | --- | --- | --- | --- | | Introduction to Time Series | 4mn | [here](https://maelfabien.github.io/statistics/TimeSeries1/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/2-Statistics/TimeSeries) | | Key concepts of Time Series | 4mn | [here](https://maelfabien.github.io/statistics/TimeSeries2/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/2-Statistics/TimeSeries) | <br> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/mc_head.jpg" alt="Illustration"/> | Article Title | Read Time | Article | Code Folder | | --- | --- | --- | --- | | Markov Chains | 9mn | [here](https://maelfabien.github.io/machinelearning/HMM_1/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/3-MachineLearning/HMM) | | Hidden Markov Models | 6mn | [here](https://maelfabien.github.io/machinelearning/HMM_2/) | --- | | Build a language recognition app from scratch | 10mn | [here](https://maelfabien.github.io/machinelearning/HMM_3/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/3-MachineLearning/HMM) | <br> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/graph_head.jpg" alt="Illustration"/> | Article Title | Read Time | Article | Code Folder | | --- | --- | --- | --- | | Introduction to Graph Mining | 5mn | [here](https://maelfabien.github.io/machinelearning/graph_1/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/3-MachineLearning/GraphMining) | | Graph Analysis | 4mn | [here](https://maelfabien.github.io/machinelearning/graph_2/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/3-MachineLearning/GraphMining) | | Graph Algorithms | 11mn | [here](https://maelfabien.github.io/machinelearning/graph_3/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/3-MachineLearning/GraphMining) | | Graph Learning | 8mn | [here](https://maelfabien.github.io/machinelearning/graph_4/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/3-MachineLearning/GraphMining) | | Graph Embedding | 4mn | [here](https://maelfabien.github.io/machinelearning/graph_5/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/3-MachineLearning/GraphMining) | <br> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/opt_head.jpg" alt="Illustration"/> | Article Title | Read Time | Article | Code Folder | | --- | --- | --- | --- | | GridSearch vs. Randomized Search | 2mn | [here](https://maelfabien.github.io/machinelearning/GridRand/) | --- | | AutoML with h2o | 6mn | [here](https://maelfabien.github.io/machinelearning/AutoML/#) | --- | | Bayesian Hyperparameter Optimization | 7mn | [here](https://maelfabien.github.io/machinelearning/HyperOpt/#) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/3-MachineLearning/BayesianHyperOpt) | | Machine Learning Explainability | 12mn | [here](https://maelfabien.github.io/machinelearning/Explainability/#) | --- | <br> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/dv_head.jpg" alt="Illustration"/> | Article Title | Read Time | Article | Code Folder | | --- | --- | --- | --- | | Introduction to Data Viz | 12mn | [here](https://maelfabien.github.io/machinelearning/Dataviz/) | --- | | Visual Recommendation System | 4mn | [here](https://maelfabien.github.io/machinelearning/VizReco/#) | --- | | Interactive graphs in Python with Altair | 5mn | [here](https://maelfabien.github.io/machinelearning/Altair/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/6-DataViz/Altair) | | Dynamic plots with BQ-Plot | --- | --- | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/6-DataViz/BQPlot) | | An interactive tool with Altair | --- | [here](https://maelfabien.github.io/tsne) | --- | | An interactive tool with D3.js | --- | [here](https://maelfabien.github.io/viz) | --- | <br> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/on_head.jpg" alt="Illustration"/> | Article Title | Read Time | Article | Code Folder | | --- | --- | --- | --- | | Introduction to Online Learning | 5mn | [here](https://maelfabien.github.io/machinelearning/Online/) | --- | | Linear Classification | 1mn | [here](https://maelfabien.github.io/machinelearning/Online2/) | --- | <br> <img src="https://github.com/maelfabien/maelfabien.github.io/blob/master/assets/images/dl_head.jpg" alt="Illustration"/> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/tdl_head.jpg" alt="Illustration"/> | Article Title | Read Time | Article | Code Folder | | --- | --- | --- | --- | | The Rosenbaltt's Perceptron | 8mn | [here](https://maelfabien.github.io/deeplearning/Perceptron/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/4-DeepLearning/Perceptron) | | Multilayer Perceptron (MLP) | 5mn | [here](https://maelfabien.github.io/deeplearning/mlp/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/4-DeepLearning/MultilayerPerceptron) | | Prevent Overfitting of Neural Netorks | 6mn | [here](https://maelfabien.github.io/deeplearning/regu/) | --- | | Full introduction to Neural Nets | 6mn | [here](https://maelfabien.github.io/deeplearning/intro/) | --- | | Convolutional Neural Network | 6mn | [here](https://maelfabien.github.io/deeplearning/cnn/#) | --- | | How do Neural Networks learn? | 3mn | [here](https://maelfabien.github.io/deeplearning/feed/) | --- | | Activation functions in DL | 3mn | [here](https://maelfabien.github.io/deeplearning/act/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/4-DeepLearning/Activations) | <br> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/arc_head.jpg" alt="Illustration"/> | Article Title | Read Time | Article | Code Folder | | --- | --- | --- | --- | | Inception Architecture in Keras | 2mn | [here](https://maelfabien.github.io/deeplearning/inception/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/4-DeepLearning/Inception) | | Build an autoencoder using Keras functional API | 5mn | [here](https://maelfabien.github.io/deeplearning/autoencoder/) | --- | | XCeption Architecture | 5mn | [here](https://maelfabien.github.io/deeplearning/xception/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/4-DeepLearning/Xception) | | GANs on the MNIST dataset | --- | --- | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/4-DeepLearning/GANs) | <br> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/cv_head.png" alt="Illustration"/> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/cv_head.jpg" alt="Illustration"/> | Article Title | Read Time | Article | Code Folder | | --- | --- | --- | --- | | Build an Emotion Recognition WebApp from scratch | 8mn | [here](https://maelfabien.github.io/project/poleemploi/) | [here](https://github.com/maelfabien/Multimodal-Emotion-Recognition) | | A full guide to Face, Mouth and Eyes Real Time detection | 16mn | [here](https://maelfabien.github.io/tutorials/face-detection/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/1_Computer%20Vision/01-FaceDetection) | | How to use OpenPose on MacOS ? | 3mn | [here](https://maelfabien.github.io/tutorials/open-pose/) | --- | | Introduction to Computer Vision | 1mn | [here](https://maelfabien.github.io/computervision/cv_1/) | --- | | Image Filtering and Image Gradients | 5mn | [here](https://maelfabien.github.io/computervision/cv_2/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/1_Computer%20Vision/04-ImageFiltering) | | Advanced Filtering and Image Transformation | 5mn | [here](https://maelfabien.github.io/computervision/cv_3/#) | --- | | Image Features, Panorama, Matching | 5mn | [here](https://maelfabien.github.io/computervision/cv_4/#) | --- | | Implementing YoloV3 for Object Detection | 3mn | [here](https://maelfabien.github.io/computervision/yolo/) | --- | <br> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/nlp_head.png" alt="Illustration"/> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/nlp_head.jpg" alt="Illustration"/> | Article Title | Read Time | Article | Code Folder | | --- | --- | --- | --- | | Introduction to NLP | 1mn | [here](https://maelfabien.github.io/machinelearning/NLP_0/#) | --- | | Text Pre-Processing | 8mn | [here](https://maelfabien.github.io/machinelearning/NLP_1/) | --- | | Text Embedding with BoW and Tf-Idf | 5mn | [here](https://maelfabien.github.io/machinelearning/NLP_2/) | --- | | Text Embedding with Word2Vec | 6mn | [here](https://maelfabien.github.io/machinelearning/NLP_3/) | --- | | I trained a Neural Network to speak like me | 8mn | [here](https://maelfabien.github.io/machinelearning/NLP_4/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/5-NLP/SpeakLikeMe) | | I trained a Neural Network to speak like me | 8mn | [here](https://maelfabien.github.io/machinelearning/NLP_4/) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/5-NLP/SpeakLikeMe) | | Few Shot Text Classification | 10mn | [here](https://maelfabien.github.io/machinelearning/NLP_5) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/5-NLP/FewShotClassification) | | Improved Few Shot Text Classification | 9mn | [here](https://maelfabien.github.io/machinelearning/NLP_6) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/5-NLP/FewShotClassification) | | Predicting Gender of First Names | 7mn | [here](https://maelfabien.github.io/machinelearning/NLP_7) | [here](https://github.com/maelfabien/Machine_Learning_Tutorials/tree/master/5-NLP/GenderClassification) | | Data Augmentation in NLP | 3mn | [here](https://maelfabien.github.io/machinelearning/NLP_8) | --- | | Easy Question Answering with AllenNLP | 4mn | [here](https://maelfabien.github.io/machinelearning/NLP_9) | --- | <br> <img src="https://github.com/maelfabien/maelfabien.github.io/blob/master/assets/images/rl_head.jpg" alt="Illustration"/> <img src="https://github.com/maelfabien/maelfabien.github.io/blob/master/assets/images/trl_head.jpg" alt="Illustration"/> | Article Title | Read Time | Article | Code Folder | | --- | --- | --- | --- | | Introduction to Reinforcement Learning | 6mn | [here](https://maelfabien.github.io/rl/RL_1) | --- | | Markov Decision Process | 7mn | [here](https://maelfabien.github.io/rl/RL_2/) | --- | | Planning by Dynamic Programming | 4mn | [here](https://maelfabien.github.io/rl/RL_3/) | --- | <br> <img src="https://github.com/maelfabien/maelfabien.github.io/blob/master/assets/images/bgd_head.jpg" alt="Illustration"/> Two general articles : 1. Understanding Computer Components (6mn read) https://maelfabien.github.io/bigdata/comp_components/ 2. Useful Bash commands (1mn read) https://maelfabien.github.io/bigdata/Terminal/ 3. Making your code production ready (1mn read) https://maelfabien.github.io/bigdata/Code/ <br> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/hadoop_head.jpg" alt="Illustration"/> | Article Title | Read Time | Article | | --- | --- | --- | | Introduction to Hadoop | 4mn | [here](https://maelfabien.github.io/bigdata/hadoop/) | | MapReduce | 3mn | [here](https://maelfabien.github.io/bigdata/MapReduce/#) | | HDFS | 2mn | [here](https://maelfabien.github.io/bigdata/HDFS/#) | | VMs in Virtual Box | 1mn | [here](https://maelfabien.github.io/bigdata/VM/#) | | Hadoop with the HortonWorks Sandbox | 2mn | [here](https://maelfabien.github.io/bigdata/HortonWorks/) | | Load and move files to HDFS | 2mn | [here](https://maelfabien.github.io/bigdata/HDFS_2/) | | Launch a MapReduce Job | 2mn | [here](https://maelfabien.github.io/bigdata/MRJob/) | | MapReduce Jobs in Python | 3mn | [here](https://maelfabien.github.io/bigdata/MRJobP/) | | MapReduce Job in Python locally | 1mn | [here](https://maelfabien.github.io/bigdata/MRH/) | <br> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/spark_head.jpg" alt="Illustration"/> | Article Title | Read Time | Article | | --- | --- | --- | | Introduction to Spark | 6mn | [here](https://maelfabien.github.io/bigdata/spark1/) | | Install Spark-Scala and PySpark | 1mn | [here](https://maelfabien.github.io/bigdata/spark2/) | | Discover Spark-Scala | 2mn | [here](https://maelfabien.github.io/bigdata/spark3/#) | <br> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/nosql_head.jpg" alt="Illustration"/> | Article Title | Read Time | Article | | --- | --- | --- | | A No-SQL project from scratch | 8mn | [here](https://maelfabien.github.io/project/nosql_recap/) | | Big (Open) Data, the GDelt project | 2mn | [here](https://maelfabien.github.io/bigdata/zeppelin-GDELT/) | | Install Zeppelin locally | 1mn | [here](https://maelfabien.github.io/bigdata/zeppelin_local/) | | Run Zeppelin on AWS EMR | 4mn | [here](https://maelfabien.github.io/bigdata/zeppelin_emr/) | | Work with S3 buckets | 1mn | [here](https://maelfabien.github.io/bigdata/storage/) | | Launch and access AWS EC2 instances | 2mn | [here](https://maelfabien.github.io/bigdata/EC2/) | | Install Apache Cassandra on EC2 Cluster | 2mn | [here](https://maelfabien.github.io/bigdata/EC2_Cassandra/) | | Install Zookeeper on EC2 instances | 3mn | [here](https://maelfabien.github.io/bigdata/ZK/) | | Build an ETL in Scala | 3mn | [here](https://maelfabien.github.io/bigdata/Scala/) | | Move Scala Dataframes to Cassandra | 2mn | [here](https://maelfabien.github.io/bigdata/Scala_Cassandra/) | | Move Scala Dataframes to Cassandra | 2mn | [here](https://maelfabien.github.io/bigdata/Scala_Cassandra/) | <br> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/aws_head.jpg" alt="Illustration"/> | Article Title | Read Time | Article | | --- | --- | --- | | AWS Cloud Concepts | 2mn | [here](https://maelfabien.github.io/bigdata/cloud_concept/) | | AWS Core Services | 1mn | [here](https://maelfabien.github.io/bigdata/core_services/) | <br> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/gcp_head.jpg" alt="Illustration"/> | Article Title | Read Time | Article | | --- | --- | --- | | TPU Survival Guide on Colab | 8mn | [here](https://maelfabien.github.io/bigdata/ColabTPU/) | | Store files on Google Cloud and Colab | 1mn | [here](https://maelfabien.github.io/bigdata/ColabDrive/) | | TPU Survival Guide on Colab | 8mn | [here](https://maelfabien.github.io/bigdata/ColabTPU/) | | Introduction to GCP (Week 1 Module 1) | 6mn | [here](https://maelfabien.github.io/bigdata/gcps_1/) | | Lab - Instance VM + Cloud Storage| 3mn | [here](https://maelfabien.github.io/bigdata/gcps-2/) | | Lab - BigQuery Public Datasets| 1mn | [here](https://maelfabien.github.io/bigdata/gcps-3/) | | Introduction to Recommendation Systems (Week 1 Module 2) | 4mn | [here](https://maelfabien.github.io/bigdata/gcps_4/) | | Run Spark jobs on Cloud DataProc (Week 1 Module 2) | 2mn | [here](https://maelfabien.github.io/bigdata/gcps_5/) | | Lab - Recommend products using Cloud SQL and SparkML | 6mn | [here](https://maelfabien.github.io/bigdata/gcps_6/) | | Run ML models in SQL with BigQuery ML (Week 1 Module 3) | 6mn | [here](https://maelfabien.github.io/bigdata/gcps_7/) | <br> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/elk_head.jpg" alt="Illustration"/> | Article Title | Read Time | Article | | --- | --- | --- | | Introduction to ElasticStack | 1mn | [here](https://maelfabien.github.io/bigdata/ElasticStack/) | | Getting Started with ElasticSearch and Kibana | 7mn | [here](https://maelfabien.github.io/bigdata/ElasticCloud/) | | Install and run Kibana locally | 1mn | [here](https://maelfabien.github.io/bigdata/Elasticsearch/) | | Working with DevTools in ElasticSearch | 9mn | [here](https://maelfabien.github.io/bigdata/DevTools/) | | Working with DevTools in ElasticSearch | 9mn | [here](https://maelfabien.github.io/bigdata/DevTools/) | <br> <img src="https://github.com/maelfabien/Machine_Learning_Tutorials/blob/master/Images/neo_head.jpg" alt="Illustration"/> | Article Title | Read Time | Article | | --- | --- | --- | | Introduction to Graph Databases | 1mn | [here](https://maelfabien.github.io/bigdata/Neo4J/) | | A day at Neo4J GraphTour | 7mn | [here](https://maelfabien.github.io/bigdata/Neo4J_gt/) | <br> # Written for other blogs 1. [Who's the painter? - For explorium.ai](https://www.explorium.ai/blog/whos-the-painter/) : An illustration of how data enrichment and feature engineering can improve a model. 2. [Machine Learning Interpretability and Explainability (1/2) - For explorium.ai](https://www.explorium.ai/blog/interpretability-and-explainability-part-1/) : An introduction to interpretable models with code and examples. 3. [Machine Learning Interpretability and Explainability (2/2) - For explorium.ai](https://www.explorium.ai/blog/interpretability-and-explainability-part-2/) : An introduction to explainability in Machine Learning with code and examples. 4. [A guide to Face Detection - For digitalminds.io](https://www.digitalminds.io/blog/a_guide_to_face_detection_in_python) : An overview of the different techniques face Face Detection in Python (with code). 5. [Modéliser des distributions avec Python (French) - For Stat4Decision](https://www.stat4decision.com/fr/distribution-donnees-python/): Distribution fitting web application with Streamlit. 6. [Introduction au Traitement Automatique de Language Naturel (TAL) (French) - For Stat4Decision](https://www.stat4decision.com/fr/traitement-langage-naturel-francais-tal-nlp/) # Medium Articles 1. Boosting and Adaboost clearly explained : https://towardsdatascience.com/boosting-and-adaboost-clearly-explained-856e21152d3e 2. A guide to Face Detection in Python: https://towardsdatascience.com/a-guide-to-face-detection-in-python-3eab0f6b9fc1 3. Markov Chains and HMMs: https://towardsdatascience.com/markov-chains-and-hmms-ceaf2c854788 4. Introduction to Graphs (Part 1): https://towardsdatascience.com/introduction-to-graphs-part-1-2de6cda8c5a5 5. Graph Algorithms (Part 2): https://towardsdatascience.com/graph-algorithms-part-2-dce0b2734a1d 6. Graph Algorithms (Part 3): https://towardsdatascience.com/learning-in-graphs-with-python-part-3-8d5513eef62d 7. I trained a neural network to speak like me: https://towardsdatascience.com/i-trained-a-network-to-speak-like-me-9552c16e2396 #### Stay tuned :)
3,166
This is Andrew NG Coursera Handwritten Notes.
# Andrew NG Notes Collection **This is the first course of the deep learning specialization at [Coursera](https://www.coursera.org/specializations/deep-learning) which is moderated by [DeepLearning.ai](http://deeplearning.ai/). The course is taught by Andrew Ng.** **<Span style="color:red;">Andrew NG Machine Learning Notebooks :</span>** [**Reading**](https://github.com/ashishpatel26/Andrew-NG-Notes/tree/master/Machine%20Learning%20notebooks%20By%20Andrew%20NG) **<Span style="color:red;">Deep learning Specialization Notes in One pdf :</span>** [**Reading**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/Deep%20learning%20by%20AndrewNG%20Tutorial%20%20Notes.pdf) | **Sr No** | **Article Reading** | | --------- | :----------------------------------------------------------- | | **1.** | **[Neural Network Deep Learning](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-1-neural-network-deep-learning.md)** | | **2.** | **[Improving Deep learning Network](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-2-improving-deep-learning-network.md)** | | **3.** | **[Structure of ML Projects](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-3-structuring-ml-projects.md)** | | **4.** | **[Convolutions Neural Network](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-4-convolutional-neural-network.md)** | | **5.** | **[Sequence Models](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-5-sequence-models.md)** | | Sr. No | MOOC LECTURE LINK | | ------ | ------------------------------------------------------------ | | 1. | [**Machine learning by Andrew-NG**](https://www.youtube.com/playlist?list=PLLssT5z_DsK-h9vYZkQkYNWcItqhlRJLN) | | | **DEEP LEARNING SERIES** | | 1. | [**Neural Network and Deep Learning**](https://www.youtube.com/playlist?list=PLkDaE6sCZn6Ec-XTbcX1uRg2_u4xOEky0) | | 2. | [**Improving deep neural networks: hyperparameter tuning, regularization and optimization**](https://www.youtube.com/playlist?list=PLkDaE6sCZn6Hn0vK8co82zjQtt3T2Nkqc) | | 3. | [**Structuring Machine Learning Projects**](https://www.youtube.com/playlist?list=PLkDaE6sCZn6E7jZ9sN_xHwSHOdjUxUW_b) | | 4. | [**Convolution Neural Network**](https://www.youtube.com/playlist?list=PLkDaE6sCZn6Gl29AoE31iwdVwSG-KnDzF) | | 5. | [**Sequence Models**](https://www.youtube.com/playlist?list=PLkDaE6sCZn6F6wUI9tvS_Gw1vaFAx6rd6) | | 6. | [**CS230: Deep Learning \| Autumn 2018**](https://www.youtube.com/playlist?list=PLoROMvodv4rOABXSygHTsbvUz4G_YQhOb ) | ## [**1.Neural Network Deep Learning**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-1-neural-network-deep-learning.md) ## ![](https://systweak1.vo.llnwd.net/content/wp/systweakblogsnew/uploads_new/2018/03/hidden-layers-in-network.gif) * **This Notes Give you brief introduction about :** * [**What is neural network? How it's work?**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-1-neural-network-deep-learning.md#what-is-a-neural-network-nn) * [**Supervised Learning using Neural Network**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-1-neural-network-deep-learning.md#neural-networks-basics) * [**Shallow Neural Network Design**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-1-neural-network-deep-learning.md#shallow-neural-networks) * [**Deep Neural Network**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-1-neural-network-deep-learning.md#deep-neural-networks) * **Notebooks** : * Week1 - [**Introduction to deep learning**](https://github.com/ashishpatel26/Andrew-NG-Notes/tree/master/Deep%20Learning%20Notebooks%20by%20Andrew%20NG/Convolutional%20Neural%20Networks/Week1) * Week2 - [**Neural Networks Basics**](https://nbviewer.jupyter.org/github/ashishpatel26/Andrew-NG-Notes/blob/master/Deep%20Learning%20Notebooks%20by%20Andrew%20NG/Neural%20Networks%20and%20Deep%20Learning/Logistic%20Regression%20with%20a%20Neural%20Network%20mindset.ipynb) * Week3 - [**Shallow neural networks**](https://nbviewer.jupyter.org/github/ashishpatel26/Andrew-NG-Notes/blob/master/Deep%20Learning%20Notebooks%20by%20Andrew%20NG/Neural%20Networks%20and%20Deep%20Learning/Logistic%20Regression%20with%20a%20Neural%20Network%20mindset.ipynb) * Week4 - [**Deep Neural Networks**](https://nbviewer.jupyter.org/github/ashishpatel26/Andrew-NG-Notes/blob/master/Deep%20Learning%20Notebooks%20by%20Andrew%20NG/Neural%20Networks%20and%20Deep%20Learning/Building%20your%20Deep%20Neural%20Network%20-%20Step%20by%20Step.ipynb) ## [**2 Improving Deep learning Network**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-2-improving-deep-learning-network.md) ## ![](https://i.pinimg.com/originals/63/62/8f/63628f546ad55fd31091e23c623cb9f5.gif) * **This Notes Give you introduction about :** * [**Practical aspects of Deep Learning**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-2-improving-deep-learning-network.md#practical-aspects-of-deep-learning) * [**Optimization algorithms**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-2-improving-deep-learning-network.md#optimization-algorithms) * [**Hyperparameter tuning, Batch Normalization and Programming Frameworks**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-2-improving-deep-learning-network.md#hyperparameter-tuning-batch-normalization-and-programming-frameworks) * **Notebooks**: * Week1 - [**Practical aspects of Deep Learning**](https://github.com/ashishpatel26/Andrew-NG-Notes/tree/master/Deep%20Learning%20Notebooks%20by%20Andrew%20NG/Improving%20Deep%20Neural%20Networks%20Hyperparameter%20tuning%2C%20Regularization%20and%20Optimization) - Setting up your Machine Learning Application - Regularizing your neural network - Setting up your optimization problem * Week2 - [**Optimization algorithms**](https://nbviewer.jupyter.org/github/ashishpatel26/Andrew-NG-Notes/blob/master/Deep%20Learning%20Notebooks%20by%20Andrew%20NG/Improving%20Deep%20Neural%20Networks%20Hyperparameter%20tuning%2C%20Regularization%20and%20Optimization/Optimization%20methods.ipynb) * Week3 - [**Hyperparameter tuning, Batch Normalization and Programming Frameworks**](https://github.com/ashishpatel26/Andrew-NG-Notes/tree/master/Deep%20Learning%20Notebooks%20by%20Andrew%20NG/Improving%20Deep%20Neural%20Networks%20Hyperparameter%20tuning%2C%20Regularization%20and%20Optimization) ## [**3.Structure ML Projects**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-3-structuring-ml-projects.md) ![](https://i.pinimg.com/originals/9b/fa/97/9bfa978a4cf40fe2cdf8c710deb9b6f9.png) * **In This Notes, you can learn about How to Structure Machine Learning Project:** * [**Why ML Structure?**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-3-structuring-ml-projects.md#ml-strategy-1) * [**Error Analysis**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-3-structuring-ml-projects.md#ml-strategy-2) * **Notebooks:** * Week1 - [**Introduction to ML Strategy**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/Deep%20Learning%20Notebooks%20by%20Andrew%20NG/Structuring%20Machine%20Learning%20Projects/Week%201%20Quiz%20-%20Bird%20recognition%20in%20the%20city%20of%20Peacetopia%20(case%20study).md) - Setting up your goal - Comparing to human-level performance * Week2 - [**ML Strategy (2)**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/Deep%20Learning%20Notebooks%20by%20Andrew%20NG/Structuring%20Machine%20Learning%20Projects/Week%202%20Quiz%20-%20Autonomous%20driving%20(case%20study).md) - Error Analysis - Mismatched training and dev/test set - Learning from multiple tasks - End-to-end deep learning ## [**4.Convolution Neural Network**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-4-convolutional-neural-network.md) * **Matrix Multiplication Between Image and Kernel Known as *Convolution Operation*** ![](https://i.stack.imgur.com/9OZKF.gif) ![](https://cdn-images-1.medium.com/max/600/1*GdxHFaUDbvTXJreKg3S8SQ.gif) ![](https://www.guru99.com/images/tensorflow/082918_1325_ConvNetConv9.gif) * **In This Notes, you can learn about Brief architecture CNN:** * [**Foundations of CNNs**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-4-convolutional-neural-network.md#foundations-of-cnns) * [**Deep convolutional models: case studies**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-4-convolutional-neural-network.md#deep-convolutional-models-case-studies) * [**Object detection**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-4-convolutional-neural-network.md#object-detection) * [**Special applications: Face recognition & Neural style transfer**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-4-convolutional-neural-network.md#special-applications-face-recognition--neural-style-transfer) * **Notebooks :** * Week1 - [**Foundations of Convolutional Neural Networks**](https://nbviewer.jupyter.org/github/ashishpatel26/Andrew-NG-Notes/blob/master/Deep%20Learning%20Notebooks%20by%20Andrew%20NG/Convolutional%20Neural%20Networks/Week1/Convolution%20model%20-%20Step%20by%20Step.ipynb) * Week2 - [**Deep convolutional models: case studies**](https://nbviewer.jupyter.org/github/ashishpatel26/Andrew-NG-Notes/blob/master/Deep%20Learning%20Notebooks%20by%20Andrew%20NG/Convolutional%20Neural%20Networks/Week2/ResNets/Residual%20Networks.ipynb) - **Papers for read:** - [**ImageNet Classification with Deep Convolutional Neural Networks**](https://papers.nips.cc/paper/4824-imagenet-classification-with-deep-convolutional-neural-networks.pdf) - [**Very Deep Convolutional Networks For Large-Scale Image Recognition**](https://arxiv.org/pdf/1409.1556.pdf) * Week3 - [**Object detection**](https://nbviewer.jupyter.org/github/ashishpatel26/Andrew-NG-Notes/blob/master/Deep%20Learning%20Notebooks%20by%20Andrew%20NG/Convolutional%20Neural%20Networks/Week3/Car%20detection%20for%20Autonomous%20Driving/Autonomous%20driving%20application%20-%20Car%20detection.ipynb) - **Papers for read:** - [**You Only Look Once: Unified, Real-Time Object Detection**](https://arxiv.org/pdf/1506.02640.pdf) - [**YOLO**](https://arxiv.org/pdf/1612.08242.pdf) * Week4 - [**Special applications: Face recognition & Neural style transfer**](https://github.com/ashishpatel26/Andrew-NG-Notes/tree/master/Deep%20Learning%20Notebooks%20by%20Andrew%20NG/Convolutional%20Neural%20Networks/Week4) - **Papers for read:** - [**DeepFace**](https://www.cs.toronto.edu/~ranzato/publications/taigman_cvpr14.pdf) ([**Notebook**](https://nbviewer.jupyter.org/github/ashishpatel26/Andrew-NG-Notes/blob/master/Deep%20Learning%20Notebooks%20by%20Andrew%20NG/Convolutional%20Neural%20Networks/Week4/Face%20Recognition/Face%20Recognition%20for%20the%20Happy%20House.ipynb)) - [**FaceNet**](https://www.cv-foundation.org/openaccess/content_cvpr_2015/papers/Schroff_FaceNet_A_Unified_2015_CVPR_paper.pdf) - [**Neural Style Transfer**](https://nbviewer.jupyter.org/github/ashishpatel26/Andrew-NG-Notes/blob/master/Deep%20Learning%20Notebooks%20by%20Andrew%20NG/Convolutional%20Neural%20Networks/Week4/Neural%20Style%20Transfer/Art%20Generation%20with%20Neural%20Style%20Transfer.ipynb) ## [**5.Sequence Models**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-5-sequence-models.md) ![](https://3.bp.blogspot.com/-3Pbj_dvt0Vo/V-qe-Nl6P5I/AAAAAAAABQc/z0_6WtVWtvARtMk0i9_AtLeyyGyV6AI4wCLcB/s1600/nmt-model-fast.gif) --- * **Vanila RNN** ![](https://cdn-images-1.medium.com/max/880/1*xn5kA92_J5KLaKcP7BMRLA.gif) * **LSTM** ![](https://cdn-images-1.medium.com/max/880/1*goJVQs-p9kgLODFNyhl9zA.gif) * **GRU** ![](https://cdn-images-1.medium.com/max/880/1*FpRS0C3EHQnELVaWRvb8bg.gif) * **In This Section, you can learn about Sequence to Sequence Learning** * [**Recurrent Neural Networks**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-5-sequence-models.md#recurrent-neural-networks) * [**Natural Language Processing & Word Embeddings**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-5-sequence-models.md#natural-language-processing--word-embeddings) * [**Sequence models & Attention mechanism**](https://github.com/ashishpatel26/Andrew-NG-Notes/blob/master/andrewng-p-5-sequence-models.md#sequence-models--attention-mechanism) * **Notebooks:** * Week1 - [**Recurrent Neural Networks**](https://nbviewer.jupyter.org/github/ashishpatel26/Andrew-NG-Notes/blob/master/Deep%20Learning%20Notebooks%20by%20Andrew%20NG/Sequence%20Models/Week1/Building%20a%20Recurrent%20Neural%20Network%20-%20Step%20by%20Step/Building%20a%20Recurrent%20Neural%20Network%20-%20Step%20by%20Step.ipynb) * Week2 - [**Natural Language Processing & Word Embeddings**](https://github.com/ashishpatel26/Deep-Learning-Coursera/tree/master/Sequence%20Models/Week2) * Week3 - [**Sequence models & Attention mechanism**](https://github.com/ashishpatel26/Deep-Learning-Coursera/tree/master/Sequence%20Models/Week3) **Thanks for Reading....Happy Learning...!!!**
3,167
A log of things I'm learning
# learning A running log of things I'm learning to build strong core software engineering skills while also expanding breadth of knowledge on [adjacent technologies](http://www.effectiveengineer.com/blog/master-adjacent-disciplines) a little bit [everyday](https://jamesclear.com/continuous-improvement). ## Core Skills <details> <summary>Business Understanding</summary> |Concept|Resource|Done| |---|---|---| ||[Book: Delivering Happiness](https://www.amazon.com/Delivering-Happiness-Profits-Passion-Purpose/dp/0446576220)|✓| ||[Book: Good to Great: Why Some Companies Make the Leap...And Others Don't](https://www.amazon.com/Good-Great-Some-Companies-Others-ebook/dp/B0058DRUV6)|✓| ||[Book: Hello, Startup: A Programmer's Guide to Building Products, Technologies, and Teams](https://www.amazon.com/Hello-Startup-Programmers-Building-Technologies/dp/1491909900)|✓| ||[Book: How Google Works](https://www.howgoogleworks.net)|✓| ||[Book: Learn to Earn: A Beginner's Guide to the Basics of Investing and Business](https://www.goodreads.com/book/show/817589.Learn_to_Earn)|✓| ||[Book: Rework](https://www.goodreads.com/book/show/6732019-rework)|✓| ||[Book: The Airbnb Story](https://www.amazon.com/Airbnb-Story-Ordinary-Disrupted-Controversy/dp/0544952669)|✓| ||[Book: The Personal MBA](https://www.amazon.com/Personal-MBA-Master-Art-Business/dp/1591845572)|✓| ||[Udacity: How to Build a Startup](https://www.udacity.com/course/how-to-build-a-startup--ep245)|| |Marketing|[Smartly: Marketing Fundamentals](https://smart.ly/course/abd47e21-4b59-4ccf-910d-fb1c18b2e9df)|✓| ||[Udacity: App Marketing](https://www.udacity.com/course/app-marketing--ud719)|| ||[Facebook: Digital marketing: get started](https://learn.fb.com/skillset/marketing-started)|✓| ||[Facebook: Digital marketing: go further](https://learn.fb.com/skillset/marketing-further)|✓| ||[Google Analytics for Beginners](https://analytics.google.com/analytics/academy/course/6)|✓| ||[Moz: The Beginner's Guide to SEO](https://moz.com/beginners-guide-to-seo)|✓| ||[Treehouse: SEO Basics](https://teamtreehouse.com/library/seo-basics)|✓| ||[Udacity: App Monetization](https://www.udacity.com/course/app-monetization--ud518)|| </details> <details> <summary>Python Programming</summary> |Concept|Resource|Done| |---|---|---| |Language|[Datacamp: Python for R Users](https://www.datacamp.com/courses/python-for-r-users)|✓| ||[Datacamp: Python for Spreadsheet Users](https://www.datacamp.com/courses/python-for-spreadsheet-users)|✓| ||[Datacamp: Intro to Python for Finance](https://www.datacamp.com/courses/intro-to-python-for-finance)|✓| ||[Book: A Byte of Python](https://python.swaroopch.com)|✓| ||[Book: Learn Python The Hard way](https://learnpythonthehardway.org)|✓| ||[Datacamp: Writing Efficient Python Code](https://www.datacamp.com/courses/writing-efficient-python-code)|✓| ||[Datacamp: Writing Functions in Python](https://www.datacamp.com/courses/writing-functions-in-python)|✓| ||[Datacamp: Working with Dates and Times in Python](https://www.datacamp.com/courses/working-with-dates-and-times-in-python)|| ||[Datacamp: Object-Oriented Programming in Python](https://www.datacamp.com/courses/object-oriented-programming-in-python)|✓| ||[Datacamp: Importing Data in Python (Part 1)](https://www.datacamp.com/courses/importing-data-in-python-part-1)|✓| ||[Datacamp: Intermediate Python for Data Science](https://www.datacamp.com/courses/intermediate-python-for-data-science)|✓| ||[Datacamp: Python Data Science Toolbox (Part 1)](https://www.datacamp.com/courses/python-data-science-toolbox-part-1)|✓| ||[Datacamp: Python Data Science Toolbox (Part 2)](https://www.datacamp.com/courses/python-data-science-toolbox-part-2)|✓| |Standard Library|[Book: Python 201](https://leanpub.com/python201)|| ||[Book: The Python 3 Standard Library By Example](https://doughellmann.com/blog/the-python-3-standard-library-by-example)|| ||[Calmcode: logging](https://calmcode.io/logging/introduction.html)|✓| ||[Calmcode: virtualenv](https://calmcode.io/virtualenv/intro.html)|✓| ||[Calmcode: tqdm](https://calmcode.io/tqdm/making-a-progress-bar.html)|✓| ||[Datacamp: Command Line Automation in Python](https://www.datacamp.com/courses/command-line-automation-in-python)|| |Regular Expression|[Regex For Noobs (like me!) - An Illustrated Guide](https://www.janmeppe.com/blog/regex-for-noobs/)|✓| ||[Youtube: Python 3 Programming Tutorial - Regular Expressions / Regex with re](https://www.youtube.com/watch?v=sZyAn2TW7GY)|✓| ||[Youtube: Python Tutorial: re Module - How to Write and Match Regular Expressions (Regex)](https://www.youtube.com/watch?v=K8L6KVGG-7o)|✓| |Concurrency|[Article: Python Concurrency: The Tricky Bits](https://python.hamel.dev/concurrency/)|✓| ||[Article: Speeding Up Python with Concurrency, Parallelism, and asyncio](https://testdriven.io/blog/concurrency-parallelism-asyncio/)|| ||[Article: Speed Up Your Python Program With Concurrency](https://testdriven.io/blog/concurrency-parallelism-asyncio/)|| ||[Youtube: Python Concurrency and Multithreading](https://advanced-python.namespace.im/python-concurrency-and-multithreading/)|| ||[Youtube: Aaron Richter- Parallel Processing in Python\| PyData Global 2020](https://www.youtube.com/watch?v=eJyjB3cNIB0&feature=youtu.be)|| |Packaging|[Datacamp: Developing Python Packages](https://www.datacamp.com/courses/developing-python-packages)|✓| ||[Datacamp: Conda Essentials](https://www.datacamp.com/courses/conda-essentials)|✓| ||[Datacamp: Conda for Building & Distributing Packages](https://www.datacamp.com/courses/conda-for-building-distributing-packages)|| ||[Article: Push and pull: when and why to update your dependencies](https://pythonspeed.com/articles/when-update-dependencies/)|| ||[Article: Reproducible and upgradable Conda environments: dependency management with conda-lock](https://pythonspeed.com/articles/conda-dependency-management/)|| ||[Article: Options for packaging your Python code: Wheels, Conda, Docker, and more](https://pythonspeed.com/articles/distributing-software/)|| |Project Organization|[Youtube: Tutorial: Sebastian Witowski - Modern Python Developer's Toolkit](https://www.youtube.com/watch?v=WkUBx3g2QfQ&feature=youtu.be)|✓| ||[Book: Writing Idiomatic Python 3](https://www.amazon.com/Writing-Idiomatic-Python-Jeff-Knupp-ebook/dp/B00B5VXMRG)|| ||[Article: Hypermodern Python](https://cjolowicz.github.io/posts/hypermodern-python-01-setup/)|| ||[Article: Hypermodern Python Chapter 2: Testing](https://cjolowicz.github.io/posts/hypermodern-python-02-testing/)|| ||[Article: Hypermodern Python Chapter 3: Linting](https://cjolowicz.github.io/posts/hypermodern-python-03-linting/)|| ||[Article: Hypermodern Python Chapter 4: Typing](https://cjolowicz.github.io/posts/hypermodern-python-04-typing/)|| ||[Article: pydantic](https://towardsdatascience.com/pydantic-688e897cfd3a)|✓| ||[Article: Hypermodern Python Chapter 5: Documentation](https://cjolowicz.github.io/posts/hypermodern-python-05-documentation/)|| ||[Article: Hypermodern Python Chapter 6: CI/CD](https://cjolowicz.github.io/posts/hypermodern-python-06-ci-cd/)|| ||[Article: Stop using print, start using loguru in Python](https://handyman.dulare.com/stop-using-print-start-using-loguru-in-python/)|✓| ||[Datacamp: Creating Robust Python Workflows](https://www.datacamp.com/courses/creating-robust-python-workflows)|✓| ||[Datacamp: Software Engineering for Data Scientists in Python](https://www.datacamp.com/courses/software-engineering-for-data-scientists-in-python)|✓| ||[Datacamp: Designing Machine Learning Workflows in Python](https://www.datacamp.com/courses/designing-machine-learning-workflows-in-python)|✓| ||[Youtube: Hydra configuration](https://uniroma1.zoom.us/rec/share/bTYldvVYRcN2UaBn8UTf3uuFQMkx8yy4UG4bRw8ikE1tT8Ll74Nl3WZoUXnJRCKE.HEhRruThY3al1jew?startTime=1620378786000)|✓| </details> <details> <summary>Data Structures and Algorithms</summary> |Concept|Resource|Done| |---|---|---| ||[Book: Grokking Algorithms](https://www.manning.com/books/grokking-algorithms)|✓| ||[Codecademy: Big O](https://www.codecademy.com/courses/big-o/0/1 )|✓| ||[Udacity: Intro to Data Structures and Algorithms](https://www.udacity.com/course/technical-interview--ud513)|✓| </details> <details> <summary>Linux & Command Line</summary> |Concept|Resource|Done| |---|---|---| ||[Codecademy: Learn the Command Line](https://www.codecademy.com/learn/learn-the-command-line)|✓| ||[Datacamp: Introduction to Shell for Data Science](https://www.datacamp.com/courses/introduction-to-shell-for-data-science)|✓| ||[Datacamp: Introduction to Bash Scripting](https://www.datacamp.com/courses/introduction-to-bash-scripting)|✓| ||[Datacamp: Data Processing in Shell](https://www.datacamp.com/courses/data-processing-in-shell)|✓| ||[Lecture 1: Course Overview + The Shell (2020)](https://www.youtube.com/watch?v=Z56Jmr9Z34Q) `0:48:16`|✓| ||[Lecture 2: Shell Tools and Scripting (2020)](https://www.youtube.com/watch?v=kgII-YWo3Zw) `0:48:55`|✓| ||[Lecture 3: Editors (vim) (2020)](https://www.youtube.com/watch?v=a6Q8Na575qc) `0:48:26`|| ||[Lecture 4: Data Wrangling (2020)](https://www.youtube.com/watch?v=sz_dsktIjt4) `0:50:03`|✓| ||[Lecture 5: Command-line Environment (2020)](https://www.youtube.com/watch?v=e8BO_dYxk5c) `0:56:06`|✓| ||[Lecture 7: Debugging and Profiling (2020)](https://www.youtube.com/watch?v=l812pUnKxME) `0:54:13`|✓| ||[Lecture 8: Metaprogramming (2020)](https://www.youtube.com/watch?v=_Ms1Z4xfqv4) `0:49:52`|✓| ||[Lecture 9: Security and Cryptography (2020)](https://www.youtube.com/watch?v=tjwobAmnKTo) `1:00:59`|| ||[Udacity: Linux Command Line Basics](https://www.udacity.com/course/linux-command-line-basics--ud595)|✓| ||[Udacity: Shell Workshop](https://www.udacity.com/course/shell-workshop--ud206)|✓| ||[Udacity: Configuring Linux Web Servers](https://www.udacity.com/course/configuring-linux-web-servers--ud299)|✓| ||[Article: Streamline your projects using Makefile](https://dev.to/yankee/streamline-projects-using-makefile-28fe)|✓| ||[Article: Understand Linux Load Averages and Monitor Performance of Linux](https://www.tecmint.com/understand-linux-load-averages-and-monitor-performance/)|✓| ||[Article: Command-line Tools can be 235x Faster than your Hadoop Cluster](https://adamdrake.com/command-line-tools-can-be-235x-faster-than-your-hadoop-cluster.html)|✓| ||[Calmcode: makefiles](https://calmcode.io/makefiles/the-problem.html)|✓| ||[Calmcode: entr](https://calmcode.io/entr/introduction.html)|✓| </details> <details> <summary>Version Control</summary> |Concept|Resource|Done| |---|---|---| |Git|[Udacity: Version Control with Git](https://www.udacity.com/course/version-control-with-git--ud123)|✓| ||[Datacamp: Introduction to Git for Data Science](https://www.datacamp.com/courses/introduction-to-git-for-data-science)|✓| ||[Thoughtbot: Mastering Git](https://thoughtbot.com/upcase/mastering-git)|| ||[MIT Lecture 6: Version Control (git) (2020)](https://www.youtube.com/watch?v=2sjqTHE0zok) `1:24:59`|| ||[Article: Mastering Git Stash Workflow](https://dev.to/yankee/mastering-git-stash-workflow-223)|| ||[Article: How to Become a Master of Git Tags](https://blog.daftcode.pl/how-to-become-a-master-of-git-tags-b70fbd9609d9)|✓| ||[Article: Keep your git directory clean with `git clean` and `git trash`](https://coderwall.com/p/g16jpq/keep-your-git-directory-clean-with-git-clean-and-git-trash)|| |GitHub|[Udacity: GitHub & Collaboration](https://www.udacity.com/course/github-collaboration--ud456)|✓| ||[Udacity: How to Use Git and GitHub](https://www.udacity.com/course/how-to-use-git-and-github--ud775)|✓| |LFS|[Youtube: 045 Introduction to Git LFS](https://youtu.be/xPFLAAhuGy0)|✓| ||[Article: How to track large files in Github / Bitbucket? Git LFS to the rescue](https://pgaijin66.medium.com/how-to-track-large-files-in-github-bitbucket-git-lfs-to-the-rescue-2f298e07b3d2)|✓| </details> <details> <summary>Code Editor / IDE</summary> |Concept|Resource|Done| |---|---|---| |PyCharm|[Article: Work remotely with PyCharm, TensorFlow and SSH](https://medium.com/@erikhallstrm/work-remotely-with-pycharm-tensorflow-and-ssh-c60564be862d)|✓| ||[Article: Docker as Remote Interpreter for PyCharm Professional](https://www.inovex.de/blog/docker-remote-interpreter-pycharm-professional/)|✓| ||[Article: Python remote debugging with PyCharm, CUDA, and Conda](https://medium.com/@n1r44/python-remote-debugging-with-pycharm-cuda-and-conda-87d27695634c)|✓| |VSCode|[Article: How To Use Visual Studio Code for Remote Development via the Remote-SSH Plugin](https://www.digitalocean.com/community/tutorials/how-to-use-visual-studio-code-for-remote-development-via-the-remote-ssh-plugin)|✓| ||[Youtube: Getting Started with Python in Visual Studio Code](https://www.youtube.com/watch?v=7EXd4_ttIuw)|✓| ||[Visual Studio Code Crash Course](https://www.youtube.com/watch?v=WPqXP_kLzpo)|✓| ||[Youtube: VSCode Keyboard Shortcuts For Productivity](https://youtu.be/eGE-tFalwpA)|✓| ||[Youtube: Getting Started with Jupyter Notebooks in VS Code](https://youtu.be/Ozq24uAshXo)|✓| ||[Youtube: Notebooks in VS Code Are Getting Revamped!](https://youtu.be/g5EykzAsCC0)|✓| ||[Youtube: Getting Started with PyTorch in VS Code](https://youtu.be/A9lQHnFaqlU)|✓| ||[Youtube: What every GitHub user should know about VS Code - GitHub Satellite 2020](https://youtu.be/T6sW1Dk9B4E)|✓| ||[VS Code and GitHub](https://www.youtube.com/playlist?list=PLj6YeMhvp2S4UPBCWyhLPcOxGkmLI2BOz)|✓| </details> <details> <summary>Test-Driven Development</summary> |Concept|Resource|Done| |---|---|---| |Test Cases|[Article: Test-Driven Machine Learning Development (Deployment Series: Guide 07)](https://mlinproduction.com/testing-machine-learning-models-deployment-series-07/)|✓| ||[Pluralsight: Test-driven Development: The Big Picture](https://www.pluralsight.com/courses/test-driven-development-big-picture)|✓| ||[Test Driven Development with Python](http://chimera.labs.oreilly.com/books/1234000000754/index.html)|| ||[Datacamp: Unit Testing for Data Science in Python](https://www.datacamp.com/courses/unit-testing-for-data-science-in-python)|✓| ||[Article: How to cheat at unit tests with pytest and Black](https://simonwillison.net/2020/Feb/11/cheating-at-unit-tests-pytest-black/)|✓| ||[Youtube: Lab 8: Testing and Continuous Integration (Full Stack Deep Learning - Spring 2021)](https://www.youtube.com/watch?v=D3YeQcE9tSg) `0:13:26`|✓| ||[Article: 4 Lesser-Known Yet Awesome Tips for Pytest](https://towardsdatascience.com/4-lessor-known-yet-awesome-tips-for-pytest-2117d8a62d9c)|✓| ||[Article: How to Unit Test Deep Learning: Tests in TensorFlow, mocking and test coverage](https://theaisummer.com/unit-test-deep-learning/)|| ||[Article: Unit Testing for Data Scientists](https://www.maartengrootendorst.com/blog/unit/)|✓| |ML|[Article: Effective testing for machine learning systems](https://www.jeremyjordan.me/testing-ml)|✓| ||[Youtube: Beyond Accuracy: Behavioral Testing of NLP Models with CheckList \| AISC](https://www.youtube.com/watch?v=A0od6RosVSA)|✓| ||[Youtube: Lecture 10: ML Testing & Explainability (Full Stack Deep Learning - Spring 2021)](https://www.youtube.com/watch?v=K42wdqpZymw) `1:41:12`|| </details> <details> <summary>Web Technology</summary> |Concept|Resource|Done| |---|---|---| |Design|[Book: Refactoring UI](https://refactoringui.com/book/)|| ||[Code School: Fundamentals of Design](https://www.pluralsight.com/courses/code-school-fundamentals-of-design)|✓| ||[Thoughtbot: Design for Developers](https://thoughtbot.com/upcase/design-for-developers)|| ||[Udacity: Product Design](https://www.udacity.com/course/product-design--ud509)|| ||[Udacity: Rapid Prototyping](https://www.udacity.com/course/rapid-prototyping--ud723)|| |HTML|[Codecademy: Learn HTML](https://www.codecademy.com/learn/learn-html)|✓| ||[Codecademy: Make a website](https://www.codecademy.com/en/courses/make-a-website)|✓| ||[Treehouse: HTML](https://teamtreehouse.com/library/html)|✓| |CSS|[Pluralsight: CSS Positioning](https://www.pluralsight.com/courses/css-positioning-1834)|✓| ||[Pluralsight: Introduction to CSS](https://www.pluralsight.com/courses/css-intro)|✓| ||[Pluralsight: CSS: Specificity, the Box Model, and Best Practices](https://app.pluralsight.com/interactive-courses/detail/c580b092-d94a-4ed8-8d2a-2f4d0b76f99f)|✓| ||[Pluralsight: CSS: Using Flexbox for Layout](https://app.pluralsight.com/interactive-courses/detail/a089d0a5-4a4c-4c4e-b883-c1bc64009619)|✓| ||[Code School: Blasting Off with Bootstrap](https://www.pluralsight.com/courses/code-school-blasting-off-with-bootstrap)|✓| ||[Pluralsight: UX Fundamentals](https://www.pluralsight.com/courses/ux-fundamentals-2426)|✓| ||[Codecademy: Learn SASS](https://www.codecademy.com/learn/learn-sass)|✓| |Javascript|[Treehouse: Javascript Booleans](https://teamtreehouse.com/library/javascript-booleans)|✓| ||[Udacity: ES6 - JavaScript Improved](https://www.udacity.com/course/es6-javascript-improved--ud356)|✓| ||[Udacity: Intro to Javascript](https://www.udacity.com/course/intro-to-javascript--ud803)|✓| ||[Udacity: Object Oriented JS 1](https://www.udacity.com/course/object-oriented-javascript--ud015)|✓| ||[Udacity: Object Oriented JS 2](https://www.udacity.com/course/object-oriented-javascript--ud711)|✓| ||[(ES6) - Beau teaches JavaScript](https://www.youtube.com/watch?v=1mgLWu69ijU&list=PLWKjhJtqVAbljtmmeS0c-CEl2LdE-eR_F)|✓| ||[Udemy: Understanding Typescript](https://www.udemy.com/understanding-typescript/)|✓| ||[Codecademy: Learn ReactJS: Part I](https://www.codecademy.com/learn/react-101)|✓| ||[Codecademy: Learn ReactJS: Part II](https://www.codecademy.com/learn/react-102)|✓| ||[Codecademy: Learn JavaScript](https://www.codecademy.com/learn/learn-javascript)|✓| ||[Codecademy: Jquery Track](https://www.codecademy.com/learn/learn-jquery)|✓| ||[Pluralsight: Using The Chrome Developer Tools](https://www.pluralsight.com/courses/chrome-developer-tools)|✓| </details> <details> <summary>Backend & Web Servers</summary> |Concept|Resource|Done| |---|---|---| |Theory|[Udacity: Authentication & Authorization: OAuth](https://www.udacity.com/course/authentication-authorization-oauth--ud330)|| ||[Udacity: HTTP & Web Servers](https://www.udacity.com/course/http-web-servers--ud303)|| ||[Udacity: Client-Server Communication](https://www.udacity.com/course/client-server-communication--ud897)|| ||[Udacity: Designing RESTful APIs](https://www.udacity.com/course/designing-restful-apis--ud388)|| ||[Udacity: Networking for Web Developers](https://www.udacity.com/course/networking-for-web-developers--ud256)|| |FastAPI|[Article: Microservice in Python using FastAPI](https://dev.to/paurakhsharma/microservice-in-python-using-fastapi-24cc)|| ||[Youtube: PyConBY 2020: Sebastian Ramirez - Serve ML models easily with FastAPI](https://www.youtube.com/watch?v=z9K5pwb0rt8)|✓| ||[Youtube: FastAPI from the ground up](https://www.youtube.com/watch?v=3DLwPcrE5mA)|✓| ||[Youtube: Python pydantic Introduction – Give your data classes super powers](https://www.youtube.com/watch?v=WJmqgJn9TXg)|✓| |Gunicorn|[Article: Selecting gunicorn worker types for different python web applications.](https://medium.com/@nhudinhtuan/gunicorn-worker-types-practice-advice-for-better-performance-7a299bb8f929)|✓| ||[Article: Better performance by optimizing Gunicorn config](https://medium.com/building-the-system/gunicorn-3-means-of-concurrency-efbb547674b7)|✓| |Tensorflow Serving|[Article: Understanding TensorFlow Serving](https://medium.com/acing-ai/understanding-tensorflow-serving-faca576b558c)|| ||[Article: Serving models using Tensorflow Serving and Docker](https://medium.com/acing-ai/model-serving-using-tensorflow-serving-and-docker-492a347eb934)|| |Cortex|[Youtube: PyData Vancouver meetup: cortex.dev : Serving machine learning models in production](https://www.youtube.com/watch?v=_2HMDhgPkSQ)|✓| |Celery|[Article: Celery Execution Pools: What is it all about?](https://www.distributedpython.com/2018/10/26/celery-execution-pool/)|✓| ||[Article: Distill: Why do we need Flask, Celery, and Redis? (with McDonalds in Between)](https://ljvmiranda921.github.io/notebook/2019/11/08/flask-redis-celery-mcdo/)|✓| ||[Article: Celery: an overview of the architecture and how it works](https://www.vinta.com.br/blog/2017/celery-overview-archtecture-and-how-it-works/)|✓| ||[Article: Unit Testing Celery Tasks](https://www.distributedpython.com/2018/05/01/unit-testing-celery-tasks/)|| ||[Article: Testing Celery Chains](https://www.distributedpython.com/2018/05/15/testing-celery-chains/)|| ||[Article: Task Routing in Celery](https://www.distributedpython.com/2018/05/29/task-routing/)|| ||[Article: Dynamic Task Routing in Celery](https://www.distributedpython.com/2018/06/05/dynamic-task-routing/)|| ||[Article: Dockerize a Celery app with Django and RabbitMQ](https://www.distributedpython.com/2018/06/12/celery-django-docker/)|| ||[Article: How to call a Celery task from another app](https://www.distributedpython.com/2018/06/19/call-celery-task-outside-codebase/)|| ||[Article: Distributed Monte Carlo with Celery chords](https://www.distributedpython.com/2018/06/26/celery-monte-carlo/)|| ||[Article: An incredibly simple no-frills Celery setup](https://www.distributedpython.com/2018/07/03/simple-celery-setup/)|| ||[Article: 3 Strategies to Customise Celery logging handlers](https://www.distributedpython.com/2018/08/28/celery-logging/)|| ||[Article: Celery task exceptions and automatic retries](https://www.distributedpython.com/2018/09/04/error-handling-retry/)|| ||[Article: Concurrency and Parallelism](https://www.distributedpython.com/2018/09/14/concurrency-and-parallelism/)|✓| ||[Article: Celery, docker and the missing startup banner](https://www.distributedpython.com/2018/10/01/celery-docker-startup/)|| ||[Article: Monitoring a Dockerized Celery Cluster with Flower](https://www.distributedpython.com/2018/10/13/flower-docker/)|| ||[Article: Quick Guide: Custom Celery Task Logger](https://www.distributedpython.com/2018/11/06/celery-task-logger-format/)|| ||[Article: Celery on Docker: From the Ground up](https://www.distributedpython.com/2018/11/15/celery-docker/)|| ||[Article: Auto-reload Celery on code changes](https://www.distributedpython.com/2019/04/23/celery-reload/)|| </details> <details> <summary>Databases</summary> |Concept|Resource|Done| |---|---|---| ||[Udacity: Intro to relational database](https://www.udacity.com/course/intro-to-relational-databases--ud197)|✓| ||[Udacity: Database Systems Concepts & Design](https://www.udacity.com/course/database-systems-concepts-design--ud150)|| ||[Datacamp: Database Design](https://www.datacamp.com/courses/database-design)|| ||[Datacamp: Introduction to Databases in Python](https://www.datacamp.com/courses/introduction-to-relational-databases-in-python)|| ||[Codecademy: SQL Track](https://www.codecademy.com/courses/learn-sql)|✓| ||[Datacamp: Intro to SQL for Data Science](https://www.datacamp.com/courses/intro-to-sql-for-data-science)|✓| ||[Datacamp: Intermediate SQL](https://www.datacamp.com/courses/intermediate-sql)|| ||[Datacamp: Querying with TransactSQL](https://www.datacamp.com/courses/querying-with-transact-sql)|✓| ||[Datacamp: Joining Data in PostgreSQL](https://www.datacamp.com/courses/joining-data-in-postgresql)|| ||[Udacity: SQL for Data Analysis](https://www.udacity.com/course/sql-for-data-analysis--ud198)|| ||[Datacamp: Exploratory Data Analysis in SQL](https://www.datacamp.com/courses/sql-for-exploratory-data-analysis)|| ||[Datacamp: Applying SQL to Real-World Problems](https://www.datacamp.com/courses/applying-sql-to-real-world-problems)|| ||[Datacamp: Analyzing Business Data in SQL](https://www.datacamp.com/courses/analyzing-business-data-in-sql)|| ||[Datacamp: Reporting in SQL](https://www.datacamp.com/courses/reporting-in-sql)|| ||[Datacamp: Data-Driven Decision Making in SQL](https://www.datacamp.com/courses/data-driven-decision-making-with-sql)|| </details> <details> <summary>Production Environment</summary> |Concept|Resource|Done| |---|---|---| |A/B Testing|[Datacamp: Customer Analytics & A/B Testing in Python](https://www.datacamp.com/courses/customer-analytics-ab-testing-in-python)|| ||[Udacity: A/B Testing](https://www.udacity.com/course/ab-testing--ud257)|| ||[Udacity: A/B Testing for Business Analysts](https://www.udacity.com/course/ab-testing--ud979)|| |Load Testing|[Youtube: Loading Testing with Python](https://www.youtube.com/playlist?list=PLotCx_Au_rT1LW_qpMWU40Q-vegZua-i8)|✓| |Monitoring|[Article: Production Machine Learning Monitoring: Outliers, Drift, Explainers & Statistical Performance](https://towardsdatascience.com/production-machine-learning-monitoring-outliers-drift-explainers-statistical-performance-d9b1d02ac158)|✓| ||[Article: How to Monitor Models](http://bugra.github.io/posts/2020/11/24/how-to-monitor-models/)|✓| ||[Article: The Playbook to Monitor Your Model’s Performance in Production](https://towardsdatascience.com/the-playbook-to-monitor-your-models-performance-in-production-ec06c1cc3245)|| ||[Article: Monitoring your Machine Learning Model](https://www.maartengrootendorst.com/blog/monitor/)|✓| ||[Article: Preventing model drift with continuous monitoring and deployment using Github Actions and Algorithmia Insights](https://algorithmia.com/blog/preventing-model-drift-with-continuous-monitoring-and-deployment-using-github-actions-and-algorithmia-insights)|✓| ||[Article: Continuous monitoring for data projects](https://medium.com/acing-ai/continuous-monitoring-for-data-projects-11fb1c00c7a4)|| ||[Article: Lessons Learned from 15 Years of Monitoring Machine Learning in Production](https://mlinproduction.com/lessons-learned-from-15-years-of-monitoring-machine-learning-in-production/)|✓| ||[Article: Using Statistical Distances for Machine Learning Observability](https://towardsdatascience.com/using-statistical-distance-metrics-for-machine-learning-observability-4c874cded78)|| ||[Youtube: Instrumentation, Observability & Monitoring of Machine Learning Models](https://www.infoq.com/presentations/instrumentation-observability-monitoring-ml/)|| ||[Article: Incident Management in Machine Learning Systems](https://medium.com/acing-ai/incident-management-in-machine-learning-systems-d69b6e39fdee)|| ||[Article: ML Infrastructure Tools — ML Observability](https://towardsdatascience.com/ml-infrastructure-tools-ml-observability-8e4d7df6db43)|| ||[Youtube: MLOps #24 Monitoring the ML stack // Lina Weichbrodt](https://www.youtube.com/watch?v=Un30yb1WlpU) `0:55:32`|| ||[Youtube: Josh Wills: Visibility and Monitoring for Machine Learning Models](https://youtu.be/zbS9jBB8fz8)|✓| ||[Youtube: Lecture 11B: Monitoring ML Models (Full Stack Deep Learning - Spring 2021)](https://www.youtube.com/watch?v=NfnpPrW30Zo) `0:36:55`|✓| ||[Youtube: OpML '20 - How ML Breaks: A Decade of Outages for One Large ML Pipeline](https://www.youtube.com/watch?v=hBMHohkRgAA)|| ||[Youtube: MLOps #28 ML Observability // Aparna Dhinakaran - Chief Product Officer at Arize AI](https://www.youtube.com/watch?v=joTF9BRwWp4) `0:55:04`|| ||[Youtube: MLOps #29 Continuous Evaluation & Model Experimentation // Danny Ma - Founder of Sydney Data Science](https://www.youtube.com/watch?v=i4QNpM20QOc) `1:00:46`|| ||[Youtube: SE4AI: Quality Assessment in Production](https://www.youtube.com/watch?v=RaaNSXKFDGk) `1:18:45`|| ||[Youtube: SE4AI: Infrastructure Quality, Deployment and Operations](https://www.youtube.com/watch?v=iBaJgWjpK24) `1:04:54`|| </details> <details> <summary>System and Infrastructure Design</summary> |Concept|Resource|Done| |---|---|---| ||[Datacamp: Data Engineering for Everyone](https://www.datacamp.com/courses/data-engineering-for-everyone)|✓| ||[Article: Batch Inference vs Online Inference](https://mlinproduction.com/batch-inference-vs-online-inference/)|✓| ||[Article: Machine Learning System Design: Real-time processing](https://medium.com/acing-ai/machine-learning-system-design-real-time-processing-6a952793925)|| ||[Article: Machine Learning System Design: Models-as-a-service](https://medium.com/acing-ai/machine-learning-system-design-models-as-a-service-32666eba0e6)|| ||[Article: What Does it Mean to Deploy a Machine Learning Model? (Deployment Series: Guide 01)](https://mlinproduction.com/what-does-it-mean-to-deploy-a-machine-learning-model-deployment-series-01/)|✓| ||[Article: Software Interfaces for Machine Learning Deployment (Deployment Series: Guide 02)](https://mlinproduction.com/software-interfaces-for-machine-learning-deployment-deployment-series-02/)|✓| ||[Article: Batch Inference for Machine Learning Deployment (Deployment Series: Guide 03)](https://mlinproduction.com/batch-inference-for-machine-learning-deployment-deployment-series-03/)|✓| ||[Article: The Challenges of Online Inference (Deployment Series: Guide 04)](https://mlinproduction.com/the-challenges-of-online-inference-deployment-series-04/)|✓| ||[Article: Online Inference for ML Deployment (Deployment Series: Guide 05)](https://mlinproduction.com/online-inference-for-ml-deployment-deployment-series-05/)|✓| ||[Article: Model Registries for ML Deployment (Deployment Series: Guide 06)](https://mlinproduction.com/model-registries-for-ml-deployment-deployment-series-06/)|✓| ||[Youtube: A friendly introduction to System Design](https://www.youtube.com/watch?v=quLrc3PbuIw)|| ||[Youtube: System Design Basics: Horizontal vs. Vertical Scaling](https://www.youtube.com/watch?v=xpDnVSmNFX0)|| ||[Youtube: What is a microservice architecture and it's advantages?](https://www.youtube.com/watch?v=qYhRvH9tJKw)|✓| ||[Youtube: Service discovery and heartbeats in micro-services](https://www.youtube.com/watch?v=lWE_UIbm8NA)|| ||[Youtube: Avoid cascading failures in a distributed system](https://www.youtube.com/watch?v=xrizarXJgC8)|| ||[Youtube: How databases scale writes: The power of the log](https://www.youtube.com/watch?v=_5vrfuwhvlQ)|| ||[Youtube: How to avoid a single point of failure in distributed systems](https://www.youtube.com/watch?v=-BOysyYErLY)|| ||[Youtube: How to start with distributed systems? Beginner's guide to scaling systems.](https://www.youtube.com/watch?v=SqcXvc3ZmRU)|| ||[Youtube: What's an Event Driven System?](https://www.youtube.com/watch?v=rJHTK2TfZ1I)|| ||[Youtube: Why do Databases fail? AntiPatterns to avoid!](https://www.youtube.com/watch?v=9T-gNZ5bGCw)|✓| ||[Youtube: What is Consistent Hashing and Where is it used?](https://www.youtube.com/watch?v=zaRkONvyGr8)|✓| ||[Youtube: What is a Message Queue and Where is it used?](https://www.youtube.com/watch?v=oUJbuFMyBDk)|✓| ||[Youtube: What is an API and how do you design it?](https://www.youtube.com/watch?v=_YlYuNMTCc8)|| ||[Youtube: Introduction to NoSQL databases](https://www.youtube.com/watch?v=xQnIN9bW0og)|| ||[Article: Exponential Backoff And Jitter](https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/)|✓| ||[Youtube: What is Database Sharding?](https://www.youtube.com/watch?v=5faMjKuB9bc)|| ||[Youtube: What is the Publisher Subscriber Model?](https://www.youtube.com/watch?v=FMhbR_kQeHw)|| ||[Article: Shadow mode deployments](http://nlathia.github.io/2020/07/Shadow-mode-deployments.html)|✓| ||[Youtube: Relational database index vs. NoSQL index](https://www.youtube.com/watch?v=mTNkqMDCasI)|| ||[Youtube: Capacity Estimation: How much data does YouTube store daily?](https://www.youtube.com/watch?v=0myM0k1mjZw)|| ||[Youtube: What is Load Balancing?](https://www.youtube.com/watch?v=K0Ta65OqQkY)|✓| ||[Youtube: Distributed Consensus and Data Replication strategies on the server](https://www.youtube.com/watch?v=GeGxgmPTe4c)|| ||[Youtube: What is Distributed Caching? Explained with Redis!](https://www.youtube.com/watch?v=U3RkDLtS7uY)|| ||[Youtube: Designing Instagram: System Design of News Feed](https://www.youtube.com/watch?v=QmX2NPkJTKg)|| ||[Youtube: System Design: Tinder as a microservice architecture](https://www.youtube.com/watch?v=tndzLznxq40)|| ||[Youtube: System design : Design Autocomplete or Typeahead Suggestions for Google search](https://www.youtube.com/watch?v=us0qySiUsGU)|| ||[Youtube: Whatsapp System Design: Chat Messaging Systems for Interviews](https://www.youtube.com/watch?v=vvhC64hQZMk)|| ||[Youtube: How Netflix onboards new content: Video Processing at scale](https://www.youtube.com/watch?v=x9Hrn0oNmJM)|| ||[Article: Building a feature store](http://nlathia.github.io/2020/12/Building-a-feature-store.html)|✓| ||[Article: Model artifacts: the war stories](http://nlathia.github.io/2020/09/Model-artifacts-war-stories.html)|✓| ||[Youtube: Feature Stores: An essential part of the ML stack to build great data / Kevin Stumpf - CTO at Tecton](https://www.youtube.com/watch?v=IjO8VUCIZxc) `1:05:46`|| ||[Youtube: MLOps Meetup #6: Mid-Scale Production Feature Engineering with Dr. Venkata Pingali](https://www.youtube.com/watch?v=1CcYuVVwOGg) `1:01:35`|| ||[Article: How to Deploy a Machine Learning Model](https://www.maartengrootendorst.com/blog/deploy/)|✓| ||[Article: How to properly ship and deploy your machine learning model](https://towardsdatascience.com/how-to-properly-ship-and-deploy-your-machine-learning-model-8a8664b763c4)|✓| ||[Article: The Ultimate Guide to Model Retraining](https://mlinproduction.com/model-retraining/)|| ||[Youtube: Lecture 11A: Deploying ML Models (Full Stack Deep Learning - Spring 2021)](https://www.youtube.com/watch?v=jFflwpx4iK0) `0:53:25`|✓| ||[Article: Deploying Machine Learning Models: A Checklist](https://twolodzko.github.io/ml-checklist)|✓| ||[Article: How to put machine learning models into production](https://stackoverflow.blog/2020/10/12/how-to-put-machine-learning-models-into-production/)|✓| ||[Youtube: MLOps meetup #5 High Stakes ML with Flavio CLesio](https://www.youtube.com/watch?v=9g4deV1uNZo) `0:55:27`|| ||[Youtube: MLOps meetup #7 Alex Spanos // TrueLayer 's MLOps Pipeline](https://www.youtube.com/watch?v=cUxK28ocZcw) `0:56:17`|| ||[Youtube: The Current MLOps Landscape // Nathan Benaich & Timothy Chen // MLOps Meetup #43](https://www.youtube.com/watch?v=i6HZ2vjFLIs) `0:58:31`|| ||[Article: How to build scalable Machine Learning systems — Part 1/2](https://towardsdatascience.com/being-a-data-scientist-does-not-make-you-a-software-engineer-c64081526372)|✓| ||[Article: Machine learning is going real-time](https://huyenchip.com/2020/12/27/real-time-machine-learning.html)|✓| ||[Book: Machine Learning Systems Design](https://huyenchip.com/machine-learning-systems-design/toc.html)|| ||[Article: ML Infrastructure Tools for Model Building](https://towardsdatascience.com/ml-infrastructure-tools-for-model-building-464770ac4fec)|| ||[Article: ML Infrastructure Tools for Production (Part 1)](https://towardsdatascience.com/ml-infrastructure-tools-for-production-1b1871eecafb)|| ||[Article: ML Infrastructure Tools for Production](https://towardsdatascience.com/ml-infrastructure-tools-for-production-part-2-model-deployment-and-serving-fcfc75c4a362)|| ||[Article: Data Lineage — An Operational perspective](https://medium.com/acing-ai/data-lineage-an-operational-perspective-d807e52e2198)|| ||[Article: Data Pipelines — Agile considerations](https://medium.com/acing-ai/data-pipelines-agile-considerations-8b1933909bb1)|| ||[Article: Securing ML applications](https://medium.com/acing-ai/securing-ml-applications-efa1bb7d75bd)|| ||[Article: Getting machine learning to production](http://veekaybee.github.io/2020/06/09/ml-in-prod/)|✓| ||[Article: Machine Learning to Production](https://vikramriyer.github.io/machine-learning-to-production/#)|✓| ||[Youtube: SE4AI: Invited Talk Molham Aref "Business Systems with Machine Learning"](https://www.youtube.com/watch?v=_bvrzYOA8dY) `0:47:53`|| ||[Youtube: SE4AI: Software Architecture of AI-Enabled Systems](https://www.youtube.com/watch?v=KIC-sFz5OT8) `1:14:24`|| ||[Youtube: MLOps #31 Path to Production and Monetizing Machine Learning // Vin Vashishta - Data Scientist](https://www.youtube.com/watch?v=voO0B0_BsuQ) `0:56:35`|| ||[Youtube: MLOps #35: Streaming Machine Learning with Apache Kafka and Tiered Storage // Kai Waehner, Confluent](https://www.youtube.com/watch?v=Ur969-WX1BY) `0:52:50`|| ||[Youtube: MLOps #15 - Scaling Human in the Loop Machine Learning with Robert Munro](https://www.youtube.com/watch?v=LwbbGsuNpao) `0:55:04`|| ||[Youtube: MLOps #4: Shubhi Jain - Building an ML Platform @SurveyMonkey](https://www.youtube.com/watch?v=oq1g4s2dUHE) `0:55:42`|| ||[Youtube: #11 Machine Learning at scale in Mercado Libre with Carlos de la Torre](https://www.youtube.com/watch?v=ypySVdT9U7Q) `0:59:28`|| ||[Youtube: MLOps #18 // Nubank - Running a fintech on ML](https://www.youtube.com/watch?v=ry_P5D_d7XA) `0:53:19`|| ||[Youtube: Shawn Scully: Production and Beyond: Deploying and Managing Machine Learning Models](https://www.youtube.com/watch?v=q-VPALG6ogY&feature=youtu.be)|✓| ||[Doc: Lecture 3: Data engineering](https://docs.google.com/document/d/1b9iuZiDEGVLHyMmnf6w2y1aN6yWQhAyqk3GHlpI9q6M/edit)|| ||[Youtube: MLOps #14: Kubeflow vs MLflow with Byron Allen](https://www.youtube.com/watch?v=TsGQZ0D3688) `0:54:57`|| ||[Youtube: Luigi in Production // MLOps Coffee Sessions #18 // Luigi Patruno ML in Production](https://www.youtube.com/watch?v=ShBod1yXUeg) `0:47:23`||||[Stanford MLSys Seminar Episode 0: ML + Systems](https://www.youtube.com/watch?v=OEiNnfdxBRE) `0:11:49`|✓| ||[Stanford MLSys Seminar Episode 1: Marco Tulio Ribeiro](https://www.youtube.com/watch?v=VqiTtdY58Ts) `1:00:38`|| ||[Stanford MLSys Seminar Episode 2: Matei Zaharia](https://www.youtube.com/watch?v=nCQ9WqXPIS4) `0:59:44`|| ||[Stanford MLSys Seminar Episode 3: Virginia Smith](https://www.youtube.com/watch?v=laCyJICLyWg) `1:00:55`|| ||[Stanford MLSys Seminar Episode 4: Alex Ratner](https://www.youtube.com/watch?v=pDVV4zKNqIE) `1:13:34`|| ||[Stanford MLSys Seminar Episode 5: Chip Huyen](https://www.youtube.com/watch?v=c_AUuTuPA5k) `1:06:44`|✓| ||[Youtube: Xavier Amatriain on Practical Deep Learning Systems (Full Stack Deep Learning - November 2019)](https://www.youtube.com/watch?v=5ygO8FxNB8c&list=PL1T8fO7ArWlf4EkqeguoD70LsnOJ7c9Ib&index=4)|| </details> <details> <summary>Mathematics</summary> |Concept|Resource|Done| |---|---|---| |Probability|[Article: Entropy, Cross Entropy, and KL Divergence](https://towardsdatascience.com/entropy-cross-entropy-and-kl-divergence-17138ffab87b)|✓| ||[Article: Interview Guide to Probability Distributions](https://medium.com/acing-ai/interview-guide-to-probability-distributions-a6dfb08c3766)|| ||[Article: Entropy of a probability distribution — in layman’s terms](https://medium.com/@ajitrajasekharan/entropy-of-a-probability-distribution-explained-in-laymans-terms-8a4139b329bc)|| ||[Article: KL Divergence — in layman’s terms](https://medium.com/@ajitrajasekharan/what-is-kl-divergence-d1fb7921ee5b)|| ||[Article: Probability Distributions](https://www.simonwardjones.co.uk/posts/probability_distributions/)|| ||[Article: Cross-Entropy and KL Divergence](https://medium.com/swlh/cross-entropy-and-kl-divergence-522d9f71bd3d)|| ||[Article: Why Randomness Is Information?](https://medium.com/swlh/why-randomness-is-information-f2468966b29d)|| ||[Article: Basic Probability Theory](https://medium.com/swlh/probability-for-machine-learning-and-data-science-cccd4f4f1df1)|| ||[Datacamp: Foundations of Probability in Python](https://www.datacamp.com/courses/foundations-of-probability-in-python)|✓| |Statistics|[Datacamp: Introduction to Statistics](https://www.datacamp.com/courses/introduction-to-statistics)|✓| ||[Datacamp: Introduction to Statistics in Python](https://www.datacamp.com/courses/introduction-to-statistics-in-python)|✓| ||[Datacamp: Hypothesis Testing in Python](https://www.datacamp.com/courses/hypothesis-testing-in-python)|✓| ||[Datacamp: Statistical Thinking in Python (Part 1)](https://www.datacamp.com/courses/statistical-thinking-in-python-part-1)|✓| ||[Datacamp: Statistical Thinking in Python (Part 2)](https://www.datacamp.com/courses/statistical-thinking-in-python-part-2)|✓| ||[Datacamp: Experimental Design in Python](https://datacamp.com/courses/experimental-design-in-python)|✓| ||[Datacamp: Statistical Simulation in Python](https://www.datacamp.com/courses/statistical-simulation-in-python)|| ||[edX: Essential Statistics for Data Analysis using Excel](https://www.edx.org/course/essential-statistics-data-analysis-using-microsoft-dat222x-1)|✓| ||[StatQuest: Histograms, Clearly Explained](https://www.youtube.com/watch?v=qBigTkBLU6g) `0:03:42`|| ||[StatQuest: What is a statistical distribution?](https://www.youtube.com/watch?v=oI3hZJqXJuc) `0:05:14`|| ||[StatQuest: The Normal Distribution, Clearly Explained!!!](https://www.youtube.com/watch?v=rzFX5NWojp0) `0:05:12`|| ||[Statistics Fundamentals: Population Parameters](https://www.youtube.com/watch?v=vikkiwjQqfU) `0:14:31`|| ||[Statistics Fundamentals: The Mean, Variance and Standard Deviation](https://www.youtube.com/watch?v=SzZ6GpcfoQY) `0:14:22`|| ||[StatQuest: What is a statistical model?](https://www.youtube.com/watch?v=yQhTtdq_y9M) `0:03:45`|| ||[StatQuest: Sampling A Distribution](https://www.youtube.com/watch?v=XLCWeSVzHUU) `0:03:48`|| ||[Hypothesis Testing and The Null Hypothesis](https://www.youtube.com/watch?v=0oc49DyA3hU) `0:14:40`|✓| ||[Alternative Hypotheses: Main Ideas!!!](https://www.youtube.com/watch?v=5koKb5B_YWo) `0:09:49`|| ||[p-values: What they are and how to interpret them](https://www.youtube.com/watch?v=vemZtEM63GY) `0:11:22`|| ||[How to calculate p-values](https://www.youtube.com/watch?v=JQc3yx0-Q9E) `0:25:15`|| ||[p-hacking: What it is and how to avoid it!](https://www.youtube.com/watch?v=HDCOUXE3HMM) `0:13:44`|| ||[Statistical Power, Clearly Explained!!!](https://www.youtube.com/watch?v=Rsc5znwR5FA) `0:08:19`|| ||[Power Analysis, Clearly Explained!!!](https://www.youtube.com/watch?v=VX_M3tIyiYk) `0:16:44`|| ||[Covariance and Correlation Part 1: Covariance](https://www.youtube.com/watch?v=qtaqvPAeEJY) `0:22:23`|| ||[Covariance and Correlation Part 2: Pearson's Correlation](https://www.youtube.com/watch?v=xZ_z8KWkhXE) `0:19:13`|| ||[StatQuest: R-squared explained](https://www.youtube.com/watch?v=2AQKmw14mHM) `0:11:01`|| ||[The Central Limit Theorem](https://www.youtube.com/watch?v=YAlJCEDH2uY) `0:07:35`|| ||[StatQuickie: Standard Deviation vs Standard Error](https://www.youtube.com/watch?v=A82brFpdr9g) `0:02:52`|| ||[StatQuest: The standard error](https://www.youtube.com/watch?v=XNgt7F6FqDU) `0:11:43`|| ||[StatQuest: Technical and Biological Replicates](https://www.youtube.com/watch?v=Exk0OoRG0PQ) `0:05:27`|| ||[StatQuest - Sample Size and Effective Sample Size, Clearly Explained](https://www.youtube.com/watch?v=67zCIqdeXpo) `0:06:32`|| ||[Bar Charts Are Better than Pie Charts](https://www.youtube.com/watch?v=RiEZ_hEf96A) `0:01:45`|| ||[StatQuest: Boxplots, Clearly Explained](https://www.youtube.com/watch?v=fHLhBnmwUM0) `0:02:33`|| ||[StatQuest: Logs (logarithms), clearly explained](https://www.youtube.com/watch?v=VSi0Z04fWj0) `0:15:37`|| ||[StatQuest: Confidence Intervals](https://www.youtube.com/watch?v=TqOeMYtOc1w) `0:06:41`|| ||[StatQuickie: Thresholds for Significance](https://www.youtube.com/watch?v=KEofcJ1tfkI) `0:06:40`|| ||[StatQuickie: Which t test to use](https://www.youtube.com/watch?v=nnBJeb_I-q8) `0:05:10`|| ||[StatQuest: One or Two Tailed P-Values](https://www.youtube.com/watch?v=bsZGt-caXO4) `0:07:05`|| ||[The Binomial Distribution and Test, Clearly Explained!!!](https://www.youtube.com/watch?v=J8jNoF-K8E8) `0:15:46`|| ||[StatQuest: Quantiles and Percentiles, Clearly Explained!!!](https://www.youtube.com/watch?v=IFKQLDmRK0Y) `0:06:30`|| ||[StatQuest: Quantile-Quantile Plots (QQ plots), Clearly Explained](https://www.youtube.com/watch?v=okjYjClSjOg) `0:06:55`|| ||[StatQuest: Quantile Normalization](https://www.youtube.com/watch?v=ecjN6Xpv6SE) `0:04:51`|| ||[StatQuest: Probability vs Likelihood](https://www.youtube.com/watch?v=pYxNSUDSFH4) `0:05:01`|✓| ||[StatQuest: Maximum Likelihood, clearly explained!!!](https://www.youtube.com/watch?v=XepXtl9YKwc) `0:06:12`|| ||[Maximum Likelihood for the Exponential Distribution, Clearly Explained! V2.0](https://www.youtube.com/watch?v=p3T-_LMrvBc) `0:09:39`|| ||[Why Dividing By N Underestimates the Variance](https://www.youtube.com/watch?v=sHRBg6BhKjI) `0:17:14`|| ||[Maximum Likelihood for the Binomial Distribution, Clearly Explained!!!](https://www.youtube.com/watch?v=4KKV9yZCoM4) `0:11:24`|| ||[Maximum Likelihood For the Normal Distribution, step-by-step!](https://www.youtube.com/watch?v=Dn6b9fCIUpM) `0:19:50`|| ||[StatQuest: Odds and Log(Odds), Clearly Explained!!!](https://www.youtube.com/watch?v=ARfXDSkQf1Y) `0:11:30`|| ||[StatQuest: Odds Ratios and Log(Odds Ratios), Clearly Explained!!!](https://www.youtube.com/watch?v=8nm0G-1uJzA) `0:16:20`|| ||[Live 2020-04-20!!! Expected Values](https://www.youtube.com/watch?v=fU2PuYKsr6M) `0:33:00`|| ||[Udacity: Statistics](https://www.udacity.com/course/statistics--st095)|| ||[Udacity: Intro to Inferential Statistics](https://www.udacity.com/course/intro-to-inferential-statistics--ud201)|✓| |Calculus|[The Essence of Calculus, Chapter 1](https://www.youtube.com/watch?v=WUvTyaaNkzM) `0:17:04`|| ||[The paradox of the derivative \| Essence of calculus, chapter 2](https://www.youtube.com/watch?v=9vKqVkMQHKk) `0:17:57`|| ||[Derivative formulas through geometry \| Essence of calculus, chapter 3](https://www.youtube.com/watch?v=S0_qX4VJhMQ) `0:18:43`|| ||[Visualizing the chain rule and product rule \| Essence of calculus, chapter 4](https://www.youtube.com/watch?v=YG15m2VwSjA) `0:16:52`|| ||[What's so special about Euler's number e? \| Essence of calculus, chapter 5](https://www.youtube.com/watch?v=m2MIpDrF7Es) `0:13:50`|| ||[Implicit differentiation, what's going on here? \| Essence of calculus, chapter 6](https://www.youtube.com/watch?v=qb40J4N1fa4) `0:15:33`|| ||[Limits, L'Hôpital's rule, and epsilon delta definitions \| Essence of calculus, chapter 7](https://www.youtube.com/watch?v=kfF40MiS7zA) `0:18:26`|| ||[Integration and the fundamental theorem of calculus \| Essence of calculus, chapter 8](https://www.youtube.com/watch?v=rfG8ce4nNh0) `0:20:46`|| ||[What does area have to do with slope? \| Essence of calculus, chapter 9](https://www.youtube.com/watch?v=FnJqaIESC2s) `0:12:39`|| ||[Higher order derivatives \| Essence of calculus, chapter 10](https://www.youtube.com/watch?v=BLkz5LGWihw) `0:05:38`|| ||[Taylor series \| Essence of calculus, chapter 11](https://www.youtube.com/watch?v=3d6DsjIBzJ4) `0:22:19`|| ||[What they won't teach you in calculus](https://www.youtube.com/watch?v=CfW845LNObM) `0:16:22`|| ||[But what is a Neural Network? \| Deep learning, chapter 1](https://www.youtube.com/watch?v=aircAruvnKk) `0:19:13`|✓| ||[Gradient descent, how neural networks learn \| Deep learning, chapter 2](https://www.youtube.com/watch?v=IHZwWFHWa-w) `0:21:01`|✓| ||[What is backpropagation really doing? \| Deep learning, chapter 3](https://www.youtube.com/watch?v=Ilg3gGewQ5U) `0:13:54`|✓| ||[Backpropagation calculus \| Deep learning, chapter 4](https://www.youtube.com/watch?v=tIeHLnjs5U8) `0:10:17`|✓| ||[Article: A Visual Tour of Backpropagation](https://blog.jinay.dev/posts/backprop/)|✓| |Linear Algebra|[Vectors, what even are they? \| Essence of linear algebra, chapter 1](https://www.youtube.com/watch?v=fNk_zzaMoSs) `0:09:52`|| ||[Linear combinations, span, and basis vectors \| Essence of linear algebra, chapter 2](https://www.youtube.com/watch?v=k7RM-ot2NWY) `0:09:59`|| ||[Linear transformations and matrices \| Essence of linear algebra, chapter 3](https://www.youtube.com/watch?v=kYB8IZa5AuE) `0:10:58`|| ||[Matrix multiplication as composition \| Essence of linear algebra, chapter 4](https://www.youtube.com/watch?v=XkY2DOUCWMU) `0:10:03`|| ||[Three-dimensional linear transformations \| Essence of linear algebra, chapter 5](https://www.youtube.com/watch?v=rHLEWRxRGiM) `0:04:46`|| ||[The determinant \| Essence of linear algebra, chapter 6](https://www.youtube.com/watch?v=Ip3X9LOh2dk) `0:10:03`|| ||[Inverse matrices, column space and null space \| Essence of linear algebra, chapter 7](https://www.youtube.com/watch?v=uQhTuRlWMxw) `0:12:08`|| ||[Nonsquare matrices as transformations between dimensions \| Essence of linear algebra, chapter 8](https://www.youtube.com/watch?v=v8VSDg_WQlA) `0:04:27`|| ||[Dot products and duality \| Essence of linear algebra, chapter 9](https://www.youtube.com/watch?v=LyGKycYT2v0) `0:14:11`|| ||[Cross products \| Essence of linear algebra, Chapter 10](https://www.youtube.com/watch?v=eu6i7WJeinw) `0:08:53`|| ||[Cross products in the light of linear transformations \| Essence of linear algebra chapter 11](https://www.youtube.com/watch?v=BaM7OCEm3G0) `0:13:10`|| ||[Cramer's rule, explained geometrically \| Essence of linear algebra, chapter 12](https://www.youtube.com/watch?v=jBsC34PxzoM) `0:12:12`|| ||[Change of basis \| Essence of linear algebra, chapter 13](https://www.youtube.com/watch?v=P2LTAUO1TdA) `0:12:50`|| ||[Eigenvectors and eigenvalues \| Essence of linear algebra, chapter 14](https://www.youtube.com/watch?v=PFDu9oVAE-g) `0:17:15`|| ||[Abstract vector spaces \| Essence of linear algebra, chapter 15](https://www.youtube.com/watch?v=TgKwz5Ikpc8) `0:16:46`|| ||[Article: Introduction to Linear Algebra for Applied Machine Learning with Python](https://pabloinsente.github.io/intro-linear-algebra)|| ||[Article: Relearning Matrices as Linear Functions](https://www.dhruvonmath.com/2018/12/31/matrices/)|| ||[Article: You Could Have Come Up With Eigenvectors - Here's How](https://www.dhruvonmath.com/2019/02/25/eigenvectors/)|| ||[Article: PageRank - How Eigenvectors Power the Algorithm Behind Google Search](https://www.dhruvonmath.com/2019/03/20/pagerank/)|| ||[Article: Interactive Visualization of Why Eigenvectors Matter](https://www.dhruvonmath.com/2020/07/26/who-cares-about-eigenvectors/)|| ||[Book: Basics of Linear Algebra for Machine Learning](https://machinelearningmastery.com/linear_algebra_for_machine_learning/)|| ||[Computational Linear Algebra for Coders](https://github.com/fastai/numerical-linear-algebra)|| ||[1. The Geometry of Linear Equations](https://www.youtube.com/watch?v=J7DzL2_Na80) `0:39:49`|✓| ||[2. Elimination with Matrices.](https://www.youtube.com/watch?v=QVKj3LADCnA) `0:47:41`|✓| ||[3. Multiplication and Inverse Matrices](https://www.youtube.com/watch?v=FX4C-JpTFgY) `0:46:48`|✓| ||[4. Factorization into A = LU](https://www.youtube.com/watch?v=MsIvs_6vC38) `0:48:05`|✓| ||[5. Transposes, Permutations, Spaces R^n](https://www.youtube.com/watch?v=JibVXBElKL0) `0:47:41`|✓| ||[6. Column Space and Nullspace](https://www.youtube.com/watch?v=8o5Cmfpeo6g) `0:46:01`|✓| ||[9. Independence, Basis, and Dimension](https://www.youtube.com/watch?v=yjBerM5jWsc) `0:50:14`|✓| ||[10. The Four Fundamental Subspaces](https://www.youtube.com/watch?v=nHlE7EgJFds) `0:49:20`|✓| ||[11. Matrix Spaces; Rank 1; Small World Graphs](https://www.youtube.com/watch?v=2IdtqGM6KWU) `0:45:55`|✓| ||[14. Orthogonal Vectors and Subspaces](https://www.youtube.com/watch?v=YzZUIYRCE38) `0:49:47`|✓| ||[15. Projections onto Subspaces](https://www.youtube.com/watch?v=Y_Ac6KiQ1t0) `0:48:51`|✓| ||[16. Projection Matrices and Least Squares](https://www.youtube.com/watch?v=osh80YCg_GM) `0:48:05`|✓| ||[17. Orthogonal Matrices and Gram-Schmidt](https://www.youtube.com/watch?v=0MtwqhIwdrI) `0:49:09`|✓| ||[21. Eigenvalues and Eigenvectors](https://www.youtube.com/watch?v=cdZnhQjJu4I) `0:51:22`|✓| ||[22. Diagonalization and Powers of A](https://www.youtube.com/watch?v=13r9QY6cmjc) `0:51:50`|| ||[24. Markov Matrices; Fourier Series](https://www.youtube.com/watch?v=lGGDIGizcQ0) `0:51:11`|| ||[25. Symmetric Matrices and Positive Definiteness](https://www.youtube.com/watch?v=UCc9q_cAhho) `0:43:52`|| ||[27. Positive Definite Matrices and Minima](https://www.youtube.com/watch?v=vF7eyJ2g3kU) `0:50:40`|| ||[29. Singular Value Decomposition](https://www.youtube.com/watch?v=TX_vooSnhm8) `0:40:28`|| ||[30. Linear Transformations and Their Matrices](https://www.youtube.com/watch?v=Ts3o2I8_Mxc) `0:49:27`|| ||[31. Change of Basis; Image Compression](https://www.youtube.com/watch?v=0h43aV4aH7I) `0:50:13`|| ||[33. Left and Right Inverses; Pseudoinverse](https://www.youtube.com/watch?v=Go2aLo7ZOlU) `0:41:52`|| ||[Udacity: Eigenvectors and Eigenvalues](https://www.udacity.com/course/eigenvectors-and-eigenvalues--ud104)|✓| ||[Udacity: Linear Algebra Refresher](https://www.udacity.com/course/linear-algebra-refresher-course--ud953)|| </details> <details> <summary>Interview Preparation</summary> |Concept|Resource|Done| |---|---|---| ||[Book: Machine Learning Interviews](https://huyenchip.com/ml-interviews-book/)|| ||[Datacamp: Preparing for Statistics Interview Questions in Python](https://www.datacamp.com/courses/preparing-for-statistics-interview-questions-in-python)|✓| ||[Datacamp: Practicing Machine Learning Interview Questions in Python](https://www.datacamp.com/courses/practicing-machine-learning-interview-questions-in-python)|✓| ||[Datacamp: Kaggle Competition](https://www.datacamp.com/courses/winning-a-kaggle-competition-in-python)|✓| ||[Udacity: Optimize your GitHub](https://www.udacity.com/course/optimize-your-github--ud247)|✓| ||[Udacity: Strengthen Your LinkedIn Network & Brand](https://eu.udacity.com/course/strengthen-your-linkedin-network-and-brand--ud242)|✓| ||[Udacity: Data Science Interview Prep](https://www.udacity.com/course/data-science-interview-prep--ud944)|✓| ||[Udacity: Full-Stack Interview Prep](https://www.udacity.com/course/full-stack-interview-prep--ud252)|✓| ||[Udacity: Refresh Your Resume](https://www.udacity.com/course/refresh-your-resume--ud243)|✓| ||[Udacity: Craft Your Cover Letter](https://www.udacity.com/course/craft-your-cover-letter--ud244)|| ||[Youtube: Guest Lecture - Chip Huyen - Machine Learning Interviews - Full Stack Deep Learning](https://youtu.be/pli1K75PSa8)|✓| ||[Youtube: Tutorial: Technical Blogging for Python Programmers](https://www.youtube.com/watch?v=mmU25Xd0BGs)|✓| </details> ## Specialized Skills <details> <summary>Machine Learning Fundamentals</summary> |Concept|Resource|Done| |---|---|---| |Regression|[Article: Linear regression](https://www.jeremyjordan.me/linear-regression/)|| ||[Article: Polynomial regression](https://www.jeremyjordan.me/polynomial-regression/)|| ||[StatQuest: Fitting a line to data, aka least squares, aka linear regression.](https://www.youtube.com/watch?v=PaFPbb66DxQ) `0:09:21`|✓| ||[StatQuest: Linear Models Pt.1 - Linear Regression](https://www.youtube.com/watch?v=nk2CQITm_eo) `0:27:26`|✓| ||[StatQuest: StatQuest: Linear Models Pt.2 - t-tests and ANOVA](https://www.youtube.com/watch?v=NF5_btOaCig) `0:11:37`|✓| ||[StatQuest: Fiitting a curve to data, aka lowess, aka loess](https://www.youtube.com/watch?v=Vf7oJ6z2LCc) `0:10:10`|| |Naive Bayes|[Article: Naive Bayes classification](https://www.jeremyjordan.me/naive-bayes-classification/)|| ||[Naive Bayes, Clearly Explained!!!](https://www.youtube.com/watch?v=O2L2Uv9pdDA) `0:15:12`|✓| ||[Gaussian Naive Bayes, Clearly Explained!!!](https://www.youtube.com/watch?v=H3EjCKtlVog) `0:09:41`|✓| |Logistic Regression|[Article: Logistic regression](https://www.jeremyjordan.me/logistic-regression/)|| ||[Datacamp: Foundations of Predictive Analytics in Python (Part 1)](https://www.datacamp.com/courses/foundations-of-predictive-analytics-in-python-part-1)|| ||[Datacamp: Foundations of Predictive Analytics in Python (Part 2)](https://www.datacamp.com/courses/foundations-of-predictive-analytics-in-python-part-2)|| ||[StatQuest: Odds and Log(Odds), Clearly Explained!!!](https://www.youtube.com/watch?v=ARfXDSkQf1Y) `0:11:30`|✓| ||[StatQuest: Odds Ratios and Log(Odds Ratios), Clearly Explained!!!](https://www.youtube.com/watch?v=8nm0G-1uJzA) `0:16:20`|✓| ||[StatQuest: Logistic Regression](https://www.youtube.com/watch?v=yIYKR4sgzI8) `0:08:47`|✓| ||[Logistic Regression Details Pt1: Coefficients](https://www.youtube.com/watch?v=vN5cNN2-HWE) `0:19:02`|✓| ||[Logistic Regression Details Pt 2: Maximum Likelihood](https://www.youtube.com/watch?v=BfKanl1aSG0) `0:10:23`|✓| ||[Logistic Regression Details Pt 3: R-squared and p-value](https://www.youtube.com/watch?v=xxFYro8QuXA) `0:15:25`|✓| ||[Saturated Models and Deviance](https://www.youtube.com/watch?v=9T0wlKdew6I) `0:18:39`|✓| ||[Deviance Residuals](https://www.youtube.com/watch?v=JC56jS2gVUE) `0:06:18`|✓| ||[Regularization Part 1: Ridge (L2) Regression](https://www.youtube.com/watch?v=Q81RR3yKn30) `0:20:26`|✓| ||[Regularization Part 2: Lasso (L1) Regression](https://www.youtube.com/watch?v=NGf0voTMlcs) `0:08:19`|✓| ||[Ridge vs Lasso Regression, Visualized!!!](https://www.youtube.com/watch?v=Xm2C_gTAl8c) `0:09:05`|✓| ||[Regularization Part 3: Elastic Net Regression](https://www.youtube.com/watch?v=1dKRdX9bfIo) `0:05:19`|✓| ||[Article: One-vs-Rest strategy for Multi-Class Classification](https://www.geeksforgeeks.org/one-vs-rest-strategy-for-multi-class-classification/)|✓| ||[Article: Multi-class Classification — One-vs-All & One-vs-One](https://radiant-brushlands-42789.herokuapp.com/towardsdatascience.com/multi-class-classification-one-vs-all-one-vs-one-94daed32a87b)|✓| ||[Article: One-vs-Rest and One-vs-One for Multi-Class Classification](https://machinelearningmastery.com/one-vs-rest-and-one-vs-one-for-multi-class-classification/)|✓| |Decision Trees|[Article: Decision trees](https://www.jeremyjordan.me/decision-trees/)|✓| ||[StatQuest: Decision Trees](https://www.youtube.com/watch?v=7VeUPuFGJHk) `0:17:22`|✓| ||[StatQuest: Decision Trees, Part 2 - Feature Selection and Missing Data](https://www.youtube.com/watch?v=wpNl-JwwplA) `0:05:16`|✓| ||[Decision Trees in Python from Start to Finish](https://www.youtube.com/watch?v=q90UDEgYqeI) `1:06:23`|| ||[Regression Trees, Clearly Explained!!!](https://www.youtube.com/watch?v=g9c66TUylZ4) `0:22:33`|✓| ||[How to Prune Regression Trees, Clearly Explained!!!](https://www.youtube.com/watch?v=D0efHEJsfHo) `0:16:15`|✓| |KNN|[Article: K-nearest neighbors](https://www.jeremyjordan.me/k-nearest-neighbors/)|| |SVM|[Article: Support Vector Machines](https://www.jeremyjordan.me/support-vector-machines/)|✓| ||[Support Vector Machines, Clearly Explained!!!](https://www.youtube.com/watch?v=efR1C6CvhmE) `0:20:32`|✓| ||[Support Vector Machines Part 2: The Polynomial Kernel](https://www.youtube.com/watch?v=Toet3EiSFcM) `0:07:15`|✓| ||[Support Vector Machines Part 3: The Radial (RBF) Kernel](https://www.youtube.com/watch?v=Qc5IyLW_hns) `0:15:52`|✓| |Bagging|[Article: Random forests](https://www.jeremyjordan.me/random-forests/)|| ||[StatQuest: Random Forests Part 1 - Building, Using and Evaluating](https://www.youtube.com/watch?v=J4Wdy0Wc_xQ) `0:09:54`|✓| ||[StatQuest: Random Forests Part 2: Missing data and clustering](https://www.youtube.com/watch?v=sQ870aTKqiM) `0:11:53`|✓| |Boosting|[Article: Boosted trees](https://www.jeremyjordan.me/boosted-trees/)|| ||[AdaBoost, Clearly Explained](https://www.youtube.com/watch?v=LsK-xG1cLYA) `0:20:54`|| ||[Gradient Boost Part 1: Regression Main Ideas](https://www.youtube.com/watch?v=3CC4N4z3GJc) `0:15:52`|| ||[Gradient Boost Part 2: Regression Details](https://www.youtube.com/watch?v=2xudPOBz-vs) `0:26:45`|| ||[Gradient Boost Part 3: Classification](https://www.youtube.com/watch?v=jxuNLH5dXCs) `0:17:02`|| ||[Gradient Boost Part 4: Classification Details](https://www.youtube.com/watch?v=StWY5QWMXCw) `0:36:59`|| ||[Datacamp: Ensemble Methods in Python](https://www.datacamp.com/courses/ensemble-methods-in-python)|✓| ||[XGBoost Part 1: Regression](https://www.youtube.com/watch?v=OtD8wVaFm6E) `0:25:46`|| ||[XGBoost Part 2: Classification](https://www.youtube.com/watch?v=8b1JEDvenQU) `0:25:17`|| ||[XGBoost Part 3: Mathematical Details](https://www.youtube.com/watch?v=ZVFeW798-2I) `0:27:24`|| ||[XGBoost Part 4: Crazy Cool Optimizations](https://www.youtube.com/watch?v=oRrKeUCEbq8) `0:24:27`|| ||[Datacamp: Extreme Gradient Boosting with XGBoost](https://www.datacamp.com/courses/extreme-gradient-boosting-with-xgboost)|| |Dimensionality Reduction|[StatQuest: Principal Component Analysis (PCA), Step-by-Step](https://www.youtube.com/watch?v=FgakZw6K1QQ) `0:21:57`|✓| ||[StatQuest: PCA main ideas in only 5 minutes!!!](https://www.youtube.com/watch?v=HMOI_lkzW08) `0:06:04`|✓| ||[StatQuest: PCA - Practical Tips](https://www.youtube.com/watch?v=oRvgq966yZg) `0:08:19`|✓| ||[StatQuest: PCA in Python](https://www.youtube.com/watch?v=Lsue2gEM9D0) `0:11:37`|✓| ||[StatQuest: Linear Discriminant Analysis (LDA) clearly explained.](https://www.youtube.com/watch?v=azXCzI57Yfc) `0:15:12`|✓| ||[StatQuest: MDS and PCoA](https://www.youtube.com/watch?v=GEn-_dAyYME) `0:08:18`|✓| ||[StatQuest: t-SNE, Clearly Explained](https://www.youtube.com/watch?v=NEaUSP4YerM) `0:11:47`|✓| |Clustering|[StatQuest: Hierarchical Clustering](https://www.youtube.com/watch?v=7xHsRkOdVwo) `0:11:19`|✓| ||[StatQuest: K-means clustering](https://www.youtube.com/watch?v=4b5d3muPQmA) `0:08:57`|✓| ||[StatQuest: K-nearest neighbors, Clearly Explained](https://www.youtube.com/watch?v=HVXime0nQeI) `0:05:30`|✓| ||[Datacamp: Customer Segmentation in Python](https://www.datacamp.com/courses/customer-segmentation-in-python)|| ||[Datacamp: Unsupervised Learning in Python](https://www.datacamp.com/courses/unsupervised-learning-in-python)|✓| ||[Udacity: Segmentation and Clustering](https://www.udacity.com/course/segmentation-and-clustering--ud981)|✓| ||[Youtube: Clustering Algorithms](https://www.youtube.com/playlist?list=PLBv09BD7ez_6lYVoZ1RzVcOPIT5Lfjo0Y)|✓| |Neural Networks|[Coursera: Neural Networks and Deep Learning](https://www.coursera.org/learn/neural-networks-deep-learning)|| ||[Fast.ai: Deep Learning for Coder (2020)](https://course.fast.ai/)|✓| ||[Gradient Descent, Step-by-Step](https://www.youtube.com/watch?v=sDv4f4s2SB8) `0:23:54`|✓| ||[The Chain Rule](https://www.youtube.com/watch?v=wl1myxrtQHQ) `0:18:23`|✓| ||[Stochastic Gradient Descent, Clearly Explained!!!](https://www.youtube.com/watch?v=vMh0zPT0tLI) `0:10:53`|✓| ||[Article: Neural networks: activation functions](https://www.jeremyjordan.me/neural-networks-activation-functions/)|| ||[Article: Neural networks: training with backpropagation](https://www.jeremyjordan.me/neural-networks-training/)|| ||[Article: Neural Network from scratch-part 1](https://theaisummer.com/Neural_Network_from_scratch/)|| ||[Article: Neural Network from scratch-part 2](https://theaisummer.com/Neural_Network_from_scratch_part2/)|| ||[Article: Perceptron to Deep-Neural-Network](https://tsumansapkota.github.io/algorithm/2020/06/06/Perceptron-to-DeepNeuralNets/)|| ||[Neural Networks from Scratch - P.1 Intro and Neuron Code](https://www.youtube.com/watch?v=Wo5dMEP_BbI) `0:16:59`|| ||[Neural Networks from Scratch - P.2 Coding a Layer](https://www.youtube.com/watch?v=lGLto9Xd7bU) `0:15:06`|| ||[Neural Networks from Scratch - P.3 The Dot Product](https://www.youtube.com/watch?v=tMrbN67U9d4) `0:25:17`|| ||[Neural Networks from Scratch - P.4 Batches, Layers, and Objects](https://www.youtube.com/watch?v=TEWy9vZcxW4) `0:33:46`|| ||[Neural Networks from Scratch - P.5 Hidden Layer Activation Functions](https://www.youtube.com/watch?v=gmjzbpSVY1A) `0:40:05`|| ||[An overview of gradient descent optimization algorithms](https://ruder.io/optimizing-gradient-descent/)|| ||[Article: Optimization for Deep Learning Highlights in 2017](https://ruder.io/deep-learning-optimization-2017/)|| ||[Article: Gradient descent](https://www.jeremyjordan.me/gradient-descent/)|| ||[Article: Setting the learning rate of your neural network](https://www.jeremyjordan.me/nn-learning-rate/)|| ||[Article: Dismantling Neural Networks to Understand the Inner Workings with Math and Pytorch](https://towardsdatascience.com/dismantling-neural-networks-to-understand-the-inner-workings-with-math-and-pytorch-beac8760b595)|| ||[Youtube: Deep Double Descent](https://youtu.be/R29awq6jvUw)|✓| ||[Article: Connections: Log Likelihood, Cross Entropy, KL Divergence, Logistic Regression, and Neural Networks](https://glassboxmedicine.com/2019/12/07/connections-log-likelihood-cross-entropy-kl-divergence-logistic-regression-and-neural-networks/)|| ||[Article: MLE and MAP — in layman’s terms](https://medium.com/@ajitrajasekharan/mle-and-map-in-laymans-terms-8527061b15a6)|| ||[Article: Cross-entropy for classification](https://towardsdatascience.com/cross-entropy-for-classification-d98e7f974451)|| |Evaluation Metrics|[Article: Measuring Performance: AUPRC and Average Precision](https://glassboxmedicine.com/2019/03/02/measuring-performance-auprc/)|| ||[Article: Measuring Performance: AUC (AUROC)](https://glassboxmedicine.com/2019/02/23/measuring-performance-auc-auroc/)|| ||[Article: Measuring Performance: The Confusion Matrix](https://glassboxmedicine.com/2019/02/17/measuring-performance-the-confusion-matrix/)|| ||[Article: Measuring Performance: Accuracy](https://glassboxmedicine.com/2019/02/16/measuring-performance-accuracy/)|| ||[Article: ROC Curves: Intuition Through Visualization](https://www.pragmatic.ml/intuition-through-visualization-roc-auc/)|| ||[Article: Precision, Recall, Accuracy, and F1 Score for Multi-Label Classification](https://medium.com/synthesio-engineering/precision-accuracy-and-f1-score-for-multi-label-classification-34ac6bdfb404)|✓| ||[Article: The Complete Guide to AUC and Average Precision: Simulations and Visualizations](https://glassboxmedicine.com/2020/07/14/the-complete-guide-to-auc-and-average-precision-simulations-and-visualizations/)|| ||[Article: Proxy Metrics](https://gibsonbiddle.medium.com/4-proxy-metrics-a82dd30ca810)|✓| ||[Youtube: Applied ML 2020 - 09 - Model Evaluation and Metrics](https://www.youtube.com/watch?v=trg3YkCsjqE) `1:18:23`|✓| ||[Article: Validating your Machine Learning Model](https://www.maartengrootendorst.com/blog/validate/)|✓| ||[Youtube: Machine Learning Fundamentals: Cross Validation](https://www.youtube.com/watch?v=fSytzGwwBVw) `0:06:04`|✓| ||[Youtube: Machine Learning Fundamentals: The Confusion Matrix](https://www.youtube.com/watch?v=Kdsp6soqA7o) `0:07:12`|✓| ||[Youtube: Machine Learning Fundamentals: Sensitivity and Specificity](https://www.youtube.com/watch?v=vP06aMoz4v8) `0:11:46`|✓| ||[Youtube: Machine Learning Fundamentals: Bias and Variance](https://www.youtube.com/watch?v=EuBBz3bI-aA) `0:06:36`|✓| ||[Youtube: ROC and AUC, Clearly Explained!](https://www.youtube.com/watch?v=4jRBRDbJemM) `0:16:26`|✓| ||[Article: The correct way to evaluate online machine learning models](https://maxhalford.github.io/blog/online-learning-evaluation/)|✓| ||[Youtube: Accuracy as a Failure](https://youtu.be/YGuVuZpTop0)|✓| ||[Article: Best Use of Train/Val/Test Splits, with Tips for Medical Data](https://glassboxmedicine.com/2019/09/15/best-use-of-train-val-test-splits-with-tips-for-medical-data/)|✓| </details> <details> <summary>Machine Learning Libraries</summary> |Concept|Resource|Done| |---|---|---| |Numpy|[Article: A Visual Intro to NumPy and Data Representation](https://jalammar.github.io/visual-numpy/)|✓| ||[Article: Good practices with numpy random number generators](https://albertcthomas.github.io/good-practices-random-number-generators/)|✓| ||[Article: NumPy Illustrated: The Visual Guide to NumPy](https://medium.com/better-programming/numpy-illustrated-the-visual-guide-to-numpy-3b1d4976de1d)|| ||[Article: NumPy Fundamentals for Data Science and Machine Learning](https://pabloinsente.github.io/intro-numpy-fundamentals)|✓| ||[Datacamp: Intro to Python for Data Science](https://www.datacamp.com/courses/intro-to-python-for-data-science)|✓| ||[Pluralsight: Working with Multidimensional Data Using NumPy](https://www.pluralsight.com/courses/numpy-working-with-multidimensional-data)|✓| |Pandas|[Article: Visualizing Pandas' Pivoting and Reshaping Functions](https://jalammar.github.io/visualizing-pandas-pivoting-and-reshaping/)|✓| ||[Article: A Gentle Visual Intro to Data Analysis in Python Using Pandas](https://jalammar.github.io/gentle-visual-intro-to-data-analysis-python-pandas/)|✓| ||[Article: Comprehensive Guide to Grouping and Aggregating with Pandas](https://pbpython.com/groupby-agg.html)|✓| ||[Article: 8 Python Pandas Value_counts() tricks that make your work more efficient](https://re-thought.com/pandas-value_counts/)|✓| ||[Datacamp: pandas Foundations](https://www.datacamp.com/courses/pandas-foundations)|✓| ||[Datacamp: Pandas Joins for Spreadsheet Users](https://www.datacamp.com/courses/pandas-joins-for-spreadsheet-users)|✓| ||[Datacamp: Manipulating DataFrames with pandas](https://www.datacamp.com/courses/manipulating-dataframes-with-pandas)|✓| ||[Datacamp: Merging DataFrames with pandas](https://www.datacamp.com/courses/merging-dataframes-with-pandas)|✓| ||[Datacamp: Data Manipulation with pandas](https://www.datacamp.com/courses/data-manipulation-with-pandas)|✓| ||[Datacamp: Optimizing Python Code with pandas](https://www.datacamp.com/courses/optimizing-python-code-with-pandas)|✓| ||[Datacamp: Streamlined Data Ingestion with pandas](https://www.datacamp.com/courses/streamlined-data-ingestion-with-pandas)|✓| ||[Datacamp: Analyzing Marketing Campaigns with pandas](https://www.datacamp.com/courses/analyzing-marketing-campaigns-with-pandas)|✓| ||[edX: Implementing Predictive Analytics with Spark in Azure HDInsight](https://www.edx.org/course/implementing-predictive-analytics-spark-microsoft-dat202-3x-2)|✓| ||[Modern Pandas (Part 1)](https://tomaugspurger.github.io/modern-1-intro.html)|✓| ||[Modern Pandas (Part 2)](https://tomaugspurger.github.io/method-chaining.html)|✓| ||[Modern Pandas (Part 3)](https://tomaugspurger.github.io/modern-3-indexes.html)|✓| ||[Modern Pandas (Part 4)](https://tomaugspurger.github.io/modern-4-performance.html)|✓| ||[Modern Pandas (Part 5)](https://tomaugspurger.github.io/modern-5-tidy.html)|✓| ||[Modern Pandas (Part 6)](https://tomaugspurger.github.io/modern-6-visualization.html)|✓| ||[Modern Pandas (Part 7)](https://tomaugspurger.github.io/modern-7-timeseries.html)|✓| ||[Modern Pandas (Part 8)](https://tomaugspurger.github.io/modern-8-scaling.html)|✓| |Jupyter|[Article: Securely storing configuration credentials in a Jupyter Notebook](http://veekaybee.github.io/2020/02/25/secrets/)|✓| ||[Article: Automatically Reload Modules with %autoreload](https://switowski.com/blog/ipython-autoreload)|✓| ||[Calmcode: ipywidgets](https://calmcode.io/ipywidgets/introduction.html)|| ||[Documentation: Jupyter Lab](https://jupyterlab.readthedocs.io/en/stable/getting_started/overview.html)|✓| ||[Pluralsight: Getting Started with Jupyter Notebook and Python](https://www.pluralsight.com/courses/jupyter-notebook-python)|✓| ||[Youtube: William Horton - A Brief History of Jupyter Notebooks](https://www.youtube.com/watch?v=kFhhCOeYcGw)|✓| ||[Youtube: I Like Notebooks](https://www.youtube.com/watch?v=9Q6sLbz37gk)|✓| ||[Youtube: I don't like notebooks.- Joel Grus (Allen Institute for Artificial Intelligence)](https://www.youtube.com/watch?v=7jiPeIFXb6U)|✓| ||[Youtube: Ryan Herr - After model.fit, before you deploy\| JupyterCon 2020](https://www.youtube.com/watch?v=hGHwu1h3l6g)|✓| ||[Youtube: nbdev live coding with Hamel Husain](https://www.youtube.com/watch?v=ZJTop5uqC2U&feature=youtu.be)|✓| ||[Youtube: How to Use JupyterLab](https://www.youtube.com/watch?v=A5YyoCKxEOU&feature=emb_logo)|✓| |DVC|[Versioning Data with DVC (Hands-On Tutorial!)](https://www.youtube.com/watch?v=kLKBcPonMYw) `0:13:04`|✓| ||[Sharing Data and Models with DVC (Hands-On Data Science Tutorial!)](https://www.youtube.com/watch?v=EE7Gk84OZY8) `0:08:53`|✓| ||[Article: ML Ops: Data Science Version Control](https://medium.com/acing-ai/ml-ops-data-science-version-control-5935c49d1b76)|| ||[Youtube: Data versioning in machine learning projects - Dmitry Petrov](https://www.youtube.com/watch?v=BneW7jgB298) `0:34:44`|✓| ||[Zoom: Data versioning with DVC Part 1](https://uniroma1.zoom.us/rec/share/74BYg5pKsplJLy4p-Yvo6g5bFa7eAEATwgqv5jzu6brzNZETWA9nISj_CK8_o192.WDm8fOY7zzd96bLA?startTime=1620383404000)|✓| ||[Zoom: Data versioning with DVC Part 2](https://uniroma1.zoom.us/rec/share/c2HsnkU5-DSdKWatv9AlmEjLM0a_i741VtnAZOx-eea2loTltiFPKBX196UaT8_3.-B4RbvXecplLujXK?startTime=1620803785000)|✓| |scikit-learn|[Article: Stacking made easy with Sklearn](https://www.maartengrootendorst.com/blog/stacking/)|✓| ||[Article: Curve Fitting With Python](https://machinelearningmastery.com/curve-fitting-with-python/)|✓| ||[Article: A Guide to Calibration Plots in Python](https://changhsinlee.com/python-calibration-plot/)|✓| ||[Calmcode: human-learn](https://calmcode.io/human-learn/introduction.html)|✓| ||[Datacamp: Supervised Learning with scikit-learn](https://www.datacamp.com/courses/supervised-learning-with-scikit-learn)|✓| ||[Datacamp: Machine Learning with Tree-Based Models in Python](https://www.datacamp.com/courses/machine-learning-with-tree-based-models-in-python)|✓| ||[Datacamp: Introduction to Linear Modeling in Python](https://www.datacamp.com/courses/introduction-to-linear-modeling-in-python)|| ||[Datacamp: Linear Classifiers in Python](https://www.datacamp.com/courses/linear-classifiers-in-python)|✓| ||[Datacamp: Generalized Linear Models in Python](https://www.datacamp.com/courses/generalized-linear-models-in-python)|| ||[Notebook: scikit-learn tips](https://github.com/justmarkham/scikit-learn-tips)|✓| ||[Pluralsight: Building Machine Learning Models in Python with scikit-learn](https://www.pluralsight.com/courses/python-scikit-learn-building-machine-learning-models)|✓| ||[Video: human learn](https://calmcode.io/human-learn/introduction.html)|| ||[Youtube: dabl: Automatic Machine Learning with a Human in the Loop](https://www.youtube.com/watch?v=TQnxH90PqFc&list=PLYx7XA2nY5GejOB1lsvriFeMytD1-VS1B&index=2&t=0s) `00:25:43`|✓| ||[Youtube: Multilabel and Multioutput Classification -Machine Learning with TensorFlow & scikit-learn on Python](https://www.youtube.com/watch?v=bDdjebakjbA)|✓| ||[Youtube: DABL: Automatic machine learning with a human in the loop- AI Latim American SumMIT Day 1](https://youtu.be/7pykC5m24Z0?list=LL)|✓| |Tensorflow|[Coursera: Introduction to Tensorflow](https://www.coursera.org/learn/introduction-tensorflow)|✓| ||[Coursera: Convolutional Neural Networks in TensorFlow](https://www.coursera.org/learn/convolutional-neural-networks-tensorflow)|✓| ||[Deeplizard: Keras - Python Deep Learning Neural Network API](https://www.youtube.com/playlist?list=PLZbbT5o_s2xrwRnXk_yCPtnqqo4_u2YGL)|✓| ||[Book: Deep Learning with Python (Page: 276)](https://www.manning.com/books/deep-learning-with-python)|| ||[Datacamp: Deep Learning in Python](https://www.datacamp.com/courses/deep-learning-in-python)|✓| ||[Datacamp: Convolutional Neural Networks for Image Processing](https://www.datacamp.com/courses/convolutional-neural-networks-for-image-processing)|✓| ||[Datacamp: Introduction to TensorFlow in Python](https://www.datacamp.com/courses/introduction-to-tensorflow-in-python)|✓| ||[Datacamp: Introduction to Deep Learning with Keras](https://www.datacamp.com/courses/deep-learning-with-keras-in-python)|✓| ||[Datacamp: Advanced Deep Learning with Keras](https://www.datacamp.com/courses/advanced-deep-learning-with-keras-in-python)|✓| ||[Pluralsight: Deep Learning with Keras](https://www.pluralsight.com/courses/keras-deep-learning)|✓| ||[Udacity: Intro to TensorFlow for Deep Learning](https://www.udacity.com/course/intro-to-tensorflow-for-deep-learning--ud187)|✓| |PyTorch|[Article: The One PyTorch Trick Which You Should Know](https://towardsdatascience.com/the-one-pytorch-trick-which-you-should-know-2d5e9c1da2ca)|| ||[Article: How does automatic differentiation really work?](https://thenlp.space/blog/how-does-pytorch-do-differentiation)|| ||[Article: 7 Tips To Maximize PyTorch Performance](https://towardsdatascience.com/7-tips-for-squeezing-maximum-performance-from-pytorch-ca4a40951259)|✓| ||[Article: An introduction to PyTorch Lightning with comparisons to PyTorch](https://amaarora.github.io/2020/07/12/oganized-pytorch.html)|✓| ||[Article: Converting From Keras To PyTorch Lightning](https://towardsdatascience.com/converting-from-keras-to-pytorch-lightning-be40326d7b7d)|✓| ||[Article: From PyTorch to PyTorch Lightning — A gentle introduction](https://towardsdatascience.com/from-pytorch-to-pytorch-lightning-a-gentle-introduction-b371b7caaf09)|✓| ||[Article: Introducing PyTorch Lightning Sharded: Train SOTA Models, With Half The Memory](https://seannaren.medium.com/introducing-pytorch-lightning-sharded-train-sota-models-with-half-the-memory-7bcc8b4484f2)|✓| ||[Article: Sharded: A New Technique To Double The Size Of PyTorch Models](https://towardsdatascience.com/sharded-a-new-technique-to-double-the-size-of-pytorch-models-3af057466dba)|✓| ||[Article: Understanding Bidirectional RNN in PyTorch](https://towardsdatascience.com/understanding-bidirectional-rnn-in-pytorch-5bd25a5dd66)|✓| ||[Article: PyTorch Lightning Bolts — From Linear, Logistic Regression on TPUs to pre-trained GANs](https://medium.com/pytorch/pytorch-lightning-bolts-from-boosted-regression-on-tpus-to-pre-trained-gans-5cebdb1f99fe)|✓| ||[Article: Scaling Logistic Regression Via Multi-GPU/TPU Training](https://towardsdatascience.com/scaling-logistic-regression-for-multi-gpu-tpu-training-b4898d5049ff)|✓| ||[Article: Training Neural Nets on Larger Batches: Practical Tips for 1-GPU, Multi-GPU & Distributed setups](https://medium.com/huggingface/training-larger-batches-practical-tips-on-1-gpu-multi-gpu-distributed-setups-ec88c3e51255)|✓| ||[Article: PyTorch Lightning 0.9 — synced BatchNorm, DataModules and final API!](https://medium.com/pytorch/pytorch-lightning-0-9-synced-batchnorm-datamodules-and-final-api-aae885398a9d)|✓| ||[Article: PyTorch Lightning: Metrics](https://medium.com/pytorch/pytorch-lightning-metrics-35cb5ab31857)|✓| ||[Article: PyTorch Multi-GPU Metrics Library and More in PyTorch Lightning 0.8.1](https://medium.com/pytorch/pytorch-multi-gpu-metrics-and-more-in-pytorch-lightning-0-8-1-b7cadd04893e)|✓| ||[Article: EINSUM IS ALL YOU NEED - EINSTEIN SUMMATION IN DEEP LEARNING](https://rockt.github.io/2018/04/30/einsum)|| ||[Article: Faster Deep Learning Training with PyTorch – a 2021 Guide](https://efficientdl.com/faster-deep-learning-in-pytorch-a-guide/)|| ||[Article: Fit More and Train Faster With ZeRO via DeepSpeed and FairScale](https://huggingface.co/blog/zero-deepspeed-fairscale)|| ||[Article: PyTorch Lightning V1.2.0- DeepSpeed, Pruning, Quantization, SWA](https://medium.com/pytorch/pytorch-lightning-v1-2-0-43a032ade82b)|| ||[Article: But what are PyTorch DataLoaders really?](https://www.scottcondron.com/jupyter/visualisation/audio/2020/12/02/dataloaders-samplers-collate.html)|| ||[Article: Using PyTorch + NumPy? You're making a mistake.](https://tanelp.github.io/posts/a-bug-that-plagues-thousands-of-open-source-ml-projects/)|✓| ||[Article: How Wadhwani AI Uses PyTorch To Empower Cotton Farmers](https://medium.com/pytorch/how-wadhwani-ai-uses-pytorch-to-empower-cotton-farmers-14397f4c9f2b)|✓| ||[Article: Taming LSTMs: Variable-sized mini-batches and why PyTorch is good for your health](https://towardsdatascience.com/taming-lstms-variable-sized-mini-batches-and-why-pytorch-is-good-for-your-health-61d35642972e)|✓| ||[Article: How to Build a Streaming DataLoader with PyTorch](https://medium.com/speechmatics/how-to-build-a-streaming-dataloader-with-pytorch-a66dd891d9dd)|| ||[Article: Transform your ML-model to Pytorch with Hummingbird](https://www.maartengrootendorst.com/blog/humming/)|✓| ||[Article: PyTorch Loss Functions: The Ultimate Guide](https://neptune.ai/blog/pytorch-loss-functions)|✓| ||[Article: Pad pack sequences for Pytorch batch processing with DataLoader](https://suzyahyah.github.io/pytorch/2019/07/01/DataLoader-Pad-Pack-Sequence.html)|✓| ||[Article: Model Parallelism](https://huggingface.co/transformers/master/parallelism.html)|| ||[Notebook: Tensor Arithmetic](https://colab.research.google.com/github/davidbau/how-to-read-pytorch/blob/master/notebooks/1-Pytorch-Introduction.ipynb)|| ||[Notebook: Autograd](https://colab.research.google.com/github/davidbau/how-to-read-pytorch/blob/master/notebooks//2-Pytorch-Autograd.ipynb)|| ||[Notebook: Optimization](https://colab.research.google.com/github/davidbau/how-to-read-pytorch/blob/master/notebooks//3-Pytorch-Optimizers.ipynb)|| ||[Notebook: Network modules](https://colab.research.google.com/github/davidbau/how-to-read-pytorch/blob/master/notebooks//4-Pytorch-Modules.ipynb)|| ||[Notebook: Datasets and Dataloaders](https://colab.research.google.com/github/davidbau/how-to-read-pytorch/blob/master/notebooks//5-Pytorch-Dataloader.ipynb)|| ||[Documentation: Pytorch Lightning](https://pytorch-lightning.readthedocs.io/en/latest/)|✓| ||[Datacamp: Introduction to Deep Learning with PyTorch](https://www.datacamp.com/courses/deep-learning-with-pytorch)|✓| ||[Deeplizard: Neural Network Programming - Deep Learning with PyTorch](https://www.youtube.com/playlist?list=PLZbbT5o_s2xrfNyHZsM6ufI0iZENK9xgG)|✓| ||[Youtube: PyTorch Lightning 101](https://www.youtube.com/playlist?list=PLaMu-SDt_RB5NUm67hU2pdE75j6KaIOv2)|✓| ||[Youtube: SimCLR with PyTorch Lightning](https://www.youtube.com/playlist?list=PLaMu-SDt_RB4k8VXiB3hOdsn0Y3GoXo1k)|✓| ||[Youtube: PyTorch Performance Tuning Guide](https://youtu.be/9mS1fIYj1So) `26:41:00`|| ||[Youtube: Skin Cancer Detection with PyTorch](https://www.youtube.com/playlist?list=PLUH_l3HbfEW0wP7ZOKUxmlnG6sntCQpHX)|✓| ||[Youtube: Learn with Lightning](https://www.pytorchlightning.ai/tutorials)|✓| ||[Youtube: PyTorch Tutorial - RNN & LSTM & GRU - Recurrent Neural Nets](https://www.youtube.com/watch?v=0_PgWWmauHk) `00:15:51`|✓| ||[Youtube: Pytorch Zero to All](https://www.youtube.com/playlist?list=PLlMkM4tgfjnJ3I-dbhO9JTw7gNty6o_2m)|✓| ||[PyTorch Developer Day 2020 \| Full Livestream](https://www.youtube.com/watch?v=jaPVoObpdO0)|✓| ||[Youtube: Lightning Chat: How a Grandmaster Won a Kaggle Competition Using Pytorch Lightning](https://www.youtube.com/watch?app=desktop&v=0HQCK_l-njI)|✓| ||[Youtube: Production Inference Deployment with PyTorch](https://youtu.be/Dk88zv1KYMI)|| ||[Youtube: What is Automatic Differentiation?](https://www.youtube.com/watch?v=wG_nF1awSSY)|| |BeautifulSoup|[Docs: Beautiful Soup Documentation](https://www.crummy.com/software/BeautifulSoup/bs4/doc/)|✓| ||[Datacamp: Importing Data in Python (Part 2)](https://www.datacamp.com/courses/importing-data-in-python-part-2)|✓| ||[Datacamp: Web Scraping in Python](https://www.datacamp.com/courses/web-scraping-with-python)|| </details> <details> <summary>Docker and Containerization</summary> |Concept|Resource|Done| |---|---|---| ||[Pluralsight: Docker and Kubernetes: The Big Picture](https://www.pluralsight.com/courses/docker-kubernetes-big-picture)|✓| ||[Youtube: Docker](https://uniroma1.zoom.us/rec/share/c2HsnkU5-DSdKWatv9AlmEjLM0a_i741VtnAZOx-eea2loTltiFPKBX196UaT8_3.-B4RbvXecplLujXK?startTime=1620810184000)|✓| ||[Youtube: Why Your Web Server Should Log to Stdout (Especially with Docker)](https://www.youtube.com/watch?v=aQikNWEaJUQ&feature=emb_logo)|✓| ||[Article: How To Pass Environment Info During Docker Builds](https://blog.bitsrc.io/how-to-pass-environment-info-during-docker-builds-1f7c5566dd0e)|✓| ||[Article: Pass Docker Environment Variables During The Image Build](https://vsupalov.com/docker-build-pass-environment-variables/)|✓| ||[Article: Setting Default Docker Environment Variables During Image Build](https://vsupalov.com/docker-build-time-env-values/)|✓| ||[Article: Docker Explained Visually, For Non-Technical Folks](https://www.iteachrecruiters.com/blog/docker-explained-visually-for-non-technical-folks/)|✓| ||[Article: Tensorflow in Docker](http://blog.tabanpour.info/projects/2018/09/07/tf-docker-kube.html)|✓| ||[Article: Enough Docker to be Dangerous](http://seankross.com/2017/09/17/Enough-Docker-to-be-Dangerous.html)|✓| ||[Article: How Docker Can Help You Become A More Effective Data Scientist](https://towardsdatascience.com/how-docker-can-help-you-become-a-more-effective-data-scientist-7fc048ef91d5)|✓| ||[Article: Deploying conda environments in (Docker) containers - how to do it right](https://uwekorn.com/2021/03/01/deploying-conda-environments-in-docker-how-to-do-it-right.html)|| ||[Article: Configuring Gunicorn for Docker](https://pythonspeed.com/articles/gunicorn-in-docker/)|✓| ||[Article: How to scale services using Docker Compose](https://medium.com/@karthi.net/how-to-scale-services-using-docker-compose-31d7b83a6648)|✓| ||[Article: A Beginner-Friendly Introduction to Containers, VMs and Docker](https://www.freecodecamp.org/news/a-beginner-friendly-introduction-to-containers-vms-and-docker-79a9e3e119b/)|✓| ||[Article: Smaller Docker images with Conda](https://jcristharif.com/conda-docker-tips.html)|✓| ||[Pluralsight: Docker and Containers: The Big Picture](https://www.pluralsight.com/courses/docker-containers-big-picture)|✓| ||[Article: Docker for Machine Learning – Part I](https://mlinproduction.com/docker-for-ml-part-1/)|✓| ||[Article: Docker for Machine Learning – Part II](https://mlinproduction.com/docker-for-ml-part-2/)|✓| ||[Article: Docker for Machine Learning – Part III](https://mlinproduction.com/docker-for-ml-part-3/)|✓| ||[Article: Using Docker to Generate Machine Learning Predictions in Real Time](https://mlinproduction.com/docker-for-ml-part-4/)|✓| ||[Article: Connection refused? Docker networking and how it impacts your image](https://pythonspeed.com/articles/docker-connection-refused/)|| ||[Article: Faster or slower: the basics of Docker build caching](https://pythonspeed.com/articles/docker-caching-model/)|| ||[Article: Where’s your code? Debugging ImportError and ModuleNotFoundErrors in your Docker image](https://pythonspeed.com/articles/importerror-docker/)|| ||[Article: A tableau of crimes and misfortunes: the ever-useful docker history](https://pythonspeed.com/articles/docker-history/)|| ||[Article: Broken by default: why you should avoid most Dockerfile examples](https://pythonspeed.com/articles/dockerizing-python-is-hard/)|| ||[Article: A review of the official Dockerfile best practices: good, bad, and insecure](https://pythonspeed.com/articles/official-docker-best-practices/)|| ||[Article: The best Docker base image for your Python application (February 2021)](https://pythonspeed.com/articles/base-image-python-docker-images/)|| ||[Article: A deep dive into the official Docker image for Python](https://pythonspeed.com/articles/official-python-docker-image/)|| ||[Article: Using Alpine can make Python Docker builds 50× slower](https://pythonspeed.com/articles/alpine-docker-python/)|| ||[Article: Building on solid ground: ensuring reproducible Docker builds for Python](https://pythonspeed.com/articles/reproducible-docker-builds-python/)|| ||[Article: Installing system packages in Docker with minimal bloat](https://pythonspeed.com/articles/system-packages-docker/)|| ||[Article: Less capabilities, more security: minimizing privilege escalation in Docker](https://pythonspeed.com/articles/root-capabilities-docker-security/)|| ||[Article: Avoiding insecure images from Docker build caching](https://pythonspeed.com/articles/docker-cache-insecure-images/)|| ||[Article: Build secrets in Docker and Compose, the secure way](https://pythonspeed.com/articles/build-secrets-docker-compose/)|| ||[Article: Security scanners for Python and Docker: from code to dependencies](https://pythonspeed.com/articles/docker-python-security-scan/)|| ||[Article: The high cost of slow Docker builds](https://pythonspeed.com/articles/high-cost-slow-docker-builds/)|| ||[Article: Faster Docker builds with pipenv, poetry, or pip-tools](https://pythonspeed.com/articles/pipenv-docker/)|| ||[Article: Elegantly activating a virtualenv in a Dockerfile](https://pythonspeed.com/articles/activate-virtualenv-dockerfile/)|| ||[Article: Poetry vs. Docker caching: Fight!](https://pythonspeed.com/articles/poetry-vs-docker-caching/)|| ||[Article: Speed up pip downloads in Docker with BuildKit’s new caching](https://pythonspeed.com/articles/docker-cache-pip-downloads/)|| ||[Article: Multi-stage builds #1: Smaller images for compiled code](https://pythonspeed.com/articles/smaller-python-docker-images/)|| ||[Article: Multi-stage builds #2: Python specifics—virtualenv, –user, and other methods](https://pythonspeed.com/articles/multi-stage-docker-python/)|| ||[Article: Multi-stage builds #3: Why your build is surprisingly slow, and how to speed it up](https://pythonspeed.com/articles/faster-multi-stage-builds/)|| ||[Article: Configuring Gunicorn for Docker](https://pythonspeed.com/articles/gunicorn-in-docker/)|| ||[Article: Activating a Conda environment in your Dockerfile](https://pythonspeed.com/articles/activate-conda-dockerfile/)|| ||[Article: Shrink your Conda Docker images with conda-pack](https://pythonspeed.com/articles/conda-docker-image-size/)|| ||[Article: What’s running in production? Making your Docker images identifiable](https://pythonspeed.com/articles/identifying-images/)|| ||[Article: Your Docker build needs a smoke test](https://pythonspeed.com/articles/test-your-docker-build/)|| ||[Article: Docker BuildKit: faster builds, new features, and now it’s stable](https://pythonspeed.com/articles/docker-buildkit/)|| ||[Article: Docker vs. Singularity for data processing: UIDs and filesystem access](https://pythonspeed.com/articles/containers-filesystem-data-processing/)|| ||[Article: Where’s that log file? Debugging failed Docker builds](https://pythonspeed.com/articles/debugging-docker-build/)|| ||[Article: An Introduction to Kubernetes for Data Scientists](https://mlinproduction.com/intro-to-kubernetes/)|| ||[Article: How to Use Kubernetes Pods for Machine Learning](https://mlinproduction.com/k8s-pods/)|| ||[Article: Kubernetes Jobs for Machine Learning](https://mlinproduction.com/k8s-jobs/)|| ||[Article: Kubernetes CronJobs for Machine Learning](https://mlinproduction.com/k8s-cronjobs/)|| ||[Article: Kubernetes Deployments for Machine Learning](https://mlinproduction.com/k8s-deployments/)|| ||[Article: Kubernetes Services for Machine Learning](https://mlinproduction.com/k8s-services/)|| ||[“Let’s use Kubernetes!” Now you have 8 problems](https://pythonspeed.com/articles/dont-need-kubernetes/)|| ||[Article: Kubernetes for Python Developers: Part 1](https://www.distributedpython.com/2018/11/28/kubernetes-python-developers-part-1/)|| ||[Doc: Environment variables in Compose](https://docs.docker.com/compose/environment-variables/)|✓| ||[Udacity: Scalable Microservices with Kubernetes](https://www.udacity.com/course/scalable-microservices-with-kubernetes--ud615)|| </details> <details> <summary>Cloud Computing</summary> |Concept|Resource|Done| |---|---|---| |Theory|[Datacamp: Cloud Computing for Everyone](https://www.datacamp.com/courses/cloud-computing-for-everyone)|✓| ||[Pluralsight: AWS Developer: The Big Picture](https://www.pluralsight.com/courses/aws-developer-big-picture)|✓| ||[Pluralsight: AWS Networking Deep Dive: Virtual Private Cloud (VPC)](https://www.pluralsight.com/courses/aws-networking-deep-dive-vpc)|✓| ||[Pluralsight: AWS VPC Operations](https://www.pluralsight.com/courses/aws-vpc-operations)|✓| ||[Pluralsight: Building Applications Using Elastic Beanstalk](https://www.pluralsight.com/courses/elastic-beanstalk-building-applications)|✓| ||[Udemy: AWS Concepts](https://www.udemy.com/aws-concepts)|✓| ||[Udemy: AWS Certified Developer - Associate 2018](https://www.udemy.com/aws-certified-developer-associate/)|✓| ||[Whitepaper: Architecting for the Cloud AWS Best Practices](https://d1.awsstatic.com/whitepapers/AWS_Cloud_Best_Practices.pdf)|✓| ||[Whitepaper: AWS Well-Architected Framework](https://d1.awsstatic.com/whitepapers/architecture/AWS_Well-Architected_Framework.pdf)|✓| ||[Whitepaper: AWS Security Best Practices](https://d1.awsstatic.com/whitepapers/Security/AWS_Security_Best_Practices.pdf)|✓| ||[Whitepaper: Blue/Green Deployments on AWS](https://d1.awsstatic.com/whitepapers/AWS_Blue_Green_Deployments.pdf)|✓| ||[Whitepaper: Microservices on AWS](https://docs.aws.amazon.com/aws-technical-content/latest/microservices-on-aws/microservices-on-aws.pdf)|✓| ||[Whitepaper: Optimizing Enterprise Economics with Serverless Architectures](https://d1.awsstatic.com/whitepapers/optimizing-enterprise-economics-serverless-architectures.pdf)|✓| ||[Whitepaper: Practicing Continuous Integration and Continuous Delivery on AWS](https://d1.awsstatic.com/whitepapers/DevOps/practicing-continuous-integration-continuous-delivery-on-AWS.pdf)|✓| ||[Whitepaper: Running Containerized Microservices on AWS](https://d1.awsstatic.com/whitepapers/DevOps/running-containerized-microservices-on-aws.pdf)|✓| ||[Udemy: Serverless Concepts](https://www.udemy.com/serverless-concepts/)|✓| ||[Whitepaper: Serverless Architectures with AWS Lambda](https://d1.awsstatic.com/whitepapers/serverless-architectures-with-aws-lambda.pdf)|✓| ||[Youtube: Deploying a machine learning model to the cloud using AWS Lambda](https://www.youtube.com/watch?v=4ocbx9IeBMU&feature=youtu.be)|✓| ||[AWS: Amazon Transcribe Deep Dive: Using Feedback Loops to Improve Confidence Level of Transcription](https://www.aws.training/learningobject/video?id=27495)|✓| ||[AWS: Build a Text Classification Model with AWS Glue and Amazon SageMaker](https://www.aws.training/learningobject/video?id=27225)|✓| ||[AWS: Deep Dive on Amazon Rekognition: Building Computer Visions Based Smart Applications](https://www.aws.training/learningobject/video?id=27230)|✓| ||[AWS: Hands-on Rekognition: Automated Video Editing](https://www.aws.training/learningobject/video?id=27229)|✓| ||[AWS: Introduction to Amazon Comprehend](https://www.aws.training/learningobject/video?id=16626)|✓| ||[AWS: Introduction to Amazon Comprehend Medical](https://www.aws.training/learningobject/video?id=27159)|✓| ||[AWS: Introduction to Amazon Elastic Inference](https://www.aws.training/learningobject/video?id=27172)|✓| ||[AWS: Introduction to Amazon Forecast](https://www.aws.training/learningobject/video?id=27163)|✓| ||[AWS: Introduction to Amazon Lex](https://www.aws.training/learningobject/video?id=16516)|✓| ||[AWS: Introduction to Amazon Personalize](https://www.aws.training/learningobject/video?id=27158)|✓| ||[AWS: Introduction to Amazon Polly](https://www.aws.training/learningobject/video?id=15886)|✓| ||[AWS: Introduction to Amazon SageMaker Ground Truth](https://www.aws.training/learningobject/video?id=27162)|✓| ||[AWS: Introduction to Amazon SageMaker Neo](https://www.aws.training/learningobject/video?id=27160)|✓| ||[AWS: Introduction to Amazon Transcribe](https://www.aws.training/learningobject/video?id=19443)|✓| ||[AWS: Introduction to Amazon Translate](https://www.aws.training/learningobject/video?id=19442)|✓| ||[AWS: Introduction to AWS Marketplace - Machine Learning Category](https://www.aws.training/learningobject/video?id=27165)|✓| ||[AWS: Machine Learning Exam Basics](https://www.aws.training/learningobject/curriculum?id=27271)|✓| ||[AWS: Neural Machine Translation with Sockeye](https://www.aws.training/learningobject/video?id=27236)|✓| ||[AWS: Process Model: CRISP-DM on the AWS Stack](https://www.aws.training/learningobject/wbc?id=27200)|✓| ||[AWS: Satellite Image Classification in SageMaker](https://www.aws.training/learningobject/video?id=27231)|✓| ||[Datacamp: Introduction to AWS Boto in Python](https://www.datacamp.com/courses/introduction-to-aws-boto-in-python)|✓| ||[edX: Amazon SageMaker: Simplifying Machine Learning Application Development](https://www.edx.org/course/simplifying-machine-learning-app-development-with-amazon-sagemaker)|✓| </details> <details> <summary>Natural Language Processing</summary> |Concept|Resource|Done| |---|---|---| |Fundamentals|[Stanford CS224U: Natural Language Understanding \| Spring 2019](https://www.youtube.com/playlist?list=PLoROMvodv4rObpMCir6rNNUlFAn56Js20)|✓| ||[Stanford CS224N: Stanford CS224N: NLP with Deep Learning \| Winter 2019](https://www.youtube.com/playlist?list=PLoROMvodv4rOhcuXMZkNm7j3fVwBBY42z)|✓| ||[Natural Language Processing with Transformers Book](https://transformersbook.com/)|| |Preprocessing|[Article: Fixing common Unicode mistakes with Python – after they’ve been made](http://blog.conceptnet.io/posts/2012/fixing-common-unicode-mistakes-with-python-after-theyve-been-made/)|✓| ||[Datacamp: Feature Engineering for NLP in Python](https://www.datacamp.com/courses/feature-engineering-for-nlp-in-python)|✓| ||[Datacamp: Natural Language Processing Fundamentals in Python](https://www.datacamp.com/courses/natural-language-processing-fundamentals-in-python)|✓| ||[Datacamp: Regular Expressions in Python](https://www.datacamp.com/courses/regular-expressions-in-python)|✓| |Tokenization|[Article: 3 subword algorithms help to improve your NLP model performance](https://medium.com/@makcedward/how-subword-helps-on-your-nlp-model-83dd1b836f46)|✓| |Keyword Extraction|[Article: Build A Keyword Extraction API with Spacy, Flask, and FuzzyWuzzy](https://towardsdatascience.com/build-a-keyword-extraction-api-with-spacy-flask-and-fuzzywuzzy-4909d7ffc105)|✓| ||[Article: Unsupervised Auto-labeling of Websites](https://pincone.com/blog/unsupervised-auto-labeling-of-websites)|✓| ||[Article: Keyword Extraction with BERT](https://www.maartengrootendorst.com/blog/keybert/)|✓| ||[Article: Topic Modeling for Keyword Extraction](http://bugra.github.io/posts/2017/2/5/topic-modeling-for-keyword-extraction/)|✓| ||[Simple Unsupervised Keyphrase Extraction using Sentence Embeddings \| Research Paper Walkthrough](https://www.youtube.com/watch?v=ykClwtoLER8) `0:21:23`|✓| |Embeddings|[Article: The Illustrated Word2vec](https://jalammar.github.io/illustrated-word2vec/)|✓| ||[Article: Intuition & Use-Cases of Embeddings in NLP & beyond](https://jalammar.github.io/skipgram-recommender-talk/)|✓| ||[Article: Learning Word Embedding](https://lilianweng.github.io/lil-log/2017/10/15/learning-word-embedding.html)|| ||[Article: On word embeddings - Part 1](https://ruder.io/word-embeddings-1/)|| ||[Article: On word embeddings - Part 2: Approximating the Softmax](https://ruder.io/word-embeddings-softmax/)|| ||[Article: On word embeddings - Part 3: The secret ingredients of word2vec](https://ruder.io/secret-word2vec/)|| ||[Article: Word embeddings in 2017: Trends and future direction](https://ruder.io/word-embeddings-2017/)|| ||[Rasa Algorithm Whiteboard - Embeddings 1: Just Letters](https://www.youtube.com/watch?v=mWvnlVw_LiY) `0:13:48`|✓| ||[Rasa Algorithm Whiteboard - Embeddings 2: CBOW and Skip Gram](https://www.youtube.com/watch?v=BWaHLmG1lak) `0:19:24`|✓| ||[Rasa Algorithm Whiteboard - Embeddings 3: GloVe](https://www.youtube.com/watch?v=QoUYlxl1RGI) `0:19:12`|✓| ||[Rasa Algorithm Whiteboard - Embeddings 4: Whatlies](https://www.youtube.com/watch?v=FwkwC7IJWO0) `0:14:03`|✓| ||[Rasa Algorithm Whiteboard - StarSpace](https://www.youtube.com/watch?v=ZT3_9Kjx7oI) `0:11:46`|✓| ||[Rasa Algorithm Whiteboard - Countvectors](https://www.youtube.com/watch?v=Ju7l5ADg10U) `0:13:32`|✓| ||[Rasa Algorithm Whiteboard - Subword Embeddings](https://www.youtube.com/watch?v=kNw9dpzp5RU) `0:11:58`|✓| ||[Rasa Algorithm Whiteboard - Implementation of Subword Embeddings](https://www.youtube.com/watch?v=8D3Gamk1Jig) `0:10:01`|✓| ||[Rasa Algorithm Whiteboard - BytePair Embeddings](https://www.youtube.com/watch?v=-0IjF-7OB3s) `0:12:44`|✓| ||[Vector 1 Word Meaning](https://www.youtube.com/watch?v=EsfNYiLVtHI) `0:09:09`|| ||[Vector 2 Vector Semantics](https://www.youtube.com/watch?v=lrPxo-92GC0) `0:06:37`|| ||[Vector 3 Words and Vectors](https://www.youtube.com/watch?v=xtD47WHNhxk) `0:05:16`|| ||[Vector 4 Cosine Similarity](https://www.youtube.com/watch?v=-_i9Cg81rXA) `0:04:23`|| ||[Vector 5 TF IDF](https://www.youtube.com/watch?v=TBUpxFw8oIA) `0:05:32`|| ||[Vector 6 Word2vec](https://www.youtube.com/watch?v=FHhKmf1iPvw) `0:07:39`|| ||[Vector 7 Learning in Word2vec](https://www.youtube.com/watch?v=MGhVvEwFB9o) `0:07:36`|| ||[Vector 8 Properties of Embeddings](https://www.youtube.com/watch?v=QvFNqBRaCis) `0:06:08`|| ||[Youtube: Applied ML 2020 - 17 - Word vectors and document embeddings](https://www.youtube.com/watch?v=xgjnlGBpLUs) `1:03:04`|| |RNN|[Article: Long Short-Term Memory: From Zero to Hero with PyTorch](https://blog.floydhub.com/long-short-term-memory-from-zero-to-hero-with-pytorch/)|✓| ||[Datacamp: RNN for Language Modeling](https://www.datacamp.com/courses/recurrent-neural-networks-for-language-modeling-in-python)|✓| ||[Article: Introduction to recurrent neural networks](https://www.jeremyjordan.me/introduction-to-recurrent-neural-networks/)|| ||[Article: Explaining RNNs without neural networks](https://explained.ai/rnn/index.html)|✓| ||[Article: Understanding LSTM Networks](http://colah.github.io/posts/2015-08-Understanding-LSTMs/)|| ||[Article: The Unreasonable Effectiveness of Recurrent Neural Networks](http://karpathy.github.io/2015/05/21/rnn-effectiveness/)|| ||[Article: Under the Hood of RNNs](https://wandb.ai/authors/rnn-viz/reports/Under-the-Hood-of-RNNs--VmlldzoyNTQ4MjY)|| ||[Article: Exploring LSTMs](http://blog.echen.me/2017/05/30/exploring-lstms/)|| ||[Article: Making sense of LSTMs by example](https://alexander-schiendorfer.github.io/2020/02/08/making-sense-of-lstms.html)|| ||[Article: Building RNNs is Fun with PyTorch and Google Colab](https://medium.com/dair-ai/building-rnns-is-fun-with-pytorch-and-google-colab-3903ea9a3a79)|| ||[CMU Neural Nets for NLP 2021 (5): Recurrent Neural Networks](https://www.youtube.com/watch?v=5124LKzDaxo) `0:38:50`|| ||[CMU Advanced NLP 2021 (5): Recurrent Neural Networks](https://www.youtube.com/watch?v=1aQwed1TTrY) `1:13:43`|| ||[Notebook: TextRNN - Predict Next Step](https://colab.research.google.com/github/graykode/nlp-tutorial/blob/master/3-1.TextRNN/TextRNN.ipynb)|| ||[Notebook: TextLSTM - Autocomplete](https://colab.research.google.com/github/graykode/nlp-tutorial/blob/master/3-2.TextLSTM/TextLSTM.ipynb)|| ||[Youtube: RNN and LSTM `26:13`](https://www.youtube.com/watch?v=WCUNPb-5EYI&index=2&list=PLVZqlMpoM6kbaeySxhdtgQPFEC5nV7Faa&t=0s)|| ||[Article: Understanding building blocks of ULMFIT](https://medium.com/mlreview/understanding-building-blocks-of-ulmfit-818d3775325b)|✓| ||[Article: Character level language model RNN](https://arig23498.github.io/char-level-language-model)|| |Text CNN|[Article: Understanding Convolutional Neural Networks for NLP](http://www.wildml.com/2015/11/understanding-convolutional-neural-networks-for-nlp/)|✓| |Transformers|[Article: Attention? An Other Perspective!: Part 1](https://learningturtle.github.io/Blog/posts/attention_another_perspective/)|✓| ||[UMass CS685 (Advanced NLP): Implementing a Transformer](https://www.youtube.com/watch?v=4oO3sSk1F1M) `1:12:36`|| ||[Article: Attention and Memory in Deep Learning and NLP](http://www.wildml.com/2016/01/attention-and-memory-in-deep-learning-and-nlp/)|✓| ||[Article: Attention? An Other Perspective!: Part 2](https://learningturtle.github.io/Blog/posts/attention_another_perspective_part2/)|| ||[Article: Attention? An Other Perspective!: Part 3](https://learningturtle.github.io/Blog/posts/attention_another_perspective_part3/)|| ||[Article: Attention? An Other Perspective!: Part 4](https://learningturtle.github.io/Blog/posts/attention_another_perspective_part4/)|| ||[Article: Attention? An Other Perspective!: Part 5](https://learningturtle.github.io/Blog/posts/attention_another_perspective_part5/)|| ||[Rasa Algorithm Whiteboard - Attention 1: Self Attention](https://www.youtube.com/watch?v=yGTUuEx3GkA) `0:14:32`|✓| ||[Rasa Algorithm Whiteboard - Attention 2: Keys, Values, Queries](https://www.youtube.com/watch?v=tIvKXrEDMhk) `0:12:26`|✓| ||[Rasa Algorithm Whiteboard - Attention 3: Multi Head Attention](https://www.youtube.com/watch?v=23XUv0T9L5c) `0:10:55`|✓| ||[Rasa Algorithm Whiteboard: Attention 4 - Transformers](https://www.youtube.com/watch?v=EXNBy8G43MM) `0:14:34`|✓| ||[Youtube: A brief history of the Transformer architecture in NLP](https://www.youtube.com/watch?v=iH-wmtxHunk)|✓| ||[Youtube: The Transformer neural network architecture explained. “Attention is all you need” (NLP)](https://www.youtube.com/watch?v=FWFA4DGuzSc)|✓| ||[Youtube: How does a Transformer architecture combine Vision and Language? ViLBERT - NLP meets Computer Vision](https://www.youtube.com/watch?v=dd7nE4nbxN0)|✓| ||[Youtube: Strategies for pre-training the BERT-based Transformer architecture – language (and vision)](https://www.youtube.com/watch?v=dabFOBE4eZI)|✓| ||[Article: The Illustrated Transformer](https://jalammar.github.io/illustrated-transformer/)|✓| ||[Article: The Annotated Transformer](https://nlp.seas.harvard.edu/2018/04/03/attention.html)|| ||[Article: A Deep Dive into the Reformer](https://www.pragmatic.ml/reformer-deep-dive/)|| ||[Article: A Survey of Long-Term Context in Transformers](https://www.pragmatic.ml/a-survey-of-methods-for-incorporating-long-term-context/)|| ||[Article: Why Rasa uses Sparse Layers in Transformers](https://blog.rasa.com/why-rasa-uses-sparse-layers-in-transformers/)|| ||[Article: Transformer-based Encoder-Decoder Models](https://colab.research.google.com/github/patrickvonplaten/notebooks/blob/master/Encoder_Decoder_Model.ipynb)|✓| ||[Article: Understanding BigBird's Block Sparse Attention"](https://huggingface.co/blog/big-bird)|✓| ||[Article: The Transformer Family](https://lilianweng.github.io/lil-log/2020/04/07/the-transformer-family.html)|| ||[Article: Hugging Face Reads - 01/2021 - Sparsity and Pruning](https://discuss.huggingface.co/t/hugging-face-reads-01-2021-sparsity-and-pruning/3144)|✓| ||[Article: Hugging Face Reads, Feb. 2021 - Long-range Transformers](https://huggingface.co/blog/long-range-transformers)|✓| ||[Article: The Transformer Explained](https://nostalgebraist.tumblr.com/post/185326092369/the-transformer-explained)|✓| ||[LSBert: A Simple Framework for Lexical Simplification \| Research Paper Walkthrough](https://www.youtube.com/watch?v=uhnKsGDyhEg) `0:20:27`|✓| ||[SpanBERT: Improving Pre-training by Representing and Predicting Spans \| Research Paper Walkthrough](https://www.youtube.com/watch?v=QUP3rMrA1mk) `0:14:21`|✓| ||[T5: Exploring Limits of Transfer Learning with Text-to-Text Transformer (Research Paper Walkthrough)](https://www.youtube.com/watch?v=91iLu6OOrwk) `0:12:47`|✓| ||[Hierarchical Transformers for Long Document Classification (Research Paper Walkthrough)](https://www.youtube.com/watch?v=3IOl5d9PZeM) `0:12:46`|✓| ||[UMass CS685 (Advanced NLP): Attention mechanisms](https://www.youtube.com/watch?v=3qdQAtfq1jU) `0:48:53`|| ||[UMass CS685 (Advanced NLP): Better BERTs](https://www.youtube.com/watch?v=LfqzWrVkWak) `0:52:23`|| ||[UMass CS685 (Advanced NLP): Retrieval-augmented language models](https://www.youtube.com/watch?v=B7zw0kq6554) `0:52:13`|| ||[UMass CS685 (Advanced NLP): Model distillation and security threats](https://www.youtube.com/watch?v=Y1_7cLgnAps) `1:09:25`|| ||[UMass CS685 (Advanced NLP): vision + language](https://www.youtube.com/watch?v=ovvHvTHCUow) `1:06:28`|| ||[UMass CS685 (Advanced NLP): Intermediate fine-tuning](https://www.youtube.com/watch?v=run0nnEBVFU) `1:10:35`|| ||[UMass CS685 (Advanced NLP): probe tasks](https://www.youtube.com/watch?v=y5ShdPnxjj0) `0:54:30`|| ||[UMass CS685 (Advanced NLP): semantic parsing](https://www.youtube.com/watch?v=fBn1Cx5x5Rc) `0:48:49`|| ||[UMass CS685 (Advanced NLP): commonsense reasoning (guest lecture by Lorraine Li)](https://www.youtube.com/watch?v=LW1HLn7_PEs) `0:58:53`|| |BERT|[Article: Deconstructing BERT](https://towardsdatascience.com/deconstructing-bert-reveals-clues-to-its-state-of-art-performance-in-nlp-tasks-76a7e828c0f1)|| ||[Youtube: BERT Research Series](https://www.youtube.com/playlist?list=PLam9sigHPGwOBuH4_4fr-XvDbe5uneaf6)|✓| ||[Article: Maximizing BERT model performance](https://towardsdatascience.com/maximizing-bert-model-performance-539c762132ab)|✓| ||[Article: The Illustrated BERT, ELMo, and co. (How NLP Cracked Transfer Learning)](https://jalammar.github.io/illustrated-bert/)|✓| ||[Article: Smart Batching Tutorial - Speed Up BERT Training](https://mccormickml.com/2020/07/29/smart-batching-tutorial/)|✓| ||[Article: A review of BERT based models](https://towardsdatascience.com/a-review-of-bert-based-models-4ffdc0f15d58)|| ||[Article: Understanding BERT’s Semantic Interpretations](https://www.statestitle.com/resource/understanding-berts-semantic-interpretations/)|| ||[Article: Examining BERT’s raw embeddings](https://towardsdatascience.com/examining-berts-raw-embeddings-fd905cb22df7)|| |Semantic Search|[Article: Semantic Search On Documents](https://pakodas.substack.com/p/semantic-search-on-documents)|| ||[7 1 Introduction to Information Retrieval 9 16](https://www.youtube.com/watch?v=kNkCfaH2rxc) `0:09:16`|| ||[7 2 Term Document Incidence Matrices 8 59](https://www.youtube.com/watch?v=e81nC0LO0A8) `0:08:59`|| ||[7 3 The Inverted Index 10 42](https://www.youtube.com/watch?v=Wf6HbY2PQDw) `0:10:43`|| ||[7 4 Query Processing with the Inverted Index 6 43](https://www.youtube.com/watch?v=5KbynCj7yRQ) `0:06:44`|| ||[7 5 The Boolean Retrieval Model 14 06](https://www.youtube.com/watch?v=TIN_02pJU-Y) `0:14:07`|| ||[7 6 Phrase Queries and Positional Indexes 19 45](https://www.youtube.com/watch?v=QVVvx_Csd2I) `0:19:46`|| ||[8 1 Introducing Ranked Retrieval 4 27](https://www.youtube.com/watch?v=ZrNmCtSrL48) `0:04:27`|| ||[8 2 Scoring with the Jaccard Coefficient 5 06](https://www.youtube.com/watch?v=MiX8_JVP6PE) `0:05:07`|| ||[8 3 Term Frequency Weighting 5 59](https://www.youtube.com/watch?v=9UXM2NXVYY0) `0:06:00`|| ||[8 4 Inverse Document Frequency Weighting 10 16](https://www.youtube.com/watch?v=7nWlI_TVid0) `0:10:17`|| ||[8 5 TF IDF Weighting 3 42](https://www.youtube.com/watch?v=4-P3ckZprBk) `0:03:42`|| ||[8 6 The Vector Space Model 16 22](https://www.youtube.com/watch?v=o5nflzfX5tw) `0:16:23`|| ||[8 7 Calculating TF IDF Cosine Scores 12 47](https://www.youtube.com/watch?v=k1tD7pYKWuM) `0:12:48`|| ||[8 8 Evaluating Search Engines 9 02](https://www.youtube.com/watch?v=b7pfLpVBN84) `0:09:03`|| ||[Article: Locality-sensitive Hashing and Singular to Plural Noun Conversion](https://towardsdatascience.com/locality-sensitive-hashing-and-singular-to-plural-noun-conversion-470a885d1331)|| ||[Article: Haystack: The State of Search in 2021](https://medium.com/deepset-ai/haystack-the-state-of-search-in-2021-7388ecb15dfb)|✓| ||[Article: Search (Pt 1) — A Gentle Introduction](https://towardsdatascience.com/search-pt-1-a-gentle-introduction-335656c0f814)|✓| ||[Article: Search (Pt 2) — A Semantic Horse Race](https://towardsdatascience.com/search-pt-2-semantic-horse-race-5128cae7ce8d)|✓| ||[Article: Search (Pt 3) — Elastic Transformers](https://towardsdatascience.com/elastic-transformers-ae011e8f5b88)|✓| ||[Article: Semantic search using BERT embeddings](https://ajitrajasekharan.medium.com/semantic-search-using-bert-embeddings-511c5d78348e)|| ||[Article: What Semantic Search Can do for You](https://medium.com/deepset-ai/what-semantic-search-can-do-for-you-ea5b1e8dfa7f)|| ||[Article: How To Create Natural Language Semantic Search For Arbitrary Objects With Deep Learning](https://towardsdatascience.com/semantic-code-search-3cd6d244a39c)|| ||[Article: Building a sentence embedding index with fastText and BM25](https://towardsdatascience.com/building-a-sentence-embedding-index-with-fasttext-and-bm25-f07e7148d240)|✓| ||[Article: String Matching with BERT, TF-IDF, and more!](https://www.maartengrootendorst.com/blog/polyfuzz/)|✓| ||[Article: Document search with fragment embeddings](https://towardsdatascience.com/document-search-with-fragment-embeddings-7e1d73eb0104)|| ||[Article: Text Similarities : Estimate the degree of similarity between two texts](https://medium.com/@adriensieg/text-similarities-da019229c894)|| ||[Article: How we used Universal Sentence Encoder and FAISS to make our search 10x smarter](https://blog.onebar.io/building-a-semantic-search-engine-using-open-source-components-e15af5ed7885)|✓| ||[Article: Using embeddings to help find similar restaurants in Search](https://bytes.swiggy.com/using-embeddings-to-help-find-similar-restaurants-in-search-1d1417dff304)|| ||[Article: Evolution of and experiments with feed ranking at Swiggy](https://bytes.swiggy.com/evolution-of-and-experiments-with-feed-ranking-at-swiggy-17204769e79f)|| ||[Article: Personalizing Swiggy POP Recommendations](https://bytes.swiggy.com/personalizing-swiggy-pop-recommendations-d434b6f555f9)|| ||[Article: Fan(s)tastic: Search for blazing-fast results](https://bytes.swiggy.com/fan-s-tastic-search-for-blazing-fast-results-46aa706313ef)|| ||[Article: Find My Food: Semantic Embeddings for Food Search Using Siamese Networks](https://bytes.swiggy.com/find-my-food-semantic-embeddings-for-food-search-using-siamese-networks-abb55be0b639)|| ||[Article: Learning To Rank Restaurants](https://bytes.swiggy.com/learning-to-rank-restaurants-c6a69ba4b330)|| ||[Article: Comparison Of Ngram Fuzzy Matching Approaches](http://chappers.github.io/web%20micro%20log/2015/04/29/comparison-of-ngram-fuzzy-matching-approaches/)|| ||[Article: String similarity — the basic know your algorithms guide!](https://itnext.io/string-similarity-the-basic-know-your-algorithms-guide-3de3d7346227)|| ||[Youtube: Billion-scale Approximate Nearest Neighbor Search](https://www.youtube.com/watch?v=SKrHs03i08Q)|| ||[Youtube: Data Science - Fuzzy Record Matching](https://www.youtube.com/watch?v=YhrKvEjpBYo)|✓| ||[Youtube: Minimum Edit Distance Dynamic Programming](https://www.youtube.com/watch?v=We3YDTzNXEk)|✓| ||[Youtube: Cheuk Ting Ho - Fuzzy Matching Smart Way of Finding Similar Names Using Fuzzywuzzy](https://www.youtube.com/watch?v=NRAqIjXaZvw)|✓| ||[Youtube: What's in a Name? Fast Fuzzy String Matching - Seth Verrinder & Kyle Putnam - Midwest.io 2015](https://www.youtube.com/watch?v=s0YSKiFdj8Q)|✓| ||[Youtube: Jiaqi Liu Fuzzy Search Algorithms How and When to Use Them PyCon 2017](https://www.youtube.com/watch?v=kTS2b6pGElE)|✓| ||[Youtube: 1 + 1 = 1 or Record Deduplication with Python \| Flávio Juvenal @ PyBay2018](https://www.youtube.com/watch?v=McsTWXeURhA)|✓| ||[Youtube: Mike Mull: The Art and Science of Data Matching](https://www.youtube.com/watch?v=Y-nYEOgq3YE)|✓| ||[Youtube: Record linkage: Join for real life by Rhydwyn Mcguire](https://youtu.be/cEcVIjyHfiQ)|✓| ||[Youtube: Approximate nearest neighbors and vector models, introduction to Annoy](https://www.youtube.com/watch?v=QkCCyLW0ehU)|✓| ||[Advanced Information Retrieval 2021 - 2021 Course Introduction](https://www.youtube.com/watch?v=6FNISntK6Sk) `0:21:39`|✓| ||[Advanced Information Retrieval 2021: Crash Course IR - Fundamentals](https://www.youtube.com/watch?v=ZC94KSDd4DM) `0:46:31`|✓| ||[Advanced Information Retrieval 2021: Crash Course IR - Evaluation](https://www.youtube.com/watch?v=EiDltQZ713I) `0:37:15`|| ||[Advanced Information Retrieval 2021: Crash Course IR - Test Collections](https://www.youtube.com/watch?v=pRRveh3D0pI) `0:51:12`|| ||[Advanced Information Retrieval 2021: Word Representation Learning](https://www.youtube.com/watch?v=f3nM6DKVwug) `0:42:02`|| ||[Advanced Information Retrieval 2021: Sequence Modelling with CNNs and RNNs](https://www.youtube.com/watch?v=7Bfj_UuJh38) `0:55:04`|| ||[Advanced Information Retrieval 2021: Transformer and BERT Pre-training](https://www.youtube.com/watch?v=Mt7UJNKxscA) `0:47:15`|| ||[Advanced Information Retrieval 2021: Introduction to Neural Re-Ranking](https://www.youtube.com/watch?v=GSixIsI1eZE) `0:59:20`|| ||[Advanced Information Retrieval 2021: Transformer Contextualized Re-Ranking](https://www.youtube.com/watch?v=Fle-jKzV-Rk) `0:49:06`|| ||[Advanced Information Retrieval 2021: Domain Specific Applications](https://www.youtube.com/watch?v=rHXTpHIiq6U) `0:38:32`|| ||[Advanced Information Retrieval 2021: Dense Retrieval ❤ Knowledge Distillation](https://www.youtube.com/watch?v=EJ_7Gx6amt8) `0:59:28`|| ||[Introduction to Dense Text Representations - Part 1](https://www.youtube.com/watch?v=qmN1fJ7Fdmo) `0:12:56`|✓| ||[Introduction to Dense Text Representations - Part 2](https://www.youtube.com/watch?v=0RV-q0--NLs) `0:23:13`|✓| ||[Introduction to Dense Text Representation - Part 3](https://www.youtube.com/watch?v=t4Gf4LruVZ4) `0:38:07`|✓| ||[Training State-of-the-Art Sentence Embedding Models](https://www.youtube.com/watch?v=RHXZKUr8qOY) `0:43:43`|| |NER|[Article: Unsupervised NER using BERT](https://towardsdatascience.com/unsupervised-ner-using-bert-2d7af5f90b8a)|| ||[Introduction to Named Entity Tagging](https://www.youtube.com/watch?v=7CRyqwCZFY0) `0:05:06`|| ||[Introduction to Part of Speech Tagging](https://www.youtube.com/watch?v=WQYt3DRLpuQ) `0:09:03`|| ||[Article: Zero shot NER using RoBERTA](https://krishansubudhi.github.io/deeplearning/2020/06/25/ROBERTA-zeroshot-NER.html)|| ||[Article: Existing Tools for Named Entity Recognition](https://mccormickml.com/2020/05/19/existing-ner-tools/)|✓| ||[Article: Solving NER with BERT for any entity type with very little training data (compared to past approaches)](https://ajitrajasekharan.medium.com/solving-ner-with-bert-for-any-entity-type-with-very-little-training-data-compared-to-past-50094e2e3df9)|| ||[Article: What is Hidden in the Hidden Markov Model?](https://medium.com/acing-ai/what-is-hidden-in-the-hidden-markov-models-eee7bab45ac3)|| ||[Article: Part of Speech Tagging with Hidden Markov Chain Models](https://towardsdatascience.com/part-of-speech-tagging-with-hidden-markov-chain-models-e9fccc835c0e)|| ||[Article: Named-Entity evaluation metrics based on entity-level](http://www.davidsbatista.net/blog/2018/05/09/Named_Entity_Evaluation/)|| |Summarization|[Article: Automatically Summarize Trump’s State of the Union Address](https://towardsdatascience.com/automatically-summarize-trumps-state-of-the-union-address-6757c6af6534)|| ||[Leveraging BERT for Extractive Text Summarization on Lectures \| Research Paper Walkthrough](https://www.youtube.com/watch?v=JU6eSLsp6vI) `0:20:10`|✓| ||[A Supervised Approach to Extractive Summarisation of Scientific Papers \| Research Paper Walkthrough](https://www.youtube.com/watch?v=73uWfopdjoc) `0:19:01`|✓| ||[Text Summarization of COVID-19 Medical Articles using BERT and GPT-2 \| Research Paper Walkthrough](https://www.youtube.com/watch?v=kC5kP1dPAzc) `0:21:52`|✓| ||[Extractive & Abstractive Summarization with Transformer Language Models \| Research Paper Walkthrough](https://www.youtube.com/watch?v=2IzXW3Ypks0) `0:16:58`|✓| ||[Unsupervised Multi-Document Summarization using Neural Document Model \| Research Paper Walkthrough](https://www.youtube.com/watch?v=qOoAlI5hpFk) `0:15:11`|✓| ||[SummPip: Multi-Document Summarization with Sentence Graph Compression \| Research Paper Walkthrough](https://www.youtube.com/watch?v=1jwUOMQVCo4) `0:16:54`|✓| ||[PEGASUS: Pre-training with Gap-Sentences for Abstractive Summarization \| Research Paper Walkthrough](https://www.youtube.com/watch?v=QY8oZxS0txs) `0:15:04`|✓| ||[On Generating Extended Summaries of Long Documents (Research Paper Walkthrough)](https://www.youtube.com/watch?v=Inc63mLLInA) `0:14:24`|✓| |Multilingual NLP|[Article: How to Apply BERT to Arabic and Other Languages](https://mccormickml.com/2020/10/05/multilingual-bert/)|| ||[Article: A survey of cross-lingual word embedding models](https://ruder.io/cross-lingual-embeddings/)|| ||[Article: Unsupervised Cross-lingual Representation Learning](https://ruder.io/unsupervised-cross-lingual-learning/)|| ||[Article: DaCy: New Fast and Efficient State-of-the-Art in Danish NLP!](https://www.kennethenevoldsen.com/post/new-fast-and-efficient-state-of-the-art-in-danish-nlp/)|| ||[Article: Why You Should Do NLP Beyond English](https://ruder.io/nlp-beyond-english/)|| ||[CMU: Low-resource NLP Bootcamp 2020](https://www.youtube.com/playlist?list=PL8PYTP1V4I8A1CpCzURXAUa6H4HO7PF2c)|✓| ||[CMU Multilingual NLP 2020](http://demo.clab.cs.cmu.edu/11737fa20/)|✓| |Domain Adaptation|[Article: Domain-Specific BERT Models](https://mccormickml.com/2020/06/22/domain-specific-bert-tutorial/)|✓| |Text Generation|[Article: Text Generation](http://veredshwartz.blogspot.com/2019/08/text-generation.html)|| ||[UMass CS685 (Advanced NLP): Text generation decoding and evaluation](https://www.youtube.com/watch?v=E_zJKsNMAB0) `1:02:32`|| ||[UMass CS685 (Advanced NLP): Paraphrase generation](https://www.youtube.com/watch?v=2wcrZs5PsZo) `1:10:59`|| ||[Article: The Illustrated GPT-2 (Visualizing Transformer Language Models)](https://jalammar.github.io/illustrated-gpt2/)|✓| ||[Article: Controlling Text Generation with Plug and Play Language Models](https://eng.uber.com/pplm/)|✓| ||[Article: Poor man’s GPT-3: Few shot text generation with T5 Transformer](https://towardsdatascience.com/poor-mans-gpt-3-few-shot-text-generation-with-t5-transformer-51f1b01f843e)|| ||[Article: Reducing Toxicity in Language Models](https://lilianweng.github.io/lil-log/2021/03/21/reducing-toxicity-in-language-models.html)|| ||[Article: How to Implement a Beam Search Decoder for Natural Language Processing](https://machinelearningmastery.com/beam-search-decoder-natural-language-processing/)|| ||[Article: Perplexity Intuition (and its derivation)](https://towardsdatascience.com/perplexity-intuition-and-derivation-105dd481c8f3)|| ||[Article: The Annotated GPT-2](https://amaarora.github.io/2020/02/18/annotatedGPT2.html)|| ||[Datacamp: Natural Language Generation in Python](https://www.datacamp.com/courses/natural-language-generation-in-python)|✓| ||[BLEURT: Learning Robust Metrics for Text Generation \| Research Paper Walkthrough](https://www.youtube.com/watch?v=9lWxwfMKAdM) `0:13:38`|✓| ||[Evaluation of Text Generation: A Survey \| Human-Centric Evaluations \| Research Paper Walkthrough](https://www.youtube.com/watch?v=-CIlz-5um7U) `0:15:54`|✓| ||[Nucleus Sampling: The Curious Case of Neural Text Degeneration (Research Paper Walkthrough)](https://www.youtube.com/watch?v=dCORspO2yVY) `0:12:48`|✓| |Spelling Correction|[Article: Rebuilding the most popular spellchecker. Part 1](https://zverok.github.io/blog/2021-01-05-spellchecker-1.html)|✓| ||[Article: Rebuilding the spellchecker, pt.2: Just look in the dictionary, they said!](https://zverok.github.io/blog/2021-01-09-spellchecker-2.html)|✓| ||[Article: Rebuilding the spellchecker, pt.3: Lookup—compounds and solutions](https://zverok.github.io/blog/2021-01-14-spellchecker-3.html)|✓| ||[Article: Rebuilding the spellchecker, pt.4: Introduction to suggest algorithm](https://zverok.github.io/blog/2021-01-21-spellchecker-4.html)|| ||[Article: Rebuilding the spellchecker: Hunspell and the order of edits](https://zverok.github.io/blog/2021-01-28-spellchecker-5.html)|| ||[Article: How to Use n-gram Models to Detect Format Errors in Datasets](https://towardsdatascience.com/how-to-use-n-gram-models-to-detect-format-errors-in-datasets-bb2171842499)|| ||[Article: Spelling Correction: How to make an accurate and fast corrector](https://towardsdatascience.com/spelling-correction-how-to-make-an-accurate-and-fast-corrector-dc6d0bcbba5f)|✓| ||[Article: Speller100: Zero-shot spelling correction at scale for 100-plus languages](https://www.microsoft.com/en-us/research/blog/speller100-zero-shot-spelling-correction-at-scale-for-100-plus-languages/)|✓| ||[Article: Breaking the spell of the spelling check](https://www.slideshare.net/KhrystynaKulak/breaking-the-spell-of-the-spelling-check)|✓| ||[Article: How to Write a Spelling Corrector](https://norvig.com/spell-correct.html)|✓| ||[Article: Spellchecking by computer](https://www.dcs.bbk.ac.uk/~roger/spellchecking.html)|✓| ||[Article: A Spellchecker Used to Be a Major Feat of Software Engineering](https://prog21.dadgum.com/29.html)|✓| ||[Article: 1000x Faster Spelling Correction algorithm (2012)](https://wolfgarbe.medium.com/1000x-faster-spelling-correction-algorithm-2012-8701fcd87a5f)|✓| ||[Youtube: How to build a custom spell checker using python NLP](https://www.youtube.com/watch?v=LEA3TDV98zE)|✓| |Topic Modeling|[Article: Automatic Topic Labeling in 2018: History and Trends](https://medium.com/datadriveninvestor/automatic-topic-labeling-in-2018-history-and-trends-29c128cec17)|| ||[Youtube: Applied ML 2020 - 16 - Topic models for text data](https://www.youtube.com/watch?v=xdmFx4-3Ukw) `1:18:34`|✓| ||[Youtube: Extracting topics from reviews using NLP - Dr. Tal Perri](https://www.youtube.com/watch?v=NVZho0VU53g)|✓| ||[Article: Interactive Topic Modeling with BERTopic](https://towardsdatascience.com/interactive-topic-modeling-with-bertopic-1ea55e7d73d8)|| ||[Article: Understanding Climate Change Domains through Topic Modeling](https://omdena.com/blog/topic-modeling/)|| ||[Article: When Topic Modeling is Part of the Text Pre-processing](https://towardsdatascience.com/when-topic-modeling-is-part-of-the-text-pre-processing-294b58d35514)|| ||[Article: pyLDAvis: Topic Modelling Exploration Tool That Every NLP Data Scientist Should Know](https://neptune.ai/blog/pyldavis-topic-modelling-exploration-tool-that-every-nlp-data-scientist-should-know)|| ||[Article: Topic Modeling with BERT](https://www.maartengrootendorst.com/blog/bertopic/)|✓| |Zero-Shot NLP|[Article: Zero-Shot Learning in Modern NLP](https://joeddav.github.io/blog/2020/05/29/ZSL.html)|✓| ||[Article: Improved Few-Shot Text classification](https://maelfabien.github.io/machinelearning/NLP_6/)|| ||[Article: Text classification from few training examples](https://maelfabien.github.io/machinelearning/NLP_5/)|| ||[Article: Pattern-Exploiting Training](https://www.pragmatic.ml/pet/)|| |Paraphrasing|[Article: Paraphrasing](http://veredshwartz.blogspot.com/2017/08/paraphrasing.html)|| |Conversational AI|[Article: What makes a good conversation?](http://www.abigailsee.com/2019/08/13/what-makes-a-good-conversation.html)|✓| ||[Datacamp: Building Chatbots in Python](https://www.datacamp.com/courses/building-chatbots-in-python)|✓| ||[Rasa Algorithm Whiteboard - Diet Architecture 1: How it Works](https://www.youtube.com/watch?v=vWStcJDuOUk) `0:23:27`|✓| ||[Rasa Algorithm Whiteboard - Diet Architecture 2: Design Decisions](https://www.youtube.com/watch?v=KUGGuJ0aTL8) `0:15:06`|✓| ||[Rasa Algorithm Whiteboard - Diet Architecture 3: Benchmarking](https://www.youtube.com/watch?v=oj5oPGDlep4) `0:22:34`|✓| ||[Rasa Algorithm Whiteboard - TED Policy](https://www.youtube.com/watch?v=j90NvurJI4I) `0:16:10`|✓| ||[Rasa Algorithm Whiteboard - TED in Practice](https://www.youtube.com/watch?v=d8JMJMvErSg) `0:14:54`|✓| ||[Rasa Algorithm Whiteboard - Response Selection](https://www.youtube.com/watch?v=2jvyWngHEJM) `0:12:07`|✓| ||[Rasa Algorithm Whiteboard - Response Selection: Implementation](https://www.youtube.com/watch?v=0tXkFScW0hE) `0:09:25`|✓| ||[Dialog 1 Overview](https://www.youtube.com/watch?v=2zCfh3o88K8) `0:03:11`|| ||[Dialogue 2 Human Conversation](https://www.youtube.com/watch?v=n0MpIyqZjZU) `0:10:31`|| ||[Dialogue 3 ELIZA](https://www.youtube.com/watch?v=veyhOF4xFUo) `0:09:27`|| ||[Dialogue 4 Corpus Chatbots](https://www.youtube.com/watch?v=GB3dOuV6f4s) `0:09:35`|| ||[Dialogue 5 Frame Based Dialogue](https://www.youtube.com/watch?v=A4JndTnxoqE) `0:07:41`|| ||[Dialogue 6 Dialogue State Architecture](https://www.youtube.com/watch?v=nQKMKzMXZks) `0:08:58`|| ||[Dialogue 7 Dialogue State Architecture Policy and Generation](https://www.youtube.com/watch?v=ptVx38To1yM) `0:08:23`|| ||[Dialogue 8 Evaluation](https://www.youtube.com/watch?v=iJet3n3gAso) `0:04:38`|| ||[Dialogue 9 Design and Ethical Issues](https://www.youtube.com/watch?v=bX06GTiK3lQ) `0:03:29`|| ||[YouTube: Level 3 AI Assistant Conference 2020](https://www.youtube.com/playlist?list=PL75e0qA87dlGP51yZ0dyNup-vwu0Rlv86)|✓| ||[Youtube: Conversational AI with Transformers and Rule-Based Systems](https://www.youtube.com/watch?v=_-rCUnPBlME) `1:53:24`|✓| ||[TOD-BERT: Pre-trained Transformers for Task-Oriented Dialogue Systems (Research Paper Walkthrough)](https://www.youtube.com/watch?v=z3Pe0cJUvO0) `0:15:25`|✓| ||[DialoGPT: Generative Training for Conversational Response Generation (Research Paper Walkthrough)](https://www.youtube.com/watch?v=Zo679MYoJns) `0:13:17`|✓| ||[Youtube: Transformers 🤗 to Rule Them All? Under the Hood of the AI Recruiter Chatbot 🤖, with Keisuke Inoue](https://www.youtube.com/watch?v=aYYaDFXLF3c)|✓| ||[Youtube: Chatbots Revisted \| by Abhishek Thakur \| Kaggle Days Warsaw](https://www.youtube.com/watch?v=yQqyl0PZ2Wg)|✓| |Sentiment Analysis|[Article: NLP: Pre-trained Sentiment Analysis](https://medium.com/@b.terryjack/nlp-pre-trained-sentiment-analysis-1eb52a9d742c)|✓| ||[Article: Key topics extraction and contextual sentiment of users reviews](https://tech.goibibo.com/key-topics-extraction-and-contextual-sentiment-of-users-reviews-20e63c0fd7ca)|✓| ||[Article: Aspect-Based Opinion Mining (NLP with Python)](https://medium.com/@pmin91/aspect-based-opinion-mining-nlp-with-python-a53eb4752800)|| ||[Datacamp: Sentiment Analysis in Python](https://www.datacamp.com/courses/sentiment-analysis-in-python)|✓| ||[Youtube: Sentiment Analysis: Key Milestones, Challenges and New Directions](https://www.youtube.com/watch?v=YAqjf7to-lU)|✓| ||[Talk: EmoTag1200: Understanding the Association between Emojis and Emotions](https://slideslive.com/38939357/emotag1200-understanding-the-association-between-emojis-and-emotions)|✓| ||[Youtube: Real life aspects of opinion sentiment analysis within customer reviews - Dr. Jonathan Yaniv](https://www.youtube.com/watch?v=CVn0yR49yxA)|✓| ||[Youtube: Deep Learning Methods for Emotion Detection from Text - Dr. Liron Allerhand](https://www.youtube.com/watch?v=DzAZ2Bq_dgU)|✓| |Text Classification|[Article: Multi-Label Text Classification](https://radiant-brushlands-42789.herokuapp.com/towardsdatascience.com/multi-label-text-classification-5c505fdedca8)|✓| |Text Clustering|[Article: Document clustering](https://theaisummer.com/Document_clustering/)|✓| ||[Datacamp: Clustering Methods with SciPy](https://www.datacamp.com/courses/clustering-methods-with-scipy)|✓| ||[Article: Gaussian Mixture Models for Clustering](https://towardsdatascience.com/gaussian-mixture-models-for-clustering-3f62d0da675)|| |Explainability|[Article: Explain NLP models with LIME & SHAP](https://towardsdatascience.com/explain-nlp-models-with-lime-shap-5c5a9f84d59b)|| ||[Youtube: Explainability for Natural Language Processing](https://www.youtube.com/watch?v=3tnrGe_JA0s)|| |Usecases|[Article: How to solve 90% of NLP problems: a step-by-step guide](https://mlpowered.com/posts/how-to-solve-90-nlp/)|✓| ||[Article: Using an NLP Q&A System To Study Climate Hazards and Nature-Based Solutions](https://medium.com/omdena/using-an-nlp-q-a-system-to-study-climate-hazards-and-nature-based-solutions-c191920766d7)|✓| ||[Article: How To Do Things With Words. And Counters](https://nbviewer.jupyter.org/url/norvig.com/ipython/How%20to%20Do%20Things%20with%20Words.ipynb)|| ||[Talk: Practical NLP for the Real World](https://www.infoq.com/presentations/practical-nlp/)|✓| ||[Youtube: Design Considerations for building ML-Powered Search Applications - Mark Moyou](https://www.youtube.com/watch?v=q7xSuKq31Tk)|✓| ||[Youtube: Analyze Customer Feedback in Minutes, Not Months](https://www.youtube.com/watch?v=RMamDDeIFeU)|✓| ||[Youtube: NLP in Feedback Analysis - Yue Ning](https://www.youtube.com/watch?v=V8mCS1XHyTI)|✓| ||[Youtube: Productionizing an unsupervised machine learning model to understand customer feedback](https://youtu.be/YLTLdEiJcq0)|✓| ||[Youtube: Bringing innovation to online retail: automating customer service with NLP](https://www.youtube.com/watch?v=beB77I0leY4)|✓| ||[Youtube: Transform customer service with machine learning (Google Cloud Next '17)](https://www.youtube.com/watch?v=bRnN4pBAsfc)|✓| ||[Youtube: Artificial Intelligence and Natural Language Processing in E-Commerce by Katherine Munro \| smec](https://www.youtube.com/watch?v=r7JI_5mt3To)|✓| ||[Youtube: The giant leaps in language technology -- and who's left behind \| Kalika Bali](https://www.youtube.com/watch?v=Mkelhs_OVMc)|✓| |Machine Translation|[Article: Introducing Translatotron: An End-to-End Speech-to-Speech Translation Model](https://ai.googleblog.com/2019/05/introducing-translatotron-end-to-end.html)|✓| ||[Datacamp: Machine Translation in Python](https://www.datacamp.com/courses/machine-translation-in-python)|✓| |Libraries|[Datacamp: Advanced NLP with spaCy](https://www.datacamp.com/courses/advanced-nlp-with-spacy)|✓| ||[Spacy Tutorial](https://www.youtube.com/watch?v=cgwDB1THUBY&list=PLJ39kWiJXSiz1LK8d_fyxb7FTn4mBYOsD)|✓| ||[Youtube: spaCy v3.0: Bringing State-of-the-art NLP from Prototype to Production](https://globalai.live/october-sessions-natural-language-processing/keynote-2/) `00:22:40`|✓| ||[Youtube: SpaCy for Digital Humanities with Python Tutorials](https://www.youtube.com/playlist?list=PL2VXyKi-KpYvuOdPwXR-FZfmZ0hjoNSUo)|✓| ||[TextBlob Tutorial Series](https://www.youtube.com/watch?v=4k2cqUIjb8g&list=PLJ39kWiJXSizrWpC7hcu1_mLNxEPzN0gF)|✓| ||[YouTube: Intro to NLP with Spacy](https://www.youtube.com/playlist?list=PLBmcuObd5An559HbDr_alBnwVsGq-7uTF)|✓| |Huggingface|[How-to Use HuggingFace's Datasets - Transformers From Scratch #1](https://www.youtube.com/watch?v=GhGUZrcB-WM) `0:14:21`|| ||[Build a Custom Transformer Tokenizer - Transformers From Scratch #2](https://www.youtube.com/watch?v=JIeAB8vvBQo) `0:14:17`|| ||[Building MLM Training Input Pipeline - Transformers From Scratch #3](https://www.youtube.com/watch?v=heTYbpr9mD8) `0:23:11`|| ||[Training and Testing an Italian BERT - Transformers From Scratch #4](https://www.youtube.com/watch?v=35Pdoyi6ZoQ) `0:30:38`|| |Audio|[Datacamp: Spoken Language Processing in Python](https://www.datacamp.com/courses/spoken-language-processing-in-python)|| ||[Youtube: Librosa Audio and Music Signal Analysis in Python \| SciPy 2015 \| Brian McFee](https://www.youtube.com/watch?v=MhOdbtPhbLU)|✓| ||[Youtube: Deep Learning (for Audio) with Python](https://www.youtube.com/playlist?list=PL-wATfeyAMNrtbkCNsLcpoAyBBRJZVlnf)|✓| |Gibberish Detection|[Youtube: Gibberish Detector](https://www.youtube.com/watch?v=l15C8UJu17s)|✓| |Constituency Parsing|[Youtube: NLP Lecture 7 Constituency Parsing](https://www.youtube.com/playlist?list=PLr9TFf9GjancAHiiP5cqGmYsZad99Uf_h)|✓| ||[Youtube: LING 83 Teaching Video: Constituency Parsing](https://www.youtube.com/watch?v=G_bd2z4mIiI)|✓| |Question Answering|[UMass CS685 (Advanced NLP): Question answering](https://www.youtube.com/watch?v=nfHBN2D47rc) `0:59:50`|| |Data Annotation|[UMass CS685 (Advanced NLP): Crowdsourced text data collection](https://www.youtube.com/watch?v=ETz6liqzMXA) `0:58:31`|| |Ethics|[UMass CS685 (Advanced NLP): ethics in NLP](https://www.youtube.com/watch?v=eOHTvpsuEL4) `0:56:57`|| </details>
3,168
All the slides, accompanying code and exercises all stored in this repo. 🎈
# Data Camp: Data Scientist with Python 🎉🤖 ![GitHub](https://img.shields.io/github/license/AmoDinho/datacamp-python-data-science-track) ![GitHub stars](https://img.shields.io/github/stars/AmoDinho/datacamp-python-data-science-track?style=social) ![Design Blocks](https://images.unsplash.com/photo-1518364538800-6bae3c2ea0f2?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=193d96d744872badcbbf5bdfc7b347f2&auto=format&fit=crop&w=1951&q=80) # All the slides, accompanying code and exercises are all stored in this repo! [Sign Up to DataCamp Here!](https://www.datacamp.com) ## 🎮 List of Courses - [Intro to Python for Data Science](https://github.com/AmoDinho/datacamp-python-data-science-track/tree/master/Intro%20to%20Python%20for%20Data%20Science) - [Intermediate Python for Data Science](https://github.com/AmoDinho/datacamp-python-data-science-track/tree/master/Intermediate%20Python%20for%20Data%20Science) - [Python Data Science Toolbox (Part 1)](https://github.com/AmoDinho/datacamp-python-data-science-track/tree/master/Python%20Data%20Science%20Toolbox%20pt1) - [Python Data Science Toolbox (Part 2)](https://github.com/AmoDinho/datacamp-python-data-science-track/tree/master/Python%20Data%20Science%20Toolbox%20pt2) - [Importing Data in Python (Part 1)](https://github.com/AmoDinho/datacamp-python-data-science-track/tree/master/Importing%20Data%20in%20Python%20pt1) - [Importing Data in Python (Part 2)](https://github.com/AmoDinho/datacamp-python-data-science-track/tree/master/Importing%20Data%20in%20Python%20pt2) - [Cleaning Data in Python](https://github.com/AmoDinho/datacamp-python-data-science-track/tree/master/Cleaning%20Data%20in%20Python) - [Pandas Foundations](https://github.com/AmoDinho/datacamp-python-data-science-track/tree/master/Pandas%20Foundations) - [Manipulating DataFrames with pandas](https://github.com/AmoDinho/datacamp-python-data-science-track/tree/master/Manipulating%20DataFrames%20with%20pandas) - [Merging DataFrames with pandas](https://github.com/AmoDinho/datacamp-python-data-science-track/tree/master/Merging%20DataFrames%20with%20pandas) - [Introduction to Databases in Python](https://github.com/AmoDinho/datacamp-python-data-science-track/tree/master/Introduction%20to%20Databases%20in%20Python) - [Introduction to Data Visualization with Python](https://github.com/AmoDinho/datacamp-python-data-science-track/tree/master/Introduction%20to%20Data%20Visualizaion%20with%20Python) - [Interactive Data Visualization with Bokeh](https://github.com/AmoDinho/datacamp-python-data-science-track/tree/master/Interactive%20Data%20Visualization%20with%20Bokeh) - [Statistical Thinking in Python (Part 1)](https://github.com/AmoDinho/datacamp-python-data-science-track/tree/master/Statistical%20Thinking%20in%20Python%20(Part%201)) - [Statistical Thinking in Python (Part 2)](https://github.com/AmoDinho/datacamp-python-data-science-track/tree/master/Statistical%20Thinking%20in%20Python%20(Part%202)) - [Supervised Learning with scikit-learn](https://github.com/AmoDinho/datacamp-python-data-science-track/tree/master/Supervised%20Learning%20with%20scikit-learn) - [Machine Learning with the Experts: School Budgets](https://github.com/AmoDinho/datacamp-python-data-science-track/tree/master/Machine%20Learning%20with%20Experts-School%20Budgets) - [Unsupervised Learning in Python](https://github.com/AmoDinho/datacamp-python-data-science-track/tree/master/Unsupervised%20Learning%20in%20Python) - [Deep Learning in Python](https://github.com/AmoDinho/datacamp-python-data-science-track/tree/master/Deep%20Learning%20in%20Python) - [Network Analysis in Python (Part 1)](https://github.com/AmoDinho/datacamp-python-data-science-track/tree/master/Network%20Analysis%20in%20Python%20(Part%201)) ### 💣 Bonus - [Natural Language Processing Fundamentals in Python](https://github.com/AmoDinho/datacamp-python-data-science-track/tree/master/Natural%20Language%20Processing%20Fundamentals%20in%20Python) - [Correlation & Regression](https://github.com/AmoDinho/datacamp-python-data-science-track/tree/master/Correlation%20and%20Regression) ## 🍣 Contributions Anyone is welcome to contribute please check out the issues! ## 📄 License [MIT License](https://github.com/AmoDinho/datacamp-python-data-science-track/blob/master/LICENSE)
3,169
The fastai book, published as Jupyter Notebooks
[English](./README.md) / [Spanish](./README_es.md) / [Korean](./README_ko.md) / [Chinese](./README_zh.md) / [Bengali](./README_bn.md) / [Indonesian](./README_id.md) / [Italian](./README_it.md) / [Portuguese](./README_pt.md) / [Vietnamese](./README_vn.md) # The fastai book These notebooks cover an introduction to deep learning, [fastai](https://docs.fast.ai/), and [PyTorch](https://pytorch.org/). fastai is a layered API for deep learning; for more information, see [the fastai paper](https://www.mdpi.com/2078-2489/11/2/108). Everything in this repo is copyright Jeremy Howard and Sylvain Gugger, 2020 onwards. A selection of chapters is available to [read online here](https://fastai.github.io/fastbook2e/). The notebooks in this repo are used for [a MOOC](https://course.fast.ai) and form the basis of [this book](https://www.amazon.com/Deep-Learning-Coders-fastai-PyTorch/dp/1492045527), which is currently available for purchase. It does not have the same GPL restrictions that are on this repository. The code in the notebooks and python `.py` files is covered by the GPL v3 license; see the LICENSE file for details. The remainder (including all markdown cells in the notebooks and other prose) is not licensed for any redistribution or change of format or medium, other than making copies of the notebooks or forking this repo for your own private use. No commercial or broadcast use is allowed. We are making these materials freely available to help you learn deep learning, so please respect our copyright and these restrictions. If you see someone hosting a copy of these materials somewhere else, please let them know that their actions are not allowed and may lead to legal action. Moreover, they would be hurting the community because we're not likely to release additional materials in this way if people ignore our copyright. ## Colab Instead of cloning this repo and opening it on your machine, you can read and work with the notebooks using [Google Colab](https://research.google.com/colaboratory/). This is the recommended approach for folks who are just getting started -- there's no need to set up a Python development environment on your own machine, since you can just work directly in your web-browser. You can open any chapter of the book in Colab by clicking on one of these links: [Introduction to Jupyter](https://colab.research.google.com/github/fastai/fastbook/blob/master/app_jupyter.ipynb) | [Chapter 1, Intro](https://colab.research.google.com/github/fastai/fastbook/blob/master/01_intro.ipynb) | [Chapter 2, Production](https://colab.research.google.com/github/fastai/fastbook/blob/master/02_production.ipynb) | [Chapter 3, Ethics](https://colab.research.google.com/github/fastai/fastbook/blob/master/03_ethics.ipynb) | [Chapter 4, MNIST Basics](https://colab.research.google.com/github/fastai/fastbook/blob/master/04_mnist_basics.ipynb) | [Chapter 5, Pet Breeds](https://colab.research.google.com/github/fastai/fastbook/blob/master/05_pet_breeds.ipynb) | [Chapter 6, Multi-Category](https://colab.research.google.com/github/fastai/fastbook/blob/master/06_multicat.ipynb) | [Chapter 7, Sizing and TTA](https://colab.research.google.com/github/fastai/fastbook/blob/master/07_sizing_and_tta.ipynb) | [Chapter 8, Collab](https://colab.research.google.com/github/fastai/fastbook/blob/master/08_collab.ipynb) | [Chapter 9, Tabular](https://colab.research.google.com/github/fastai/fastbook/blob/master/09_tabular.ipynb) | [Chapter 10, NLP](https://colab.research.google.com/github/fastai/fastbook/blob/master/10_nlp.ipynb) | [Chapter 11, Mid-Level API](https://colab.research.google.com/github/fastai/fastbook/blob/master/11_midlevel_data.ipynb) | [Chapter 12, NLP Deep-Dive](https://colab.research.google.com/github/fastai/fastbook/blob/master/12_nlp_dive.ipynb) | [Chapter 13, Convolutions](https://colab.research.google.com/github/fastai/fastbook/blob/master/13_convolutions.ipynb) | [Chapter 14, Resnet](https://colab.research.google.com/github/fastai/fastbook/blob/master/14_resnet.ipynb) | [Chapter 15, Arch Details](https://colab.research.google.com/github/fastai/fastbook/blob/master/15_arch_details.ipynb) | [Chapter 16, Optimizers and Callbacks](https://colab.research.google.com/github/fastai/fastbook/blob/master/16_accel_sgd.ipynb) | [Chapter 17, Foundations](https://colab.research.google.com/github/fastai/fastbook/blob/master/17_foundations.ipynb) | [Chapter 18, GradCAM](https://colab.research.google.com/github/fastai/fastbook/blob/master/18_CAM.ipynb) | [Chapter 19, Learner](https://colab.research.google.com/github/fastai/fastbook/blob/master/19_learner.ipynb) | [Chapter 20, conclusion](https://colab.research.google.com/github/fastai/fastbook/blob/master/20_conclusion.ipynb) ## Contributions If you make any pull requests to this repo, then you are assigning copyright of that work to Jeremy Howard and Sylvain Gugger. (Additionally, if you are making small edits to spelling or text, please specify the name of the file and a very brief description of what you're fixing. It's difficult for reviewers to know which corrections have already been made. Thank you.) ## Citations If you wish to cite the book, you may use the following: ``` @book{howard2020deep, title={Deep Learning for Coders with Fastai and Pytorch: AI Applications Without a PhD}, author={Howard, J. and Gugger, S.}, isbn={9781492045526}, url={https://books.google.no/books?id=xd6LxgEACAAJ}, year={2020}, publisher={O'Reilly Media, Incorporated} } ```
3,170
Python framework for Telegram Bot API
# telepot - Python framework for Telegram Bot API ## I am no longer maintaining this library. Thanks for considering telepot. ### [Introduction »](http://telepot.readthedocs.io/en/latest/) ### [Reference »](http://telepot.readthedocs.io/en/latest/reference.html) ### [Examples »](https://github.com/nickoala/telepot/tree/master/examples) ### [Changelog »](https://github.com/nickoala/telepot/blob/master/CHANGELOG.md)
3,171
Code for A Programmer's Introduction to Mathematics
# A Programmer's Introduction to Mathematics [![CircleCI](https://dl.circleci.com/status-badge/img/gh/pim-book/programmers-introduction-to-mathematics/tree/master.svg?style=shield)](https://dl.circleci.com/status-badge/redirect/gh/pim-book/programmers-introduction-to-mathematics/tree/master) [![Coverage Status](https://coveralls.io/repos/github/pim-book/programmers-introduction-to-mathematics/badge.svg?branch=master)](https://coveralls.io/github/pim-book/programmers-introduction-to-mathematics?branch=master) [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/pim-book/programmers-introduction-to-mathematics.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/pim-book/programmers-introduction-to-mathematics/context:python) This repository contains the code implementing the applications from each chapter of [A Programmer's Introduction to Mathematics](https://pimbook.org). All code is written in Python 3.x. Feel free to submit a pull request if you find a bug. To install the requirements and run the examples, using pip and virtualenv (Python's standard packaging tools): ``` virtualenv -p python3 venv source venv/bin/activate pip install -r requirements.txt ``` To run the test suite: ``` pytest # with code coverage pytest --cov-report html:cov_html --cov-report annotate:cov_annotate --cov ``` ## Docker To build and run the code in the repository with docker, run ``` docker build -t pimbook -f Dockerfile . docker run -it --name pimbook pimbook:latest ```
3,172
High-performance TensorFlow library for quantitative finance.
# TF Quant Finance: TensorFlow based Quant Finance Library [![Build Status](https://storage.googleapis.com/tf-quant-finance-build-result/status.svg?)](https://storage.googleapis.com/tf-quant-finance-build-result/logs.txt) ## Table of contents 1. [Introduction](#introduction) 2. [Installation](#installation) 3. [TensorFlow training](#tensorflow-training) 4. [Development roadmap](#development-roadmap) 5. [Examples](#examples) 6. [Contributing](#contributing) 7. [Development](#development) 8. [Community](#community) 9. [Disclaimers](#disclaimers) 10. [License](#license) ## Introduction This library provides high-performance components leveraging the hardware acceleration support and automatic differentiation of TensorFlow. The library will provide TensorFlow support for foundational mathematical methods, mid-level methods, and specific pricing models. The coverage is being expanded over the next few months. The library is structured along three tiers: 1. **Foundational methods**. Core mathematical methods - optimisation, interpolation, root finders, linear algebra, random and quasi-random number generation, etc. 2. **Mid-level methods**. ODE & PDE solvers, Ito process framework, Diffusion Path Generators, Copula samplers etc. 3. **Pricing methods and other quant finance specific utilities**. Specific Pricing models (e.g., Local Vol (LV), Stochastic Vol (SV), Stochastic Local Vol (SLV), Hull-White (HW)) and their calibration. Rate curve building, payoff descriptions, and schedule generation. We aim for the library components to be easily accessible at each level. Each layer will be accompanied by many examples that can run independently of higher-level components. ## Installation The easiest way to get started with the library is via the pip package. Note that the library requires Python 3.7 and Tensorflow >= 2.7. First, please install the most recent version of TensorFlow by following the [TensorFlow installation instructions](https://tensorflow.org/install). For example, you could install TensorFlow ```sh pip3 install --upgrade tensorflow ``` Then run ```sh pip3 install --upgrade tf-quant-finance ``` You maybe also have to use the option ```--user```. ## TensorFlow training If you are not familiar with TensorFlow, an excellent place to get started is with the following self-study introduction to TensorFlow notebooks: * [Introduction to TensorFlow Part 1 - Basics](https://colab.research.google.com/github/google/tf-quant-finance/blob/master/tf_quant_finance/examples/jupyter_notebooks/Introduction_to_TensorFlow_Part_1_-_Basics.ipynb). * [Introduction to TensorFlow Part 2 - Debugging and Control Flow](https://colab.research.google.com/github/google/tf-quant-finance/blob/master/tf_quant_finance/examples/jupyter_notebooks/Introduction_to_TensorFlow_Part_2_-_Debugging_and_Control_Flow.ipynb). * [Introduction to TensorFlow Part 3 - Advanced Tensor Manipulation](https://colab.research.google.com/github/google/tf-quant-finance/blob/master/tf_quant_finance/examples/jupyter_notebooks/Introduction_to_TensorFlow_Part_3_-_Advanced_Tensor_Manipulation.ipynb). ## Development roadmap We are working on expanding the coverage of the library. Areas under active development are: * Ito Processes: Framework for defining [Ito processes](https://en.wikipedia.org/wiki/It%C3%B4_calculus#It%C3%B4_processes). Includes methods for sampling paths from a process and for solving the associated backward Kolmogorov equation. * Implementation of the following specific processes/models: * Brownian Motion * Geometric Brownian Motion * Ornstein-Uhlenbeck * One-Factor Hull-White model * Heston model * Local volatility model. * Quadratic Local Vol model. * SABR model * Copulas: Support for defining and sampling from copulas. * Model Calibration: * Dupire local vol calibration. * SABR model calibration. * Rate curve fitting: Hagan-West algorithm for yield curve bootstrapping and the Monotone Convex interpolation scheme. * Support for dates, day-count conventions, holidays, etc. ## Examples See [`tf_quant_finance/examples/`](https://github.com/google/tf-quant-finance/tree/master/tf_quant_finance/examples) for end-to-end examples. It includes tutorial notebooks such as: * [American Option pricing under the Black-Scholes model](https://colab.research.google.com/github/google/tf-quant-finance/blob/master/tf_quant_finance/examples/jupyter_notebooks/American_Option_Black_Scholes.ipynb) * [Monte Carlo via Euler Scheme](https://colab.research.google.com/github/google/tf-quant-finance/blob/master/tf_quant_finance/examples/jupyter_notebooks/Monte_Carlo_Euler_Scheme.ipynb) * [Black Scholes: Price and Implied Vol](https://colab.research.google.com/github/google/tf-quant-finance/blob/master/tf_quant_finance/examples/jupyter_notebooks/Black_Scholes_Price_and_Implied_Vol.ipynb) * [Forward and Backward mode gradients in TFF](https://colab.research.google.com/github/google/tf-quant-finance/blob/master/tf_quant_finance/examples/jupyter_notebooks/Forward_Backward_Diff.ipynb) * [Root search using Brent's method](https://colab.research.google.com/github/google/tf-quant-finance/blob/master/tf_quant_finance/examples/jupyter_notebooks/Root_Search.ipynb) * [Optimization](https://colab.research.google.com/github/google/tf-quant-finance/blob/master/tf_quant_finance/examples/jupyter_notebooks/Optimization.ipynb) * [Swap Curve Fitting](https://colab.research.google.com/github/google/tf-quant-finance/blob/master/tf_quant_finance/examples/jupyter_notebooks/Swap_Curve_Fitting.ipynb) * [Vectorization and XLA compilation](https://colab.research.google.com/github/google/tf-quant-finance/blob/master/tf_quant_finance/examples/jupyter_notebooks/Vectorization_and_XLA_compilation.ipynb) The above links will open Jupyter Notebooks in Colab. ## Contributing We're eager to collaborate with you! See [CONTRIBUTING.md](CONTRIBUTING.md) for a guide on how to contribute. This project adheres to TensorFlow's code of conduct. By participating, you are expected to uphold this code. ## Development This section is for developers who want to contribute code to the library. If you are only interested in using the library, please follow the instructions in the [Installation](#installation) section. ### Development dependencies This library has the following dependencies: 1. Bazel 2. Python 3 (Bazel uses Python 3 by default) 3. TensorFlow version >= 2.7 4. TensorFlow Probability version between v0.11.0 and v0.12.1 5. Numpy version 1.21 or higher 6. Attrs 7. Dataclasses (not needed if your Python version >= 3.7) This library requires the [Bazel](https://bazel.build/) build system. Please follow the [Bazel installation instructions](https://docs.bazel.build/versions/master/install.html) for your platform. You can install TensorFlow and related dependencies using the ```pip3 install``` command: ```sh pip3 install --upgrade tf-nightly tensorflow-probability==0.12.1 numpy==1.21 attrs dataclasses ``` ### Commonly used commands Clone the GitHub repository: ```sh git clone https://github.com/google/tf-quant-finance.git ``` After you run ```sh cd tf_quant_finance ``` you can execute tests using the ```bazel test``` command. For example, ```sh bazel test tf_quant_finance/math/random_ops/sobol:sobol_test ``` will run tests in [sobol_test.py](https://github.com/google/tf-quant-finance/blob/master/tf_quant_finance/math/random_ops/sobol/sobol_test.py) . Tests run using Python version 3. Please make sure that you can run ```import tensorflow``` in the Python 3 shell. Otherwise, tests might fail. ### Building a custom pip package The following commands will build custom pip package from source and install it: ```sh # sudo apt-get install bazel git python python-pip rsync # For Ubuntu. git clone https://github.com/google/tf-quant-finance.git cd tf-quant-finance bazel build :build_pip_pkg ./bazel-bin/build_pip_pkg artifacts pip install --user --upgrade artifacts/*.whl ``` ## Community 1. [GitHub repository](https://github.com/google/tf-quant-finance): Report bugs or make feature requests. 2. [TensorFlow Blog](https://blog.tensorflow.org/): Stay up to date on content from the TensorFlow team and best articles from the community. 3. [email protected]: Open mailing list for discussion and questions of this library. 4. TensorFlow Probability: This library will leverage methods from [TensorFlow Probability](https://www.tensorflow.org/probability) (TFP). ## Disclaimers Google does not officially support this product. This library is under active development, and interfaces may change at any time. ## License This library is licensed under the Apache 2 license (see [LICENSE](LICENSE)). This library uses Sobol primitive polynomials and initial direction numbers which are licensed under the BSD license.
3,173
common data analysis and machine learning tasks using python
# Python Data Science Tutorials - This repo contains a curated list of Python tutorials for Data Science, NLP and Machine Learning. - [**Curated list of R tutorials for Data Science, NLP and Machine Learning**](https://github.com/ujjwalkarn/DataScienceR). - [Comprehensive topic-wise list of Machine Learning and Deep Learning tutorials, codes, articles and other resources](https://github.com/ujjwalkarn/Machine-Learning-Tutorials/blob/master/README.md). ## The Python Language - [Python 3 in one picture](https://fossbytes.com/wp-content/uploads/2015/09/python-3-in-one-pic.png) - [**Awesome Python**](https://github.com/vinta/awesome-python) - [**Jargon from the functional programming world in simple terms!**](https://github.com/hemanth/functional-programming-jargon) - [**Dive Into Python**](http://www.diveintopython.net/index.html) - [Learn Python Wiki on Reddit](https://www.reddit.com/r/learnpython/wiki/index) - [Learn 90% of Python in 90 Minutes](https://www.slideshare.net/MattHarrison4/learn-90) - [Highest Voted Python Questions](http://stackoverflow.com/questions/tagged/python?sort=votes&pageSize=50) - [Python Basic Concepts](https://github.com/gumption/Python_for_Data_Science/blob/master/3_Python_Basic_Concepts.ipynb) - [Quick Reference to Python](http://www.dataschool.io/python-quick-reference/) - [The Elements of Python Style](https://github.com/amontalenti/elements-of-python-style) - [**What does the yield keyword do in Python?**](http://stackoverflow.com/questions/231767/what-does-the-yield-keyword-do-in-python) - [Parsing values from a JSON file in Python](http://stackoverflow.com/questions/2835559/parsing-values-from-a-json-file-in-python) - [**Python Quora FAQs**](https://www.quora.com/topic/Python-programming-language-1) - [time-complexity of various operations - list/dict - in current CPython](https://wiki.python.org/moin/TimeComplexity) - Scripting in Python - [Python Scripting Tutorial](http://www.dreamsyssoft.com/python-scripting-tutorial/intro-tutorial.php) - [Scripting with Python](https://www.schrodinger.com//AcrobatFile.php?type=supportdocs&type2=&ident=404) - [**Can I use Python as a bash replacement?**](http://stackoverflow.com/questions/209470/can-i-use-python-as-a-bash-replacement) ## Useful Online Courses - [Learn Python (Codecademy)](https://www.codecademy.com/learn/python#) - [Free Interactive Course: Intro to Python for Data Science (DataCamp)](https://www.datacamp.com/courses/intro-to-python-for-data-science) - [Introduction to Computer Science and Programming Using Python (MIT)](https://www.edx.org/course/introduction-computer-science-mitx-6-00-1x-11) - [Python for Everybody](https://www.coursera.org/learn/python) - [Python Programming Essentials](https://www.coursera.org/learn/python-programming) ## Data Science with Python - [**Data Science IPython Notebooks**](https://github.com/donnemartin/data-science-ipython-notebooks) - [Awesome Python - Data Analysis](https://github.com/vinta/awesome-python#science-and-data-analysis) - Statistics - [Statistics and Data Science](https://github.com/svaksha/pythonidae/blob/master/Statistics.md) - [**An Introduction to Scientific Python (and a Bit of the Maths Behind It) – NumPy**](http://www.kdnuggets.com/2016/06/intro-scientific-python-numpy.html) - [Data Analysis and IPython Notebooks](https://github.com/kirang89/pycrumbs#data-analysis) - [Python for Data Science: Basic Concepts](https://github.com/gumption/Python_for_Data_Science/blob/master/2_Data_Science_Basic_Concepts.ipynb) - [Pycon India 2015 Notes](http://www.analyticsvidhya.com/blog/2015/10/notes-impressions-experience-excitement-pycon-india-2015/) - [**5 important Python Data Science advancements of 2015**](https://medium.com/@elgehelge/the-5-most-important-python-data-science-advancements-of-2015-a136482da89b#.sp2c1la9z) - [Data Exploration with Numpy cheat sheet](http://www.analyticsvidhya.com/blog/2015/07/11-steps-perform-data-analysis-pandas-python) - [Querying Craiglist with Python](http://chrisholdgraf.com/querying-craigslist-with-python/?imm_mid=0d8940&cmp=em-data-na-na-newsltr_20150916) - [**An introduction to Numpy and Scipy**](http://www.engr.ucsb.edu/~shell/che210d/numpy.pdf) - [Create NBA Shot Charts](http://savvastjortjoglou.com/nba-shot-sharts.html) - [PythoR- Python meets R](http://nipunbatra.github.io/2016/01/pythor/) - [**How do I learn data analysis with Python?**](https://www.quora.com/How-do-I-learn-data-analysis-with-Python?redirected_qid=2464720) - [What are some interesting things to do with Python?](https://www.quora.com/Python-programming-language-What-are-some-interesting-things-to-do-with-Python?redirected_qid=2324227) - [**Which is better for data analysis: R or Python?**](https://www.quora.com/Which-is-better-for-data-analysis-R-or-Python) - [**Web scraping in Python**](https://github.com/ujjwalkarn/Web-Scraping) - [The Guide to Learning Python for Data Science](http://www.datasciencecentral.com/profiles/blogs/the-guide-to-learning-python-for-data-science-2) - [Python For Data Science - A Cheat Sheet For Beginners](https://www.datacamp.com/community/tutorials/python-data-science-cheat-sheet-basics) - [Top voted Python data science questions](http://datascience.stackexchange.com/questions/tagged/python) - [Awesome Python - Data Visualization](https://github.com/vinta/awesome-python#data-visualization) - [Awesome Python - Map Reduce](https://github.com/vinta/awesome-python#mapreduce) ## Pandas Library in Python - [Intro to pandas data structures](http://www.gregreda.com/2013/10/26/intro-to-pandas-data-structures/) - [Useful Pandas Cheatsheet](https://github.com/pandas-dev/pandas/blob/master/doc/cheatsheet/Pandas_Cheat_Sheet.pdf) - [An Introduction to Scientific Python – Pandas](http://www.datadependence.com/2016/05/scientific-python-pandas/) - [10 minutes to Pandas](http://pandas.pydata.org/pandas-docs/stable/10min.html) - [Useful Pandas Snippets](http://www.swegler.com/becky/blog/2014/08/06/useful-pandas-snippets/) - [Timeseries analysis using Pandas](http://nbviewer.jupyter.org/github/twiecki/financial-analysis-python-tutorial/blob/master/1.%20Pandas%20Basics.ipynb) - [Pandas Exercises - Practice your Pandas skills](https://github.com/guipsamora/pandas_exercises) - [Grouping in Pandas](http://blog.yhat.com/posts/grouping-pandas.html) - [**“Large data” work flows using pandas**](http://stackoverflow.com/questions/14262433/large-data-work-flows-using-pandas) - [Easier data analysis with pandas (video series)](http://www.dataschool.io/easier-data-analysis-with-pandas/) - [Pandas Basics Cheat Sheet](https://www.datacamp.com/community/blog/python-pandas-cheat-sheet) - Quick Operations on a Pandas DataFrame - [Renaming Columns in Pandas](http://stackoverflow.com/questions/11346283/renaming-columns-in-pandas) ([video](https://www.youtube.com/watch?v=0uBirYFhizE&list=PL5-da3qGB5ICCsgW1MxlZ0Hq8LL5U3u9y&index=5)) - [Deleting Columns from pandas DataFrame](http://stackoverflow.com/questions/13411544/delete-column-from-pandas-dataframe) ([video](https://www.youtube.com/watch?v=gnUKkS964WQ&list=PL5-da3qGB5ICCsgW1MxlZ0Hq8LL5U3u9y&index=6)) - [Adding new Column to existing DataFrame](http://stackoverflow.com/questions/12555323/adding-new-column-to-existing-dataframe-in-python-pandas) - [Add one Row in a pandas.DataFrame](http://stackoverflow.com/questions/10715965/add-one-row-in-a-pandas-dataframe) - [Changing the order of DataFrame Columns](http://stackoverflow.com/questions/13148429/how-to-change-the-order-of-dataframe-columns) - [Changing data type of Columns](http://stackoverflow.com/questions/15891038/pandas-change-data-type-of-columns) ([video](https://www.youtube.com/watch?v=V0AWyzVMf54&list=PL5-da3qGB5ICCsgW1MxlZ0Hq8LL5U3u9y&index=13)) - [Getting a list of the column headers from a DataFrame](http://stackoverflow.com/questions/19482970/get-list-from-pandas-dataframe-column-headers) - [Converting list of dictionaries to Dataframe](http://stackoverflow.com/questions/20638006/convert-list-of-dictionaries-to-dataframe) - [Getting row count of pandas DataFrame](http://stackoverflow.com/questions/15943769/how-to-get-row-count-of-pandas-dataframe) - [Most efficient way to loop through DataFrames](http://stackoverflow.com/questions/7837722/what-is-the-most-efficient-way-to-loop-through-dataframes-with-pandas) - [Deleting DataFrame row based on column value](http://stackoverflow.com/questions/18172851/deleting-dataframe-row-in-pandas-based-on-column-value) - [Dropping a list of rows from Pandas DataFrame](http://stackoverflow.com/questions/14661701/how-to-drop-a-list-of-rows-from-pandas-dataframe) - [Sorting a DataFrame or a single column](https://www.youtube.com/watch?v=zY4doF6xSxY&list=PL5-da3qGB5ICCsgW1MxlZ0Hq8LL5U3u9y&index=7) - [Filtering DataFrame rows by column value](https://www.youtube.com/watch?v=2AFGPdNn4FM&list=PL5-da3qGB5ICCsgW1MxlZ0Hq8LL5U3u9y&index=8) - [Filtering DataFrame rows using multiple criteria](https://www.youtube.com/watch?v=YPItfQ87qjM&list=PL5-da3qGB5ICCsgW1MxlZ0Hq8LL5U3u9y&index=9) - [Dropping all non-numeric columns from a DataFrame](https://youtu.be/B-r9VuK80dk?t=4m31s) - [Counting and removing missing values](https://www.youtube.com/watch?v=fCMrO_VzeL8&list=PL5-da3qGB5ICCsgW1MxlZ0Hq8LL5U3u9y&index=16) - [Selecting multiple rows and columns from a DataFrame](https://www.youtube.com/watch?v=xvpNA7bC8cs&list=PL5-da3qGB5ICCsgW1MxlZ0Hq8LL5U3u9y&index=19) - [Reducing the size of a DataFrame](https://www.youtube.com/watch?v=wDYDYGyN_cw&list=PL5-da3qGB5ICCsgW1MxlZ0Hq8LL5U3u9y&index=21) ## Machine Learning with Python - [AI, ML Related List](https://github.com/svaksha/pythonidae/blob/master/AI.md) - [Data Normalization in Python](http://blog.yhat.com/posts/data-normalization-in-python.html) - [**Python Machine Learning Book**](https://github.com/rasbt/python-machine-learning-book) - [Table of Contents and Code Notebooks](https://github.com/rasbt/python-machine-learning-book/blob/master/README.md#table-of-contents-and-code-notebooks) - [Machine Learning with scikit learn](http://www.dataschool.io/machine-learning-with-scikit-learn/) - [Machine Learning Algorithms Cheatsheet](http://www.analyticsvidhya.com/blog/2015/09/full-cheatsheet-machine-learning-algorithms/) - [**How to compute precision, recall, accuracy and f1-score for the multiclass case with scikit learn?**](http://stackoverflow.com/questions/31421413/how-to-compute-precision-recall-accuracy-and-f1-score-for-the-multiclass-case) - [One Hot Encoding for Machine learning in Python](http://stackoverflow.com/questions/17469835/one-hot-encoding-for-machine-learning) - [**Building a (semi) Autonomous Drone with Python**](http://blog.yhat.com/posts/autonomous-droning-with-python.html) - [Awesome Python - Machine Learning](https://github.com/vinta/awesome-python#machine-learning) - Computer Vision - [Awesome Python - Computer Vision](https://github.com/vinta/awesome-python#computer-vision) ## Scikit Learn - [scikit learn on Wikipedia](https://en.wikipedia.org/wiki/Scikit-learn) - [**Introduction to machine learning with scikit-learn**](https://github.com/justmarkham/scikit-learn-videos), [**Videos!**](http://blog.kaggle.com/author/kevin-markham/) - [**A Gentle Introduction to Scikit-Learn: A Python Machine Learning Library**](http://machinelearningmastery.com/a-gentle-introduction-to-scikit-learn-a-python-machine-learning-library/) - [**PyData Seattle 2015 Scikit-learn Tutorial**](https://github.com/jakevdp/sklearn_pydata2015), [sklearn_scipy2013](https://github.com/jakevdp/sklearn_scipy2013) - [SKLEARN BENCHMARKS: A centralized repository to report scikit-learn model performance across a variety of parameter settings and data sets](https://github.com/rhiever/sklearn-benchmarks), [Report results of sklearn benchmarks at openml.org](http://www.openml.org/) - [How to get most informative features for scikit-learn classifiers?](http://stackoverflow.com/questions/11116697/how-to-get-most-informative-features-for-scikit-learn-classifiers) - [**Code example to predict prices of Airbnb vacation rentals, using scikit-learn on Spark**](https://github.com/mapr-demos/spark-sklearn-airbnb-predict) - [**Machine Learning with scikit learn tutorial**](http://amueller.github.io/sklearn_tutorial/) - [Parallel and Large Scale Machine Learning with scikit-learn](https://speakerdeck.com/ogrisel/parallel-and-large-scale-machine-learning-with-scikit-learn), [Meetup](http://datasciencelondon.org/machine-learning-python-scikit-learn-ipython-dsldn-data-science-london-kaggle/) - [Saving classifier to disk in scikit-learn](http://stackoverflow.com/questions/10592605/save-classifier-to-disk-in-scikit-learn) ## Linear Regression in Python - [Linear Regression in Python](http://nbviewer.ipython.org/github/justmarkham/DAT4/blob/master/notebooks/08_linear_regression.ipynb), [Blog Post](http://www.dataschool.io/linear-regression-in-python/) - [Linear Regression using Scikit Learn](http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LinearRegression.html) - [A friendly introduction to linear regression (using Python)](http://www.dataschool.io/linear-regression-in-python/) - [Linear Regression Example in Python](http://scipy-cookbook.readthedocs.io/items/LinearRegression.html) - [Regression analysis using Python StatsModels package](http://www.turingfinance.com/regression-analysis-using-python-statsmodels-and-quandl/) - [Run an OLS regression with Pandas Data Frame](http://stackoverflow.com/questions/19991445/run-an-ols-regression-with-pandas-data-frame) ## Logistic Regression in Python - [Logistic Regression with scikit learn](http://www.dataschool.io/logistic-regression-in-python-using-scikit-learn/) - [Logistic Regression in Python](http://blog.yhat.com/posts/logistic-regression-and-python.html) - [Implementing the softmax function in Python](http://stackoverflow.com/questions/34968722/softmax-function-python) - [**What is the inverse of regularization strength in Logistic Regression? How should it affect my code?**](http://stackoverflow.com/questions/22851316/what-is-the-inverse-of-regularization-strength-in-logistic-regression-how-shoul) - [The Yhat Blog: Logistic Regression in Python](http://blog.yhat.com/posts/logistic-regression-and-python.html) - [Example of logistic regression in Python using scikit-learn](http://www.dataschool.io/logistic-regression-in-python-using-scikit-learn/) - [TUTORIAL ON LOGISTIC REGRESSION AND OPTIMIZATION IN PYTHON](https://learningwithdata.wordpress.com/2015/04/30/tutorial-on-logistic-regression-and-optimization-in-python/) - [Using Logistic Regression in Python for Data Science](http://www.dummies.com/how-to/content/using-logistic-regression-in-python-for-data-scien.html) ## k Nearest Neighbours in Python - [A good tutorial on implementing K Nearest Neighbors using scikit learn](http://scikit-learn.org/stable/modules/neighbors.html) - [**Is it possible to specify your own distance function using scikit-learn K-Means Clustering?**](http://stackoverflow.com/questions/5529625/is-it-possible-to-specify-your-own-distance-function-using-scikit-learn-k-means) - [Tutorial To Implement k-Nearest Neighbors in Python From Scratch](http://machinelearningmastery.com/tutorial-to-implement-k-nearest-neighbors-in-python-from-scratch/) - [Implementing your own k-nearest neighbour algorithm using Python](https://blog.cambridgecoding.com/2016/01/16/machine-learning-under-the-hood-writing-your-own-k-nearest-neighbour-algorithm/) - [knn Python implementation on StackOverflow](http://stackoverflow.com/questions/5565935/k-nearest-neighbour-in-python) - [kNN with big sparse matrices in Python](http://stackoverflow.com/questions/20333092/knn-with-big-sparse-matrices-in-python) - [Sklearn kNN usage with a user defined metric](http://stackoverflow.com/questions/21052509/sklearn-knn-usage-with-a-user-defined-metric) ## Neural Networks in Python - [Implementing a Neural Network from scratch in Python](http://www.wildml.com/2015/09/implementing-a-neural-network-from-scratch/), [Code](https://github.com/dennybritz/nn-from-scratch) - [A Neural Network in 11 lines of Python](http://iamtrask.github.io/2015/07/12/basic-python-network/) - [Speeding up your Neural Network with Theano and the gpu](http://www.wildml.com/2015/09/speeding-up-your-neural-network-with-theano-and-the-gpu/), [Code](https://github.com/dennybritz/nn-theano) - [What is the best neural network library for Python?](https://www.quora.com/What-is-the-best-neural-network-library-for-Python) - [Recurrent Neural Net Tutorial in Python Part 1](http://www.wildml.com/2015/09/recurrent-neural-networks-tutorial-part-1-introduction-to-rnns/), [Part 2](http://www.wildml.com/2015/09/recurrent-neural-networks-tutorial-part-2-implementing-a-language-model-rnn-with-python-numpy-and-theano/), [Code](https://github.com/dennybritz/rnn-tutorial-rnnlm/) - [PyBrain: modular Machine Learning Library for Python](http://pybrain.org/) - [Neural Networks Tutorial – a Pathway to Deep Learning](http://www.adventuresinmachinelearning.com/neural-networks-tutorial/) ## Decision Trees in Python - [How to extract the decision rules from scikit-learn decision-tree?](http://stackoverflow.com/questions/20224526/how-to-extract-the-decision-rules-from-scikit-learn-decision-tree) - [**How do I find which attributes my tree splits on, when using scikit-learn?**](http://stackoverflow.com/questions/20156951/how-do-i-find-which-attributes-my-tree-splits-on-when-using-scikit-learn) - [Quora: What is a good Python library for decision trees?](https://www.quora.com/What-is-a-good-Python-library-for-decision-trees), [StackOverflow](http://stackoverflow.com/questions/3127922/what-is-a-good-python-library-for-decision-trees) - [Building Decision Trees in Python](http://www.onlamp.com/pub/a/python/2006/02/09/ai_decision_trees.html?page=1) - [Pure Python Decision Trees](http://kldavenport.com/pure-python-decision-trees/) - [Building a decision tree from scratch in Python - a beginner's tutorial](http://www.patricklamle.com/Tutorials/Decision%20tree%20python/tuto_decision%20tree.html) - [Using Python to Build and Use a Simple Decision Tree Classifier](https://github.com/gumption/Python_for_Data_Science/blob/master/4_Python_Simple_Decision_Tree.ipynb) - [Decision trees in python with scikit-learn and pandas](http://chrisstrelioff.ws/sandbox/2015/06/08/decision_trees_in_python_with_scikit_learn_and_pandas.html) - [Code for simple decision tree in Python](https://github.com/gumption/Python_for_Data_Science/blob/master/simple_decision_tree.py) - [Lesson notebook: Regression and Classification Trees](http://nbviewer.jupyter.org/github/justmarkham/DAT8/blob/master/notebooks/17_decision_trees.ipynb) - [Discover structure behind data with decision trees](http://vooban.com/en/tips-articles-geek-stuff/discover-structure-behind-data-with-decision-trees/) ## Random Forest with Python - [Getting Started with Random Forests: Titanic Competition on Kaggle](https://www.kaggle.com/c/titanic/details/getting-started-with-random-forests), [Python sample code](https://www.kaggle.com/c/digit-recognizer/forums/t/2299/getting-started-python-sample-code-random-forest) - [RandomForestClassifier vs ExtraTreesClassifier in scikit learn](http://stackoverflow.com/questions/22409855/randomforestclassifier-vs-extratreesclassifier-in-scikit-learn) - [Powerful Guide to learn Random Forest](http://www.analyticsvidhya.com/blog/2015/09/random-forest-algorithm-multiple-challenges/) - [How are Feature Importances in RandomForestClassifier determined?](http://stackoverflow.com/questions/15810339/how-are-feature-importances-in-randomforestclassifier-determined) - [Random forest interpretation with scikit-learn](http://blog.datadive.net/random-forest-interpretation-with-scikit-learn/) - [Random Forests in Python Tutorial](http://blog.yhat.com/posts/random-forests-in-python.html) - [Unbalanced classification using RandomForestClassifier in sklearn](http://stackoverflow.com/questions/20082674/unbalanced-classification-using-randomforestclassifier-in-sklearn) - [Random Forest with categorical features in sklearn](http://stackoverflow.com/questions/24715230/random-forest-with-categorical-features-in-sklearn) - [How to output RandomForest Classifier from python?](http://stackoverflow.com/questions/23000693/how-to-output-randomforest-classifier-from-python) - [Lesson notebook: Ensembling, Bagging, and Random Forests](http://nbviewer.jupyter.org/github/justmarkham/DAT8/blob/master/notebooks/18_ensembling.ipynb) ## Support Vector Machine in Python - [Fastest SVM implementation usable in Python](http://stackoverflow.com/questions/9299346/fastest-svm-implementation-usable-in-python) - [An example using python bindings for SVM library, LIBSVM](http://stackoverflow.com/questions/4214868/an-example-using-python-bindings-for-svm-library-libsvm) - [What is the best SVM library usable from Python?](https://www.quora.com/What-is-the-best-SVM-library-usable-from-Python) - [How does sklearn.svm.svc's function predict_proba() work internally?](http://stackoverflow.com/questions/15111408/how-does-sklearn-svm-svcs-function-predict-proba-work-internally) - [Support vector machine in Python using libsvm example of features](http://stackoverflow.com/questions/30991592/support-vector-machine-in-python-using-libsvm-example-of-features) - [Linear SVC Machine learning SVM example with Python](https://pythonprogramming.net/linear-svc-example-scikit-learn-svm-python/) - [Understanding Support Vector Machine algorithm from examples (along with code)](http://www.analyticsvidhya.com/blog/2015/10/understaing-support-vector-machine-example-code/) ## NLP / Text Mining in Python - [**NLP with Python ORiley Book**](http://www.nltk.org/book_1ed/), [Python 3](http://www.nltk.org/book/) - [Awesome Python - NLP](https://github.com/vinta/awesome-python#natural-language-processing) - [Awesome Python - Text Processing](https://github.com/vinta/awesome-python#text-processing) - [Text Analytics : Intro and Tokenization](http://a4analytics.blogspot.sg/2015/03/text-mining-post-1.html) - [NLTK BOOK](http://www.nltk.org/book/ch01.html) - [Elegant N-gram Generation in Python](http://locallyoptimal.com/blog/2013/01/20/elegant-n-gram-generation-in-python/) - [**Computing N Grams using Python**](http://stackoverflow.com/questions/13423919/computing-n-grams-using-python) - [N-grams: Explanation + 2 applications](http://stackoverflow.com/questions/1032288/n-grams-explanation-2-applications) - [NLP Tutorial with Python](http://www.datasciencecentral.com/profiles/blogs/python-nlp-tools) ## Sentiment Analysis with Python - [A Comprehensive Guide to Sentiment Analysis](https://monkeylearn.com/sentiment-analysis/) - [Twitter-Sentiment-Analysis](https://github.com/ujjwalkarn/Twitter-Sentiment-Analysis) - [Basic Sentiment Analysis with Python](http://fjavieralba.com/basic-sentiment-analysis-with-python.html) - [What is the best way to do Sentiment Analysis with Python?](https://www.quora.com/What-is-the-best-way-to-do-Sentiment-Analysis-with-Python-1) - [How to Calculate Twitter Sentiment Using AlchemyAPI with Python](http://www.alchemyapi.com/developers/getting-started-guide/twitter-sentiment-analysis) - [Second Try: Sentiment Analysis in Python](http://andybromberg.com/sentiment-analysis-python/) - [Sentiment Analysis with Python NLTK Text Classification](http://text-processing.com/demo/sentiment/) - Codes and Explanation - [**Sentiment Analysis with bag-of-words**](http://ataspinar.com/2016/01/21/sentiment-analysis-with-bag-of-words/) - [**Sentiment Analysis with Naive Bayes**](http://ataspinar.com/2016/02/15/sentiment-analysis-with-the-naive-bayes-classifier/) ## Pickle: convert a python object into a character stream - [Python serialization - Why pickle?](http://stackoverflow.com/questions/8968884/python-serialization-why-pickle) - [**Serializing Python Objects**](http://www.diveinto.org/python3/serializing.html), [**Binary Files**](http://www.diveinto.org/python3/files.html#binary) - [What is Pickle in python ?](https://pythontips.com/2013/08/02/what-is-pickle-in-python/) - [How to cPickle dump and load separate dictionaries to the same file?](http://stackoverflow.com/questions/11641493/how-to-cpickle-dump-and-load-separate-dictionaries-to-the-same-file) - [**Understanding Pickling in Python**](http://stackoverflow.com/questions/7501947/understanding-pickling-in-python) ## AutoML - [TPOT: A Python tool for automating data science](http://www.randalolson.com/2016/05/08/tpot-a-python-tool-for-automating-data-science/), [GitHub repo](https://github.com/rhiever/tpot) ## Regex Related - [RegExr](http://regexr.com/) - [Regex101](https://regex101.com/) - [Pythex](http://pythex.org/) - [How to use Regular Expressions (Regex) in Microsoft Excel both in-cell and loops](http://stackoverflow.com/questions/22542834/how-to-use-regular-expressions-regex-in-microsoft-excel-both-in-cell-and-loops) - [Advanced Filters: Excel’s Amazing Alternative To Regex](http://searchengineland.com/advanced-filters-excels-amazing-alternative-to-regex-143680) ## Shell Scripting - [**Calling an external command in Python**](http://stackoverflow.com/questions/89228/calling-an-external-command-in-python) - [**Running shell command from Python and capturing the output**](http://stackoverflow.com/questions/4760215/running-shell-command-from-python-and-capturing-the-output) - [**Can I use Python as a bash replacement?**](http://stackoverflow.com/questions/209470/can-i-use-python-as-a-bash-replacement) - [Python Scripts as a Replacement for Bash Utility Scripts](http://www.linuxjournal.com/content/python-scripts-replacement-bash-utility-scripts) - [How to Write a Shell Script using Bash Shell in Ubuntu](https://www.youtube.com/watch?v=He-5BpUGSag) - Red Hat Magazine | Python for Bash scripters: A well-kept secret - [Embed bash in python](http://stackoverflow.com/questions/2651874/embed-bash-in-python) - [Bash2py: A Bash to Python Translator](https://cs.uwaterloo.ca/~ijdavis/bash2py-final.pdf) - [Beginners/BashScripting](https://help.ubuntu.com/community/Beginners/BashScripting) - [The Beginner’s Guide to Shell Scripting: The Basics](http://www.howtogeek.com/67469/the-beginners-guide-to-shell-scripting-the-basics/) - [Linux Shell Scripting Tutorial v1.05r3 A Beginner's handbook](http://www.freeos.com/guides/lsst/) ## Other good lists - [pycrumbs - Bits and bytes of Python from the Internet](https://github.com/kirang89/pycrumbs) - [python github projects - Collect and classify python projects on Github](https://github.com/checkcheckzz/python-github-projects) - [python reference - Useful functions, tutorials, and other Python-related things](https://github.com/rasbt/python_reference) - [pythonidae - Curated decibans of scientific programming resources in Python](https://github.com/svaksha/pythonidae)
3,174
100 Days of ML Coding
# 100-Days-Of-ML-Code 100 Days of Machine Learning Coding as proposed by [Siraj Raval](https://github.com/llSourcell) Get the datasets from [here](https://github.com/Avik-Jain/100-Days-Of-ML-Code/tree/master/datasets) ## Data PreProcessing | Day 1 Check out the code from [here](https://github.com/Avik-Jain/100-Days-Of-ML-Code/blob/master/Code/Day%201_Data%20PreProcessing.md). <p align="center"> <img src="https://github.com/Avik-Jain/100-Days-Of-ML-Code/blob/master/Info-graphs/Day%201.jpg"> </p> ## Simple Linear Regression | Day 2 Check out the code from [here](https://github.com/Avik-Jain/100-Days-Of-ML-Code/blob/master/Code/Day2_Simple_Linear_Regression.md). <p align="center"> <img src="https://github.com/Avik-Jain/100-Days-Of-ML-Code/blob/master/Info-graphs/Day%202.jpg"> </p> ## Multiple Linear Regression | Day 3 Check out the code from [here](https://github.com/Avik-Jain/100-Days-Of-ML-Code/blob/master/Code/Day3_Multiple_Linear_Regression.md). <p align="center"> <img src="https://github.com/Avik-Jain/100-Days-Of-ML-Code/blob/master/Info-graphs/Day%203.jpg"> </p> ## Logistic Regression | Day 4 <p align="center"> <img src="https://github.com/Avik-Jain/100-Days-Of-ML-Code/blob/master/Info-graphs/Day%204.jpg"> </p> ## Logistic Regression | Day 5 Moving forward into #100DaysOfMLCode today I dived into the deeper depth of what Logistic Regression actually is and what is the math involved behind it. Learned how cost function is calculated and then how to apply gradient descent algorithm to cost function to minimize the error in prediction. Due to less time I will now be posting an infographic on alternate days. Also if someone wants to help me out in documentaion of code and already has some experince in the field and knows Markdown for github please contact me on LinkedIn :) . ## Implementing Logistic Regression | Day 6 Check out the Code [here](https://github.com/Avik-Jain/100-Days-Of-ML-Code/blob/master/Code/Day%206%20Logistic%20Regression.md) ## K Nearest Neighbours | Day 7 <p align="center"> <img src="https://github.com/Avik-Jain/100-Days-Of-ML-Code/blob/master/Info-graphs/Day%207.jpg"> </p> ## Math Behind Logistic Regression | Day 8 #100DaysOfMLCode To clear my insights on logistic regression I was searching on the internet for some resource or article and I came across this article (https://towardsdatascience.com/logistic-regression-detailed-overview-46c4da4303bc) by Saishruthi Swaminathan. It gives a detailed description of Logistic Regression. Do check it out. ## Support Vector Machines | Day 9 Got an intution on what SVM is and how it is used to solve Classification problem. ## SVM and KNN | Day 10 Learned more about how SVM works and implementing the K-NN algorithm. ## Implementation of K-NN | Day 11 Implemented the K-NN algorithm for classification. #100DaysOfMLCode Support Vector Machine Infographic is halfway complete. Will update it tomorrow. ## Support Vector Machines | Day 12 <p align="center"> <img src="https://github.com/Avik-Jain/100-Days-Of-ML-Code/blob/master/Info-graphs/Day%2012.jpg"> </p> ## Naive Bayes Classifier | Day 13 Continuing with #100DaysOfMLCode today I went through the Naive Bayes classifier. I am also implementing the SVM in python using scikit-learn. Will update the code soon. ## Implementation of SVM | Day 14 Today I implemented SVM on linearly related data. Used Scikit-Learn library. In Scikit-Learn we have SVC classifier which we use to achieve this task. Will be using kernel-trick on next implementation. Check the code [here](https://github.com/Avik-Jain/100-Days-Of-ML-Code/blob/master/Code/Day%2013%20SVM.md). ## Naive Bayes Classifier and Black Box Machine Learning | Day 15 Learned about different types of naive bayes classifiers. Also started the lectures by [Bloomberg](https://bloomberg.github.io/foml/#home). First one in the playlist was Black Box Machine Learning. It gives the whole overview about prediction functions, feature extraction, learning algorithms, performance evaluation, cross-validation, sample bias, nonstationarity, overfitting, and hyperparameter tuning. ## Implemented SVM using Kernel Trick | Day 16 Using Scikit-Learn library implemented SVM algorithm along with kernel function which maps our data points into higher dimension to find optimal hyperplane. ## Started Deep learning Specialization on Coursera | Day 17 Completed the whole Week 1 and Week 2 on a single day. Learned Logistic regression as Neural Network. ## Deep learning Specialization on Coursera | Day 18 Completed the Course 1 of the deep learning specialization. Implemented a neural net in python. ## The Learning Problem , Professor Yaser Abu-Mostafa | Day 19 Started Lecture 1 of 18 of Caltech's Machine Learning Course - CS 156 by Professor Yaser Abu-Mostafa. It was basically an introduction to the upcoming lectures. He also explained Perceptron Algorithm. ## Started Deep learning Specialization Course 2 | Day 20 Completed the Week 1 of Improving Deep Neural Networks: Hyperparameter tuning, Regularization and Optimization. ## Web Scraping | Day 21 Watched some tutorials on how to do web scraping using Beautiful Soup in order to collect data for building a model. ## Is Learning Feasible? | Day 22 Lecture 2 of 18 of Caltech's Machine Learning Course - CS 156 by Professor Yaser Abu-Mostafa. Learned about Hoeffding Inequality. ## Decision Trees | Day 23 <p align="center"> <img src="https://github.com/Avik-Jain/100-Days-Of-ML-Code/blob/master/Info-graphs/Day%2023.jpg"> </p> ## Introduction To Statistical Learning Theory | Day 24 Lec 3 of Bloomberg ML course introduced some of the core concepts like input space, action space, outcome space, prediction functions, loss functions, and hypothesis spaces. ## Implementing Decision Trees | Day 25 Check the code [here.](https://github.com/Avik-Jain/100-Days-Of-ML-Code/blob/master/Code/Day%2025%20Decision%20Tree.md) ## Jumped To Brush up Linear Algebra | Day 26 Found an amazing [channel](https://www.youtube.com/channel/UCYO_jab_esuFRV4b17AJtAw) on youtube 3Blue1Brown. It has a playlist called Essence of Linear Algebra. Started off by completing 4 videos which gave a complete overview of Vectors, Linear Combinations, Spans, Basis Vectors, Linear Transformations and Matrix Multiplication. Link to the playlist [here.](https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab) ## Jumped To Brush up Linear Algebra | Day 27 Continuing with the playlist completed next 4 videos discussing topics 3D Transformations, Determinants, Inverse Matrix, Column Space, Null Space and Non-Square Matrices. Link to the playlist [here.](https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab) ## Jumped To Brush up Linear Algebra | Day 28 In the playlist of 3Blue1Brown completed another 3 videos from the essence of linear algebra. Topics covered were Dot Product and Cross Product. Link to the playlist [here.](https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab) ## Jumped To Brush up Linear Algebra | Day 29 Completed the whole playlist today, videos 12-14. Really an amazing playlist to refresh the concepts of Linear Algebra. Topics covered were the change of basis, Eigenvectors and Eigenvalues, and Abstract Vector Spaces. Link to the playlist [here.](https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab) ## Essence of calculus | Day 30 Completing the playlist - Essence of Linear Algebra by 3blue1brown a suggestion popped up by youtube regarding a series of videos again by the same channel 3Blue1Brown. Being already impressed by the previous series on Linear algebra I dived straight into it. Completed about 5 videos on topics such as Derivatives, Chain Rule, Product Rule, and derivative of exponential. Link to the playlist [here.](https://www.youtube.com/playlist?list=PLZHQObOWTQDMsr9K-rj53DwVRMYO3t5Yr) ## Essence of calculus | Day 31 Watched 2 Videos on topic Implicit Diffrentiation and Limits from the playlist Essence of Calculus. Link to the playlist [here.](https://www.youtube.com/playlist?list=PLZHQObOWTQDMsr9K-rj53DwVRMYO3t5Yr) ## Essence of calculus | Day 32 Watched the remaining 4 videos covering topics Like Integration and Higher order derivatives. Link to the playlist [here.](https://www.youtube.com/playlist?list=PLZHQObOWTQDMsr9K-rj53DwVRMYO3t5Yr) ## Random Forests | Day 33 <p align="center"> <img src="https://github.com/Avik-Jain/100-Days-Of-ML-Code/blob/master/Info-graphs/Day%2033.jpg"> </p> ## Implementing Random Forests | Day 34 Check the code [here.](https://github.com/Avik-Jain/100-Days-Of-ML-Code/blob/master/Code/Day%2034%20Random_Forest.md) ## But what *is* a Neural Network? | Deep learning, chapter 1 | Day 35 An Amazing Video on neural networks by 3Blue1Brown youtube channel. This video gives a good understanding of Neural Networks and uses Handwritten digit dataset to explain the concept. Link To the [video.](https://www.youtube.com/watch?v=aircAruvnKk&t=7s) ## Gradient descent, how neural networks learn | Deep learning, chapter 2 | Day 36 Part two of neural networks by 3Blue1Brown youtube channel. This video explains the concepts of Gradient Descent in an interesting way. 169 must watch and highly recommended. Link To the [video.](https://www.youtube.com/watch?v=IHZwWFHWa-w) ## What is backpropagation really doing? | Deep learning, chapter 3 | Day 37 Part three of neural networks by 3Blue1Brown youtube channel. This video mostly discusses the partial derivatives and backpropagation. Link To the [video.](https://www.youtube.com/watch?v=Ilg3gGewQ5U) ## Backpropagation calculus | Deep learning, chapter 4 | Day 38 Part four of neural networks by 3Blue1Brown youtube channel. The goal here is to represent, in somewhat more formal terms, the intuition for how backpropagation works and the video moslty discusses the partial derivatives and backpropagation. Link To the [video.](https://www.youtube.com/watch?v=tIeHLnjs5U8) ## Deep Learning with Python, TensorFlow, and Keras tutorial | Day 39 Link To the [video.](https://www.youtube.com/watch?v=wQ8BIBpya2k&t=19s&index=2&list=PLQVvvaa0QuDfhTox0AjmQ6tvTgMBZBEXN) ## Loading in your own data - Deep Learning basics with Python, TensorFlow and Keras p.2 | Day 40 Link To the [video.](https://www.youtube.com/watch?v=j-3vuBynnOE&list=PLQVvvaa0QuDfhTox0AjmQ6tvTgMBZBEXN&index=2) ## Convolutional Neural Networks - Deep Learning basics with Python, TensorFlow and Keras p.3 | Day 41 Link To the [video.](https://www.youtube.com/watch?v=WvoLTXIjBYU&list=PLQVvvaa0QuDfhTox0AjmQ6tvTgMBZBEXN&index=3) ## Analyzing Models with TensorBoard - Deep Learning with Python, TensorFlow and Keras p.4 | Day 42 Link To the [video.](https://www.youtube.com/watch?v=BqgTU7_cBnk&list=PLQVvvaa0QuDfhTox0AjmQ6tvTgMBZBEXN&index=4) ## K Means Clustering | Day 43 Moved to Unsupervised Learning and studied about Clustering. Working on my website check it out [avikjain.me](http://www.avikjain.me/) Also found a wonderful animation that can help to easily understand K - Means Clustering [Link](http://shabal.in/visuals/kmeans/6.html) <p align="center"> <img src="https://github.com/Avik-Jain/100-Days-Of-ML-Code/blob/master/Info-graphs/Day%2043.jpg"> </p> ## K Means Clustering Implementation | Day 44 Implemented K Means Clustering. Check the code [here.]() ## Digging Deeper | NUMPY | Day 45 Got a new book "Python Data Science HandBook" by JK VanderPlas Check the Jupyter notebooks [here.](https://github.com/jakevdp/PythonDataScienceHandbook) <br>Started with chapter 2 : Introduction to Numpy. Covered topics like Data Types, Numpy arrays and Computations on Numpy arrays. <br>Check the code - <br>[Introduction to NumPy](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/02.00-Introduction-to-NumPy.ipynb) <br>[Understanding Data Types in Python](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/02.01-Understanding-Data-Types.ipynb) <br>[The Basics of NumPy Arrays](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/02.02-The-Basics-Of-NumPy-Arrays.ipynb) <br>[Computation on NumPy Arrays: Universal Functions](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/02.03-Computation-on-arrays-ufuncs.ipynb) ## Digging Deeper | NUMPY | Day 46 Chapter 2 : Aggregations, Comparisions and Broadcasting <br>Link to Notebook: <br>[Aggregations: Min, Max, and Everything In Between](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/02.04-Computation-on-arrays-aggregates.ipynb) <br>[Computation on Arrays: Broadcasting](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/02.05-Computation-on-arrays-broadcasting.ipynb) <br>[Comparisons, Masks, and Boolean Logic](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/02.06-Boolean-Arrays-and-Masks.ipynb) ## Digging Deeper | NUMPY | Day 47 Chapter 2 : Fancy Indexing, sorting arrays, Struchered Data <br>Link to Notebook: <br>[Fancy Indexing](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/02.07-Fancy-Indexing.ipynb) <br>[Sorting Arrays](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/02.08-Sorting.ipynb) <br>[Structured Data: NumPy's Structured Arrays](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/02.09-<br>Structured-Data-NumPy.ipynb) ## Digging Deeper | PANDAS | Day 48 Chapter 3 : Data Manipulation with Pandas <br> Covered Various topics like Pandas Objects, Data Indexing and Selection, Operating on Data, Handling Missing Data, Hierarchical Indexing, ConCat and Append. <br>Link To the Notebooks: <br>[Data Manipulation with Pandas](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/03.00-Introduction-to-Pandas.ipynb) <br>[Introducing Pandas Objects](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/03.01-Introducing-Pandas-Objects.ipynb) <br>[Data Indexing and Selection](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/03.02-Data-Indexing-and-Selection.ipynb) <br>[Operating on Data in Pandas](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/03.03-Operations-in-Pandas.ipynb) <br>[Handling Missing Data](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/03.04-Missing-Values.ipynb) <br>[Hierarchical Indexing](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/03.05-Hierarchical-Indexing.ipynb) <br>[Combining Datasets: Concat and Append](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/03.06-Concat-And-Append.ipynb) ## Digging Deeper | PANDAS | Day 49 Chapter 3: Completed following topics- Merge and Join, Aggregation and grouping and Pivot Tables. <br>[Combining Datasets: Merge and Join](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/03.07-Merge-and-Join.ipynb) <br>[Aggregation and Grouping](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/03.08-Aggregation-and-Grouping.ipynb) <br>[Pivot Tables](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/03.09-Pivot-Tables.ipynb) ## Digging Deeper | PANDAS | Day 50 Chapter 3: Vectorized Strings Operations, Working with Time Series <br>Links to Notebooks: <br>[Vectorized String Operations](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/03.10-Working-With-Strings.ipynb) <br>[Working with Time Series](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/03.11-Working-with-Time-Series.ipynb) <br>[High-Performance Pandas: eval() and query()](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/03.12-Performance-Eval-and-Query.ipynb) ## Digging Deeper | MATPLOTLIB | Day 51 Chapter 4: Visualization with Matplotlib Learned about Simple Line Plots, Simple Scatter Plotsand Density and Contour Plots. <br>Links to Notebooks: <br>[Visualization with Matplotlib](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/04.00-Introduction-To-Matplotlib.ipynb) <br>[Simple Line Plots](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/04.01-Simple-Line-Plots.ipynb) <br>[Simple Scatter Plots](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/04.02-Simple-Scatter-Plots.ipynb) <br>[Visualizing Errors](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/04.03-Errorbars.ipynb) <br>[Density and Contour Plots](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/04.04-Density-and-Contour-Plots.ipynb) ## Digging Deeper | MATPLOTLIB | Day 52 Chapter 4: Visualization with Matplotlib Learned about Histograms, How to customize plot legends, colorbars, and buliding Multiple Subplots. <br>Links to Notebooks: <br>[Histograms, Binnings, and Density](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/04.05-Histograms-and-Binnings.ipynb) <br>[Customizing Plot Legends](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/04.06-Customizing-Legends.ipynb) <br>[Customizing Colorbars](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/04.07-Customizing-Colorbars.ipynb) <br>[Multiple Subplots](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/04.08-Multiple-Subplots.ipynb) <br>[Text and Annotation](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/04.09-Text-and-Annotation.ipynb) ## Digging Deeper | MATPLOTLIB | Day 53 Chapter 4: Covered Three Dimensional Plotting in Mathplotlib. <br>Links to Notebooks: <br>[Three-Dimensional Plotting in Matplotlib](https://github.com/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/04.12-Three-Dimensional-Plotting.ipynb) ## Hierarchical Clustering | Day 54 Studied about Hierarchical Clustering. Check out this amazing [Visualization.](https://cdn-images-1.medium.com/max/800/1*ET8kCcPpr893vNZFs8j4xg.gif) <p align="center"> <img src="https://github.com/Avik-Jain/100-Days-Of-ML-Code/blob/master/Info-graphs/Day%2054.jpg"> </p>
3,175
Collection of useful data science topics along with articles, videos, and code
[![View on GitHub](https://img.shields.io/badge/GitHub-View_on_GitHub-blue?logo=GitHub)](https://github.com/khuyentran1401/Data-science) [![View on Medium](https://img.shields.io/badge/Medium-View%20on%20Medium-blueviolet?logo=medium)](https://khuyentran1476.medium.com/) [![Daily Data Science Tips](https://img.shields.io/badge/Data%20Science%20Simplified-Daily%20Data%20Science%20Tips-green?logo=wordpress)](https://mathdatasimplified.com/) [![View on YouTube](https://img.shields.io/badge/YouTube-Watch%20on%20Youtube-red?logo=youtube)](https://www.youtube.com/channel/UCNMawpMow-lW5d2svGhOEbw) # [Data Science Topics](https://github.com/khuyentran1401/Data-science) Collection of useful data science topics along with articles and videos. Subscribe to: - [My YouTube channel](https://www.youtube.com/@datasciencesimplified) for **videos** related to Python and data sience - [My Medium newsletter](https://khuyentran1476.medium.com/subscribe) for updates of my **blogs** in your mailbox - [Data Science Simplified](https://mathdatasimplified.com/) for **bite-sized** Python tips in your mailbox ## How to Download the Code in This Repository to Your Local Machine To download the code in this repo, you can simply use git clone ```bash git clone https://github.com/khuyentran1401/Data-science ``` # Contents 1. [MLOps](#mlops) 2. [Testing](#testing) 3. [Productive Tools](#productive-tools) 4. [Python Helper Tools](#python-helper-tools) 5. [Tools for Deployment](#tools-for-deployment) 6. [Speed-up Tools](#speed-up-tools) 7. [Math Tools](#math-tools) 8. [Machine Learning](#machine-learning) 9. [Natural Language Processing](#natural-language-processing) 10. [Computer Vision](#computer-vision) 11. [Time Series](#time-series) 12. [Feature Engineering](#feature-engineering) 13. [Visualization](#visualization) 14. [Mathematical Programming](#mathematical-programming) 15. [Scraping](#scraping) 16. [Python](#python) 17. [Terminal](#terminal) 18. [Linear Algebra](#linear-algebra) 19. [Data Structure](#data-structure) 20. [Statistics](#statistics) 21. [Web Applications](#web-applications) 22. [Share Insights](#share-insights) 23. [Cool Tools](#cool-tools) 24. [Learning Tips](#learning-tips) 25. [Productive Tips](#productive-tips) 26. [VSCode](#vscode) 27. [Book Review](#book-review) 28. [Data Science Portfolio](#data-science-portfolio) # MLOps | Title | Article | Repository | Video | ------------- |:-------------:| :-----:| :-----:| |Introduction to DVC: Data Version Control Tool for Machine Learning Projects | [🔗](https://towardsdatascience.com/introduction-to-dvc-data-version-control-tool-for-machine-learning-projects-7cb49c229fe0) | [🔗](https://github.com/khuyentran1401/Machine-learning-pipeline) | [🔗](https://youtu.be/80s_dbfiqLM) | Introduction to Hydra.cc: A Powerful Framework to Configure your Data Science Projects | [🔗](https://towardsdatascience.com/introduction-to-hydra-cc-a-powerful-framework-to-configure-your-data-science-projects-ed65713a53c6) | [🔗](https://github.com/khuyentran1401/hydra_demo) | [🔗](https://www.youtube.com/playlist?list=PLnK6m_JBRVNoPnqnVrWaYtZ2G4nFTnGze) | Introduction to Weight & Biases: Track and Visualize your Machine Learning Experiments in 3 Lines of Code | [🔗](https://towardsdatascience.com/introduction-to-weight-biases-track-and-visualize-your-machine-learning-experiments-in-3-lines-9c9553b0f99d) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/data_science_tools/wandb_tracking) | Kedro — A Python Framework for Reproducible Data Science Project | [🔗](https://towardsdatascience.com/kedro-a-python-framework-for-reproducible-data-science-project-4d44977d4f04) | [🔗](https://github.com/khuyentran1401/kedro_demo) | Orchestrate a Data Science Project in Python With Prefect | [🔗](https://towardsdatascience.com/orchestrate-a-data-science-project-in-python-with-prefect-e69c61a49074) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/data_science_tools/prefect_example) | Orchestrate Your Data Science Project with Prefect 2.0 | [🔗](https://medium.com/the-prefect-blog/orchestrate-your-data-science-project-with-prefect-2-0-4118418fd7ce) | [🔗](https://github.com/khuyentran1401/prefect2-mlops-demo) | [🔗](https://www.youtube.com/playlist?list=PLnK6m_JBRVNrHeLuMMJGtNLmgn3MpXYvq) | DagsHub: a GitHub Supplement for Data Scientists and ML Engineers | [🔗](https://towardsdatascience.com/dagshub-a-github-supplement-for-data-scientists-and-ml-engineers-9ecaf49cc505) | [🔗](https://dagshub.com/khuyentran1401/dagshub-demo) | 4 pre-commit Plugins to Automate Code Reviewing and Formatting in Python | [🔗](https://towardsdatascience.com/4-pre-commit-plugins-to-automate-code-reviewing-and-formatting-in-python-c80c6d2e9f5) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/productive_tools/precommit_examples) | [🔗](https://youtube.com/playlist?list=PLnK6m_JBRVNqskWiXLxx1QRDDng9O8Fsf) | BentoML: Create an ML Powered Prediction Service in Minutes | [🔗](https://towardsdatascience.com/bentoml-create-an-ml-powered-prediction-service-in-minutes-23d135d6ca76) | [🔗](https://github.com/khuyentran1401/customer_segmentation/tree/bentoml_demo) | [🔗](https://youtu.be/7csscNQnbnI) | How to Structure a Data Science Project for Readability and Transparency | [🔗](https://towardsdatascience.com/how-to-structure-a-data-science-project-for-readability-and-transparency-360c6716800) | [🔗](https://github.com/khuyentran1401/data-science-template) | How to Structure an ML Project for Reproducibility and Maintainability | [🔗](https://towardsdatascience.com/how-to-structure-an-ml-project-for-reproducibility-and-maintainability-54d5e53b4c82) | [🔗](https://github.com/khuyentran1401/data-science-template/tree/prefect) | GitHub Actions in MLOps: Automatically Check and Deploy Your ML Model | [🔗](https://khuyentran1476.medium.com/github-actions-in-mlops-automatically-check-and-deploy-your-ml-model-9a281d7f3c84) | [🔗](https://github.com/khuyentran1401/employee-future-prediction) | Create Robust Data Pipelines with Prefect, Docker, and GitHub | [🔗](https://towardsdatascience.com/create-robust-data-pipelines-with-prefect-docker-and-github-12b231ca6ed2) | [🔗](https://github.com/khuyentran1401/prefect-docker) | Create a Maintainable Data Pipeline with Prefect and DVC | [🔗](https://towardsdatascience.com/create-a-maintainable-data-pipeline-with-prefect-and-dvc-1d691ea5bcea) | [🔗](https://github.com/khuyentran1401/prefect-dvc) | Build a Full-Stack ML Application With Pydantic And Prefect | [🔗](https://towardsdatascience.com/build-a-full-stack-ml-application-with-pydantic-and-prefect-915f00fe0c62) | [🔗](https://github.com/khuyentran1401/iris-prefect) | [🔗](https://youtu.be/c-Bqg7Gbuc8) | DVC + GitHub Actions: Automatically Rerun Modified Components of a Pipeline | [🔗](https://towardsdatascience.com/dvc-github-actions-automatically-rerun-modified-components-of-a-pipeline-a3632519dc42) | [🔗](https://github.com/khuyentran1401/prefect-dvc/tree/dvc-pipeline) | [🔗](https://youtu.be/jZu7LPKIOlY) | Create Observable and Reproducible Notebooks with Hex | [🔗](https://towardsdatascience.com/create-observable-and-reproducible-notebooks-with-hex-460e75818a09) | [🔗](https://github.com/khuyentran1401/customer_segmentation/tree/prefect2) | [🔗](https://youtu.be/_BjqCrun4nE) # Testing | Title | Article | Repository | Video | ------------- |:-------------:| :-----:| :-----:| | Pytest for Data Scientists | [🔗](https://towardsdatascience.com/pytest-for-data-scientists-2990319e55e6) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/data_science_tools/pytest) | [🔗](https://www.youtube.com/playlist?list=PLnK6m_JBRVNoYEer9hBmTNwkYB3gmbOPO) | 4 Lessor-Known Yet Awesome Tips for Pytest | [🔗](https://towardsdatascience.com/4-lessor-known-yet-awesome-tips-for-pytest-2117d8a62d9c) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/data_science_tools/advanced_pytest) | Great Expectations: Always Know What to Expect From Your Data | [🔗](https://towardsdatascience.com/great-expectations-always-know-what-to-expect-from-your-data-51214866c24) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/data_science_tools/great_expectations_example) | Validate Your pandas DataFrame with Pandera | [🔗](https://medium.com/towards-data-science/validate-your-pandas-dataframe-with-pandera-2995910e564) |[🔗](https://github.com/khuyentran1401/Data-science/blob/master/data_science_tools/pandera_example/pandera.ipynb) | [🔗](https://youtu.be/CB8D7RUM-lI) | Introduction to Schema: A Python Libary to Validate your Data | [🔗](https://towardsdatascience.com/introduction-to-schema-a-python-libary-to-validate-your-data-c6d99e06d56a) | [🔗](https://deepnote.com/launch?url=https://github.com/khuyentran1401/Data-science/blob/master/data_science_tools/schema.ipynb) | DeepDiff — Recursively Find and Ignore Trivial Differences Using Python | [🔗](https://towardsdatascience.com/deepdiff-recursively-find-and-ignore-trivial-differences-using-python-231a5524f41d) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/productive_tools/deepdiff_example.ipynb) | Checklist — Behavioral Testing of NLP Models | [🔗](https://towardsdatascience.com/checklist-behavioral-testing-of-nlp-models-491cf11f0238) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/nlp/checklist/checklist_examples.ipynb) | How to Create Fake Data with Faker | [🔗](https://towardsdatascience.com/how-to-create-fake-data-with-faker-a835e5b7a9d9) | [🔗](https://deepnote.com/launch?url=https://github.com/khuyentran1401/Data-science/blob/master/data_science_tools/faker.ipynb) | | Detect Defects in a Data Pipeline Early with Validation and Notifications | [🔗](https://towardsdatascience.com/detect-defects-in-a-data-pipeline-early-with-validation-and-notifications-83e9b652e65a) | [🔗](https://github.com/khuyentran1401/prefect2-mlops-demo/tree/deepchecks) | [🔗](https://youtu.be/HdPViOX8Uf8) | Hypothesis and Pandera: Generate Synthesis Pandas DataFrame for Testing | [🔗](https://towardsdatascience.com/hypothesis-and-pandera-generate-synthesis-pandas-dataframe-for-testing-e5673c7bec2e) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/data_science_tools/pandera_hypothesis) | [🔗](https://youtu.be/RbW-x_2dFMQ) # Productive Tools | Title | Article | Repository | | ------------- |:-------------:| :-----:| | 3 Tools to Track and Visualize the Execution of your Python Code | [🔗](https://towardsdatascience.com/3-tools-to-track-and-visualize-the-execution-of-your-python-code-666a153e435e) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/python/debug_tools) | 2 Tools to Automatically Reload when Python Files Change | [🔗](https://towardsdatascience.com/2-tools-to-automatically-reload-when-python-files-change-90bb28139087) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/terminal/reload_examples) | 3 Ways to Get Notified with Python | [🔗](https://towardsdatascience.com/how-to-get-a-notification-when-your-training-is-complete-with-python-2d39679d5f0f) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/python/notification) | | How to Create Reusable Command-Line | [🔗](https://towardsdatascience.com/how-to-create-reusable-command-line-f9a2bb356bc9) | | How to Strip Outputs and Execute Interactive Code in a Python Script | [🔗](https://towardsdatascience.com/how-to-strip-outputs-and-execute-interactive-code-in-a-python-script-6d4c5da3beb0) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/data_science_tools/strip_interactive_example.py) | Sending Slack Notifications in Python with Prefect| [🔗](https://medium.com/the-prefect-blog/sending-slack-notifications-in-python-with-prefect-840a895f81c) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/data_science_tools/strip_interactive_example.py) # Python Helper Tools | Title | Article | Repository | Video | ------------- |:-------------:| :-----:| :-----:| | Pydash: A Kitchen Sink of Missing Python Utilities | [🔗](https://towardsdatascience.com/pydash-a-bucket-of-missing-python-utilities-5d10365be4fc) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/python/pydash.ipynb) | Write Clean Python Code Using Pipes | [🔗](https://towardsdatascience.com/write-clean-python-code-using-pipes-1239a0f3abf5) | [🔗](https://deepnote.com/project/Data-science-hxlyJpi-QrKFJziQgoMSmQ/%2FData-science%2Fproductive_tools%2Fpipe.ipynb) | [🔗](https://youtu.be/K20_eZZGqsc) | Introducing FugueSQL — SQL for Pandas, Spark, and Dask DataFrames | [🔗](https://towardsdatascience.com/introducing-fuguesql-sql-for-pandas-spark-and-dask-dataframes-63d461a16b27) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/data_science_tools/fugueSQL.ipynb) | Fugue and DuckDB: Fast SQL Code in Python | [🔗](https://towardsdatascience.com/fugue-and-duckdb-fast-sql-code-in-python-e2e2dfc0f8eb) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/productive_tools/Fugue_and_Duckdb/Fugue_and_Duckdb.ipynb) # Tools for Deployment | Title | Article | Repository | | ------------- |:-------------:| :-----:| | How to Effortlessly Publish your Python Package to PyPI Using Poetry | [🔗](https://towardsdatascience.com/how-to-effortlessly-publish-your-python-package-to-pypi-using-poetry-44b305362f9f) | [🔗](https://github.com/khuyentran1401/pretty-text) | Typer: Build Powerful CLIs in One Line of Code using Python | [🔗](https://towardsdatascience.com/typer-build-powerful-clis-in-one-line-of-code-using-python-321d9aef3be8) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/terminal/typer_examples) # Speed-up Tools | Title | Article | Repository | | ------------- |:-------------:| :-----:| | Cython-A Speed-Up Tool for your Python Function | [🔗](https://towardsdatascience.com/cython-a-speed-up-tool-for-your-python-function-9bab64364bfd) | [🔗](https://github.com/khuyentran1401/Cython) | | Train your Machine Learning Model 150x Faster with cuML | [🔗](https://towardsdatascience.com/train-your-machine-learning-model-150x-faster-with-cuml-69d0768a047a) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/machine-learning/cuml) # Math Tools | Title | Article | Repository | | ------------- |:-------------:| :-----:| | SymPy: Symbolic Computation in Python | [🔗](https://towardsdatascience.com/sympy-symbolic-computation-in-python-f05f1413adb8) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/data_science_tools/sympy_example.ipynb) # Machine Learning | Title | Article | Repository | Video | ------------- |:-------------:| :-----:| :-----:| | How to Monitor And Log your Machine Learning Experiment Remotely with HyperDash | [🔗](https://towardsdatascience.com/how-to-monitor-and-log-your-machine-learning-experiment-remotely-with-hyperdash-aa7106b15509) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/data_science_tools/Hyperdash.ipynb) | | How to Efficiently Fine-Tune your Machine Learning Models | [🔗](https://towardsdatascience.com/how-to-fine-tune-your-machine-learning-models-with-ease-8ca62d1217b1) | [🔗](https://github.com/khuyentran1401/Machine-learning-pipeline) | | How to Learn Non-linear Dataset with Support Vector Machines | [🔗](https://towardsdatascience.com/how-to-learn-non-linear-separable-dataset-with-support-vector-machines-a7da21c6d987) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/machine-learning/SVM_Separate_XOR.ipynb) | | Introduction to IBM Federated Learning: A Collaborative Approach to Train ML Models on Private Data | [🔗](https://towardsdatascience.com/introduction-to-ibm-federated-learning-a-collaborative-approach-to-train-ml-models-on-private-data-2b4221c3839) | [🔗](https://github.com/IBM/federated-learning-lib) | 3 Steps to Improve your Efficiency when Hypertuning ML Models | [🔗](https://towardsdatascience.com/3-steps-to-improve-your-efficiency-when-hypertuning-ml-models-5a579d57065e) | human-learn: Create a Human Learning Model by Drawing | [🔗](https://towardsdatascience.com/human-learn-create-rules-by-drawing-on-the-dataset-bcbca229f00) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/machine-learning/human_learn_examples/human-learn%20examples.ipynb) | Patsy: Build Powerful Features with Arbitrary Python Code | [🔗](https://towardsdatascience.com/patsy-build-powerful-features-with-arbitrary-python-code-bb4bb98db67a#3be4-4bcff97738cd) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/statistics/patsy_example.ipynb) | SHAP: Explain Any Machine Learning Model in Python | [🔗](https://towardsdatascience.com/shap-explain-any-machine-learning-model-in-python-24207127cad7) | [🔗](https://deepnote.com/project/Data-science-hxlyJpi-QrKFJziQgoMSmQ/%2FData-science%2Fdata_science_tools%2Fshapey_values%2Fshapey_values.ipynb) | Predict Movie Ratings with User-Based Collaborative Filtering | [🔗](https://towardsdatascience.com/predict-movie-ratings-with-user-based-collaborative-filtering-392304b988af) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/machine-learning/collaborative_filtering/collaborative_filtering.ipynb) | River: Online Machine Learning in Python | [🔗](https://towardsdatascience.com/river-online-machine-learning-in-python-d0f048120e46) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/machine-learning/river_streaming/streaming.ipynb) | [🔗](https://youtu.be/2PRqU_uC1hk) | Human-Learn: Rule-Based Learning as an Alternative to Machine Learning | [🔗](https://towardsdatascience.com/human-learn-rule-based-learning-as-an-alternative-to-machine-learning-baf1899ecb3a) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/machine-learning/human_learn_examples/rule_based_model.ipynb) | [🔗](https://youtu.be/JF-bC6JYJsw) # Natural Language Processing | Title | Article | Repository | Video | ------------- |:-------------:| :-----:| :-----:| | Sentiment Analysis of LinkedIn Messages| [🔗](https://towardsdatascience.com/sentiment-analysis-of-linkedin-messages-3bb152307f84) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/nlp/linkedin_analysis) | | Find Common Words in Article with Python Module Newspaper and NLTK| [🔗](https://towardsdatascience.com/find-common-words-in-article-with-python-module-newspaper-and-nltk-8c7d6c75733) | [🔗](https://github.com/khuyentran1401/Extract-text-from-article) | | How to Tokenize Tweets with Python | [🔗](https://towardsdatascience.com/an-introduction-to-tweettokenizer-for-processing-tweets-9879389f8fe7) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/nlp/tweets_tokenize.ipynb) | | How to Solve Analogies with Word2Vec | [🔗](https://towardsdatascience.com/how-to-solve-analogies-with-word2vec-6ebaf2354009) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master//nlp/word2vec.ipynb) | | What is PyTorch | [🔗](https://towardsdatascience.com/what-is-pytorch-a84e4559f0e3) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/nlp/PyTorch.ipynb) | | Convolutional Neural Network in Natural Language Processing | [🔗](https://towardsdatascience.com/convolutional-neural-network-in-natural-language-processing-96d67f91275c) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/nlp/convolutional_neural_network.ipynb) | | Supercharge your Python String with TextBlob | [🔗](https://towardsdatascience.com/supercharge-your-python-string-with-textblob-2d9c08a8da05) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/nlp/textblob.ipynb) | [🔗](https://youtu.be/V--kSO1vV50) | pyLDAvis: Topic Modelling Exploration Tool That Every NLP Data Scientist Should Know | [🔗](https://neptune.ai/blog/pyldavis-topic-modelling-exploration-tool-that-every-nlp-data-scientist-should-know) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/data_science_tools/pyLDAvis) | Streamlit and spaCy: Create an App to Predict Sentiment and Word Similarities with Minimal Domain Knowledge | [🔗](https://towardsdatascience.com/streamlit-and-spacy-create-an-app-to-predict-sentiment-and-word-similarities-with-minimal-domain-14085085a5d4) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/nlp/spacy_streamlit_app) | Build a Robust Conversational Assistant with Rasa | [🔗](https://towardsdatascience.com/build-a-conversational-assistant-with-rasa-b410a809572d) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/nlp/conversational_rasa) | I Analyzed 2k Data Scientist and Data Engineer Jobs and This is What I Found | [🔗](https://pub.towardsai.net/i-analyzed-2k-data-scientist-and-data-engineer-jobs-and-this-is-what-i-found-1ed37f98a704) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/nlp/diffbot_examples) | Checklist — Behavioral Testing of NLP Models | [🔗](https://towardsdatascience.com/checklist-behavioral-testing-of-nlp-models-491cf11f0238) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/nlp/checklist/checklist_examples.ipynb) | PRegEx: Write Human-Readable Regular Expressions in Python | [🔗](https://towardsdatascience.com/pregex-write-human-readable-regular-expressions-in-python-9c87d1b1335) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/productive_tools/pregex.ipynb) | Texthero: Text Preprocessing, Representation, and Visualization for a pandas DataFrame | [🔗](https://towardsdatascience.com/texthero-text-preprocessing-representation-and-visualization-for-a-pandas-dataframe-525405af16b6) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/nlp/texthero) # Computer Vision | Title | Article | Repository | | ------------- |:-------------:| :-----:| | How to Create an App to Classify Dogs Using fastai and Streamlit | [🔗](https://towardsdatascience.com/how-to-create-an-app-to-classify-dogs-using-fastai-and-streamlit-af3e75f0ee28) | [🔗](https://github.com/khuyentran1401/dog_classifier) # Time Series | Title | Article | Repository | | ------------- |:-------------:| :-----:| | Kats: a Generalizable Framework to Analyze Time Series Data in Python | [🔗](https://towardsdatascience.com/kats-a-generalizable-framework-to-analyze-time-series-data-in-python-3c8d21efe057) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/time_series/kats_examples/kats.ipynb) | How to Detect Seasonality, Outliers, and Changepoints in Your Time Series | [🔗](https://towardsdatascience.com/how-to-detect-seasonality-outliers-and-changepoints-in-your-time-series-5d0901498cff) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/time_series/google_analytics/google-analytics-analysis.ipynb) | 4 Tools to Automatically Extract Data from Datetime in Python | [🔗](https://towardsdatascience.com/4-tools-to-automatically-extract-data-from-datetime-in-python-9ecf44943f89) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/time_series/extract_date_features.ipynb) # Feature Engineering | Title | Article | Repository | | ------------- |:-------------:| :-----:| | 3 Ways to Extract Features from Dates with Python | [🔗](https://towardsdatascience.com/3-ways-to-extract-features-from-dates-927bd89cd5b9) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/time_series/extract_features/extract_features_from_dates.ipynb) | Similarity Encoding for Dirty Categories Using dirty_cat | [🔗](https://towardsdatascience.com/similarity-encoding-for-dirty-categories-using-dirty-cat-d9f0b581a552) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/feature_engineering/dirty_cat_example/employee_salaries.ipynb) | Snorkel — A Human-In-The-Loop Platform to Build Training Data | [🔗](https://towardsdatascience.com/snorkel-programmatically-build-training-data-in-python-712fc39649fe) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/feature_engineering/snorkel_example) # Visualization | Title | Article | Repository | Video | ------------- |:-------------:| :-----:| :-----:| | How to Embed Interactive Charts on your Articles and Personal Website | [🔗](https://towardsdatascience.com/how-to-embed-interactive-charts-on-your-medium-articles-and-website-6987f7b28472) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/data_science_tools/embed_charts.ipynb) | | What I Learned from Scraping 15k Data Science Articles on Medium | [🔗](https://medium.com/@khuyentran1476/what-i-learned-from-scraping-15k-data-science-articles-on-medium-98a5f252d0aa) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/visualization/medium_articles) | | How to Create Interactive Plots with Altair | [🔗](https://towardsdatascience.com/how-to-create-interactive-and-elegant-plot-with-altair-8dd87a890f2a) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/visualization/altair/altair.ipynb) | | How to Create a Drop-Down Menu and a Slide Bar for your Favorite Visualization Tool | [🔗](https://towardsdatascience.com/how-to-create-a-drop-down-menu-and-a-slide-bar-for-your-favorite-visualization-tool-3a50b7c9ea01) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/visualization/dropdown/dropdown.ipynb) | | I Scraped more than 1k Top Machine Learning Github Profiles and this is what I Found | [🔗](https://towardsdatascience.com/i-scraped-more-than-1k-top-machine-learning-github-profiles-and-this-is-what-i-found-1ab4fb0c0474) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/visualization/github) | Top 6 Python Libraries for Visualization: Which one to Use? | [🔗](https://towardsdatascience.com/top-6-python-libraries-for-visualization-which-one-to-use-fe43381cd658) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/visualization/top_visualization.ipynb) | Introduction to Yellowbrick: A Python Library to Visualize the Prediction of your Machine Learning Model | [🔗](https://towardsdatascience.com/introduction-to-yellowbrick-a-python-library-to-explain-the-prediction-of-your-machine-learning-d63ecee10ecc) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/data_science_tools/Yellowbrick.ipynb) | Visualize Gender-Specific Tweets with Scattertext | [🔗](https://medium.com/towards-artificial-intelligence/visualize-gender-specific-tweets-with-scattertext-5167e4600025) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/visualization/scattertext) | Visualize Your Team’s Projects Using Python Gantt Chart | [🔗](https://towardsdatascience.com/visualize-your-teams-projects-using-python-gantt-chart-5a1c1c98ea35) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/visualization/gantt_chart/gantt_chart.ipynb) | How to Create Bindings and Conditions Between Multiple Plots Using Altair | [🔗](https://towardsdatascience.com/how-to-create-bindings-and-conditions-between-multiple-plots-using-altair-4e4fe907de37) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/visualization/altair/altair_advanced.ipynb) | How to Sketch your Data Science Ideas With Excalidraw | [🔗](https://towardsdatascience.com/how-to-sketch-your-data-science-ideas-with-excalidraw-a993d049f55c) | | Pyvis: Visualize Interactive Network Graphs in Python | [🔗](https://towardsdatascience.com/pyvis-visualize-interactive-network-graphs-in-python-77e059791f01) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/visualization/pyvis_examples/pyvis.ipynb) | [🔗](https://youtu.be/6eQOBuvUPeg) | Build and Analyze Knowledge Graphs with Diffbot | [🔗](https://towardsdatascience.com/build-and-analyze-knowledge-graphs-with-diffbot-2af83065ade0) | Observe The Friend Paradox in Facebook Data Using Python | [🔗](https://towardsdatascience.com/observe-the-friend-paradox-in-facebook-data-using-python-314c23fd49e4#44e7-514613b6bd18) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/visualization/friend_paradox/facebook_network.ipynb) | What skills and backgrounds do data scientists have in common? | [🔗](https://www.datacamp.com/community/blog/what-skills-and-backgrounds-do-data-scientists-have-in-common) | [🔗](https://deepnote.com/project/Data-science-hxlyJpi-QrKFJziQgoMSmQ/%2FData-science%2Fvisualization%2Fanalyze_data_science_market%2Fanalyze_data_science_market.ipynb) | Visualize Similarities Between Companies With Graph Database | [🔗](https://khuyentran1476.medium.com/visualize-similarities-between-companies-with-graph-database-212af872fbf6) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/visualization/analyze_artificial_intelligence_industry.ipynb) | Visualize GitHub Social Network with PyGraphistry | [🔗](https://towardsdatascience.com/visualize-github-social-network-with-pygraphistry-dfc23a38ec8d) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/visualization/visualize_github_network/github_explore.ipynb) | Find the Top Bootcamps for Data Professionals From Over 5k Profiles | [🔗](https://khuyentran1476.medium.com/find-the-top-bootcamps-for-data-professionals-from-over-5k-profiles-92c38b10ddb4) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/visualization/ds_bootcamps) | floWeaver — Turn Flow Data Into a Sankey Diagram In Python | [🔗](https://towardsdatascience.com/floweaver-turn-flow-data-into-a-sankey-diagram-in-python-d166e87dbba#2962-71a0f6581d6d) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/visualization/floweaver_example/travel.ipynb) | atoti — Build a BI Platform in Python | [🔗](https://pub.towardsai.net/atoti-build-a-bi-platform-in-python-beea47b92c7b) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/visualization/atoti_example/atoti.ipynb) | Analyze and Visualize URLs with Network Graph | [🔗](https://towardsdatascience.com/analyze-and-visualize-urls-with-network-graph-ee3ad5338b69) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/visualization/analyze_URL/analyze_URL.ipynb) | statsannotations: Add Statistical Significance Annotations on Seaborn Plots | [🔗](https://towardsdatascience.com/statsannotations-add-statistical-significance-annotations-on-seaborn-plots-6b753346a42a) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/visualization/statsannotation_example.ipynb) | [🔗](https://youtu.be/z26I6jsdIno) # Mathematical Programming | Title | Article | Repository | | ------------- |:-------------:| :-----:| | How to choose stocks to invest in with Python | [🔗](https://towardsdatascience.com/choose-stocks-to-invest-with-python-584892e3ad22) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/mathematical_programming/invest_stock/stock_invest.ipynb) | | Maximize your Productivity with Python | [🔗](https://towardsdatascience.com/maximize-your-productivity-with-python-6110004b45f7) | [🔗](https://github.com/khuyentran1401/Task-scheduler-problem/tree/master) | How to Find a Good Match with Python | [🔗](https://towardsdatascience.com/how-to-match-two-people-with-python-7583b51ff3f9) | [🔗](https://github.com/khuyentran1401/linear-programming-with-PuLP) | How to Solve a Staff Scheduling Problem with Python | [🔗](https://towardsdatascience.com/how-to-solve-a-staff-scheduling-problem-with-python-63ae50435ba4) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/mathematical_programming/schedule_workers) | How to Find Best Locations for your Restaurants with Python | [🔗](https://towardsdatascience.com/how-to-find-best-locations-for-your-restaurants-with-python-b2fadc91c4dd) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/mathematical_programming/locations_of_stores) | How to Schedule Flights in Python | [🔗](https://towardsdatascience.com/how-to-schedule-flights-in-python-3357b200db9e) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/mathematical_programming/schedule_flight_crew/flight_crew_schedule.ipynb) | How to Solve a Production Planning and Inventory Problem in Python | [🔗](https://towardsdatascience.com/how-to-solve-a-production-planning-and-inventory-problem-in-python-45c546f4bcf0) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/mathematical_programming/production_and_inventory.ipynb) # Scraping | Title | Article | Repository | | ------------- |:-------------:| :-----:| | Web Scrape Movie Database with Beautiful Soup | [🔗](https://medium.com/analytics-vidhya/detailed-tutorials-for-beginners-web-scrap-movie-database-from-multiple-pages-with-beautiful-soup-5836828d23) | [🔗](https://github.com/khuyentran1401/Web-scrape-Ghibli-Movie-Database/tree/master) | | top-github-scraper: Scrape Top Github Users and Repositories Based On a Keyword in One Line of Code | [🔗](https://khuyentran1476.medium.com/top-github-scraper-scrape-top-github-users-and-repositories-based-on-a-keyword-in-one-line-of-code-d48b29954aac) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/scraping/scrape_top_github.ipynb) # Python | Title | Article | Repository | | ------------- |:-------------:| :-----:| | Numpy Tricks for your Data Science Projects| [🔗](https://medium.com/@khuyentran1476/comprehensive-numpy-tutorials-for-beginners-8b88696bd3a2) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/python/Numpy_tricks.ipynb) | | Timing for Efficient Python Code | [🔗](https://towardsdatascience.com/timing-the-performance-to-choose-the-right-python-object-for-your-data-science-project-670db6f11b8e) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master//python/Time.ipynb) | | How to Use Lambda for Efficient Python Code | [🔗](https://towardsdatascience.com/how-to-use-lambda-for-efficient-python-code-ff950dc8d259) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/python/lambda.ipynb) | | Python Tricks for Keeping Track of Your Data | [🔗](https://towardsdatascience.com/python-tricks-for-keeping-track-of-your-data-aef3dc817a4e) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/python/keep_track.ipynb) | | Boost Your Efficiency With Specialized Dictionary Implementations in Python | [🔗](https://medium.com/better-programming/boost-your-efficiency-with-specialized-dictionary-implementations-7799ec97d14f) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/python/dictionary.ipynb) | | Dictionary as an Alternative to If-Else | [🔗](https://towardsdatascience.com/dictionary-as-an-alternative-to-if-else-76fe57a1e4af) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/python/dictionary_ifelse.ipynb) | | How to Use Zip to Manipulate a List of Tuples | [🔗](https://levelup.gitconnected.com/how-to-use-zip-to-manipulate-a-list-of-tuples-6ba6e00c02cd) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/python/zip.ipynb) | | Get the Most out of Your Array With These Four Numpy Methods | [🔗](https://medium.com/swlh/get-the-most-out-of-your-array-with-these-four-numpy-methods-2fc4a6b04736) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/python/four_numpy_methods.ipynb) | 3 Python Tricks to Read, Create, and Run Multiple Files Automatically | [🔗](https://towardsdatascience.com/3-python-tricks-to-read-create-and-run-multiple-files-automatically-5221ebaad2ba) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/python/python_tricks) | How to Exclude the Outliers in Pandas DataFrame | [🔗](https://towardsdatascience.com/how-to-exclude-the-outliers-in-pandas-dataframe-c749fca4e091) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/python/4_pandas_lesser_know_tricks.ipynb) | Python Clean Code: 6 Best Practices to Make Your Python Functions More Readable | [🔗](https://towardsdatascience.com/python-clean-code-6-best-practices-to-make-your-python-functions-more-readable-7ea4c6171d60) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/python/good_functions) | 3 Techniques to Effortlessly Import and Execute Python Modules | [🔗](https://towardsdatascience.com/3-advance-techniques-to-effortlessly-import-and-execute-your-python-modules-ccdcba017b0c) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/python/module_example) | Simplify Your Functions with Functools’ Partial and Singledispatch | [🔗](https://towardsdatascience.com/simplify-your-functions-with-functools-partial-and-singledispatch-b7071f7543bb) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/python/functools%20example.ipynb) # Terminal | Title | Article | Repository | | ------------- |:-------------:| :-----:| | How to Create and View Interactive Cheatsheets on the Command-line | [🔗](https://towardsdatascience.com/how-to-create-and-view-interactive-cheatsheets-on-the-command-line-6578641039ff) | | Understand CSV Files from your Terminal with XSV | [🔗](https://towardsdatascience.com/understand-your-csv-files-from-your-terminal-with-xsv-65255ae67293) | Prettify your Terminal Text With Termcolor and Pyfiglet| [🔗](https://towardsdatascience.com/prettify-your-terminal-text-with-termcolor-and-pyfiglet-880de83fda6b) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/python/prettify_terminal_output) | | Stop Using Print to Debug in Python. Use Icecream Instead | [🔗](https://towardsdatascience.com/stop-using-print-to-debug-in-python-use-icecream-instead-79e17b963fcc) | Rich: Generate Rich and Beautiful Text in the Terminal with Python | [🔗](https://towardsdatascience.com/rich-generate-rich-and-beautiful-text-in-the-terminal-with-python-541f39abf32e) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/terminal/rich) | Create a Beautiful Dashboard in your Terminal with Wtfutil | [🔗](https://towardsdatascience.com/create-a-beautiful-dashboard-in-your-terminal-with-wtfutil-573424fe3684) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/terminal/wtf/config.yml) | 3 Tools to Monitor and Optimize your Linux System | [🔗](https://towardsdatascience.com/3-tools-to-monitor-and-optimize-your-linux-system-c8a46c18d692) | Ptpython: A Better Python REPL | [🔗](https://towardsdatascience.com/ptpython-a-better-python-repl-6e21df1eb648) | [🔗](https://gist.github.com/khuyentran1401/b5325ff1f3bfe1e36bf9131a0b8cd388) | fd: a Simple but Powerful Tool to Find and Execute Files on the Command Line | [🔗](https://towardsdatascience.com/fd-a-simple-but-powerful-tool-to-find-and-execute-files-on-the-command-line-602f9af235ad) | Speed Up your Command-Line Navigation with These 3 Tools | [🔗](https://towardsdatascience.com/speed-up-your-command-line-navigation-with-these-3-tools-f90105c9aa2b) | Python and Data Science Snippets on the Command Line | [🔗](https://towardsdatascience.com/python-and-data-science-snippets-on-the-command-line-2673d5d9e55d) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/applications/python_snippet_tutorial) # Statistics | Title | Article | Repository | | ------------- |:-------------:| :-----:| | Can Datasets of a Dinosaur and a Circle have Identical Statistics? | [🔗](https://towardsdatascience.com/how-to-turn-a-dinosaur-dataset-into-a-circle-dataset-with-the-same-statistics-64136c2e2ca0) | [🔗](https://github.com/khuyentran1401/same-stats-different-graphs) |Introduction to One-Way ANOVA: A Test to Compare the Means between More than Two Groups | [🔗]( https://towardsdatascience.com/introduction-to-one-way-anova-a-test-to-compare-the-means-between-more-than-two-groups-a656cb53b19c)| [🔗](https://github.com/khuyentran1401/Data-science/blob/master/statistics/ANOVA_examples.ipynb) | Bayes’ Theorem, Clearly Explained with Visualization | [🔗](https://towardsdatascience.com/bayes-theorem-clearly-explained-with-visualization-5083ea5e9b14#5c49-6a7199b5fc13) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/statistics/bayesian_theorem.ipynb) | Detect Change Points with Bayesian Inference and PyMC3 | [🔗](https://towardsdatascience.com/detect-change-points-with-bayesian-inference-and-pymc3-3b4f3ae6b9bb#9530-e5f3d0f86132) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/statistics/bayesian_example/google%20analytics.ipynb) | Bayesian Linear Regression with Bambi | [🔗](https://towardsdatascience.com/bayesian-linear-regression-with-bambi-a5e6570f167b) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/statistics/bayes_linear_regression/linear_regression.ipynb) | Earn More Salary as a Coder — Higher Degree or More Years of Experience? | [🔗](https://towardsdatascience.com/earn-more-salary-as-a-coder-higher-degree-or-more-years-of-experience-68c13f73a557) | [🔗](https://github.com/khuyentran1401/Data-science/blob/master/statistics/stackoverflow_survey/analyze_salary.ipynb) # Linear Algebra | Title | Article | Repository | | ------------- |:-------------:| :-----:| | How to Build a Matrix Module from Scratch | [🔗](https://towardsdatascience.com/how-to-build-a-matrix-module-from-scratch-a4f35ec28b56) | [🔗](https://github.com/khuyentran1401/Numerical-Optimization-Machine-learning/tree/master/matrix) | | Linear Algebra for Machine Learning: Solve a System of Linear Equations | [🔗](https://towardsdatascience.com/linear-algebra-for-machine-learning-solve-a-system-of-linear-equations-3ec7e882e10f) | [🔗](https://github.com/khuyentran1401/Numerical-Optimization-Machine-learning/blob/master/Backward%20substitution%20and%20Gaussian%20Elimiation.ipynb) | # Data Structure | Title | Article | Repository | | ------------- |:-------------:| :-----:| | Convex Hull: An Innovative Approach to Gift-Wrap your Data | [🔗](https://towardsdatascience.com/convex-hull-an-innovative-approach-to-gift-wrap-your-data-899992881efc) | [🔗](https://github.com/khuyentran1401/Computational-Geometry/blob/master/Graham%20Scan.ipynb) | | How to Visualize Social Network With Graph Theory | [🔗](https://towardsdatascience.com/how-to-visualize-social-network-with-graph-theory-4b2dc0c8a99f) | [🔗](https://github.com/khuyentran1401/Game-of-Thrones-And-Graph) | | How to Search Data with KDTree | [🔗](https://towardsdatascience.com/how-to-search-data-with-kdtree-aad5c82ebd99) | [🔗](https://github.com/khuyentran1401/kdtree-implementation) | | How to Find the Nearest Hospital with a Voronoi Diagram | [🔗](https://towardsdatascience.com/how-to-find-the-nearest-hospital-with-voronoi-diagram-63bd6d0b7b75) | [🔗](https://github.com/khuyentran1401/Voronoi-diagram/) # Web Applications | Title | Article | Repository | | ------------- |:-------------:| :-----:| | How to Create an Interactive Startup Growth Calculator with Python | [🔗](https://towardsdatascience.com/how-to-create-an-interactive-startup-growth-calculator-with-python-d224816f29d5) | [🔗](https://github.com/datapane/gallery/tree/master/startup-calculator) | Streamlit and spaCy: Create an App to Predict Sentiment and Word Similarities with Minimal Domain Knowledge | [🔗](https://towardsdatascience.com/streamlit-and-spacy-create-an-app-to-predict-sentiment-and-word-similarities-with-minimal-domain-14085085a5d4) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/nlp/spacy_streamlit_app) | PyWebIO: Write Interactive Web App in Script Way Using Python | [🔗](https://towardsdatascience.com/pywebio-write-interactive-web-app-in-script-way-using-python-14f50155af4e) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/applications/pywebio_examples) | PyWebIO 1.3.0: Add Tabs, Pin Input, and Update an Input Based on Another Input | [🔗](https://towardsdatascience.com/pywebio-1-3-0-add-tabs-pin-input-and-update-an-input-based-on-another-input-e81a139fefcb) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/applications/pywebio_1_3_0) | Create an App to Deal with Boredom Using PyWebIO | [🔗](https://towardsdatascience.com/create-an-app-to-deal-with-boredom-using-pywebio-d17f3acd1613) | [🔗](https://build.pyweb.io/get/khuyentran1401/bored_app) | Build a Robust Workflow to Visualize Trending GitHub Repositories in Python | [🔗](https://towardsdatascience.com/build-a-robust-workflow-to-visualize-trending-github-repositories-in-python-98f2fc3e9a86) | [🔗](https://github.com/khuyentran1401/analyze_github_feed) # Share Insights | Title | Article | Repository | | ------------- |:-------------:| :-----:| | Introduction to Datapane: A Python Library to Build Interactive Reports | [🔗](https://towardsdatascience.com/introduction-to-datapane-a-python-library-to-build-interactive-reports-4593fd3cb9c8) | | Datapane’s New Features: Create a Beautiful Dashboard in Python in a Few Lines of Code | [🔗](https://towardsdatascience.com/datapanes-new-features-create-a-beautiful-dashboard-in-python-in-a-few-lines-of-code-a3c44523292b) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/data_science_tools/Datapane_new_features) | Introduction to Datasette: Explore and Publish Your Data in One Line of Code | [🔗](https://towardsdatascience.com/introduction-to-datasette-explore-and-publish-your-data-in-one-line-of-code-cbdc40cb4583) | How to Share your Python Objects Across Different Environments in One Line of Code | [🔗](https://towardsdatascience.com/how-to-share-your-python-objects-across-different-environments-in-one-line-of-code-f30a25e5f50e) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/data_science_tools/blob_datapane.ipynb) | | How to Share your Jupyter Notebook in 3 Lines of Code with Ngrok | [🔗](https://towardsdatascience.com/how-to-share-your-jupyter-notebook-in-3-lines-of-code-with-ngrok-bfe1495a9c0c) | | Introduction to Deepnote: Real-time Collaboration on Jupyter Notebook | [🔗](https://pub.towardsai.net/introduction-to-deepnote-real-time-collaboration-on-jupyter-notebook-18509c95d62f) # Cool Tools | Title | Article | Repository | | ------------- |:-------------:| :-----:| | Simulate Real-life Events in Python Using SimPy | [🔗](https://towardsdatascience.com/simulate-real-life-events-in-python-using-simpy-e6d9152a102f) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/applications/simpy_examples) | How to Create Mathematical Animations like 3Blue1Brown Using Python |[🔗](https://towardsdatascience.com/how-to-create-mathematical-animations-like-3blue1brown-using-python-f571fb9da3d1) | [🔗](https://github.com/khuyentran1401/Data-science/tree/master/visualization/manim_exp) # Learning Tips | Title | Article | Repository | | ------------- |:-------------:| :-----:| | How to Learn Data Science when Life does not Give You a Break | [🔗](https://towardsdatascience.com/how-to-learn-data-science-when-life-does-not-give-you-a-break-a26a6ea328fd) | | How to Accelerate your Data Science Career by Putting yourself in the Right Environment | [🔗](https://towardsdatascience.com/how-to-accelerate-your-data-science-career-by-putting-yourself-in-the-right-environment-8316f42a476c) | | To become a Better Data Scientist, you need to Think like a Programmer | [🔗](https://towardsdatascience.com/to-become-a-better-data-scientist-you-need-to-think-like-a-programmer-18d0a00994dc) | | How not to be Overwhelmed with Data Science | [🔗](https://towardsdatascience.com/how-not-to-be-overwhelmed-with-data-science-5a95ff1618f8) # Productive Tips | Title | Article | Repository | | ------------- |:-------------:| :-----:| | How to Organize your Data Science Articles with Github | [🔗](https://towardsdatascience.com/how-to-organize-your-data-science-articles-with-github-b5b9427dad37) | [🔗](https://github.com/khuyentran1401/machine-learning-articles) | | 5 Reasons why you should Switch from Jupyter Notebook to Scripts | [🔗](https://towardsdatascience.com/5-reasons-why-you-should-switch-from-jupyter-notebook-to-scripts-cb3535ba9c95) | | 7 Reasons Why you Should Start Documenting your Code | [🔗](https://towardsdatascience.com/7-reasons-why-you-should-start-documenting-your-code-48c2096de6a7) # VSCode | Title | Article | Repository | | ------------- |:-------------:| :-----:| | How to Leverage Visual Studio Code for your Data Science Projects | [🔗](https://towardsdatascience.com/how-to-leverage-visual-studio-code-for-your-data-science-projects-7078b70a72f0) | | Top 4 Code Viewers for Data Scientist in VSCode | [🔗](https://towardsdatascience.com/top-4-code-viewers-for-data-scientist-in-vscode-e275e492350d) | | Incorporate the Best Practices for Python with These Top 4 VSCode Extensions | [🔗](https://towardsdatascience.com/incorporate-the-best-practices-for-python-with-these-top-4-vscode-extensions-3101177c23a9) | Boost Your Efficiency with Customized Code Snippets on VSCode | [🔗](https://towardsdatascience.com/how-to-boost-your-efficiency-with-customized-code-snippets-on-vscode-8127781788d7) | | Top 9 Keyboard Shortcuts in VSCode for Data Scientists | [🔗](https://towardsdatascience.com/top-9-keyboard-shortcuts-in-vscode-for-data-scientists-468691b65ebe) | # Book Review | Title | Article | Repository | | ------------- |:-------------:| :-----:| | Python Machine Learning: A Comprehensive Handbook for Machine Learning | [🔗](https://medium.com/analytics-vidhya/python-machine-learning-a-comprehensive-handbook-for-machine-learning-63f024c898d0) | # Data Science Portfolio | Title | Article | Repository | | ------------- |:-------------:| :-----:| | How to Create an Elegant Website for your Data Science Portfolio in 10 minutes | [🔗](https://towardsdatascience.com/how-to-create-an-elegant-website-for-your-data-science-portfolio-in-10-minutes-577f77d1f693)| | Build an Impressive Github Profile in 3 Steps | [🔗](https://towardsdatascience.com/build-an-impressive-github-profile-in-3-steps-f1938957d480) # Supporters Special thanks to these supporters for supporting this project! [<img src="img/danny.png" width="100" height="100">](https://github.com/DataWithDanny) [<img src="img/sagar.jpeg" width="100" height="100">](https://www.linkedin.com/in/sagar-ravindra-sonawane/)
3,176
Repository for "Introduction to Artificial Neural Networks and Deep Learning: A Practical Guide with Applications in Python"
![Python 3.6](https://img.shields.io/badge/Python-3.6-blue.svg) ![License](https://img.shields.io/badge/Code%20License-MIT-blue.svg) [![Mailing List](https://img.shields.io/badge/-Mailing%20List-lightgrey.svg)](https://groups.google.com/forum/#!forum/ann-and-dl-book) # Introduction to Artificial Neural Networks and Deep Learning: A Practical Guide with Applications in Python Repository for the book *Introduction to Artificial Neural Networks and Deep Learning: A Practical Guide with Applications in Python*. --- **Deep learning is not just the talk of the town among tech folks. Deep learning allows us to tackle complex problems, training artificial neural networks to recognize complex patterns for image and speech recognition. In this book, we'll continue where we left off in [*Python Machine Learning*](https://github.com/rasbt/python-machine-learning-book) and implement deep learning algorithms in [PyTorch](https://pytorch.org).** --- - This repository will contain the instructions, code examples, and solutions for the *Hands-On* and *Exercise* portions of each chapter. - PDF and ebook versions of the book will be available from [Leanpub](https://leanpub.com/ann-and-deeplearning). [![Deep Learning Book](images/ann-and-deeplearning-cover.jpg)](https://leanpub.com/ann-and-deeplearning) ISBN-10: [TBA] ISBN-13: [TBA] Paperback: est. 2018 --- ## Manuscripts / Early Access Drafts - 01 - Introduction - 02 - The Perceptron - 03 - Optimizing Cost Functions with Gradient Descent - 04 - Logistic Regression and Softmax Regression - 05 - From Softmax Regression to Multilayer Perceptrons - 06 - Cross Validation and Performance Metrics - 07 - Regularization in Neural Networks - 08 - Learning Rates and Weight Initialization - 09 - Convolutional Neural Networks - 10 - Recurrent Neural Networks - 11 - Autoencoders - 12 - General Adverserial Neural Networks - 13 - Deep Generative Models - 14 - Reinforcement Learning #### Supporting Material - Appendix A: Mathematical Notation [[PDF](https://sebastianraschka.com/pdf/books/dlb/appendix_a_math_notation.pdf)] - Appendix B: Algebra Basics [[PDF](https://sebastianraschka.com/pdf/books/dlb/appendix_b_algebra.pdf)] - Appendix C: Linear Algebra Essentials - Appendix D: Calculus and Differentiation Primer [[PDF](https://sebastianraschka.com/pdf/books/dlb/appendix_d_calculus.pdf)] - Appendix E: Probability Theory Overview - Appendix F: Notational Conventions Reference - Appendix G: Python Setup - Appendix H: Introduction to NumPy [[PDF](https://sebastianraschka.com/pdf/books/dlb/appendix_numpy-intro.pdf)] [[Code Notebook](code/appendix_h_numpy-intro/appendix_numpy-intro.ipynb)] - Appendix I: PyTorch Basics - Appendix I (alt.): TensorFlow Basics [[PDF](https://sebastianraschka.com/pdf/books/dlb/appendix_g_tensorflow.pdf)] [[Code Notebook](code/_old-material/appendix_tensorflow-basics/appendix_tensorflow-basics.ipynb)] - Appendix J: Cloud Computing [[PDF](https://sebastianraschka.com/pdf/books/dlb/appendix_cloud-computing.pdf)] #### Model Zoo - **[Model Zoo: A collection of standalone TensorFlow and PyTorch models in Jupyter Notebooks](https://github.com/rasbt/deeplearning-models)** --- ## About the Book Machine learning has become a central part of our life — as consumers, customers, and hopefully as researchers and practitioners! I appreciate all the nice feedback that you sent me about [*Python Machine Learning*](https://github.com/rasbt/python-machine-learning-book), and I am so happy to hear that you found it so useful as a learning guide, helping you with your business applications and research projects. I have received many emails since its release. Also, in these very emails, you were asking me about a possible prequel or sequel. Initially, I was inclined to write more about the "math" parts, which can be a real hurdle for almost everyone without (or even with) a math major in college. Initially, I thought that writing a book about "machine learning math" was a cool thing to do. Now, I have ~15 chapters worth of notes about pre-calculus, calculus, linear algebra, statistics, and probability theory. However, I eventually came to a conclusion that there were too many other math books out there, already! Most of them are far better and more comprehensive and accurate than my potential ~500-page introduction to the topics that I had in store. After all, I think that the real motivation for learning and understanding a subject comes from being excited about it in the first place; if you are passionate about machine learning and you stumble upon the chain rule in calculus, you wouldn't have any problems to find a trusted resource via your favorite search engine these days. So, instead of writing that "prequel," let me write about something that's built upon the concepts that I introduced in the later chapters of [*Python Machine Learning*](https://github.com/rasbt/python-machine-learning-book) -- algorithms for deep learning. After we coded a multi-layer perceptron (a certain kind of feedforward artificial neural network) from scratch, we took a brief look at some Python libraries for implementing deep learning algorithms, and I introduced convolutional and recurrent neural networks on a conceptual level. In this book, I want to continue where I left off and want to implement deep neural networks and algorithms for deep learning algorithms from scratch, using Python, NumPy, and SciPy throughout this educational journey. In addition to the vanilla Python science-stack, we will implement these algorithms in [TensorFlow](https://www.tensorflow.org), highly performant yet very accessible deep learning library for implementing and applying deep learning to real-world problems. ## License ### Code All code in this repository (including the code examples in Jupyter Notebooks) is open source content, released under the [MIT software license](LICENSE). In short, the permissive MIT license allows you to do anything with the code with proper attribution and without warranty; please check the MIT [LICENSE](LICENSE) notice for further details. ### Text and Graphics All non-code content and creative work in this repository, including text and graphics, is under exclusive copyright by the author, Sebastian Raschka. Unless noted otherwise, text content shared in this repository is intended for personal use only. You may use, modify, or share short text passages of this work with proper attribution to the author. However, if you are planning to modify and/or share substantial portions of this book for other writings, such as blog posts, magazine article, or teaching material, contact the author for permission. Figures and graphics marked by a *Creative Commons Attribution-ShareAlike 4.0 International* are free to share under the respective license terms (as listed in the *Creative Commons Attribution-ShareAlike 4.0 International* section in the [LICENSE](LICENSE) file) and proper attribution. ## Acknowledgements I would like to give my special thanks to the readers, who caught various typos and errors and offered suggestions for clarifying my writing. - Appendix A: Artem Sobolev, Ryan Sun - Appendix B: Brett Miller, Ryan Sun - Appendix D: Marcel Blattner, Ignacio Campabadal, Ryan Sun - Appendix F: Guillermo Moncecchi‏, Ged Ridgway - Appendix H: Brett Miller
3,177
Curated list of project-based tutorials
# Project Based Learning [![Gitter](https://badges.gitter.im/practical-tutorials/community.svg)](https://gitter.im/practical-tutorials/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) A list of programming tutorials in which aspiring software developers learn how to build an application from scratch. These tutorials are divided into different primary programming languages. Tutorials may involve multiple technologies and languages. To get started, simply fork this repo. Please refer to [CONTRIBUTING.md](CONTRIBUTING.md) for contribution guidelines. ## Table of Contents: - [C#](#c) - [C/C++](#cc) - [Clojure](#clojure) - [Dart](#dart) - [Elixir](#elixir) - [Erlang](#erlang) - [F#](#f) - [Go](#go) - [Haskell](#haskell) - [HTML/CSS](#html-and-css) - [Java](#java) - [JavaScript](#javascript) - [Kotlin](#kotlin) - [Lua](#lua) - [OCaml](#ocaml) - [PHP](#php) - [Python](#python) - [R](#r) - [Ruby](#ruby) - [Rust](#rust) - [Scala](#scala) - [Swift](#swift) - [Additional resources](#additional-resources) ## C/C++: - [Build an Interpreter](http://www.craftinginterpreters.com/) (Chapter 14 on is written in C) - [Memory Allocators 101 - Write a simple memory allocator](https://arjunsreedharan.org/post/148675821737/memory-allocators-101-write-a-simple-memory) - [Write a Shell in C](https://brennan.io/2015/01/16/write-a-shell-in-c/) - [Write a FUSE Filesystem](https://www.cs.nmsu.edu/~pfeiffer/fuse-tutorial/) - [Build Your Own Text Editor](http://viewsourcecode.org/snaptoken/kilo/) - [Build Your Own Lisp](http://www.buildyourownlisp.com/) - [How to Program an NES Game in C](https://nesdoug.com/) - [Write an OS from scratch](https://github.com/tuhdo/os01) - [How to create an OS from scratch ](https://github.com/cfenollosa/os-tutorial) - [Building a CHIP-8 Emulator](https://austinmorlan.com/posts/chip8_emulator/) - [Beginning Game Programming with C++ and SDL](http://lazyfoo.net/tutorials/SDL/) - [Implementing a Key-Value Store](http://codecapsule.com/2012/11/07/ikvs-implementing-a-key-value-store-table-of-contents/) - Tiny 3D graphics projects - [Tiny Renderer or how OpenGL works: software rendering in 500 lines of code](https://github.com/ssloy/tinyrenderer/wiki) - [Understandable RayTracing in 256 lines of bare C++](https://github.com/ssloy/tinyraytracer/wiki) - [KABOOM! in 180 lines of bare C++](https://github.com/ssloy/tinykaboom/wiki) - [486 lines of C++: old-school FPS in a weekend](https://github.com/ssloy/tinyraycaster/wiki) - Writing a minimal x86-64 JIT compiler in C++ - [Part 1](https://solarianprogrammer.com/2018/01/10/writing-minimal-x86-64-jit-compiler-cpp/) - [Part 2](https://solarianprogrammer.com/2018/01/12/writing-minimal-x86-64-jit-compiler-cpp-part-2/) - [Build a Live Code-reloader Library for C++](http://howistart.org/posts/cpp/1/index.html) - [Write a hash table in C](https://github.com/jamesroutley/write-a-hash-table) - [Let's Build a Simple Database](https://cstack.github.io/db_tutorial/) - [Let's Write a Kernel](http://arjunsreedharan.org/post/82710718100/kernel-101-lets-write-a-kernel) - [Write a Bootloader in C](http://3zanders.co.uk/2017/10/13/writing-a-bootloader/) - [Linux Container in 500 Lines of Code](https://blog.lizzie.io/linux-containers-in-500-loc.html) - [Write Your Own Virtual Machine](https://justinmeiners.github.io/lc3-vm/) - [Learning KVM - Implement Your Own Linux Kernel](https://david942j.blogspot.com/2018/10/note-learning-kvm-implement-your-own.html) - Write a C compiler - [Part 1: Integers, Lexing and Code Generation](https://norasandler.com/2017/11/29/Write-a-Compiler.html) - [Part 2: Unary Operators](https://norasandler.com/2017/12/05/Write-a-Compiler-2.html) - [Part 3: Binary Operators](https://norasandler.com/2017/12/15/Write-a-Compiler-3.html) - [Part 4: Even More Binary Operators](https://norasandler.com/2017/12/28/Write-a-Compiler-4.html) - [Part 5: Local Variables](https://norasandler.com/2018/01/08/Write-a-Compiler-5.html) - [Part 6: Conditionals](https://norasandler.com/2018/02/25/Write-a-Compiler-6.html) - [Part 7: Compound Statements](https://norasandler.com/2018/03/14/Write-a-Compiler-7.html) - [Part 8: Loops](https://norasandler.com/2018/04/10/Write-a-Compiler-8.html) - [Part 9: Functions](https://norasandler.com/2018/06/27/Write-a-Compiler-9.html) - [Part 10: Global Variables](https://norasandler.com/2019/02/18/Write-a-Compiler-10.html) - [Implementing a Language with LLVM](https://llvm.org/docs/tutorial/#kaleidoscope-implementing-a-language-with-llvm) - [Meta Crush Saga: a C++17 compile-time game](https://jguegant.github.io//jguegant.github.io/blogs/tech/meta-crush-saga.html) - [High-Performance Matrix Multiplication](https://gist.github.com/nadavrot/5b35d44e8ba3dd718e595e40184d03f0) - Space Invaders from Scratch - [Part 1](http://nicktasios.nl/posts/space-invaders-from-scratch-part-1.html) - [Part 2](http://nicktasios.nl/posts/space-invaders-from-scratch-part-2.html) - [Part 3](http://nicktasios.nl/posts/space-invaders-from-scratch-part-3.html) - [Part 4](http://nicktasios.nl/posts/space-invaders-from-scratch-part-4.html) - [Part 5](http://nicktasios.nl/posts/space-invaders-from-scratch-part-5.html) - [Tetris Tutorial in C++ Platform Independent](http://javilop.com/gamedev/tetris-tutorial-in-c-platform-independent-focused-in-game-logic-for-beginners/) - Writing a Linux Debugger - [Part 1: Setup](https://blog.tartanllama.xyz/writing-a-linux-debugger-setup/) - [Part 2: Breakpoints](https://blog.tartanllama.xyz/writing-a-linux-debugger-breakpoints/) - [Part 3: Registers and memory](https://blog.tartanllama.xyz/writing-a-linux-debugger-registers/) - [Part 4: Elves and dwarves](https://blog.tartanllama.xyz/writing-a-linux-debugger-elf-dwarf/) - [Part 5: Source and signals](https://blog.tartanllama.xyz/writing-a-linux-debugger-source-signal/) - [Part 6: Source-level stepping](https://blog.tartanllama.xyz/writing-a-linux-debugger-dwarf-step/) - [Part 7: Source-level breakpoints](https://blog.tartanllama.xyz/writing-a-linux-debugger-source-break/) - [Part 8: Stack unwinding](https://blog.tartanllama.xyz/writing-a-linux-debugger-unwinding/) - [Part 9: Handling variables](https://blog.tartanllama.xyz/writing-a-linux-debugger-variables/) - [Part 10: Advanced topics](https://blog.tartanllama.xyz/writing-a-linux-debugger-advanced-topics/) - Let's write a compiler - [Part 1: Introduction, selecting a language, and doing some planning](https://briancallahan.net/blog/20210814.html) - [Part 2: A lexer](https://briancallahan.net/blog/20210815.html) - [Part 3: A parser](https://briancallahan.net/blog/20210816.html) - [Part 4: Testing](https://briancallahan.net/blog/20210817.html) - [Part 5: A code generator](https://briancallahan.net/blog/20210818.html) - [Part 6: Input and output](https://briancallahan.net/blog/20210819.html) - [Part 7: Arrays](https://briancallahan.net/blog/20210822.html) - [Part 8: Strings, forward references, and conclusion](https://briancallahan.net/blog/20210826.html) ### Network programming - Let's Code a TCP/IP Stack - [Part 1: Ethernet & ARP](http://www.saminiir.com/lets-code-tcp-ip-stack-1-ethernet-arp/) - [Part 2: IPv4 & ICMPv4](http://www.saminiir.com/lets-code-tcp-ip-stack-2-ipv4-icmpv4/) - [Part 3: TCP Basics & Handshake](http://www.saminiir.com/lets-code-tcp-ip-stack-3-tcp-handshake/) - [Part 4: TCP Data Flow & Socket API](http://www.saminiir.com/lets-code-tcp-ip-stack-4-tcp-data-flow-socket-api/) - [Part 5: TCP Retransmission](http://www.saminiir.com/lets-code-tcp-ip-stack-5-tcp-retransmission/) - Programming concurrent servers - [Part 1 - Introduction](https://eli.thegreenplace.net/2017/concurrent-servers-part-1-introduction/) - [Part 2 - Threads](https://eli.thegreenplace.net/2017/concurrent-servers-part-2-threads/) - [Part 3 - Event-driven](https://eli.thegreenplace.net/2017/concurrent-servers-part-3-event-driven/) - [Part 4 - libuv](https://eli.thegreenplace.net/2017/concurrent-servers-part-4-libuv/) - [Part 5 - Redis case study](https://eli.thegreenplace.net/2017/concurrent-servers-part-5-redis-case-study/) - [Part 6 - Callbacks, Promises and async/await](https://eli.thegreenplace.net/2018/concurrent-servers-part-6-callbacks-promises-and-asyncawait/) - MQTT Broker from scratch - [Part 1 - The protocol](https://codepr.github.io/posts/sol-mqtt-broker) - [Part 2 - Networking](https://codepr.github.io/posts/sol-mqtt-broker-p2) - [Part 3 - Server](https://codepr.github.io/posts/sol-mqtt-broker-p3) - [Part 4 - Data structures](https://codepr.github.io/posts/sol-mqtt-broker-p4) - [Part 5 - Topic abstraction](https://codepr.github.io/posts/sol-mqtt-broker-p5) - [Part 6 - Handlers](https://codepr.github.io/posts/sol-mqtt-broker-p6) - [Bonus - Multithreading](https://codepr.github.io/posts/sol-mqtt-broker-bonus) ### OpenGL: - Creating 2D Breakout game clone in C++ with OpenGL - [Breakout](https://learnopengl.com/In-Practice/2D-Game/Breakout) - [Setting up](https://learnopengl.com/In-Practice/2D-Game/Setting-up) - [Rendering Sprites](https://learnopengl.com/In-Practice/2D-Game/Rendering-Sprites) - [Levels](https://learnopengl.com/In-Practice/2D-Game/Levels) - Collisions - [Ball](https://learnopengl.com/In-Practice/2D-Game/Collisions/Ball) - [Collision detection](https://learnopengl.com/In-Practice/2D-Game/Collisions/Collision-detection) - [Collision resolution](https://learnopengl.com/In-Practice/2D-Game/Collisions/Collision-resolution) - [Particles](https://learnopengl.com/In-Practice/2D-Game/Particles) - [Postprocessing](https://learnopengl.com/In-Practice/2D-Game/Postprocessing) - [Powerups](https://learnopengl.com/In-Practice/2D-Game/Powerups) - [Audio](https://learnopengl.com/In-Practice/2D-Game/Audio) - [Render text](https://learnopengl.com/In-Practice/2D-Game/Render-text) - [Final thoughts](https://learnopengl.com/In-Practice/2D-Game/Final-thoughts) - [Handmade Hero](https://handmadehero.org) - [How to Make Minecraft in C++/OpenGL](https://www.youtube.com/playlist?list=PLMZ_9w2XRxiZq1vfw1lrpCMRDufe2MKV_) (video) ## C#: - [Learn C# By Building a Simple RPG Game](http://scottlilly.com/learn-c-by-building-a-simple-rpg-index/) - [Create a Rogue-like game in C#](https://roguesharp.wordpress.com/) - [Create a Blank App with C# and Xamarin (work in progress)](https://www.intertech.com/Blog/xamarin-tutorial-part-1-create-a-blank-app/) - [Build iOS Photo Library App with Xamarin and Visual Studio](https://www.raywenderlich.com/134049/building-ios-apps-with-xamarin-and-visual-studio) - [Building the CoreWiki](https://www.youtube.com/playlist?list=PLVMqA0_8O85yC78I4Xj7z48ES48IQBa7p) This is a Wiki-style content management system that has been completely written in C# with ASP.NET Core and Razor Pages. You can find the source code [here](https://github.com/csharpfritz/CoreWiki). ## Clojure: - [Build a Twitter Bot with Clojure](http://howistart.org/posts/clojure/1/index.html) - [Building a Spell-Checker](https://bernhardwenzel.com/articles/clojure-spellchecker/) - [Building a JIRA integration with Clojure & Atlassian Connect](https://hackernoon.com/building-a-jira-integration-with-clojure-atlassian-connect-506ebd112807) - [Prototyping with Clojure](https://github.com/aliaksandr-s/prototyping-with-clojure) - [Tetris in ClojureScript](https://shaunlebron.github.io/t3tr0s-slides) ## Dart: ### Flutter: - [Amazon Clone with Admin Panel](https://youtu.be/O3nmP-lZAdg) - [Food Delivery App](https://youtu.be/7dAt-JMSCVQ) - [Google Docs Clone](https://youtu.be/0_GJ1w_iG44) - [Instagram Clone](https://youtu.be/mEPm9w5QlJM) - [Multiplayer TicTacToe Game](https://youtu.be/Aut-wfXacXg) - [TikTok Clone](https://youtu.be/4E4V9F3cbp4) - [Ticket Booking App](https://youtu.be/71AsYo2q_0Y) - [Travel App](https://youtu.be/x4DydJKVvQk) - [Twitch Clone](https://youtu.be/U9YKZrDX0CQ) - [WhatsApp Clone](https://youtu.be/yqwfP2vXWJQ) - [Wordle Clone](https://youtu.be/_W0RN_Cqhpg) - [Zoom Clone](https://youtu.be/sMA1dKbv33Y) ## Elixir - [Building a Simple Chat App With Elixir and Phoenix](https://sheharyar.me/blog/simple-chat-phoenix-elixir/) - [How to write a super fast link shortener with Elixir, Phoenix, and Mnesia](https://medium.com/free-code-camp/how-to-write-a-super-fast-link-shortener-with-elixir-phoenix-and-mnesia-70ffa1564b3c) ## Erlang - [ChatBus : build your first multi-user chat room app with Erlang/OTP](https://medium.com/@kansi/chatbus-build-your-first-multi-user-chat-room-app-with-erlang-otp-b55f72064901) - [Making a Chat App with Erlang, Rebar, Cowboy and Bullet](http://marianoguerra.org/posts/making-a-chat-app-with-erlang-rebar-cowboy-and-bullet.html) ## F#: - [Write your own Excel in 100 lines of F#](http://tomasp.net/blog/2018/write-your-own-excel) ## Java: - [Build an Interpreter](http://www.craftinginterpreters.com/) (Chapter 4-13 is written in Java) - [Build a Simple HTTP Server with Java](http://javarevisited.blogspot.com/2015/06/how-to-create-http-server-in-java-serversocket-example.html) - [Build an Android Flashlight App](https://www.youtube.com/watch?v=dhWL4DC7Krs) (video) - [Build a Spring Boot App with User Authentication](https://spring.io/guides/gs/securing-web/) ## JavaScript: - [Build 30 things in 30 days with 30 tutorials](https://javascript30.com) - [Build an App in Pure JS](https://medium.com/codingthesmartway-com-blog/pure-javascript-building-a-real-world-application-from-scratch-5213591cfcd6) - [Build a Jupyter Notebook Extension](https://link.medium.com/wWUO7TN8SS) - [Build a TicTacToe Game with JavaScript](https://medium.com/javascript-in-plain-english/build-tic-tac-toe-game-using-javascript-3afba3c8fdcc) - [Build a Simple Weather App With Vanilla JavaScript](https://webdesign.tutsplus.com/tutorials/build-a-simple-weather-app-with-vanilla-javascript--cms-33893) - [Build a Todo List App in JavaScript](https://github.com/dwyl/javascript-todo-list-tutorial) ## HTML and CSS: - [Build A Loading Screen](https://medium.freecodecamp.org/how-to-build-a-delightful-loading-screen-in-5-minutes-847991da509f) - [Build an HTML Calculator with JS](https://medium.freecodecamp.org/how-to-build-an-html-calculator-app-from-scratch-using-javascript-4454b8714b98) - [Build Snake using only JavaScript, HTML & CSS](https://www.freecodecamp.org/news/think-like-a-programmer-how-to-build-snake-using-only-javascript-html-and-css-7b1479c3339e/) ### Mobile Application: - [Build a React Native Todo Application](https://egghead.io/courses/build-a-react-native-todo-application) - [Build a React Native Application with Redux Thunk](https://medium.com/@alialhaddad/how-to-use-redux-thunk-in-react-and-react-native-4743a1321bd0) ### Web Applications: #### React: - [Create Serverless React.js Apps](http://serverless-stack.com/) - [Create a Trello Clone](http://codeloveandboards.com/blog/2016/01/04/trello-tribute-with-phoenix-and-react-pt-1/) - [Create a Character Voting App with React, Node, MongoDB and SocketIO](http://sahatyalkabov.com/create-a-character-voting-app-using-react-nodejs-mongodb-and-socketio) - [React Tutorial: Cloning Yelp](https://www.fullstackreact.com/articles/react-tutorial-cloning-yelp/) - [Build a Full Stack Movie Voting App with Test-First Development using Mocha, React, Redux and Immutable](https://teropa.info/blog/2015/09/10/full-stack-redux-tutorial.html) - [Build a Twitter Stream with React and Node](https://scotch.io/tutorials/build-a-real-time-twitter-stream-with-node-and-react-js) - [Build A Simple Medium Clone using React.js and Node.js](https://medium.com/@kris101/clone-medium-on-node-js-and-react-js-731cdfbb6878) - [Integrate MailChimp in JS](https://medium.freecodecamp.org/how-to-integrate-mailchimp-in-a-javascript-web-app-2a889fb43f6f) - [Build A Chrome Extension with React + Parcel](https://medium.freecodecamp.org/building-chrome-extensions-in-react-parcel-79d0240dd58f) - [Build A ToDo App With React Native](https://blog.hasura.io/tutorial-fullstack-react-native-with-graphql-and-authentication-18183d13373a) - [Make a Chat Application](https://medium.freecodecamp.org/how-to-build-a-chat-application-using-react-redux-redux-saga-and-web-sockets-47423e4bc21a) - [Create a News App with React Native](https://medium.freecodecamp.org/create-a-news-app-using-react-native-ced249263627) - [Learn Webpack For React](https://medium.freecodecamp.org/learn-webpack-for-react-a36d4cac5060) - [Testing React App With Puppeteer and Jest](https://blog.bitsrc.io/testing-your-react-app-with-puppeteer-and-jest-c72b3dfcde59) - [Build Your Own React Boilerplate](https://medium.freecodecamp.org/how-to-build-your-own-react-boilerplate-2f8cbbeb9b3f) - [Code The Game Of Life With React](https://medium.freecodecamp.org/create-gameoflife-with-react-in-one-hour-8e686a410174) - [A Basic React+Redux Introductory Tutorial](https://hackernoon.com/a-basic-react-redux-introductory-tutorial-adcc681eeb5e) - [Build an Appointment Scheduler](https://hackernoon.com/build-an-appointment-scheduler-using-react-twilio-and-cosmic-js-95377f6d1040) - [Build A Chat App with Sentiment Analysis](https://codeburst.io/build-a-chat-app-with-sentiment-analysis-using-next-js-c43ebf3ea643) - [Build A Full Stack Web Application Setup](https://hackernoon.com/full-stack-web-application-using-react-node-js-express-and-webpack-97dbd5b9d708) - [Create Todoist clone with React and Firebase](https://www.youtube.com/watch?v=hT3j87FMR6M) - Build A Random Quote Machine - [Part 1](https://www.youtube.com/watch?v=3QngsWA9IEE) - [Part 2](https://www.youtube.com/watch?v=XnoTmO06OYo) - [Part 3](https://www.youtube.com/watch?v=us51Jne67_I) - [Part 4](https://www.youtube.com/watch?v=iZx7hqHb5MU) - [Part 5](https://www.youtube.com/watch?v=lpba9vBqXl0) - [Part 6](https://www.youtube.com/watch?v=Jvp8j6zrFHE) - [Part 7](https://www.youtube.com/watch?v=M_hFfrN8_PQ) - [React Phone E-Commerce Project(video)](https://www.youtube.com/watch?v=-edmQKcOW8s) #### Angular: - [Build an Instagram Clone with Angular 1.x](https://hackhands.com/building-instagram-clone-angularjs-satellizer-nodejs-mongodb/) - Build an offline-capable Hacker News client with Angular 2+ - [Part 1](https://houssein.me/angular2-hacker-news) - [Part 2](https://houssein.me/progressive-angular-applications) - [Build a Google+ clone with Django and AngularJS (Angular 1.x)](https://thinkster.io/django-angularjs-tutorial) - Build A Beautiful Real World App with Angular 8 : - [Part I](https://medium.com/@hamedbaatour/build-a-real-world-beautiful-web-app-with-angular-6-a-to-z-ultimate-guide-2018-part-i-e121dd1d55e) - [Part II](https://medium.com/@hamedbaatour/build-a-real-world-beautiful-web-app-with-angular-8-the-ultimate-guide-2019-part-ii-fe70852b2d6d) - [Build Responsive layout with BootStrap 4 and Angular 6](https://medium.com/@tomastrajan/how-to-build-responsive-layouts-with-bootstrap-4-and-angular-6-cfbb108d797b) - ToDo App with Angular 5 - [Introduction to Angular](http://www.discoversdk.com/blog/intro-to-angular-and-the-evolution-of-the-web) - [Part 1](http://www.discoversdk.com/blog/angular-5-to-do-list-app-part-1) #### Node: - [Build a real-time Markdown Editor with NodeJS](https://scotch.io/tutorials/building-a-real-time-markdown-viewer) - [Test-Driven Development with Node, Postgres and Knex](http://mherman.org/blog/2016/04/28/test-driven-development-with-node/) - Write a Twitter Bot in Node.js - [Part 1](https://codeburst.io/build-a-simple-twitter-bot-with-node-js-in-just-38-lines-of-code-ed92db9eb078) - [Part 2](https://codeburst.io/build-a-simple-twitter-bot-with-node-js-part-2-do-more-2ef1e039715d) - [Build A Simple Search Bot in 30 minutes](https://medium.freecodecamp.org/how-to-build-a-simple-search-bot-in-30-minutes-eb56fcedcdb1) - [Build A Job Scraping Web App](https://medium.freecodecamp.org/how-i-built-a-job-scraping-web-app-using-node-js-and-indreed-7fbba124bbdc) - [Building a GitHub App](https://blog.scottlogic.com/2017/05/22/gifbot-github-integration.html) - How to build your own Uber-for-X App using JavaScript, Node.JS, MongoDB and Web Sockets - [Part 1](https://www.ashwinhariharan.tech/blog/how-to-build-your-own-uber-for-x-app/) - [Part 2](https://www.ashwinhariharan.tech/blog/how-to-build-your-own-uber-for-x-app-part-2/) #### Vue - [Vue 2 + Firebase: How to build a Vue app with Firebase authentication system in 15 minutes](https://medium.com/@anas.mammeri/vue-2-firebase-how-to-build-a-vue-app-with-firebase-authentication-system-in-15-minutes-fdce6f289c3c) - [Vue.js Application Tutorial – Creating a Simple Budgeting App with Vue](https://matthiashager.com/complete-vuejs-application-tutorial/) - [Build a Blog with Vue, GraphQL and Apollo](https://scotch.io/tutorials/build-a-blog-with-vue-graphql-and-apollo-client) - Build a full stack web application using MEVN (MongoDB, Express, Vue, Node) stack - [Part 1](https://medium.com/@anaida07/mevn-stack-application-part-1-3a27b61dcae0) - [Part 2](https://medium.com/@anaida07/mevn-stack-application-part-2-2-9ebcf8a22753) - [Vue.js To-Do List Tutorial (video)](https://www.youtube.com/watch?v=78tNYZUS-ps) - [Vue 2 + Pub/Sub: Build a peer to peer multi-user platform for games](https://www.ably.io/tutorials/peer-to-peer-vue) #### Others (Hapi, Express...): - Build a Progressive Web Application (PWA) - [Part 1](https://bitsofco.de/bitsofcode-pwa-part-1-offline-first-with-service-worker/) - [Part 2](https://bitsofco.de/bitsofcode-pwa-part-2-instant-loading-with-indexeddb/) - [Part 3](https://bitsofco.de/bitsofcode-pwa-part-3-push-notifications/) - [Build A Native Desktop App with JS](https://medium.freecodecamp.org/build-native-desktop-apps-with-javascript-a49ede90d8e9) - Build a Powerful API with NodeJs,GraphQL and Hapi - [Part I](https://medium.com/@wesharehoodies/how-to-setup-a-powerful-api-with-nodejs-graphql-mongodb-hapi-and-swagger-e251ac189649) #### D3.js - [Learn D3 using examples](https://www.sitepoint.com/d3-js-data-visualizations/) - [Learn To Make A Line Chart](https://medium.freecodecamp.org/learn-to-create-a-line-chart-using-d3-js-4f43f1ee716b) ### Game Development: - [Make 2D Breakout Game using Phaser](https://developer.mozilla.org/en-US/docs/Games/Tutorials/2D_breakout_game_Phaser) - Make Flappy Bird in HTML5 and JavaScript with Phaser - [Part 1](http://www.lessmilk.com/tutorial/flappy-bird-phaser-1) - [Part 2](http://www.lessmilk.com/tutorial/flappy-bird-phaser-2) ### Desktop Application: - [Build A Desktop Chat App with React and Electron](https://medium.freecodecamp.org/build-a-desktop-chat-app-with-react-electron-and-chatkit-744d168e6f2f) ### Miscellaneous: - [How to Build a Web Framework in Less Than 20 Lines of Code](https://www.pubnub.com/blog/build-yourself-a-web-framework-in-less-than-20-lines-of-code/) - [Build Yourself a Redux](https://zapier.com/engineering/how-to-build-redux/) - [How to write your own Virtual DOM](https://medium.com/@deathmood/how-to-write-your-own-virtual-dom-ee74acc13060) - [Build A Realtime Serverless GraphQL API with WebSockets on AWS](https://andrewgriffithsonline.com/blog/serverless-websockets-on-aws/) ## Kotlin: - [Keddit - Learn Kotlin While Developing an Android Application](https://medium.com/@juanchosaravia/learn-kotlin-while-developing-an-android-app-introduction-567e21ff9664) ## Lua: ### LÖVE: - BYTEPATH: Creation of a Complete Game with Lua and LÖVE - [Part 0: Introduction](https://github.com/SSYGEN/blog/issues/30) - [Part 1: Game Loop](https://github.com/SSYGEN/blog/issues/15) - [Part 2: Libraries](https://github.com/SSYGEN/blog/issues/16) - [Part 3: Rooms and Areas](https://github.com/SSYGEN/blog/issues/17) - [Part 4: Exercises](https://github.com/SSYGEN/blog/issues/18) - [Part 5: Game Basics](https://github.com/SSYGEN/blog/issues/19) - [Part 6: Player Basics](https://github.com/SSYGEN/blog/issues/20) - [Part 7: Player Stats and Attacks](https://github.com/SSYGEN/blog/issues/21) - [Part 8: Enemies](https://github.com/SSYGEN/blog/issues/22) - [Part 9: Director and Gameplay Loop](https://github.com/SSYGEN/blog/issues/23) - [Part 10: Coding Practices](https://github.com/SSYGEN/blog/issues/24) - [Part 11: Passives](https://github.com/SSYGEN/blog/issues/25) - [Part 12: More Passives](https://github.com/SSYGEN/blog/issues/26) - [Part 13: Skill Tree](https://github.com/SSYGEN/blog/issues/27) - [Part 14: Console](https://github.com/SSYGEN/blog/issues/28) - [Part 15: Final](https://github.com/SSYGEN/blog/issues/29) ## Python: ### Web Scraping: - [Mining Twitter Data with Python](https://marcobonzanini.com/2015/03/02/mining-twitter-data-with-python-part-1/) - [Scrape a Website with Scrapy and MongoDB](https://realpython.com/blog/python/web-scraping-with-scrapy-and-mongodb/) - [How To Scrape With Python and Selenium WebDriver](http://www.byperth.com/2018/04/25/guide-web-scraping-101-what-you-need-to-know-and-how-to-scrape-with-python-selenium-webdriver/) - [Which Movie Should I Watch using BeautifulSoup](https://medium.com/@nishantsahoo.in/which-movie-should-i-watch-5c83a3c0f5b1) ### Web Applications: - [Build a Microblog with Flask](https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world) - [Create a Blog Web App In Django](https://tutorial.djangogirls.org/en/) - [Choose Your Own Adventure Presentations](https://www.twilio.com/blog/2015/03/choose-your-own-adventures-presentations-wizard-mode-part-1-of-3.html) - [Build a Todo List with Flask and RethinkDB](https://realpython.com/blog/python/rethink-flask-a-simple-todo-list-powered-by-flask-and-rethinkdb/) - [Build a Todo List with Django and Test-Driven Development](http://www.obeythetestinggoat.com/) - [Build a RESTful Microservice in Python](http://www.skybert.net/python/developing-a-restful-micro-service-in-python/) - [Microservices with Docker, Flask, and React](https://testdriven.io/) - [Build A Simple Web App With Flask](https://pythonspot.com/flask-web-app-with-python/) - [Create A Django API in under 20 minutes](https://codeburst.io/create-a-django-api-in-under-20-minutes-2a082a60f6f3) - Build a Community-driven delivery application with Django, Postgres and JavaScript - [Part 1](https://www.ashwinhariharan.tech/blog/thinking-of-building-a-contact-tracing-application-heres-what-you-can-do-instead/) - [Part 2](https://www.ashwinhariharan.tech/blog/thinking-of-building-a-contact-tracing-application-heres-what-you-can-do-instead-part-2/) - Realtime Chat application with Vue, django-notifs, RabbitMQ and uWSGI - [Part 1](https://danidee10.github.io/2018/01/01/realtime-django-1.html) - [Part 2](https://danidee10.github.io/2018/01/03/realtime-django-2.html) - [Part 3](https://danidee10.github.io/2018/01/07/realtime-django-3.html) - [Part 4](https://danidee10.github.io/2018/01/10/realtime-django-4.html) - [Part 5](https://danidee10.github.io/2018/01/13/realtime-django-5.html) - [Part 6](https://danidee10.github.io/2018/03/12/realtime-django-6.html) ### Bots: - [Build a Reddit Bot](http://pythonforengineers.com/build-a-reddit-bot-part-1/) - [How to Make a Reddit Bot - YouTube](https://www.youtube.com/watch?v=krTUf7BpTc0) (video) - [Build a Facebook Messenger Bot](https://blog.hartleybrody.com/fb-messenger-bot/) - [Making a Reddit + Facebook Messenger Bot](https://pythontips.com/2017/04/13/making-a-reddit-facebook-messenger-bot/) - How To Create a Telegram Bot Using Python - [Part 1](https://khashtamov.com/en/how-to-create-a-telegram-bot-using-python/) - [Part 2](https://khashtamov.com/en/how-to-deploy-telegram-bot-django/) - [Create a Twitter Bot In Python](https://medium.freecodecamp.org/creating-a-twitter-bot-in-python-with-tweepy-ac524157a607) ### Data Science: - Learn Python For Data Science by Doing Several Projects (video): - [Part 1: Introduction](https://www.youtube.com/watch?v=T5pRlIbr6gg) - [Part 2: Twitter Sentiment Analysis](https://www.youtube.com/watch?v=o_OZdbCzHUA) - [Part 3: Recommendation Systems](https://www.youtube.com/watch?v=9gBC9R-msAk&list=PL2-dafEMk2A6QKz1mrk1uIGfHkC1zZ6UU&index=3) - [Part 4: Predicting Stock Prices](https://www.youtube.com/watch?v=SSu00IRRraY&index=4&list=PL2-dafEMk2A6QKz1mrk1uIGfHkC1zZ6UU) - [Part 5: Deep Dream in TensorFlow](https://www.youtube.com/watch?v=MrBzgvUNr4w&list=PL2-dafEMk2A6QKz1mrk1uIGfHkC1zZ6UU&index=5) - [Part 6: Genetic Algorithms](https://www.youtube.com/watch?v=dSofAXnnFrY&index=6&list=PL2-dafEMk2A6QKz1mrk1uIGfHkC1zZ6UU) ### Machine Learning: - [Write Linear Regression From Scratch in Python](https://www.youtube.com/watch?v=uwwWVAgJBcM) (video) - [Step-By-Step Machine Learning In Python](https://machinelearningmastery.com/machine-learning-in-python-step-by-step/) - [Predict Quality Of Wine](https://medium.freecodecamp.org/using-machine-learning-to-predict-the-quality-of-wines-9e2e13d7480d) - [Solving A Fruits Classification Problem](https://towardsdatascience.com/solving-a-simple-classification-problem-with-python-fruits-lovers-edition-d20ab6b071d2) - [Learn Unsupervised Learning with Python](https://scikit-learn.org/stable/unsupervised_learning.html) - [Build Your Own Neural Net from Scratch in Python](https://towardsdatascience.com/how-to-build-your-own-neural-network-from-scratch-in-python-68998a08e4f6) - [Linear Regression in Python without sklearn](https://medium.com/we-are-orb/linear-regression-in-python-without-scikit-learn-50aef4b8d122) - [Multivariate Linear Regression without sklearn](https://medium.com/we-are-orb/multivariate-linear-regression-in-python-without-scikit-learn-7091b1d45905) - [Music Recommender using KNN](https://towardsdatascience.com/how-to-build-a-simple-song-recommender-296fcbc8c85) - Find Similar Quora Questions- - [Using BOW, TFIDF and Xgboost](https://towardsdatascience.com/finding-similar-quora-questions-with-bow-tfidf-and-random-forest-c54ad88d1370) - [Using Word2Vec and Xgboost](https://towardsdatascience.com/finding-similar-quora-questions-with-word2vec-and-xgboost-1a19ad272c0d) - [Detecting Fake News with Python and Machine Learning](https://data-flair.training/blogs/advanced-python-project-detecting-fake-news/) ### OpenCV: - [Build A Document Scanner](https://www.pyimagesearch.com/2014/09/01/build-kick-ass-mobile-document-scanner-just-5-minutes/) - [Build A Face Detector using OpenCV and Deep Learning](https://www.pyimagesearch.com/2018/02/26/face-detection-with-opencv-and-deep-learning/) - [Build fastest custom object Detection system yusing YOLOv3(video playlist)](https://www.youtube.com/playlist?list=PLKHYJbyeQ1a0oGzgRXy-QwAN1tSV4XZxg) - [Build a Face Recognition System using OpenCV, Python and Deep Learning](https://www.pyimagesearch.com/2018/06/18/face-recognition-with-opencv-python-and-deep-learning/) - [Detect The Salient Features in an Image](https://www.pyimagesearch.com/2018/07/16/opencv-saliency-detection/) - [Build A Barcode Scanner](https://www.pyimagesearch.com/2018/05/21/an-opencv-barcode-and-qr-code-scanner-with-zbar/) - [Learn Face Clustering with Python](https://www.pyimagesearch.com/2018/07/09/face-clustering-with-python/) - [Object Tracking with Camshift](https://www.pyimagesearch.com/wp-content/uploads/2014/11/opencv_crash_course_camshift.pdf) - [Semantic Segmentation with OpenCV and Deep Learning](https://www.pyimagesearch.com/2018/09/03/semantic-segmentation-with-opencv-and-deep-learning/) - [Text Detection in Images and Videos](https://www.pyimagesearch.com/2018/08/20/opencv-text-detection-east-text-detector/) - [People Counter using OpenCV](https://www.pyimagesearch.com/2018/08/13/opencv-people-counter/) - [Tracking Multiple Objects with OpenCV](https://www.pyimagesearch.com/2018/08/06/tracking-multiple-objects-with-opencv/) - [Neural Style Transfer with OpenCV](https://www.pyimagesearch.com/2018/08/27/neural-style-transfer-with-opencv/) - [OpenCV OCR and Text Recognition](https://www.pyimagesearch.com/2018/09/17/opencv-ocr-and-text-recognition-with-tesseract/) - [Text Skew Correction Tutorial](https://www.pyimagesearch.com/2017/02/20/text-skew-correction-opencv-python/) - [Facial Landmark Detection Tutorial](https://www.pyimagesearch.com/2017/04/03/facial-landmarks-dlib-opencv-python/) - [Object Detection using Mask-R-CNN](https://www.learnopencv.com/deep-learning-based-object-detection-and-instance-segmentation-using-mask-r-cnn-in-opencv-python-c/) - [Automatic Target Detection Tutorial](https://www.pyimagesearch.com/2015/05/04/target-acquired-finding-targets-in-drone-and-quadcopter-video-streams-using-python-and-opencv/) - [EigenFaces using OpenCV](https://www.learnopencv.com/eigenface-using-opencv-c-python/) - [Faster(5-point) Facial Landmark Detection Tutorial](https://www.pyimagesearch.com/2018/04/02/faster-facial-landmark-detector-with-dlib/) - [Hand Keypoint Detection](https://www.learnopencv.com/hand-keypoint-detection-using-deep-learning-and-opencv/) - Dlib Correlation Object Tracking - - [Single Object Tracker](https://www.pyimagesearch.com/2018/10/22/object-tracking-with-dlib/) - [Mutiple Object Tracker](https://www.pyimagesearch.com/2018/10/29/multi-object-tracking-with-dlib/) - [Image Stitching with OpenCV and Python](https://www.pyimagesearch.com/2018/12/17/image-stitching-with-opencv-and-python/) - [Instance Segmentation with OpenCV](https://www.pyimagesearch.com/2018/11/26/instance-segmentation-with-opencv/) - [Face mask detector](https://www.pyimagesearch.com/2020/05/04/covid-19-face-mask-detector-with-opencv-keras-tensorflow-and-deep-learning/) ### Deep Learning: - [Using Convolutional Neural Nets to Detect Facial Keypoints](http://danielnouri.org/notes/2014/12/17/using-convolutional-neural-nets-to-detect-facial-keypoints-tutorial/) - [Generate an Average Face using Python and OpenCV](https://www.learnopencv.com/average-face-opencv-c-python-tutorial/) - [Break A Captcha System using CNNs](https://medium.com/@ageitgey/how-to-break-a-captcha-system-in-15-minutes-with-machine-learning-dbebb035a710) - [Use pre-trained Inception model to provide image predictions](https://medium.com/google-cloud/keras-inception-v3-on-google-compute-engine-a54918b0058) - [Create your first CNN](https://hackernoon.com/deep-learning-cnns-in-tensorflow-with-gpus-cba6efe0acc2) - [Build A Facial Recognition Pipeline](https://hackernoon.com/building-a-facial-recognition-pipeline-with-deep-learning-in-tensorflow-66e7645015b8) - [Build An Image Caption Generator](https://medium.freecodecamp.org/building-an-image-caption-generator-with-deep-learning-in-tensorflow-a142722e9b1f) - [Make your Own Face Recognition System](https://medium.freecodecamp.org/making-your-own-face-recognition-system-29a8e728107c) - [Train a Language Detection AI in 20 minutes](https://towardsdatascience.com/how-i-trained-a-language-detection-ai-in-20-minutes-with-a-97-accuracy-fdeca0fb7724) - [Object Detection With Neural Networks](https://towardsdatascience.com/object-detection-with-neural-networks-a4e2c46b4491) - Learn Twitter Sentiment Analysis - - [Part I - Data Cleaning](https://towardsdatascience.com/another-twitter-sentiment-analysis-bb5b01ebad90) - [Part II - EDA, Data Visualisation](https://towardsdatascience.com/another-twitter-sentiment-analysis-with-python-part-2-333514854913) - [Part III - Zipf's Law, Data Visualisation](https://towardsdatascience.com/another-twitter-sentiment-analysis-with-python-part-3-zipfs-law-data-visualisation-fc9eadda71e7) - [Part IV - Feature Extraction(count vectoriser)](https://towardsdatascience.com/another-twitter-sentiment-analysis-with-python-part-4-count-vectorizer-b3f4944e51b5) - [Part V - Feature Extraction(Tfidf vectoriser)](https://towardsdatascience.com/another-twitter-sentiment-analysis-with-python-part-5-50b4e87d9bdd) - [Part VI - Doc2Vec](https://towardsdatascience.com/another-twitter-sentiment-analysis-with-python-part-6-doc2vec-603f11832504) - [Part VII - Phrase Modeling + Doc2Vec](https://towardsdatascience.com/another-twitter-sentiment-analysis-with-python-part-7-phrase-modeling-doc2vec-592a8a996867) - [Part VIII - Dimensionality Reduction](https://towardsdatascience.com/another-twitter-sentiment-analysis-with-python-part-8-dimensionality-reduction-chi2-pca-c6d06fb3fcf3) - [Part IX - Neural Nets with Tfdif vectors](https://towardsdatascience.com/another-twitter-sentiment-analysis-with-python-part-9-neural-networks-with-tfidf-vectors-using-d0b4af6be6d7) - [Part X - Neural Nets with word2vec/doc2vec](https://towardsdatascience.com/another-twitter-sentiment-analysis-with-python-part-10-neural-network-with-a6441269aa3c) - [Part XI - CNN with Word2Vec](https://towardsdatascience.com/another-twitter-sentiment-analysis-with-python-part-11-cnn-word2vec-41f5e28eda74) - [Use Transfer Learning for custom image classification](https://becominghuman.ai/transfer-learning-retraining-inception-v3-for-custom-image-classification-2820f653c557) - [Learn to Code a simple Neural Network in 11 lines of Python](https://iamtrask.github.io/2015/07/12/basic-python-network/) - [Build a Neural Network using Gradient Descent Approach](https://iamtrask.github.io/2015/07/27/python-network-part2/) - [Train a Keras Model To Generate Colors](https://heartbeat.fritz.ai/how-to-train-a-keras-model-to-generate-colors-3bc79e54971b) - [Get Started with Keras on a Custom Dataset](https://www.pyimagesearch.com/2018/09/10/keras-tutorial-how-to-get-started-with-keras-deep-learning-and-python/) - [Use EigenFaces and FisherFaces on Faces94 dataset](https://nicholastsmith.wordpress.com/2016/02/18/eigenfaces-versus-fisherfaces-on-the-faces94-database-with-scikit-learn/) - [Kaggle MNIST Digit Recognizer Tutorial](https://medium.com/@lvarruda/how-to-get-top-2-position-on-kaggles-mnist-digit-recognizer-48185d80a2d4) - [Fashion MNIST tutorial with tf.keras](https://medium.com/tensorflow/hello-deep-learning-fashion-mnist-with-keras-50fcff8cd74a) - [CNN using Keras to automatically classify root health](https://www.pyimagesearch.com/2018/10/15/deep-learning-hydroponics-and-medical-marijuana/) - [Keras vs Tensorflow](https://www.pyimagesearch.com/2018/10/08/keras-vs-tensorflow-which-one-is-better-and-which-one-should-i-learn/) - [Deep Learning and Medical Image Analysis for Malaria Detection](https://www.pyimagesearch.com/2018/12/03/deep-learning-and-medical-image-analysis-with-keras/) - [Transfer Learning for Image Classification using Keras](https://towardsdatascience.com/transfer-learning-for-image-classification-using-keras-c47ccf09c8c8) - [Code a Smile Classifier using CNNS in Python](https://github.com/kylemcdonald/SmileCNN) - [Natural Language Processing using scikit-learn](https://towardsdatascience.com/natural-language-processing-count-vectorization-with-scikit-learn-e7804269bb5e) - [Code a Taylor Swift Lyrics Generator](https://towardsdatascience.com/ai-generates-taylor-swifts-song-lyrics-6fd92a03ef7e) - [Mask detection using PyTorch Lightning](https://towardsdatascience.com/how-i-built-a-face-mask-detector-for-covid-19-using-pytorch-lightning-67eb3752fd61) ### Miscellaneous: - [Build a Simple Interpreter](https://ruslanspivak.com/lsbasi-part1/) - [Build a Simple Blockchain in Python](https://hackernoon.com/learn-blockchains-by-building-one-117428612f46) - [Write a NoSQL Database in Python](https://jeffknupp.com/blog/2014/09/01/what-is-a-nosql-database-learn-by-writing-one-in-python/) - [Building a Gas Pump Scanner with OpenCV/Python/iOS](https://hackernoon.com/building-a-gas-pump-scanner-with-opencv-python-ios-116fe6c9ae8b) - [Build a Distributed Streaming System with Python and Kafka](https://codequs.com/p/S14jQ5UyG/build-a-distributed-streaming-system-with-apache-kafka-and-python) - [Writing a basic x86-64 JIT compiler from scratch in stock Python](https://csl.name/post/python-jit/) - Making a low level (Linux) debugger - [Part 1](https://blog.asrpo.com/making_a_low_level_debugger) - [Part 2: C](https://blog.asrpo.com/making_a_low_level_debugger_part_2) - Implementing a Search Engine - [Part 1](http://www.ardendertat.com/2011/05/30/how-to-implement-a-search-engine-part-1-create-index/) - [Part 2](http://www.ardendertat.com/2011/05/31/how-to-implement-a-search-engine-part-2-query-index/) - [Part 3](http://www.ardendertat.com/2011/07/17/how-to-implement-a-search-engine-part-3-ranking-tf-idf/) - [Build the Game of Life](https://robertheaton.com/2018/07/20/project-2-game-of-life/) - [Create terminal ASCII art](https://robertheaton.com/2018/06/12/programming-projects-for-advanced-beginners-ascii-art/) - [Write a Tic-Tac-Toe AI](https://robertheaton.com/2018/10/09/programming-projects-for-advanced-beginners-3-a/) - [Create photomosaic art](https://robertheaton.com/2018/11/03/programming-project-4-photomosaics/) - [Build the game "Snake" in the terminal](https://robertheaton.com/2018/12/02/programming-project-5-snake/) - [Write yourself a Git](https://wyag.thb.lt/) - [A Python implementation of a Python bytecode runner](https://www.aosabook.org/en/500L/a-python-interpreter-written-in-python.html) - [Create a Voice assistant using Python](https://www.geeksforgeeks.org/voice-assistant-using-python/) ## Go: - [Create a Real Time Chat App with Golang, Angular 2, and WebSocket](https://www.thepolyglotdeveloper.com/2016/12/create-real-time-chat-app-golang-angular-2-websockets/) - [Building Go Web Applications and Microservices Using Gin](https://semaphoreci.com/community/tutorials/building-go-web-applications-and-microservices-using-gin) - [How to Use Godog for Behavior-driven Development in Go](https://semaphoreci.com/community/tutorials/how-to-use-godog-for-behavior-driven-development-in-go) - Building Blockchain in Go - [Part 1: Basic Prototype](https://jeiwan.net/posts/building-blockchain-in-go-part-1/) - [Part 2: Proof of Work](https://jeiwan.net/posts/building-blockchain-in-go-part-2/) - [Part 3: Persistence and CLI](https://jeiwan.net/posts/building-blockchain-in-go-part-3/) - [Part 4: Transactions 1](https://jeiwan.net/posts/building-blockchain-in-go-part-4/) - [Part 5: Address](https://jeiwan.net/posts/building-blockchain-in-go-part-5/) - [Part 6: Transactions 2](https://jeiwan.net/posts/building-blockchain-in-go-part-6/) - [Part 7: Network](https://jeiwan.net/posts/building-blockchain-in-go-part-7/) - [Building a container from scratch in Go - Liz Rice (Microscaling Systems)(video)](https://www.youtube.com/watch?v=8fi7uSYlOdc) - [Build Web Application with GoLang](https://astaxie.gitbooks.io/build-web-application-with-golang/content/en/) - Building a Chat Application in Go with ReactJS - [Part 1: Initial Setup](https://tutorialedge.net/projects/chat-system-in-go-and-react/part-1-initial-setup/) - [Part 2: Simple Communication](https://tutorialedge.net/projects/chat-system-in-go-and-react/part-2-simple-communication/) - [Part 3: Designing our Frontend](https://tutorialedge.net/projects/chat-system-in-go-and-react/part-3-designing-our-frontend/) - [Part 4: Handling Multiple Clients](https://tutorialedge.net/projects/chat-system-in-go-and-react/part-4-handling-multiple-clients/) - [Part 5: Improving the Frontend](https://tutorialedge.net/projects/chat-system-in-go-and-react/part-5-improved-frontend/) - [Part 6: Dockerizing your Backend](https://tutorialedge.net/projects/chat-system-in-go-and-react/part-6-dockerizing-your-backend/) - [Go WebAssembly Tutorial - Building a Calculator Tutorial](https://tutorialedge.net/golang/go-webassembly-tutorial/) - REST Servers in Go - [Part 1 - standard library](https://eli.thegreenplace.net/2021/rest-servers-in-go-part-1-standard-library/) - [Part 2 - using a router package](https://eli.thegreenplace.net/2021/rest-servers-in-go-part-2-using-a-router-package/) - [Part 3 - using a web framework](https://eli.thegreenplace.net/2021/rest-servers-in-go-part-3-using-a-web-framework/) - [Part 4 - using OpenAPI and Swagger](https://eli.thegreenplace.net/2021/rest-servers-in-go-part-4-using-openapi-and-swagger/) - [Part 5 - middleware](https://eli.thegreenplace.net/2021/rest-servers-in-go-part-5-middleware/) - [Part 6 - authentication](https://eli.thegreenplace.net/2021/rest-servers-in-go-part-6-authentication/) - [Part 7 - GraphQL](https://eli.thegreenplace.net/2021/rest-servers-in-go-part-7-graphql/) - Let's build a URL shortener in Go - with Gin & Redis - [Part 1 - Project setup](https://www.eddywm.com/lets-build-a-url-shortener-in-go/) - [Part 2 - Storage Layer](https://www.eddywm.com/lets-build-a-url-shortener-in-go-with-redis-part-2-storage-layer/) - [Part 3 - Short Link Generator](https://www.eddywm.com/lets-build-a-url-shortener-in-go-part-3-short-link-generation/) - [Part 4 - Forwarding](https://www.eddywm.com/lets-build-a-url-shortener-in-go-part-iv-forwarding/) - [Building a TCP Chat in Go(video)](https://www.youtube.com/watch?v=Sphme0BqJiY) - [Building a BitTorrent client from the ground up in Go](https://blog.jse.li/posts/torrent/) - [REST API masterclass with Go, PostgreSQL and Docker(video playlist)`in progress`](https://www.youtube.com/watch?v=rx6CPDK_5mU&list=PLy_6D98if3ULEtXtNSY_2qN21VCKgoQAE) ## PHP: - [How To Build A Blog With Laravel](https://www.youtube.com/playlist?list=PLwAKR305CRO-Q90J---jXVzbOd4CDRbVx) (video) - [Make Your Own Blog (in Pure PHP)](http://ilovephp.jondh.me.uk/en/tutorial/make-your-own-blog) - [Build A Real Estate Website Example with SilverStripe](https://www.silverstripe.org/learn/lessons/) - [Building Realtime Chat App with Laravel 5.4 and VueJS](https://www.youtube.com/playlist?list=PLXsbBbd36_uVjOFH_P25__XAyGsohXWlv) (video) - [Build A Social Network: Laravel 5 - Youtube](https://www.youtube.com/playlist?list=PLfdtiltiRHWGGxaR6uFtwZnnbcXqyq8JD) (video) - Build a full-featured multi-tenant app with Laravel - [Part 0: Introduction](https://medium.com/@ashokgelal/writing-a-full-featured-multi-tenant-laravel-app-from-scratch-a0e1a7350d9d) - [Part 1: Setup](https://medium.com/@ashokgelal/a-full-featured-multi-tenant-app-with-laravel-part-1-4049a3cc229d) - [Part 2: Roles and Permissinos](https://medium.com/@ashokgelal/a-full-featured-multi-tenant-app-with-laravel-part-2-roles-and-permissions-d9a5bfe5d525) - [Part 3: Invitation](https://medium.com/@ashokgelal/a-full-featured-multi-tenant-app-with-laravel-part-3-invitation-c982dca55eb9) - [Part 4: Authentication](https://medium.com/@ashokgelal/a-full-featured-multi-tenant-app-with-laravel-part-4-tenancy-aware-authentication-e0ee37270bc8) - [Part 5: Testing](https://medium.com/@ashokgelal/a-full-featured-multi-tenant-app-with-laravel-part-2-unit-tests-96d6dfbf0617) - [Part 6: User Profile](https://medium.com/@ashokgelal/a-full-featured-multi-tenant-app-with-laravel-part-5-user-profile-5c3d0c655f3a) - [Part 7: Deployment](https://medium.com/@ashokgelal/a-full-featured-multi-tenant-app-with-laravel-part-7-deployment-40bb3c895627) - [Build a Laravel CRUD Application From Scratch](https://www.codewall.co.uk/laravel-crud-demo-with-resource-controller-tutorial/) ## OCaml: - [Implement a Language with LLVM in OCaml](https://llvm.org/docs/tutorial/#kaleidoscope-implementing-a-language-with-llvm-in-objective-caml) ## Ruby: - [Build a Network Stack with Ruby](https://medium.com/geckoboard-under-the-hood/how-to-build-a-network-stack-in-ruby-f73aeb1b661b) - Build your own Redis - [Part 0: Introduction](https://rohitpaulk.com/articles/redis-0) - [Part 1: Barebones TCP Server](https://rohitpaulk.com/articles/redis-1) - [Part 2: PING <-> PONG](https://rohitpaulk.com/articles/redis-2) - [Part 3: Concurrent Clients](https://rohitpaulk.com/articles/redis-3) - [Part 4: ECHO](https://rohitpaulk.com/articles/redis-4) - [Rebuilding Git in Ruby](https://thoughtbot.com/blog/rebuilding-git-in-ruby) ### Ruby on Rails: - [The Ruby on Rails Tutorial](https://www.railstutorial.org/book) - [Build Instagram From Scratch with Ruby on Rails](https://www.dropbox.com/s/9vq430e9s3q7pu8/Let%27s%20Build%20Instagram%20with%20Ruby%20on%20Rails%20-%20Free%20Edition.pdf?dl=0) - [Build a Social Network using Rails](https://medium.com/rails-ember-beyond/how-to-build-a-social-network-using-rails-eb31da569233) - [How To Build a Ruby on Rails Application](https://www.digitalocean.com/community/tutorials/how-to-build-a-ruby-on-rails-application) ## Haskell: - [Write You a Haskell - Build a modern functional compiler](http://dev.stephendiehl.com/fun/) - [Write Yourself a Scheme in 48 hours](https://en.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_48_Hours) - [Write You A Scheme, Version 2](https://github.com/write-you-a-scheme-v2/scheme) - [Roll Your Own IRC Bot](https://wiki.haskell.org/Roll_your_own_IRC_bot) - [Making Movie Monad](https://lettier.github.io/posts/2016-08-15-making-movie-monad.html) - [Making a Website with Haskell **(outdated)**](http://adit.io/posts/2013-04-15-making-a-website-with-haskell.html) ## R: - [Build Web Apps with Shiny](http://shiny.rstudio.com/tutorial/) - [Build A Cryptocurrency Bot](https://towardsdatascience.com/build-a-cryptocurrency-trading-bot-with-r-1445c429e1b1) - [Learn Associate Rule Mining in R](https://towardsdatascience.com/association-rule-mining-in-r-ddf2d044ae50) ## Rust: - A Simple Web App in Rust - [Part 1](http://joelmccracken.github.io/entries/a-simple-web-app-in-rust-pt-1/) - [Part 2a](http://joelmccracken.github.io/entries/a-simple-web-app-in-rust-pt-2a/) - [Part 2b](http://joelmccracken.github.io/entries/a-simple-web-app-in-rust-pt-2b/) - [Write an OS in pure Rust](https://os.phil-opp.com/) - [Build a browser engine in Rust](https://limpet.net/mbrubeck/2014/08/08/toy-layout-engine-1.html) - [Write a Microservice in Rust](http://www.goldsborough.me/rust/web/tutorial/2018/01/20/17-01-11-writing_a_microservice_in_rust/) - [Learning Rust with Too Many Linked Lists](http://cglab.ca/~abeinges/blah/too-many-lists/book/README.html) - Rust in Detail: Writing Scalable Chat Service from Scratch - [Part 1: Implementing WebSocket. Introduction.](https://nbaksalyar.github.io/2015/07/10/writing-chat-in-rust.html) - [Part 2: Sending and Receiving Messages](https://nbaksalyar.github.io/2015/11/09/rust-in-detail-2.html) - [Writing a Rust Roguelike for the Desktop and the Web](https://aimlesslygoingforward.com/blog/2019/02/09/writing-a-rust-roguelike-for-the-desktop-and-the-web/) - [Single Page Applications using Rust](http://www.sheshbabu.com/posts/rust-wasm-yew-single-page-application/) - [Writing NES Emulator in Rust](https://bugzmanov.github.io/nes_ebook/) - Create a simulation of evolution using neural network and genetic algorithm, and compile the application to WebAssembly - [Part 1](https://pwy.io/en/posts/learning-to-fly-pt1/) - [Part 2](https://pwy.io/en/posts/learning-to-fly-pt2/) - [Part 3](https://pwy.io/en/posts/learning-to-fly-pt3/) - [Part 4](https://pwy.io/en/posts/learning-to-fly-pt4/) ## Scala: - [Simple actor-based blockchain](https://www.freecodecamp.org/news/how-to-build-a-simple-actor-based-blockchain-aac1e996c177/) - [No Magic: Regular Expressions](https://rcoh.svbtle.com/no-magic-regular-expressions) ## Swift: - [Hacking with Swift - Learn Swift by doing 39 projects](https://www.hackingwithswift.com/read) - [Retro first-person shooter from scratch](https://github.com/nicklockwood/RetroRampage) ## Additional Resources - [React Redux Links](https://github.com/markerikson/react-redux-links) - [Udemy.com](https://www.udemy.com/) - [Full Stack Python](https://www.fullstackpython.com/) - [Node School](https://nodeschool.io/) - [ScotchIO](https://scotch.io/) - [Exercism](http://www.exercism.io/) - [Egghead.io](http://www.egghead.io/) - [Michael Herman's Blog](http://mherman.org/) - [Thinkster.io](http://thinkster.io) - [Enlight](https://enlight.nyc/) - [Hack Club Workshops](https://hackclub.com/workshops/) - [CodeCrafters](https://codecrafters.io/)
3,178
A list of resources in different fields of Computer Science
<h1 align="center">Computer Science Resources</h1> <h1 align="center"> <img alt="CS" title="Computer-Science-Resources" src="https://raw.githubusercontent.com/the-akira/Computer-Science-Resources/master/avatar.png"> </br> </h1> <p align="center"> A list of resources in different fields of <b>Computer Science</b> (in multiple languages). </p> ## Content - Getting Started - [Map of Computer Science](https://www.youtube.com/watch?v=SzJ46YA_RaA) - [Map of Mathematics](https://www.youtube.com/watch?v=OmJ-4B-mS-Y) - [Map of Physics](https://www.youtube.com/watch?v=ZihywtixUYo&t) - [MIT Courses](https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/) - [MIT 6.00 Intro to Computer Science & Programming](https://www.youtube.com/watch?v=k6U-i4gXkLM&list=PL4C4720A6F225E074) - [MIT 6.0001 Introduction to Computer Science & Programming in Python](https://www.youtube.com/playlist?list=PLUl4u3cNGP63WbdFxL8giv4yhgdMGaZNA) - [MIT 6.0002 Introduction to Computational Thinking and Data Science](https://www.youtube.com/playlist?list=PLUl4u3cNGP619EG1wp0kT-7rDE_Az5TNd) - [CS50 Harvard](https://www.youtube.com/watch?v=y62zj9ozPOM&list=PLhQjrBD2T3828ZVcVzEIhsHVgjANGZveu) - [Audio/Video Courses from Colleges and Universities](http://www.infocobuild.com/education/audio-video-courses/) - [Everything Computer Science](https://everythingcomputerscience.com/) - Computer Fundamentals - [Algorithms & Data Structures](https://github.com/the-akira/Computer-Science-Resources/blob/master/db/algorithms_data_structures.md) - [Computer Architecture](https://github.com/the-akira/computer_science_web_resources/blob/master/db/computer_architecture.md) - [Operating Systems](https://github.com/the-akira/computer_science_web_resources/blob/master/db/operating_systems.md) - [Mathematics](https://github.com/the-akira/computer_science_web_resources/blob/master/db/mathematics.md) - [Regular Expressions](https://github.com/the-akira/computer_science_web_resources/blob/master/db/regular_expressions.md) - [Physics](https://github.com/the-akira/computer_science_web_resources/blob/master/db/physics.md) - [Signals and Systems](https://github.com/the-akira/Computer_Science_Web_Resources/blob/master/db/signals_systems.md) - [Information Theory](https://github.com/the-akira/Computer-Science-Resources/blob/master/db/information_theory.md) - [Cloud Computing](https://github.com/the-akira/computer_science_web_resources/blob/master/db/cloud_computing.md) - [Quantum Computing](https://github.com/the-akira/computer_science_web_resources/blob/master/db/quantum_computing.md) - [Computer Networks](https://github.com/the-akira/computer_science_web_resources/blob/master/db/computer_networks.md) - [Computer Graphics](https://github.com/the-akira/Computer_Science_Web_Resources/blob/master/db/computer_graphics.md) - [Virtual Reality](https://github.com/the-akira/Computer_Science_Web_Resources/blob/master/db/virtual_reality.md) - Programming Languages - [Assembly](https://github.com/the-akira/computer_science_web_resources/blob/master/db/assembly.md) - [C](https://github.com/the-akira/computer_science_web_resources/blob/master/db/c.md) - [C++](https://github.com/the-akira/computer_science_web_resources/blob/master/db/cpp.md) - [Python](https://github.com/the-akira/computer_science_web_resources/blob/master/db/python.md) - [Java](https://github.com/the-akira/computer_science_web_resources/blob/master/db/java.md) - [Javascript](https://github.com/the-akira/computer_science_web_resources/blob/master/db/javascript.md) - [Ruby](https://github.com/the-akira/computer_science_web_resources/blob/master/db/ruby.md) - [Bash](https://github.com/the-akira/computer_science_web_resources/blob/master/db/bash.md) - [Go](https://github.com/the-akira/computer_science_web_resources/blob/master/db/go.md) - [PHP](https://github.com/the-akira/computer_science_web_resources/blob/master/db/php.md) - [Haskell](https://github.com/the-akira/Computer_Science_Web_Resources/blob/master/db/haskell.md) - [R](https://github.com/the-akira/Computer_Science_Web_Resources/blob/master/db/r.md) - [Julia](https://github.com/the-akira/Computer_Science_Web_Resources/blob/master/db/julia.md) - [Elixir](https://github.com/the-akira/Computer_Science_Web_Resources/blob/master/db/elixir.md) - Artificial Intelligence - [Machine Learning](https://github.com/the-akira/computer_science_web_resources/blob/master/db/machine_learning.md) - [Artificial Neural Networks](https://github.com/the-akira/Computer_Science_Web_Resources/blob/master/db/artificial_neural_network.md) - [Natural Language Processing](https://github.com/the-akira/computer_science_web_resources/blob/master/db/natural_language_processing.md) - [Computer Vision](https://github.com/the-akira/Computer_Science_Web_Resources/blob/master/db/computer_vision.md) - [Cybernetics & Robotics](https://github.com/the-akira/computer_science_web_resources/blob/master/db/cybernetics_and_robotics.md) - Information Security - [Computer Security](https://github.com/the-akira/computer_science_web_resources/blob/master/db/cyber_security.md) - [Web Hacking](https://github.com/the-akira/computer_science_web_resources/blob/master/db/web_hacking.md) - [Exploits](https://github.com/the-akira/computer_science_web_resources/blob/master/db/exploits.md) - [Reverse Engineering](https://github.com/the-akira/computer_science_web_resources/blob/master/db/reverse_engineering.md) - [Social Engineering](https://github.com/the-akira/computer_science_web_resources/blob/master/db/social_engineering.md) - [Cryptography](https://github.com/the-akira/computer_science_web_resources/blob/master/db/cryptography.md) - Databases - [SQL](https://github.com/the-akira/computer_science_web_resources/blob/master/db/sql.md) - [NOSQL](https://github.com/the-akira/computer_science_web_resources/blob/master/db/nosql.md) - [Big Data](https://github.com/the-akira/computer_science_web_resources/blob/master/db/big_data.md) - [Data Mining](https://github.com/the-akira/computer_science_web_resources/blob/master/db/data_mining.md)
3,179
Data science Python notebooks: Deep learning (TensorFlow, Theano, Caffe, Keras), scikit-learn, Kaggle, big data (Spark, Hadoop MapReduce, HDFS), matplotlib, pandas, NumPy, SciPy, Python essentials, AWS, and various command lines.
<br/> <p align="center"> <img src="https://raw.githubusercontent.com/donnemartin/data-science-ipython-notebooks/master/images/README_1200x800.gif"> </p> <p align="center"> <img src="https://raw.githubusercontent.com/donnemartin/data-science-ipython-notebooks/master/images/coversmall_alt.png"> <br/> </p> # data-science-ipython-notebooks ## Index * [deep-learning](#deep-learning) * [tensorflow](#tensor-flow-tutorials) * [theano](#theano-tutorials) * [keras](#keras-tutorials) * [caffe](#deep-learning-misc) * [scikit-learn](#scikit-learn) * [statistical-inference-scipy](#statistical-inference-scipy) * [pandas](#pandas) * [matplotlib](#matplotlib) * [numpy](#numpy) * [python-data](#python-data) * [kaggle-and-business-analyses](#kaggle-and-business-analyses) * [spark](#spark) * [mapreduce-python](#mapreduce-python) * [amazon web services](#aws) * [command lines](#commands) * [misc](#misc) * [notebook-installation](#notebook-installation) * [credits](#credits) * [contributing](#contributing) * [contact-info](#contact-info) * [license](#license) <br/> <p align="center"> <img src="http://i.imgur.com/ZhKXrKZ.png"> </p> ## deep-learning IPython Notebook(s) demonstrating deep learning functionality. <br/> <p align="center"> <img src="https://avatars0.githubusercontent.com/u/15658638?v=3&s=100"> </p> ### tensor-flow-tutorials Additional TensorFlow tutorials: * [pkmital/tensorflow_tutorials](https://github.com/pkmital/tensorflow_tutorials) * [nlintz/TensorFlow-Tutorials](https://github.com/nlintz/TensorFlow-Tutorials) * [alrojo/tensorflow-tutorial](https://github.com/alrojo/tensorflow-tutorial) * [BinRoot/TensorFlow-Book](https://github.com/BinRoot/TensorFlow-Book) * [tuanavu/tensorflow-basic-tutorials](https://github.com/tuanavu/tensorflow-basic-tutorials) | Notebook | Description | |--------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [tsf-basics](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/tensor-flow-examples/notebooks/1_intro/basic_operations.ipynb) | Learn basic operations in TensorFlow, a library for various kinds of perceptual and language understanding tasks from Google. | | [tsf-linear](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/tensor-flow-examples/notebooks/2_basic_classifiers/linear_regression.ipynb) | Implement linear regression in TensorFlow. | | [tsf-logistic](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/tensor-flow-examples/notebooks/2_basic_classifiers/logistic_regression.ipynb) | Implement logistic regression in TensorFlow. | | [tsf-nn](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/tensor-flow-examples/notebooks/2_basic_classifiers/nearest_neighbor.ipynb) | Implement nearest neighboars in TensorFlow. | | [tsf-alex](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/tensor-flow-examples/notebooks/3_neural_networks/alexnet.ipynb) | Implement AlexNet in TensorFlow. | | [tsf-cnn](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/tensor-flow-examples/notebooks/3_neural_networks/convolutional_network.ipynb) | Implement convolutional neural networks in TensorFlow. | | [tsf-mlp](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/tensor-flow-examples/notebooks/3_neural_networks/multilayer_perceptron.ipynb) | Implement multilayer perceptrons in TensorFlow. | | [tsf-rnn](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/tensor-flow-examples/notebooks/3_neural_networks/recurrent_network.ipynb) | Implement recurrent neural networks in TensorFlow. | | [tsf-gpu](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/tensor-flow-examples/notebooks/4_multi_gpu/multigpu_basics.ipynb) | Learn about basic multi-GPU computation in TensorFlow. | | [tsf-gviz](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/tensor-flow-examples/notebooks/5_ui/graph_visualization.ipynb) | Learn about graph visualization in TensorFlow. | | [tsf-lviz](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/tensor-flow-examples/notebooks/5_ui/loss_visualization.ipynb) | Learn about loss visualization in TensorFlow. | ### tensor-flow-exercises | Notebook | Description | |--------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [tsf-not-mnist](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/tensor-flow-exercises/1_notmnist.ipynb) | Learn simple data curation by creating a pickle with formatted datasets for training, development and testing in TensorFlow. | | [tsf-fully-connected](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/tensor-flow-exercises/2_fullyconnected.ipynb) | Progressively train deeper and more accurate models using logistic regression and neural networks in TensorFlow. | | [tsf-regularization](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/tensor-flow-exercises/3_regularization.ipynb) | Explore regularization techniques by training fully connected networks to classify notMNIST characters in TensorFlow. | | [tsf-convolutions](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/tensor-flow-exercises/4_convolutions.ipynb) | Create convolutional neural networks in TensorFlow. | | [tsf-word2vec](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/tensor-flow-exercises/5_word2vec.ipynb) | Train a skip-gram model over Text8 data in TensorFlow. | | [tsf-lstm](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/tensor-flow-exercises/6_lstm.ipynb) | Train a LSTM character model over Text8 data in TensorFlow. | <br/> <p align="center"> <img src="http://www.deeplearning.net/software/theano/_static/theano_logo_allblue_200x46.png"> </p> ### theano-tutorials | Notebook | Description | |--------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [theano-intro](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/theano-tutorial/intro_theano/intro_theano.ipynb) | Intro to Theano, which allows you to define, optimize, and evaluate mathematical expressions involving multi-dimensional arrays efficiently. It can use GPUs and perform efficient symbolic differentiation. | | [theano-scan](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/theano-tutorial/scan_tutorial/scan_tutorial.ipynb) | Learn scans, a mechanism to perform loops in a Theano graph. | | [theano-logistic](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/theano-tutorial/intro_theano/logistic_regression.ipynb) | Implement logistic regression in Theano. | | [theano-rnn](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/theano-tutorial/rnn_tutorial/simple_rnn.ipynb) | Implement recurrent neural networks in Theano. | | [theano-mlp](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/theano-tutorial/theano_mlp/theano_mlp.ipynb) | Implement multilayer perceptrons in Theano. | <br/> <p align="center"> <img src="http://i.imgur.com/L45Q8c2.jpg"> </p> ### keras-tutorials | Notebook | Description | |--------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------| | keras | Keras is an open source neural network library written in Python. It is capable of running on top of either Tensorflow or Theano. | | [setup](https://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/keras-tutorial/0.%20Preamble.ipynb) | Learn about the tutorial goals and how to set up your Keras environment. | | [intro-deep-learning-ann](https://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/keras-tutorial/1.1%20Introduction%20-%20Deep%20Learning%20and%20ANN.ipynb) | Get an intro to deep learning with Keras and Artificial Neural Networks (ANN). | | [theano](https://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/keras-tutorial/1.2%20Introduction%20-%20Theano.ipynb) | Learn about Theano by working with weights matrices and gradients. | | [keras-otto](https://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/keras-tutorial/1.3%20Introduction%20-%20Keras.ipynb) | Learn about Keras by looking at the Kaggle Otto challenge. | | [ann-mnist](https://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/keras-tutorial/1.4%20%28Extra%29%20A%20Simple%20Implementation%20of%20ANN%20for%20MNIST.ipynb) | Review a simple implementation of ANN for MNIST using Keras. | | [conv-nets](https://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/keras-tutorial/2.1%20Supervised%20Learning%20-%20ConvNets.ipynb) | Learn about Convolutional Neural Networks (CNNs) with Keras. | | [conv-net-1](https://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/keras-tutorial/2.2.1%20Supervised%20Learning%20-%20ConvNet%20HandsOn%20Part%20I.ipynb) | Recognize handwritten digits from MNIST using Keras - Part 1. | | [conv-net-2](https://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/keras-tutorial/2.2.2%20Supervised%20Learning%20-%20ConvNet%20HandsOn%20Part%20II.ipynb) | Recognize handwritten digits from MNIST using Keras - Part 2. | | [keras-models](https://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/keras-tutorial/2.3%20Supervised%20Learning%20-%20Famous%20Models%20with%20Keras.ipynb) | Use pre-trained models such as VGG16, VGG19, ResNet50, and Inception v3 with Keras. | | [auto-encoders](https://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/keras-tutorial/3.1%20Unsupervised%20Learning%20-%20AutoEncoders%20and%20Embeddings.ipynb) | Learn about Autoencoders with Keras. | | [rnn-lstm](https://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/keras-tutorial/3.2%20RNN%20and%20LSTM.ipynb) | Learn about Recurrent Neural Networks (RNNs) with Keras. | | [lstm-sentence-gen](https://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/keras-tutorial/3.3%20%28Extra%29%20LSTM%20for%20Sentence%20Generation.ipynb) | Learn about RNNs using Long Short Term Memory (LSTM) networks with Keras. | ### deep-learning-misc | Notebook | Description | |--------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [deep-dream](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/deep-learning/deep-dream/dream.ipynb) | Caffe-based computer vision program which uses a convolutional neural network to find and enhance patterns in images. | <br/> <p align="center"> <img src="https://raw.githubusercontent.com/donnemartin/data-science-ipython-notebooks/master/images/scikitlearn.png"> </p> ## scikit-learn IPython Notebook(s) demonstrating scikit-learn functionality. | Notebook | Description | |--------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [intro](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/scikit-learn/scikit-learn-intro.ipynb) | Intro notebook to scikit-learn. Scikit-learn adds Python support for large, multi-dimensional arrays and matrices, along with a large library of high-level mathematical functions to operate on these arrays. | | [knn](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/scikit-learn/scikit-learn-intro.ipynb#K-Nearest-Neighbors-Classifier) | Implement k-nearest neighbors in scikit-learn. | | [linear-reg](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/scikit-learn/scikit-learn-linear-reg.ipynb) | Implement linear regression in scikit-learn. | | [svm](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/scikit-learn/scikit-learn-svm.ipynb) | Implement support vector machine classifiers with and without kernels in scikit-learn. | | [random-forest](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/scikit-learn/scikit-learn-random-forest.ipynb) | Implement random forest classifiers and regressors in scikit-learn. | | [k-means](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/scikit-learn/scikit-learn-k-means.ipynb) | Implement k-means clustering in scikit-learn. | | [pca](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/scikit-learn/scikit-learn-pca.ipynb) | Implement principal component analysis in scikit-learn. | | [gmm](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/scikit-learn/scikit-learn-gmm.ipynb) | Implement Gaussian mixture models in scikit-learn. | | [validation](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/scikit-learn/scikit-learn-validation.ipynb) | Implement validation and model selection in scikit-learn. | <br/> <p align="center"> <img src="https://raw.githubusercontent.com/donnemartin/data-science-ipython-notebooks/master/images/scipy.png"> </p> ## statistical-inference-scipy IPython Notebook(s) demonstrating statistical inference with SciPy functionality. | Notebook | Description | |--------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------| | scipy | SciPy is a collection of mathematical algorithms and convenience functions built on the Numpy extension of Python. It adds significant power to the interactive Python session by providing the user with high-level commands and classes for manipulating and visualizing data. | | [effect-size](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/scipy/effect_size.ipynb) | Explore statistics that quantify effect size by analyzing the difference in height between men and women. Uses data from the Behavioral Risk Factor Surveillance System (BRFSS) to estimate the mean and standard deviation of height for adult women and men in the United States. | | [sampling](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/scipy/sampling.ipynb) | Explore random sampling by analyzing the average weight of men and women in the United States using BRFSS data. | | [hypothesis](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/scipy/hypothesis.ipynb) | Explore hypothesis testing by analyzing the difference of first-born babies compared with others. | <br/> <p align="center"> <img src="https://raw.githubusercontent.com/donnemartin/data-science-ipython-notebooks/master/images/pandas.png"> </p> ## pandas IPython Notebook(s) demonstrating pandas functionality. | Notebook | Description | |--------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------| | [pandas](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/pandas/pandas.ipynb) | Software library written for data manipulation and analysis in Python. Offers data structures and operations for manipulating numerical tables and time series. | | [github-data-wrangling](https://github.com/donnemartin/viz/blob/master/githubstats/data_wrangling.ipynb) | Learn how to load, clean, merge, and feature engineer by analyzing GitHub data from the [`Viz`](https://github.com/donnemartin/viz) repo. | | [Introduction-to-Pandas](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/pandas/03.00-Introduction-to-Pandas.ipynb) | Introduction to Pandas. | | [Introducing-Pandas-Objects](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/pandas/03.01-Introducing-Pandas-Objects.ipynb) | Learn about Pandas objects. | | [Data Indexing and Selection](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/pandas/03.02-Data-Indexing-and-Selection.ipynb) | Learn about data indexing and selection in Pandas. | | [Operations-in-Pandas](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/pandas/03.03-Operations-in-Pandas.ipynb) | Learn about operating on data in Pandas. | | [Missing-Values](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/pandas/03.04-Missing-Values.ipynb) | Learn about handling missing data in Pandas. | | [Hierarchical-Indexing](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/pandas/03.05-Hierarchical-Indexing.ipynb) | Learn about hierarchical indexing in Pandas. | | [Concat-And-Append](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/pandas/03.06-Concat-And-Append.ipynb) | Learn about combining datasets: concat and append in Pandas. | | [Merge-and-Join](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/pandas/03.07-Merge-and-Join.ipynb) | Learn about combining datasets: merge and join in Pandas. | | [Aggregation-and-Grouping](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/pandas/03.08-Aggregation-and-Grouping.ipynb) | Learn about aggregation and grouping in Pandas. | | [Pivot-Tables](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/pandas/03.09-Pivot-Tables.ipynb) | Learn about pivot tables in Pandas. | | [Working-With-Strings](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/pandas/03.10-Working-With-Strings.ipynb) | Learn about vectorized string operations in Pandas. | | [Working-with-Time-Series](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/pandas/03.11-Working-with-Time-Series.ipynb) | Learn about working with time series in pandas. | | [Performance-Eval-and-Query](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/pandas/03.12-Performance-Eval-and-Query.ipynb) | Learn about high-performance Pandas: eval() and query() in Pandas. | <br/> <p align="center"> <img src="https://raw.githubusercontent.com/donnemartin/data-science-ipython-notebooks/master/images/matplotlib.png"> </p> ## matplotlib IPython Notebook(s) demonstrating matplotlib functionality. | Notebook | Description | |-----------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------| | [matplotlib](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/matplotlib/matplotlib.ipynb) | Python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms. | | [matplotlib-applied](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/matplotlib/matplotlib-applied.ipynb) | Apply matplotlib visualizations to Kaggle competitions for exploratory data analysis. Learn how to create bar plots, histograms, subplot2grid, normalized plots, scatter plots, subplots, and kernel density estimation plots. | | [Introduction-To-Matplotlib](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/matplotlib/04.00-Introduction-To-Matplotlib.ipynb) | Introduction to Matplotlib. | | [Simple-Line-Plots](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/matplotlib/04.01-Simple-Line-Plots.ipynb) | Learn about simple line plots in Matplotlib. | | [Simple-Scatter-Plots](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/matplotlib/04.02-Simple-Scatter-Plots.ipynb) | Learn about simple scatter plots in Matplotlib. | | [Errorbars.ipynb](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/matplotlib/04.03-Errorbars.ipynb) | Learn about visualizing errors in Matplotlib. | | [Density-and-Contour-Plots](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/matplotlib/04.04-Density-and-Contour-Plots.ipynb) | Learn about density and contour plots in Matplotlib. | | [Histograms-and-Binnings](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/matplotlib/04.05-Histograms-and-Binnings.ipynb) | Learn about histograms, binnings, and density in Matplotlib. | | [Customizing-Legends](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/matplotlib/04.06-Customizing-Legends.ipynb) | Learn about customizing plot legends in Matplotlib. | | [Customizing-Colorbars](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/matplotlib/04.07-Customizing-Colorbars.ipynb) | Learn about customizing colorbars in Matplotlib. | | [Multiple-Subplots](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/matplotlib/04.08-Multiple-Subplots.ipynb) | Learn about multiple subplots in Matplotlib. | | [Text-and-Annotation](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/matplotlib/04.09-Text-and-Annotation.ipynb) | Learn about text and annotation in Matplotlib. | | [Customizing-Ticks](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/matplotlib/04.10-Customizing-Ticks.ipynb) | Learn about customizing ticks in Matplotlib. | | [Settings-and-Stylesheets](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/matplotlib/04.11-Settings-and-Stylesheets.ipynb) | Learn about customizing Matplotlib: configurations and stylesheets. | | [Three-Dimensional-Plotting](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/matplotlib/04.12-Three-Dimensional-Plotting.ipynb) | Learn about three-dimensional plotting in Matplotlib. | | [Geographic-Data-With-Basemap](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/matplotlib/04.13-Geographic-Data-With-Basemap.ipynb) | Learn about geographic data with basemap in Matplotlib. | | [Visualization-With-Seaborn](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/matplotlib/04.14-Visualization-With-Seaborn.ipynb) | Learn about visualization with Seaborn. | <br/> <p align="center"> <img src="https://raw.githubusercontent.com/donnemartin/data-science-ipython-notebooks/master/images/numpy.png"> </p> ## numpy IPython Notebook(s) demonstrating NumPy functionality. | Notebook | Description | |--------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [numpy](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/numpy/numpy.ipynb) | Adds Python support for large, multi-dimensional arrays and matrices, along with a large library of high-level mathematical functions to operate on these arrays. | | [Introduction-to-NumPy](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/numpy/02.00-Introduction-to-NumPy.ipynb) | Introduction to NumPy. | | [Understanding-Data-Types](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/numpy/02.01-Understanding-Data-Types.ipynb) | Learn about data types in Python. | | [The-Basics-Of-NumPy-Arrays](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/numpy/02.02-The-Basics-Of-NumPy-Arrays.ipynb) | Learn about the basics of NumPy arrays. | | [Computation-on-arrays-ufuncs](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/numpy/02.03-Computation-on-arrays-ufuncs.ipynb) | Learn about computations on NumPy arrays: universal functions. | | [Computation-on-arrays-aggregates](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/numpy/02.04-Computation-on-arrays-aggregates.ipynb) | Learn about aggregations: min, max, and everything in between in NumPy. | | [Computation-on-arrays-broadcasting](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/numpy/02.05-Computation-on-arrays-broadcasting.ipynb) | Learn about computation on arrays: broadcasting in NumPy. | | [Boolean-Arrays-and-Masks](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/numpy/02.06-Boolean-Arrays-and-Masks.ipynb) | Learn about comparisons, masks, and boolean logic in NumPy. | | [Fancy-Indexing](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/numpy/02.07-Fancy-Indexing.ipynb) | Learn about fancy indexing in NumPy. | | [Sorting](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/numpy/02.08-Sorting.ipynb) | Learn about sorting arrays in NumPy. | | [Structured-Data-NumPy](http://nbviewer.jupyter.org/github/donnemartin/data-science-ipython-notebooks/blob/master/numpy/02.09-Structured-Data-NumPy.ipynb) | Learn about structured data: NumPy's structured arrays. | <br/> <p align="center"> <img src="https://raw.githubusercontent.com/donnemartin/data-science-ipython-notebooks/master/images/python.png"> </p> ## python-data IPython Notebook(s) demonstrating Python functionality geared towards data analysis. | Notebook | Description | |-----------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------| | [data structures](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/python-data/structs.ipynb) | Learn Python basics with tuples, lists, dicts, sets. | | [data structure utilities](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/python-data/structs_utils.ipynb) | Learn Python operations such as slice, range, xrange, bisect, sort, sorted, reversed, enumerate, zip, list comprehensions. | | [functions](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/python-data/functions.ipynb) | Learn about more advanced Python features: Functions as objects, lambda functions, closures, *args, **kwargs currying, generators, generator expressions, itertools. | | [datetime](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/python-data/datetime.ipynb) | Learn how to work with Python dates and times: datetime, strftime, strptime, timedelta. | | [logging](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/python-data/logs.ipynb) | Learn about Python logging with RotatingFileHandler and TimedRotatingFileHandler. | | [pdb](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/python-data/pdb.ipynb) | Learn how to debug in Python with the interactive source code debugger. | | [unit tests](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/python-data/unit_tests.ipynb) | Learn how to test in Python with Nose unit tests. | <br/> <p align="center"> <img src="https://raw.githubusercontent.com/donnemartin/data-science-ipython-notebooks/master/images/kaggle.png"> </p> ## kaggle-and-business-analyses IPython Notebook(s) used in [kaggle](https://www.kaggle.com/) competitions and business analyses. | Notebook | Description | |-------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------| | [titanic](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/kaggle/titanic.ipynb) | Predict survival on the Titanic. Learn data cleaning, exploratory data analysis, and machine learning. | | [churn-analysis](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/analyses/churn.ipynb) | Predict customer churn. Exercise logistic regression, gradient boosting classifers, support vector machines, random forests, and k-nearest-neighbors. Includes discussions of confusion matrices, ROC plots, feature importances, prediction probabilities, and calibration/descrimination.| <br/> <p align="center"> <img src="https://raw.githubusercontent.com/donnemartin/data-science-ipython-notebooks/master/images/spark.png"> </p> ## spark IPython Notebook(s) demonstrating spark and HDFS functionality. | Notebook | Description | |--------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------| | [spark](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/spark/spark.ipynb) | In-memory cluster computing framework, up to 100 times faster for certain applications and is well suited for machine learning algorithms. | | [hdfs](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/spark/hdfs.ipynb) | Reliably stores very large files across machines in a large cluster. | <br/> <p align="center"> <img src="https://raw.githubusercontent.com/donnemartin/data-science-ipython-notebooks/master/images/mrjob.png"> </p> ## mapreduce-python IPython Notebook(s) demonstrating Hadoop MapReduce with mrjob functionality. | Notebook | Description | |--------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------| | [mapreduce-python](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/mapreduce/mapreduce-python.ipynb) | Runs MapReduce jobs in Python, executing jobs locally or on Hadoop clusters. Demonstrates Hadoop Streaming in Python code with unit test and [mrjob](https://github.com/Yelp/mrjob) config file to analyze Amazon S3 bucket logs on Elastic MapReduce. [Disco](https://github.com/discoproject/disco/) is another python-based alternative.| <br/> <p align="center"> <img src="https://raw.githubusercontent.com/donnemartin/data-science-ipython-notebooks/master/images/aws.png"> </p> ## aws IPython Notebook(s) demonstrating Amazon Web Services (AWS) and AWS tools functionality. Also check out: * [SAWS](https://github.com/donnemartin/saws): A Supercharged AWS command line interface (CLI). * [Awesome AWS](https://github.com/donnemartin/awesome-aws): A curated list of libraries, open source repos, guides, blogs, and other resources. | Notebook | Description | |------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [boto](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/aws/aws.ipynb#Boto) | Official AWS SDK for Python. | | [s3cmd](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/aws/aws.ipynb#s3cmd) | Interacts with S3 through the command line. | | [s3distcp](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/aws/aws.ipynb#s3distcp) | Combines smaller files and aggregates them together by taking in a pattern and target file. S3DistCp can also be used to transfer large volumes of data from S3 to your Hadoop cluster. | | [s3-parallel-put](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/aws/aws.ipynb#s3-parallel-put) | Uploads multiple files to S3 in parallel. | | [redshift](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/aws/aws.ipynb#redshift) | Acts as a fast data warehouse built on top of technology from massive parallel processing (MPP). | | [kinesis](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/aws/aws.ipynb#kinesis) | Streams data in real time with the ability to process thousands of data streams per second. | | [lambda](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/aws/aws.ipynb#lambda) | Runs code in response to events, automatically managing compute resources. | <br/> <p align="center"> <img src="https://raw.githubusercontent.com/donnemartin/data-science-ipython-notebooks/master/images/commands.png"> </p> ## commands IPython Notebook(s) demonstrating various command lines for Linux, Git, etc. | Notebook | Description | |--------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [linux](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/commands/linux.ipynb) | Unix-like and mostly POSIX-compliant computer operating system. Disk usage, splitting files, grep, sed, curl, viewing running processes, terminal syntax highlighting, and Vim.| | [anaconda](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/commands/misc.ipynb#anaconda) | Distribution of the Python programming language for large-scale data processing, predictive analytics, and scientific computing, that aims to simplify package management and deployment. | | [ipython notebook](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/commands/misc.ipynb#ipython-notebook) | Web-based interactive computational environment where you can combine code execution, text, mathematics, plots and rich media into a single document. | | [git](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/commands/misc.ipynb#git) | Distributed revision control system with an emphasis on speed, data integrity, and support for distributed, non-linear workflows. | | [ruby](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/commands/misc.ipynb#ruby) | Used to interact with the AWS command line and for Jekyll, a blog framework that can be hosted on GitHub Pages. | | [jekyll](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/commands/misc.ipynb#jekyll) | Simple, blog-aware, static site generator for personal, project, or organization sites. Renders Markdown or Textile and Liquid templates, and produces a complete, static website ready to be served by Apache HTTP Server, Nginx or another web server. | | [pelican](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/commands/misc.ipynb#pelican) | Python-based alternative to Jekyll. | | [django](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/commands/misc.ipynb#django) | High-level Python Web framework that encourages rapid development and clean, pragmatic design. It can be useful to share reports/analyses and for blogging. Lighter-weight alternatives include [Pyramid](https://github.com/Pylons/pyramid), [Flask](https://github.com/pallets/flask), [Tornado](https://github.com/tornadoweb/tornado), and [Bottle](https://github.com/bottlepy/bottle). ## misc IPython Notebook(s) demonstrating miscellaneous functionality. | Notebook | Description | |--------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [regex](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/misc/regex.ipynb) | Regular expression cheat sheet useful in data wrangling.| [algorithmia](http://nbviewer.ipython.org/github/donnemartin/data-science-ipython-notebooks/blob/master/misc/Algorithmia.ipynb) | Algorithmia is a marketplace for algorithms. This notebook showcases 4 different algorithms: Face Detection, Content Summarizer, Latent Dirichlet Allocation and Optical Character Recognition.| ## notebook-installation ### anaconda Anaconda is a free distribution of the Python programming language for large-scale data processing, predictive analytics, and scientific computing that aims to simplify package management and deployment. Follow instructions to install [Anaconda](https://docs.continuum.io/anaconda/install) or the more lightweight [miniconda](http://conda.pydata.org/miniconda.html). ### dev-setup For detailed instructions, scripts, and tools to set up your development environment for data analysis, check out the [dev-setup](https://github.com/donnemartin/dev-setup) repo. ### running-notebooks To view interactive content or to modify elements within the IPython notebooks, you must first clone or download the repository then run the notebook. More information on IPython Notebooks can be found [here.](http://ipython.org/notebook.html) $ git clone https://github.com/donnemartin/data-science-ipython-notebooks.git $ cd data-science-ipython-notebooks $ jupyter notebook Notebooks tested with Python 2.7.x. ## credits * [Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython](http://www.amazon.com/Python-Data-Analysis-Wrangling-IPython/dp/1449319793) by Wes McKinney * [PyCon 2015 Scikit-learn Tutorial](https://github.com/jakevdp/sklearn_pycon2015) by Jake VanderPlas * [Python Data Science Handbook](https://github.com/jakevdp/PythonDataScienceHandbook) by Jake VanderPlas * [Parallel Machine Learning with scikit-learn and IPython](https://github.com/ogrisel/parallel_ml_tutorial) by Olivier Grisel * [Statistical Interference Using Computational Methods in Python](https://github.com/AllenDowney/CompStats) by Allen Downey * [TensorFlow Examples](https://github.com/aymericdamien/TensorFlow-Examples) by Aymeric Damien * [TensorFlow Tutorials](https://github.com/pkmital/tensorflow_tutorials) by Parag K Mital * [TensorFlow Tutorials](https://github.com/nlintz/TensorFlow-Tutorials) by Nathan Lintz * [TensorFlow Tutorials](https://github.com/alrojo/tensorflow-tutorial) by Alexander R Johansen * [TensorFlow Book](https://github.com/BinRoot/TensorFlow-Book) by Nishant Shukla * [Summer School 2015](https://github.com/mila-udem/summerschool2015) by mila-udem * [Keras tutorials](https://github.com/leriomaggio/deep-learning-keras-tensorflow) by Valerio Maggio * [Kaggle](https://www.kaggle.com/) * [Yhat Blog](http://blog.yhat.com/) ## contributing Contributions are welcome! For bug reports or requests please [submit an issue](https://github.com/donnemartin/data-science-ipython-notebooks/issues). ## contact-info Feel free to contact me to discuss any issues, questions, or comments. * Email: [[email protected]](mailto:[email protected]) * Twitter: [@donne_martin](https://twitter.com/donne_martin) * GitHub: [donnemartin](https://github.com/donnemartin) * LinkedIn: [donnemartin](https://www.linkedin.com/in/donnemartin) * Website: [donnemartin.com](http://donnemartin.com) ## license This repository contains a variety of content; some developed by Donne Martin, and some from third-parties. The third-party content is distributed under the license provided by those parties. The content developed by Donne Martin is distributed under the following license: *I am providing code and resources in this repository to you under an open source license. Because this is my personal repository, the license you receive to my code and resources is from me and not my employer (Facebook).* Copyright 2015 Donne Martin Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
3,180
Bits and bytes of Python from the Internet
# Contents * [Beginner's Delight](#beginners-delight) * [Resources for Women](#resources-for-women) * [Why Python?](#why-python) * [Style Guide and Idioms](#style-guide-and-idioms) * [Dictionary](#dictionary) * [Decorators](#decorators) * [Generators](#generators) * [Coroutines](#coroutines) * [Iterators](#iterators) * [Yield](#yield) * [Context Managers](#context-managers) * [Unicode](#unicode) * [Networking](#networking) * [Metaclasses](#metaclasses) * [Documentation](#documentation) * [Sphinx](#sphinx) * [Debugging](#debugging) * [Logging](#logging) * [Testing](#testing) * [Environments and Environment Management](#environments-and-environment-management) * [Profiling](#profiling) * [Packaging](#packaging) * [Deployment](#deployment) * [Fabric](#fabric) * [Ansible](#ansible) * [Contributing to Python Development](#contributing-to-python-development) * [Warts and Gotchas](#warts-and-gotchas) * [Web](#web) * [Frameworks](#frameworks) * [Flask](#flask) * [Web2Py](#web2py) * [Django](#django) * [Bottle](#bottle) * [Tornado](#tornado) * [Pyramid](#pyramid) * [Web Servers](#web-servers) * [API and Web Services](#api-and-web-services) * [Scraping](#scraping) * [Mobile Development](#mobile-development) * [Kivy](#kivy) * [Google Glass](#google-glass) * [Resources](#resources) * [Libraries](#libraries) * [GUI Programming](#gui-programming) * [Android](#Android) * [SL4A](#sl4a) * [WSGI](#wsgi) * [Databases](#databases) * [SQLAlchemy](#sqlalchemy) * [Data Mining](#data-mining) * [Data Analysis](#data-analysis) * [Pandas](#pandas) * [Data Visualization](#data-visualization) * [Deep Learning](#deep-learning) * [IPython Notebooks](#ipython-notebooks) * [Design Patterns](#design-patterns) * [Concurrency Patterns](#concurrency-patterns) * [Concurrency and Distributed Systems](#concurrency-and-distributed-systems) * [Functional Programming](#functional-programming) * [Python 2 vs Python 3](#python-2-vs-3) * [Porting to Python 3](#porting-to-python-3) * [Books](#books) * [Free](#free) * [Paid](#paid) * [Online Courses and Challenges](#online-courses-and-challenges) * [Discussions](#discussions) * [Conferences and Events](#conferences-and-events) * [Videos](#videos) * [Editors and IDE's for Python programming](#editors-and-ides-for-python-programming) * [Big Data](#bigdata) * [Curated Python resources from other websites](#curated-python-resources-from-other-websites) * [Newsletters](#newsletters) * [Podcasts](#podcasts) * [Miscellaneous](#miscellaneous) ## Beginner's Delight * [Beginner's guide to Python](http://wiki.python.org/moin/BeginnersGuide) * [The Hitchhiker's guide to Python](http://docs.python-guide.org/en/latest/) * [Learn Python the hard way](http://learnpythonthehardway.org/book/) * [Learn Python](http://www.learnpython.org/) * [Google's Python class](https://developers.google.com/edu/python/) * [Python tracks at Codecademy](http://www.codecademy.com/tracks/python) * [Python for Beginners](http://www.pythonforbeginners.com/) * [Intro to Python For Data Science](https://www.datacamp.com/courses/intro-to-python-for-data-science) * [Best way to learn python](http://net.tutsplus.com/tutorials/the-best-way-to-learn-python/) * [Python Tips, tools and resources](http://web.archive.org/web/20141010212202/http://lurnq.com/lesson/Getting-started-with-Python-Tips-Tools-and-Resources) * [Python Koans: Learn Python through TDD](https://github.com/gregmalcolm/python_koans) * [Beginner projects for a python newbie](http://newcoder.io/) * [Learn X in Y minutes - Python](http://learnxinyminutes.com/docs/python/) * [Python Practice book](http://anandology.com/python-practice-book/) * [Python tools and software](http://www.linux.org/threads/python-tools-and-software.6372/) * [Facts and myths about Python names and values](http://nedbatchelder.com/text/names.html) * [*args and **kwargs in python explained](http://freepythontips.wordpress.com/2013/08/04/args-and-kwargs-in-python-explained/) * [In Python, it’s all about the attributes](http://blog.lerner.co.il/python-attributes/) * [Common newbie mistakes in Python- Part 1](http://blog.amir.rachum.com/post/54770419679/python-common-newbie-mistakes-part-1) * [Common newbie mistakes in Python- Part 2](http://blog.amir.rachum.com/post/55024295793/python-common-newbie-mistakes-part-2) * [PySchools](http://www.pyschools.com/) * [Some cool Python Tricks](http://www.quora.com/Python-programming-language-1/What-are-some-cool-Python-tricks) * [if x and if x is not None](http://blog.amir.rachum.com/post/30176371115/you-cant-handle-the-truth) * [Declaring dependencies in Python](http://blog.ziade.org/2013/04/13/declaring-dependencies-in-python/) * [Storing and Loading Data with JSON - Serialization/deserialization](http://freepythontips.wordpress.com/2013/08/08/storing-and-loading-data-with-json/) * [A Guide to Python's Magic Methods](http://www.rafekettler.com/magicmethods.html) * [Efficient String Concatenation in Python](http://www.skymind.com/~ocrow/python_string/) * [Be Pythonic: `__init__.py`](http://mikegrouchy.com/blog/2012/05/be-pythonic-__init__py.html) * [Building an open-source Python application the right way](http://kirang.in/2013/09/09/building-an-open-source-python-application-the-right-way/) * [Python progression path - From apprentice to guru](http://stackoverflow.com/questions/2573135/python-progression-path-from-apprentice-to-guru) * [Tutorialspoint python tutorial](http://www.tutorialspoint.com/python/) * [Python Importing](http://blog.amir.rachum.com/post/63666832095/python-importing) * [Python's super() considered super!](http://rhettinger.wordpress.com/2011/05/26/super-considered-super/) * [No Naked Excepts](http://www.wilfred.me.uk/blog/2013/11/03/no-naked-excepts/) * [Supercharge Your Python Developers](http://www.jeffknupp.com/blog/2013/11/15/supercharge-your-python-developers/) * [Anti-Patterns in Python Programming](http://lignos.org/py_antipatterns/) * [The Python IAQ: Infrequently Answered Questions](http://norvig.com/python-iaq.html) * [Python's objects and classes — a visual guide](http://blog.lerner.co.il/pythons-objects-and-classes-a-visual-guide/) * [Visualize your Python code being executed](http://www.pythontutor.com/visualize.html) * [Snakify - a tutorial with exercises and a visual debugger](https://snakify.org/) * [Learn programming with curated Python projects - DevProjects](https://www.codementor.io/projects/python) ## Resources for Women * [Pyladies](http://www.pyladies.com/) * [Diversity in Python Community](https://www.python.org/community/diversity/) * [Django Girls](http://djangogirls.org/) * [Pystar](http://pystar.org/) * [Geek Feminism Python Posts](http://geekfeminism.org/tag/python/) * [Tarah Wheeler Van Vlack Videos](https://www.youtube.com/user/tarahwheelervanvlack) ## Why Python? * [Python Success Stories](http://www.python.org/about/success/esr/) * [Why Python - Slideshare](http://www.slideshare.net/arnav/python-presentation) * [5 Reasons Why You Should Learn Python Programming](http://www.codercaste.com/2009/10/20/5-reasons-why-you-should-learn-python-programming/) * [10 Reasons Python Rocks for Research (And a Few Reasons it Doesn’t)](http://www.stat.washington.edu/~hoytak/blog/whypython.html) * [Why such popularity with Python?](https://programmers.stackexchange.com/questions/5427/why-such-popularity-with-python) * [Why was Python's popularity so sudden?](https://programmers.stackexchange.com/questions/27207/why-was-pythons-popularity-so-sudden?rq=1) * [Why Python?](http://www.reddit.com/r/Python/comments/1mb4y4/why_python/) * [How Python became the language of choice for data science](http://blog.mikiobraun.de/2013/11/how-python-became-the-language-of-choice-for-data-science.html) ## Style Guide and Idioms * [PEP 8 - Style Guide for Python Code](http://www.python.org/dev/peps/pep-0008/) * [PEP 8 — the Style Guide for Python Code](http://pep8.org/) * [Code Like a Pythonista: Idiomatic Python](http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html) * [Google Python Style Guide](https://google.github.io/styleguide/pyguide.html) * [Python Idioms and Efficiency](https://www.memonic.com/user/pneff/folder/python/id/1bufp) * [How not to write Python code](http://eikke.com/how-not-to-write-python-code/) * [Docstring Conventions](http://www.python.org/dev/peps/pep-0257/) ## Dictionary * [Python hash, id and dictionary order](http://blog.amir.rachum.com/post/54458435089/python-hash-id-and-dictionary-order) * [Notes on dictionary implementation](http://bugs.python.org/file6941/dictnotes.txt) * [Python: The Dictionary Playbook](http://blog.amir.rachum.com/post/39501813266/python-the-dictionary-playbook) ## Decorators * [Understanding Python Decorators in 12 easy steps](http://simeonfranklin.com/blog/2012/jul/1/python-decorators-in-12-steps/) * [Common uses of Python decorators - Quora](http://www.quora.com/Python-programming-language-1/What-are-common-uses-of-Python-decorators) * [Common uses of Python decorators - Stack Overflow](http://stackoverflow.com/questions/489720/what-are-some-common-uses-for-python-decorators) * [Python Decorators](http://pythonconquerstheuniverse.wordpress.com/2012/04/29/python-decorators/) * [Decorators I: Introduction to Python Decorators](http://www.artima.com/weblogs/viewpost.jsp?thread=240808) * [The dark side of decorators](http://apiguy.github.io/blog/2013/06/03/the-dark-side-of-decorators/) * [Thinking out aloud: Python decorators](http://curiosityhealsthecat.blogspot.in/2013/06/thinking-out-aloud-python-decorators_8528.html) * [Using Python decorators for registering callbacks](http://curiosityhealsthecat.blogspot.in/2013/07/using-python-decorators-for-registering_8614.html) * [Meta-matters: Using decorators for better Python programming](http://pydanny-event-notes.readthedocs.org/en/latest/PyconAU2011/decorators.html) * [How can I make a chain of function decorators in Python?](http://stackoverflow.com/questions/739654/how-can-i-make-a-chain-of-function-decorators-in-python/1594484#1594484) * [The Python Decorator Library](https://wiki.python.org/moin/PythonDecoratorLibrary) * [Improve Your Python: Decorators Explained](http://www.jeffknupp.com/blog/2013/11/29/improve-your-python-decorators-explained/) * [Painless Decorators](http://hackflow.com/blog/2013/11/03/painless-decorators/) * [Advanced Uses of Python Decorators](https://www.codementor.io/python/tutorial/advanced-use-python-decorators-class-function) ## Generators * [Improve Your Python: 'yield' and Generators Explained](http://www.jeffknupp.com/blog/2013/04/07/improve-your-python-yield-and-generators-explained/) * [Generator Tricks for Systems Programmers](http://www.dabeaz.com/generators-uk/) * [Delegating to a Subgenerator in Python 3](http://docs.python.org/3/whatsnew/3.3.html#pep-380-syntax-for-delegating-to-a-subgenerator) * [Generators Will Free Your Mind](http://pyvideo.org/video/3170/generators-will-free-your-mind-0) ## Coroutines * [A Curious Course on Coroutines and Concurrency](http://www.dabeaz.com/coroutines/) ## Iterators * [Understanding Iterators and Iterables](http://www.shutupandship.com/2012/01/understanding-python-iterables-and.html) * [For Loops and Iterators](https://www.codementor.io/python/tutorial/python-generators-and-iterators) ## Import * [A Python Import Tutorial for Beginners](https://www.codementor.io/python/tutorial/python-path-virtualenv-import-for-beginners) ## Yield * [Python yield keyword explained](http://stackoverflow.com/questions/231767/the-python-yield-keyword-explained) ## Context Managers * [Understanding Python's with statement](http://effbot.org/zone/python-with-statement.htm) * [The Python "with" Statement by Example](http://preshing.com/20110920/the-python-with-statement-by-example/) ## Unicode * [Explain Unicode like I'm five years old](http://www.reddit.com/r/Python/comments/1g62eh/explain_it_like_im_five_python_and_unicode/) * [Unicode Pain](http://nedbatchelder.com/text/unipain.html) * [Python encodings and Unicode](http://eric.themoritzfamily.com/python-encodings-and-unicode.html) * [The Updated Guide to Unicode on Python](http://lucumr.pocoo.org/2013/7/2/the-updated-guide-to-unicode/) * [More About Unicode in Python 2 and 3](http://lucumr.pocoo.org/2014/1/5/unicode-in-2-and-3/) * [Unicode in Python: Common Pitfalls](http://blogs.skicelab.com/maurizio/unicode-common-pitfalls.html) * [Unicode HOWTO](https://docs.python.org/3/howto/unicode.html) ## Networking * [An intro to Python socket network programming](http://freepythontips.wordpress.com/2013/08/06/python-socket-network-programming/) ## Metaclasses * [A primer on python metaclasses](http://jakevdp.github.io/blog/2012/12/01/a-primer-on-python-metaclasses/) * [What is a metaclass in Python?](http://stackoverflow.com/questions/100003/what-is-a-metaclass-in-python) * [Improve Your Python: Metaclasses and Dynamic Classes With Type](http://www.jeffknupp.com/blog/2013/12/28/improve-your-python-metaclasses-and-dynamic-classes-with-type/) ## Documentation * [Documentation is King](http://kennethreitz.org/documentation-is-king/) * [Make your open source project documentation suck less](http://web.archive.org/web/20150813232522/http://kirang89.webfactional.com/2013/05/07/make-your-open-source-project-documentation-suck-less/) * [Python Documentation Network](http://pydoc.net/) * [Writing great documentation](http://jacobian.org/writing/great-documentation/) ### Sphinx * [Quick Sphinx documentation for Python](http://scriptsonscripts.blogspot.in/2012/09/quick-sphinx-documentation-for-python.html) ## Environments and Environment Management * [Virtualenv - The official documentation](http://www.virtualenv.org/en/latest/) * [Virtual Environments — The Hitchhiker's Guide to Python](http://docs.python-guide.org/en/latest/dev/virtualenvs/) * [Virtualenv Tutorial](http://simononsoftware.com/virtualenv-tutorial/) * [A Primer on virtualenv](http://iamzed.com/2009/05/07/a-primer-on-virtualenv/) * [How to use Python virtualenv](http://www.pythonforbeginners.com/basics/how-to-use-python-virtualenv) * [Making Virtualenv play nice with Git](http://hmarr.com/2010/jan/19/making-virtualenv-play-nice-with-git/) * [Extension to Virtualenv](https://bitbucket.org/dhellmann/virtualenvwrapper) * [VirtualEnv Burrito = virtualenv + virtualenvwrapper](https://github.com/brainsik/virtualenv-burrito) * [Virtualenv Tips](http://ericholscher.com/blog/2010/nov/1/virtualenv-tips/) * [Anaconda Primer](http://caffeineindustries.com/anaconda-primer.html) ## Exceptions * [Writing and Using Custom Exceptions](https://www.codementor.io/python/tutorial/how-to-write-python-custom-exceptions) ## Debugging * [Debugging Tools in Python](http://blog.ionelmc.ro/2013/06/05/python-debugging-tools/) * [Debugging Python Like a Boss](https://zapier.com/engineering/debugging-python-boss/) ### Logging * [Sentry - realtime event logging and aggregation platform](https://docs.sentry.io/) ## Testing * [Nose Introduction](http://pythontesting.net/framework/nose/nose-introduction/) * [Unittest Introduction](http://pythontesting.net/framework/unittest/unittest-introduction/) * [How To Use Coverage.py With Unittest](https://github.com/audreyr/how-to/blob/master/python/use_coverage_with_unittest.rst) * [An Extended Introduction to the nose Unit Testing Framework](http://ivory.idyll.org/articles/nose-intro.html) * [Test strategies for your Python projects](http://web.archive.org/web/20160604121116/http://blog.flaper87.com/post/522b9e560f06d32542ede77f/) * [Improve Your Python: Understanding Unit Testing](http://jeffknupp.com/blog/2013/12/09/improve-your-python-understanding-unit-testing/) * [An Introduction to Mocking in Python](http://www.toptal.com/python/an-introduction-to-mocking-in-python) * [Python Mock Library Comparison](https://garybernhardt.github.io/python-mock-comparison/) ## Profiling * [A guide to analyzing Python performance](http://www.huyng.com/posts/python-performance-analysis/) * [Profiling Python Like a Boss](https://zapier.com/engineering/profiling-python-boss/) ## Packaging * [The Hitchhiker’s Guide to Packaging](http://docs.python-guide.org/en/latest/shipping/packaging/) * [Sharing Your Labor of Love: PyPI Quick And Dirty](http://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/) * [Open Sourcing a Python Project the Right Way](http://www.jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/) * [5 tips for packaging your Python projects](http://ziade.org/2011/08/19/5-tips-for-packaging-your-python-projects/) * [AOSA: Python Packaging](http://www.aosabook.org/en/packaging.html) * [The Package Dependency Blues](http://blog.miguelgrinberg.com/post/the-package-dependency-blues) * [5 Simple Rules For Building Great Python Packages](http://axialcorps.com/2013/08/29/5-simple-rules-for-building-great-python-packages) * [Unofficial Windows Binaries for Python Extension Packages](http://www.lfd.uci.edu/~gohlke/pythonlibs/) * [Py2app: Standalone Mac OS X applications](http://pythonhosted.org/py2app/) * [PyInstaller: Stand-alone executables, under Windows, Linux, Mac OS X, Solaris and AIX](http://www.pyinstaller.org/) * [setup.py tricks](http://www.pydanny.com/python-dot-py-tricks.html) * [Python Packaging: Quick Tutorial & Checklist](https://holypython.com/python-packaging-quick-tutorial-checklist/) ## Deployment * [Solid Python Deployments for Everybody](http://hynek.me/talks/python-deployments) ### Fabric * [Using Fabric in a development environment](http://www.pythonforbeginners.com/systems-programming/how-to-use-fabric-in-a-development-environment/) * [Capture output from parallel execution with Fabric](http://dmsimard.com/2013/11/29/capture-output-from-parallel-execution-with-fabric/) ### Ansible * [Example Ansible scripts for building a full AWS stack](https://github.com/rabidgremlin/dev-ops-snippets/tree/master/aws-full-stack) ## Contributing to Python Development * [The CPython Developer's Guide](https://github.com/python/devguide) ## Warts and Gotchas * [Python 2.x gotcha's and landmines](http://stackoverflow.com/questions/530530/python-2-x-gotchas-and-landmines) * [Python Warts](https://wiki.python.org/moin/PythonWarts) * [Python Gotchas](http://blog.artlogic.com/2013/04/12/python-gotchas/) * [Common Pitfalls in Python](http://stackoverflow.com/questions/1011431/common-pitfalls-in-python/1321075#1321075) ## Web * [Python and Realtime Web](http://mrjoes.github.io/2013/06/21/python-realtime.html) * [A Python guide to handling HTTP request failures](https://www.mobify.com/blog/http-requests-are-hard/) ### Frameworks * [Django vs Flask vs Pyramid: Choosing a Python Web Framework](https://www.airpair.com/python/posts/django-flask-pyramid) #### Flask * [Flask Mega Tutorial Series](http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world) * [Designing a RESTful API with Python and Flask](http://blog.miguelgrinberg.com/post/designing-a-restful-api-with-python-and-flask) * [How I structure my Flask apps](http://web.archive.org/web/20160324134243/http://mattupstate.com/python/2013/06/26/how-i-structure-my-flask-applications.html) * [Designing a RESTful API using Flask-RESTful](http://blog.miguelgrinberg.com/post/designing-a-restful-api-using-flask-restful) * [Rapid Web Prototyping with Lightweight Tools](http://www.pixelmonkey.org/2013/03/13/rapid-web-prototyping-with-lightweight-tools) * [Build a Simple, Static, Markdown-Powered Blog with Flask](http://www.jamesharding.ca/posts/simple-static-markdown-blog-in-flask/) * [How to Build an API with Python and Flask](http://web.archive.org/web/20150502090353/http://tech.pro/tutorial/1213/how-to-build-an-api-with-python-and-flask) * [Create a Simple Music Streaming App with Flask](http://web.archive.org/web/20140424194048/http://pypix.com/python/create-simple-music-streaming-app-flask/) * [Adding full-text search to the flask note-taking app](http://charlesleifer.com/blog/saturday-morning-hacks-adding-full-text-search-to-the-flask-note-taking-app/) * [Kickstarting Flask on Ubuntu - Setup and Deployment](https://realpython.com/blog/python/kickstarting-flask-on-ubuntu-setup-and-deployment) * [OAuth Authentication with Flask](http://blog.miguelgrinberg.com/post/oauth-authentication-with-flask) * [Building a blog using Flask and AngularJS](http://tutsbucket.com/tutorials/building-a-blog-using-flask-and-angularjs-part-1/) * [A repository of Flask resources](https://github.com/humiaozuzu/awesome-flask) * [Building a Movie Recommendation Service with Spark & Flask](https://www.codementor.io/spark/tutorial/building-a-recommender-with-apache-spark-python-example-app-part2) * [Building a Kanban App with Flask and React](http://blog.tryolabs.com/2015/04/30/building-a-kanban-app-in-react/) ##### Books * [Explore Flask](https://exploreflask.com) #### Web2Py * [Building a Twitter clone in Web2Py](http://fragile.org.uk/2013/06/twitter-clone-tutorial-in-web2py-part-1-getting-started/) #### Django * [The official Django documentation](https://docs.djangoproject.com/) * [Getting started with Django](http://web.archive.org/web/20160618193743/http://gettingstartedwithdjango.com/) * [Starting a Django 1.6 Project the Right Way](http://www.jeffknupp.com/blog/2013/12/18/starting-a-django-16-project-the-right-way/) * [Building a hacker news clone in Django](http://arunrocks.com/building-a-hacker-news-clone-in-django-part-1/) * [Djen of Django](http://agiliq.com/books/djenofdjango/) * [Deploying Django](http://www.rdegges.com/deploying-django/) * [Django by Example](http://www.lightbird.net/dbe/) * [Tango with Django](http://www.tangowithdjango.com/book/) * [Django Screencasts](https://godjango.com/) * [Let’s TDD a Simple App in Django](http://web.archive.org/web/20131212220546/http://pypix.com/django/tdd-in-django/) * [Django runserver and stunnel for testing HTTPS](http://mgile.com/post/4729505823/django-stunnel) * [Scaling database with Django and HAProxy](http://engineering.hackerearth.com/2013/10/07/scaling-database-with-django-and-haproxy/) * [Classy Class-Based Views](http://ccbv.co.uk/) * [Django models, encapsulation and data integrity](http://www.dabapps.com/blog/django-models-and-encapsulation/) * [11 Things I Wish I Knew About Django Development Before I Started My Company](https://medium.com/cs-math/11-things-i-wish-i-knew-about-django-development-before-i-started-my-company-f29f6080c131) * [Build a Shopify App in 15 minutes with Django](http://gavinballard.com/shopify-app-in-15-minutes-with-django) * [A repository of must-watch videos about Django](https://github.com/rosarior/django-must-watch) * [Django Girls Tutorial](https://tutorial.djangogirls.org/en/) * [Mastering Django](http://masteringdjango.com/) * [Building a Wine Review & Recommendation Site with Django](https://www.codementor.io/python/tutorial/build-data-products-django-machine-learning-clustering-user-preferences) #### Bottle * [Developing with Bottle- Part 1](http://www.realpython.com/blog/python/developing-with-bottle-part-1/) #### Tornado * [Tornado official documentation](http://www.tornadoweb.org/en/stable/) * [Fastest database for Tornado](http://www.peterbe.com/plog/fastestdb) #### Pyramid * [Pyramid official documentation](http://docs.pylonsproject.org/en/latest/docs/pyramid.html) * [How To Use the Pyramid Framework To Build Your Python Web App on Ubuntu](https://www.digitalocean.com/community/tutorials/how-to-use-the-pyramid-framework-to-build-your-python-web-app-on-ubuntu) * [Building an AJAX Hello-World with Pyramid](https://www.codementor.io/javascript/tutorial/build-ajax-helloworld-pyramid) ### Web Servers * [A Comparison of Web Servers for Python Based Web Applications](https://www.digitalocean.com/community/articles/a-comparison-of-web-servers-for-python-based-web-applications) * [Setting Up a Rock Solid Python Development Web Server](https://fgimian.github.io/blog/2012/12/08/setting-up-a-rock-solid-python-development-web-server/) ### API and Web Services * [How to access various web services in python](http://www.pythonforbeginners.com/python-on-the-web/how-to-access-various-web-services-in-python/) * [Glassdoor API](https://github.com/hackerlist/glassdoor) ### Scraping * [Web Scraping with BeautifulSoup](http://www.pythonforbeginners.com/python-on-the-web/web-scraping-with-beautifulsoup/) * [Web Scraping 101 with Python](http://www.gregreda.com/2013/03/03/web-scraping-101-with-python/) * [Web Scraping with Scrapy Framework](http://doc.scrapy.org/en/latest/intro/tutorial.html) * [How to automatically search and download torrents with Python and Scrapy](http://fuzz-box.blogspot.in/2013/03/how-to-automatically-search-download-torrent-python-scrapy.html) ## Mobile Development ### Kivy * [Creating an Application in Kivy: Part 1](http://buchuki.com/index.php/2013/06/13/creating-an-application-in-kivy-part-1/) ## Google Glass ### Resources * [The official Python Quick Start for Google Glass](https://developers.google.com/glass/quickstart/python) ### Libraries #### glass.py * [Create python web applications for Google Glass](https://github.com/SamyPesse/glass.py) ## Image Processing * [Python Image Library - Examples](http://web.archive.org/web/20150814055529/http://www.riisen.dk/dop/pil.html) * [Digital Image Basics](https://holypython.com/digital-image-basics-with-pil-library-in-python/) * [How to Watermark Images with Python](https://holypython.com/how-to-watermark-images-w-python-pil/) ## GUI Programming * [Python.org GUI Overview Page](https://wiki.python.org/moin/GuiProgramming) * [PyQt5 Tutorial](https://coderslegacy.com/python/pyqt5-tutorial/) * [Standalone executable for PyQt4 on Windows](http://www.py2exe.org/index.cgi/Py2exeAndPyQt) * [Kivy GUI for cross-platform applications](http://kivy.org/) * [EffBot.org Introduction to Tkinter](http://effbot.org/tkinterbook/tkinter-index.htm) * [Pytkgen: JSON to Tkinter GUI Generator](https://github.com/tmetsch/pytkgen) * [Intro to programming with Python and Tkinter](https://wiki.python.org/moin/Intro%20to%20programming%20with%20Python%20and%20Tkinter) * [Tkinter Course - Create Graphic User Interfaces in Python Tutorial](https://www.youtube.com/watch?v=YXPyB4XeYLA) * [Python - GUI Programming (Tkinter)](https://www.tutorialspoint.com/python/python_gui_programming.htm) * [Creating GUI Programs Fast & Easy Tutorial](https://holypython.com/creating-gui-programs-w-python-fast-easy-pysimplegui/) ## Game Development * [Pygame Tutorial](https://coderslegacy.com/python/python-pygame-tutorial/) ## Android ### SL4A * [Making the Physics Gizmo app for Android using SL4A](http://www.brokenairplane.com/2011/08/im-not-texting-im-programming.html) ## WSGI * [Getting started with WSGI](http://lucumr.pocoo.org/2007/5/21/getting-started-with-wsgi/) * [WSGI Basics](http://agiliq.com/blog/2013/07/basics-wsgi/) ## Databases ### SQLAlchemy * [SQLAlchemy](http://www.aosabook.org/en/sqlalchemy.html) * [SQLAlchemy and you](http://lucumr.pocoo.org/2011/7/19/sqlachemy-and-you/) * [Essential SQLAlchemy Tips and Techniques](http://web.archive.org/web/20140424034838/http://pypix.com/tools-and-tips/essential-sqlalchemy/) * [10 common stumbling blocks for SQLAlchemy newbies](http://alextechrants.blogspot.fr/2013/11/10-common-stumbling-blocks-for.html) * [An SQLAlchemy Cheatsheet](https://www.codementor.io/python/tutorial/understanding-sqlalchemy-cheat-sheet) ## Data Mining * [Linux system mining using Python](http://architects.dzone.com/articles/linux-system-mining-python) ## Data Analysis * [Practical Data Science in Python](http://radimrehurek.com/data_science_python/) * [Document Clustering with Python](http://brandonrose.org/clustering) * [Data Science with Python & R: Data Frames](https://www.codementor.io/python/tutorial/python-vs-r-for-data-science-data-frames-i) * [Data Science with Python & R: Exploratory Data Analysis](https://www.codementor.io/python/tutorial/data-science-python-r-exploratory-data-analysis-visualization) * [Data Science with Python & R: Sentiment Classification Using Linear Methods](https://www.codementor.io/python/tutorial/data-science-python-r-sentiment-classification-machine-learning) * [Scientific Python Cheatsheet](https://ipgp.github.io/scientific_python_cheat_sheet/) * [Python Basics For Data Science](https://www.datacamp.com/community/tutorials/python-data-science-cheat-sheet-basics) * [SciPy Lecture Notes: One document to learn numerics, science, and data with Python](http://www.scipy-lectures.org/) * [Machine Learning Algorithms with Python](https://holypython.com/ml) ### Pandas * [A 10 min intro to Pandas](http://pandas.pydata.org/pandas-docs/stable/10min.html) * [Pandas and Python: Top 10](http://manishamde.github.io/blog/2013/03/07/pandas-and-python-top-10/) * [Learn Pandas](https://bitbucket.org/hrojas/learn-pandas) * [Faster Data Processing in Python](http://nbviewer.ipython.org/github/sanand0/ipython-notebooks/blob/master/Faster%20Data%20Processing%20in%20Python.ipynb) * [Learn More About Pandas By Building and Using a Weighted Average Function](http://pbpython.com/weighted-average.html) ## Data Visualization * [How to Create Matplotlib Animations](https://holypython.com/how-to-create-matplotlib-animations-the-ultimate-guide/) * [How to Save Matplotlib Animations](https://holypython.com/how-to-save-matplotlib-animations-the-ultimate-guide/) * [How to Create Plotly Animations](https://holypython.com/how-to-create-plotly-animations-the-ultimate-guide/) * [How to Save Plotly Animations](https://holypython.com/how-to-save-plotly-animations-the-ultimate-guide/) * [How to Map Charts in Python](https://holypython.com/how-to-create-map-charts-in-python-w-plotly-mapbox/) ## Deep Learning * [Build your first Neural Network with Python and Keras](http://machinelearningmastery.com/tutorial-first-neural-network-python-keras/) * [Building powerful image classification models using very little data](https://blog.keras.io/building-powerful-image-classification-models-using-very-little-data.html) * [Python implementation of several famous Deep Learning papers](https://github.com/fchollet/keras/tree/master/examples) ## IPython Notebooks * [A Gallery of Interesting IPython Notebooks](https://github.com/ipython/ipython/wiki/A-gallery-of-interesting-IPython-Notebooks) * [A collection of not-so-obvious Python stuff you should know!](http://nbviewer.ipython.org/github/rasbt/python_reference/blob/master/tutorials/not_so_obvious_python_stuff.ipynb?create=1) * [Peter Norvig's Notebook Collection](http://norvig.com/ipython/) * [Statistical Natural Language Processing in Python | How To Do Things With Words. And Counters.](http://nbviewer.ipython.org/url/norvig.com/ipython/How%20to%20Do%20Things%20with%20Words.ipynb) * [Analysis of World Bank Fertility Rate Data With Statsmodels PCA](http://nbviewer.ipython.org/urls/umich.box.com/shared/static/6m7f4lw9bdog241kqcmb.ipynb) * [Modeling the Last Flight of MH370 with a Markov Chain Monte Carlo Method](http://nbviewer.ipython.org/github/myhrvold/MH370_MCMC/blob/master/MH370_MC_ConorMyhrvold.ipynb) * [Differential Equations in Data Science](http://nbviewer.ipython.org/github/URXtech/techblog/blob/master/continuousTimeMarkovChain/markovChain.ipynb) * [Stegotons: solitary waves arising in non-dispersive periodic media](http://nbviewer.ipython.org/gist/ketch/8554686) * [The Traveling Salesperson Problem](http://nbviewer.ipython.org/url/norvig.com/ipython/TSP.ipynb) * [Scientific Computing with Python](http://nbviewer.ipython.org/url/atwallab.cshl.edu/teaching/QBbootcamp3.ipynb) * [Gaussian Blur](http://nbviewer.ipython.org/urls/raw.github.com/mroberts3000/GpuComputing/master/IPython/GaussianBlur.ipynb) * [Understanding the FFT Algorithm](http://nbviewer.ipython.org/url/jakevdp.github.io/downloads/notebooks/UnderstandingTheFFT.ipynb) * [lifelines: Survival Analysis in Python](http://lifelines.readthedocs.io) * [Economics Simulation](http://nbviewer.ipython.org/url/norvig.com/ipython/Economics.ipynb) * [An Introduction to Bayesian Methods for Multilevel Modeling](http://nbviewer.ipython.org/urls/raw.github.com/fonnesbeck/multilevel_modeling/master/multilevel_modeling.ipynb) * [The Floods of the Nile](http://nbviewer.jupyter.org/github/LCAV/SignalsOfTheDay/blob/master/Floods_of_the_Nile/FloodsOfTheNile.ipynb) * [Animal Foraging and the Evolution of Goal-Directed Cognition](http://nbviewer.ipython.org/urls/raw.github.com/rhiever/Intro-to-Evolutionary-Modeling/master/Animal%2520Foraging%2520and%2520the%2520Evolution%2520of%2520Goal-Directed%2520Cognition.ipynb) * [Wikipedia data scraping functions](http://nbviewer.ipython.org/urls/raw.github.com/brianckeegan/Wikipedia/master/wikipedia_scraping.ipynb) * [Python for Geosciences](https://github.com/koldunovn/python_for_geosciences) * [Media Signal Processing](http://www.mat.ucsb.edu/201A/) * [Get Started with Python](https://github.com/rajathkumarmp/Python-Lectures) * [A gallery of data science IPython notebooks](https://github.com/donnemartin/data-science-ipython-notebooks) * [Jupyter Notebooks derived from Allen Downey's Think Bayes](https://github.com/rlabbe/ThinkBayes) ## Design Patterns * [Python Best Practice Patterns by Vladimir Keleshev](http://www.youtube.com/watch?v=GZNUfkVIHAY) * [28 Design Patterns in Python and Several Other Languages](https://github.com/oxnz/design-patterns) * [Factory Pattern In Python](http://web.archive.org/web/20131008172420/http://dailypython.wordpress.com/2013/08/04/factory-pattern-in-python/) * [Wishful Coding in Python: a Problem Solving Philosophy](https://www.codementor.io/python/tutorial/wishful-coding-python-solving-big-problems) ### Concurrency Patterns * [Wasp's Nest: The Read-Copy-Update Pattern In Python](http://emptysqua.re/blog/wasps-nest-read-copy-update-python/) ## Concurrency and Distributed Systems * [Gevent and ZeroMQ](http://architects.dzone.com/articles/gevent-zeromq) * [Celery: Distributed Task Queue](https://celery.readthedocs.org/en/latest/getting-started/index.html) * [Gevent for the working Python developer](http://sdiehl.github.io/gevent-tutorial/) ## Functional Programming * [Recursion Explained with the Flood Fill Algorithm](http://inventwithpython.com/blog/2011/08/11/recursion-explained-with-the-flood-fill-algorithm-and-zombies-and-cats/) * [Functional Programming in Python](https://web.archive.org/web/20140105103917/http://pypix.com/python/functional-programming/) ## Python 2 vs 3 * [Python 2 or 3 ?](http://wiki.python.org/moin/Python2orPython3) * [Python 3 Q & A](http://python-notes.curiousefficiency.org/en/latest/python3/questions_and_answers.html) * [About Python 3](http://alexgaynor.net/2013/dec/30/about-python-3/) * [Let’s talk about Python 3.0](http://www.b-list.org/weblog/2008/dec/05/python-3000/) * [Pros and Cons about Python 3](http://lucumr.pocoo.org/2010/1/7/pros-and-cons-about-python-3/) ### Porting to Python 3 * [Python 3 Wall of Superpowers(Packages)](https://python3wos.appspot.com/) * [How to support both Python 2 and 3](http://ondrejcertik.blogspot.com/2013/08/how-to-support-both-python-2-and-3.html) * [How CherryPy supports Python 2 and 3](http://pyvideo.org/video/689/how-cherrypy-supports-python-2-and-3) * [Porting to Python 3 - The Book Site](http://python3porting.com/) * [Easy, clean, reliable Python 2/3 compatibility](http://python-future.org/) ## Books ### Free * [Free Programming Books - Python](https://github.com/vhf/free-programming-books/blob/master/free-programming-books.md#python) * [Python Programming - Free Computer Books](http://freecomputerbooks.com/langPythonBooks.html) * [Some free books on Python](http://pythonbooks.revolunet.com/) * [Invent with Python](http://inventwithpython.com/chapters/) * [Think Python](http://www.greenteapress.com/thinkpython/thinkpython.pdf) * [Byte of Python](http://files.swaroopch.com/python/byte_of_python.pdf) * [Snake Wrangling for Kids](http://www.briggs.net.nz/snake-wrangling-for-kids.html) * [Data Structures and Algorithms with Object-Oriented Design Patterns in Python](http://www.brpreiss.com/books/opus7/html/book.html) * [Python programming on wikibooks](http://en.wikibooks.org/wiki/Python_Programming) * [Dive Into Python 3](http://getpython3.com/diveintopython3/) * [Programming Computer Vision with Python](http://programmingcomputervision.com/) * [Python for you and me](http://pymbook.readthedocs.org/en/latest/) * [Program Arcade Games With Python And Pygame](http://programarcadegames.com/) * [Interactive python-problem solving](http://interactivepython.org/runestone/static/pythonds/index.html) * [How to make mistakes in Python](http://www.oreilly.com/programming/free/files/how-to-make-mistakes-in-python.pdf) * [Think Stats: Exploratory Data Analysis in Python](http://greenteapress.com/thinkstats2/html/index.html) ### Paid * [Some list of paid books on python](http://wiki.python.org/moin/PythonBooks) * [Porting to Python 3 - The Book Site](http://python3porting.com/) ## Online Courses and Challenges * [A Gentle Introduction to Programming Using Python](http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-189-a-gentle-introduction-to-programming-using-python-january-iap-2011/index.htm) * [Python Challenges](http://www.pythonchallenge.com/) * [Project Euler](http://projecteuler.net) * [Interactive, test-driven Python coding challenges](https://github.com/donnemartin/interactive-coding-challenges) ## Discussions * [What's your favorite programming language?](https://news.ycombinator.com/item?id=3746692) * [What is your primary programming language?](https://news.ycombinator.com/item?id=5944863) * [StackOverflow - Python beyond the basics](http://stackoverflow.com/questions/92230/python-beyond-the-basics) * [StackOverflow - Python progression path from apprentice to guru](http://stackoverflow.com/questions/2573135/python-progression-path-from-apprentice-to-guru) * [StackOverflow - Zen of Python](http://web.archive.org/web/20130801022115/http://stackoverflow.com/questions/228181/zen-of-python) * [StackOverflow - Hidden Features of Python](http://stackoverflow.com/questions/101268/hidden-features-of-python) ## Conferences and events * [Official PyCon website](http://www.pycon.org/) * [Lanyrd - Python Conference and Events](http://lanyrd.com/topics/python/) * [Meetup.com - Python Meetup Groups](http://python.meetup.com/) ## Videos * [Guido Van Rossum on the history of Python](http://www.youtube.com/watch?v=ugqu10JV7dk) * [Type Hints - Guido van Rossum - PyCon 2015](https://www.youtube.com/watch?v=2wDvzy6Hgxg) * [PyVideo](http://pyvideo.org/) * [Khan Academy - Introduction to programming and computer science using Python](https://www.khanacademy.org/science/computer-science) * [What are some "must-watch" Python videos ?](http://www.reddit.com/r/Python/comments/1rs7ub/what_are_some_mustwatch_python_videos/) * [Lanyrd - Python Videos](http://lanyrd.com/topics/python/video/) * [Python Videos, Tutorials and Screencasts at ShowMeDo](http://showmedo.com/videotutorials/python) * [Talks by Brandon Rhodes](http://rhodesmill.org/brandon/talks/) * [A Billion Rows per Second: Metaprogramming Python for Big Data](https://www.youtube.com/watch?v=rXj5nayS7Yg) * [The newboston site tutorial](https://thenewboston.com/videos.php?cat=36) - [Python 3 version](https://thenewboston.com/videos.php?cat=98) * [Python Programming Tutorials](https://www.youtube.com/playlist?list=PLEA1FEF17E1E5C0DA&feature=plcp) * [Must-watch videos about Python by s16h](https://github.com/s16h/py-must-watch) ## Editors and IDE's for Python programming * [Setting up Sublime Text for Python Development](http://dbader.org/blog/setting-up-sublime-text-for-python-development) * [Sublime Text 2 Love by Kenneth Reitz](http://kennethreitz.org/sublime-text-2-love/) * [Sublime Text 2 tips for Python and web developers](http://opensourcehacker.com/2012/05/11/sublime-text-2-tips-for-python-and-web-developers/) * [PyCharm](http://www.jetbrains.com/pycharm/) * [Geany](http://geany.org/) * [Geany with pylint](http://michaeljaylissner.com/blog/using-pylint-in-geany) * [PyDev](http://pydev.org) * [Ninja-IDE](http://ninja-ide.org/) * [Emacs setup for python development environment](http://web.archive.org/web/20141026080721/http://caisah.info/archive/emacs-for-python.pdf) * [Emacs for python](https://github.com/gabrielelanaro/emacs-for-python) * [Python Anywhere](https://www.pythonanywhere.com/) * [PythonBuddy](http://pythonbuddy.com/) * [ExtendsClass](https://extendsclass.com/python.html) ## BigData * [Mind map of Python for Big Data](http://www.xmind.net/m/WvfC/?goback=%2Emid_I2756675707*43_*1#%21) ## Curated Python resources from other websites * [Python Resources (All) - Codesters.org](http://web.archive.org/web/20160401215551/http://codesters.org/resource/topic/python/all/) * [Learn Python Online](https://www.codementor.io/learn-python-online) * [Programming Community Curated Python Tutorials & Courses](https://hackr.io/tutorials/learn-python) * [Classpert: Find and compare online courses from multiple providers](https://classpert.com/python-programming) ## Newsletters * [Pycoder's](http://pycoders.com/) * [Python Weekly](http://www.pythonweekly.com/) ## Podcasts * [Podcast.\__init__](http://podcastinit.com/) * [Talk Python To Me](https://talkpython.fm/) ## Miscellaneous * [Good to great Python reads](http://jessenoller.com/good-to-great-python-reads/) * [How to Create Barcodes in Your PDFs with Python](http://java.dzone.com/articles/how-create-barcodes-your-pdfs) * [What are some good Python interview questions ?](http://www.quora.com/What-are-good-Python-interview-questions) * [Python innards introduction](http://tech.blog.aknin.name/2010/04/02/pythons-innards-introduction/) * [Projects - A list of practical projects](https://github.com/thekarangoel/Projects) * [More Python Tutorials](http://web.archive.org/web/20141030172027/http://www.awaretek.com/tutorials.html) * [Developer Tools in Python](http://pypix.com/tools-and-tips/developer-tools/) * [The Best of Python in 2013](http://pypix.com/roundups/best-python-2013/) * [Top Projects of 2013](http://us4.campaign-archive2.com/?u=9735795484d2e4c204da82a29&id=384b699bca&e=1826c8bb55) * [Advanced Regular Expression Tips and Techniques](http://pypix.com/tools-and-tips/advanced-regular-expression-tips-techniques/) * [Advanced Data Structures in Python](http://pypix.com/python/advanced-data-structures-python/) * [Simple Sudoku solver in python](http://freepythontips.wordpress.com/2013/09/01/sudoku-solver-in-python/) * [Looking Inside Dropbox – Security whitepaper](http://freepythontips.wordpress.com/2013/08/30/looking-inside-dropbox-whitepaper/) * [Why sorting an array makes a Python loop faster](http://rickystewart.wordpress.com/2013/09/03/why-sorting-an-array-makes-a-python-loop-faster/) * [Python Integer object implementation](http://www.laurentluce.com/posts/python-integer-objects-implementation/) * [The history of Python - Blog](http://python-history.blogspot.in/) * [The ever useful and neat subprocess module](http://sharats.me/the-ever-useful-and-neat-subprocess-module.html) * [Hidden Features in Python](http://stackoverflow.com/questions/101268/hidden-features-of-python/111176) * [Python module of the week](http://pymotw.com/2/) * [Become a programmer](http://programming-motherfucker.com/become.html#Python) * [Python tutor](http://pythontutor.com/) * [Best developer blogs about python - Quora](https://www.quora.com/Python-programming-language-1/What-are-the-best-developer-blogs-about-Python-development) * [Python blogs -Stackoverflow](http://web.archive.org/web/20130516092627/http://stackoverflow.com/questions/152480/python-blogs-that-you-regularly-follow) * [Abstracting Control Flow](http://hackflow.com/blog/2013/10/08/abstracting-control-flow/) * [Python Algorithm Visualizations done in Python running in the browser](http://pyalgoviz.appspot.com/) * [Solving Every Sudoku Puzzle](http://norvig.com/sudoku.html) * [IHeartPy!](http://www.iheartpy.com/) * [Difference Between 2 Images: Pixel Level Scanning](https://holypython.com/python-code-to-show-the-difference-between-2-images/)
3,181
Um guia extenso de informações com um vasto conteúdo de várias áreas para ajudar, agregar conhecimento e retirar dúvidas, nesse guia você encontrará tudo que necessário para qualquer carreira relacionada a tecnologia.
<p align="center"> <a href="https://github.com/arthurspk/guiadevbrasil"> <img src="./images/guia.png" alt="Guia Extenso de Programação" width="160" height="160"> </a> <h1 align="center">Guia Extenso de Programação</h1> </p> ## :dart: O guia para alavancar a sua carreira > Abaixo você encontrará conteúdos para te guiar e ajudar a se tornar um desenvolvedor ou se especializar em qualquer área de TI. Caso você já atue como desenvolvedor ou em outra área, confira o repositório para descobrir novas ferramentas para o seu dia-a-dia, caminhos possíveis e as tecnologias para incorporar na sua stack com foco em se tornar um profissional atualizado e diferenciado em front-end, back-end, dentre outras. <sub> <strong>Siga nas redes sociais para acompanhar mais conteúdos: </strong> <br> [<img src = "https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white">](https://github.com/arthurspk) [<img src = "https://img.shields.io/badge/Facebook-1877F2?style=for-the-badge&logo=facebook&logoColor=white">](https://www.facebook.com/seixasqlc/) [<img src="https://img.shields.io/badge/linkedin-%230077B5.svg?&style=for-the-badge&logo=linkedin&logoColor=white" />](https://www.linkedin.com/in/arthurspk/) [<img src = "https://img.shields.io/badge/Twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white">](https://twitter.com/manotoquinho) [![Discord Badge](https://img.shields.io/badge/Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/NbMQUPjHz7) [<img src = "https://img.shields.io/badge/instagram-%23E4405F.svg?&style=for-the-badge&logo=instagram&logoColor=white">](https://www.instagram.com/guiadevbrasil/) [![Youtube Badge](https://img.shields.io/badge/YouTube-FF0000?style=for-the-badge&logo=youtube&logoColor=white)](https://www.youtube.com/channel/UCzmXzz_VR0Li8-YOvWN_t3g) </sub> ## :closed_book: E-Book > Este repositório é um projeto gratuito para a comunidade de desenvolvedores. Você pode me ajudar comprando o e-book "e-Front" se estiver interessado em aprender ou melhorar suas habilidades de desenvolvimento front-end. O e-book é completo e cobre tecnologias essenciais como HTML, CSS, JavaScript, React, TypeScript e mais. O valor é simbólico e sua compra me ajuda a produzir e fornecer mais conteúdo gratuito para a comunidade. Adquira agora e comece sua jornada no desenvolvimento front-end. - eFront - Estudando Desenvolvimento Front-end do Zero. [Clique aqui para comprar](https://hotm.art/cSMObU) ## ⚠️ Aviso importante > Antes de tudo você pode me ajudar e colaborar, deu bastante trabalho fazer esse repositório e organizar para fazer seu estudo ou trabalho melhor, portanto você pode me ajudar das seguintes maneiras: - Me siga no [Github](https://github.com/arthurspk) - Acesse as redes sociais do [Guia Dev Brasil](https://beacons.ai/guiadevbrasil/) - Mande feedbacks no [LinkedIn](https://www.linkedin.com/in/arthurspk/) - Faça uma doação pelo PIX: [email protected] ## 💡 Nossa proposta > A proposta deste guia é dar uma ideia sobre o atual panorama e guiá-lo se você estiver confuso sobre qual será o seu próximo aprendizado, sem influenciar você a seguir os 'hypes' e 'trends' do momento. Acreditamos que com um maior conhecimento das diferentes estruturas e soluções disponíveis poderá escolher a ferramenta que melhor se aplica às suas demandas. E lembre-se, 'hypes' e 'trends' nem sempre são as melhores opções. ## :beginner: Para quem está começando agora > Não se assuste com a quantidade de conteúdo apresentado neste guia. Acredito que quem está começando pode usá-lo não como um objetivo, mas como um apoio para os estudos. <b>Neste momento, dê enfoque no que te dá produtividade e o restante marque como <i>Ver depois</i></b>. Ao passo que seu conhecimento se torna mais amplo, a tendência é este guia fazer mais sentido e ficar fácil de ser assimilado. Bons estudos e entre em contato sempre que quiser! :punch: ## 🚨 Colabore - Abra Pull Requests com atualizações - Discuta ideias em Issues - Compartilhe o repositório com a sua comunidade ## 🌍 Tradução > Se você deseja acompanhar esse repositório em outro idioma que não seja o Português Brasileiro, você pode optar pelas escolhas de idiomas abaixo, você também pode colaborar com a tradução para outros idiomas e a correções de possíveis erros ortográficos, a comunidade agradece. <img src = "https://i.imgur.com/lpP9V2p.png" alt="Guia Extenso de Programação" width="16" height="15">・<b>English — </b> [Click Here](https://github.com/arthurspk/guiadevbrasil)<br> <img src = "https://i.imgur.com/GprSvJe.png" alt="Guia Extenso de Programação" width="16" height="15">・<b>Spanish — </b> [Click Here](https://github.com/arthurspk/guiadevbrasil)<br> <img src = "https://i.imgur.com/4DX1q8l.png" alt="Guia Extenso de Programação" width="16" height="15">・<b>Chinese — </b> [Click Here](https://github.com/arthurspk/guiadevbrasil)<br> <img src = "https://i.imgur.com/6MnAOMg.png" alt="Guia Extenso de Programação" width="16" height="15">・<b>Hindi — </b> [Click Here](https://github.com/arthurspk/guiadevbrasil)<br> <img src = "https://i.imgur.com/8t4zBFd.png" alt="Guia Extenso de Programação" width="16" height="15">・<b>Arabic — </b> [Click Here](https://github.com/arthurspk/guiadevbrasil)<br> <img src = "https://i.imgur.com/iOdzTmD.png" alt="Guia Extenso de Programação" width="16" height="15">・<b>French — </b> [Click Here](https://github.com/arthurspk/guiadevbrasil)<br> <img src = "https://i.imgur.com/PILSgAO.png" alt="Guia Extenso de Programação" width="16" height="15">・<b>Italian — </b> [Click Here](https://github.com/arthurspk/guiadevbrasil)<br> <img src = "https://i.imgur.com/0lZOSiy.png" alt="Guia Extenso de Programação" width="16" height="15">・<b>Korean — </b> [Click Here](https://github.com/arthurspk/guiadevbrasil)<br> <img src = "https://i.imgur.com/3S5pFlQ.png" alt="Guia Extenso de Programação" width="16" height="15">・<b>Russian — </b> [Click Here](https://github.com/arthurspk/guiadevbrasil)<br> <img src = "https://i.imgur.com/i6DQjZa.png" alt="Guia Extenso de Programação" width="16" height="15">・<b>German — </b> [Click Here](https://github.com/arthurspk/guiadevbrasil)<br> <img src = "https://i.imgur.com/wWRZMNK.png" alt="Guia Extenso de Programação" width="16" height="15">・<b>Japanese — </b> [Click Here](https://github.com/arthurspk/guiadevbrasil)<br> ## 📚 ÍNDICE [🔧 Ferramentas para tradução de conteúdo](#-ferramentas-para-tradução-de-conteúdo) <br> [👨‍🏫 Sites para estudar programação](#-sites-para-estudar-programação) <br> [🎨 Sites para desenvolvedor front-end](#-sites-para-desenvolvedor-front-end) <br> [🎮 Sites para aprender a programar jogando](#-sites-para-aprender-a-programar-jogando) <br> [✨ Templates HTML gratuitos](#-templates-html-gratuitos) <br> [🪅 Sites para aprender ou treinar CSS](#-sites-para-aprender-ou-treinar-css) <br> [🪡 Geradores de CSS](#-geradores-de-css) <br> [🔎 Sites para buscar vagas remotas](#-sites-para-buscar-vagas-remotas) <br> [🔧 Ferramentas de desenvolvimento](#-ferramentas-de-desenvolvimento) <br> [🗂 Gerenciamento de projetos](#-gerenciamento-de-projetos) <br> [📝 IDEs e editores de código](#-ides-e-editores-de-código) <br> [🖌 Design Front-end](#-design-front-end) <br> [🔤 Linguagens de programação](#-linguagens-de-programação) <br> [📕 Guia de Estilo](#-guia-de-estilo) <br> [📁 Desafios](#-desafios) <br> [🛠️ Ferramentas para desenvolvedores WEB](#-ferramentas-para-desenvolvedores-web) <br> [⚒️ Ferramentas para buscar projetos open source](#-ferramentas-para-buscar-projetos-open-source) <br> [🐧 Melhores distros linux para programadores](#-melhores-distros-linux-para-programadores) <br> [🔗 Bibliotecas JavaScript](#-bibliotecas-javascript) <br> [🪛 9 Ferramentas que todo DEV precisa conhecer](#-7-ferramentas-que-todo-dev-precisa-conhecer) <br> [🎭 Sites para praticar UI/UX](#-sites-para-praticar-uiux) <br> [☁ Ferramentas para hospedar seu site](#-ferramentas-para-hospedar-seu-site) <br> [🌌 Sites para inspirar o seu desenvolvimento](#-sites-para-inspirar-o-seu-desenvolvimento) <br> [📮 Banco de imagens gratuitas](#-banco-de-imagens-gratuitas) <br> [👔 Aumentando o network](#-aumentando-o-network) <br> [🎠 Sites para baixar e encontrar fontes](#-sites-para-baixar-e-encontrar-fontes) <br> [🧵 Sites de paletas de cores](#-sites-de-paletas-de-cores) <br> [🎇 Lista de ilustrações](#-lista-de-ilustrações) <br> [🎆 Sites de icones](#-sites-de-icones) <br> [🎥 Canais do youtube com conteúdo grautito](#-canais-do-youtube-com-conteúdo-gratuito) <br> [🔓 Pentest](#-pentest) <br> [🎙 Blogs e Podcasts](#-blogs-e-podcasts) <br> [💼 Business](#-business) <br> [🧭 Web Developer Roadmap](#-web-developer-roadmap) <br> [🔩 Extensões para o seu navegador](#-extensões-para-o-seu-navegador) <br> [📚 Recomendação de livros](#-recomendação-de-livros) <br> [📱 Apps para praticar programação](#-apps-para-praticar-programação) <br> [📘 Sites para treinar projetos front-end](#-sites-para-treinar-projetos-front-end) <br> [📗 Sites para treinar projetos back-end](#-sites-para-treinar-projetos-back-end) <br> [📙 Sites para treinar projetos mobile](#-sites-para-treinar-projetos-mobile) <br> [🛖 Ideias para projeto](#-ideias-para-projeto) <br> [🦓 Sites e cursos para aprender Java](#-sites-e-cursos-para-aprender-java) <br> [🐴 Sites e cursos para aprender JavaScript](#-sites-e-cursos-para-aprender-javascript) <br> [🐓 Sites e cursos para aprender HTML](#-sites-e-cursos-para-aprender-html) <br> [🦄 Sites e cursos para aprender CSS](#-sites-e-cursos-para-aprender-css) <br> [🐍 Sites e cursos para aprender Python](#-sites-e-cursos-para-aprender-python) <br> [🐘 Sites e cursos para aprender PHP](#-sites-e-cursos-para-aprender-php) <br> [🦚 Sites e cursos para aprender C#](#-sites-e-cursos-para-aprender-c) <br> [🦉 Sites e cursos para aprender C](#-sites-e-cursos-para-aprender-c-1) <br> [🐸 Sites e cursos para aprender C++](#-sites-e-cursos-para-aprender-c-2) <br> [🦉 Sites e cursos para aprender Camunda](#-sites-e-cursos-para-aprender-camunda) <br> [🐶 Sites e cursos para aprender Kotlin](#-sites-e-cursos-para-aprender-kotlin) <br> [🦊 Sites e cursos para aprender Swift](#-sites-e-cursos-para-aprender-swift) <br> [🐺 Sites e cursos para aprender Go](#-sites-e-cursos-para-aprender-go) <br> [🐦 Sites e cursos para aprender Ruby](#-sites-e-cursos-para-aprender-ruby) <br> [💧 Sites e cursos para aprender Elixir](#-sites-e-cursos-para-aprender-elixir) <br> [🐷 Sites e cursos para aprender React](#-sites-e-cursos-para-aprender-react) <br> [🐼 Sites e cursos para aprender React Native](#-sites-e-cursos-para-aprender-react-native) <br> [🐯 Sites e cursos para aprender Angular](#-sites-e-cursos-para-aprender-angular) <br> [🐞 Sites e cursos para aprender Vue](#-sites-e-cursos-para-aprender-vue) <br> [🦂 Sites e cursos para aprender Svelte](#-sites-e-cursos-para-aprender-svelte) <br> [🦞 Sites e cursos para aprender Flutter](#-sites-e-cursos-para-aprender-flutter) <br> [🐹 Sites e cursos para aprender jQuery](#-sites-e-cursos-para-aprender-jquery) <br> [🐢 Sites e cursos para aprender Less](#-sites-e-cursos-para-aprender-less) <br> [🐱 Sites e cursos para aprender Sass](#-sites-e-cursos-para-aprender-sass) <br> [🐰 Sites e cursos para aprender Bootstrap](#-sites-e-cursos-para-aprender-bootstrap) <br> [🐻‍❄️ Sites e cursos para aprender MySQL](#%EF%B8%8F-sites-e-cursos-para-aprender-mysql) <br> [🐮 Sites e cursos para aprender Git e Github](#-sites-e-cursos-para-aprender-git-e-github) <br> [🦣 Sites e cursos para aprender TypeScript](#-sites-e-cursos-para-aprender-typescript) <br> [🦬 Sites e cursos para aprender Node.js](#-sites-e-cursos-para-aprender-nodejs) <br> [🦌 Sites e cursos para aprender Next.js](#-sites-e-cursos-para-aprender-nextjs) <br> [🦘 Sites e cursos para aprender Assembly](#-sites-e-cursos-para-aprender-assembly) <br> [🦒 Sites e cursos para aprender Lua](#-sites-e-cursos-para-aprender-lua) <br> [🐫 Sites e cursos para aprender Perl](#-sites-e-cursos-para-aprender-perl) <br> [🐧 Sites e cursos para aprender Linux](#-sites-e-cursos-para-aprender-linux) <br> [🦥 Sites e cursos para aprender Ionic](#-sites-e-cursos-para-aprender-ionic) <br> [🦦 Sites e cursos para aprender Jira](#-sites-e-cursos-para-aprender-jira) <br> [🦫 Sites e cursos para aprender Rust](#-sites-e-cursos-para-aprender-rust) <br> [🦭 Sites e cursos para aprender Scala](#-sites-e-cursos-para-aprender-scala) <br> [🦝 Sites e cursos para aprender Nuxt.js](#-sites-e-cursos-para-aprender-nuxtjs) <br> [🦎 Sites e cursos para aprender Gulp](#-sites-e-cursos-para-aprender-gulp) <br> [🐅 Sites e cursos para aprender MongoDB](#-sites-e-cursos-para-aprender-mongodb) <br> [🦩 Sites e cursos para aprender GraphQL](#-sites-e-cursos-para-aprender-graphql) <br> [🦙 Sites e cursos para aprender Cassandra](#-sites-e-cursos-para-aprender-cassandra) <br> [🦛 Sites e cursos para aprender SQL Server](#-sites-e-cursos-para-aprender-sql-server) <br> [🐐 Sites e cursos para aprender Postgree SQL](#-sites-e-cursos-para-aprender-postgree-sql) <br> [🐑 Sites e cursos para aprender Delphi](#-sites-e-cursos-para-aprender-delphi) <br> [🐊 Sites e cursos para aprender Wordpress](#-sites-e-cursos-para-aprender-wordpress) <br> [🐳 Sites e cursos para aprender Docker](#-sites-e-cursos-para-aprender-docker) <br> [🦜 Sites e cursos para aprender Kubernets](#-sites-e-cursos-para-aprender-kubernets) <br> [🐆 Sites e cursos para aprender Nest](#-sites-e-cursos-para-aprender-nest) <br> [🐿 Sites e cursos para aprender Laravel](#-sites-e-cursos-para-aprender-laravel) <br> [🐃 Sites e cursos para aprender AWS](#-sites-e-cursos-para-aprender-aws) <br> [🐬 Sites e cursos para aprender Google Cloud](#-sites-e-cursos-para-aprender-google-cloud) <br> [🦆 Sites e cursos para aprender Azure](#-sites-e-cursos-para-aprender-azure) <br> [🦅 Sites e cursos para aprender Django](#-sites-e-cursos-para-aprender-django) <br> [🐏 Sites e cursos para aprender Gatsby](#-sites-e-cursos-para-aprender-gatsby) <br> [🐂 Sites e cursos para aprender ASP.net](#-sites-e-cursos-para-aprender-aspnet) <br> [🐖 Sites e cursos para aprender Inteligência Artificial](#-sites-e-cursos-para-aprender-inteligência-artificial) <br> [🦀 Sites e cursos para aprender Machine Learning](#-sites-e-cursos-para-aprender-machine-learning) <br> [🦑 Sites e cursos para aprender Data Science](#-sites-e-cursos-para-aprender-data-science) <br> [🐙 Sites e cursos para aprender NumPy](#-sites-e-cursos-para-aprender-numpy) <br> [🦃 Sites e cursos para aprender Pandas](#-sites-e-cursos-para-aprender-pandas) <br> [🐟 Sites e cursos para aprender XML](#-sites-e-cursos-para-aprender-xml) <br> [🦢 Sites e cursos para aprender Jenkins](#-sites-e-cursos-para-aprender-jenkins) <br> [🦤 Sites e cursos para aprender Xamarin](#sites-e-cursos-para-aprender-xamarin) <br> [🦁 Sites e cursos para aprender Matlab](#sites-e-cursos-para-aprender-matlab) <br> [🪲 Sites e cursos para aprender Julia](#sites-e-cursos-para-aprender-julia) <br> [🐨 Sites e cursos para aprender PowerShell](#-sites-e-cursos-para-aprender-powershell) <br> [🐥 Sites e cursos para aprender Flask](#-sites-e-cursos-para-aprender-flask) <br> [🐔 Sites e cursos para aprender Spring](#-sites-e-cursos-para-aprender-spring) <br> [🐗 Sites e cursos para aprender Tailwind CSS](#-sites-e-cursos-para-aprender-tailwind-css) <br> [🦐 Sites e cursos para aprender Styled Components](#-sites-e-cursos-para-aprender-styled-components) <br> [🐎 Sites e cursos para aprender Magento](#-sites-e-cursos-para-aprender-magento) <br> [🐜 Sites e cursos para aprender ArangoDB](#-sites-e-cursos-para-aprender-arangodb) <br> [📚 Sites e cursos para aprender Linha de comando](#-sites-e-cursos-para-aprender-linha-de-comando) <br> ## 🔧 Ferramentas para tradução de conteúdo > Muito do conteúdo desse repositório pode se encontrar em um idioma diferente do seu, desta maneira, fornecemos algumas ferramentas para que você consiga realizar a tradução do conteúdo, lembrando que o intuito desse guia é fornecer todo o conteúdo possível para que você possa se capacitar na área de tecnologia independente do idioma a qual o material é fornecido, visto que se você possuí interesse em consumir esse material isso não será um empecilho para você continue seus estudos. - [Google Translate](https://translate.google.com.br/?hl=pt-BR) - [Linguee](https://www.linguee.com.br/ingles-portugues/traducao/translate.html) - [DeepL](https://www.deepl.com/pt-BR/translator) - [Reverso](https://context.reverso.net/traducao/ingles-portugues/translate) ## 👨‍🏫 Sites para estudar programação - [Rocketseat](https://rocketseat.com.br/) - Cursos gratuitos sobre as tecnologias mais quentes do mercado - [Digital Innovation One](http://digitalinnovation.one/) - Plataforma de ensino gratuita que desenvolve e conecta talentos - [Torne-se um Programador](https://www.torneseumprogramador.com.br/cursos) - Dezenas de cursos gratuitos completos e avançados com aplicações reais de mercado. - [Curso em Vídeo](https://www.cursoemvideo.com/) - Cursos básicos gratuitos para iniciantes - [Origamid](https://www.origamid.com/) - Cursos gratuitos e pagos paras desenvolver suas habilidades na área de UX & UI Design e desenvolvimento front-end - [Udemy Development](https://www.udemy.com/courses/development/?price=price-free&sort=popularity) - +1.400 cursos de desenvolvimento gratuitos - [Udemy IT](https://www.udemy.com/courses/it-and-software/?price=price-free&lang=pt&sort=popularity) - +100 cursos de TI e softwares - [HackerRank](https://www.hackerrank.com/) - Desafios de Programação Back-end. Com IDE integrada - [Hackereath](https://www.hackerearth.com/) - Site para desenvolver suas habilidades de código. - [CoderByte](https://coderbyte.com/) - Desafios de Programação Back-end. Com IDE integrada - [Coderchef](https://www.codechef.com/) - Site para Estuda sobre programação, código e afins. - [W3Resources](https://w3resource.com) - Exercícios online para praticar de inúmeras linguagens - [Coursera](https://www.coursera.org/) - Cursos gratuitos com conteúdos conceituados - [Scrimba](https://scrimba.com/) - Cursos gratuitos e pagos para aprender as tecnologias mais demandadas do Front-end - [CodePen](https://codepen.io/) - Rede social de desenvolvedores front-end - [Codementor](https://www.codementor.io/) - Site para praticar e aprender a desenvolver suas skills como desenvolvedor - [FreeCodeCamp](https://www.freecodecamp.org/) - Aprenda como codificar gratuitamente e ganhe portfólio ajudando organizações sem fins lucrativos - [GeeksForGeeks](https://www.geeksforgeeks.org/) - Plataforma para desenvolver suas habilidade em diversas áreas da programação - [W3Schools](https://www.w3schools.com) - Inúmeras documentações explicadas de forma intuitiva - [Khan Academy](https://pt.khanacademy.org/) - Plataforma de estudos conceituada sobre aprendizado gamificado - [Udacity](https://www.udacity.com/) - Aprendizado tecnológico com ps conteúdos mais quentes do mercado (IA, data science, cloud computing, etc) - [SoloLearn](https://www.sololearn.com/) - Aprenda a programar gratuitamente pelo celular ou web - [edX](https://www.edx.org/) - Aprenda com os melhores, cursos de ciência da computação e ciência de dados ministradas por docentes das maiores e melhores universidades de todo o mundo - [Treehouse](https://teamtreehouse.com/) - Cursos para desenvolvedores e aprimomaromento de portfólio - [Coding Ground](https://www.tutorialspoint.com/codingground.htm) - Várias plat - ormas de codificação online - [TheOdinProject](https://www.theodinproject.com/) - Site para aprender programação e desenvolvimento por meio de cursos - [FrontEndMaster](https://frontendmasters.com/) - Site para aprender programação e desenvolvimento por meio de cursos - [Balta.io](https://balta.io) - Site para aprender programação e desenvolvimento por meio de cursos - [FrontEndMaster](https://frontendmasters.com/) - Site para aprender programação e desenvolvimento por meio de cursos - [DataScienceAcademy](https://www.datascienceacademy.com.br/) - Site com diversos cursos gratuitos para inciar no mundo de Python & DataScience - [FIAPx](https://www.fiap.com.br/fiapx) - Site com diversos cursos gratuitos na área da tecnologia - [FGV](https://educacao-executiva.fgv.br/busca?keys=&curso_tipo%5B%5D=517&modalidade%5B%5D=45&area-conhec%5B%5D=571&tipo_invest%5B1%5D=1&estados=26&cidades=251&unidade=All&sort_by=field_oferta_data_inicio_turma_value&items_per_page=10&mail_address_me=) - Site com diversos cursos gratuitos na área da tecnologia - [CodeAcademy](https://www.codecademy.com/) - Site com diversos cursos gratuitos de programação (EN) - [Kaggle](https://www.kaggle.com/learn) - Site com diversos cursos gratuitos de Python & DataScience (EN) - [Complete Intro to Web Development](https://btholt.github.io/intro-to-web-dev-v2/) - Site com os principais conteúdos referentes a desenvolvimento web criado e mantido por um dos professores do site Frontend Masters (EN) - [4noobs](https://github.com/he4rt/4noobs) - Repositório desenvolvido para mostrar os conhecimentos básicos em diversas linguagens e ferramentas para desenvolvedores iniciantes. ## 🎨 Sites para desenvolvedor front-end - [Uiverse](https://uiverse.io/) - Rede social de elementos de interfaces. - [Shape Dividers](https://shapedividers.com) - Gera divisores de formas verticais, responsivos, e animados facilmente com este gerador de divisores de formas SVG - [Couleur](https://couleur.io) - Uma ferramenta de cores simples para ajudá-lo a encontrar uma boa paleta de cores para seu projeto da web) - [Baseline CSS Filters](https://baseline.is/tools/css-photo-filters/) - 36 Belos filtros de fotos, com edição simples e CSS para copiar) - [UI Deck](https://uideck.com) - Modelo de página de destino HTML gratuitos e premium, temas de bootstrap, modelos de React, modelos de Tailwind, modelos de site HTML, e kits de interface de usúario) - [Naevner](https://naevner.com) - Descrição de cores em linguagem natural, gerador de códigos em cores hexadecimais) - [Meta Tags](https://metatags.io/) - Elementos de metadados HTML gerados automaticamente para melhor o SEO ## 🎮 Sites para aprender a programar jogando - [Code Combat](https://br.codecombat.com) - Site para aprender conceitos e linguagens de programação enquanto joga - [CheckiO](https://checkio.org) - CheckiO é um site que tem como objetivo ensinar programação, mas todos os desafios de codificação devem ser concluídos em Python. - [CodeWars](https://www.codewars.com/) - Desafios de Programação Back-end. IDE integrada - [Schemaverse](https://schemaverse.com) - O Schemaverse é um jogo de estratégia baseado no espaço implementado inteiramente em um banco de dados PostgreSQL. - [Code Monkey](https://codemonkey.com) - CodeMonkey é um ambiente de codificação de computador educacional que permite que iniciantes aprendam conceitos e linguagens de programação de computador. - [Coding Games](https://www.codingame.com/) - Desafios Programação Back-end com foco em temática de jogos. IDE integrada - [Edabit](https://edabit.com/) - Desafios de Programação Back-end. IDE integrada - [Flexbox Zombie](https://mastery.games/flexboxzombies/) - Desafios com CSS Flexbox para se defender de zumbis - [Flexbox Defense](http://www.flexboxdefense.com) - Desafios com CSS Flexbox para impedir que inimigos ultrapassem suas defesas - [CSS Grid Attack](https://codingfantasy.com/games/css-grid-attack) - Ataque inimigos enquanto treina práticas de CSS, com uma narrativa mais profunda - [Code](https://code.org/minecraft) - Site para estudos de algoritmos com a temática do jogo Minecraft ## ✨ Templates HTML gratuitos - [Bootstrap Made](https://bootstrapmade.com/) - Temas HTML5 + CSS3 gratuitos - [W3 Layouts](https://w3layouts.com) - Temas HTML5 + CSS3 gratuitos - [One Page Love](https://onepagelove.com) - Temas HTML5 + CSS3 gratuitos - [ThemeWagon Freebies](https://themewagon.com/theme_tag/free/) - Temas HTML5 + CSS3 gratuitos - [HTML5 UP](https://html5up.net/) - Temas HTML5 + CSS3 gratuitos ## 🪅 Sites para aprender ou treinar CSS - [CSS Grid Garden](http://cssgridgarden.com/) - Ferramenta online para estudos de Grid (CSS) - [Flukeout](http://flukeout.github.io/) - Aplicação online para aprender CSS de forma prática - [Flex Box Froggy](https://flexboxfroggy.com/) - Desafio de Programação Front-end focados na propriedade flex box. IDE integrada. - [Flexbox Defense](http://www.flexboxdefense.com/) - Aprenda flexbox com um game - [100 Dias de CSS](https://100dayscss.com) - 100 Desafios de CSS - [CSS Battle](https://cssbattle.dev/) - Batalhas temporárias de CSS. IDE integrada - [CSS Tricks](https://css-tricks.com/guides/) - Site para treinar - [CSS Hell](https://csshell.dev/) - Coleção de erros comuns de CSS e como corrigi-los ## 🪡 Geradores de CSS - [Neumorphism](https://neumorphism.io/) - Tendência aplicação border-radius - [Fancy Border-Radius](https://9elements.github.io/fancy-border-radius/) - Gerador de formas com border-radius no CSS - [WAIT! Animate](https://waitanimate.wstone.io) - Gerador de animações de CSS - [Best CSS Button Generator](https://www.bestcssbuttongenerator.com) - Gerador de botões do CSS - [HTML CSS JS Generator](https://html-css-js.com/css/generator/) - Gerador de HTML/CSS/JS - [BennettFeely](https://bennettfeely.com/clippy/) - Criador de clip-path - [Animista](https://animista.net) - Criador de animações ## 🔎 Sites para buscar vagas remotas - [BairesDev](https://www.bairesdev.com) - [Bergamot](https://bergamot.io) - [Coodesh](https://coodesh.com) - [Há Vagas](https://havagas.pt) - [Hired](https://hired.com) - [JustRemote](https://justremote.co) - [Programathor](https://programathor.com.br/) - [Remotar](https://remotar.com.br) - [Remote OK](https://remoteok.io) - [Strider](https://www.onstrider.com/) - [Toptal](https://www.toptal.com) - [Turing](https://www.turing.com) - [Working Nomads](https://workingnomads.co) - [X-Team](https://x-team.com) ## 🔧 Ferramentas de desenvolvimento: - [Internxt](https://internxt.com/) - Internxt Drive é um armazenamento de arquivos de conhecimento zero serviço baseado na melhor privacidade e segurança da classe - [Motion](https://motion.dev/) - Uma nova biblioteca de animação, construída na API Web Animations para o menor tamanho de arquivo e o desempenho mais rápido. - [Hokusai](https://hokusai.app/) - Conteúdo sobre NFT's - [Hidden Tools](https://hiddentools.dev) - Ampla coleção de ferramentas feitas pela comunidade disponiveís para uso - [Dev Hints](https://devhints.io) - Coleção de cheatsheets - [Bundlephobia](https://bundlephobia.com) - Descubra o custo de adicionar um pacote npm ao seu pacote - [Refactoring Guru](https://refactoring.guru/pt-br/design-patterns) - Padrões de projetos "Design patterns" - [DevDocs](https://devdocs.io/) - DevDocs combina várias documentações de API em uma interface rápida, organizada e pesquisável. - [HTML Validator](https://www.freeformatter.com/html-validator.html) - Validação de arquivo HTML - [HTML 5 Test](https://html5test.com/index.html) - Testa arquivos HTML5 - [Image Slide Maker](https://imageslidermaker.com/v2) - Ferramenta de geração gratuita do Image Slider Maker - [.NET Fiddle](https://dotnetfiddle.net/) - Codifique e compartilhe projetos C# online - [1PageRank](http://www.1pagerank.com/) - Rankeie seu site nos mecanismos de buscas e aprenda com a concorrência - [4Devs](https://www.4devs.com.br/) - Ferramentas online gratuitas, geradores de cpf, conta bancária, pessoas, cnpj, cep, rg, validadores, encoders e muitas outras - [Any API](https://any-api.com/) - Diretório gratuito com APIs públicas - [Autoprefixer CSS](http://autoprefixer.github.io/) - Transpile código CSS atual para código CSS com maior cobertura de navegadores antigos - [Browser diet](https://browserdiet.com/pt/) - Guia de performance para desenvolvimento web - [Can I email...](https://www.caniemail.com/) - Descubra o que do HTML e CSS pode ser usado em estruturas de e-mail - [Can I use...](https://caniuse.com/) - Descubra se você pode usar determinadas tecnologias web - [CloudFlare](https://www.cloudflare.com/pt-br/) - CDN grátis - [CMDER](https://cmder.net/) - Linha de comando simples, consegue rodar comands bash e Shell, alternativa ao Hyper - [CodePen](https://codepen.io/) - Rede social de desenvolvedores front-end - [CodeSandbox](https://codesandbox.io/) - Caixa de área para desenvolvedores web - [Connection Strings](https://www.connectionstrings.com/) - Site com strings de conexão para diversas plataformas - [CSS Formatter](https://www.cleancss.com/css-beautify/) - Retire a minificação e formate o código CSS - [CSS Minifier](https://cssminifier.com/) - Conversor de código CSS para CSS minificado - [CSS W3.org](https://jigsaw.w3.org/css-validator/) - Validar CSS - [Debuggex: Online visual regex tester. JavaScript, Python, and PCRE](https://www.debuggex.com) - Construa e teste expressões regulares - [docsify](https://docsify.js.org/#/) - Crie docs incríveis de projetos - [EasyForms](https://easyforms.vercel.app/) - API open source que permite criação formulários de contato com HTML puro - [Editor.md](https://pandao.github.io/editor.md/en.html) - Editor Markdown online e open source - [ES6console](https://es6console.com/) - Compilador de JS para Ecmascript - [Firebase](https://firebase.google.com/?hl=pt-BR) - Desenvolva aplicativos mobile e web incríveis este serviço da Google - [Firefox Developer Edition](https://www.mozilla.org/pt-BR/firefox/developer/) - Navegador web para desenvolvedores web - [Full Page Screen Capture](https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl?hl=pt-BR) - Capture páginas inteiras com uma extensão para Chrome - [generatedata](http://www.generatedata.com/) - Gerador de dados para testes - [Git Command Explorer](https://gitexplorer.com/) - Encontre os comandos certos que você precisa sem vasculhar a web - [GitHub Gist](https://gist.github.com/) - Faça pequenas anotações e pequenos códigos no GitHub Gist - [Google Transparency Report](https://transparencyreport.google.com/safe-browsing/search) - Verificar segurança de um site - [Grader](https://website.grader.com/) - Avaliação de site - [How to Center in CSS](http://howtocenterincss.com/) - Gerador de código para divs ou textos que necessitam de centralização - [Hyper](https://hyper.is/) - Linha de comando simples, útil e gratuito - [Joomla](https://www.joomla.org/) - CMS gratuita - [JS Bin](https://jsbin.com/) - Codifique e compartilhe projetos HTML, CSS e JS - [JSCompress](https://jscompress.com/) - Conversor de código JS para JS minificado - [JSON Editor Online](https://jsoneditoronline.org/) - Ferramenta para visualizar e editar arquivos JSON - [JSFiddle](https://jsfiddle.net/) - Codifique projetos JS online - [JSONLint](https://jsonlint.com/) - Ferramenta para validar seu JSON - [JSON Generator](https://app.json-generator.com/) - Ferramenta para gerar JSON com base em template - [KeyCDN Tools](https://tools.keycdn.com/) - Faça uma análise das suas aplicações web - [Liveweave](https://liveweave.com/) - Codifique projetos HTML, CSS e JS - [Lorem Ipsum](https://br.lipsum.com/) - Gerador de texto fictício - [Mapbox](https://www.mapbox.com/) - Mapas e localização para desenvolvedores - [Memcached](https://memcached.org/) - Melhore o desempenho de seu website com cache - [Mockaroo](https://www.mockaroo.com/) - Gerador de dados para testes - [Mussum Ipsum](https://mussumipsum.com/) - Gerador de texto fictício - [NPM HTTP-Server](https://www.npmjs.com/package/http-server) - Rode um servidor local com um pacote npm - [Password Generator](https://danieldeev.github.io/password-generator/) - Um gerador de senhas simples com foco na segurança - [Online C Compiler](https://www.onlinegdb.com/online_c_compiler) - Ferramenta para compilar C online - [React Dev Tools](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi) - Ferramenta para debug do ReactJS - [React Hook Form](https://react-hook-form.com/) - Valide seus formulários de projetos que utilizam React ou React Native - [Readme.so](https://readme.so/pt) - Crie de maneira fácil o readme para seu projeto - [RelaX](http://dbis-uibk.github.io/relax/index.htm) - Crie expressões algébricas relacionais de consultas - [Responsive](http://www.codeorama.com/responsive/) - Teste a responsividade do seu site - [Responsively](https://responsively.app/) - Ferramenta para facilitar a responsividade do seu site - [Shields.io](https://shields.io/) - Gerador de badges para markdown - [SSL Server Test](https://www.ssllabs.com/ssltest/) - Testar SSL de sites - [StreamYard](https://streamyard.com/) - O StreamYard é um estúdio de transmissões ao vivo no seu navegador - [Swagger](https://swagger.io/) - Ferramenta para projetar, construir, documentar e usar serviços da Web RESTful - [Tabela ASCII](https://web.fe.up.pt/~ee96100/projecto/Tabela%20ascii.htm) - Tabela completa com caracteres ASCII - [Telegram](https://telegram.org/) - Mensageiro criptografado - [TinyJPG](https://tinyjpg.com/) - Comprima imagem do formato JPG - [TinyPNG](https://tinypng.com/) - Comprima imagem do formato PNG - [Creately](https://creately.com/) - Crie e altere lindos diagramas em tempo real com a sua equipe - [Carbon](https://carbon.now.sh/) - Crie Snippets de codigo clean e bonitos - [DbDiagram](https://dbdiagram.io/home) - Crie elegrantes diagramas de banco de dados e gere script ddl - [SqlDesigner](https://ondras.zarovi.cz/sql/demo/) - Crie Diagramas de banco de dados de maneira rapida e gere script ddl - [W3.org](https://validator.w3.org/) - Validar HTML - [WakaTime](https://wakatime.com/) - Gerencie seu tempo de desenvolvimento - [Web Developer](https://chrome.google.com/webstore/detail/web-developer/bfbameneiokkgbdmiekhjnmfkcnldhhm?hl=pt-BR) - Extensão para Chrome com multi-funções - [Web.dev](https://web.dev/) - Testar website (criado pela Google) - [WebPageTest](https://www.webpagetest.org/) - Testar perfomance de site - [Wedsites](https://wedsites.com/) - Liste suas atividades e acompanhe seu progresso - [WordPress](https://wordpress.org/) - Criação de blogs - [XML Sitemaps](https://www.xml-sitemaps.com/) - Criador de sitemaps.xml - [Patterns.dev](https://www.patterns.dev/) - Design patterns para projetos web modernos - [Devhints](https://devhints.io/) - Documentação curta, prática e objetiva de cada linguagem de programação ## 🗂 Gerenciamento de projetos - [Asana](https://asana.com/pt) - Gerenciamento de trabalho - [Azure DevOps](https://azure.microsoft.com/services/devops/) - Gerenciamento de projetos focados em planejamento, colaboração e entregas - [Dontpad](http://dontpad.com/) - Abas de anotações sem necessidade de cadastro - [Draw.io](https://www.draw.io/) - Desenvolva mapas mentais incríveis - [Evernote](https://evernote.com/intl/pt-br) - Notas autoadesivas na nuvem - [Google Keep](https://keep.google.com/) - Notas autoadesivas na nuvem - [Jira](https://www.atlassian.com/software/jira) - Gerenciador de projetos e monitoramento de tarefas - [lucidchart](https://lucidchart.com) - Documentação e gerenciamento de tarefas em equipe - [Miro](https://miro.com/) - Quadro branco colaborativo em tempo real - [Notion](https://www.notion.so/) - Notas autoadesivas na nuvem e gerenciamento de projetos online - [Pipefy](https://www.pipefy.com/) - Gerenciador de projetos (PMS) - [Protectedtext](https://www.protectedtext.com/) - Abas de anotações criptografadas sem necessidade de cadastro - [Slack](https://slack.com/) - Gerenciamento de projetos com equipes - [Taiga](https://taiga.io/) - Controle de projetos com equipes através de quadros - [Taskade](https://www.taskade.com/) - Gerenciamento de projetos pessoais e de equipe com notas e mapas mentais integrados - [Things](https://culturedcode.com/things/) - Gerenciador de tarefas pessoais - [Todoist](https://todoist.com/app?lang=pt_BR) - Gerenciamento de projetos pessoais e em equipe - [Trello](https://www.trello.com/) - Gerencie seus projetos com quadros - [YouTrack](https://www.jetbrains.com/youtrack/) - Gerenciador de projetos online ## 📝 IDEs e editores de código - [Atom](https://atom.io/) - Editor de código do GitHub - [BBEdit](https://www.barebones.com/products/bbedit/) - Editor de código para Mac OS - [Beekeeper Studio](https://www.beekeeperstudio.io/) - Editor de código SQL e gerenciador de banco de dados - [Brackets](http://brackets.io/) - Editor de código da Adobe - [CodeBlocks](http://www.codeblocks.org/) - IDE para C e C++ - [Dev C++](https://sourceforge.net/projects/orwelldevcpp/) - IDE Dev C++ para liguagem C/C++ - [Eclipse](https://www.eclipse.org/downloads/) - IDE software livre da IBM - [Geany](https://geany.org/) - Editor de texto poderoso, estável e leve - [IntelliJ IDEA](https://www.jetbrains.com/idea/) - IDE da Jetbrains - [NeoVim](https://neovim.io/) - Editor de código via terminal - [LunarVim](https://www.lunarvim.org/#opinionated) - Editor de código via terminal baseado em NeoVim e Escrito em Lua - [NetBeans](https://netbeans.org/) - IDE gratuita da Apache - [Notepad++](https://notepad-plus-plus.org/) - Editor de código raíz - [Code with Mu](https://codewith.mu) - Um editor de código Python simples, para iniciantes - [PHPStorm](https://www.jetbrains.com/phpstorm/) - IDE específica para PHP - [PyCharm](https://www.jetbrains.com/pycharm/) - IDE específica para Python - [RStudio](https://www.rstudio.com/products/rstudio/download/#download) - IDE específica para a Linguagem R e suas variantes - [StackEdit](https://stackedit.io/) - Editor de markdown online - [Sublime Text](https://www.sublimetext.com/) - Sua licença expirou - [Thonny](https://thonny.org) - IDE Python para iniciantes - [Visual Studio](https://visualstudio.microsoft.com/pt-br/vs/) - IDE da Microsoft - [Visual Studio Code](https://code.visualstudio.com/) - Editor de código da Microsoft ## 🖌 Design Front-end - [Adobe XD](https://www.adobe.com/br/products/xd.html) - Software de design para projetos - [Awwwards](https://www.awwwards.com) - Inspiração para interfaces e templates com o que há de mais novo em questão de design de interfaces - [Bootstrap](https://www.getbootstrap.com/) - Framework CSS - [BuildBootstrap](https://buildbootstrap.com/) - Crie layout responsivo para o framework Bootstrap na versão 3 e 4 - [Bulma CSS](https://bulma.io/) - Estrutura CSS gratuita baseada no Flexbox - [Canva](https://www.canva.com/) - Ferramenta de design online - [Chart.js](https://www.chartjs.org/) - Biblioteca JavaScript de criação de gráficos - [Colors and Fonts](https://www.colorsandfonts.com/) - Apresenta paletas de cores e tipografia - [Coolors](https://coolors.co/) - Palhetas de cores e monte a sua própria - [Colors lol](https://colors.lol) - Repositório de paletas de cores - [Cruip](https://cruip.com/) - Recursos de templates - [CSS Effects Snippets](https://emilkowalski.github.io/css-effects-snippets/) - Animações CSS prontas para usar - [CSS Layout](https://csslayout.io/) - Layouts e padrões populares feitos com CSS - [CSS Reference](https://cssreference.io/) - Guia visual para CSS com referencias de uso - [CSS Tricks](https://css-tricks.com/) - Blog com vários tutoriais frontend - [DevSamples](https://www.devsamples.com/) - Exemplos de códigos fáceis de usar para HTML, CSS e JavaScript - [Excalidraw](https://excalidraw.com) - Desenhe diagramas como se tivessem sido feitos a mão - [Fancy Border-Radius](https://9elements.github.io/fancy-border-radius/) - Gerador de formas com border-radius no CSS - [Figma](https://www.figma.com/) - Desenhe projetos online de apps, softwares e websites - [Flatui Color Picker](http://www.flatuicolorpicker.com/) - Paleta de cores interativa de forma harmonizar o front - [Font Flipper](https://fontflipper.com/) - Ferramenta para testar fontes - [FontPair](https://fontpair.co/) - Ferramenta para combinações de fontes - [FontSpark](https://fontspark.app/) - Gera fontes aleatórias de uma lista de fontes famosas usadas na web - [Foundation](https://foundation.zurb.com/) - Framework responsivo - [Framer](https://www.framer.com/) - Ferramenta de criação de interfaces interativas - [FreeFrontEnd](https://freefrontend.com/) - Exemplos de códigos, tutoriais e artigos de HTML, CSS, Javascript (Angular, JQuery, React, Vue) - [Gravit Designer](https://www.designer.io) - Ferramenta de design online com suporte a ilustração vetorial - [Grid Layoutit](https://grid.layoutit.com/) - Gerador de grid para código CSS - [HTML DOM](https://htmldom.dev/) - Gerenciar o DOM HTML com JavaScript vanilla - [Interfacer](https://interfacer.xyz/) - Recursos para criação de interfaces - [Interfaces.pro](https://interfaces.pro/) - Inspiração para interfaces - [Invision](https://www.invisionapp.com/) - Software de design para projetos - [Lottie](https://lottiefiles.com/) - Animações em after effects via json - [Luna](https://github.com/OfficialMarinho/luna) - Framework CSS brasileiro - [Material-UI](https://material-ui.com/) - Um framework de interface de usuário para React - [Mockup](https://mockup.io/about/) - Visualize e colabore no design de aplicativos para dispositivos móveis - [Nes.css](https://nostalgic-css.github.io/NES.css/) - Framework CSS estilo NES - [Neumorphism](https://neumorphism.io/) - Tendência aplicação border-radius - [Normalize CSS](https://necolas.github.io/normalize.css/) - Normaliza estruturas entre navegadores - [Pixilart](https://www.pixilart.com/draw) - Desenhe pixel arts online - [Pixlr](https://pixlr.com/br/) - Conjunto de ferramentas e utilitários de edição de imagem baseado em nuvem - [PSD-To-CSS-Shadow](http://psd-to-css-shadows.com/) - Gera o script para uma sombra (box-shadow & text-shadow) no CSS baseado nas configurações de sombra no Photoshop - [Pure.css](https://purecss.io/) - Framework CSS responsivo - [Remove.bg](https://www.remove.bg/) - Remove fundos de imagens automaticamente - [Sketch](https://www.sketch.com/) - Desenvolvimento de layouts em alta qualidade - [Squoosh.app](https://squoosh.app/) - Compressor de imagens e comparador, via navegador - [SweetAlert2](https://sweetalert2.github.io/) - Biblioteca JavaScript de alertas responsivos e customizáveis - [Tailwind CSS](https://tailwindcss.com/) - Framework de estilo CSS - [UI Gradients](https://uigradients.com/) - UI gradientes para utilizar - [Vectorizer](https://www.vectorizer.io/) - Converta imagens como PNGs, BMPs e JPEGs em gráficos vetoriais ​​(SVG, EPS, DXF) - [Whimsical](https://whimsical.com/) - Flowchart, Wireframe, Sticky Notes e Mind Map - [X-Icon Editor](http://www.xiconeditor.com/) - Gerador de favicon com alta resolução a partir de imagens ## 🔤 Linguagens de programação - [C#](https://docs.microsoft.com/pt-br/dotnet/csharp/) - Linguagem de programação baseada no C++ - [Clojure](https://clojure.org/) - Linguagem de programação funcional (muito utilizada para IAs) - [Dart](https://dart.dev/) - Linguagem de script voltada à web desenvolvida pela Google, utilizada no Flutter - [Elixir](https://elixir-lang.org/) - Linguagem de programação funcional, concorrente, de propósito geral que executa na máquina virtual Erlang (BEAM) - [F#](https://docs.microsoft.com/pt-br/dotnet/fsharp/) - Linguagem de programação orientada a objetos e funcional - [Fortran](https://www.fortran90.org/) - Linguagem de programação desenvolvida pela IBM, usado na ciência da computação e análises numéricas - [Go](https://golang.org/) - Linguagem de código aberto para tornar os programadores mais produtivos - [Haskell](https://www.haskell.org/) - Linguagem de programação puramente funcional e estaticamente tipada - [Java](https://www.java.com/pt_BR/) - Linguagem de programação tipada, orientada a objetos e de alta performance - [JavaScript](http://brasil.js.org) - Constante evolução e crescimento no mercado - [Julia](https://julialang.org/) - Linguagem de programação de código aberto e alto desempenho para computação técnica - [Kotlin](https://kotlinlang.org/) - Linguagem de programação multiplataforma, orientada a objetos compila para a MVJ - [Lua](https://www.lua.org/portugues.html) - Linguagem de programação originária do Brasil, permite programação procedural e POO (popular em jogos) - [MatLab](https://www.mathworks.com/help/matlab/) - Linguagem de programação de alto nível com foco em cálculos e construção de gráficos - [Pascal](https://docs.freepascal.org/) - Linguagem de programação imperativa, estruturada e orientada à objetos - [Perl](https://www.perl.org/) - Linguagem de programação multiplataforma e dinâmica - [PHP](https://www.php.net/) - A linguagem de programação dominante na web - [Python](https://www.python.org/) - Muito indicada para projetos de dados, inteligência artificial, aprendizado de máquina e chatbots - [R](https://cran.r-project.org/) - Linguagem de programação com foco em matemática, estatística, ciência de dados e aprendizagem de máquina - [Ruby](https://www.ruby-lang.org/pt/) - Linguagem de programação de multiparadigma e tipagem dinâmica - [Rust](https://www.rust-lang.org/pt-BR/) - Linguagem estáticamente tipada para sistemas rápidos, concorrentes, de baixo nível e seguros - [Swift](https://www.apple.com/br/swift/) - Criada pela Apple para principalmente desenvolvimento de apps para iPhone - [Scala](https://www.scala-lang.org/) - Linguagem de programação moderna, multi-paradigma, concisa, elegante e com tipagem segura - [Visual Basic](https://docs.microsoft.com/pt-br/dotnet/visual-basic/) - Linguagem de programação da Microsoft (com IDE gráfica) ## 📕 Guia de Estilo - [Airbnb - Javascript](https://github.com/airbnb/javascript) - Guia de estilo de código em JavaScript do Airbnb - [Airbnb - Ruby](https://github.com/airbnb/ruby) - Guia de estilo de código em Ruby do Airbnb - [Google - Boas práticas em Engenharia](https://github.com/google/eng-practices) - Boas práticas de Engenharia utilizadas pelos internos da Google - [Google - C++](https://google.github.io/styleguide/cppguide.html) - Guia de estilo de código em C++ do Google - [Google - Python](https://google.github.io/styleguide/pyguide.html) - Guia de estilo de código em Python do Google - [Google - Java](https://google.github.io/styleguide/javaguide.html) - Guia de estilo de código em Java do Google ## 📁 Desafios - [Ace Front End](https://www.acefrontend.com/) - Desafios de programação Front-end. Resultados via texto. IDE integrada - [AdventoOfCode](https://adventofcode.com/) - Desafios de programação por temporada. Sem IDE integrada. Validação manual feita pelo usuário - [App Ideas](https://github.com/florinpop17/app-ideas) - Compilado de desafios para você testar seus conhecimentos e aumentar seu portfólio - [Capture The Flag - CTF](https://capturetheflag.com.br/) - Desafios reais de hacking, desenvolvido por especialistas brasileiros - [ChallengeRocket](https://challengerocket.com/) - Desafios de Programação Back-end. IDE integrada - [Code Golf - StackExchange](https://codegolf.stackexchange.com/) - Desafios de programação da comunidade para a comunidade, IDE integrada somente pelo Snippet - [CodeForces](https://codeforces.com/) - Desafios de Programação Back-end com a compilação e testes feito pela plataforma porém sem IDE integrada - [CodePen Challenges](https://codepen.io/challenges) - Desafios de Programação Front-end. IDE integrada - [CoderByte](https://coderbyte.com/) - Desafios de Programação Back-end. IDE integrada - [CodeSignal](https://app.codesignal.com/) - Desafios de Programação Back-end. IDE integrada - [CodeWars](https://www.codewars.com/) - Desafios de Programação Back-end. IDE integrada - [Codier](https://codier.io/challenge) - Desafios de Programação Front-end, análise dos resultados feita pela comunidade. IDE integrada - [Codility](https://app.codility.com/) - Desafios de Programação Back-end. IDE integrada - [Coding Games](https://www.codingame.com/) - Desafios Programação Back-end com foco em temática de jogos. IDE integrada - [CSES](https://cses.fi/problemset/) - Desafios de Programação Back-end. IDE integrada - [CSS Battle](https://cssbattle.dev/) - Batalhas temporárias de CSS. IDE integrada - [DailyCodingProblem](https://www.dailycodingproblem.com/) - Desafios de Programação Back-end enviados por e-mail. Solução do problema Premium - [Desafio333](https://github.com/codigofalado/desafio333) - O Desafio333 é um desafio bimestral SIMPLES com o objetivo de convidar a comunidade a conhecer novas ferramentas - [DevChallenge](https://www.devchallenge.com.br/) - Site com desafios de front-end, back-end e mobile - [DevChallenges.io](https://devchallenges.io/) - Site com projectos webs responsivos, front-end e full-stack - [Edabit](https://edabit.com/) - Desafios de Programação Back-end. IDE integrada - [Exercism.io](https://exercism.io/) - Desafios de Programação Back-end. Sem IDE integrada. Requer download de CLI. - [Flex Box Defense](http://www.flexboxdefense.com/) - Desafio de Programação Front-end focados na propriedade flex box. IDE integrada. - [Flex Box Froggy](https://flexboxfroggy.com/) - Desafio de Programação Front-end focados na propriedade flex box. IDE integrada. - [Front End Challanged Club](https://piccalil.li/category/front-end-challenges-club) - Bogs com desafios de programação front-end - [Frontend Challengens](https://github.com/felipefialho/frontend-challenges) - Repositório no GitHub com vários desafios solicitados reais solicitados por empresas - [Frontend Mentor](https://www.frontendmentor.io/) - Desafios de Programação Front-end, análise dos resultados feita pela comunidade, sem IDE integrada - [HackerRank](https://www.hackerrank.com/) - Desafios de Programação Back-end. IDE integrada - [HackTheBox](https://www.hackthebox.eu/) - Site com laboratórios para praticar pentest de forma gratuita e legal - [LeetCode](https://leetcode.com/) - Desafios de Programação Back-end. IDE integrada - [BinarySearch](https://binarysearch.com/) - Desafios de Programação Back-end. IDE integrada - [CodeAbbey](https://www.codeabbey.com/) - Desafios de Programação Back-end. IDE integrada - [ProjectEuler](https://projecteuler.net/) - Desafios de Programação Back-end focado em problemas matemáticos. IDE integrada - [Sphere Onlune Judge (SPOJ)](https://www.spoj.com/) - Desafios de Programação Back-end com a compilação e testes feito pela plataforma porém sem IDE integrada - [TopCoder](https://arena.topcoder.com/) - Desafios e Arena de Programação Back-end. IDE integrada - [URI/Beecrowd](https://www.beecrowd.com.br/) - Desafios Programação Back-end, matemáticos e SQL. IDE integrada - [OsProgramadores](https://osprogramadores.com/desafios/) - Desafios de Lógica de Programação do grupo Os Programadores. ## 🛠️ Ferramentas para desenvolvedores WEB - [Minimamente](https://www.minimamente.com/project/magic/) - [Hamburgers](https://jonsuh.com/hamburgers/) - [Hover Effects](https://ianlunn.github.io/Hover/) ## ⚒ Ferramentas para buscar projetos open source - [Up for Grabs](http://up-for-grabs.net/) - [Isse Hub](http://issuehub.pro/) - [Code Triage](https://www.codetriage.com/) - [First Timers Only](http://www.firsttimersonly.com/) - [Your First Pr](https://twitter.com/yourfirstpr) - [Github Explore](https://github.com/explore/) ## 🐧 Melhores distros linux para programadores - [Pop!\_Os](https://pop.system76.com/) - Distribuição Linux Pop!\_Os - [Arch Linux](https://archlinux.org/) - Distribuição Linux Arch Linux - [Debian](https://www.debian.org/) - Distribuição Linux Debian - [Ubuntu](https://ubuntu.com/) - Distribuição Linux Ubuntu - [Fedora](https://getfedora.org/pt_BR/) - Distribuição Linux Fedora - [Linux Mint](https://linuxmint.com/) - Distribuição Linux Mint - [OpenSUSE](https://www.opensuse.org) - Distribuição Linux OpenSUSE - [Kali Linux](https://www.kali.org) - Distribuição Linux Kali Linux - [KDE Neon](https://www.neon.kde.org) - Distribuição Linux KDE Neon - [Solus](https://www.getsol.us) - Distribuição Linux Solus - [Tails](https://www.tails.boum.org) - Distribuição Linux Tails - [Zorin OS](https://zorin.com/os/) - Distribuição Linux Zorin - [Kubuntu](https://kubuntu.org/) - Distribuição Linux Kubuntu ## 🔗 Bibliotecas JavaScript - [Lax.js](https://github.com/alexfoxy/lax.js) - [Swiper](https://swiperjs.com/) - [WOW](https://wowjs.uk/) - [Animate](https://animate.style/) - [ApexCharts](https://apexcharts.com/) - [Particles.js](https://vincentgarreau.com/particles.js/) - [ScrollMagic](https://scrollmagic.io/) ## 🪛 9 Ferramentas que todo DEV precisa conhecer - [Unminify](https://unminify.com/) - Ferramenta desofuscação de códigos. - [Figma](https://www.figma.com) - ferramenta para design de interfaces. - [Insomnia](https://insomnia.rest) - é um API Client, uma ferramenta para fazer testes de API's. - [Rive](https://rive.app) - ferramenta colaborativa de animação para apps, jogos e sites. - [CloudCraft](https://www.cloudcraft.co) - plataforma com foco em criar desenhos de arquiteturas AWS. - [BundlePhobia](https://bundlephobia.com) - site para descobrir o custo de adicionar um npm package no seu pacote. - [Font Flipper](https://fontflipper.com) - Tinder das fontes, basta apertar X caso não goste e ❤ se você gostar, adicione aos favoritos já com o nome da fonte e faça o download pelo Google fonts. - [VisBug](https://github.com/GoogleChromeLabs/ProjectVisBug) - é uma extensão de Chrome, criada pelo google, ferramenta de design que te permite mudar o layout das páginas da web desde o estilo de fontes até a posição dos elementos. - [ThunderClient](https://www.thunderclient.io) - é um Rest API Client totalmente leve e compatível com Visual Studio Code. Idêntico ao Postman, ele serve para realizar testes com nossas requisções HTTP. - [SmallDevTools](https://smalldev.tools/) - Ferramentas GRATUITAS para desenvolvedores, como codificador/decodificador, formatadores HTML/CSS/Javascript, minificadores, geradores de dados falsos ou de teste &amp; muito mais ## 🎭 Sites para praticar UI/UX - [Sharpen](https://sharpen.design/) - [Daily UI](https://www.dailyui.co/) - [UX Challenges](https://uxtools.co/challenges) - [Drawerrr](https://drawerrr.com/challenge) - [Uplabs](https://www.uplabs.com/challenges) ## ☁ Ferramentas para hospedar seu site - [Github Pages](https://pages.github.com/) - Hospedado diretamente de seu repositório GitHub. Basta editar, enviar e suas alterações entrarão em vigor - [Award Space](https://www.awardspace.com/) - Hospedagem gratuita na web + um subdomínio gratuito, PHP, MySQL, instalador de aplicativo, envio de e-mail e sem anúncios - [Byet](https://byet.host/) - Hospedagem Gratuita e Serviços de Hospedagem Premium. - [Infinity Free](https://infinityfree.net/) - Free Unlimited Web Hosting - [1FreeHosting](http://www.1freehosting.com/) - Hospedagem de sites grátis com 100GB de largura de banda - [Amazon Web Services](https://aws.amazon.com/pt/) - Serviço de aluguel de servidores e outros serviços - [BlueHost](https://www.bluehost.com/) - Empresa americana de hospedagem de sites - [DigitalOcean](https://www.digitalocean.com/) - Aluguel de servidores dedicados e compartilhados - [DreamHost](https://www.dreamhost.com/) - Hospedagem de sites de alta disponibilidade - [Embratel](https://www.embratel.com.br/cloud/hospedagem-de-sites) - Hospedagem de sites nacional - [GoDaddy](https://br.godaddy.com/hosting/web-hosting) - Hospedagem de sites internacional - [GoDaddy](https://br.godaddy.com/) - Empresa de aluguel de servidores compartilhados, dedicados e registro de domínio - [Google Cloud](https://cloud.google.com/solutions/smb/web-hosting/) - Serviço de aluguel de servidores da Google - [Heroku](https://www.heroku.com/) - Hospedagem de sites grátis com suporte à NodeJS, Java, Ruby, PHP, Python, Go, Scala e Clojure - [HostGator](https://www.hostgator.com/) - Hospedagem compartilhada e dedicada para sites e serviços - [Hostinger](https://www.hostinger.com.br/) - Hospedagem de sites - [Hostoo](https://hostoo.io/) - Hospedagem de sites em cloud computing dedicado - [iPage](https://www.ipage.com/) - Hospedagem de sites gringa com descontos para anúncios - [KingHost](https://king.host/) - Hospedagem compartilhada e dedicada para sites e serviços de marketing por e-mail - [Netlify](https://www.netlify.com/) - Hospedagem para sites estáticos que combina implantação global, integração contínua e HTTPS automático - [One.com](https://www.one.com/pt-BR/) - Serviços gerais digitais (incluindo hospedagem de sites) - [Oracle Cloud](https://www.oracle.com/br/cloud/) - Serviço de aluguel de servidores da Oracle - [Surge](https://surge.sh/) - Hospedagem gratuita para páginas estáticas - [Umbler](https://www.umbler.com/br) - Hospedagem compartilhada, cloud computing sob taxação de uso - [Vercel](https://vercel.com/) - Hospedagem grátis de sites estáticos e serveless ## 🌌 Sites para inspirar o seu desenvolvimento - [Product Hunt](https://www.producthunt.com/) - [Namify](https://namify.tech/?ref=producthunt) - [Dribbble](https://dribbble.com/) - [Behance](https://www.behance.net/) - [Pinterest](https://br.pinterest.com/) - [Deviant Art](https://www.deviantart.com/) - [Lapa](https://www.lapa.ninja/) - [Hyper Pixel](https://hyperpixel.io/) - [One Page Love](https://onepagelove.com/) - [One Page Love Avatars](https://onepagelove.com/boring-avatars) - [Land Book](https://land-book.com/) - [Awwwards](https://www.awwwards.com) - [Best Folios](https://www.bestfolios.com/home) - [Sitesee](https://sitesee.co/) - [Httpster](https://httpster.net/2021/jun/) - [Builders Club](https://builders-club.com/) - [CSS Nectar](https://cssnectar.com/) - [Collect UI](https://collectui.com) - [Best Web Site](https://bestwebsite.gallery) ## 📮 Banco de imagens gratuitas - [500px](https://500px.com/creativecommons) - Banco de imagens gratuitas - [Burst](https://pt.shopify.com/burst) - Plataforma de imagens do serviço de ecommerce Shopify - [Cupcake](http://cupcake.nilssonlee.se/) - Imagens gratuitas para uso comercial - [Banco De Imagens Com Diversidade](https://github.com/JulianaHelena5/BancoDeImagensComDiversidade) - Banco de imagens com pessoas diversas - [DrawKIT](https://www.drawkit.io/) - Ilustrações para qualquer um usar - [FlatIcon](https://www.flaticon.com) - Banco de ícones vetoriais - [Flickr](https://flickr.com/) - Rede social de fotógrafos - [FreeImages](https://pt.freeimages.com/) - Banco de imagens gratuitas - [FreePik Stories](https://stories.freepik.com/) - Banco de ilustrações gratuitas - [Freerange](https://freerangestock.com/index.php) - Banco de imagens gratuitas - [Glaze](https://www.glazestock.com) - Banco de ilustrações, sem direitos autorais - [Gratisography](https://gratisography.com/) - Banco de imagens gratuitas - [Humaaans](https://www.humaaans.com/) - Ilustrações de humanóides - [Icons8](https://icons8.com.br/) - Ícones em diversos estilos - [Imgur](https://imgur.com/) - Plataforma com milhões de imagens - [IraDesign](https://iradesign.io/illustrations) - Ilustrações editáveis de cores e objetos - [Life of Pix](https://www.lifeofpix.com/) - Banco de imagens gratuitas - [Little Visuals](https://littlevisuals.co/) - Banco de imagens gratuitas - [Lorempixel](http://lorempixel.com/) - Banco de imagens para uso como template - [Lukas Zadam](https://lukaszadam.com/illustrations) - Ilustrações SVG em diferentes tamanhos e estilos - [ManyPixels](https://www.manypixels.co/gallery/) - Galeria de ilustrações com direito a edição de cores - [Morguefile](https://morguefile.com/) - Banco de imagens gratuitas - [Nappy](https://www.nappy.co) - Banco de imagens gratuitas (atribuição recomendada) - [Nos.twnsnd](https://nos.twnsnd.co/) - Arquivo público de fotos antigas - [OpenMoji](https://openmoji.org/) - Banco de emojis para uso - [Pexels](https://www.pexels.com/) - Banco de imagens gratuitas - [PhotoPin](http://photopin.com/) - Banco de imagens gratuitas no estilo criativo - [Picjumbo](https://picjumbo.com/) - Banco de imagens gratuitas - [Picsum](https://picsum.photos/) - Banco de imagens para uso como template - [Pixabay](http://www.pixabay.com) - Banco de imagens gratuitas (não requer atribuição) - [Public domain archive](https://www.publicdomainarchive.com/) - Banco de imagens gratuitas - [RemixIcon](https://remixicon.com/) - Banco de Ícones para uso gratuito - [StockSnap](https://stocksnap.io/) - Banco de imagens gratuitas (não requer atribuição) - [unDraw](https://undraw.co/) - Ilustrações livres para usar - [Unsplash](https://unsplash.com/) - Banco de imagens gratuitas - [Visual Hunt](https://visualhunt.com/) - Banco de imagens gratuitas - [Wikimedia Commons](https://commons.wikimedia.org/wiki/Main_Page) - Banco de imagens mundial - [Noun Project](https://thenounproject.com/photos/) - Banco de imagens stock gratuitas ## 👔 Aumentando o network - [Guia Dev Brasil](https://linktr.ee/guiadevbrasil) - Guia Dev Brasil - [APDA](https://www.facebook.com/groups/osadpa/) - Associação de Programadores Depressivos Anônimos - [Comunidade CodigoPraTodos](https://comunidade.codigopratodos.com/) - Comunidade CodigoPraTodos no Discord e Forum - [Comunidade ColabCode](https://discord.gg/YeeEAYj) - Comunidade ColabCode no Discord - [Comunidade Código Falado](https://discord.gg/3y4X9pm) - Comunidade do Código Falado no Discord - [Comunidade PerifaCode](https://perifacode.com/) - Comunidade PerifaCode - [Comunidade Rocketseat](https://discordapp.com/invite/gCRAFhc) - Comunidade Rocketseat no Discord - [Dev.to](https://dev.to/) - Rede social para desenvolvedores - [GitHub Community Forum](https://github.community/) - Comunidade de desenvolvedores do GitHub - [Grupos no Telegram](http://listatelegram.github.io/) - Lista de grupos de tecnologia no Telegram - [Tecnogrupo](https://www.facebook.com/groups/102474963422805/) - Grupo de Tecnologia do Tecnoblog - [OsProgramadores](https://t.me/osprogramadores) - Grupo para incentivar o aprendizado de programação. ## 🎠 Sites para baixar e encontrar fontes - [Adobe Fonts](https://fonts.adobe.com/) - [Google fonts](https://fonts.google.com/) - [Dafont](https://www.dafont.com/pt/) - [NetFontes](https://www.netfontes.com.br/) - [Urbanfonts](https://www.urbanfonts.com/pt/) - [Befonts](https://befonts.com/) - [Fonts space](https://www.fontspace.com/) - [1001 fonts](https://www.1001fonts.com/) - [Abstract fonts](https://www.abstractfonts.com/) - [Fontget](https://www.fontget.com/) - [Material Design Icons](https://materialdesignicons.com/) ## 🧵 Sites de paletas de cores - [Paletton](https://paletton.com/) - [Adobe Color](https://color.adobe.com/pt/create/color-wheel/) - [Color Hunt](https://colorhunt.co/) - [Happy Hues](https://www.happyhues.co/) - [Coolors](https://coolors.co/) - [Gradient Hunt](https://gradienthunt.com/) - [Flat UI Colors](https://flatuicolors.com/) - [Grabient](https://www.grabient.com/) - [Pigment](https://pigment.shapefactory.co/) - [WebGradient](https://webgradients.com/) - [Color.lol](https://colors.lol/) - [ColorBox](https://colorbox.io/) - [ColorSpace](https://mycolor.space) ## 🎇 Lista de ilustrações - [DrawKIT](https://www.drawkit.io/) - [Humaaans](https://www.humaaans.com/) - [Open Doodle](https://www.opendoodles.com/) - [Storyset](https://storyset.com/) - [unDraw](https://undraw.co/) - [404 Illustrations (by kapwing)](https://www.kapwing.com/404-illustrations/) - [404 Illustrations](https://error404.fun/) - [Ouch](https://icons8.com.br/illustrations/) - [Delesing](https://delesign.com/free-designs/graphics/) - [Pixeltru](https://www.pixeltrue.com/free-illustrations/) - [Iconscout](https://iconscout.com/) - [Onfire Craftwork Design](https://onfire.craftwork.design/) - [Openpeeps](https://www.openpeeps.com/) ## 🎆 Sites de icones - [DrawKIT](https://drawkit.com/free-icons) - [Eva Icons](https://akveo.github.io/eva-icons/#/) - [Feather Icons](https://feathericons.com/) - [Font Awesome](https://fontawesome.com) - [Heroicons](https://heroicons.dev/) - [Iconsvg](https://iconsvg.xyz/) - [Icons8 Line Awesome](https://icons8.com/line-awesome/) - [Icons8](https://icons8.com.br/) - [Shape](https://shape.so/) - [Flaticon](https://www.flaticon.com/br/) - [Bootstrap icons](https://icons.getbootstrap.com/) - [devicon](https://devicon.dev/) - [Noun Project](https://thenounproject.com/) - [Iconfinder](https://www.iconfinder.com/) - [iconmonstr](https://iconmonstr.com/) - [Reshot](https://www.reshot.com/) - [Phosphor Icon](https://phosphoricons.com) - Família flexível de ícones com integração HTML/CSS, React e Vue - [Thenounproject](https://thenounproject.com/) ## 🎥 Canais do youtube com conteúdo gratuito - [Alura](https://www.youtube.com/user/aluracursosonline) - Uns camaradas legais que abordam os mais variados temas do mundo da tecnologia - [CódigoFonteTV](https://www.youtube.com/user/codigofontetv) - Leon e Nilce da programação - [Android Developers](https://www.youtube.com/user/androiddevelopers) - Canal oficial da comunidade de desenvolvedores do Android - [CodeShow](https://www.youtube.com/CodeShowBR) - Canal sobre Python e Rust - [CodigoPraTodos](https://www.youtube.com/channel/UClFE1N_sMek7cyvwsAK_XJQ) - Canal com lives de resolução de exercícios do CS50 e mais dicas de programação - [Cod3r Cursos](https://www.youtube.com/channel/UCcMcmtNSSQECjKsJA1XH5MQ) - Canal com aulas e cursos gratuitos sobre diversas tecnlogias - [CollabCode](https://www.youtube.com/channel/UCVheRLgrk7bOAByaQ0IVolg) - Lives insanas sobre JS, front-end, etc - [Torne-se um Programador - Danilo Aparecido](https://www.youtube.com/c/DaniloAparecido) - Canal com + de 500 aulas e dicas sobre programação e negócios com programação. - [Daniel Donda](https://www.youtube.com/c/DanielDonda) - Canal sobre administração de redes, carreiras e certificação, hacking, segurança da informação - [Dev Samurai](https://www.youtube.com/channel/UC-lHCBqKEtnXA0SBtdOP0bw) - Canal sobre tecnologia e comunidade de desenvolvedores - [DevMedia](https://www.youtube.com/channel/UClBrpNsTEFLbZDDMW1xiOaQ) - Canal de um dos maiores portais sobre programação do Brasil - [DevSuperior](https://youtube.com/devsuperior) - Canal para estudantes e profissionais iniciantes - [Diolinux](https://www.youtube.com/user/diolinux) - Canal sobre o mundo Unix e outras tecnologias - [Erick Wendel](https://www.youtube.com/c/ErickWendelTreinamentos) - Canal com conteúdos inéditos e exclusivos sobre Node.js, Javascript - [EspecializaTI](https://www.youtube.com/user/especializati) - Cursos gratuitos sobre PHP, Laravel, Linux e HTML+CSS - [Fabio Akita](https://www.youtube.com/user/AkitaOnRails) - Canal sobre tecnologia e desenvolvimento - [Facebook Developers](https://www.youtube.com/user/FacebookDevelopers) - Canal oficial da comunidade de desenvolvedores do Facebook - [Felipe Deschamps](https://www.youtube.com/channel/UCU5JicSrEM5A63jkJ2QvGYw) - Desenvolvedor da Pagar.me e criador de robôs com inteligencia artificial - [Felipe Elia](https://www.youtube.com/channel/UCD_26rOE3ClALcZreTkyIoQ) - Canal sobre programação para Web com foco em WordPress - [Filho da nuvem](https://www.youtube.com/Filhodanuvem) - Canal sobre desenvolvimento de testes automatizados, GitHub, PHP, Golang e outras linguagens - [Flutterando](https://www.youtube.com/channel/UCplT2lzN6MHlVHHLt6so39A) - Canal sobre desenvolvimento de interface com Flutter - [Fábrica de Noobs](https://www.youtube.com/channel/UCGObNjkNjo1OUPLlm8BTb3A) - Canal com intruduções a conceitos básicos dentro da computação - [Gabriel Pato](https://www.youtube.com/channel/UC70YG2WHVxlOJRng4v-CIFQ) - Canal sobre tecnologia e hacking - [Giuliana Bezerra](https://www.youtube.com/@giulianabezerra) - Canal sobre desenvolvimento e arquitetura de software com Java e Spring - [Google Developers](https://www.youtube.com/user/GoogleDevelopers) - Canal oficial da comunidade de desenvolvedores da Google - [Guia do Programador](https://www.youtube.com/c/GuiadoProgramador) - Canal de cursos de NodeJS gratuitos - [Guru da Ciência](https://www.youtube.com/user/LimaoAzeddo) - Canal sobre tecnologia e ciências - [One Bit Code](https://www.youtube.com/c/OneBitCode) - Canal com aulas de React e Ruby - [O Irmão mais Velho](https://www.youtube.com/channel/UC5cfBZHUQpcMvBJDBaX8-jg/featured) - Aprenda UX/UI, Web e Mobile e desenvolva o seu mindset - [ProgramadorBR](https://www.youtube.com/channel/UCrdgeUeCll2QKmqmihIgKBQ) - Programador brasileiro com atual residência no Canadá - [Programação Dinâmica](https://www.youtube.com/c/ProgramaçãoDinâmica) - Canal sobre Python, Ciencias de Dados, Machine learning e Inteligência Artificial - [Rocketseat](https://www.youtube.com/channel/UCSfwM5u0Kce6Cce8_S72olg) - Projeto de ensino gratuito sobre as tecnologias mais quentes do mercado - [Rodrigo Branas](https://www.youtube.com/user/rodrigobranas) - Canal sobre desenvolvimento web com foco em JavaScript - [Roger Melo](https://www.youtube.com/c/RogerMelo) - Canal com aula e dicas de JavaScript puro - [TekZoom](https://www.youtube.com/channel/UCPIAn-SWhJzBilt1MekO4Vg) - Canal raíz sobre tecnologia do YouTube - [Universo Programado](https://www.youtube.com/channel/UCf_kacKyoRRUP0nM3obzFbg) - Canal sobre lógica por trás do desenvolvimento de inteligências artificiais - [Vinícius Thiengo](https://www.youtube.com/c/ThiengoCalopsita/) - Canal com aulas de desenvolvimento android e técnicas de código limpo - [Zero Bugs](https://www.youtube.com/c/ZeroBugs) - Canal sobre desenvolvimento web com PHP e JavaScript - [Balta.io](https://youtube.com/c/baltaio) - Canal explicando uma ferramenta completa para auxiliar você em seu caminho para se tornar um desenvolvedor de respeito, - om mais de 80 cursos direcionados - [CodAffection](https://youtube.com/c/CodAffection) - Este canal tem como objetivo ensinar e inspirar desenvolvedores a criar aplicativos - [Codedamn](https://youtube.com/c/codedamn) - Canal sobre programação e tecnologia no geral - [EspecializaTi](https://youtube.com/c/EspecializatiBr) - Canal de cursos Online de Desenvolvimento Web - [Jose Carlos Macoratti](https://youtube.com/channel/UCoqYHkQy8q5nEMv1gkcZgSw) - Vídeo Aulas sobre a plataforma .NET e tecnologias web: C# , VB .NET , ASP .NET , ASP .NET MVC, ASP .NET Core, Entity Framework, Xamarin Forms, Xamarin Android, Angular, ADO .NET , SQL, Node, etc - [Michelli Brito](https://youtube.com/c/MichelliBrito) - Canal sobre conteúdos de programação, arquitetura de software e carreira em TI - [The Net Ninja](https://youtube.com/c/TheNetNinja) - Habilidades de desenvolvimento web. Mais de 1000 tutoriais de programação gratuitos sobre - [Vinícius Thiengo](https://youtube.com/c/ThiengoCalopsita) - Vídeos tutoriais sobre desenvolvimento Android e técnicas de código limpo - [Traversy Media](https://youtube.com/c/TraversyMedia) - Traversy Media apresenta os melhores tutoriais de desenvolvimento e programação da web on-line para todas as tecnologias da web mais recentes - [Mango](https://youtube.com/c/MangoDeveloper) - Cursos avançados completos utilizando Clean Architecture, TDD, SOLID principles e design patterns - [Academind](https://youtube.com/c/Academind) - Cursos e tutoriais que ensinam tudo relacionado ao desenvolvimento web - [Simon Grimm](https://youtube.com/user/saimon1924) - Tutoriais Ionic semanalmente com dicas e truques para melhorar seus aplicativos híbridos! - [freeCodeCamp.org](https://youtube.com/c/Freecodecamp) - Aprenda a codificar gratuitamente. - [Igor Remas](https://youtube.com/c/IgorRemas) - Desenvolvimento Web - [Santos Enoque](https://youtube.com/c/SantosEnoque) - Ensinar as pessoas a construir softwares do mundo real e garantir que elas tenham habilidades que são realmente necessárias no mercado - [Raja Yogan](https://youtube.com/channel/UCjBxAm226XZvgrkO-JyjJgQ) - Fornecendo tutoriais de tecnologia de qualidade para todos. - [DesignCourse](https://youtube.com/c/DesignCourse) - Tutoriais sobre UI / UX, Frontend Dev, Backend Dev, Design gráfico e muito mais! - [London App Brewery](https://youtube.com/c/Londonappbrewery) - Ensinam desenvolvimento Web para iniciantes, como fazer aplicativos iOS, Flutter e Android, bem como ciência de dados - [EDMT Dev](https://youtube.com/c/eddydn71) - Tutoriais para code e hacking - [Curso em Vídeo](https://www.youtube.com/user/cursosemvideo) - Cursos em vídeo-aulas totalmente gratuitos, criados pelo Professor Gustavo Guanabara - [Thizer Aplicativos](https://youtube.com/c/ThizerAplicativos) - Tecnologia no Geral - [Loiane Groner](https://youtube.com/c/loianegroner) - Canal com aulas gratuitas sobre Java, Sencha (Ext JS), JavaScript, Angular e desenvolvimento mobile com Cordova e Ionic. - [Canal dotNET](https://youtube.com/c/CanalDotNET) - Canal sobre .NET C# - [Protocolo Alterado](https://youtube.com/c/ProtocoloAlterado) - Conteúdos sobre Programação e Desenvolvimento Web por Beto Muniz. - [Dev Soutinho](https://youtube.com/c/DevSoutinho) - Conteúdos sobre Programação por Mario Souto - [Simplificando TI](https://www.youtube.com/channel/UCwn-9qpyukBnuA3eB-3F0Sg) - Conteúdo de TI no geral - [Vida de Programador](https://www.youtube.com/c/ProgramadorREAL) - Conteúdo sobre tecnologia e programação - [ProfessorRamos](https://www.youtube.com/c/professorramos/) - Conteúdo de informática e afins - [Professor José de Assis](https://www.youtube.com/c/RoboticapraticaBr/) - Arduino com foco em robótica educacional, Programação Linguagem C, Java e desenvolvimento WEB, Linux com foco em servidores de rede - [zer01ti](https://www.youtube.com/c/zero1ti/) - Novidades da tecnológica - [Rafaella Ballerini](https://www.youtube.com/user/RafaellaBallerini/) - Experiência no mundo tech e dicas sobre como se encaixar na área. - [Tech Primers](https://www.youtube.com/channel/UCB12jjYsYv-eipCvBDcMbXw) - TechPrimers é um canal educacional para fornecer insights sobre implementações de tecnologia - [DevDojo](https://www.youtube.com/channel/UCjF0OccBT05WxsJb2zNkL4g) - Tutoriais sobre programação, playlist, e conteúdo sobre a área de informática - [Descompila](https://www.youtube.com/c/Descompila/) - Vídeo-aulas de programação objetivas - [Ka Solution Oficial](https://www.youtube.com/c/UnicornCoder/) - Nesse canal, vamos abordar temas referente ao mercado de tecnologia e dar excelentes dicas de carreira. - [UnicornCoder](https://www.youtube.com/c/KaSolutionOficial/) - Videos de programação e cursos - [TekZoom - Reinaldo Silotto](https://www.youtube.com/c/CanalTekZoom/) - Compartilhar conteúdos sobre tecnologia, programação, gadgets e dispositivos móveis, como smartphones e tablets. - [Bonieky Lacerda](https://www.youtube.com/c/BoniekyLacerdaLeal) - Cursos de programação - [Programador BR](https://www.youtube.com/c/Programadorbr) - Programação, carreira e empreendedorismo - [ZUP](https://www.youtube.com/c/ZUPIT/) - Canal sobre tecnologia - [Beer and Code](https://www.youtube.com/c/BeerandCode/) - Faça seu futuro com as tecnologias mais utilizadas nas Startups de sucesso. - [Attekita Dev](https://www.youtube.com/c/AttekitaDev/) - Engenheira de software entusiasta em UX, com mais de mais de 20 aplicativos publicados na App Store - [Web Dev Simplified](https://www.youtube.com/c/WebDevSimplified/) - Web Dev Simplified tem tudo a ver com o ensino de habilidades e técnicas de desenvolvimento web de maneira eficiente e prática - [Escola Front-end](https://www.youtube.com/c/EscolaFrontend/) - Conteúdo sobre Front-end - [Programe seu futuro](https://www.youtube.com/c/ProgrameseufuturoComWagnerGaspar) - Programação, Algoritmos e Lógica de Programação - [CFBCursos](https://www.youtube.com/c/cfbcursos) - Canal de cursos/aulas de informática que disponibiliza conteúdo de qualidade e gratuito - [Coding Snow](https://www.youtube.com/channel/UCNDmzGYwwT3rdY3xQuW8QOA) - Coding Snow é um canal para design e desenvolvimento criativo da Web, designs de front-end, designs de interface do usuário, Web design responsivo e designs de back-end usando HTML, CSS, Javascript / JQuery, PHP, MYSQL - [Pessonizando](https://www.youtube.com/c/pessonizando) - Canal fala sobre Programação, Teste de Software, Carreira em Computação e como é viver e trabalhar com TI na EUROPA. - [Lama Dev](https://www.youtube.com/c/LamaDev) - Tutoriais de desenvolvimento da Web para todos. Aprenda JavaScript, React.js, Node.js e encontre inspiração para HTML, CSS e web design com Lama e torne-se um desenvolvedor web. - [Pisani da Arch](https://www.youtube.com/c/ArcHOfficeTech) - É um canal com conteúdos voltados para Arquitetura de Solução, onde o objetivo é ajudar a comunidade de Devs e Archs a projetarem soluções com os melhores padrões do mercado. - [Nick Chapsas](https://www.youtube.com/c/Elfocrash) - Canal de um engenheiro de software de Londres com tutoriais e dicas de ferramentas Microsoft (ASPNET Core, C#, etc) - [Tiago Aguiar](https://www.youtube.com/c/TiagoAguiar) - Canal de um desenvolvedor mobile com experiência em Android & IOS. ## 🔓 Pentest - [Beef-Project](https://beefproject.com/) - Framework de exploração de browser - [Capture The Flag - CTF](https://capturetheflag.com.br/) - Desafios reais de hacking, desenvolvido por especialistas brasileiros - [HackTheBox](https://www.hackthebox.eu/) - Site com laboratórios para praticar pentest de forma gratuita e legal - [HStrike](https://hstrike.com/) - Ferramentas de pentest em nuvem - [HTTRack](http://www.httrack.com/) - Browser utility - [Maltego](https://www.paterva.com/) - Ambiente open source para análise de redes completa - [NMap](https://nmap.org/) - Scanner de portas de rede - [picoCTF](https://picoctf.com/) - Jogo gratuito de segurança de computador voltado para alunos do ensino fundamental, médio e iniciantes - [SQLMap](http://sqlmap.org/) - Ferramenta de teste de penetração open source que automatiza injeção de SQL - [TryHackMe](https://tryhackme.com/) - Plataforma com laboratórios para aprender sobre pentest de maneira prática e teórica - [Hack This Site](https://www.hackthissite.org/) - Site de desafios de hacking focado em web apps, irc, esteganografia, etc ## 🎙 Blogs e Podcasts - [DevNaEstrada](https://devnaestrada.com.br/) - Desenvolvimento web em geral - [Dicas de programação](https://dicasdeprogramacao.com.br/): Dicas para - [PodProgramar](https://podprogramar.com.br/) - Focado em programação, notícias e histórias da área - [Podcast OsProgramadores](https://osprogramadores.com/podcast) - Tudo que você sempre quis saber sobre Programação vida de programador, e também como chegar lá. Entrevistas com profissionais reconhecidos Nacional e Internacionalmente. - [Hipsters.tech](https://hipsters.tech/) - Desenvolvimento de aplicações, design digital, startups e tecnologias em geral - [LinuxTips](https://www.linuxtips.io/podcast) - Linux, DevOps, Docker e T.I - [É tudo nuve](https://www.etudonuve.com.br/i/) - Pesquisa - [Dev.to](https://dev.to/) - Rede social para desenvolvedores - [Playcode](https://playcode.com.br/) - Site com algumas dicas para programação - [Codenation](https://deploy.codenation.com.br/podcasts/home) - [Ambev Tech Talk](https://open.spotify.com/show/07cPNODgBHWh2JMkHbZxXG): Podcast da Ambev sobre tecnologia e cerveja - [Coruja de TI](https://blog.corujadeti.com.br/) - Blog com várias dicas de TI no geral - [Cooperati](https://cooperati.com.br/) - Site com algumas informações sobre tecnologia - [Zup](https://www.zup.com.br/blog) - Blog com informação sobre tecnologia - [Boss Level](https://open.spotify.com/show/003zbichzSTjf3m7W2Sfvc) - O Boss Level é um Podcast sobre desenvolvimento, Frontend, Backend e DevOps - [Cabeça de Labs](https://www.cabecadelab.com.br/) - O Cabeça de Lab é o podcast do Luizalabs, o laboratório de inovação e tecnologia do Magalu - [Carreira sem Fronteiras](https://www.carreirasemfronteiras.com.br/) - Podcast com brasileiros que vivem e trabalham no exterior - [Codigo Aberto](https://www.b9.com.br/shows/codigoaberto/) - Conversas com os profissionais mais influentes do mercado sobre o futuro - [DioCast](https://castbox.fm/app/castbox/player/id1323408) - Tecnologia geral do canal DioLinux - [FalaDev](https://open.spotify.com/show/3TNsKUGlP9YbV1pgy3ACrW) - Podcast da Rocketseat sobre desenvolvimento - [Fronteiras da Ciência](http://www.ufrgs.br/frontdaciencia/) - Ciência, pseudociências e tudo o mais, feito pelo IFUFGRS - [IT Visionaries (em inglês)](https://mission.org/itvisionaries/) - Tecnologias quentes e inovação - [Lambda3](https://www.lambda3.com.br/tag/podcast/) - Desenvolvimento de software e tecnologia em geral - [NerdCast](https://jovemnerd.com.br/nerdcast/) - Tecnologia, ciência e universo POP - [Pizza de dados](https://pizzadedados.com/) - Ciência de dados e conselhos de carreira - [PodProgramar](https://podprogramar.com.br/) - Focado em programação, notícias e histórias da área - [PodTag](https://podtag.com.br/) - Desenvolvimento de software e tecnologia em geral - [QuebraDev](https://quebradev.com.br/) - Quebrada + tecnologia - [Fora da Norma](https://www.youtube.com/channel/UCPA5AzEp_MGEVTDSVCkgShg) - Podcast da 42SP sobre o universo Tech. - [Torne-se um Programador Podcast](https://open.spotify.com/show/50tgLD0cGqINLLLKNDULRl) - Podcast sobre programação e empreendedorismo digital. ## 💼 Business - [BossaBox](https://bossabox.com/) - Rede de desenvolvedores, designers e gerentes - [CodeInterview](https://codeinterview.io/) - Realize entrevistas de emprego com codificação ao vivo - [Impulso](https://impulso.network/) - Uma rede gratuita para impulsionar o seu crescimento profissional - [Rocket.Chat](https://rocket.chat/) - Chat corporativo open-source e gratuito para equipes ## 🧭 Web Developer Roadmap - [Web Developer Roadmap](https://github.com/kamranahmedse/developer-roadmap): Trilha de caminhos para seguir para se tornar um desenvolvedor WEB ## 🔩 Extensões para o seu navegador - [File Icons for GitHub and GitLab](https://chrome.google.com/webstore/detail/file-icons-for-github-and/ficfmibkjjnpogdcfhfokmihanoldbfe) - [GoFullPage](https://chrome.google.com/webstore/detail/gofullpage-full-page-scre/fdpohaocaechififmbbbbbknoalclacl) - [Web Developer](https://chrome.google.com/webstore/detail/web-developer/bfbameneiokkgbdmiekhjnmfkcnldhhm?hl=pt-BR) - [React Developer Tools](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi) - [Window Resizer](https://chrome.google.com/webstore/detail/window-resizer/kkelicaakdanhinjdeammmilcgefonfh?hl=pt-BR) - [Vue Devtools](https://chrome.google.com/webstore/detail/vuejs-devtools/nhdogjmejiglipccpnnnanhbledajbpd?hl=pt-BR) - [Dark Reader](https://chrome.google.com/webstore/detail/dark-reader/eimadpbcbfnmbkopoojfekhnkhdbieeh?hl=pt-BR) - [CSS Viewer](https://chrome.google.com/webstore/detail/cssviewer/ggfgijbpiheegefliciemofobhmofgce?hl=pt-BR) - [WhatFont?](https://chrome.google.com/webstore/detail/whatfont/jabopobgcpjmedljpbcaablpmlmfcogm) - [Octotree](https://chrome.google.com/webstore/detail/octotree-github-code-tree/bkhaagjahfmjljalopjnoealnfndnagc) - [daily.dev](https://chrome.google.com/webstore/detail/dailydev-the-homepage-dev/jlmpjdjjbgclbocgajdjefcidcncaied) - [Wappalyzer](https://chrome.google.com/webstore/detail/wappalyzer-technology-pro/gppongmhjkpfnbhagpmjfkannfbllamg) ## 📚 Recomendação de livros - [Clean Code - Código Limpo](https://g.co/kgs/62wx9t) - [Refactoring - Refatoração](https://g.co/kgs/Hf2eY3) - [Clean Archtecture - Arquitertura Limpa](https://www.google.com/search?q=arquitetura+limpa) - [O Codificador Limpo](https://www.google.com/search?q=codificador+limpo) - [O programador pragmático](https://g.co/kgs/5nbqB3) - [Eloquent JavaScript](https://eloquentjavascript.net/) - [14 Hábitos de Desenvolvedores Altamente Produtivos](https://g.co/kgs/1fGbnx) - [The Road to learn React (Português)](https://leanpub.com/the-road-to-learn-react-portuguese) ## 📱 Apps para praticar programação - [SoloLearn](https://www.sololearn.com/home) - [Pydriod3 Android](https://play.google.com/store/apps/details?id=ru.iiec.pydroid3&hl=en_US&gl=US) - [Mimo Android](https://play.google.com/store/apps/details?id=com.getmimo&hl=pt_BR&gl=US) - [Dcoder Android](https://play.google.com/store/apps/details?id=com.paprbit.dcoder&hl=pt_BR&gl=US) - [Codecademy Android](https://play.google.com/store/apps/details?id=com.ryzac.codecademygo&hl=pt_BR&gl=US) - [Codecademy iOS](https://apps.apple.com/us/app/codecademy-go/id1376029326) - [GrassHopper Android](https://play.google.com/store/apps/details?id=com.area120.grasshopper&hl=pt_BR&gl=US6) ## 📘 Sites para treinar projetos front-end - [Frontend Mentor](https://www.frontendmentor.io/) - Desafios de Programação Front-end, análise dos resultados feita pela comunidade, sem IDE integrada - [Codier](https://codier.io/challenge) - Desafios de Programação Front-end, análise dos resultados feita pela comunidade. IDE integrada - [Code Well](https://codewell.cc/) - Treine suas habilidade de HTML e CSS com alguns templates - [DevChallenge](https://www.devchallenge.com.br/) - Site com desafios de front-end, back-end e mobile - [CodePen Challenges](https://codepen.io/challenges) - Desafios de Programação Front-end. IDE integrada - [DevChallenges](https://devchallenges.io/) - Site com desafios de Front-end e Fullstack - [Codelândia](https://www.figma.com/file/Yb9IBH56g7T1hdIyZ3BMNO/Desafios---Codel%C3%A2ndia?node-id=624%3A2) - Desafios front-end e back-end ## 📗 Sites para treinar projetos back-end - [Dev Challenge Back-End](https://devchallenge.vercel.app/challenges?type=backend) - Treine suas habilidades com desafios Back-end - [Codelândia](https://www.figma.com/file/Yb9IBH56g7T1hdIyZ3BMNO/Desafios---Codel%C3%A2ndia?node-id=624%3A2) - Desafios front-end e back-end ## 📙 Sites para treinar projetos mobile - [Dev Challenge Mobile](https://devchallenge.vercel.app/challenges?type=mobile) - Treine suas habilidades com desafios Mobile ## 🛖 Ideias para projeto - [App Ideas](https://github.com/florinpop17/app-ideas) - Compilado de desafios para você testar seus conhecimentos e aumentar seu portfólio - [What to Code](https://what-to-code.com/) - Compilado de desafios e ideias para você praticar seus códigos e aumentar seu portfólio ## 🦓 Sites e cursos para aprender Java > Cursos para aprender Java em Português - [Maratona Java Virado no Jiraya](https://www.youtube.com/playlist?list=PL62G310vn6nFIsOCC0H-C2infYgwm8SWW) - [Curso de Java para Iniciantes - Grátis, Completo e com Certificado](https://www.youtube.com/playlist?list=PLHz_AreHm4dkI2ZdjTwZA4mPMxWTfNSpR) - [Curso de Java - Tiago Aguiar](https://www.youtube.com/playlist?list=PLJ0AcghBBWSi6nK2CUkw9ngvwWB1gE8mL) - [Curso de Java - CFBCursos](https://www.youtube.com/playlist?list=PLx4x_zx8csUjFC5WWjoNUL7LOOD7LCKRW) - [Maratona Java - O maior curso Java em português](https://www.youtube.com/playlist?list=PL62G310vn6nHrMr1tFLNOYP_c73m6nAzL) - [Curso de Java Básico Gratuito com Certificado](https://www.youtube.com/playlist?list=PLGxZ4Rq3BOBq0KXHsp5J3PxyFaBIXVs3r) - [Curso de Java - eXcript](https://www.youtube.com/playlist?list=PLesCEcYj003Rfzs39Y4Bs_chpkE276-gD) - [Curso de POO Java (Programação Orientada a Objetos)](https://www.youtube.com/playlist?list=PLHz_AreHm4dkqe2aR0tQK74m8SFe-aGsY) - [Curso de Programação em Java](https://www.youtube.com/playlist?list=PLucm8g_ezqNrQmqtO0qmew8sKXEEcaHvc) - [Curso - Fundamentos da Linguagem Java](https://www.youtube.com/playlist?list=PLbEOwbQR9lqxdW98mY-40IZQ5i8ZZyeQx) - [Curso Java Estruturado](https://www.youtube.com/playlist?list=PLGPluF_nhP9p6zWTN88ZJ1q9J_ZK148-f) - [Curso de Java Completo](https://www.youtube.com/playlist?list=PL6vjf6t3oYOrSx2XQKm3yvNxgjtI1A56P) - [Curso Programação Java](https://www.youtube.com/playlist?list=PLtchvIBq_CRTAwq_xmHdITro_5vbyOvVw) - [Curso de Java para Iniciantes](https://www.youtube.com/playlist?list=PLt2CbMyJxu8iQL67Am38O1j5wKLf0AIRZ) - [Fundamentos do Java para Iniciantes em Programação](https://youtube.com/playlist?list=PLiFLtuN04BS2GSi8Q-haYkRy8KEv6Grvf) > Cursos para aprender Java em Espanhol - [Curso de Java desde 0](https://www.youtube.com/playlist?list=PLU8oAlHdN5BktAXdEVCLUYzvDyqRQJ2lk) - [Curso de programación Java desde cero](https://www.youtube.com/playlist?list=PLyvsggKtwbLX9LrDnl1-K6QtYo7m0yXWB) - [Curso de Java Completo 2021](https://www.youtube.com/playlist?list=PLt1J5u9LpM59sjPZFl3KYUhTrpwPIhKor) - [Java Netbeans Completo](https://www.youtube.com/playlist?list=PLCTD_CpMeEKTT-qEHGqZH3fkBgXH4GOTF) - [Programación en Java](https://www.youtube.com/playlist?list=PLWtYZ2ejMVJkjOuTCzIk61j7XKfpIR74K) - [Curso de Java 11](https://www.youtube.com/playlist?list=PLf5ldD20p3mHRM3O4yUongNYx6UaELABm) - [Curso de Java - Jesús Conde](https://www.youtube.com/playlist?list=PL4D956E5314B9C253) - [Curso de programacion funcional en java](https://www.youtube.com/playlist?list=PLjJ8HhsSfskiDEwgfyF9EznmrSyEukcJa) > Cursos para aprender Java em Inglês - [Java Tutorial for Beginners](https://www.youtube.com/watch?v=eIrMbAQSU34&ab_channel=ProgrammingwithMosh) - [Java Tutorial: Full Course for Beginners](https://www.youtube.com/watch?v=xk4_1vDrzzo&ab_channel=BroCode) - [Java Full Course](https://www.youtube.com/watch?v=Qgl81fPcLc8&ab_channel=Amigoscode) - [Java Programming for Beginners – Full Course](https://www.youtube.com/watch?v=A74TOX803D0&ab_channel=freeCodeCamp.org) - [Intro to Java Programming - Course for Absolute Beginners](https://www.youtube.com/watch?v=GoXwIVyNvX0&ab_channel=freeCodeCamp.org) - [Learn Java 8 - Full Tutorial for Beginners](https://www.youtube.com/watch?v=grEKMHGYyns&ab_channel=freeCodeCamp.org) - [Java Full Course 2022 | Java Tutorial For Beginners | Core Java Full Course](https://www.youtube.com/watch?v=CFD9EFcNZTQ&ab_channel=Simplilearn) - [Java Full Course for Beginners](https://www.youtube.com/watch?v=_3ds4qujpxU&ab_channel=SDET-QAAutomation) - [Java Full Course | Java Tutorial for Beginners](https://www.youtube.com/watch?v=hBh_CC5y8-s&ab_channel=edureka%21) - [Java GUI: Full Course](https://www.youtube.com/watch?v=Kmgo00avvEw&ab_channel=BroCode) - [Java Collections Framework | Full Course](https://www.youtube.com/watch?v=GdAon80-0KA&ab_channel=JavaGuides) - [Java Programming](https://www.youtube.com/playlist?list=PLBlnK6fEyqRjKA_NuK9mHmlk0dZzuP1P5) - [Java Complete Course | Placement Series](https://www.youtube.com/playlist?list=PLfqMhTWNBTe3LtFWcvwpqTkUSlB32kJop) - [Stanford - Java course](https://www.youtube.com/playlist?list=PLA70DBE71B0C3B142) - [Java Tutorials](https://www.youtube.com/playlist?list=PL_c9BZzLwBRKIMP_xNTJxi9lIgQhE51rF) - [Java Full Course - 2022 | Java Tutorial for Beginners](https://www.youtube.com/playlist?list=PL9ooVrP1hQOEe9EN119lMdwcBxcrBI1D3) - [Java (Intermediate) Tutorials](https://www.youtube.com/playlist?list=PL27BCE863B6A864E3) - [Core Java (Full Course)](https://www.youtube.com/playlist?list=PLsjUcU8CQXGFZ7xMUxJBE33FWWykEWm49) - [Working Class Java Programming & Software Architecture Fundamentals Course](https://www.youtube.com/playlist?list=PLEVlop6sMHCoVFZ8nc_HmXOi8Msrah782) - [Java Programming Tutorials for Beginners [Complete Course]](https://www.youtube.com/playlist?list=PLIY8eNdw5tW_uaJgi-FL9QwINS9JxKKg2) - [Java Tutorials For Beginners In Hindi](https://www.youtube.com/playlist?list=PLu0W_9lII9agS67Uits0UnJyrYiXhDS6q) - [Java Tutorial For Beginners](https://www.youtube.com/playlist?list=PLsyeobzWxl7oZ-fxDYkOToURHhMuWD1BK) - [Java Tutorial for Beginners - Bro Code](https://www.youtube.com/playlist?list=PLZPZq0r_RZOMhCAyywfnYLlrjiVOkdAI1) - [Java Programming Tutorial](https://www.youtube.com/playlist?list=PLsyeobzWxl7pFZoGT1NbZJpywedeyzyaf) - [Java (Beginner) Programming Tutorials](https://www.youtube.com/playlist?list=PLFE2CE09D83EE3E28) - [Complete Java Course for Beginners](https://www.youtube.com/playlist?list=PLab_if3UBk9-ktSKtoVQoLngTFpj9PIed) - [Java Tutorial For Beginners (Step by Step tutorial)](https://www.youtube.com/playlist?list=PLS1QulWo1RIbfTjQvTdj8Y6yyq4R7g-Al) - [Mastering Java Course - Learn Java from ZERO to HERO](https://www.youtube.com/playlist?list=PL6Q9UqV2Sf1gb0izuItEDnU8_YBR-DZi6) - [Tim Buchalka's Java Course PlayList](https://www.youtube.com/playlist?list=PLXtTjtWmQhg1SsviTmKkWO5n0a_-T0bnD) - [Java Full Course](https://www.youtube.com/playlist?list=PLrhDANsBnxU9WFTBt73Qog9CH1ox5zI--) - [Java Course](https://www.youtube.com/playlist?list=PLJSrGkRNEDAhE_nsOkDiC5OvckE7K0bo2) - [Java Web App Course](https://www.youtube.com/playlist?list=PLcRrh9hGNaln4tPtqsmglKenc3NZW7l9M) ## 🐴 Sites e cursos para aprender JavaScript > Cursos para aprender JavaScript em Português - [Curso completo de Javascript - Jornada do Dev](https://goo.gl/zfjfkQ) - [Curso Javascript Completo 2020 [Iniciantes] + 14 Mini-Projetos](https://youtu.be/i6Oi-YtXnAU) - [Curso de JavaScript - Curso em Vídeo](https://youtube.com/playlist?list=PLntvgXM11X6pi7mW0O4ZmfUI1xDSIbmTm) - [Curso de Javascript - CFBCursos](https://youtube.com/playlist?list=PLx4x_zx8csUj3IbPQ4_X5jis_SkCol3eC) - [JavaScript Completo ES6 - Rodrigo Brito](https://www.rodrigobrito.dev.br/blog/js-0701-javascript-completo-es6-classes) - [Fundamentos de JavaScript Funcional](https://www.cod3r.com.br/courses/javascript-funcional-fundamentos) - [Curso JavaScript Moderno ES6 - William Justen](https://www.youtube.com/playlist?list=PLlAbYrWSYTiPQ1BE8klOtheBC0mtL3hEi) - [JavaScript do básico ao avançado (Mapa de estudos / Roadmap)](https://www.youtube.com/watch?v=6YwbZbHRQ8w&ab_channel=AttekitaDev) - [Curso Javascript Completo - Programação Web](https://www.youtube.com/watch?v=McKNP3g6VBA&ab_channel=Programa%C3%A7%C3%A3oWeb) - [Curso de Javascript Completo Playlist - Programação Web](https://www.youtube.com/playlist?list=PL2Fdisxwzt_d590u3uad46W-kHA0PTjjw) - [Curso de JavaScript - Matheus Battisti](https://www.youtube.com/playlist?list=PLnDvRpP8BneysKU8KivhnrVaKpILD3gZ6) - [Curso de JavaScript Para Completos Iniciantes - Felipe Rocha](https://www.youtube.com/playlist?list=PLm-VCNNTu3LnlPhqxx03kvjQd3qF6EBdz) - [Curso de JavaScript - Professor Edson Maia](https://www.youtube.com/playlist?list=PLnex8IkmReXxZEXje06kW1uCwm5iC8M_Z) - [Curso de JavaScript - Node Studio Treinamentos](https://www.youtube.com/playlist?list=PLwXQLZ3FdTVF9Y0RbsuN54XYP7D0dZIlR) - [Curso de JavaScript - Ayrton Teshima](https://www.youtube.com/playlist?list=PLbA-jMwv0cuWbas947cygrzfzHIc7esmp) - [Curso de Javascript Completo - Keven Jesus](https://www.youtube.com/playlist?list=PLBnXXDBNZQpJKH1Fx2EAbKbG9p_dV_pKW) - [Curso de JavaScript ES6 - EdiCursos](https://www.youtube.com/playlist?list=PLLeeWxuGiPrXkGn26nD9OFk20q7MTWYlt) - [Curso de JavaScript para Iniciantes - RBtech](https://www.youtube.com/playlist?list=PLInBAd9OZCzxl38aAYdyoMHVg0xCgxrRx) - [Curso de JavaScript - Programação para Web](https://www.youtube.com/playlist?list=PLucm8g_ezqNrXkDWHtgvtU9RGuauEs_xz) - [Curso de JavaScript - Universidade XTI](https://www.youtube.com/playlist?list=PLxQNfKs8YwvEk85FbeXxDnFecAntIQdRf) - [Curso de Javascript Puro Orientado a Objetos - Programador Espartano](https://www.youtube.com/playlist?list=PLGwqoftZstLZUQGt3GeLpI-QAZaT8ccVG) - [Curso JavaScript do Básico ao avançado - PogCast](https://www.youtube.com/playlist?list=PL4iwH9RF8xHlTQb8cPv0HuwKZhR8jEBIK) - [Curso Completo Javascript para iniciantes - Dev Aprender](https://www.youtube.com/playlist?list=PLnNURxKyyLIIyJ_XKZHzU8SQyGu7yuqhn) - [Curso de JavaScript Avançado](https://www.youtube.com/playlist?list=PL-R1FQNkywO4sD42B6OI6KjG3uOPT0aNl) - [Mini projetos utilizando JavaScript - Iniciantes](https://www.youtube.com/playlist?list=PLDgemkIT111AzoS1rB61sgMJbsEA4pyD2) - [Playlist de Projetos com JavaScript - João Tinti](https://www.youtube.com/playlist?list=PLJ8PYFcmwFOxmqYNlo_H8TYVSDLxB8HdR) > Cursos para aprender JavaScript em Inglês - [10 JavaScript Projects in 1 Hour - Coding Challenge](https://www.youtube.com/watch?v=8GPPJpiLqHk) - [10 JavaScript Projects in 10 Hours - Coding Challenge](https://www.youtube.com/watch?v=dtKciwk_si4) - [Learn JavaScript - Full Course for Beginners](https://www.youtube.com/watch?v=PkZNo7MFNFg) - [JavaScript Programming - Full Course](https://www.youtube.com/watch?v=jS4aFq5-91M) - [JavaScript Full Course for Beginners](https://www.youtube.com/watch?v=EfAl9bwzVZk) - [JavaScript Course - Hitesh Choudhary](https://www.youtube.com/playlist?list=PLRAV69dS1uWSxUIk5o3vQY2-_VKsOpXLD) - [Build 15 JavaScript Projects - Vanilla JavaScript Course](https://www.youtube.com/watch?v=3PHXvlpOkf4) - [Javascript Real World Projects Playlist](https://www.youtube.com/playlist?list=PLajjpPyc2dmbt0KebBvT9VQV8y2R_IO7j) - [JavaScript Tutorial for Beginners: Learn JavaScript in 1 Hour](https://www.youtube.com/watch?v=W6NZfCO5SIk&ab_channel=ProgrammingwithMosh) - [JavaScript Tutorial for Beginners - Full Course in 12 Hours (2022)](https://www.youtube.com/watch?v=lI1ae4REbFM&ab_channel=CleverProgrammer) - [Learn JavaScript by Building 7 Games - Full Course](https://www.youtube.com/watch?v=ec8vSKJuZTk&ab_channel=freeCodeCamp.org) - [Javascript Full Course for Beginners to Advanced - Amigoscode](https://www.youtube.com/playlist?list=PLqkLaKB2GJhWXV9rcarwvn06ISlL_9mPQ) - [JavaScript Tutorial For Beginners To Experts | Full Course 2020](https://www.youtube.com/playlist?list=PLqkLaKB2GJhWXV9rcarwvn06ISlL_9mPQ) - [JavaScript Tutorials for Beginners in Hindi](https://www.youtube.com/playlist?list=PLu0W_9lII9ahR1blWXxgSlL4y9iQBnLpR) - [JavaScript Basics Course - freeCodeCamp](https://www.youtube.com/playlist?list=PLWKjhJtqVAbk2qRZtWSzCIN38JC_NdhW5) - [JavaScript for Beginners - Microsoft Developer](https://www.youtube.com/playlist?list=PLlrxD0HtieHhW0NCG7M536uHGOtJ95Ut2) - [The Complete JavaScript Course 2022: From Zero to Expert - Euniqa](https://www.youtube.com/playlist?list=PLd7dW_Jxkr_Yw6apt7tpzDC6X2mP5UhtQ) - [The Complete JavaScript Course 2022: From Zero to Expert - zerefJS](https://www.youtube.com/playlist?list=PL0xIL4n2EucHKRzJJe5iqayDdQ3OtEOC9) - [JavaScript Tutorials - Programming with Mosh](https://www.youtube.com/playlist?list=PLTjRvDozrdlxEIuOBZkMAK5uiqp8rHUax) - [JavaScript Programming Tutorial - Caleb Curry](https://www.youtube.com/playlist?list=PL_c9BZzLwBRLVh9OdCBYFEql6esA6aRsi) - [Vanilla JavaScript - Traversy Media](https://www.youtube.com/playlist?list=PLillGF-RfqbbnEGy3ROiLWk7JMCuSyQtX) - [The Modern JavaScript Bootcamp](https://www.youtube.com/playlist?list=PLxLxC53pX0mJ7mfJJO6tFSyCEyV6ve68j) - [JavaScript Tutorials - freeCodeCamp](https://www.youtube.com/playlist?list=PLWKjhJtqVAbleDe3_ZA8h3AO2rXar-q2V) - [JavaScript Projects For Beginners Easy To Advance - Tech2 etc](https://www.youtube.com/playlist?list=PL9bD98LkBR7P16BndaNtP4x6Wf5Ib85Hm) - [JavaScript Projects Playlist - CodingNepal](https://www.youtube.com/playlist?list=PLpwngcHZlPadhRwryAXw3mJWX5KH3T5L3) - [JavaScript Projects Playlist - Coding Artist](https://www.youtube.com/playlist?list=PLNCevxogE3fgy0pAzVccadWKaQp9iHspz) - [JavaScript Projects Playlist - ZinoTrust Academy](https://www.youtube.com/playlist?list=PLQfqQHJBFM1_aAfX64bIShV8k7QCqmHE5) - [25 Beginner JavaScript projects](https://www.youtube.com/playlist?list=PLtMugc7g4GaqAVDZwQ_t1H6500ZGJzOgW) - [JavaScript Project Beginners to Advanced - Complete Playlist](https://www.youtube.com/playlist?list=PLjVLYmrlmjGcZJ0oMwKkgwJ8XkCDAb9aG) - [JavaScript Projects Playlist - dcode](https://www.youtube.com/playlist?list=PLVvjrrRCBy2KvTPJ-HLG4PRqYf-MVJ0h7) - [JavaScript Projects Playlist - Husam Al-Shehadat](https://www.youtube.com/playlist?list=PLhAYqyL8bdjy10dbfKoxnO4CXyGR9quCs) - [JavaScript Projects Playlist - CodingLab](https://www.youtube.com/playlist?list=PLImJ3umGjxdAuARwziklrT2QEELizOMtr) - [JavaScript Projects Real world Projects Playlist](https://www.youtube.com/playlist?list=PLajjpPyc2dmbt0KebBvT9VQV8y2R_IO7j) - [JavaScript Projects Playlist - Paudie Healy](https://www.youtube.com/playlist?list=PL-tHL4yGBdKvFjT0OF2-yq3at-cMt8qW_) - [Javascript API Projects](https://www.youtube.com/playlist?list=PLNCevxogE3fiLT6bEObGeVfHVLnttptKv) - [JavaScript Vanilla Projects Playlist - Online Tutorials](https://www.youtube.com/playlist?list=PL5e68lK9hEzd6RUzREoABqimRI4SY63ND) - [JavaScript Projects Playlist - Florin Pop](https://www.youtube.com/playlist?list=PLgBH1CvjOA636I8hnHSyuOnX341XQrBth) - [JavaScript Projects Playlist - Zlad Mohamed](https://www.youtube.com/playlist?list=PLJoT4UFj-n7nL9D2ZCBRismDxN_oHQBl8) - [JavaScript Projects Playlist - Code With Hossein](https://www.youtube.com/playlist?list=PL5a_Yttx9bWXapYCTkqh-jTOKuNkE20KZ) ## 🐓 Sites e cursos para aprender HTML > Cursos para aprender HTML em Português - [Curso de HTML para iniciantes - Aprenda HTML em 1 hora](https://www.youtube.com/watch?v=SV7TL0hxmIQ&ab_channel=MatheusBattisti-HoradeCodar) - [Curso completo e atual de HTML5 e CSS3 - Módulo 1 de 5](https://www.youtube.com/playlist?list=PLHz_AreHm4dkZ9-atkcmcBaMZdmLHft8n) - [Curso completo e atual de HTML5 e CSS3 - Módulo 2 de 5](https://www.youtube.com/playlist?list=PLHz_AreHm4dlUpEXkY1AyVLQGcpSgVF8s) - [Curso completo e atual de HTML5 e CSS3 - Módulo 3 de 5](https://www.youtube.com/playlist?list=PLHz_AreHm4dmcAviDwiGgHbeEJToxbOpZ) - [Curso completo e atual de HTML5 e CSS3 - Módulo 4 de 5](https://www.youtube.com/playlist?list=PLHz_AreHm4dkcVCk2Bn_fdVQ81Fkrh6WT) - [Repositório Curso em Video - HTML](https://github.com/gustavoguanabara/html-css): - [O Guia estelar de HTML - RocketSeat](https://app.rocketseat.com.br/node/o-guia-estelar-de-html) - [Curso de HTML e CSS Grátis para iniciantes](https://www.youtube.com/playlist?list=PLwgL9IEA0PxUjbhob9UMdpVq12sGrjgU6) - [HTML Completo e Profissional, todas tags válidas de HTML5](https://www.youtube.com/playlist?list=PLx4x_zx8csUiVHRDO_7qhOaeNrrQ5uU8c) - [Curso HTML Completo em 4 Horas - Programação Web](https://www.youtube.com/watch?v=nPEpaft1y1k&ab_channel=Programa%C3%A7%C3%A3oWeb) - [Curso de HTML5 - Node Studio Treinamentos](https://www.youtube.com/playlist?list=PLwXQLZ3FdTVGKl3iPEyEWpFoYkMUxWW5O) - [Curso de HTML Completo - Programação Web Playlist](https://www.youtube.com/playlist?list=PL2Fdisxwzt_cajoGVWTx44wM6Ht09QJ3A) - [Curso de HTML Básico - Tecnocencio](https://www.youtube.com/playlist?list=PLn7S0sW6FlsP50d4-3wSepwb_tRm6xMfC) - [Curso Completo de HTML - Devs Academy](https://www.youtube.com/playlist?list=PLAh4OYmm9AbW-QLfyq7vXsYkshBxVQgvh) - [Playlist de projetos feitos com HTML - Conrado Saud](https://www.youtube.com/playlist?list=PLAlHucWYYtCS4nxCzJ1vZ_EM1D-t7SGJY) - [Aprenda HTML em 1 hora - Jornada do Dev](https://goo.gl/1kfBCZ) > Cursos para aprender HTML em Inglês - [Learn HTML – Full Tutorial for Beginners (2022)](https://www.youtube.com/watch?v=kUMe1FH4CHE&ab_channel=freeCodeCamp.org) - [HTML Full Course - Build a Website Tutorial](https://www.youtube.com/watch?v=pQN-pnXPaVg&ab_channel=freeCodeCamp.org) - [HTML Tutorial for Beginners: HTML Crash Course](https://www.youtube.com/watch?v=qz0aGYrrlhU&ab_channel=ProgrammingwithMosh) - [HTML Full Course - Bro Code](https://www.youtube.com/watch?v=HD13eq_Pmp8&t=1s&ab_channel=BroCode) - [HTML Tutorial for Beginners](https://www.youtube.com/playlist?list=PLDVUkWPClxtc-wxTPG02NrdA7RbBogjGW) - [HTML Complete Course - Beginner to Expert](https://www.youtube.com/playlist?list=PLJ9Lcll8xpWpBuUUc6ykHoCQpdDzauDCg) - [HTML Course - Zeytoon Tuts](https://www.youtube.com/playlist?list=PLDVUkWPClxtc-wxTPG02NrdA7RbBogjGW) ## 🦄 Sites e cursos para aprender CSS > Cursos para aprender CSS em Português - [Curso de CSS para iniciantes - Aprenda CSS e crie um projeto](https://www.youtube.com/watch?v=vwbegraDXD8&ab_channel=MatheusBattisti-HoradeCodar) - [Curso de CSS Para Completos Iniciantes](https://www.youtube.com/watch?v=r11FflkQqJs&ab_channel=FelipeRocha%E2%80%A2dicasparadevs) - [O que é CSS? (Seletores, Propriedades & Valores)](https://www.youtube.com/watch?v=LWU2OR19ZG4&ab_channel=RafaellaBallerini) - [Aprenda CSS em 10 Minutos](https://www.youtube.com/watch?v=lsxBlQWNdUQ&ab_channel=DankiCode) - [CSS (Cascading Style Sheets) - Dicionário do Programador](https://www.youtube.com/watch?v=229xfk3EEM8&ab_channel=C%C3%B3digoFonteTV) - [Aprenda Flexbox em 10 Minutos | Tutorial de HTML & CSS](https://www.youtube.com/watch?v=h4FpFvHdm-U&ab_channel=DankiCode) - [Curso de CSS Completo - Programação Web](https://www.youtube.com/playlist?list=PL2Fdisxwzt_f5C7Mv0kg1EAHhy2VJLf1c) - [Curso CSS Completo em 7 Horas - Programação Web](https://www.youtube.com/watch?v=w1J6gY40yMo&ab_channel=Programa%C3%A7%C3%A3oWeb) - [Curso de HTML e CSS grátis para iniciantes](https://www.youtube.com/playlist?list=PLwgL9IEA0PxUjbhob9UMdpVq12sGrjgU6) - [Curso de CSS3 - Node Studio Treinamentos](https://youtube.com/playlist?list=PLwXQLZ3FdTVGf7GUtiOFLc_9AXO25iIzG) - [Curso de CSS3 - CFBCursos](https://youtube.com/playlist?list=PLx4x_zx8csUi47Bnugpk78nqJN6rYvEnV) - [HTML5 & CSS3 na Prática - Node Studio Treinamentos](https://www.youtube.com/playlist?list=PLwXQLZ3FdTVF_HYP5r1oR7vK1_7ZuTU78) - [Curso Completo de CSS 3 - Jornada do Dev)](https://goo.gl/ebjzVG) - [Curso de CSS3 com Sass e Compass - Jornada do Dev](https://goo.gl/bAO0hE) - [Curso CSS Completo - Rodolfo Moreira](https://www.youtube.com/playlist?list=PLWMAkZq0y_ZPCw_p9CvnaKxQBWs7u0pud) - [Curso HTML e CSS - Projeto Portfólio](https://www.youtube.com/playlist?list=PLirko8T4cEmzrH3jIJi7R7ufeqcpXYaLa) - [Curso de HTML e CSS - Matheus Battisti](https://www.youtube.com/playlist?list=PLnDvRpP8Bnez2LJGshXKtid2f-aUkFOqM) - [Curso de CSS Flexbox - Node Studio Treinamentos](https://www.youtube.com/playlist?list=PLwXQLZ3FdTVGjLmjwfRc0Q9TA5U-PCWp4) - [Curso HTML e CSS - Do Básico ao Avançado](https://www.youtube.com/playlist?list=PL4I-14pHZsLGp5fLi7TtlSVNRg8r4q2NS) - [Curso HTML e CSS 2021 - Px Masters](https://www.youtube.com/playlist?list=PLquSXjlsANIWVP9xUGLwkCCzOWZs2XkW4) - [Curso de HTML e CSS Gratuito - Otávio Miranda](https://www.youtube.com/playlist?list=PLbIBj8vQhvm00J3f3rD33tRuNLem8EgEA) - [Curso HTML e CSS 2022 - Front Beginners](https://www.youtube.com/playlist?list=PLuElAIt7y8x0Mp5ng9Ov3ciGh_fEarUkW) - [Curso de FlexBox CSS - CFBCursos](https://www.youtube.com/playlist?list=PLx4x_zx8csUhDWtEa-AtDAgSSmLObBVaz) > Cursos para aprender CSS em Inglês - [CSS Tutorial – Full Course for Beginners](https://www.youtube.com/watch?v=OXGznpKZ_sA&ab_channel=freeCodeCamp.org) - [CSS Full Course for Beginners | Complete All-in-One Tutorial | 11 Hours](https://www.youtube.com/watch?v=n4R2E7O-Ngo&ab_channel=DaveGray) - [CSS Full Course - Bro Code](https://www.youtube.com/watch?v=wRNinF7YQqQ&ab_channel=BroCode) - [CSS Tutorial - Zero to Hero (Complete Course)](https://www.youtube.com/watch?v=1Rs2ND1ryYc&ab_channel=freeCodeCamp.org) - [HTML & CSS Full Course - Beginner to Pro - SuperSimpleDev](https://www.youtube.com/watch?v=G3e-cpL7ofc&ab_channel=SuperSimpleDev) - [Learn CSS in 20 Minutes - Web Dev Simplified](https://www.youtube.com/watch?v=1PnVor36_40&ab_channel=WebDevSimplified) - [CSS Full Course - Includes Flexbox and CSS Grid Tutorials](https://www.youtube.com/watch?v=ieTHC78giGQ&ab_channel=freeCodeCamp.org) - [Building 10 Websites - From Design to HTML and CSS - Coding Challenge](https://www.youtube.com/watch?v=Rz-rey4Q1bw&t=10659s) - [HTML & CSS Practices - Playlist for projects](https://www.youtube.com/playlist?list=PLgCTlR71eB4-ZGpajuh01zexg8f9Qd98z) - [Programming HTML and CSS Projects](https://www.youtube.com/playlist?list=PLai7Iw-TAFJr5IQ83rIo_iSUiWaiXen5G) - [One Page Full Website Project For Practice | HTML & CSS Responsive Website](https://www.youtube.com/watch?v=ZFQkb26UD1Y) - [Learn CSS Position In 9 Minutes - Web Dev Simplified](https://www.youtube.com/watch?v=jx5jmI0UlXU&ab_channel=WebDevSimplified) ## 🐍 Sites e cursos para aprender Python > Sites & E-books para aprender Python - [Think Python](https://greenteapress.com/wp/think-python/) - [Think Python 2e](https://greenteapress.com/wp/think-python-2e/) - [A Byte of Python](https://python.swaroopch.com/) - [Real Python](https://realpython.com/) - [Full Stack Python](https://www.fullstackpython.com/) - [FreeCodeCamp Python](https://www.freecodecamp.org/learn/scientific-computing-with-python/) - [Dive Into Python 3](https://diveintopython3.net/) - [Practice Python](https://www.practicepython.org/) - [The Python Guru](https://thepythonguru.com/) - [The Coder's Apprentice](https://www.spronck.net/pythonbook/) - [Python Principles](https://pythonprinciples.com/) - [Harvard's CS50 Python Video](https://pll.harvard.edu/course/cs50s-introduction-programming-python?delta=0) - [Cracking Codes With Python](https://inventwithpython.com/cracking/) - [Learn Python, Break Python](https://learnpythonbreakpython.com/) - [Google's Python Class](https://developers.google.com/edu/python) - [Python Like You Mean It](https://www.pythonlikeyoumeanit.com/) - [Beyond the Basic Stuff with Python](https://inventwithpython.com/beyond/) - [Automate the Boring Stuff with Python](https://automatetheboringstuff.com/) - [The Big Book of Small Python Projects](https://inventwithpython.com/bigbookpython/) - [Learn Python 3 From Scratch](https://www.educative.io/courses/learn-python-3-from-scratch) - [Python Tutorial For Beginners, Edureka](https://www.edureka.co/blog/python-tutorial/) - [Microsoft's Introduction to Python Course](https://learn.microsoft.com/en-us/training/modules/intro-to-python/) - [Beginner's Guide to Python, Official Wiki](https://wiki.python.org/moin/BeginnersGuide) - [Python for Everybody Specialization, Coursera](https://www.coursera.org/specializations/python) > Cursos para aprender Python em Português - [Curso completo de Python - Curso em vídeo](https://www.youtube.com/playlist?list=PLvE-ZAFRgX8hnECDn1v9HNTI71veL3oW0) - [Curso de Python - CFB Cursos](https://www.youtube.com/playlist?list=PLx4x_zx8csUhuVgWfy7keQQAy7t1J35TR) - [Curso Completo de Python - Jefferson Lobato](https://www.youtube.com/playlist?list=PLLVddSbilcul-1bAKtMKoL6wOCmDIPzFJ) - [Curso Python para Iniciantes - Didática Tech](https://www.youtube.com/playlist?list=PLyqOvdQmGdTSEPnO0DKgHlkXb8x3cyglD) - [Curso de Python - eXcript](https://www.youtube.com/playlist?list=PLesCEcYj003QxPQ4vTXkt22-E11aQvoVj) - [Curso de Python - Otávio Miranda](https://www.youtube.com/playlist?list=PLbIBj8vQhvm0ayQsrhEf-7-8JAj-MwmPr) - [Aulas Python - Ignorância Zero](https://www.youtube.com/playlist?list=PLfCKf0-awunOu2WyLe2pSD2fXUo795xRe) - [Curso de Programação em Python - Prime Cursos do Brasil](https://www.youtube.com/playlist?list=PLFKhhNd35zq_INvuX9YzXIbtpo_LGDzYK) - [Curso Python p/ Iniciantes - Refatorando](https://www.youtube.com/playlist?list=PLj7gJIFoP7jdirAFg-fHe9HKOnGLGXSHZ) - [Curso Python Básico - Solyd](https://www.youtube.com/playlist?list=PLp95aw034Wn_WtEmlepaDrw8FU8R5azcm) - [Curso de Python - Bóson Treinamentos](https://www.youtube.com/playlist?list=PLucm8g_ezqNrrtduPx7s4BM8phepMn9I2) - [O Melhor Curso de Python - Zurubabel](https://www.youtube.com/playlist?list=PL4OAe-tL47sY8SGhtkGoP0eQd4le3badz) - [Curso de Python - Hashtag Programação](https://www.youtube.com/playlist?list=PLpdAy0tYrnKyCZsE-ifaLV1xnkXBE9n7T) - [Curso de Python Essencial para Data Science](https://www.youtube.com/playlist?list=PL3ZslI15yo2qCEmnYOa2sq6VQOzQ2CFhj) - [Curso de Python do Zero ao Data Scientist](https://www.youtube.com/playlist?list=PLZlkyCIi8bMprZgBsFopRQMG_Kj1IA1WG) - [Curso de Python moderno + Análise de dados](https://www.youtube.com/playlist?list=PLLWTDkRZXQa9YyC1LMbuDTz3XVC4E9ZQA) - [Curso de Python 3 - Do básico ao avançado - RfZorzi](https://www.youtube.com/playlist?list=PLqx8fDb-FZDEDg-FOuwNKEpxA0LhzrdhZ) - [Curso de Python Intermediário / Avançado - HashLDash](https://www.youtube.com/playlist?list=PLsMpSZTgkF5ANrrp31dmQoG0-hPoI-NoX) - [Curso Python para Machine Learning e Análise de Dados](https://www.youtube.com/playlist?list=PLyqOvdQmGdTR46HUxDA6Ymv4DGsIjvTQ-) - [Curso de programación Python desde cero](https://www.youtube.com/playlist?list=PLyvsggKtwbLW1j0d5yaCkRF9Axpdlhsxz) - [Introdução à Ciência da Computação com Python](https://www.youtube.com/playlist?list=PLcoJJSvnDgcKpOi_UeneTNTIVOigRQwcn) - [Curso de Python - Módulo Tkinter](https://www.youtube.com/playlist?list=PLesCEcYj003ShHnUT83gQEH6KtG8uysUE) - [Curso Selenium com Python - Eduardo Mendes](https://www.youtube.com/playlist?list=PLOQgLBuj2-3LqnMYKZZgzeC7CKCPF375B) - [Python - Curso Básico - João Ribeiro](https://www.youtube.com/playlist?list=PLXik_5Br-zO-vShMozvWZWdfcgEO4uZR7) - [Curso de Python 3 - Caio Dellaqua](https://www.youtube.com/playlist?list=PLnHC9X5I2m1_BHFb8rS950nCZXpua3Dj3) - [Curso de introdução ao desenvolvimento Web com Python 3 e Django](https://www.youtube.com/playlist?list=PLjv17QYEBJPpd6nI-MXpIa4qR7prKfPQz) - [Curso Analista de dados Python / Numpy / Pandas](https://www.youtube.com/playlist?list=PL3Fmwz_E1hXRWxIkP843DiDf0ZeqgftTy) - [Curso de Python Avançado - Portal Hugo Cursos](https://www.youtube.com/playlist?list=PLxNM4ef1Bpxj-fFV_rwrLlPA6eMvZZAXu) - [Python Tkinter - João Ribeiro](https://www.youtube.com/playlist?list=PLXik_5Br-zO_m8NaaEix1pyQOsCZM7t1h) - [Curso PYQT5 - Python - Desenvolvendo um sistema do zero](https://www.youtube.com/playlist?list=PLwdRIQYrHHU1MGlXIykshfhEApzkPXgQH) - [Lógica de Programação com Python](https://www.youtube.com/playlist?list=PLt7yD2z4olT--vM2fOFTgsn2vOsxHE5LX) - [Curso de Programação Python com Blender](https://www.youtube.com/playlist?list=PL3rePi75166RvuavzR1YU6eo5Q0gvXdI7) - [Curso SQL com python](https://www.youtube.com/playlist?list=PLLWTDkRZXQa88Opt03kzilhx_NGEYSfFt) - [Curso de Python - Módulo SQLite - eXcript](https://www.youtube.com/playlist?list=PLesCEcYj003QiX5JaM24ytHrHiOJknwog) - [Curso Python desde 0](https://www.youtube.com/playlist?list=PLU8oAlHdN5BlvPxziopYZRd55pdqFwkeS) - [Lógica de Programação Usando Python - Curso Completo](https://www.youtube.com/playlist?list=PL51430F6C54953B73) - [Curso Python - Edson Leite Araújo](https://www.youtube.com/playlist?list=PLAwKJHUl9-WeOUxsFr9Gej3sqvS7brpMz) - [Curso Python para hacking - Gabriel Almeida](https://www.youtube.com/playlist?list=PLTt8p5xagieX0sOtwFG-je7y_PA-oTrnY) - [Curso de Python Orientado a Objetos](https://www.youtube.com/playlist?list=PLxNM4ef1Bpxhm8AfK1nDMWPDYXtmVQN-z) - [Curso de TDD em Python](https://www.youtube.com/playlist?list=PL4OAe-tL47sZrzX5jISTuNsGWaMqx8uuE) - [Curso de Python em Vídeo - Daves Tecnolgoia](https://www.youtube.com/playlist?list=PL5EmR7zuTn_Z-I4lLdZL9_wCZJzJJr2pC) - [Curso de Python Básico - Agricultura Digital](https://www.youtube.com/playlist?list=PLVmqNeV0L_zvTZC3uRvzMpySm4XzDVLHS) - [Exercícios de Python 3 - Curso em vídeo](https://www.youtube.com/playlist?list=PLHz_AreHm4dm6wYOIW20Nyg12TAjmMGT-) - [Curso Python- Ignorância Zero](https://www.youtube.com/playlist?list=PLX65ruEX8lOTS_IsLp-STkZLWV9glggDG) - [Curso Lógica de Programação Com Python - Hora de Programar](https://www.youtube.com/playlist?list=PL8hh5X1mSR2CMd6Y_SCXaNCru2bUoRlT_) > Cursos para aprender Python em Inglês - [Learn Python - Full Course for Beginners - freeCodeCamp](https://www.youtube.com/watch?v=rfscVS0vtbw&ab_channel=freeCodeCamp.org) - [Python Tutorial - Python Full Course for Beginners - Programming with Mosh](https://www.youtube.com/watch?v=_uQrJ0TkZlc&ab_channel=ProgrammingwithMosh) - [Python Tutorial: Full Course for Beginners - Bro Code](https://www.youtube.com/watch?v=XKHEtdqhLK8&t=1s&ab_channel=BroCode) - [Python Tutorial for Beginners - Full Course in 12 Hours](https://www.youtube.com/watch?v=B9nFMZIYQl0&ab_channel=CleverProgrammer) - [Python for Beginners – Full Course freeCodeCamp](https://www.youtube.com/watch?v=eWRfhZUzrAc&ab_channel=freeCodeCamp.org) - [Python for Everybody - Full University Python Course](https://www.youtube.com/watch?v=8DvywoWv6fI&ab_channel=freeCodeCamp.org) - [Python Full Course - Amigoscode](https://www.youtube.com/watch?v=LzYNWme1W6Q&ab_channel=Amigoscode) - [Python Tutorial for Beginners - Learn Python in 5 Hours](https://www.youtube.com/watch?v=t8pPdKYpowI&ab_channel=TechWorldwithNana) - [Intermediate Python Programming Course - freeCodeCamp](https://www.youtube.com/watch?v=HGOBQPFzWKo&ab_channel=freeCodeCamp.org) - [Automate with Python – Full Course for Beginners - freeCodeCamp](https://www.youtube.com/watch?v=PXMJ6FS7llk&ab_channel=freeCodeCamp.org) - [20 Beginner Python Projects](https://www.youtube.com/watch?v=pdy3nh1tn6I&ab_channel=freeCodeCamp.org) - [Data Structures and Algorithms in Python - Full Course for Beginners](https://www.youtube.com/watch?v=pkYVOmU3MgA&ab_channel=freeCodeCamp.org) - [Python for Beginners | Full Course - Telusko](https://www.youtube.com/watch?v=YfO28Ihehbk&ab_channel=Telusko) - [Python for Beginners (Full Course) | Programming Tutorial](https://www.youtube.com/playlist?list=PLsyeobzWxl7poL9JTVyndKe62ieoN-MZ3) - [Python for Beginners - Microsoft Developer](https://www.youtube.com/playlist?list=PLlrxD0HtieHhS8VzuMCfQD4uJ9yne1mE6) - [Python RIGHT NOW - NetworkChuck](https://www.youtube.com/playlist?list=PLIhvC56v63ILPDA2DQBv0IKzqsWTZxCkp) - [Learn Python | 8h Full Course | Learn Python the Simple, Intuitive and Intended Way](https://www.youtube.com/playlist?list=PLvMRWNpDTNwTNwsQmgTvvG2i1znjfMidt) - [Python Crash Course - Learning Python](https://www.youtube.com/playlist?list=PLiEts138s9P1A6rXyg4KZQiNBB_qTkq9V) - [Crash Course on Python for Beginners | Google IT Automation with Python Certificate](https://www.youtube.com/playlist?list=PLTZYG7bZ1u6pqki1CRuW4D4XwsBrRbUpg) - [CS50's Introduction to Programming with Python](https://cs50.harvard.edu/python/2022/) - [Complete Python tutorial in Hindi](https://www.youtube.com/playlist?list=PLwgFb6VsUj_lQTpQKDtLXKXElQychT_2j) - [Python Tutorials - Corey Schafer](https://www.youtube.com/playlist?list=PL-osiE80TeTt2d9bfVyTiXJA-UTHn6WwU) - [Advanced Python - Complete Course](https://www.youtube.com/playlist?list=PLqnslRFeH2UqLwzS0AwKDKLrpYBKzLBy2) - [Python Tutorials for Absolute Beginners - CS Dojo](https://www.youtube.com/playlist?list=PLBZBJbE_rGRWeh5mIBhD-hhDwSEDxogDg) - [Learn Python The Complete Python Programming Course](https://www.youtube.com/playlist?list=PL0-4oWTgb_cl_FQ66HvBx0g5-LZjnLl8o) - [100 Days of Code - Learn Python Programming!](https://www.youtube.com/playlist?list=PLSzsOkUDsvdvGZ2fXGizY_Iz9j8-ZlLqh) - [Python (Full Course) - QAFox](https://www.youtube.com/playlist?list=PLsjUcU8CQXGGqjSvX8h5JQIymbYfzEMWd) - [Python Full Course - Jennys Lectures](https://www.youtube.com/playlist?list=PLdo5W4Nhv31bZSiqiOL5ta39vSnBxpOPT) - [Python Tutorials For Absolute Beginners In Hindi](https://www.youtube.com/playlist?list=PLu0W_9lII9agICnT8t4iYVSZ3eykIAOME) - [Crash Course on Python by Google](https://www.youtube.com/playlist?list=PLOkt5y4uV6bW46gR0DrBRfkVAhE6RSpZX) - [NetAcad Python Course Labs](https://www.youtube.com/playlist?list=PL6Tc4k6dl9kLk8cDwImy1Q6a9buJkvsEJ) - [Data Analysis with Python Course](https://www.youtube.com/playlist?list=PLWKjhJtqVAblvI1i46ScbKV2jH1gdL7VQ) - [30 day Basic to Advanced Python Course](https://www.youtube.com/playlist?list=PL3DVGRBD_QUrqjmkhf8cK038fiZhge7bu) - [Python Course - Masai](https://www.youtube.com/playlist?list=PLD6vB9VKZ11lm3iP5riJtgDDtDbd9Jq4Y) - [Python Hacking Course Beginner To Advance!](https://www.youtube.com/watch?v=Wfe1q7nx8WU&ab_channel=TheHackingCoach) - [Ethical Hacking using Python | Password Cracker Using Python | Edureka](https://www.youtube.com/watch?v=CV_mMAYzTxw&ab_channel=edureka%21) - [Complete Python Hacking Course: Beginner To Advance](https://www.youtube.com/watch?v=7T_xVBwFdJA&ab_channel=AleksaTamburkovski) - [Tools Write Python](https://www.youtube.com/playlist?list=PL0HkYwPRexOaRoD2jO6-0YFTTaED5Ya9A) - [Python 101 For Hackers](https://www.youtube.com/playlist?list=PLoqUKOWEFR1y6LQNkrssmO1-YN2gjniZY) - [Python for hackers course](https://www.youtube.com/playlist?list=PLFA5k60XteCmzAGxhfmauety1VbcUk9eh) - [Black Hat Python for Pentesters and Hackers tutorial](https://www.youtube.com/playlist?list=PLTgRMOcmRb3N5i5gBSjAqJ4c7m1CQDS0X) - [Python For Hackers](https://www.youtube.com/playlist?list=PLQzKQEJTLWfyyDGV_CQbPGTJn5apS10uN) - [The Complete Ethical Hacking Course Beginner to Advanced](https://www.youtube.com/playlist?list=PL0-4oWTgb_cniCsTF8hitbZL38NjFRyRr) - [Python Security - Abdallah Elsokary](https://www.youtube.com/playlist?list=PLCIJjtzQPZJ-k4ADq_kyuyWVSRPC5JxeG) - [Python Hacking - OccupyTheWeb](https://www.youtube.com/playlist?list=PLpJ5UHZQbpQvXbGzJHxjXH9Y7uxd-tnA7) - [Python For Hacking - Technical Hacker](https://www.youtube.com/playlist?list=PLb9t9VtleL9WTrk74L4xQIq6LM0ndQBEA) - [Hacking networks with Python and Scapy](https://www.youtube.com/playlist?list=PLhfrWIlLOoKOc3z424rgsej5P5AP8yNKR) - [Ethical Hacking With Python](https://www.youtube.com/playlist?list=PLHGPBKzD9DYU10VM6xcVoDSSVzt2MNdKf) - [Python hacking - Abdul Kamara](https://www.youtube.com/playlist?list=PLmrwFpxY0W1PPRPJrFAJInpOzuB3TLx0K) ## 🐘 Sites e cursos para aprender PHP > Cursos para aprender PHP em Português - [Curso de PHP para Iniciantes](https://www.youtube.com/playlist?list=PLHz_AreHm4dm4beCCCmW4xwpmLf6EHY9k) - [Curso de PHP - Node Studio](https://www.youtube.com/playlist?list=PLwXQLZ3FdTVEITn849NlfI9BGY-hk1wkq) - [Curso de PHP - CFBCursos](https://www.youtube.com/playlist?list=PLx4x_zx8csUgB4R1dDXke4uKMq-IrSr4B) - [Curso de PHP 8 Completo](https://www.youtube.com/playlist?list=PLXik_5Br-zO9wODVI0j58VuZXkITMf7gZ) - [Curso de PHP - eXcript](https://www.youtube.com/playlist?list=PLesCEcYj003TrV2MvUOnmVtMdgIp0C4Pd) - [Curso de PHP Orientado a Objetos](https://www.youtube.com/playlist?list=PLwXQLZ3FdTVEau55kNj_zLgpXL4JZUg8I) - [Curso de PHP8 Completo - Intermédio e Avançado](https://www.youtube.com/playlist?list=PLXik_5Br-zO9Z8l3CE8zaIBkVWjHOboeL) - [Curso de PHP](https://www.youtube.com/playlist?list=PLBFB56E8115533B6C) - [Curso de POO PHP (Programação Orientada a Objetos)](https://www.youtube.com/playlist?list=PLHz_AreHm4dmGuLII3tsvryMMD7VgcT7x) - [Curso de PHP 7 Orientado a Objetos](https://www.youtube.com/playlist?list=PLnex8IkmReXz6t1rqxB-W17dbvfSL1vfg) - [Curso de PHP 7](https://www.youtube.com/playlist?list=PLnex8IkmReXw-QlzKS9zA3rXQsRnK5nnA) - [Curso de PHP com MySQL](https://www.youtube.com/playlist?list=PLucm8g_ezqNrkPSrXiYgGXXkK4x245cvV) - [Curso de PHP para iniciantes](https://www.youtube.com/playlist?list=PLInBAd9OZCzx82Bov1cuo_sZI2Lrb7mXr) - [Curso de PHP 7 e MVC - Micro Framework](https://www.youtube.com/playlist?list=PL0N5TAOhX5E-NZ0RRHa2tet6NCf9-7B5G) - [Curso de PHP - Emerson Carvalho](https://www.youtube.com/playlist?list=PLIZ0d6lKIbVpOxc0x1c4HpEWyK0JMsL49) > Cursos para aprender PHP em Espanhol - [Curso de PHP/MySQL](https://www.youtube.com/playlist?list=PLU8oAlHdN5BkinrODGXToK9oPAlnJxmW_) - [Curso completo de PHP desde cero a experto](https://www.youtube.com/playlist?list=PLH_tVOsiVGzmnl7ImSmhIw5qb9Sy5KJRE) - [Curso PHP 8 y MySQL 8 desde cero](https://www.youtube.com/playlist?list=PLZ2ovOgdI-kUSqWuyoGJMZL6xldXw6hIg) - [Curso de PHP completo desde cero](https://www.youtube.com/playlist?list=PLg9145ptuAij8vIQLU25f7sUSH4E8pdY5) - [Curso completo PHP y MySQL principiantes-avanzado](https://www.youtube.com/playlist?list=PLvRPaExkZHFkpBXXCsL2cn9ORTTcPq4d7) - [Curso PHP Básico](https://www.youtube.com/playlist?list=PL469D93BF3AE1F84F) - [PHP desde cero](https://www.youtube.com/playlist?list=PLAzlSdU-KYwW9eWj88DW55gTi1M5HQo5S) > Cursos para aprender PHP em Inglês - [Learn PHP The Right Way - Full PHP Tutorial For Beginners & Advanced](https://www.youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-) - [PHP Programming Language Tutorial - Full Course](https://www.youtube.com/watch?v=OK_JCtrrv-c&ab_channel=freeCodeCamp.org) - [PHP For Absolute Beginners | 6.5 Hour Course](https://www.youtube.com/watch?v=2eebptXfEvw&ab_channel=TraversyMedia) - [PHP For Beginners | 3+ Hour Crash Course](https://www.youtube.com/watch?v=BUCiSSyIGGU&ab_channel=TraversyMedia) - [PHP Tutorial for Beginners - Full Course | OVER 7 HOURS!](https://www.youtube.com/watch?v=t0syDUSbdfE&ab_channel=EnvatoTuts%2B) - [PHP And MySQL Full Course in 2022](https://www.youtube.com/watch?v=s-iza7kAXME&ab_channel=Simplilearn) - [PHP Full Course | PHP Tutorial For Beginners](https://www.youtube.com/watch?v=6EukZDFE_Zg&ab_channel=Simplilearn) - [PHP Front To Back](https://www.youtube.com/playlist?list=PLillGF-Rfqbap2IB6ZS4BBBcYPagAjpjn) - [PHP Tutorial for Beginners](https://www.youtube.com/playlist?list=PL4cUxeGkcC9gksOX3Kd9KPo-O68ncT05o) - [PHP for beginners](https://www.youtube.com/playlist?list=PLFHz2csJcgk_fFEWydZJLiXpc9nB1qfpi) - [The Complete 2021 PHP Full Stack Web Developer](https://www.youtube.com/playlist?list=PLs-hN447lej6LvquSMoWkGlJAJrhwaVNX) - [PHP Training Videos](https://www.youtube.com/playlist?list=PLEiEAq2VkUUIjP-QLfvICa1TvqTLFvn1b) - [PHP complete course with Project](https://www.youtube.com/playlist?list=PLFINWHSIpuivHWnGE8YGw8uFygThFGr3-) - [PHP Course for Beginners](https://www.youtube.com/playlist?list=PLLQuc_7jk__WTMT4U1qhDkhqd2bOAdxSo) - [PHP Tutorials Playlist](https://www.youtube.com/playlist?list=PL442FA2C127377F07) - [PHP Tutorials](https://www.youtube.com/playlist?list=PL0eyrZgxdwhwBToawjm9faF1ixePexft-) - [PHP Tutorial for Beginners](https://www.youtube.com/playlist?list=PLS1QulWo1RIZc4GM_E04HCPEd_xpcaQgg) - [PHP 7 Course - From Zero to Hero](https://www.youtube.com/playlist?list=PLCwJ-zYcMM92IlmUrW7Nn79y4LHGfODGc) - [PHP Tutorials (updated)](https://www.youtube.com/playlist?list=PL0eyrZgxdwhxhsuT_QAqfi-NNVAlV4WIP) - [PHP & MySQL Tutorial Videos](https://www.youtube.com/playlist?list=PL9ooVrP1hQOFB2yjxFbK-Za8HwM5v1NC5) - [PHP from intermediate to advanced](https://www.youtube.com/playlist?list=PLBEpR3pmwCazOsFp0xI3keBq7SoqDnxM7) - [Object Oriented PHP Tutorials](https://www.youtube.com/playlist?list=PL0eyrZgxdwhypQiZnYXM7z7-OTkcMgGPh) - [PHP OOP Basics Full Course](https://www.youtube.com/playlist?list=PLY3j36HMSHNUfTDnDbW6JI06IrkkdWCnk) - [Advanced PHP](https://www.youtube.com/playlist?list=PLu4-mSyb4l4SlKcO51aLtyiuOmlEuojvZ) ## 🦚 Sites e cursos para aprender C# > Cursos para aprender C# em Português - [Curso de C# - Aprenda o essencial em 5 HORAS](https://www.youtube.com/watch?v=PKMm-cHe56g&ab_channel=VictorLima-GuiadoProgramador) - [Curso de Programação C#](https://www.youtube.com/playlist?list=PLx4x_zx8csUglgKTmgfVFEhWWBQCasNGi) - [Curso C# 2021](https://www.youtube.com/playlist?list=PL50rZONmv8ZTLPRyqb37EoPlBpSmVBJWX) - [Curso de C# para Iniciantes](https://www.youtube.com/playlist?list=PLwftZeDnOzt3VMtat5BTJvP_7qgNtRDD8) - [Linguagem C#](https://www.youtube.com/playlist?list=PLEdPHGYbHhlcxWx-_LrVVYZ2RRdqltums) - [C# - De Novato a Profissional](https://www.youtube.com/playlist?list=PLXik_5Br-zO-rMqpRy5qPG2SLNimKmVCO) - [Curso de C#](https://www.youtube.com/playlist?list=PLesCEcYj003SFffgnOcITHnCJavMf0ArD) - [Curso de C# - Pildoras Informaticas](https://www.youtube.com/playlist?list=PLU8oAlHdN5BmpIQGDSHo5e1r4ZYWQ8m4B) - [Curso de C# Básico e Avançado](https://www.youtube.com/playlist?list=PLxNM4ef1BpxgRAa5mGXlCoSGyfYau8nZI) - [Curso de Programação em C#](https://www.youtube.com/playlist?list=PLO_xIfla8f1wDmI0Vd4YJLKBJhOeQ3xbz) - [Curso de Programação com C#](https://www.youtube.com/playlist?list=PLucm8g_ezqNoMPIGWbRJXemJKyoUpTjA1) - [Curso Básico de C#](https://www.youtube.com/playlist?list=PL0YuSuacUEWsHR_a22z31bvA2heh7iUgr) - [Curso de Desenvolvimento de Sistemas - C# com SQL](https://www.youtube.com/playlist?list=PLxNM4ef1BpxjLIq-eTL8mgROdviCiobs9) - [Curso de C# - Diego Moisset](https://www.youtube.com/playlist?list=PLIygiKpYTC_400MCSyUlje1ifmFltonuN) - [C# - Programação Orientada a Objetos](https://www.youtube.com/playlist?list=PLfvOpw8k80Wreysmw8fonLCBw8kiiYjIU) - [Curso .NET Core C#](https://www.youtube.com/playlist?list=PLs3yd28pfby7WLEdA7GXey47cKZKMrcwS) - [Curso de C# com Entity - CSharp com SQL](https://www.youtube.com/playlist?list=PLxNM4ef1BpxgIUUueLguueyhx0UuICC3-) - [Curso de C# com MVC e SQL](https://www.youtube.com/playlist?list=PLxNM4ef1Bpxgilp2iFXI4i2if6Qtg6qFZ) > Cursos para aprender C# em Espanhol - [Curso C# de 0 a Experto](https://www.youtube.com/playlist?list=PLvMLybJwXhLEVUlBI2VdmYXPARO2Zwxze) - [Tutorial C# - Curso básico](https://www.youtube.com/playlist?list=PLM-p96nOrGcakia6TWllPW9lkQmB2g-yX) - [Aprende a programar en C# desde CERO](https://www.youtube.com/playlist?list=PL8gxzfBmzgexdFa0XZZSZZn2Ogx3j-Qd5) > Cursos para aprender C# em Inglês - [C# Tutorial - Full Course for Beginners](https://www.youtube.com/watch?v=GhQdlIFylQ8&ab_channel=freeCodeCamp.org) - [C# Full Course - Learn C# 10 and .NET 6 in 7 hours](https://www.youtube.com/watch?v=q_F4PyW8GTg&ab_channel=tutorialsEU) - [C# Tutorial: Full Course for Beginners](https://www.youtube.com/watch?v=wxznTygnRfQ&ab_channel=BroCode) - [C# Fundamentals for Beginners](https://www.youtube.com/watch?v=0QUgvfuKvWU&ab_channel=MicrosoftDeveloper) - [C# Tutorial For Beginners - Learn C# Basics in 1 Hour](https://www.youtube.com/watch?v=gfkTfcpWqAY&ab_channel=ProgrammingwithMosh) - [C# for Beginners | Full 2-hour course](https://www.youtube.com/watch?v=Z5JS36NlJiU&ab_channel=dotnet) - [C# Programming All-in-One Tutorial Series (6 HOURS!)](https://www.youtube.com/watch?v=qOruiBrXlAw&ab_channel=CalebCurry) - [Create a C# Application from Start to Finish - Complete Course](https://www.youtube.com/watch?v=wfWxdh-_k_4&ab_channel=freeCodeCamp.org) - [C# Tutorials](https://www.youtube.com/playlist?list=PL_c9BZzLwBRIXCJGLd4UzqH34uCclOFwC) - [C# Mastery Course](https://www.youtube.com/playlist?list=PLrW43fNmjaQVSmaezCeU-Hm4sMs2uKzYN) - [C# Full Course Beginner to Advanced](https://www.youtube.com/playlist?list=PLq5Uz3LSFff8GmtFeoXRZCtWBKQ0kWl-H) - [C# Tutorial For Beginners & Basics - Full Course 2022](https://www.youtube.com/playlist?list=PL82C6-O4XrHfoN_Y4MwGvJz5BntiL0z0D) - [C# for Beginners Course](https://www.youtube.com/playlist?list=PL4LFuHwItvKbneXxSutjeyz6i1w32K6di) - [C# tutorial for beginners](https://www.youtube.com/playlist?list=PLAC325451207E3105) - [C# Online Training](https://www.youtube.com/playlist?list=PLWPirh4EWFpFYePpf3E3AI8LT4NInNoIM) - [C# Training](https://www.youtube.com/playlist?list=PLEiEAq2VkUULDJ9tZd3lc0rcH4W5SNSoW) - [C# for Beginners](https://www.youtube.com/playlist?list=PLdo4fOcmZ0oVxKLQCHpiUWun7vlJJvUiN) - [C# - Programming Language | Tutorial](https://www.youtube.com/playlist?list=PLLAZ4kZ9dFpNIBTYHNDrhfE9C-imUXCmk) - [C#.NET Tutorials](https://www.youtube.com/playlist?list=PLTjRvDozrdlz3_FPXwb6lX_HoGXa09Yef) ## 🦉 Sites e cursos para aprender C > Cursos para aprender C em Português - [Curso de C - eXcript](https://www.youtube.com/playlist?list=PLesCEcYj003SwVdufCQM5FIbrOd0GG1M4) - [Programação Moderna em C - Papo Binário](https://www.youtube.com/playlist?list=PLIfZMtpPYFP5qaS2RFQxcNVkmJLGQwyKE) - [Curso de Linguagem C - Pietro Martins](https://www.youtube.com/playlist?list=PLpaKFn4Q4GMOBAeqC1S5_Fna_Y5XaOQS2) - [Curso de Programação C Completo - Programe seu futuro](https://www.youtube.com/playlist?list=PLqJK4Oyr5WSjjEQCKkX6oXFORZX7ro3DA) - [Linguagem C - De aluno para aluno](https://www.youtube.com/playlist?list=PLa75BYTPDNKZWYypgOFEsX3H2Mg-SzuLW) - [Curso de Linguagem C para Iniciantes - John Haste](https://www.youtube.com/playlist?list=PLGgRtySq3SDMLV8ee7p-rA9y032AU3zT8) - [Curso de Linguagem C (ANSI)](https://www.youtube.com/playlist?list=PLZ8dBTV2_5HTGGtrPxDB7zx8J5VMuXdob) - [Curso - Programação com a Linguagem C para iniciantes](https://www.youtube.com/playlist?list=PLbEOwbQR9lqxHno2S-IiG9-lePyRNOO_E) - [Curso de Programação 3 (C Avançado)](https://www.youtube.com/playlist?list=PLxMw67OGLa0kW_TeweK2-9gXRlMLYzC1o) - [Curso de C - Diego Moisset](https://www.youtube.com/playlist?list=PLIygiKpYTC_6zHLTjI6cFIRZm1BCT3CuV) - [Curso de C e C++](https://www.youtube.com/playlist?list=PL5EmR7zuTn_bONyjFxSO4ZCE-SVVNFGkS) - [Curso de Programação em Linguagem C](https://www.youtube.com/playlist?list=PLucm8g_ezqNqzH7SM0XNjsp25AP0MN82R) - [Linguagem C - Curso de Programação Completo para Iniciantes e Profissionais](https://www.youtube.com/playlist?list=PLrqNiweLEMonijPwsHckWX7fVbgT2jS3P) - [Curso de Lógica e programação em C](https://www.youtube.com/playlist?list=PLtnFngjANe7EMzARU48QgecpyQdzWapoT) > Cursos para aprender C em Inglês - [C Programming for Beginners](https://www.youtube.com/playlist?list=PL98qAXLA6aftD9ZlnjpLhdQAOFI8xIB6e) - [C Programming - Neso Academy](https://www.youtube.com/playlist?list=PLBlnK6fEyqRggZZgYpPMUxdY1CYkZtARR) - [C Programming & Data Structures](https://www.youtube.com/playlist?list=PLBlnK6fEyqRhX6r2uhhlubuF5QextdCSM) - [Programming in C - Jennys](https://www.youtube.com/playlist?list=PLdo5W4Nhv31a8UcMN9-35ghv8qyFWD9_S) - [C Language Tutorials In Hindi](https://www.youtube.com/playlist?list=PLu0W_9lII9aiXlHcLx-mDH1Qul38wD3aR) - [freeCodeCamp C / C++](https://www.youtube.com/playlist?list=PLWKjhJtqVAbmUE5IqyfGYEYjrZBYzaT4m) - [C Programming Tutorials](https://www.youtube.com/playlist?list=PL_c9BZzLwBRKKqOc9TJz1pP0ASrxLMtp2) - [C Language Tutorial Videos - Mr. Srinivas](https://www.youtube.com/playlist?list=PLVlQHNRLflP8IGz6OXwlV_lgHgc72aXlh) - [Advanced C Programming](https://www.youtube.com/playlist?list=PL7CZ_Xc0qgmJFqNWEt4LIhAPTlT0sCW4C) - [Free Online Programming Course in C for Beginners](https://www.youtube.com/playlist?list=PL76809ED684A081F3) - [C Programming - Ankpro](https://www.youtube.com/playlist?list=PLUtTaqnx2RJLSUZgv0zp0aNWy9e1cbKd9) - [C Programming Tutorials - The New Boston](https://www.youtube.com/playlist?list=PL6gx4Cwl9DGAKIXv8Yr6nhGJ9Vlcjyymq) - [C Programming - IntelliPaat](https://www.youtube.com/playlist?list=PLVHgQku8Z935hrZwx751XoyqDROH_tYMY) - [Learn C programming - edureka!](https://www.youtube.com/playlist?list=PL9ooVrP1hQOFrNo8jK9Yb2g2eMHz7hTu9) - [C Programming Tutorials - Saurabh Shukla](https://www.youtube.com/playlist?list=PLe_7x5eaUqtWp9fvsxhC4XIkoR3n5A-sF) ## 🐸 Sites e cursos para aprender C++ > Cursos para aprender C++ em Português - [Curso C++ - eXcript](https://www.youtube.com/playlist?list=PLesCEcYj003QTw6OhCOFb1Fdl8Uiqyrqo) - [Curso de C e C++ - Daves Tecnologia](https://www.youtube.com/playlist?list=PL5EmR7zuTn_bONyjFxSO4ZCE-SVVNFGkS) - [Curso Programação em C/C++](https://www.youtube.com/playlist?list=PLC9E87254BD7A875B) - [Curso C++ para iniciantes](https://www.youtube.com/playlist?list=PL8eBmR3QtPL13Dkn5eEfmG9TmzPpTp0cV) - [Curso de C++ e C#](https://www.youtube.com/playlist?list=PLxNM4ef1Bpxhro_xZd-PCUDUsgg8tZFKh) - [Curso C++](https://www.youtube.com/playlist?list=PL6xP0t6HQYWcUPcXLu2XTZ3gOCJSmolgO) - [Curso de C++ - A linguagem de programação fundamental para quem quer ser um programador](https://www.youtube.com/playlist?list=PLx4x_zx8csUjczg1qPHavU1vw1IkBcm40) > Cursos para aprender C++ em Espanhol - [Programación en C++](https://www.youtube.com/playlist?list=PLWtYZ2ejMVJlUu1rEHLC0i_oibctkl0Vh) - [Curso en C++ para principiantes](https://www.youtube.com/playlist?list=PLDfQIFbmwhreSt6Rl2PbDpGuAEqOIPmEu) - [C++ desde cero](https://www.youtube.com/playlist?list=PLAzlSdU-KYwWsM0FgOs4Jqwnr5zhHs0wU) - [Curso de Interfaces Graficas en C/C++](https://www.youtube.com/playlist?list=PLYA44wBp7zVTiCJiXIC5H5OkMOXptxLOI) > Cursos para aprender C++ em Inglês - [C++ Programming Course - Beginner to Advanced 31 hours](https://www.youtube.com/watch?v=8jLOx1hD3_o&ab_channel=freeCodeCamp.org) - [C++ Full Course For Beginners (Learn C++ in 10 hours)](https://www.youtube.com/watch?v=GQp1zzTwrIg&ab_channel=CodeBeauty) - [C++ Tutorial for Beginners - Learn C++ in 1 Hour](https://www.youtube.com/watch?v=ZzaPdXTrSb8&ab_channel=ProgrammingwithMosh) - [C++ Tutorial: Full Course for Beginners](https://www.youtube.com/watch?v=-TkoO8Z07hI&ab_channel=BroCode) - [C++ Tutorial for Beginners - Complete Course](https://www.youtube.com/watch?v=vLnPwxZdW4Y&ab_channel=freeCodeCamp.org) - [C++ Programming All-in-One Tutorial Series (10 HOURS!)](https://www.youtube.com/watch?v=_bYFu9mBnr4&ab_channel=CalebCurry) - [C++ Full Course 2022](https://www.youtube.com/watch?v=SYd5F4gIH90&ab_channel=Simplilearn) - [C++ Crash Course](https://www.youtube.com/watch?v=uhFpPlMsLzY&ab_channel=BroCode) - [C++ - The Cherno](https://www.youtube.com/playlist?list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb) - [C++ Full Course | C++ Tutorial | Data Structures & Algorithms](https://www.youtube.com/playlist?list=PLfqMhTWNBTe0b2nM6JHVCnAkhQRGiZMSJ) - [C++ Programming - Neso Academy](https://www.youtube.com/playlist?list=PLBlnK6fEyqRh6isJ01MBnbNpV3ZsktSyS) - [C++ Complete Course](https://www.youtube.com/playlist?list=PLdo5W4Nhv31YU5Wx1dopka58teWP9aCee) - [C++ Tutorials In Hindi](https://www.youtube.com/playlist?list=PLu0W_9lII9agpFUAlPFe_VNSlXW5uE0YL) - [C++ Online Training](https://www.youtube.com/playlist?list=PLWPirh4EWFpGDG3--IKMLPoYrgfuhaz_t) - [C / C++ - freeCodeCamp Playlist](https://www.youtube.com/playlist?list=PLWKjhJtqVAbmUE5IqyfGYEYjrZBYzaT4m) - [C++ Modern Tutorials](https://www.youtube.com/playlist?list=PLgnQpQtFTOGRM59sr3nSL8BmeMZR9GCIA) ## 🦉 Sites e cursos para aprender Camunda > Cursos para aprender Camunda em Português - [Curso de Camunda - Limers Dev](https://www.youtube.com/playlist?list=PLb7Px7q28I7UqIdEnZDP0RCPB2wEvO7KW) - [Curso de Camunda - Fabulous Code](https://www.youtube.com/watch?v=f9DmrLPMjRM&t=6s&ab_channel=FabulousCode) - [Curso Modelagem de Processos com Camunda BPM](https://www.youtube.com/playlist?list=PLI0t5VwNU4XNvkWYXPryepPwCCxsrEyZH) > Cursos para aprender Camunda em Inglês - [Tutorial: How to Get Started With Camunda Platform 7 Run](https://www.youtube.com/watch?v=l-sCUKQZ44s&list=PLJG25HlmvsOUnCziyJBWzcNh7RM5quTmv&ab_channel=Camunda) - [Getting Started with Camunda Platform 7](https://www.youtube.com/playlist?list=PLJG25HlmvsOUnCziyJBWzcNh7RM5quTmv) - [Camunda First Steps Course - English](https://www.youtube.com/playlist?list=PLI0t5VwNU4XP-D9sw8_34VV9QD4wlLxtQ) - [Camunda Complete Tutrorial for Java](https://www.youtube.com/playlist?list=PLLUFZCmqicc-ESKvg3XZE-7yX5o_0PPED) - [Camunda BPMN Tutorials - Arindam Mukherjee](https://www.youtube.com/playlist?list=PLago6eYwkX8g8PFjN3-7u0yCbKYjdSTUF) - [Camunda Learning - Sairam Gopalakrishnan](https://www.youtube.com/playlist?list=PLTFuYAuDJIcOd-RCNZ5PtwyfRR4Gq9XMv) ## 🐶 Sites e cursos para aprender Kotlin > Cursos para aprender Kotlin em Português - [Documentação Oficial do Kotlin](https://kotlinlang.org/docs/home.html) - [Curso de Kotlin 2020 | Básico](https://youtube.com/playlist?list=PLPs3nlHFeKTr-aDDvUxU971rPSVTyQ6Bn) - [Curso de Kotlin - Programação para Iniciantes](https://www.youtube.com/playlist?list=PLmcyA-BbqsvJnOZoGNHPMF1dCBq0m6Qzg) - [Curso Básico de Kotlin - Fabiano Góes ](https://www.youtube.com/playlist?list=PLM8_o_MDe-LEpabjij2vyHZnxI7Knrxkj) - [Mini Curso - Web API Kotlin do Zero](https://www.youtube.com/playlist?list=PLM8_o_MDe-LEas_XSKIyaFAp_MS__5j4p) - [Programação Android - Geraldo Melo](https://www.youtube.com/playlist?list=PLHZwU4kNI8DXL2ennM5kR8kHm5zwS6hOz) - [Mini Curso - Conceitos básicos de Kotlin](https://www.youtube.com/playlist?list=PLM8_o_MDe-LElQqV-SZtlyGt8l7iz770r) - [Aplicativo Android Kotlin - Salário Mês](https://www.youtube.com/playlist?list=PLufC_h3b0C2BbBfAB3rZXXkhtRDEuQFcq) - [Curso de Kotlin - Professor MarcoMaddo](https://www.youtube.com/playlist?list=PLDqAb8tE7SQYE7NJqwuku7e1S46MOav6X) - [Curso de Kotlin e Spring - Fabiano Góes](https://www.youtube.com/playlist?list=PLM8_o_MDe-LEu4XrXKjA48dt1d07FPYP1) - [Curso de Kotlin - Tutorial para Iniciantes Android](https://www.youtube.com/watch?v=r_6Ku38sA-c&t=11746s) - [Fundamentos Android Kotlin](https://cursos.alura.com.br/course/fundamentos-android-kotlin) > Cursos para aprender Kotlin em Espanhol - [Curso de Kotlin desde cero - Danisable](https://www.youtube.com/playlist?list=PLAzlSdU-KYwVlDl-939Vv0_r5XhU7zgX1) - [Curso de Kotlin de 0 a 100 - Programador Novato](https://www.youtube.com/playlist?list=PLCTD_CpMeEKSjzbsW_zmVNz23GyOVsdbS) - [Curso de Programacion Android desde cero en Kotlin](https://www.youtube.com/playlist?list=PL8ie04dqq7_M8nfPA9DPiAy7NsoZQpVAf) > Cursos para aprender Kotlin em Inglês - [Kotlin Crash Course](https://www.youtube.com/watch?v=5flXf8nuq60&ab_channel=TraversyMedia) - [Android Kotlin Course - Dr. Parag Shukla](https://www.youtube.com/playlist?list=PLATOxdAcWIvPbiiK0_mn_LTQyS1FBYdaW) - [Kotlin Course - Tutorial for Beginners](https://www.youtube.com/watch?v=F9UC9DY-vIU&ab_channel=freeCodeCamp.org) - [Kotlin Tutorial for Beginners: The Kotlin Programming Language Full 9-hour Kotlin Course](https://www.youtube.com/watch?v=wuiT4T_LJQo&ab_channel=DonnFelker-FreelancingforSoftwareDevelopers) - [Learn Kotlin Programming – Full Course for Beginners](https://www.youtube.com/watch?v=EExSSotojVI&ab_channel=freeCodeCamp.org) - [Kotlin & Android 12 Tutorial | Learn How to Build an Android App - 9h Free Development Masterclass](https://www.youtube.com/watch?v=HwoxgUPabMk&ab_channel=tutorialsEU) - [Kotlin Programming Fundamentals Tutorial - Full Course](https://www.youtube.com/watch?v=AeC4G-H-MQA&ab_channel=freeCodeCamp.org) - [Android Development(Kotlin) Full Course For Beginners 2022 | 12 Hour Comprehensive Tutorial For Free](https://www.youtube.com/watch?v=BCSlZIUj18Y&ab_channel=AppDevNotes) - [Learn Kotlin From Zero to Hero in 10 Hours](https://www.youtube.com/watch?v=cxm9AHNDMPI&ab_channel=MasterCoding) - [Android Development Course - Build Native Apps with Kotlin Tutorial](https://www.youtube.com/watch?v=Iz08OTTjR04&ab_channel=freeCodeCamp.org) - [Android Programming Course - Kotlin, Jetpack Compose UI, Graph Data Structures & Algorithms](https://www.youtube.com/watch?v=bo_LP6QOUio&ab_channel=freeCodeCamp.org) - [Kotlin Course for Beginners and Java Devs](https://www.youtube.com/playlist?list=PLrnPJCHvNZuAIbejjZA1kGfLeA8ZpICB2) - [The Kotlin Programming Language Course for Beginners](https://www.youtube.com/playlist?list=PLVUm4IewkTXqwzuRXZisWg7shMTiQhUtz) - [The Complete Kotlin Developer Course](https://www.youtube.com/playlist?list=PL6Q9UqV2Sf1h0Jox_BLZV3gqmMM1sWKUD) - [Kotlin Tutorial for Beginners: Basics and Fundamentals for beginners](https://www.youtube.com/playlist?list=PLlxmoA0rQ-LwgK1JsnMsakYNACYGa1cjR) - [Kotlin Beginner Tutorials Hindi | Complete Series](https://www.youtube.com/playlist?list=PLRKyZvuMYSIMW3-rSOGCkPlO1z_IYJy3G) - [Android Kotlin Programing](https://www.youtube.com/playlist?list=PLaoF-xhnnrRUEbF6cvk4-CeBAEOSbp8sS) - [Learn Kotlin - Kotlin Tutorial For Beginners](https://www.youtube.com/playlist?list=PL6nth5sRD25iv8jZrQWD-5dXgu56ae5m8) - [Kotlin Tutorial - Telusko](https://www.youtube.com/playlist?list=PLsyeobzWxl7rooJFZhc3qPLwVROovGCfh) ## 🐋 Sites e cursos para aprender Swift > Cursos para aprender Swift em Português - [Curso de Swift- Tiago Aguiar](https://www.youtube.com/playlist?list=PLJ0AcghBBWShgIH122uw7H9T9-NIaFpP-) - [Curso grátis Swift e SwiftUI (Stanford 2020)](https://www.youtube.com/playlist?list=PLMdYygf53DP46rneFgJ7Ab6fJPcMvr8gC) - [Curso de Swift - Desenvolvimento IOS Apple](https://www.youtube.com/playlist?list=PLxNM4ef1BpxjjMKpcYSqXI4eY4tZG2csm) - [Curso iOS e Swift](https://www.youtube.com/playlist?list=PLW-gR4IAiL9ubGKgE5MsyzwovmeOF7nt_) > Cursos para aprender Swift em Espanhol - [Curso de programación con Swift](https://www.youtube.com/playlist?list=PLNdFk2_brsRc57R6UaHy4zx_FHqx236G1) - [Curso programación iOS con Xcode y Swift](https://www.youtube.com/playlist?list=PLNdFk2_brsRcWM-31vJUgyHIGpopIDw4s) - [Curso Swift en Español desde cero [2022]](https://www.youtube.com/playlist?list=PLeTOFRUxkMcozbUpMiaHRy8_GjzJ_9tyi) - [Curso de Swift Español - Clonando YouTube](https://www.youtube.com/playlist?list=PLT_OObKZ3CpuEomHCc6v-49u3DFCdCyLH) - [Curso De Swift - Código Facilito](https://www.youtube.com/playlist?list=PLTPmvYfJJMVp_YzS22WI-5NYW1c_7eTBD) - [Curso de SwiftUI](https://www.youtube.com/playlist?list=PLNdFk2_brsRetB7LiUfpnIclBe_1iOS4M) - [Curso Xcode y Swift desde cero](https://www.youtube.com/playlist?list=PLNdFk2_brsRdyYGDX8QLFKmcpQPjFFrDC) - [Aprende Swift 3 desde cero](https://www.youtube.com/playlist?list=PLD2wfKpqmxnmnjA7lcbc2M2P6TfygmrL3) - [Curso de Swift 4 desde cero](https://www.youtube.com/playlist?list=PLD2wfKpqmxnn7-hEmKx7P3xDY8iYWsz59) - [Curso Introducción a Swift](https://www.youtube.com/playlist?list=PLvQAED-MnQpaJrSjVW449S8Kda3wGQqKD) > Cursos para aprender Swift em Inglês - [Swift Tutorial - Full Course for Beginners](https://www.youtube.com/watch?v=comQ1-x2a1Q&ab_channel=freeCodeCamp.org) - [Learn Swift Fast (2020) - Full Course For Beginners](https://www.youtube.com/watch?v=FcsY1YPBwzQ&ab_channel=CodeWithChris) - [2021 SwiftUI Tutorial for Beginners (3.5 hour Masterclass)](https://www.youtube.com/watch?v=F2ojC6TNwws&ab_channel=CodeWithChris) - [Swift Tutorial For Beginners [Full Course] Learn Swift For iOS Development](https://www.youtube.com/watch?v=mhE-Mp07RTo&ab_channel=Devslopes) - [Swift Programming Tutorial | FULL COURSE | Absolute Beginner](https://www.youtube.com/watch?v=CwA1VWP0Ldw&ab_channel=SeanAllen) - [Swift Programming Tutorial for Beginners (Full Tutorial)](https://www.youtube.com/watch?v=Ulp1Kimblg0&ab_channel=CodeWithChris) ## 🐬 Sites e cursos para aprender Go > Sites para aprender Go - [Onde aprender e estudar GoLang?](https://coodesh.com/blog/candidates/backend/onde-aprender-e-estudar-golang/#:~:text=%E2%8C%A8%EF%B8%8F%20Udemy,11%2C5%20horas%20de%20videoaula.) - [Go Lang - School Of Net](https://www.schoolofnet.com/cursos/programacao/go-lang/) - [48 horas para aprender Go](https://medium.com/@anapaulagomes/48-horas-para-aprender-go-4542b51d84a4) - [Estudo em GoLang: from Zero to Hero com materiais gratuitos!](https://medium.com/hurb-labs/estudo-em-golang-from-zero-to-hero-com-materiais-gratuitos-6be72aeea30f) > Cursos para aprender Go em Português - [Aprenda Go](https://www.youtube.com/playlist?list=PLCKpcjBB_VlBsxJ9IseNxFllf-UFEXOdg) - [Aprenda Go / Golang (Curso Tutorial de Programação)](https://www.youtube.com/playlist?list=PLUbb2i4BuuzCX8CLeArvx663_0a_hSguW) - [Go Lang do Zero](https://www.youtube.com/playlist?list=PL5aY_NrL1rjucQqO21QH8KclsLDYu1BIg) - [Curso de Introdução a Linguagem Go (Golang)](https://www.youtube.com/playlist?list=PLXFk6ROPeWoAvLMyJ_PPfu8oF0-N_NgEI) - [Curso Programação Golang](https://www.youtube.com/playlist?list=PLpZslZJHL2Q2hZXShelGADqCR_fcOhF9K) > Cursos para aprender Go em Espanhol - [Curso de Go (Golang)](https://www.youtube.com/playlist?list=PLt1J5u9LpM5-L-Ps8jjr91pKhFxAnxKJp) - [Aprendiendo a programar con Go](https://www.youtube.com/playlist?list=PLSAQnrUqbx7sOdjJ5Zsq5FvvYtI8Kc-C5) - [Curso Go - de 0 a 100](https://www.youtube.com/playlist?list=PLhdY0D_lA34W1wS2nJmQr-sssMDuQf-r8) - [Curso Go - CodigoFacilito](https://www.youtube.com/playlist?list=PLdKnuzc4h6gFmPLeous4S0xn0j9Ik2s3Y) - [Curso GO (Golang Español) - De 0 a 100](https://www.youtube.com/playlist?list=PLl_hIu4u7P64MEJpR3eVwQ1l_FtJq4a5g) - [Curso de Golang para principiante](https://www.youtube.com/playlist?list=PLm28buT4PAtbsurufxiw9k2asnkin4YLd) > Cursos para aprender Go em Inglês - [Golang Tutorial for Beginners | Full Go Course](https://www.youtube.com/watch?v=yyUHQIec83I&ab_channel=TechWorldwithNana) - [Learn Go Programming - Golang Tutorial for Beginners](https://www.youtube.com/watch?v=YS4e4q9oBaU&ab_channel=freeCodeCamp.org) - [Backend master class [Golang, Postgres, Docker]](https://www.youtube.com/playlist?list=PLy_6D98if3ULEtXtNSY_2qN21VCKgoQAE) - [Let's go with golang](https://www.youtube.com/playlist?list=PLRAV69dS1uWQGDQoBYMZWKjzuhCaOnBpa) - [Go Programming Language Tutorial | Golang Tutorial For Beginners | Go Language Training](https://www.youtube.com/playlist?list=PLS1QulWo1RIaRoN4vQQCYHWDuubEU8Vij) - [Golang Tutorials](https://www.youtube.com/playlist?list=PLzMcBGfZo4-mtY_SE3HuzQJzuj4VlUG0q) - [Golang course - Duomly](https://www.youtube.com/playlist?list=PLi21Ag9n6jJJ5bq77cLYpCgOaONcQNqm0) - [Golang Course - Evhenii Kozlov](https://www.youtube.com/playlist?list=PLgUAJTkYL6T_-PXWgVFGTkz863zZ_1do0) - [Golang Development](https://www.youtube.com/playlist?list=PLzUGFf4GhXBL4GHXVcMMvzgtO8-WEJIoY) - [Golang Crash Course](https://www.youtube.com/playlist?list=PL3eAkoh7fypqUQUQPn-bXtfiYT_ZSVKmB) - [Golang Course From A to Z - 5 Hours of Video](https://www.youtube.com/playlist?list=PLuMFwYAgU7ii-z4TGGqXh1cJt-Dqnk2eY) ## 🐦 Sites e cursos para aprender Ruby > Cursos para aprender Ruby em Português - [Ruby Para Iniciantes (2021 - Curso Completo Para Iniciantes)](https://www.youtube.com/playlist?list=PLnV7i1DUV_zOit4a_tEDf1_PcRd25dL7e) - [Curso completo de Ruby](https://www.youtube.com/playlist?list=PLdDT8if5attEOcQGPHLNIfnSFiJHhGDOZ) - [Curso de Ruby on Rails para Iniciantes](https://www.youtube.com/playlist?list=PLe3LRfCs4go-mkvHRMSXEOG-HDbzesyaP) - [Curso de Ruby on Rails básico](https://www.youtube.com/playlist?list=PLFeyfVYazTkJN6uM5opCfSN_xjxrMybXV) - [Programação com Ruby](https://www.youtube.com/playlist?list=PLucm8g_ezqNqMm1gdqjZzfhAMFQ9KrhFq) - [Linguagem Ruby](https://www.youtube.com/playlist?list=PLEdPHGYbHhldWUFs2Q-jSzXAv3NXh4wu0) > Cursos para aprender Ruby em Espanhol - [Curso Gratuito de Ruby en español](https://www.youtube.com/playlist?list=PL954bYq0HsCUG5_LbfZ54YltPinPSPOks) - [Ruby desde Cero](https://www.youtube.com/playlist?list=PLAzlSdU-KYwUG_5HcRVT4mr0vgLYBeFnm) - [Curso de Ruby](https://www.youtube.com/playlist?list=PLEFC2D43C36013A70) - [Curso Ruby - Codigofacilito](https://www.youtube.com/playlist?list=PLUXwpfHj_sMlkvu4T2vvAnqPSzWQsPesm) - [Curso Ruby on Rails 7 para principiantes en español](https://www.youtube.com/playlist?list=PLP06kydD_xaUS6plnsdonHa5ySbPx1PrP) - [Curso de Ruby on Rails 5](https://www.youtube.com/playlist?list=PLIddmSRJEJ0uaT5imV49pJqP8CGSqN-7E) > Cursos para aprender Ruby em Inglês - [Learn Ruby on Rails - Full Course](https://www.youtube.com/watch?v=fmyvWz5TUWg&ab_channel=freeCodeCamp.org) - [Ruby On Rails Crash Course](https://www.youtube.com/watch?v=B3Fbujmgo60&ab_channel=TraversyMedia) - [Ruby Programming Language - Full Course](https://www.youtube.com/watch?v=t_ispmWmdjY&ab_channel=freeCodeCamp.org) - [Ruby on Rails Tutorial for Beginners - Full Course](https://www.youtube.com/watch?v=-AdqKjqHQIA&ab_channel=CodeGeek) - [Learn Ruby on Rails from Scratch](https://www.youtube.com/watch?v=2zZCzcupQao&ab_channel=ProgrammingKnowledge) - [The complete ruby on rails developer course](https://www.youtube.com/watch?v=y4pKYYMdAA0&ab_channel=FullCourse) - [Ruby on Rails for Beginners](https://www.youtube.com/playlist?list=PLm8ctt9NhMNV75T9WYIrA6m9I_uw7vS56) - [Ruby on Rails Full Course](https://www.youtube.com/playlist?list=PLsikuZM13-0zOytkeVGSKk4VTTgE8x1ns) - [Full Stack Ruby on Rails Development Bootcamp](https://www.youtube.com/playlist?list=PL6SEI86zExmsdxwsyEQcFpF9DWmvttPPu) - [Let's Build: With Ruby On Rails](https://www.youtube.com/playlist?list=PL01nNIgQ4uxNkDZNMON-TrzDVNIk3cOz4) - [Ruby On Rail Full Course 2022](https://www.youtube.com/playlist?list=PLAqsB9gf_hQY6pwlIbht35wSytqezS-Sy) - [Advanced Ruby on Rails](https://www.youtube.com/playlist?list=PLPiVX6hQQRl_UN9cLxSoGKQm_RF8pw7MU) - [Ruby On Rails 2021 | Complete Course](https://www.youtube.com/playlist?list=PLeMlKtTL9SH_J-S0JA9o5gUmcW-NZSDtF) ## 💧 Sites e cursos para aprender Elixir > Cursos para aprender Elixir em Português - [Curso de Elixir básico - Adolfo Neto](https://www.youtube.com/watch?v=2weVIXHyIwI&list=PLF5ttO8F-IsT42x53iFxOhmY70AWf-nd6&index=53&ab_channel=AdolfoNeto) - [Curso de Elixir na prática - Elly Academy](https://www.youtube.com/watch?v=GXlyLSVDkhI&list=PLydk1OOOmzo8VBeU334j4R4WvSByRNpXR&ab_channel=ELLYACADEMY) - [Curso - Aprenda com quem não sabe](https://www.youtube.com/playlist?list=PLr4c053wuXU-YY4GmqUM3y_uauspsmO0O) - [Alquimia Stone - Formação Gratuita em Elixir](https://www.youtube.com/playlist?list=PLv3nyCBtlWP8I9rknIrfcJWrO05yEzknD) - [Repositórios Elixir4Noobs para iniciantes](https://github.com/aleDsz/elixir4noobs) - [Elixir School em Português - Documentação Oficial](https://elixirschool.com/pt) > Cursos para aprender Elixir em Inglês - [Elixir in 100 Seconds - Fi](https://www.youtube.com/watch?v=R7t7zca8SyM) - [Elixir Tutorial - Derek Banas](https://www.youtube.com/watch?v=pBNOavRoNL0&ab_channel=DerekBanas) - [Elixir & Phoenix Fundamentals Full Course For Beginners](https://www.youtube.com/watch?v=gRQIPvDFuts&ab_channel=Elixirprogrammer) - [From Zero to Hero in Elixir](https://www.youtube.com/playlist?list=PLaY7qWIrmqtFoZLvOvYRZG5hl367UybRp) - [Elixir Tutorial Series - Plangora](https://www.youtube.com/playlist?list=PL6gboNCsWvTcL1ypq1KUAG3ar1iRPdPxL) - [Intro to Elixir - Tensor Programming](https://www.youtube.com/playlist?list=PLJbE2Yu2zumA-p21bEQB6nsYABAO-HtF2) ## 🐷 Sites e cursos para aprender React > Cursos para aprender React em Português - [React em 1h - Componentes - Iniciantes](https://www.youtube.com/watch?v=K65wUN-2no4&ab_channel=MaykBrito) - [Aprenda React em 2 horas - Crie seu primeiro projeto em React](https://www.youtube.com/watch?v=pOVyVivyfok&ab_channel=MatheusBattisti-HoradeCodar) - [Curso de React - Matheus Battisti](https://www.youtube.com/playlist?list=PLnDvRpP8BneyVA0SZ2okm-QBojomniQVO) - [Curso de React - CFBCursos](https://www.youtube.com/playlist?list=PLx4x_zx8csUh752BVDGZkxYpY9lS40fyC) - [Curso de React com Material UI 5 e Typescript - Lucas Souza Dev](https://www.youtube.com/playlist?list=PL29TaWXah3iaqOejItvW--TaFr9NcruyQ) - [Curso de React com Typescript - Lucas Souza Dev](https://www.youtube.com/playlist?list=PL29TaWXah3iZktD5o1IHbc7JDqG_80iOm) - [Mini Curso ReactJS e Typescript - Jorge Aluizio](https://www.youtube.com/playlist?list=PLE0DHiXlN_qpm0nMlvcVxG_O580IXmeRU) - [Curso de React - João Ribeiro](https://www.youtube.com/playlist?list=PLXik_5Br-zO9YVs9bxi7zoQlKq59VPTX1) - [Mini Curso de React - Celke](https://www.youtube.com/playlist?list=PLmY5AEiqDWwDSteAR-56wL9LjHPK0mrYE) - [Curso de JavaScript para React - Marcos Bruno](https://www.youtube.com/playlist?list=PLirko8T4cEmzWZVn_ZKQbfDOuCnSZJ4va) - [Aprenda React na prática - Flipix](https://www.youtube.com/playlist?list=PLXe1Uv1JGlTbrdrcZIZOabEBSpeNeVHD7) - [Curso de React JS - Programador Espartano](https://www.youtube.com/playlist?list=PLGwqoftZstLbwYNomwVgNHtWlJitUCiAz) - [Curso de ReactJS do Amador ao Profissional](https://www.youtube.com/playlist?list=PLXik_5Br-zO_47e0Zdjog8t2z76Fhlf9M) - [Curso React + NextJS - Dev & Design](https://www.youtube.com/playlist?list=PLeBknJ2kuv1mDABV2N-H2tcu1vbfffRvg) - [Curso Intensivo de Next JS e React](https://www.cod3r.com.br/courses/curso-intensivo-next-react) - [Curso de React Native - com Hooks e Context API - Cadastro Completo](https://www.cod3r.com.br/courses/react-native-crud) > Projetos para praticar React em Português - [Crie um Quiz com React.js - Projeto de React para iniciantes](https://www.youtube.com/watch?v=HlkbeikH8cs&ab_channel=MatheusBattisti-HoradeCodar) - [Crie um Sistema de Controle de Finanças com React.JS](https://www.youtube.com/watch?v=pj4vA67olbU&ab_channel=WillDev) - [Projeto de Filmes com React & API do TMDB (React Router, React Hooks)](https://www.youtube.com/watch?v=XqxUHVVO7-U&ab_channel=MatheusBattisti-HoradeCodar) - [Criando uma Pokédex com React.JS e PokeAPI](https://www.youtube.com/watch?v=dqMae44pEVk&ab_channel=LeoUjo) - [Criando Projeto de buscar CEP do Zero com ReactJS](https://www.youtube.com/watch?v=oy4cbqE1_qc&ab_channel=Sujeitoprogramador) - [Lista de Tarefas em React com Typescript](https://www.youtube.com/watch?v=95sAtAareR8&list=PL_kvSTSEFm2CwHCtvTk0llGDvM0L2jx3O&index=3&t=2s&ab_channel=BoniekyLacerda) - [Sistema de Finanças Pessoais em React com Typescript)](https://www.youtube.com/watch?v=_hytKpMc04E&list=PL_kvSTSEFm2CwHCtvTk0llGDvM0L2jx3O&index=4&ab_channel=BoniekyLacerda) - [Galeria de Fotos em React com Typescript e Firebase](https://www.youtube.com/watch?v=ss4BXa-WfgI&list=PL_kvSTSEFm2CwHCtvTk0llGDvM0L2jx3O&index=5&ab_channel=BoniekyLacerda) - [Crie um Jogo de RPG em React](https://www.youtube.com/watch?v=smapdudo7F8&list=PL_kvSTSEFm2CwHCtvTk0llGDvM0L2jx3O&index=6&ab_channel=BoniekyLacerda) - [Formulário multi-etapas em React com Typescript](https://www.youtube.com/watch?v=W1Ed9TEMGJU&list=PL_kvSTSEFm2CwHCtvTk0llGDvM0L2jx3O&index=7&ab_channel=BoniekyLacerda) - [Clone do Netflix em React para Iniciantes](https://www.youtube.com/watch?v=tBweoUiMsDg&ab_channel=BoniekyLacerda) - [Criando uma landing page com React & Compilando](https://www.youtube.com/watch?v=xmgx9P4W21o&ab_channel=DankiCode) - [Projeto de React & SaSS para o seu portfólio - Integração de React com SaSS](https://www.youtube.com/watch?v=5h4vMtBlQQU&ab_channel=MatheusBattisti-HoradeCodar) - [Pokedex com API & React, React hooks, useState, useContext, localStorage](https://www.youtube.com/watch?v=n2kkXup2T1c&ab_channel=pasquadev) - [Landing Page: Ingresso para Marte com ReactJS e Styled Components](https://www.youtube.com/watch?v=EhnXaybirdA&ab_channel=Rocketseat) - [Sistema de Login com React.JS - (Autenticação, Context API, Hooks)](https://www.youtube.com/watch?v=LjJFu6Y6MrU&ab_channel=WillDev) - [Playlist com 153 projetos para realizar com ReactJS](https://www.youtube.com/playlist?list=PL3_3koQ96v-43eOIX4WojSoYv-hKNES5b) - [Playlist com 7 projetos para realizar om ReactJS](https://www.youtube.com/playlist?list=PL3-lIzXmBDZSOn8gwFezet2bYphKwzEbq) - [Playlist com 56 projetos utilizando ReactJS e NodeJS](https://www.youtube.com/playlist?list=PL3_3koQ96v-6TE20IvdBDrntFcYjwHggb) - [Playlist com 9 projetos para realizar om ReactJS](https://www.youtube.com/playlist?list=PLM_Zgiu-XicusQmIprOkC6cRba3l_uwB7) - [Playlist de desenvolvimento web com 1.050 vídeos](https://www.youtube.com/playlist?list=PL45i6mPs-neh9PGc1gHkJUj3GQt4mI5fx) > Cursos para aprender React em Inglês - [React Course - Beginner's Tutorial for React JavaScript Library [2022]](https://www.youtube.com/watch?v=bMknfKXIFA8&ab_channel=freeCodeCamp.org) - [React Course For Beginners - Learn React in 8 Hours](https://www.youtube.com/watch?v=f55qeKGgB_M&ab_channel=PedroTech) - [Full React Course 2020 - Learn Fundamentals, Hooks, Context API, React Router, Custom Hooks](https://www.youtube.com/watch?v=4UZrsTqkcW4&ab_channel=freeCodeCamp.org) - [Learn React In 30 Minutes](https://www.youtube.com/watch?v=hQAHSlTtcmY&ab_channel=WebDevSimplified) - [React JavaScript Framework for Beginners – Project-Based Course](https://www.youtube.com/watch?v=u6gSSpfsoOQ&ab_channel=freeCodeCamp.org) - [React Crash Course for Beginners 2021 - Learn ReactJS from Scratch in this 100% Free Tutorial!](https://www.youtube.com/watch?v=Dorf8i6lCuk&ab_channel=Academind) - [React JS Full Course for Beginners | Complete All-in-One Tutorial | 9 Hours](https://www.youtube.com/watch?v=RVFAyFWO4go&ab_channel=DaveGray) - [Learn React by Building an eCommerce Site - Tutorial](https://www.youtube.com/watch?v=1DklrGoAxDE&ab_channel=freeCodeCamp.org) - [MERN Stack Full Tutorial & Project | Complete All-in-One Course | 8 Hours](https://www.youtube.com/watch?v=CvCiNeLnZ00&ab_channel=DaveGray) - [React JS Course for Beginners - 2021 Tutorial](https://www.youtube.com/watch?v=nTeuhbP7wdE&ab_channel=freeCodeCamp.org) - [React JS - React Tutorial for Beginners](https://www.youtube.com/watch?v=Ke90Tje7VS0&ab_channel=ProgrammingwithMosh) - [React JS Full Course 2022 | Build an App and Master React in 1 Hour](https://www.youtube.com/watch?v=b9eMGE7QtTk&ab_channel=JavaScriptMastery) - [React JS Crash Course](https://www.youtube.com/watch?v=w7ejDZ8SWv8&ab_channel=TraversyMedia) - [React 18 Fundamentals Crash Course 2022](https://www.youtube.com/watch?v=jLS0TkAHvRg&ab_channel=Codevolution) > Projetos para praticar React em Inglês - [Modern React Web Development Full Course - 12 Hours | 4 Real Industry Web Applications](https://www.youtube.com/watch?v=XxXyfkrP298&ab_channel=JavaScriptMastery) - [Full Stack React & Firebase Tutorial - Build a social media app](https://www.youtube.com/watch?v=m_u6P5k0vP0&ab_channel=freeCodeCamp.org) - [React Project Tutorial: Build a Responsive Portfolio Website w/ Advanced Animations (2022)](https://www.youtube.com/watch?v=hYv6BM2fWd8&t=11s&ab_channel=webdecoded) - [ReactJS Full Course in 7 Hours | Learn React js | React.js Training | Edureka](https://www.youtube.com/watch?v=VyeA0tVreYw&ab_channel=edureka%21) - [Code 15 React Projects - Complete Course](https://www.youtube.com/watch?v=a_7Z7C_JCyo&ab_channel=freeCodeCamp.org) - [Build and Deploy a Fully Responsive Website with Modern UI/UX in React JS with Tailwind](https://www.youtube.com/watch?v=_oO4Qi5aVZs&ab_channel=JavaScriptMastery) - [Build and Deploy 4 Modern React Apps and Get Hired as a Frontend Developer | Full 10-Hour Course](https://www.youtube.com/watch?v=F627pKNUCVQ&ab_channel=JavaScriptMastery) - [React JavaScript Framework for Beginners – Project-Based Course](https://www.youtube.com/watch?v=u6gSSpfsoOQ&ab_channel=freeCodeCamp.org) - [Master React JS by Building Real Projects](https://www.youtube.com/playlist?list=PL6QREj8te1P6wX9m5KnicnDVEucbOPsqR) - [Playlist for React Projects with 38 videos](https://www.youtube.com/playlist?list=PLillGF-RfqbY3c2r0htQyVbDJJoBFE6Rb) - [Playlist for React Projects with 36 videos](https://www.youtube.com/playlist?list=PLgMICEduGwEzy6jqbR_yciKiGDsto74Dq) - [React.js Real-World Projects](https://www.youtube.com/playlist?list=PLj-4DlPRT48nfYgDK00oTjlDF4O0ZZyG8) - [Playlist for React Projects with 7 vídeos](https://www.youtube.com/playlist?list=PLnHJACx3NwAe5XQDk9xLgym7FF8Q4FYW7) - [Playlist for React Projects with 24 vídeos](https://www.youtube.com/playlist?list=PLJT9n0q3md18xl4PWqzqNFUEp9DbBmogZ) - [Playlist for React Projects with 144 vídeos](https://www.youtube.com/playlist?list=PLUOLi8YAwJIKq-FjGssUJQPUNhalEfPhw) - [Build App Clones with ReactJS](https://www.youtube.com/playlist?list=PL-J2q3Ga50oMQa1JdSJxYoZELwOJAXExP) - [Real World React Project](https://www.youtube.com/playlist?list=PLOf4R-b03O-BRCXzW0Rw-jVaxZc_6vyK-) - [Playlist for React Projects with 11 vídeos](https://www.youtube.com/playlist?list=PL_pNGipveQXxpO0_h2sR28OlZvUVgf4oG) - [50 Days React Bootcamp: Build 50 Real World React Projects](https://www.youtube.com/playlist?list=PLllZK1evlMnbrMyrNQKYp1Gz5m0C3BOHk) - [Playlist for React Projects with 58 vídeos](https://www.youtube.com/playlist?list=PLZlA0Gpn_vH_NT5zPVp18nGe_W9LqBDQK) - [ReactJS Projects - Resume / Portfolio Projects](https://www.youtube.com/playlist?list=PLpPqplz6dKxVEqex8RMhgZUUe5_Sc6QHa) - [React Projects Tutorial](https://www.youtube.com/playlist?list=PLfhDYRr-FofnXgQ3ZDfepp1RsqkoqzByF) - [React Tutorials - freeCodeCamp](https://www.youtube.com/playlist?list=PLWKjhJtqVAbkArDMazoARtNz1aMwNWmvC) - [React Projects - Anton Francis Jeejo](https://www.youtube.com/playlist?list=PL5mydh8SndyO_5BML4bVF-8MqsT4UB_1t) - [React projects for beginners](https://www.youtube.com/playlist?list=PLnkPjO1byC1RFZhsfK8gVXc-h1yAERU1Y) - [Playlist for React Projects with 29 vídeos](https://www.youtube.com/playlist?list=PLq0uXZmWD-gHwBedf35I7toeJV13q0bG1) - [Playlist for React Projects with 7 vídeos](https://www.youtube.com/playlist?list=PLaIfT4YsrqUlYkdwsMAcQD0mDMayvB8oX) - [React JS Project from Scratch: Build a Stock Market Tracker](https://www.youtube.com/playlist?list=PLjItgYqIzJ9VOBgwZ82D9kjQ_QtM5R4u5) - [Django & React - Full Stack Web App Tutorial](https://www.youtube.com/playlist?list=PLzMcBGfZo4-kCLWnGmK0jUBmGLaJxvi4j) - [Playlist for React Projects with 7 vídeos](https://www.youtube.com/playlist?list=PLm9bqPO7o3xIkDgiolXDqwnheh9L5gOrw) - [ReactJS Projects | React Mini Major Projects](https://www.youtube.com/playlist?list=PLuHGmgpyHfRyiYUqrNG4YgWoN8mbHXR3O) - [Learn React by Building Projects](https://www.youtube.com/playlist?list=PLnWpTZacz3CyT6IWQZKZHVGQmPHo06rk8) - [React Front-end Projects](https://www.youtube.com/playlist?list=PLgK2z6KmUpgmwHjuDcUobN5Tgrf2Dscga) - [Playlist for React Projects with 11 vídeos](https://www.youtube.com/playlist?list=PLiYjd-0q4LFuyIgOg1gQkT5NWJ9jgsUoV) - [Playlist for React Projects with 24 vídeos](https://www.youtube.com/playlist?list=PLMi5Xiz5oefH_j0enBdkKoSMi6XNbhvCt) - [Complete React | React Playlist with tutorials and interesting](https://www.youtube.com/playlist?list=PLbrmfsRwQoPy2ZXsUbeX9eGsY9C7eiJeo) - [React Real Time Project](https://www.youtube.com/playlist?list=PLvfbtJ-xXlM7syBwPebciH4KN_R8hRY9v) - [React Portfolio Website Tutorial From Scratch - Build & Deploy React JS Portfolio Website](https://www.youtube.com/watch?v=G-Cr00UYokU&ab_channel=EGATOR) - [React Project Tutorial – Build a Portfolio Website w/ Advanced Animations](https://www.youtube.com/watch?v=bmpI252DmiI&ab_channel=freeCodeCamp.org) - [Strapi Tutorial (with React & GraphQL)](https://www.youtube.com/playlist?list=PL4cUxeGkcC9h6OY8_8Oq6JerWqsKdAPxn) - [ReactJS Project From Scratch - Blog Project](https://www.youtube.com/playlist?list=PLB_Wd4-5SGAaFKhu_XXQlCpWmP1rjgIz5) - [Movies App - React Project](https://www.youtube.com/watch?v=sZ0bZGfg_m4&ab_channel=FlorinPop) - [Job Listing App - ReactJS and TailwindCSS Tutorial](https://www.youtube.com/watch?v=JZQ8m08cbF0&ab_channel=FlorinPop) ## 🐼 Sites e cursos para aprender React Native > Cursos para aprender React Native em Português - [Curso de React Native - CFBCursos](https://www.youtube.com/playlist?list=PLx4x_zx8csUgyDN7j9L7gykBjxByM_etD) - [Curso de React Native - Rocketseat](https://www.youtube.com/playlist?list=PL85ITvJ7FLojBfY7TifCq7P417AZdsP4k) - [Curso de React Native - Canal Geek Dev](https://www.youtube.com/playlist?list=PL8fIRnD1uUSnRqz3E2caAWDqbtIFXmNtW) - [Curso de React Native - Webdesign em Foco](https://www.youtube.com/playlist?list=PLbnAsJ6zlidsqILBeTaeUr7aaWcqAtMrW) - [Curso de React Native - Caio Malheiros](https://www.youtube.com/playlist?list=PL69eBMqNvxhVer10WY3nxgV0qiO8xenOP) - [Curso de React Native - Sujeito programador](https://www.youtube.com/playlist?list=PLAF5G8rnMmBb2XMMfo79GWnsFvuDuLHA7) - [Curso de React Native - Developer Plus](https://www.youtube.com/playlist?list=PLxF2lyHGcERApnjQPgeeEIzJJdGurraMW) - [Curso de React Native - Programador BR](https://www.youtube.com/playlist?list=PLVzrOYTg7zYD__qifpofsQDhHVHEvSx_h) - [Playlist com vídeos de React Native - Renan H.](https://www.youtube.com/playlist?list=PLB5l-YuqoyEFATE6Ax6WXB0P4AGjRDljr) - [Curso de React Native - APP IOS e Android](https://www.youtube.com/playlist?list=PLxNM4ef1Bpxhe_PxwprF0R2fp0UurDZuw) - [Curso de React com MySQL - React Native](https://www.youtube.com/playlist?list=PLxNM4ef1BpxgALv5Vm-ooZo8qYRgCzKSV) - [Curso de React Native - Eduardo Marques](https://www.youtube.com/playlist?list=PLvVYUfc9tf-JMETwebyYaA4vk3YoXlWAM) - [Playlist de vídeos sobre React Native](https://www.youtube.com/playlist?list=PLEk7yXd40KELpioDsnXbGu45nhx9xTbiL) - [Programação para Dispositivos Móveis 2020.1 - React Native](https://www.youtube.com/playlist?list=PLd4Jo6d-yhDIOgnG4EueCh2ADbMCJyJoX) - [Curso de React Native - Paulo Araujo](https://www.youtube.com/playlist?list=PL9Fgd5f5dgGIjrHsbqQNFUsgo7uQRIAdj) - [React Native do Zero - Stack Mobile](https://www.youtube.com/playlist?list=PLizN3WA8HR1wRbFttKXDdc_yQ5CWj2msJ) - [Curso de React Native - Jorge Jardim](https://www.youtube.com/playlist?list=PLvmEIQBREIvS_gS6BX5Tk1z61i85BZF7E) - [Curso de React Native - Marcelo Anselmo](https://www.youtube.com/playlist?list=PLBWrrrRI1gZBbmG43QE1hYOsqu5QXjilT) - [Desenvolvimento de App com React Native e NestJS](https://www.youtube.com/playlist?list=PLTLAlheiUm5G6yzSN0KTBbZwZS8xVKYxI) > Projetos para praticar React Native em Português - [Netflix Clone - Utilizando React Native](https://www.youtube.com/playlist?list=PL_Axpn7FrXHSt92vK3EthJCId4mUn7viv) - [Programando um Aplicativo em React Native do Zero](https://www.youtube.com/playlist?list=PL4zG19BCs4pdPJzElbUxCykHTClU-B0Ts) - [Playlist com projetos em React Native- Arthur Duarte](https://www.youtube.com/playlist?list=PLH7791M3Es82ztdPxpeLZXmfBG4tAJloH) - [Playlist com projetos em React Native - Hebert Alquimin](https://www.youtube.com/playlist?list=PLg1BUBhZiTHNYFDZUYplk9m0D1hF_tr3j) > Cursos para aprender React Native em Inglês - [React Native Tutorial for Beginners - Crash Course 2020](https://www.youtube.com/watch?v=qSRrxpdMpVc&ab_channel=Academind) - [The Complete React Native Course 2021 : from Zero to Hero](https://www.youtube.com/watch?v=ANdSdIlgsEw&ab_channel=ProgrammingwithMash) - [React Native Crash Course | Build a Complete App](https://www.youtube.com/watch?v=VozPNrt-LfE&ab_channel=Academind) - [React Native Crash Course for Beginners - Build 4 Apps in 14 Hours (Redux, Tailwind + More)](https://www.youtube.com/watch?v=AkEnidfZnCU&ab_channel=SonnySangha) - [React Native Tutorial for Beginners](https://www.youtube.com/playlist?list=PL4cUxeGkcC9ixPU-QkScoRBVxtPPzVjrQ) - [React Native Fashion](https://www.youtube.com/playlist?list=PLkOyNuxGl9jyhndcnbFcgNM81fZak7Rbw) - [React Native Tutorial - 2021](https://www.youtube.com/playlist?list=PL8kfZyp--gEXs4YsSLtB3KqDtdOFHMjWZ) - [Let's Code React Native](https://www.youtube.com/playlist?list=PLcDaXGnNU58bmEbkYNUHsrLMF6a_AqjF9) - [React Native UI's](https://www.youtube.com/playlist?list=PL6sXCB6Pgqf9RbLaxmiSQQXp-a0_j56xe) - [React Native EU 2020 - Virtual Edition](https://www.youtube.com/playlist?list=PLZ3MwD-soTTEGG42-BvoqD0qK0vKV2ygm) - [React Native Tutorial - Styling](https://www.youtube.com/playlist?list=PL0CFwZ06NyfKR1x7aYBXBwplNMwa2CMFX) - [React Native - Computer Science Tutorial](https://www.youtube.com/playlist?list=PLA_u3gtc5zsyEgLaTLY7clKiM2IRU4ndI) > Projetos para praticar React Native em Inglês - [Tutoriais React/React Native](https://www.youtube.com/playlist?list=PLntXnq2Zot_04VH1IFSZwJspOfKquAyKq) - [React Native Animation Tutorials](https://www.youtube.com/playlist?list=PLYxzS__5yYQmdfEyKDrlG5E0F0u7_iIUo) - [React Native Music Player](https://www.youtube.com/playlist?list=PLaAoUJDWH9Wqatfwa4SEfyFevrl8QefcN) - [React Native Tutorials](https://www.youtube.com/playlist?list=PLQWFhX-gwJblNXe9Fj0WomT0aWKqoDQ-h) - [React Native Crud](https://www.youtube.com/playlist?list=PLLEQmYfSF6FQCrSxRuq-4OCYx8wE67yfV) - [React Native Tutorial for Beginners - Build a React Native App](https://www.youtube.com/watch?v=0-S5a0eXPoc&ab_channel=ProgrammingwithMosh) ## 🐯 Sites e cursos para aprender Angular > Cursos para aprender Angular em Português - [Curso de Angular - Matheus Battisti - Hora de Codar](https://www.youtube.com/playlist?list=PLnDvRpP8Bnex2GQEN0768_AxZg_RaIGmw) - [Curso de Angular - Loiane Groner](https://www.youtube.com/playlist?list=PLGxZ4Rq3BOBoSRcKWEdQACbUCNWLczg2G) - [Curso Angular 9 - Cod3r Cursos](https://www.youtube.com/playlist?list=PLdPPE0hUkt0rPyAkdhHIIquKbwrGUkvw3) - [Curso Angular 9 - Michelli Brito](https://www.youtube.com/playlist?list=PL8iIphQOyG-DSLV6qWs8wh37o0R_F9Q_Q) - [Curso Começando com Angular](https://www.youtube.com/playlist?list=PLHlHvK2lnJneQPfbOvUait1MtAoXeYhtL) - [Curso Angular v13 - Tour of Heroes](https://www.youtube.com/playlist?list=PLqsayW8DhUmvtNlkDqYj99X73ts9FLK7j) - [Curso Angular para Iniciantes](https://www.youtube.com/playlist?list=PLWgD0gfm500Fhx8xSutDtEu8Q2hKTQpB9) - [Curso de Angular - Rodrigo Branas](https://www.youtube.com/playlist?list=PLQCmSnNFVYnTD5p2fR4EXmtlR6jQJMbPb) - [Aplicação com Angular 12+: Como desenvolver uma pokedex](https://www.youtube.com/watch?v=UhOcUII_5PU&ab_channel=VidaFullStack) - [Angular (O Vídeo que Você Precisava para Começar no Framework) - Dicionário do Programador](https://www.youtube.com/watch?v=Yf0rC7dERjg&ab_channel=C%C3%B3digoFonteTV) > Cursos para aprender Angular em Inglês - [Angular for Beginners Course - Full Front End Tutorial with TypeScript](https://www.youtube.com/watch?v=3qBXWUpoPHo&ab_channel=freeCodeCamp.org) - [Complete Angular 13 Course Step by Step](https://www.youtube.com/playlist?list=PL1BztTYDF-QNrtkvjkT6Wjc8es7QB4Gty) - [Angular - Complete Course Guide](https://www.youtube.com/playlist?list=PL_euSNU_eLbeAJxvVdJn5lhPWX9IWHhxs) - [Angular Tutorial For Beginners](https://www.youtube.com/playlist?list=PLC3y8-rFHvwhBRAgFinJR8KHIrCdTkZcZ) - [Angular Crash Course](https://www.youtube.com/watch?v=3dHNOWTI7H8&ab_channel=TraversyMedia) - [Angular Tutorials](https://www.youtube.com/playlist?list=PLWKjhJtqVAblNvGKk6aQVPAJHxrRXxHTs) - [Angular Tutorial For Beginners 2022](https://www.youtube.com/playlist?list=PL82C6-O4XrHdf0LMDVl1Y-4_BFbNmdrGc) - [Complete TypeScript + Angular Tutorial by Sandeep Soni - Angular Full Course](https://www.youtube.com/playlist?list=PLo80fWiInSIOTOeS3TRCk0_pCYVKbWDBG) - [Angular Tutorial for Beginners: Learn Angular & TypeScript](https://www.youtube.com/watch?v=k5E2AVpwsko&ab_channel=ProgrammingwithMosh) - [Angular 14 full course 2022 for beginner](https://www.youtube.com/watch?v=IYI0em-xT28&ab_channel=Bitfumes) - [Angular Tutorial for Beginners - Web Framework with Typescript Course](https://www.youtube.com/watch?v=AAu8bjj6-UI&ab_channel=freeCodeCamp.org) - [The Ultimate Angular and Nodejs Tutorial For Beginners 2022](https://www.youtube.com/watch?v=NFh9WEH0Zi4&ab_channel=CodeWithNasir) - [Angular 11 Tutorial - Code a Project from Scratch](https://www.youtube.com/watch?v=LiOzTQAz13Q&ab_channel=freeCodeCamp.org) - [Cafe Management System - Angular, Node.js, MySQL Database Complete Project step by step](https://www.youtube.com/watch?v=SqSN6sqbdMQ&ab_channel=BTechDays) - [Spring Boot and Angular Tutorial - Build a Reddit Clone Coding Project](https://www.youtube.com/watch?v=DKlTBBuc32c&ab_channel=freeCodeCamp.org) - [The Modern Angular Crash Course - 2022](https://www.youtube.com/watch?v=WHv1YQUg6ow&ab_channel=LaithAcademy) - [Angular Full Course - Learn Angular in 6 Hours | Angular Tutorial For Beginners | Edureka](https://www.youtube.com/watch?v=Ati-oip_HcU&ab_channel=edureka%21) - [Angular for Beginners - Let's build a Tic-Tac-Toe PWA](https://www.youtube.com/watch?v=G0bBLvWXBvc&ab_channel=Fireship) - [Learn Angular - Full Tutorial Course](https://www.youtube.com/watch?v=2OHbjep_WjQ&ab_channel=freeCodeCamp.org) - [AngularJS Tutorial for Beginners Full Cours)](https://www.youtube.com/watch?v=9b9pLgaSQuI&ab_channel=MyLesson) - [Angular 14 Full Course with real time example 2022 - Angular crud + authentication + Material UI](https://www.youtube.com/watch?v=rZCQiMdQsxE&ab_channel=NihiraTechiees) - [Spring Boot and Angular Full Stack Development | 4 Hour Course](https://www.youtube.com/watch?v=8ZPsZBcue50&ab_channel=Amigoscode) - [Angular Full Course - Learn Angular In 3 Hours | Angular Tutorial For Beginners | Simplilearn](https://www.youtube.com/watch?v=iZ1mlcCkY8A&ab_channel=Simplilearn) - [Angular Crash Course for beginners](https://www.youtube.com/watch?v=T_Fe4IaG0KU&ab_channel=HiteshChoudhary) - [Full Angular Course](https://www.youtube.com/playlist?list=PLjsBk8SIQEi-RqkglLcn19TaeeopcuDXV) - [Build a Webshop – Angular, Node.js, TypeScript, Stripe](https://www.youtube.com/watch?v=Kbauf9IgsC4&ab_channel=freeCodeCamp.org) - [Spring Boot Full Stack with Angular | Full Course 2021 ](https://www.youtube.com/watch?v=Gx4iBLKLVHk&ab_channel=Amigoscode) ## 🐞 Sites e cursos para aprender Vue > Cursos para aprender Vue em Português - [Curso de Vue - Matheus Battisti - Hora de Codar](https://www.youtube.com/playlist?list=PLnDvRpP8BnezDglaAvtWgQXzsOmXUuRHL) - [Curso gratuito Vue.js 3 INTRO](https://www.youtube.com/playlist?list=PLcoYAcR89n-qTYqfWTGxXMnAvCqY3JF8w) - [Curso Gratuito de Vue 3](https://www.youtube.com/playlist?list=PLVSNL1PHDWvRbZsrcQ249Ae5MoKrlBTdd) - [Vue.js do jeito ninja](https://www.youtube.com/playlist?list=PLcoYAcR89n-qq1vGRbaUiV6Q9puy0qigW) - [Vue JS - Curso Completo](https://www.youtube.com/playlist?list=PLWNaqtzH6CWR-dykXeDD5XmMzJur9JBIh) - [VueJS - Curso de Iniciação](https://www.youtube.com/playlist?list=PLXik_5Br-zO_xQHAH9GrNR1gAefYWaKxz) - [VueJS em 1 hora! (Teoria e prática)](https://www.youtube.com/watch?v=cSa-SMVMGsE&ab_channel=AyrtonTeshima-ProgramadoraBordo) - [Curso Vue 3, Quasar e Supabase](https://www.youtube.com/playlist?list=PLBjvYfV_TvwIfgvouZCaLtgjYdrWQL02d) - [Curso de Vue.js & Vuetify - Lista de tarefas vue-todo](https://www.youtube.com/playlist?list=PLygIEirBzJi6qaDltMN44zyVHjbqUa4e-) - [Curso de Vuejs 2 - Completo](https://www.youtube.com/playlist?list=PLWhiA_CuQkbDxptXchXrYuGZnhlwnJgOF) > Cursos para aprender Vue em Inglês - [Vue.js Course for Beginners - 2021 Tutorial](https://www.youtube.com/watch?v=FXpIoQ_rT_c&ab_channel=freeCodeCamp.org) - [Vue JS Crash Course](https://www.youtube.com/watch?v=qZXt1Aom3Cs&ab_channel=TraversyMedia) - [Vue 3 Tutorial - Full Course 10 Hours 10 apps](https://www.youtube.com/watch?v=e-E0UB-YDRk&ab_channel=Bitfumes) - [The best way to learn Vue.js in 2022 - CRASH COURSE](https://www.youtube.com/watch?v=bzlFvd0b65c&ab_channel=VueMastery) - [Vue 3 Tutorial for Beginners - FULL COURSE in 3 Hours](https://www.youtube.com/watch?v=ZqgiuPt5QZo&ab_channel=TheEarthIsSquare) - [VUE JS 3 Complete Course Tutorial](https://www.youtube.com/playlist?list=PL_euSNU_eLbedoBv-RllKj_f2Yh--91nZ) - [The Ultimate Vue 3 Tutorial (100% Composition API)](https://www.youtube.com/watch?v=I_xLMmNeLDY&ab_channel=LaithAcademy) - [VUE JS CRUD | VUE JS Contacts Manager | VUE JS Tutorial | 2022](https://www.youtube.com/watch?v=_5Tw_oI9kKg&ab_channel=UiBrainsTechnologies) - [Vue.js Explained in 100 Seconds](https://www.youtube.com/watch?v=nhBVL41-_Cw&ab_channel=Fireship) ## 🦂 Sites e cursos para aprender Svelte > Cursos para aprender Svelte em Português - [Curso Intensivo de Svelte](https://www.cod3r.com.br/courses/svelte-intensivo) - [Curso Intensivo de Svelte - Aprenda SvelteJS em 1 Vídeo](https://www.youtube.com/watch?v=SVNTizLyuvo&ab_channel=Cod3rCursos) - [Como trabalhar com Framework Svelte? Com Mario Souto](https://www.youtube.com/watch?v=1F7r0G0hFcE&ab_channel=AluraCursosOnline) > Cursos para aprender Svelte em Inglês - [Svelte Tutorial for Beginners](https://www.youtube.com/playlist?list=PL4cUxeGkcC9hlbrVO_2QFVqVPhlZmz7tO) - [Learn Svelte – Full Course for Beginners](https://www.youtube.com/watch?v=UGBJHYpHPvA&ab_channel=freeCodeCamp.org) - [Svelte Tutorial for Beginners](https://www.youtube.com/playlist?list=PLC3y8-rFHvwiYZOsc2D8AO1MYwLjZQrKx) - [SvelteKit Tutorial (Crash Course)](https://www.youtube.com/playlist?list=PL4cUxeGkcC9hpM9ARM59Ve3jqcb54dqiP) - [Svelte Complete Course | 2022 | Tutorials](https://www.youtube.com/watch?v=cGQo_iNJaQ4&ab_channel=RDHCode) - [Svelte full course 2022 for beginner](https://www.youtube.com/watch?v=AilOdkZGeOk&ab_channel=Bitfumes) - [Svelte Complete Tutorials from basics to advance Course](https://www.youtube.com/playlist?list=PLKf7GYNMvJ1NInsRQqGmKL233dlAQtWwO) - [Learn the Svelte JavaScript Framework - Full Course](https://www.youtube.com/watch?v=ujbE0mzX-CU&ab_channel=freeCodeCamp.org) - [Svelte Tutorial - Is it better than React?](https://www.youtube.com/watch?v=vhGiGqZ78Rs&ab_channel=freeCodeCamp.org) - [Brand NEW APP Marathon! LIVE Coding & Chill with SvelteKit](https://www.youtube.com/watch?v=wrADp40o1YY&ab_channel=JohnnyMagrippis) - [Let's try SvelteKit](https://www.youtube.com/watch?v=60e9Cs9lMhg&ab_channel=SimonGrimm) - [Sveltejs 3 Basics Complete Crash Course Tutorials](https://www.youtube.com/watch?v=Ub5veQTl-ik&ab_channel=RDHCode) - [Svelte Crash Course for Beginners](https://www.youtube.com/watch?v=0I_B6o2RX5A&ab_channel=EvanDoesTech) - [Svelte 3 Reaction & QuickStart Tutorial](https://www.youtube.com/watch?v=043h4ugAj4c&ab_channel=Fireship) - [Svelte Crash Course](https://www.youtube.com/watch?v=uK2RnIzrQ0M&ab_channel=TraversyMedia) - [Svelte Course | Learn from scratch](https://www.youtube.com/watch?v=-9V6AsahNFE&ab_channel=AnotherSapiens) ## 🦞 Sites e cursos para aprender Flutter > Cursos para aprender Flutter em Português - [Curso COMPLETO de Flutter](https://www.youtube.com/playlist?list=PLlBnICoI-g-d-J57QIz6Tx5xtUDGQdBFB) - [Flutter Curso 2022](https://www.youtube.com/playlist?list=PLlBnICoI-g-fuy5jZiCufhFip1BlBswI7) - [Flutter e Dart - Curso](https://www.youtube.com/playlist?list=PLqdwHeoSjEN-9aGd-RxaS_2cyD_AKT0c_) - [Curso de FLUTTER 2022](https://www.youtube.com/playlist?list=PL5EmR7zuTn_Yu_YV2pT0h0843vRGiTMtx) - [Curso Flutter](https://www.youtube.com/playlist?list=PLg5-aZqPjMmBmCIgUZ0kNtoE7KJfvJZXS) - [Curso Flutter Básico [NV1] - 2022](https://www.youtube.com/playlist?list=PLRpTFz5_57cvo0CHf-AnojOvpznz8YO7S) - [Curso de FLUTTER e DART](https://www.youtube.com/playlist?list=PL5EmR7zuTn_aX0pG4oWTyKKQT25Hkq2XG) - [A Primeira Aula de Flutter Que Todo Mundo Deveria Ter](https://www.youtube.com/watch?v=J4BVaXkwmM8&ab_channel=FilipeDeschamps) - [Curso Flutter - Projeto COMPLETO Passo a Passo [Campo Minado]](https://www.youtube.com/watch?v=i3w3Wnouowo&ab_channel=Cod3rCursos) - [Education App UI Design in Flutter - Flutter UI Design Tutorial](https://www.youtube.com/watch?v=ucwBcTgxyME&ab_channel=DearProgrammer) - [Live Coding | Desenvolva um aplicativo em Flutter!](https://www.youtube.com/watch?v=j8Swzym_EEc&ab_channel=AluraCursosOnline) - [Flutter: Configurando cores dinâmicas | #AluraMais](https://www.youtube.com/watch?v=gI4-vj0WpKM&ab_channel=AluraCursosOnline) - [Curso de Flutter: Criando seu primeiro App grátis](https://www.youtube.com/playlist?list=PLHlHvK2lnJndhgbqLl5DNEvKQg5F4ZenQ) - [Curso Flutter Avançado - 2022](https://www.youtube.com/playlist?list=PLRpTFz5_57cufduUDgiZZqA_k5Q7UV_50) - [Curso de Programação com Dart - 2022](https://www.youtube.com/playlist?list=PLRpTFz5_57cseSiszvssXO7HKVzOsrI77) - [Flutter e MobX: Desenvolva uma Aplicação Completa - Masterclass 2021](https://www.youtube.com/watch?v=LeRjIY4n2Vk&ab_channel=Cod3rCursos) > Cursos para aprender Flutter em Inglês - [Flutter Course for Beginners – 37-hour Cross Platform App Development Tutorial](https://www.youtube.com/watch?v=VPvVD8t02U8&ab_channel=freeCodeCamp.org) - [Free Flutter Course](https://www.youtube.com/playlist?list=PL6yRaaP0WPkVtoeNIGqILtRAgd3h2CNpT) - [Flutter bootcamp 2022 || Flutter Complete course for beginners to advanced level](https://www.youtube.com/playlist?list=PLFyjjoCMAPtxq8V9fuVmgsYKLNIKqSEV4) - [Flutter Tutorial for Beginners](https://www.youtube.com/playlist?list=PL4cUxeGkcC9jLYyp2Aoh6hcWuxFDX6PBJ) - [Flutter Crash Course for Beginners 2021 - Build a Flutter App with Google's Flutter & Dart](https://www.youtube.com/watch?v=x0uinJvhNxI&ab_channel=Academind) - [Flutter Firebase & DDD](https://www.youtube.com/playlist?list=PLB6lc7nQ1n4iS5p-IezFFgqP6YvAJy84U) - [Flutter State Management Course](https://www.youtube.com/playlist?list=PL6yRaaP0WPkUf-ff1OX99DVSL1cynLHxO) - [Flutter and Firebase Course](https://www.youtube.com/playlist?list=PL78sHffDjI77iyUND7TrUOXud9NSf0eCr) - [Full Stack Flutter Development](https://www.youtube.com/playlist?list=PLFhJomvoCKC-HHwfZzIy2Mv59Uen88rqB) - [Flutter UI Tutorial - UI Design Best Practices](https://www.youtube.com/playlist?list=PLjOFHn8uDrvQDUiY57tQN39wI_NAey8x1) - [Flutter Tutorial for Beginners | Flutter App Development Course](https://www.youtube.com/playlist?list=PLS1QulWo1RIa5W8F_XInRJrZLwkLY39oK) - [Flutter Tutorial For Beginners in 3 Hours](https://www.youtube.com/watch?v=CD1Y2DmL5JM&ab_channel=FlutterMapp) - [Flutter Tutorial For Beginners In 1 Hour - 2022](https://www.youtube.com/watch?v=C-fKAzdTrLU&ab_channel=FlutterMapp) - [Flutter Course – Build Full Stack Google Docs Clone](https://www.youtube.com/watch?v=F6P0hve2clE&ab_channel=freeCodeCamp.org) - [Flutter 3.0 & Rest API crash course, build a store app](https://www.youtube.com/watch?v=YAoYJfitObA&ab_channel=CodingwithHadi) - [Flutter Essentials - Learn to make apps for Android, iOS, Windows, Mac, Linux (Full Course)](https://www.youtube.com/watch?v=P2IGQT3BZQo&ab_channel=freeCodeCamp.org) - [Dart Programming Tutorial - Full Course](https://www.youtube.com/watch?v=Ej_Pcr4uC2Q&ab_channel=freeCodeCamp.org) - [Flutter Mobile App + Node.js Back End Tutorial – Code an Amazon Clone [Full Course]](https://www.youtube.com/watch?v=ylJz7N-dv1E&ab_channel=freeCodeCamp.org) ## 🐹 Sites e cursos para aprender jQuery > Cursos para aprender jQuery em Português - [Curso JQUERY BÁSICO](https://www.youtube.com/playlist?list=PLIZ0d6lKIbVpF5DffKAX5e9L119PleIqg) - [Curso de JQuery (Universidade XTI)](https://www.youtube.com/playlist?list=PLxQNfKs8YwvGOv4evjpsB3JWWZnYChp04) - [Curso JQuery 2019 - Aprende a usar JQuery do zero](https://www.youtube.com/playlist?list=PLtLYd79f_qX9uufvXcgMrG6XVyc0VHlMp) - [Curso jQuery - código facilito](https://www.youtube.com/playlist?list=PLTE0X123tz-yxigJHnmuEgqWeVMI7YI-W) - [Curso de jQuery](https://www.youtube.com/playlist?list=PLu_qC9Zc8vNwlFP_1hSOXN2906iN_tvBL) > Cursos para aprender jQuery em Inglês - [jQuery Full Course 2022 | jQuery Tutorial For Beginners | jQuery Tutorial | Simplilearn](https://www.youtube.com/watch?v=Rkvn_MA04fo&ab_channel=Simplilearn) - [Learn jQuery for Beginners - Full Course](https://www.youtube.com/watch?v=ScoURsEM_yU&ab_channel=TechZ) - [jQuery - Beau teaches JavaScript](https://www.youtube.com/playlist?list=PLWKjhJtqVAbkyK9woUZUtunToLtNGoQHB) - [jQuery Tutorial for Beginners](https://www.youtube.com/playlist?list=PLoYCgNOIyGABdI2V8I_SWo22tFpgh2s6_) - [jQuery Tutorial | jQuery Tutorial For Beginners | jQuery | jQuery full course | Simplilearn](https://www.youtube.com/watch?v=QhQ4m5g2fhA&ab_channel=Simplilearn) - [jQuery Full Course | jQuery Tutorial For Beginners | jQuery Certification Training | Edureka](https://www.youtube.com/watch?v=HgvIox6ehkM&ab_channel=edureka%21) - [jQuery Advanced Full Course | jQuery Tutorial | jQuery Tutorial For Beginners | SimpliCode](https://www.youtube.com/watch?v=OSjDGLfNsDI&ab_channel=SimpliCode) ## 🐢 Sites e cursos para aprender Less > Cursos para aprender jQuery em Português - [Curso de Less - Jornada do Dev](https://goo.gl/Y5UkLQ) - [Curso de Less - Filipe Morelli Developer](https://www.youtube.com/playlist?list=PLWhiA_CuQkbBSfhS9nzc5BkopBY-22K-D) - [Curso de Less - Daniel Martínez](https://www.youtube.com/playlist?list=PLwzKFCxxOMjPUOJitRL31rD1Zsd030sYX) - [Curso de Less - Programador Novato](https://www.youtube.com/playlist?list=PLCTD_CpMeEKT70itw70uVs0vlFbvbCPQN) ## 🐱 Sites e cursos para aprender Sass > Cursos para aprender Sass em Português - [Sass/SCSS para iniciantes + Bônus com React](https://www.youtube.com/watch?v=UKFzAu9AR7w&ab_channel=AlgaWorks) - [Aprenda SASS em 1 hora | Curso de SASS](https://www.youtube.com/watch?v=Wo5t3uUV8n4) - [SASS de 0 a 100](https://www.youtube.com/playlist?list=PLCTD_CpMeEKQXywJB8KMN_-GccZuVf9ag) - [Curso Básico de SASS desde 0](https://www.youtube.com/playlist?list=PLhSj3UTs2_yVyMlZyW-NAbgjtgAgLBzFP) - [Curso de SASS - Lucas Ribeiro](https://www.youtube.com/playlist?list=PLF3tsQa29IM2KG0OIHYxN_uqaVSI0gnbg) - [Curso de Sass - Vida FullStack](https://www.youtube.com/playlist?list=PLMy95_4XE08OmaSd_GOLKNkqhoJFvg7w7) - [Curso de Sass - Amanda Vilela](https://www.youtube.com/playlist?list=PL97KElaimHeGRtfkksKwxg6IGVZi_cR7J) > Cursos para aprender Sass em Espanhol - [Curso de Sass para principiantes desde cero](https://www.youtube.com/playlist?list=PLPl81lqbj-4I4VwUdjbV2iFg7wispiXKP) - [Curso de Sass - El Exilio de Atlas](https://www.youtube.com/playlist?list=PL0FXkz5ILg9Y0ADavZORWRUU3mqG80N8s) - [Curso Básico de Sass - Tutoriales Front-End](https://www.youtube.com/playlist?list=PL5mZlJHWhPyxKrfbsw5-1GxErJrOrSkWI) > Cursos para aprender Sass em Inglês - [Curso de Sass - Jornada do Dev](https://goo.gl/DzRv1e) - [Sass, BEM, & Responsive Design (4 hr beginners course)](https://www.youtube.com/watch?v=jfMHA8SqUL4&ab_channel=CoderCoder) - [SASS Tutorial (Build Your Own CSS Library)](https://www.youtube.com/playlist?list=PL4cUxeGkcC9jxJX7vojNVK-o8ubDZEcNb) - [Sass Tutorial for Beginners - CSS With Superpowers](https://www.youtube.com/watch?v=_a5j7KoflTs&ab_channel=freeCodeCamp.org) - [SASS Tutorial](https://www.youtube.com/playlist?list=PL4cUxeGkcC9iEwigam3gTjU_7IA3W2WZA) - [Sass & Scss - Supercharge Your CSS | Tutorial](https://www.youtube.com/playlist?list=PLLAZ4kZ9dFpOMcA70cU3gZZAXeCR9CNS9) - [Learning SASS](https://www.youtube.com/playlist?list=PLyuRouwmQCjlzPHwHOAIfIFXkf6J8Q_qy) - [Learn Sass In 20 Minutes | Sass Crash Course](https://www.youtube.com/watch?v=Zz6eOVaaelI&ab_channel=developedbyed) - [Sass Crash Course](https://www.youtube.com/watch?v=nu5mdN2JIwM&ab_channel=TraversyMedia) - [Sass in 100 Seconds](https://www.youtube.com/watch?v=akDIJa0AP5c&t=53s&ab_channel=Fireship) - [Sass Crash Course 2022](https://www.youtube.com/watch?v=BEdCOvJ5RY4&ab_channel=PixelRocket) - [7 ways to deal with CSS](https://www.youtube.com/watch?v=ouncVBiye_M&ab_channel=Fireship) ## 🐰 Sites e cursos para aprender Bootstrap > Cursos para aprender Bootstrap em Português - [Curso de Bootstrap - Matheus Battisti - Hora de Codar](https://www.youtube.com/playlist?list=PLnDvRpP8Bnexu5wvxogy6N49_S5Xk8Cze) - [Curso de Bootstrap - CFBCursos](https://www.youtube.com/playlist?list=PLx4x_zx8csUgop9qBqm6ReuNa3XraZBrc) - [Curso completo de Bootstrap 5- Diego Mariano](https://www.youtube.com/playlist?list=PLjS7DS1TxzJIkIgR8AR6Lu0deOOs0AQuv) - [Bootstrap 5 Funtamental](https://www.youtube.com/playlist?list=PLXik_5Br-zO-iwhAe12sirOo_LZ0t-qEm) - [Curso de Bootstrap 5 - Ricardo Maroquio](https://www.youtube.com/playlist?list=PL0YuSuacUEWuJN3qb6NP15bzqd8w_oAj7) - [Criando um site com Bootstrap 4](https://www.youtube.com/playlist?list=PLBbHLUbqqCrTwIrdix6kl84m4OPE0JexR) - [Aprenda Bootstrap 5 criando um projeto - curso fundamentos de Bootstrap 2021](https://www.youtube.com/watch?v=jJUpJA1GJHw&ab_channel=MatheusBattisti-HoradeCodar) - [FORMULÁRIO MULTISTEP COM REACT.JS - FORMULÁRIO DE MÚLTIPLAS ETAPAS REACT](https://www.youtube.com/watch?v=PRSruHX_eig&ab_channel=MatheusBattisti-HoradeCodar) - [Bootstrap Guia para Iniciantes 2022 - Hostinger Brasil](https://www.youtube.com/watch?v=jsTJL6Da5wc&ab_channel=HostingerBrasil) > Cursos para aprender Bootstrap em Inglês - [Bootstrap CSS Framework - Full Course for Beginners](https://www.youtube.com/watch?v=-qfEOE4vtxE&ab_channel=freeCodeCamp.org) - [Bootstrap 5 Crash Course](https://www.youtube.com/watch?v=Jyvffr3aCp0&ab_channel=WebDevSimplified) - [Bootstrap 5 Tutorial](https://www.youtube.com/playlist?list=PL4cUxeGkcC9joIM91nLzd_qaH_AimmdAR) - [Bootstrap 5 Crash Course | Website Build & Deploy](https://www.youtube.com/watch?v=4sosXZsdy-s&ab_channel=TraversyMedia) - [Getting Started with Bootstrap 5 for Beginners - Crash Course](https://www.youtube.com/watch?v=1nxSE0R27Gg&ab_channel=DesignCourse) - [Learn Bootstrap 5 and SASS by Building a Portfolio Website - Full Course](https://www.youtube.com/watch?v=iJKCj8uAHz8&ab_channel=freeCodeCamp.org) - [Bootstrap CSS Framework For Beginners [TAGALOG]](https://www.youtube.com/watch?v=NUCvrUU8NFo&ab_channel=PinoyFreeCoder) - [Learn Bootstrap in less than 20 minutes - Responsive Website Tutorial](https://www.youtube.com/watch?v=eow125xV5-c&ab_channel=Raddy) - [Bootstrap 4 Tutorials](https://www.youtube.com/playlist?list=PL4cUxeGkcC9jE_cGvLLC60C_PeF_24pvv) - [Bootstrap 4 Tutorial + Project](https://www.youtube.com/watch?v=Uhy3gtZoeOM&ab_channel=CodingAddict) ## 🐻‍❄️ Sites e cursos para aprender MySQL > Sites para aprender MySQL - [SQLZOO](https://sqlzoo.net/wiki/SQL_Tutorial) - [SQLBolt](https://sqlbolt.com/) - [LinuxJedi](https://linuxjedi.co.uk/tag/mysql/) - [SQLCourse](https://www.sqlcourse.com/) - [CodeQuizzes](https://www.codequizzes.com/apache-spark/spark/datasets-spark-sql) - [Planet MySQL](https://planet.mysql.com/pt/) - [MySQL Learn2torials](https://learn2torials.com/category/mysql) - [Learn MySQL, Memrise](https://app.memrise.com/course/700054/learn-mysql/) - [Tizag MySQL Tutorials](http://www.tizag.com/mysqlTutorial/) - [W3Schools SQL Tutorials](https://www.w3schools.com/sql/) - [SQL Basics Khan Academy](https://www.khanacademy.org/computing/computer-programming/sql) - [Phptpoint MySQL Tutorial](https://www.phptpoint.com/mysql-tutorial/) - [RoseIndia MySQL Tutorials](https://www.roseindia.net/mysql/) - [MySQL on Linux Like Geeks](https://likegeeks.com/mysql-on-linux-beginners-tutorial/) - [Mastering MySQL by Mark Leith](http://www.markleith.co.uk/) - [Tutorials Point MySQL Tutorial](https://www.tutorialspoint.com/mysql/index.htm) - [KillerPHP MySQL Video Tutorials](https://www.killerphp.com/mysql/videos/) - [PYnative MySQL Database Tutorial](https://pynative.com/python/databases/) - [Digital Ocean Basic MySQL Tutorial](https://www.digitalocean.com/community/tags/mysql) - [Journal to SQL Authority, Pinal Dave](https://blog.sqlauthority.com/) - [MySQL Tutorial, Learn MySQL Fast, Easy and Fun](https://www.mysqltutorial.org/) > Cursos para aprender MySQL em Português - [Curso de Banco de Dados MySQL](https://www.youtube.com/playlist?list=PLHz_AreHm4dkBs-795Dsgvau_ekxg8g1r) - [Curso de MySQL - Bóson Treinamentos](https://www.youtube.com/playlist?list=PLucm8g_ezqNrWAQH2B_0AnrFY5dJcgOLR) - [Curso SQL Completo 2022 em 4 horas - Dev Aprender](https://www.youtube.com/watch?v=G7bMwefn8RQ&ab_channel=DevAprender) - [Curso de SQL com MySQL (Completo) - Ótavio Miranda](https://www.youtube.com/playlist?list=PLbIBj8vQhvm2WT-pjGS5x7zUzmh4VgvRk) - [MySQL - Curso Completo para Iniciantes e Estudantes](https://www.youtube.com/playlist?list=PLOPt_yd2VLWGEnSzO-Sc9MYjs7GZadX1f) - [Curso de MySQL - Daves Tecnologia](https://www.youtube.com/playlist?list=PL5EmR7zuTn_ZGtE7A5PJjzQ0u7gicicLK) - [Curso de SQL - CFBCursos](https://www.youtube.com/playlist?list=PLx4x_zx8csUgQUjExcssR3utb3JIX6Kra) - [Curso Gratuito MySQL Server](https://www.youtube.com/playlist?list=PLiLrXujC4CW1HSOb8i7j8qXIJmSqX44KH) - [Curso de MySQL - Diego Moisset](https://www.youtube.com/playlist?list=PLIygiKpYTC_4KmkW7AKH87nDWtb29jHvN) - [Curso completo MySQL WorkBench](https://www.youtube.com/playlist?list=PLq-sApY8QuyeEq4L_ECA7yYgOJH6IUphP) - [Curso de MySQL 2022 - IS](https://www.youtube.com/playlist?list=PL-6S8_azQ-MrCeQgZ1ZaD8Be3EVW4wEKx) - [MySql/MariaDB - Do básico ao avançado](https://www.youtube.com/playlist?list=PLfvOpw8k80WqyrR7P7fMNREW2Q82xJlpO) - [Curso de PHP com MySQL](https://www.youtube.com/playlist?list=PLucm8g_ezqNrkPSrXiYgGXXkK4x245cvV) > Cursos para aprender MySQL em Inglês - [The New Boston MySQL Videos](https://www.youtube.com/playlist?list=PL32BC9C878BA72085) - [MySQL For Beginners, Programming With Mosh](https://www.youtube.com/watch?v=7S_tz1z_5bA&ab_channel=ProgrammingwithMosh) - [Complete MySQL Beginner to Expert](https://www.youtube.com/watch?v=en6YPAgc6WM&ab_channel=FullCourse) - [Full MySQL Course for Beginners](https://www.youtube.com/playlist?list=PLyuRouwmQCjlXvBkTfGeDTq79r9_GoMt9) - [MySQL Complete Tutorial for Beginners 2022](https://www.youtube.com/playlist?list=PLjVLYmrlmjGeyCPgdHL2vWmEGKxcpsC0E) - [SQL for Beginners (MySQL)](https://www.youtube.com/playlist?list=PLUDwpEzHYYLvWEwDxZViN1shP-pGyZdtT) - [MySQL Course](https://www.youtube.com/playlist?list=PLBlpUqEneF0-xZ1ctyLVqhwJyoQsyfOsO) - [MySQL Tutorial For Beginners - Edureka](https://www.youtube.com/playlist?list=PL9ooVrP1hQOGECN1oA2iXcWFBTRYUxzQG) - [MySQL Tutorial for Beginners](https://www.youtube.com/playlist?list=PLS1QulWo1RIY4auvfxAHS9m_fZJ2wxSse) - [MySQL Tutorial for beginner - ProgrammingKnowledge](https://www.youtube.com/playlist?list=PLS1QulWo1RIahlYDqHWZb81qsKgEvPiHn) - [MySQL DBA Tutorial - Mughees Ahmed](https://www.youtube.com/playlist?list=PLd5sTGXltJ-l9PKT2Bynhg0Ou2uESOJiH) - [MySQL DBA Tutorial - TechBrothers](https://www.youtube.com/playlist?list=PLWf6TEjiiuICV0BARDhRC0JvNKHC5MDEU) - [SQL Tutorial - Full Database Course for Beginners](https://www.youtube.com/watch?v=HXV3zeQKqGY&ab_channel=freeCodeCamp.org) ## 🐮 Sites e cursos para aprender Git e Github - [Git 4 Noobs](https://github.com/DanielHe4rt/git4noobs) - [Comandos Git](https://github.com/theandersonn/comandos-git) - [Aprenda Git](https://learngitbranching.js.org/) - [Git School](https://git-school.github.io/visualizing-git/) - [Git Flow Cheatsheet](https://danielkummer.github.io/git-flow-cheatsheet/) - [Git cheat sheet](https://training.github.com/downloads/pt_BR/github-git-cheat-sheet.pdf) <details> <summary>📝 Necessário para sobrevivencia</summary> - [Site para instalar o Git](https://git-scm.com/downloads) - Configurações iniciais do Git ```bash git config --global user.name <nome de usuário> # => Configura nome de usuário que marcará os commits git config --global user.email <[email protected]> # => Configura o email que marcará os commits ``` - Inicializando um repositório ```bash git init ``` - Clonar projeto remoto ```bash git pull <link> ``` - Adicionando um repositório remoto ```bash git remote add origin https://github.com/User/Repository.git ``` - Verifica o status do repositório ```bash git status ``` - Trackear o que não foi trackeado, inserir tudo ```bash git add . #=> Ou -A ``` - Realizar Commit ```bash git commit -m "inserir um comentário significativo" # => Ou -am ``` [Diferença entre as flags -m e -am](https://pt.stackoverflow.com/questions/344986/diferen%C3%A7a-do-git-commit-am-e-m) - lista de commits ```bash git log #=> ou git log --oneline #=> exibe log com hash e título do commit ``` - Desfazer alterações ```bash git reset # => --soft / --mixed / --hard ``` - Mudar a branch atual ```bash git checkout <branch> # ou git checkout -b <branch> # => Cria e muda para a branch passada ``` - Checar o que houve nas alterações ```bash git diff # ou git diff --name-only <SHA1> <SHA2> # Mostra apenas a alteração entre commits especificados por identificador git diff --name-only HEAD~<num> HEAD~<num> # ou por contagem # ou git diff <nome_do.arquivo> # => Mostra apenas a alteração feita naquele arquivo ``` - Retroceder até certa posição ```bash git checkout HEAD -- "diff" <nome_do.arquivo> ``` - Envia todos os commits do branch local ```bash git push <alias> <branch> ``` - Baixa o histórico e incorpora as mudanças ```bash git pull ``` - Combina o marcador do branch no branch local ```bash git merge [marcador]/[branch] ``` - Visualizando todas as branches existentes no repositório ```bash git branch #=> local # => ou git branch --all #=> local e remoto ``` - Deletando Branchs ```bash # Local git branch -D <nome-branch> git branch -d <nome-branch> # Remoto git push origin <:nome-branch> # Todas branch que não se encontram no repositório remoto git branch --merged ## git branch -r | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin | grep -v "master") | xargs git branch -d # Todas as branches no repositório local (exceto a master) git branch | grep -v "master" | xargs git branch -D ``` </details> ## 🦣 Sites e cursos para aprender TypeScript > Cursos para aprender TypeScript em Português - [Curso de TypeScript na pŕatica - aprenda TypeScript em 1 hora](https://www.youtube.com/watch?v=lCemyQeSCV8&t=634s&ab_channel=MatheusBattisti-HoradeCodar) - [Curso de TypeScript para Completos Iniciantes](https://www.youtube.com/watch?v=ppDsxbUNtNQ&t=1s&ab_channel=FelipeRocha%E2%80%A2dicasparadevs) - [TypeScript, o início, de forma prática | MasterClass #07](https://www.youtube.com/watch?v=0mYq5LrQN1s&t=2s&ab_channel=Rocketseat) - [Intensivão de Clean Architecture e TypeScript](https://www.youtube.com/watch?v=yLPxkIxbNDg&t=3915s&ab_channel=FullCycle) - [TypeScript Course for Beginners - Learn TypeScript from Scratch!](https://www.youtube.com/watch?v=BwuLxPH8IDs&ab_channel=Academind) - [TypeScript Crash Course](https://www.youtube.com/watch?v=BCg4U1FzODs&t=1s&ab_channel=TraversyMedia) - [Esse é o motivo para você começar a estudar TypeScript ](https://www.youtube.com/watch?v=JbVBPatmLr8&ab_channel=AndreIacono) - [React & TypeScript - Course for Beginners](https://www.youtube.com/watch?v=FJDVKeh7RJI&ab_channel=freeCodeCamp.org) - [TypeScript - Zero to Hero | O que é TypeScript? #01](https://www.youtube.com/watch?v=u7K1sdnCv5Y&list=PLb2HQ45KP0Wsk-p_0c6ImqBAEFEY-LU9H&ab_channel=GlauciaLemos) - [Curso de react: Aula 01 - Começando com ReactJS](https://www.youtube.com/watch?v=1bEbBkWc4-I&list=PL29TaWXah3iZktD5o1IHbc7JDqG_80iOm&ab_channel=LucasSouzaDev) - [Curso TypeScript do Básico ao avançado - Tipagem de Dados #01](https://www.youtube.com/watch?v=Z0RlhHuw6hk&list=PL4iwH9RF8xHlxBrCZImFELtiew3TneihE&ab_channel=PogCast) - [Curso de Typescript - Aula 1: O que é o typescript?](https://www.youtube.com/watch?v=3LPWQtvxHOk&list=PLbV6TI03ZWYWwU5p9ZBH8oJTCjgneX53u&ab_channel=DanielBerg) - [API Rest, Node e Typescript: #00 - Apresentação do curso, tecnologias usadas e muito mais](https://www.youtube.com/watch?v=SVepTuBK4V0&list=PL29TaWXah3iaaXDFPgTHiFMBF6wQahurP&ab_channel=LucasSouzaDev) - [Curso de Node.js completo com Typescript, Jest, TDD, Github](https://www.youtube.com/watch?v=W2ld5xRS3cY&list=PLz_YTBuxtxt6_Zf1h-qzNsvVt46H8ziKh&ab_channel=WaldemarNeto-DevLab) - [React, Material UI 5 e Typescript: #00 - Introdução](https://www.youtube.com/watch?v=wLH1Vv86I44&list=PL29TaWXah3iaqOejItvW--TaFr9NcruyQ&ab_channel=LucasSouzaDev) - [TypeScript - Aprendendo Junto 00 - Introdução ao curso](https://www.youtube.com/watch?v=67ki0t_VWc0&list=PL62G310vn6nGg5OzjxE8FbYDzCs_UqrUs&ab_channel=DevDojo) - [Curso TypeScript para Desenvolvedores C# - Aula 00: Introdução à TypeScript](https://www.youtube.com/watch?v=SbAzEptUwI4&list=PLb2HQ45KP0Wt32eCnju3lyncXUvDV5Nob&ab_channel=GlauciaLemos) - [Curso POO Typescript Aula 00 - Como Instalar Typescript - Para Iniciantes](https://www.youtube.com/watch?v=Xv7nNA-DtRE&list=PLnV7i1DUV_zMKEBTQ-wwlbyop8yVAh2tc&ab_channel=NoobCode) - [TypeScript #001 - Bem-vindos ao TypeScript](https://www.youtube.com/watch?v=DF9jY0ITt3Q&list=PLXik_5Br-zO9SEz-3tuy1UIcU6X0GZo4i&ab_channel=Jo%C3%A3oRibeiro) - [Clean Architecture & Typescript - BDD Specs + Use Cases](https://www.youtube.com/watch?v=7ylqtGk9bTo&list=PL9aKtVrF05DxIrtD3CuXGnzq8Q0IZ-t8J&ab_channel=Mango) - [TypeORM #0 - Preparando ambiente e conhecendo o Docker](https://www.youtube.com/watch?v=ZBlW5IBdhKk&list=PLDqnSpzNKDvn-3cpMf3yPn7gTnb3ooy4b&ab_channel=AngeloLuz) - [Criando site com Typescript#01 - Apresentação do curso](https://www.youtube.com/watch?v=JA2Gx-7Fy7g&list=PLyugqHiq-SKfPI4of2RbSdtzBfmwioERL&ab_channel=ClubeFull-Stack) - [Curso de Typescript - ¿ Que es #TypeScript ?](https://www.youtube.com/watch?v=ZwfoXOCpdCw&list=PL4qycS8CTHju8c4A06J_Vjtllyo6Pnc1G&ab_channel=ProCodeTv) - [01 - Curso de Orientação a Objetos no TypeScript - Classes e Objetos](https://www.youtube.com/watch?v=_Pi69njCXUU&list=PLVSNL1PHDWvQ8vKE5T2JTlLE4rXpFH3fM&ab_channel=CarlosFerreira-EspecializaTi) - [TypeORM #0 - Preparando ambiente e conhecendo o Docker](https://www.youtube.com/watch?v=ZBlW5IBdhKk&list=PLDqnSpzNKDvn-3cpMf3yPn7gTnb3ooy4b&ab_channel=AngeloLuz) - [Criando site com Typescript#01 - Apresentação do curso](https://www.youtube.com/watch?v=JA2Gx-7Fy7g&list=PLyugqHiq-SKfPI4of2RbSdtzBfmwioERL&ab_channel=ClubeFull-Stack) > Cursos para aprender TypeScript em Inglês - [Learn TypeScript – Full Tutorial](https://www.youtube.com/watch?v=30LWjhZzg50&ab_channel=freeCodeCamp.org) - [TypeScript Crash Course](https://www.youtube.com/watch?v=BCg4U1FzODs&t=1s&ab_channel=TraversyMedia) - [TypeScript Course for Beginners - Learn TypeScript from Scratch!](https://www.youtube.com/watch?v=BwuLxPH8IDs&ab_channel=Academind) - [How to Setup Node.js with TypeScript in 2023](https://www.youtube.com/watch?v=H91aqUHn8sE&ab_channel=BeyondFireship) - [How To Create An Advanced Shopping Cart With React and TypeScript](https://www.youtube.com/watch?v=lATafp15HWA&ab_channel=WebDevSimplified) - [TypeScript Tutorial for Beginners](https://www.youtube.com/watch?v=d56mG7DezGs&ab_channel=ProgrammingwithMosh) - [TypeScript Full Beginner Course](https://www.youtube.com/watch?v=01txIbtssj0&ab_channel=Bitfumes) - [TypeScript Course - Beginner to Advanced TypeScript Tutorial [2022]](https://www.youtube.com/watch?v=vcNtrYfroDY&ab_channel=Cloudaffle) - [React & TypeScript - Course for Beginners](https://www.youtube.com/watch?v=FJDVKeh7RJI&ab_channel=freeCodeCamp.org) ## 🦬 Sites e cursos para aprender Node.js > Cursos para aprender Node.js em Português - [Curso de Node.js Para Completos Iniciantes](https://www.youtube.com/watch?v=IOfDoyP1Aq0&t=963s&ab_channel=FelipeRocha%E2%80%A2dicasparadevs) - [COMEÇANDO COM NODE.JS EM 2022](https://www.youtube.com/watch?v=fm4_EuCsQwg&t=1s&ab_channel=Rocketseat) - [Autenticação com Node.js e MongoDB com JWT - Login e Registro com Node.js](https://www.youtube.com/watch?v=qEBoZ8lJR3k&ab_channel=MatheusBattisti-HoradeCodar) - [Curso de Node.JS - O que é Node.JS #01](https://www.youtube.com/watch?v=LLqq6FemMNQ&list=PLJ_KhUnlXUPtbtLwaxxUxHqvcNQndmI4B&ab_channel=VictorLima-GuiadoProgramador) - [Vamos aprender NodeJS? [Introdução, instalação, primeira aplicação NodeJS] - Curso de Node - Aula 01](https://www.youtube.com/watch?v=XN705pQeoyU&list=PLx4x_zx8csUjFC41ev2qX5dnr-0ThpoXE&ab_channel=CFBCursos) - [Curso de Node.js completo com Typescript, Jest, TDD, Github... [Código atualizado 2022]](https://www.youtube.com/watch?v=W2ld5xRS3cY&list=PLz_YTBuxtxt6_Zf1h-qzNsvVt46H8ziKh&ab_channel=WaldemarNeto-DevLab) - [O que é Node.js? - Curso - Aula Grátis #01](https://www.youtube.com/watch?v=irrkH6VII78&list=PLsGmTzb4NxK0_CENI1ThoFUNeyIgsZ32V&ab_channel=LuizTools) - [Node.js #1 - O que é Node e como instalar o Node.js no Windows](https://www.youtube.com/watch?v=jqrKQEJ6DpY&list=PLmY5AEiqDWwBHJ3i_8MDSszXXRTcFdkSu&ab_channel=Celke) - [Curso Node JS Completo: Aula 01 - Introdução e Instalação](https://www.youtube.com/watch?v=zxziRBDFjGc&list=PL2Fdisxwzt_cQ7SMv8Drlg2TcrOS5LDZq&ab_channel=Programa%C3%A7%C3%A3oWeb) - [#01 Curso NodeJS com Typescript - Iniciando Ambiente](https://www.youtube.com/watch?v=GII-SyqjbqE&list=PLn3kOoc0oI2cQDdUEQxj75sxgRH53DmSc&ab_channel=AndrewRos%C3%A1rio) - [Criando APIs com NodeJs - Aula 1: Instalação Node, NPM e VS Code](https://www.youtube.com/watch?v=wDWdqlYxfcw&list=PLHlHvK2lnJndvvycjBqQAbgEDqXxKLoqn&ab_channel=balta.io) - [Curso React JS / Node JS - Configurando o Ambiente de Desenvolvimento](https://www.youtube.com/watch?v=hK59KYwQP3U&list=PL0QN_lbTofYcw7bzm8y-l2BMslKfMfNgr&ab_channel=codezero) - [Criação de API com Node.JS e MySQL - CRUD Completo - Aula 01 - Preparação do Ambiente](https://www.youtube.com/watch?v=xGk_R8Q1epU&list=PL1hl9qLyFtfDXY9NO8F3TnjxezKJ_1HlI&ab_channel=ProfessorLozano) - [API Rest, Node e Typescript: #00 - Apresentação do curso, tecnologias usadas e muito mais](https://www.youtube.com/watch?v=SVepTuBK4V0&list=PL29TaWXah3iaaXDFPgTHiFMBF6wQahurP&ab_channel=LucasSouzaDev) - [Curso de Node.js [ #01 Fundamentos desde cero - Primeros Pasos ]](https://www.youtube.com/watch?v=mG4U9t5nWG8&list=PLPl81lqbj-4IEnmCXEJeEXPepr8gWtsl6&ab_channel=Bluuweb) - [Aula #01 - Apresentação Mini Curso - Iniciando Desenvolvimento de API Restful - Node.js e Typescript](https://www.youtube.com/watch?v=M-pNDHC25Vg&list=PLE0DHiXlN_qp251xWxdb_stPj98y1auhc&ab_channel=JorgeAluizio) - [001 - API em Node.js + TypeScript com Programação Funcional - Apresentação do projeto](https://www.youtube.com/watch?v=G-wGMfiLW0Y&list=PLr4c053wuXU_2sufpBUxu3bLRBbyWt4lX&ab_channel=queroser.ninja-FernandoDaciuk) - [Node.js - 01 Instalação do Node.js](https://www.youtube.com/watch?v=D8qWu0MGyuQ&list=PLfvOpw8k80WqZsXphHeeSVNKr6EovKir-&ab_channel=DFILITTO) - [API com Node.JS - Passo 0 - Introdução (O que é uma REST API?)](https://www.youtube.com/watch?v=d_vXgK4uZJM&list=PLWgD0gfm500EMEDPyb3Orb28i7HK5_DkR&ab_channel=Maransatto) - [Curso de Node.JS - #01 O que é Node.js](https://www.youtube.com/watch?v=aeRVisIgABA&list=PLJ0IKu7KZpCRCJgiT6jL4jJgssEcTBsg7&ab_channel=ProgramadorTech) - [Curso de Node JS Aula 01 Baixar e instalar o Node JS. Testar e instalar ferramentas extras](https://www.youtube.com/watch?v=05WeJCU8CJ4&list=PLnex8IkmReXwCyR-cGkyy8tCVAW7fGZow&ab_channel=ProfessorEdsonMaia) - [Aula 1.1 - Criando o primeiro App completo com Node.js, Postgres e front com Javascript puro](https://www.youtube.com/watch?v=TMdlKvoHxNI&list=PLAxN8g6Knm0camfON299B-vl31IYQhA8Q&ab_channel=Prof.JesielViana) - [Curso React + Node Js + React Native - Introdução. Aula 1](https://www.youtube.com/watch?v=veQ0JzX_g3w&list=PLMg7nm9OcrdlhTsN2PvLbNveJYWrHMQZv&ab_channel=MentorNerd) - [Node.js Básico 01 - Introdução](https://www.youtube.com/watch?v=F2cNmWNZSM0&list=PLWXw8Gu52TRLBgfIclx1Nh8LA60knsxY9&ab_channel=RalfLima) > Cursos para aprender Node.js em Inglês - [Node.js and Express.js - Full Course](https://www.youtube.com/watch?v=Oe421EPjeBE&t=176s&ab_channel=freeCodeCamp.org) - [Node.js Full Course for Beginners | Complete All-in-One Tutorial | 7 Hours](https://www.youtube.com/watch?v=f2EqECiTBL8&ab_channel=DaveGray) - [Node.js Tutorial for Beginners: Learn Node in 1 Hour](https://www.youtube.com/watch?v=TlB_eWDSMt4&ab_channel=ProgrammingwithMosh) - [Node.js Tutorial For Beginners | Node JS Crash Course](https://www.youtube.com/watch?v=zQRrXTSkvfw&ab_channel=developedbyed) - [Node.js / Express Course - Build 4 Projects](https://www.youtube.com/watch?v=qwfE7fSVaZM&t=1s&ab_channel=freeCodeCamp.org) - [Node.js Ultimate Beginner’s Guide in 7 Easy Steps](https://www.youtube.com/watch?v=ENrzD9HAZK4&ab_channel=Fireship) - [Node.js Tutorial for Beginners 1 - Node.js Introduction](https://www.youtube.com/watch?v=spPtAEmwys4&list=PLS1QulWo1RIb8IwHYfah5pxGU5jgNiEbK&ab_channel=ProgrammingKnowledge) - [Node js tutorial #1 what is Node js | Introduction](https://www.youtube.com/watch?v=_sPLVYXfyDE&list=PL8p2I9GklV45ihqIep4n3_VijItAkcibN&ab_channel=CodeStepByStep) - [Node.js Tutorial - 1 - Introduction](https://www.youtube.com/watch?v=LAUi8pPlcUM&list=PLC3y8-rFHvwh8shCMHFA5kWxD9PaPwxaY&ab_channel=Codevolution) - [Node.js Crash Course Tutorial #1 - Introduction & Setup](https://www.youtube.com/watch?v=zb3Qk8SG5Ms&list=PL4cUxeGkcC9jsz4LDYc6kv3ymONOKxwBU&ab_channel=TheNetNinja) - [What is Node js? | Simplified Explanation](https://www.youtube.com/watch?v=yEHCfRWz-EI&list=PLsyeobzWxl7occsESx2X1E2R2Uw5wCoeG&ab_channel=Telusko) - [Node JS Tutorial for Beginners #1 - Introduction](https://www.youtube.com/watch?v=w-7RQ46RgxU&list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp&ab_channel=TheNetNinja) - [Tech Talk: Server Scaling in Node.js](https://www.youtube.com/watch?v=w1IzRF6AkuI&list=PLiIKaud-klRGn7V0myJaSZzByPEX7VyiB&ab_channel=FullstackAcademy) - [Node js Tutorial for Beginners - 1 - Introduction](https://www.youtube.com/watch?v=CTxrpmY1At8&list=PLC3y8-rFHvwhco_O8PS1iS9xRrdVTvSIz&ab_channel=Codevolution) - [Express JS Tutorial #1 - Introduction | Node Express JS Tutorial](https://www.youtube.com/watch?v=KtnHb7FMk2Q&list=PLp50dWW_m40Vruw9uKGNqySCNFLXK5YiO&ab_channel=ARCTutorials) - [Introduction to Node JS (Hindi)](https://www.youtube.com/watch?v=5XzUdbYNWrA&list=PLbGui_ZYuhijy1SpwtIS9IwL6OJdbr4kE&ab_channel=GeekyShows) - [ExpressJS - Intro & Project Setup](https://www.youtube.com/watch?v=39znK--Yo1o&list=PL_cUvD4qzbkwp6pxx27pqgohrsP8v1Wj2&ab_channel=AnsontheDeveloper) - [How to build NodeJS Microservice - NodeJS Monolithic to Microservice Architecture](https://www.youtube.com/watch?v=EXDkgjU8DDU&list=PLaLqLOj2bk9ZV2RhqXzABUP5QSg42uJEs&ab_channel=CodewithJay) - [What is Node.js Exactly? - a beginners introduction to Nodejs](https://www.youtube.com/watch?v=pU9Q6oiQNd0&list=PLpXfHEl2fzl5wTERue9mU7AOLXEMcicBc&ab_channel=LearnCode.academy) - [Node.js in 2022 - Creating and testing a complete Node.js Rest API (WITH NO FRAMEWORKS)](https://www.youtube.com/watch?v=xR4D2bp8_S0&list=PLqFwRPueWb5fl_-rJ_6WdgCn9P87A7WNq&ab_channel=ErickWendel) ## 🦌 Sites e cursos para aprender Next.js > Cursos para aprender Next.js em Português - [Desvendando Next.js do ZERO (SSG, SSR, ISR e mais) - Decode #013](https://www.youtube.com/watch?v=2LS6rP3ykJk&ab_channel=Rocketseat) - [Next.JS e React: Curso Intensivo - Masterclass #01 [2021]](https://www.youtube.com/watch?v=PHKaJlAeNLk&ab_channel=Cod3rCursos) - [Primeiros passos Next.js | #AluraMais](https://www.youtube.com/watch?v=slmtdlWNwcE&ab_channel=AluraCursosOnline) - [Primeiros Passos com Next.js](https://www.youtube.com/watch?v=xjrDEZQ5LnA&ab_channel=BoniekyLacerda) - [Next.js (Renderização React no Lado Servidor) // Dicionário do Programador](https://www.youtube.com/watch?v=q_ZoX98uopM&ab_channel=C%C3%B3digoFonteTV) - [Por Que Usar Next.JS?](https://www.youtube.com/watch?v=TzufYnZUmz4&ab_channel=Cod3rCursos) - [Curso Next.js: Introdução - #01](https://www.youtube.com/watch?v=XHrbg2iYNCg&list=PLnDvRpP8BnezfJcfiClWskFOLODeqI_Ft&ab_channel=MatheusBattisti-HoradeCodar) - [Criando projeto React & NextJS + entendendo React #CursoDeReactNextJS #EP01](https://www.youtube.com/watch?v=BCnUMZUArrM&list=PLeBknJ2kuv1mDABV2N-H2tcu1vbfffRvg&ab_channel=Dev%26Design) - [Next.js o framework que você deveria conhecer](https://www.youtube.com/watch?v=9eI0o8io7I0&list=PLkFMdTTdI9c2js2bPRUhChVA0jdI-358s&ab_channel=LucasNhimi) - [Mini curso de Next.js - Aula 1](https://www.youtube.com/watch?v=P3p2LTz5miE&list=PLGQCLOAuF36leMwycZZ9o9uppqgmlGkhj&ab_channel=Andr%C3%A9Coelho) - [Introdução ao curso de NextJS | NextJS Intensivo](https://www.youtube.com/watch?v=cQ9ydTHx2Q0&list=PLvFchzWFz0yPKjnboH7Oq5jvzuw-7Fl4E&ab_channel=MateusSantana-BeDevLab) > Cursos para aprender Next.js em Inglês) - [NEXT.JS Crash Course for Beginners - Build 6 Apps in 17 Hours (SSR, Auth, Full-Stack + More) [2022]](https://www.youtube.com/watch?v=6fNy0iD3hsk&ab_channel=SonnySangha) - [Next.js React Framework Course – Build and Deploy a Full Stack App From scratch](https://www.youtube.com/watch?v=KjY94sAKLlw&t=6005s&ab_channel=freeCodeCamp.org) - [Next.js 13 Crash Course | Learn How To Build Full Stack Apps!](https://www.youtube.com/watch?v=T63nY70eZF0&ab_channel=developedbyed) - [Next.js 13 - The Basics](https://www.youtube.com/watch?v=__mSgDEOyv8&ab_channel=BeyondFireship) - [The Ultimate NEXT.JS 13 Tutorial (Complete Walkthrough w/ Examples)](https://www.youtube.com/watch?v=6aP9nyTcd44&ab_channel=SonnySangha) - [Let's build a Modern Portfolio with NEXT.JS (Framer Motion, Tailwind CSS, Sanity.io, React) | 2023](https://www.youtube.com/watch?v=urgi2iz9P6U&ab_channel=SonnySangha) - [Nextjs ECommerce Tutorial For Beginners 2022 [Next.js, MongoDB & Tailwind]](https://www.youtube.com/watch?v=_IBlyR5mRzA&ab_channel=CodingwithBasir) - [Next.js for Beginners - Full Course](https://www.youtube.com/watch?v=1WmNXEVia8I&ab_channel=freeCodeCamp.org) - [Next.js Tutorial - 1 - Introduction](https://www.youtube.com/watch?v=9P8mASSREYM&list=PLC3y8-rFHvwgC9mj0qv972IO5DmD-H0ZH&ab_channel=Codevolution) - [Complete Next.js Course for Beginners #1 - Introduction](https://www.youtube.com/watch?v=HejT6QXmgtc&list=PLynWqC6VC9KOvExUuzhTFsWaxnpP_97BD&ab_channel=DailyTuition) - [Next.js Tutorial #1 - Introduction & Setup](https://www.youtube.com/watch?v=A63UxsQsEbU&list=PL4cUxeGkcC9g9gP2onazU5-2M-AzA8eBw&ab_channel=TheNetNinja) - [Introduction to Next.js | NextJs Tutorial for Beginners #1](https://www.youtube.com/watch?v=DZKOunP-WLQ&list=PLu0W_9lII9agtWvR_TZdb_r0dNI8-lDwG&ab_channel=CodeWithHarry) - [ntroduction to Next.js – Next vs. Gatsby vs. CRA](https://www.youtube.com/watch?v=uQeidE2LA1s&list=PL6bwFJ82M6FXjyBTVi6WSCWin8q_g_8RR&ab_channel=LeeRobinson) - [Introduction to Next.js – Next vs. Gatsby vs. CRA](https://www.youtube.com/watch?v=uQeidE2LA1s&list=PL6bwFJ82M6FXjyBTVi6WSCWin8q_g_8RR&ab_channel=LeeRobinson) - [Build and Deploy THE PERFECT Portfolio Website | Create a Portfolio from Scratch](https://www.youtube.com/watch?v=OPaLnMw2i_0&list=PL6QREj8te1P7gixBDSU8JLvQndTEEX3c3&ab_channel=JavaScriptMastery) - [NextAuth Course - Complete Authentication with Credentials, Google & GitHub](https://www.youtube.com/watch?v=t0Fs0NO78X8&list=PL2ieA03FJ6Fc34SSXinC2to9T30ztac2M&ab_channel=DailyTuition) - [NextJS & Tests : Setting Up for Tests in Next.JS (1/6) [react testing library & jest]](https://www.youtube.com/watch?v=S7Qi4kgLH7M&list=PLCBa_75YlKx6cQc0JNZz-L1ZGFb-pOIyL&ab_channel=abhikb) - [How to Create a Next.js Starter and Add Sass to a Next.js React App](https://www.youtube.com/watch?v=oFGs_x7kxZg&list=PLFsfg2xP7cbI1U7BZJwmJwTVs4D0pqX1F&ab_channel=ColbyFayock) ## 🦘 Sites e cursos para aprender Assembly > Cursos para aprender Assembly em Português - [Assembly na Prática](https://www.youtube.com/playlist?list=PLxTkH01AauxRm0LFLlOA9RR5O6hBLqBtC) - [Curso de Assembly com Snes e Mega Drive](https://www.youtube.com/playlist?list=PLLFRf_pkM7b6Vi0ehPPovl1gQ5ubHTy5P) - [Curso de Assembly para PIC](https://www.youtube.com/playlist?list=PLZ8dBTV2_5HQd6f4IaoO50L6oToxQMFYt) - [Minicurso Programação Assembly x86 MASM32](https://www.youtube.com/playlist?list=PLmKKLDrwQKd6iL3rXIbIowc4GWMgYh_iH) - [Minicurso: Linguagem Assembly 8086 no DEBUG](https://www.youtube.com/playlist?list=PL838IdaPZmcsxX3HwxFSkxm5S_-4wqcYp) - [Curso de Assembly - Minilord](https://www.youtube.com/playlist?list=PLhkvr9d5St4VmgSpGoeXcQamYl8vBiMeH) - [Papo binario - Assembly](https://www.youtube.com/playlist?list=PLWHiAJhsj4eXi1AF6N5MYz61RcwSCoVO8) > Cursos para aprender Assembly em Inglês - [Assembly Language Programming with ARM – Full Tutorial for Beginners](https://www.youtube.com/watch?v=gfmRrPjnEw4&ab_channel=freeCodeCamp.org) - [Modern x64 Assembly](https://www.youtube.com/playlist?list=PLKK11Ligqitg9MOX3-0tFT1Rmh3uJp7kA) - [Assembly Language Programming](https://www.youtube.com/playlist?list=PLPedo-T7QiNsIji329HyTzbKBuCAHwNFC) - [Intro to x86 Assembly Language](https://www.youtube.com/playlist?list=PLmxT2pVYo5LB5EzTPZGfFN0c2GDiSXgQe) - [x86 Assembly](https://www.youtube.com/playlist?list=PLan2CeTAw3pFOq5qc9urw8w7R-kvAT8Yb) ## 🦒 Sites e cursos para aprender Lua > Cursos para aprender Lua em Português - [Introdução a Lua, instalação e primeiro programa em Lua - Curso de Lua - Aula 01](https://www.youtube.com/watch?v=J9iZeIk2OII&list=PLx4x_zx8csUhdMczA1OSq9rM7N48L6OLU&ab_channel=CFBCursos) - [Curso de Lua - Aula 01 - Introdução e Ambiente](https://www.youtube.com/watch?v=3BA_fK0yXrI&list=PLa4jh645PxpfOYT5bNkim9yoevX8dCYpt&ab_channel=Techiesse) - [Introdução a Programação - 00 - Sobre o Curso - É Válido e Atualizado?](https://www.youtube.com/watch?v=_EyRsqA_tKA&list=PLqYboeh3Jru55Yq4J08zsBoOwwwjUtZNA&ab_channel=AlfredBaudisch%28Pardall%29) - [Introdução e configuração do ambiente - Curso programação Lua Language](https://www.youtube.com/watch?v=W_XTAaO8fiU&list=PLFzjIdwnQBMzaq4srTW6ZEvoJLm2TFvOo&ab_channel=KevinSouza) - [Aprenda Lua Comigo #0 - Nosso Primeiro Projeto](https://www.youtube.com/watch?v=BhP4ic8qpUA&list=PL61kTUcYddBOFrp8dBlXfRz2Buld6Xx9m&ab_channel=Glider) - [Aprenda Lua em 20 minutos!](https://www.youtube.com/watch?v=qxoMNzpI_2A&list=PLGVGJmkQU-wd64WNnMVI1Vy9dmpfHDzrH&ab_channel=Luaverse) - [Introdução ao curso (Opcional)](https://www.youtube.com/watch?v=O6ZwV0ltNlM&list=PL4iMR_FGApjL5ahV00_MbK0j5c9RShuP3&ab_channel=MilionarioScripter) - [Curso Basico Lua (Capitulo 1)](https://www.youtube.com/watch?v=R3ky9Z786dc&list=PLZKvFeoJSjNnpuiy_ez9PylW8neFp2-gA&ab_channel=MiguelHernandezLiebano) - [Aprenda Lua em 20 minutos!](https://www.youtube.com/watch?v=qxoMNzpI_2A&ab_channel=Luaverse) - [Lua - Dicionário do Programador](https://www.youtube.com/watch?v=35Ib4BR7WZc&ab_channel=C%C3%B3digoFonteTV) > Cursos para aprender Lua em Inglês - [Full Lua Programming Crash Course - Beginner to Advanced](https://www.youtube.com/watch?v=1srFmjt1Ib0&ab_channel=Steve%27steacher) - [Game Development with LÖVE 2D and Lua – Full Course](https://www.youtube.com/watch?v=I549C6SmUnk&ab_channel=freeCodeCamp.org) - [OOP (Object Oriented Programming) - Lua tutorial (Part 15)](https://www.youtube.com/watch?v=xdJZdEAQOEo&ab_channel=Steve%27steacher) - [Lua Tutorial - DerekBanas](https://www.youtube.com/watch?v=iMacxZQMPXs&ab_channel=DerekBanas) - [Introduction to the Lua Programming Language - Lua Tutorial (Part 1)](https://www.youtube.com/watch?v=PW8NRGAZQs8&list=PLYBJzqz8zpWavt37pA6NANJTGStIHpybU&ab_channel=Steve%27steacher) - [Introdução a Programação - 00 - Sobre o Curso - É Válido e Atualizado?](https://www.youtube.com/watch?v=_EyRsqA_tKA&list=PLqYboeh3Jru55Yq4J08zsBoOwwwjUtZNA&ab_channel=AlfredBaudisch%28Pardall%29) - [Aprendendo Lua: um histórico rápido e primeiros passos com ferramentas de script Lua](https://www.youtube.com/watch?v=-iU1pCgmjx4&list=PLxgtJR7f0RBKGid7F2dfv7qc-xWwSee2O&ab_channel=BurtonsMediaGroup) - [Lua Introduction](https://www.youtube.com/watch?v=jwn1Vkez7og&list=PLysdvSvCcUhZ3d2AEF4XVAdAyQSBxLNRT&ab_channel=IndronilBanerjee) - [Lua Programming Tutorials - 1 - Downloading and Installing Lua IDE](https://www.youtube.com/watch?v=R2ozVV61qBQ&list=PLd43cTxFZWlc7vTG-3TgMhfZU6o-7pyLD&ab_channel=TutorialswithGanofins) ## 🐪 Sites e cursos para aprender Perl > Cursos para aprender Perl em Português - [Curso Perl - Alder Pinto](https://www.youtube.com/playlist?list=PLE1HNzXaOep0RJIQoWA9_-OPg4WUbjQUZ) - [Curso de Perl - Perfil Antigo](https://www.youtube.com/playlist?list=PLBDxU1-FpoohxqH3XfnqTqLCxTj8dz5sI) > Cursos para aprender Perl em Espanhol - [Tutorial de Perl en Español](https://www.youtube.com/playlist?list=PLjARR1053fYmN9oYz-H6ZI1fOkrjLz6L2) - [Curso de Perl en Español](https://www.youtube.com/playlist?list=PL8qgaJWZ7bGJPlIvAFbq8fKrFogUEJ3AJ) - [Curso Perl - David Elí Tupac](https://www.youtube.com/playlist?list=PL2FOMZ1Ba3plgMbgLlxE-8IXi7oIlkdVp) > Cursos para aprender Perl em Inglês - [Perl Online Training](https://www.youtube.com/playlist?list=PLWPirh4EWFpE0UEJPQ2PUeXUfvJDhPqSD) - [Perl Enough to be dangerous](https://www.youtube.com/watch?v=c0k9ieKky7Q&ab_channel=NedDev) - [Perl Tutorials](https://www.youtube.com/playlist?list=PL_RGaFnxSHWpqRBcStwV0NwMA3nXMh5GC) - [Perl Tutorial: Basics to Advanced](https://www.youtube.com/playlist?list=PL1h5a0eaDD3rTG1U7w9wmff6ZAKDN3b16) - [Perl Programming](https://www.youtube.com/playlist?list=PL5eJgcQ87sgcXxN8EG7RUGZ_kTDUDwYX9) - [Perl Scripting Tutorial Videos](https://www.youtube.com/playlist?list=PL9ooVrP1hQOH9R0GR6yFteE4XWbsYNLga) ## 🐧 Sites e cursos para aprender Linux > Sites para aprender Linux - [Tecmint](https://www.tecmint.com/) - [Linuxize](https://linuxize.com/) - [nixCraft](https://www.cyberciti.biz/) - [It's FOSS](https://itsfoss.com/) - [Linux Hint](https://linuxhint.com/) - [FOSS Linux](https://www.fosslinux.com/) - [LinuxOPsys](https://linuxopsys.com/) - [Linux Journey](https://linuxjourney.com/) - [Linux Command](https://linuxcommand.org/) - [Linux Academy](https://linuxacademy.org/) - [Linux Survival](https://linuxsurvival.com/) - [Linux Handbook](https://linuxhandbook.com/) - [Ryan's Tutorials](https://ryanstutorials.net/) - [LinuxFoundationX](https://www.edx.org/school/linuxfoundationx) - [LabEx Linux For Noobs](https://labex.io/courses/linux-for-noobs) - [Conquering the Command Line](http://conqueringthecommandline.com/) - [Guru99 Linux Tutorial Summary](https://www.guru99.com/unix-linux-tutorial.html) - [Eduonix Learn Linux From Scratch](https://www.eduonix.com/courses/system-programming/learn-linux-from-scratch) - [TLDP Advanced Bash Scripting Guide](https://tldp.org/LDP/abs/html/) - [The Debian Administrator's Handbook](https://debian-handbook.info/) - [Cyberciti Bash Shell Scripting Tutorial](https://bash.cyberciti.biz/guide/Main_Page) - [Digital Ocean Getting Started With Linux](https://www.digitalocean.com/community/tutorial_series/getting-started-with-linux) - [Learn Enough Command Line To Be Dangerous](https://www.learnenough.com/command-line-tutorial) > Cursos para aprender Linux em Português - [Curso de Linux - Primeiros Passos](https://www.youtube.com/playlist?list=PLHz_AreHm4dlIXleu20uwPWFOSswqLYbV) - [Curso de Linux Básico / Certificação LPIC - 1](https://www.youtube.com/playlist?list=PLucm8g_ezqNp92MmkF9p_cj4yhT-fCTl7) - [Curso de Linux - Matheus Battisti](https://www.youtube.com/playlist?list=PLnDvRpP8BnezDTtL8lm6C-UOJZn-xzALH) - [Curso GNU/Linux - Paulo Kretcheu](https://www.youtube.com/playlist?list=PLuf64C8sPVT9L452PqdyYCNslctvCMs_n) - [Curso completo de Linux desde cero para principiantes](https://www.youtube.com/playlist?list=PL2Z95CSZ1N4FKsZQKqCmbylDqssYFJX5A) - [Curso de Linux Avançado Terminal](https://www.youtube.com/playlist?list=PLGw1E40BSQnRZufbzjGVzkH-O8SngPymp) - [Curso Grátis Linux Ubuntu Desktop](https://www.youtube.com/playlist?list=PLozhsZB1lLUMHaZmvczDWugUv9ldzX37u) - [Curso Kali Linux - Daniel Donda](https://www.youtube.com/playlist?list=PLPIvFl3fAVRfzxwHMK1ACl9m4GmwFoxVz) - [Curso Grátis Linux Ubuntu Server 18.04.x LTS](https://www.youtube.com/playlist?list=PLozhsZB1lLUOjGzjGO4snI34V0zINevDm) - [Curso de Linux Ubuntu - Portal Hugo Cursos](https://www.youtube.com/playlist?list=PLxNM4ef1Bpxh3gfTUfr3BGmfuLUH4L-5Z) - [Cursos de Linux - Playlist variada com 148 vídeos](https://www.youtube.com/playlist?list=PLreu0VPCNEMQJBXmyptwC5gDGGGnQnu_u) - [Curso de Linux Básico para Principiantes 2021](https://www.youtube.com/playlist?list=PLG1hKOHdoXktPkbN_sxqr1fLqDle8wnOh) - [Revisão Certificação Linux Essentials](https://www.youtube.com/playlist?list=PLsBCFv4w3afsg8QJnMwQbFGumLpwFchc-) - [Curso completo de Linux do zero - ProfeSantiago](https://www.youtube.com/playlist?list=PLbcS-eIZbbxUqcd3Kr74fo46HzfnYpMqc) > Cursos para aprender Linux em Inglês - [The Linux Basics Course: Beginner to Sysadmin, Step by Step](https://www.youtube.com/playlist?list=PLtK75qxsQaMLZSo7KL-PmiRarU7hrpnwK) - [Linux for Hackers (and everyone)](https://www.youtube.com/playlist?list=PLIhvC56v63IJIujb5cyE13oLuyORZpdkL) - [Linux Command Line Tutorial For Beginners](https://www.youtube.com/playlist?list=PLS1QulWo1RIb9WVQGJ_vh-RQusbZgO_As) - [Linux Crash Course](https://www.youtube.com/playlist?list=PLT98CRl2KxKHKd_tH3ssq0HPrThx2hESW) - [The Complete Kali Linux Course: Beginner to Advanced](https://www.youtube.com/playlist?list=PLYmlEoSHldN7HJapyiQ8kFLUsk_a7EjCw) - [Linux Online Training](https://www.youtube.com/playlist?list=PLWPirh4EWFpGsim4cuJrh9w6-yfuC9XqI) - [CompTIA Linux+ XK0-004 Complete Video Course](https://www.youtube.com/playlist?list=PLC5eRS3MXpp-zlq64CcDfzMl2hO2Wtcl0) - [LPI Linux Essentials (010-160 Exam Prep)](https://www.youtube.com/playlist?list=PL78ppT-_wOmvlYSfyiLvkrsZTdQJ7A24L) - [Complete Linux course for beginners in Arabic](https://www.youtube.com/playlist?list=PLNSVnXX5qE8VOJ6BgMytvgFpEK2o4sM1o) - [Linux internals](https://www.youtube.com/playlist?list=PLX1h5Ah4_XcfL2NCX9Tw4Hm9RcHhC14vs) - [The Complete Red Hat Linux Course: Beginner to Advanced](https://www.youtube.com/playlist?list=PLYmlEoSHldN6W1w_0l-ta8oKzGWqCcq63) - [Linux for Programmers](https://www.youtube.com/playlist?list=PLzMcBGfZo4-nUIIMsz040W_X-03QH5c5h) - [Kali Linux: Ethical Hacking Getting Started Course](https://www.youtube.com/playlist?list=PLhfrWIlLOoKMe1Ue0IdeULQvEgCgQ3a1B) - [Linux Masterclass Course - A Complete Tutorial From Beginner To Advanced](https://www.youtube.com/playlist?list=PL2kSRH_DmWVZp_cu6MMPWkgYh7GZVFS6i) - [Unix/Linux Tutorial Videos](https://www.youtube.com/playlist?list=PLd3UqWTnYXOloH0vWBs4BtSbP84WcC2NY) - [Linux Administration Tutorial Videos](https://www.youtube.com/playlist?list=PL9ooVrP1hQOH3SvcgkC4Qv2cyCebvs0Ik) - [Linux Tutorials | GeeksforGeeks](https://www.youtube.com/playlist?list=PLqM7alHXFySFc4KtwEZTANgmyJm3NqS_L) - [Linux Operating System - Crash Course for Beginners](https://www.youtube.com/watch?v=ROjZy1WbCIA&ab_channel=freeCodeCamp.org) - [The Complete Linux Course: Beginner to Power User](https://www.youtube.com/watch?v=wBp0Rb-ZJak&ab_channel=JosephDelgadillo) - [The 50 Most Popular Linux & Terminal Commands - Full Course for Beginners](https://www.youtube.com/watch?v=ZtqBQ68cfJc&ab_channel=freeCodeCamp.org) - [Linux Server Course - System Configuration and Operation](https://www.youtube.com/watch?v=WMy3OzvBWc0&ab_channel=freeCodeCamp.org) - [Linux Tutorial for Beginners - Intellipaat](https://www.youtube.com/watch?v=4ZHvZge1Lsw&ab_channel=Intellipaat) ## 🦥 Sites e cursos para aprender Ionic > Cursos para aprender Ionic em Português - [Ionic - Dicionário do Programador](https://www.youtube.com/watch?v=5QqvO_9LPzQ&ab_channel=C%C3%B3digoFonteTV) - [Curso Ionic Completo 2022 [Iniciantes] + Desafios + Criando um Aplicativo!](https://www.youtube.com/watch?v=gEVYAdwDHwg&t=5894s&ab_channel=WhileTrue) - [Conhecendo o Ionic Framework](https://www.youtube.com/watch?v=HUBg2VTYRPo&list=PLuXkauUmG1ZH7iJfW5GpAKAQTo_NL5PZ7&ab_channel=RonanAdrielZenatti) - [Introdução ao Ionic](https://www.youtube.com/watch?v=qr9jS-ZrWpo&list=PLfhMD9jnhSMny0jU_azpnLhvsPWsvRv0q&ab_channel=JulianaCristinadosSantos) - [Curso de Ionic 6 - Aula 01 - Aplicativos Android e IOS](https://www.youtube.com/watch?v=mMQbYiHy59Q&list=PLxNM4ef1BpxgBAqQsMHhwBH6EmwQOD7Rq&ab_channel=PortalHugoCursos) - [Curso - Desenvolvimento de apps com Ionic | 01 - Apresentação](https://www.youtube.com/watch?v=xABQOK5vFZQ&list=PLVG76XkqmT1-a738T809H1xPMONh910Dl&ab_channel=JardelGarcia) - [Ionic 6 com Mysql - Aula 01 - Aplicativos Mobile](https://www.youtube.com/watch?v=ZYM9FYKTDnA&list=PLxNM4ef1BpxirvhqM-E96LdFPlDU8Wg6w&ab_channel=PortalHugoCursos) - [Ionic 3 Essencial - 1 Introdução](https://www.youtube.com/watch?v=kx7f_5IJXY8&list=PLswa9HeoJUq_Dphg3w1TwqBMgruzRCwIO&ab_channel=CodeExperts) - [Desenvolvimento de Aplicativos - Aula 01 - Introdução ao Curso](https://www.youtube.com/watch?v=hz7-z9JGQFw&list=PLxNM4ef1BpxgA3RP3L3Y___xZPc1g2h-5&ab_channel=PortalHugoCursos) - [Criando Aplicativos com Ionic | Preparação do Ambiente | Aula 1](https://www.youtube.com/watch?v=eb5i6nus8vo&list=PLxIWikUsH2nSlBxyxEEgVUTBRYbDWmFC9&ab_channel=Programa%C3%A7%C3%A3odeQuinta) - [Curso de Ionic - Aula 01 - Desenvolvimento de Aplicativos](https://www.youtube.com/watch?v=fOO6D1lb0OQ&list=PLxNM4ef1BpxgcK0J97u3aSJo30UIfpbNN&ab_channel=PortalHugoCursos) - [Ionic #01 - INSTALANDO e criando o PRIMEIRO PROJETO](https://www.youtube.com/watch?v=y2hBKxJhfGM&list=PLuUvvidbi-uCGT4LycMif1VVNhC-ZF-pi&ab_channel=SthefaneSoares-VidaPrograma%C3%A7%C3%A3o) - [Ionic COM MYSQL E PHP - AULA 01 - INTRODUÇÃO AO CURSO](https://www.youtube.com/watch?v=k_VbSstZ52A&list=PLSEfgw3tr7tPtncnFpMEymvVFNiRY3OpZ&ab_channel=GliderSI) > Cursos para aprender Ionic em Inglês - [How to Build Your First Ionic 6 App with API Calls](https://www.youtube.com/watch?v=y_vwf15eADs&ab_channel=SimonGrimm) - [Ionic 4 & Angular Tutorial For Beginners - Crash Course](https://www.youtube.com/watch?v=r2ga-iXS5i4&ab_channel=Academind) - [Ionic Framework 4 - Full Tutorial - iOS / Android App Development](https://www.youtube.com/watch?v=AvbuIRg8_Jg&ab_channel=freeCodeCamp.org) - [How to create your first mobile app using Ionic Angular](https://www.youtube.com/watch?v=whnA4Eod3xo&ab_channel=CodeSwag) - [Ionic Framework explained in 60 seconds](https://www.youtube.com/watch?v=iLLXfPwrtj0&ab_channel=AlanMontgomery) - [Building a Deliveroo Food Ordering UI with Ionic](https://www.youtube.com/watch?v=82iWIKejaiQ&ab_channel=SimonGrimm) - [Ionic 5 Tutorial #1 - Welcome to Ionic 5 For Beginners](https://www.youtube.com/watch?v=PExk4luoBiE&list=PLQfqQHJBFM18zcPVbRUIuJYCnytKG4oSn&ab_channel=ZinoTrustAcademy) - [Ionic Tutorial #1 - Overview, installation and creating the project](https://www.youtube.com/watch?v=5Gj4Y8zvl-s&list=PLlyAM-8-I7S9iNcZRfP4SQJhm4Mw5q5ku&ab_channel=ITwithPauloAlves) - [ionic 4+: Search Bar - Módulos - Filtros](https://www.youtube.com/watch?v=T5pdU0s4J6w&list=PLWmEuj970qeGbjM8NU0kdmU7Iydve81gC&ab_channel=FernandoHerrera) - [Ionic Framework Tutorial 1: Create Mobile Apps Using Ionic (Intro)](https://www.youtube.com/watch?v=0jamhGf-8ww&list=PLYxzS__5yYQljbuGjaeugpqs9U07gS5P5&ab_channel=codedamn) - [Ionic 6+ ALL IN 1 DELIVERY APP UI | EPISODE 01 - HOME SCREEN](https://www.youtube.com/watch?v=FOnsC9pXbqc&list=PLixvNT19uDK7pO5KLKqTFf7QxY2lgqN2L&ab_channel=CodingTechnyks) - [#1: Introduction - Ionic 5 / React / Firebase](https://www.youtube.com/watch?v=BX9bSrfwy7Y&list=PLYxzS__5yYQkxcATbHyMA6wfEinKL6jPD&ab_channel=codedamn) - [This app is amazing | App Review | Ionic, ReactJS, Flutter](https://www.youtube.com/watch?v=J8mSfAQvzJc&list=PLNFwX8PVq5q5K_ztYB5umsEu9p6SOQQSb&ab_channel=SimonGrimm) ## 🦦 Sites e cursos para aprender Jira > Cursos para aprender Jira em Português - [Curso Jira Software básico](https://www.youtube.com/playlist?list=PL7NDvV6PnYODio6jp-dYLXPL8SQHzTJxy) - [Jira Software 2022: Básico de Jira para Devs, POs e SMs](https://www.youtube.com/watch?v=642AqqkpgRA&ab_channel=Moxie-EspecialistasemJira) - [Jira Software - Visão Geral ( Tutorial Simples e Completo do Jira Software )](https://www.youtube.com/watch?v=o7tbOHcNQuQ&ab_channel=Moxie-EspecialistasemJira) - [Básico de Jira para Devs, POs e SMs](https://www.youtube.com/watch?v=SbHfEMYKXgA&ab_channel=LuizTools) > Cursos para aprender Jira em Inglês - [Jira Training | Jira Tutorial for Beginners | Jira Course | Intellipaat](https://www.youtube.com/watch?v=uM_m6EzMg3k&ab_channel=Intellipaat) - [How to Get A Jira Certification | Atlassian Jira](https://www.youtube.com/watch?v=UfiM2Ob1Jmc&ab_channel=ApetechTechTutorials) - [Jira Tutorial for Beginners: Jira Project Management](https://www.youtube.com/watch?v=nHuhojfjeUY&ab_channel=SimonSezIT) - [Jira Full Course 4 hours | Jira Tutorial For Beginners | Jira Training | Intellipaat](https://www.youtube.com/watch?v=fhAcJ6Gv1ko&ab_channel=Intellipaat) - [How To Use Jira Software For Beginners | Jira Project Management Software (2023)](https://www.youtube.com/watch?v=aP7W7zNTM2I&ab_channel=TutorialsbyManizha%26Ryan) ## 🦫 Sites e cursos para aprender Rust > Cursos para aprender Rust em Português - [Introdução a linguagem Rustlang | Aprenda Rust | 01](https://www.youtube.com/watch?v=zWXloY0sslE&ab_channel=BrunoRocha-CodeShow) - [Rust Lang (A Linguagem Mais AMADA de Todas) // Dicionário do Programador](https://www.youtube.com/watch?v=gA-hmH83XHc&ab_channel=C%C3%B3digoFonteTV) - [Curso rust [ 01 ] - instalação do rustup](https://www.youtube.com/watch?v=K6L43dl9frY&list=PLGtFJAmtESz-V5p-svTX34bGQvNuXEpHE&ab_channel=LinguagemRust) - [bem vindo ao curso em rust](https://www.youtube.com/watch?v=Hizsjpi66D8&list=PLWmXJQDlXOHX6UdAmXv6euoqDPUtMLpJf&ab_channel=Lanby%CE%BB) > Cursos para aprender Rust em Inglês - [Rust Tutorial Full Course](https://www.youtube.com/watch?v=ygL_xcavzQ4&ab_channel=DerekBanas) - [Why You SHOULDN'T Learn Rust](https://www.youtube.com/watch?v=kOFWIvNowXo&ab_channel=Theo-t3%E2%80%A4gg) - [Rust Programming Course for Beginners - Tutorial](https://www.youtube.com/watch?v=MsocPEZBd-M&ab_channel=freeCodeCamp.org) - [Rust Programming Tutorial #1 - Hello World | Getting Started with Rust](https://www.youtube.com/watch?v=vOMJlQ5B-M0&list=PLVvjrrRCBy2JSHf9tGxGKJ-bYAN_uDCUL&ab_channel=dcode) - [Chapter 1 - Intro - Rust Crash Course](https://www.youtube.com/watch?v=ZxozvCT0oZw&list=PL6yRaaP0WPkWRsXJgdnw9lj1vchAaKwfS&ab_channel=VandadNahavandipoor) - [Learning Rust From Zero to Hero! - Episode 1](https://www.youtube.com/watch?v=tuRQ1URwvhI&list=PLhaAGnuDAW8TrWfGhWL26XDuHDf_O5bWv&ab_channel=BendotCodes) - [Learning Rust Together! Going through the Rust Programming book live!](https://www.youtube.com/watch?v=5QsEuoIt7JQ&list=PLSbgTZYkscaoV8me47mKqSM6BBSZ73El6&ab_channel=TomMcGurl) - [50 Rust Projects - New Playlist Announcement](https://www.youtube.com/watch?v=qru3L4BvrOU&list=PL5dTjWUk_cPYuhHm9_QImW7_u4lr5d6zO&ab_channel=AkhilSharma) - [Best FREE Rust Learning Resources](https://www.youtube.com/watch?v=T4E8LSCFHu8&ab_channel=Let%27sGetRusty) - [Introduction to the series [1 of 35] | Rust for Beginners](https://www.youtube.com/watch?v=PpWR6zungUk&list=PLlrxD0HtieHjbTjrchBwOVks_sr8EVW1x&ab_channel=MicrosoftDeveloper) - [Rust Crash Course | Rustlang](https://www.youtube.com/watch?v=zF34dRivLOw&ab_channel=TraversyMedia) - [Rust in 100 Seconds](https://www.youtube.com/watch?v=5C_HPTJg5ek&ab_channel=Fireship) ## 🦭 Sites e cursos para aprender Scala > Cursos para aprender Scala em Português - [Mini Curso Scala Aula 01 - Por que utilizar a linguagem Scala?](https://www.youtube.com/watch?v=WoOZuiM28LI&list=PLRjtXwBVDaEhUXvT9s3f9T8KhzvbNIOBQ&ab_channel=DanielGoncalves) > Cursos para aprender Scala em Inglês - [Scala Tutorial - Scala at Light Speed, Part 1: Getting Started](https://www.youtube.com/watch?v=-8V6bMjThNo&list=PLmtsMNDRU0BxryRX4wiwrTZ661xcp6VPM&ab_channel=RocktheJVM) - [Spark Scala | Spark Tutorial | Scala Tutorial | Spark Scala Full Course | Intellipaat](https://www.youtube.com/watch?v=PzQ3DBrHW-U&ab_channel=Intellipaat) - [Scala Tutorial 1 - Introduction to Scala](https://www.youtube.com/watch?v=LQVDJtfpQU0&list=PLS1QulWo1RIagob5D6kMIAvu7DQC5VTh3&ab_channel=ProgrammingKnowledge) - [Introduction to Scala Basics](https://www.youtube.com/watch?v=iilTz5R_i6E&list=PLWPirh4EWFpFeu4K1gdw2M-97w_5qEpeU&ab_channel=TutorialsPoint) - [Scala Tutorial for Beginners](https://www.youtube.com/watch?v=OfngvXKNkpM&ab_channel=ProgrammingKnowledge) - [Apache Spark Tutorial | Spark Tutorial For Beginners | Spark Scala Full Course | Intellipaat](https://www.youtube.com/watch?v=r83NhShrNdw&ab_channel=Intellipaat) - [Scala Crash Course by a Scala Veteran (with some JavaScript flavor)](https://www.youtube.com/watch?v=-xRfJcwhy7A&ab_channel=DevInsideYou) - [Why Scala? | An introduction by Adam Warski](https://www.youtube.com/watch?v=t7SOXNJVbJo&ab_channel=SoftwareMill) - [Scala Tutorial 1 Why Scala ( हिन्दी)](https://www.youtube.com/watch?v=xw9N8CQo5JI&list=PLgPJX9sVy92wUdX7uVMgEzREgJrXiRdUC&ab_channel=CSGeeks) - [Scala Tutorial Full Course](https://www.youtube.com/watch?v=i9o70PMqMGY&ab_channel=Telusko) - [Scala Tutorial](https://www.youtube.com/watch?v=DzFt0YkZo8M&ab_channel=DerekBanas) - [Scala 3 & Functional Programming Essentials Course: An Overview of Scala](https://www.youtube.com/watch?v=Rp2b7pgXxFY&ab_channel=RocktheJVM) - [Functional Programming Crash Course for Scala Beginners](https://www.youtube.com/watch?v=XXkYBncbz0c&ab_channel=DevInsideYou) - [Scala Programming Tutorial | Learn Scala programming | Scala language](https://www.youtube.com/watch?v=pDq06gwJnLk&ab_channel=ProgrammingKnowledge) ## 🦝 Sites e cursos para aprender Nuxt.js > Cursos para aprender Nuxt.js em Português [Curso gratuito de Nuxt.js 2 #1 - Introdução e instalação](https://www.youtube.com/watch?v=jw6tRUGkpmo&ab_channel=TiagoMatos)[ [Nuxtjs para iniciantes - Dando um boost no seu desenvolvimento Vue js](https://www.youtube.com/watch?v=mJLeZWl71cA&ab_channel=TiagoMatos)[ [Nuxt.js (O Melhor Companheiro do Vue.js) // Dicionário do Programador](https://www.youtube.com/watch?v=l2y8oYqNV8I&ab_channel=C%C3%B3digoFonteTV)[ [Nuxt Levue Week (NLW) #01 - Introdução e Configuração (Vue, Nuxt, TypeScript e TailwindCSS)](https://www.youtube.com/watch?v=VbkFOWw4yeY&ab_channel=Frontverso)[ [Nuxt.JS: Conhecendo o Framework](https://www.youtube.com/watch?v=CZ6Qbn80h4k&ab_channel=PabloCodes) > Cursos para aprender Nuxt.js em Inglês - [Getting Started with Nuxt 3 | A Beginners Guide](https://www.youtube.com/watch?v=KHF4JdcF4JA&ab_channel=VueMastery) - [What is Nuxt js? | One Dev Question](https://www.youtube.com/watch?v=og_2HLjgD0E&ab_channel=MicrosoftDeveloper) - [Learn NuxtJS Tutorial for Beginners | Udemy Instructor, Maximilian Schwarzmüller](https://www.youtube.com/watch?v=PVMOQrdEjB0&ab_channel=Udemy) - [Nuxt JS Crash Course](https://www.youtube.com/watch?v=Wdmi4k7sFzU&ab_channel=LaithAcademy) - [Nuxt JS beginner tutorial - In Depth Intro to Nuxt.js | SPA, SSR, Static Site, Vue.js Family](https://www.youtube.com/watch?v=YjmLFdXiCJU&list=PLe30vg_FG4OQihO5an0tNT_dpkxig8iPz&ab_channel=Bitfumes) - [Nuxt 3 Crash Course #1 - What is Nuxt?](https://www.youtube.com/watch?v=GBdO5myZNsQ&ab_channel=TheNetNinja) - [Nuxt 3 full course build and deploy | #Nuxtjs #vue #nuxt3](https://www.youtube.com/watch?v=5dQMQ1BwUyc&ab_channel=Bitfumes) - [Next.js Tutorial - 1 - Introduction](https://www.youtube.com/watch?v=9P8mASSREYM&list=PLC3y8-rFHvwgC9mj0qv972IO5DmD-H0ZH&ab_channel=Codevolution) - [Mastering Nuxt JS Course](https://www.youtube.com/watch?v=sS9pkLlZ96E&ab_channel=AcademiaDigital) - [The Nuxt 3 Crash Course](https://www.youtube.com/watch?v=dZC4T4UiU1c&ab_channel=LaithAcademy) - [Nuxt JS For Beginners! - What is Nuxt and how to use it!?](https://www.youtube.com/watch?v=CBwq_TUL5Fg&ab_channel=TylerPotts) - [Next.js 13 Crash Course | Learn How To Build Full Stack Apps!](https://www.youtube.com/watch?v=T63nY70eZF0&ab_channel=developedbyed) - [Build & Deploy a Movie App With NuxtJS | NuxtJS Crash Course (2021)](https://www.youtube.com/watch?v=IzLIXyZkKAA&ab_channel=JohnKomarnicki) ## 🦎 Sites e cursos para aprender Gulp > Cursos para aprender Gulp em Português - [Gulp - Dicionário do Programador](https://www.youtube.com/watch?v=H_jbU5ClRgc&ab_channel=C%C3%B3digoFonteTV) - [Curso de GulpJS - Módulo I - Plugin Gulp Sass](https://www.youtube.com/watch?v=TEoqa9VSoXA&ab_channel=ProfessorChoren) - [Como Usar o Gulp JS - Tutorial de gulp completo](https://www.youtube.com/watch?v=QobWkb20UEQ&ab_channel=FeatureCode) - [Aula 01 - Curso de Gulp - Introdução](https://www.youtube.com/watch?v=9pZOL5_bTw4&list=PLWhiA_CuQkbD8BiFB0aGkwpqpGjvNM3zC&ab_channel=FilipeMorelliDeveloper) - [Curso de GulpJS - O que é o Gulp? Por que eu deveria utilizá-lo?](https://www.youtube.com/watch?v=LDLPBuGYoqo&ab_channel=ProfessorChoren) - [Aula 01 - Curso de Gulp - Introdução](https://www.youtube.com/watch?v=9pZOL5_bTw4&ab_channel=FilipeMorelliDeveloper) - [Usando Gulp em Arquivos Javascript // Mão no Código #2](https://www.youtube.com/watch?v=jsF1PeCxXqM&ab_channel=C%C3%B3digoFonteTV) - [Trabalhando com GULP | Torne-se um Programador](https://www.youtube.com/watch?v=2kdR2D8EEho&ab_channel=DaniloAparecido-Torne-seumprogramador) - [Grunt vs. Gulp #1 - Qual é o melhor? - Rodrigo Branas](https://www.youtube.com/watch?v=ZG0fSXOKcGM&ab_channel=RodrigoBranas) > Cursos para aprender Gulp em Inglês - [Browsersync + Sass + Gulp in 15 minutes](https://www.youtube.com/watch?v=q0E1hbcj-NI&ab_channel=CoderCoder) - [Gulp JS Crash Course](https://www.youtube.com/watch?v=1rw9MfIleEg&ab_channel=TraversyMedia) - [Curso de GulpJS - Módulo I - Plugin Gulp Sass](https://www.youtube.com/watch?v=TEoqa9VSoXA&ab_channel=ProfessorChoren) - [Gulp 4 Crash Course for Beginners](https://www.youtube.com/watch?v=-lG0kDeuSJk&ab_channel=CoderCoder) - [Gulp.js Crash Course](https://www.youtube.com/watch?v=JDXmbcNYdoU&ab_channel=BalboaCodes) - [Gulp from scratch: Intro - What the hell is Gulp?](https://www.youtube.com/watch?v=oRoy1fJbMls&list=PLriKzYyLb28lp0z-OMB5EYh0OHaKe91RV&ab_channel=AlessandroCastellani) - [Gulp from scratch: Intro - What the hell is Gulp?](https://www.youtube.com/watch?v=oRoy1fJbMls&ab_channel=AlessandroCastellani) - [Full beginner Gulp setup for SCSS, minifying Javascript, and minifying/webp images](https://www.youtube.com/watch?v=ubHwScDfRQA&ab_channel=CodinginPublic) - [Gulp JS Crash Course in Hindi #1 - An Introduction to Gulp](https://www.youtube.com/watch?v=awz6G57aY_c&ab_channel=PortableProgrammer) - [Gulpfile Setup-Automate and Enhance Your Code](https://www.youtube.com/watch?v=CFdzwGb5pBg&ab_channel=Treehouse) - [Gulp.js Tutorial - Getting Started With Gulp js | Sass](https://www.youtube.com/watch?v=8H8E75bkXos&ab_channel=CurlyBraces) - [Essential Gulp Tasks: Introduction](https://www.youtube.com/watch?v=3-WNVccDpKo&ab_channel=EnvatoTuts%2B) - [Gulp v4 - Sass and BrowserSync setup](https://www.youtube.com/watch?v=QgMQeLymAdU&ab_channel=KevinPowell) ## 🐅 Sites e cursos para aprender MongoDB > Cursos para aprender MongoDB em Português - [Curso de MongoDB fundamental | Aprenda MongoDB em 1 hora - 2021](https://www.youtube.com/watch?v=x9tC0eK0GtA&ab_channel=MatheusBattisti-HoradeCodar) - [MongoDB em 15 minutos](https://www.youtube.com/watch?v=j-cjF1GkEMQ&t=475s&ab_channel=CanalTI) - [CRIE UMA API COM NODE.JS EXPRESS MONGODB E MONGOOSE - API RESTFUL](https://www.youtube.com/watch?v=anMK76I2dUA&ab_channel=MatheusBattisti-HoradeCodar) - [MongoDB (O Banco de Dados NoSQL mais Legal) - Dicionário do Programador](https://www.youtube.com/watch?v=4dTI1mVLX3I&ab_channel=C%C3%B3digoFonteTV) - [Curso de MongoDB para iniciantes](https://www.youtube.com/watch?v=u3sVM3viDtQ&list=PLxuFqIk29JL0DMM0Z-S9_XEHAexXvhYyb&ab_channel=NatanielPaivaOficial) - [O que é Node.js? - Curso - Aula Grátis #01](https://www.youtube.com/watch?v=irrkH6VII78&list=PLsGmTzb4NxK0_CENI1ThoFUNeyIgsZ32V&ab_channel=LuizTools) - [Mongodb - Introdução](https://www.youtube.com/watch?v=3z90A7VBF4Y&list=PL4Sl6eAbMK7RsS4Q8tSHTlOIaUmTG9eRS&ab_channel=Zurubabel) - [Introdução NoSQL e MongoDB](https://www.youtube.com/watch?v=kedLyo95fGU&list=PLyqlZW5s3wkoMhARQKp3s4YtaeKucb0Xj&ab_channel=RicardoLeme) > Cursos para aprender MongoDB em Inglês - [MongoDB Crash Course](https://www.youtube.com/watch?v=ofme2o29ngU&ab_channel=WebDevSimplified) - [MongoDB Tutorial For Beginners | Full Course](https://www.youtube.com/watch?v=Www6cTUymCY&ab_channel=Amigoscode) - [Complete MongoDB Tutorial #1 - What is MongoDB?](https://www.youtube.com/watch?v=ExcRbA7fy_A&list=PL4cUxeGkcC9h77dJ-QJlwGlZlTd4ecZOA&ab_channel=TheNetNinja) - [MongoDB course 2022 | MongoDB tutorial](https://www.youtube.com/watch?v=9cWm74DteMQ&ab_channel=Bitfumes) - [MongoDB Tutorial | MongoDB Full Course | MongoDB | MongoDB Tutorial For Beginners | Simplilearn](https://www.youtube.com/watch?v=lBBtq3Oawqw&ab_channel=Simplilearn) - [Course Structure and Projects](https://www.youtube.com/watch?v=VI9TP-_7X1E&list=PLx6gGOAOEqGHqDaIjFhwnojD4Lhf4kU_N&ab_channel=ITServices%26Consulting) - [How to install MongoDB 6.0.3 on Windows 11 | Install MongoDB 6.0.3 & Mongo Shell | MongoDB Tutorial](https://www.youtube.com/watch?v=1y5sAnn0ans&list=PLSDyGb_vtanyZbsI9coZHdBNoD1ZVJn7E&ab_channel=CSCORNERSunitaRai) - [Diagnostic Thinking Course - MongoDB University](https://www.youtube.com/watch?v=9D900FFuivw&list=PL4RCxklHWZ9tDjU4TEEGof955v8JS0oet&ab_channel=MongoDB) - [Introduction to MongoDB | Fundamentals of MongoDB | Complete MongoDB Course 2022](https://www.youtube.com/watch?v=l7Psw5frLwk&list=PL1BztTYDF-QM6KSVfrbSyJNTU9inyBqYF&ab_channel=procademy) - [Complete MongoDB Tutorial #25 - MongoDB Atlas](https://www.youtube.com/watch?v=084rmLU1UgA&ab_channel=TheNetNinja) - [MongoDB Tutorial For Beginners #1 - Introduction](https://www.youtube.com/watch?v=Ya0H-7A5cE4&list=PLp50dWW_m40UWFSV6PTgYzciZJIxgHy7Q&ab_channel=ARCTutorials) - [MongoDB In 30 Minutes](https://www.youtube.com/watch?v=pWbMrx5rVBE&ab_channel=TraversyMedia) - [MongoDB Crash Course 2022](https://www.youtube.com/watch?v=2QQGWYe7IDU&ab_channel=TraversyMedia) - [MongoDB in 100 Seconds](https://www.youtube.com/watch?v=-bt_y4Loofg&ab_channel=Fireship) - [Complete MongoDB Tutorial #1 - What is MongoDB?](https://www.youtube.com/watch?v=ExcRbA7fy_A&ab_channel=TheNetNinja) ## 🦩 Sites e cursos para aprender GraphQL > Cursos para aprender GraphQL em Português - [Fundamentos do GraphQL na prática (Node.js + React) | Decode 019](https://www.youtube.com/watch?v=6SZOPKs9SUg&t=2851s&ab_channel=Rocketseat) - [GraphQL no Node.js do ZERO criando 2 apps completos](https://www.youtube.com/watch?v=1dz48pReq_c&ab_channel=Rocketseat) - [Curso COMPLETO de GraphQL #1: Introdução | O Que é ? | O Que veio resolver?](https://www.youtube.com/watch?v=RyqLvFhPNy8&list=PLK5FPzMuRKlyeZYiJNA54j4lpfxHGlz0j&ab_channel=WashingtonDeveloper) - [GraphQL // Dicionário do Programador](https://www.youtube.com/watch?v=xbLpIhCsIdg&ab_channel=C%C3%B3digoFonteTV) - [Modern GraphQL Crash Course - 2022](https://www.youtube.com/watch?v=qux4-yWeZvo&ab_channel=LaithAcademy) - [O que é GraphQL? com Juliana Amoasei | #HipstersPontoTube](https://www.youtube.com/watch?v=trf3ZR_K1nk&ab_channel=AluraCursosOnline) - [Entendendo GraphQL](https://www.youtube.com/watch?v=x6TwzA2yh08&ab_channel=DevPleno) - [GraphQL: O mínimo que um Full Cycle Developer precisa saber. feat: Rodrigo Branas](https://www.youtube.com/watch?v=NJsSsLmQPN4&ab_channel=FullCycle) - [Apresentação do Projeto - Aprenda NextJS, GraphQL na prática!](https://www.youtube.com/watch?v=WOqF_pSzyvQ&list=PLlAbYrWSYTiPlXj6USip_lCPzONUATJbE&ab_channel=WillianJusten) > Cursos para aprender GraphQL em Inglês - [Modern GraphQL Crash Course - 2022](https://www.youtube.com/watch?v=qux4-yWeZvo&ab_channel=LaithAcademy) - [GraphQL Explained in 100 Seconds](https://www.youtube.com/watch?v=eIQh02xuVw4&t=9s&ab_channel=Fireship) - [What Is GraphQL? | GraphQL Course For Beginners Ep. 1](https://www.youtube.com/watch?v=16bHGKe1QqY&list=PLpPqplz6dKxXICtNgHY1tiCPau_AwWAJU&ab_channel=PedroTech) - [GraphQL Full Course - Novice to Expert](https://www.youtube.com/watch?v=ed8SzALpx1Q&ab_channel=freeCodeCamp.org) - [GraphQL Tutorial #1 - Introduction to GraphQL](https://www.youtube.com/watch?v=Y0lDGjwRYKw&list=PL4cUxeGkcC9iK6Qhn-QLcXCXPQUov1U7f&ab_channel=TheNetNinja) - [Spring Tips: Spring for GraphQL: the GraphQL Java Engine](https://www.youtube.com/watch?v=gvIqFDNGgwU&list=PLgGXSWYM2FpNRPDQnAGfAHxMl3zUG2Run&ab_channel=SpringDeveloper) - [What is GraphQL?](https://www.youtube.com/watch?v=wfBeEn8d-8A&list=PL3eAkoh7fypqxiqDq9OQGm3aJO7dZjSBI&ab_channel=PragmaticReviews) - [GraphQL Mesh as a Gateway](https://www.youtube.com/watch?v=fhTg5wPU5LY&list=PLs2PzMqLzi7UPExN1rjpaDlXMVZQTxeDm&ab_channel=JamieBarton) - [GraphQL Crash Course With Full Stack MERN Project](https://www.youtube.com/watch?v=BcLNfwF04Kw&ab_channel=TraversyMedia) - [Learn GraphQL In 40 Minutes](https://www.youtube.com/watch?v=ZQL7tL2S0oQ&ab_channel=WebDevSimplified) - [Learn GraphQL in 4 Hours - From Beginner to Expert](https://www.youtube.com/watch?v=yqWzCV0kU_c&ab_channel=PedroTech) - [GraphQL & Apollo server full course](https://www.youtube.com/watch?v=VaN6_yDTcNs&ab_channel=Bitfumes) - [GraphQL Crash course | easy way](https://www.youtube.com/watch?v=_Zss2Mbz4Bs&ab_channel=HiteshChoudhary) - [Spring Boot GraphQL Tutorial #1 - Introduction, Dependencies, IDE Setup](https://www.youtube.com/watch?v=nju6jFW8CVw&list=PLiwhu8iLxKwL1TU0RMM6z7TtkyW-3-5Wi&ab_channel=PhilipStarritt) - [The BEST GraphQL Course on Planet! | GraphQL for Beginners](https://www.youtube.com/watch?v=YJMSlR9z5Zw&ab_channel=codedamn) - [GraphQL Crash Course](https://www.youtube.com/watch?v=CFrKTrMJIBY&ab_channel=LaithAcademy) - [React With GraphQL (Apollo Client) Crash Course](https://www.youtube.com/watch?v=gAbIQx26wSI&ab_channel=LaithAcademy) ## 🦙 Sites e cursos para aprender Cassandra > Cursos para aprender Cassandra em Português - [Modelagem de dados com Cassandra - Cassandra Day Brasil 2022](https://www.youtube.com/watch?v=4vnqakN5HEw&ab_channel=DataStaxDevelopers) - [Apache Cassandra Training | Apache Cassandra Tutorial | Apache Cassandra Course | Intellipaat](https://www.youtube.com/watch?v=47Us3i_XetI&ab_channel=Intellipaat) - [Curso de Apache Cassandra](https://www.youtube.com/watch?v=Vr6CokWVCkQ&ab_channel=OpenWebinars) - [Tudo sobre Apache Cassandra](https://www.youtube.com/watch?v=FbluLZmHmPI&ab_channel=KeepCoding-TechSchool) - [Instalando e trabalhando com banco de dados Cassandra](https://www.youtube.com/watch?v=ngY3QRJPVwU&ab_channel=EduardodeBastianiMior) - [Apache Cassandra - Armazenando Grandes Bases de Dados](https://www.youtube.com/watch?v=1oz4ZmBRmzk&ab_channel=InstitutoInfnet) > Cursos para aprender Cassandra em Inglês - [Apache Cassandra - Tutorial 1 - Introduction to Apache Cassandra](https://www.youtube.com/watch?v=s1xc1HVsRk0&list=PLalrWAGybpB-L1PGA-NfFu2uiWHEsdscD&ab_channel=jumpstartCS) - [Apache Cassandra Training | Apache Cassandra Tutorial | Apache Cassandra Course | Intellipaat](https://www.youtube.com/watch?v=47Us3i_XetI&ab_channel=Intellipaat) - [Apache Cassandra Database – Full Course for Beginners](https://www.youtube.com/watch?v=J-cSy5MeMOA&ab_channel=freeCodeCamp.org) - [Intro to Cassandra - Cassandra Fundamentals](https://www.youtube.com/watch?v=YjYWsN1vek8&list=PL2g2h-wyI4SqCdxdiyi8enEyWvACcUa9R&ab_channel=DataStaxDevelopers) - [Introduction to Cassandra | Cassandra Tutorial | Cassandra Online Training - Intellipaat](https://www.youtube.com/watch?v=Q7jO0UaH1iU&list=PLVHgQku8Z93762uoAOdAeVfr6gwPUViAt&ab_channel=Intellipaat) - [What is Apache Cassandra? | Apache Cassandra Tutorial | Apache Cassandra Introduction | Edureka](https://www.youtube.com/watch?v=iDhIjrJ7hG0&list=PL9ooVrP1hQOGJ4Yz9vbytkRmLaD6weg8k&ab_channel=edureka%21) - [Introduction To Apache Cassandra Certification Training | Simplilearn](https://www.youtube.com/watch?v=JlZxTmmRdDk&ab_channel=Simplilearn) - [Cassandra Database Crash Course](https://www.youtube.com/watch?v=KZsVSfQVU4I&ab_channel=CodewithIrtiza) ## 🦛 Sites e cursos para aprender SQL Server > Cursos para aprender SQL Server em Português - [SQL SERVER - 01 - SQL Server Express Edition - Instalando no seu computador](https://www.youtube.com/watch?v=OKqpZ6zbZwQ&list=PL7iAT8C5wumpQWB8AFW7CwK2nlzh8ZdP9&ab_channel=AlessandroTrovato) - [Curso SQL Completo 2022 [Iniciantes] + Desafios + Muita Prática](https://www.youtube.com/watch?v=G7bMwefn8RQ&ab_channel=DevAprender) - [Curso de SQL Server para Iniciantes (Aula 0) - Expectativas e Link para Baixar o SQL Server](https://www.youtube.com/watch?v=X7BUKUoO8ZI&list=PL4OAe-tL47sY7ZzeE8__q_N7BWFOehxug&ab_channel=Zurubabel) > Cursos para aprender SQL Server em Inglês - [SQL Tutorial - Full Database Course for Beginners](https://www.youtube.com/watch?v=HXV3zeQKqGY&t=32s&ab_channel=freeCodeCamp.org) - [SQL Server Tutorial For Beginners | Microsoft SQL Server Tutorial | SQL Server Training | Edureka](https://www.youtube.com/watch?v=-EPMOaV7h_Q&ab_channel=edureka%21) - [Install SQL Server 2019 Step by Step | Developer Edition | Free Software | Install SSMS](https://www.youtube.com/watch?v=7GVFYt6_ZFM&list=PL08903FB7ACA1C2FB&ab_channel=kudvenkat) - [Sql Server tutorial || onlinetraining||Sql Server ||Introduction Part - 1 by Narayana](https://www.youtube.com/watch?v=wt3yuc-rTJA&list=PLd3UqWTnYXOkDmQvCVKsXeoGeocusMP4i&ab_channel=DurgaSoftwareSolutions) - [Advanced Sql Tutorial (001 Welcome to the course)](https://www.youtube.com/watch?v=Fm3fMnbWTGg&list=PLw_k9CF7hBpIFmHUyz2jQ3Fo7yYW9jeol&ab_channel=FreeOnlineCourses) - [Learn SQL Complete | Course Introduction | SQL Full Course | SQL Tutorial For Beginners (0/11)](https://www.youtube.com/watch?v=5FrBJ4PXj2s&list=PLjNd3r1KLjQtFEklcPDhidqC_2lmpjk5H&ab_channel=AnalyticswithNags) - [Introduction of SQL Server | SQL Server Tutorial](https://www.youtube.com/watch?v=eSUG8zZ7DfQ&list=PLVlQHNRLflP8WFEvFvANnUsD2y8HJIJh1&ab_channel=NareshiTechnologies) - [SQL Course | SQL Tutorial For Beginners | Learn SQL | Intellipaat](https://www.youtube.com/watch?v=wkOD6mbXc2M&ab_channel=Intellipaat) ## 🐐 Sites e cursos para aprender Postgree SQL > Cursos para aprender Postgree SQL em Português - [Introdução ao PostgreSQL - Curso de Postgres](https://www.youtube.com/watch?v=Z_SPrzlT4Fc&list=PLucm8g_ezqNoAkYKXN_zWupyH6hQCAwxY&ab_channel=B%C3%B3sonTreinamentos) - [Guia Completo PostgreSQL do Básico ao Avançado | Como importar Banco de Dados Educacional NorthWind?](https://www.youtube.com/watch?v=Wmg_JfwkODU&list=PLDqAb8tE7SQZzMWvPG4PYevQAW1cDsbD0&ab_channel=ProfessorMarcoMaddo) - [Instalando o PostgreSQL e Criando o Primeiro Banco de Dados](https://www.youtube.com/watch?v=L_2l8XTCPAE&ab_channel=HashtagPrograma%C3%A7%C3%A3o) - [Banco de Dados com PostgreSQL - #01 - Introdução](https://www.youtube.com/watch?v=k4wYRoMvBwE&list=PLWd_VnthxxLe660ABLFZH26CW3G-uQIv-&ab_channel=Descompila) - [Curso PostgreSQL #1 Instalando no Ubuntu e Derivados](https://www.youtube.com/watch?v=grJlOnbZYus&list=PLiLrXujC4CW0YEyTxomRYXiyQEzJB4P0l&ab_channel=DanielMoraisInfocotidiano) - [Primeiros Passos no PostgreSQL](https://www.youtube.com/watch?v=l5VXbLNYu2U&ab_channel=HashtagPrograma%C3%A7%C3%A3o) > Cursos para aprender Postgree SQL em Inglês - [Learn PostgreSQL Tutorial - Full Course for Beginners](https://www.youtube.com/watch?v=qw--VYLpxG4&ab_channel=freeCodeCamp.org) - [PostgreSQL: What is a Database | Course | 2019](https://www.youtube.com/watch?v=XQ_6G0iCyMQ&list=PLwvrYc43l1MxAEOI_KwGe8l42uJxMoKeS&ab_channel=Amigoscode) - [PostgreSQL Tutorial Full Course 2022](https://www.youtube.com/watch?v=85pG_pDkITY&ab_channel=DerekBanas) - [PostgreSQL CRASH COURSE - Learn PostgreSQL in 2022](https://www.youtube.com/watch?v=zw4s3Ey8ayo&ab_channel=TroyAmelotte) - [SQL For Beginners Tutorial | Learn SQL in 4.2 Hours | 2021](https://www.youtube.com/watch?v=5hzZtqCNQKk&ab_channel=Amigoscode) - [Learn Database Administration - PostgreSQL Database Administration (DBA) for Beginners](https://www.youtube.com/watch?v=aUfPf-clLLs&ab_channel=DatabasesA2Z) - [PostgreSQL: What is PostreSQL AKA Postrgres | Course | 2019](https://www.youtube.com/watch?v=tzbA7VniRpw&ab_channel=Amigoscode) ## 🐑 Sites e cursos para aprender Delphi > Cursos para aprender Delphi em Português - [O que é o Delphi?](https://www.youtube.com/watch?v=pFni9cj4tqE&list=PLVetaKmuPN9_gBPcyRZ7YinNXsNPSfrwY&ab_channel=AugustoC%C3%A9sar) - [Delphi EM 10 MINUTOS: Tudo Que Você Precisa Saber para Começar!](https://www.youtube.com/watch?v=aTPgBJj6IRc&ab_channel=DevMedia) - [Curso de Delphi 10 Avançado - Aula 01 - Programando com Delphi](https://www.youtube.com/watch?v=6CjoKSzeHHM&list=PLxNM4ef1BpxhAExrORrdjAUhm9krPxc-R&ab_channel=PortalHugoCursos) - [Modelagem do Banco de Dados Inicial - Sistema de Escola Completo - Curso Delphi Gratuito](https://www.youtube.com/watch?v=2bdUJHGtwm4&list=PLVetaKmuPN99zOK1rgvKQV-gKhg96Mo5o&ab_channel=AugustoC%C3%A9sar) - [Curso de Delphi 10 (2017) - Aula 01 - Iniciando na programação](https://www.youtube.com/watch?v=rBJ43Usj0NM&list=PLxNM4ef1BpxjAZNWTpzSGmZ86XDAa_jf4&ab_channel=PortalHugoCursos) - [Delphi do Zero to Hero - #01](https://www.youtube.com/watch?v=zChvMKjmUeY&ab_channel=AcademiadoC%C3%B3digo) - [Delphi (soluções para Desktop, Web e Mobile) // Dicionário do Programador](https://www.youtube.com/watch?v=QKjFEMDGCYk&ab_channel=C%C3%B3digoFonteTV) > Cursos para aprender Delphi em Inglês - [Learn Delphi Programming | Unit 1.1 | Welcome To Delphi Programming for Beginners](https://www.youtube.com/watch?v=wsGpj-FVjGs&list=PLZZqoiUyRBsRTgdPJPr-eqAiOnKlP3CaP&ab_channel=LearnDelphi) - [Delphi Programming Course (FMX): 1 - Introduction to this course](https://www.youtube.com/watch?v=NrswPm4OCTk&list=PLfrySFqYRf2f8Tzyd8znGe1ldk72vJZ73&ab_channel=ShaunRoselt) - [Delphi Programming - Full Beginner Crash Course](https://www.youtube.com/watch?v=BqmJpFbRY2U&ab_channel=Steve%27steacher) - [Introduction to Delphi Programming](https://www.youtube.com/watch?v=NrWoheh_REU&ab_channel=CodeWithHuw) ## 🐊 Sites e cursos para aprender Wordpress > Cursos para aprender Wordpress em Português - [Curso WordPress Profissional](https://www.youtube.com/watch?v=JPR4OK4c35Q&list=PLHz_AreHm4dmDP_RWdiKekjTEmCuq_MW2&ab_channel=CursoemV%C3%ADdeo) - [Curso de WordPress 2023: Elementor Container Flexbox](https://www.youtube.com/watch?v=pZOU9RPpr20&list=PLltHgIJnfTsAnyA8KPXC6ohTYzGEreVEa&ab_channel=CursoB-CursosOnline) - [Curso WordPress na Prática | Passo a passo [2022]](https://www.youtube.com/watch?v=lBarY0wXf4Y&list=PLSAqMrdVsnTabS-6FQPcr3LcF-UzEA7Co&ab_channel=HostGatorAcademy) - [Curso WordPress Grátis 2023: Como Criar um Site](https://www.youtube.com/watch?v=PBtM37Wug3E&list=PLR9X8pL__UdiA1wMB02jndrD1d2kffu1o&ab_channel=CursoWordPressDefinitivo) - [Curso WordPress Grátis 2023 Completo - (Aula 1 - Apresentação)](https://www.youtube.com/watch?v=9LIZkP9HqJk&list=PLpEvhvupz-uQ3Fsaf_y1z_hRDKuh24dxR&ab_channel=iConectado-CursosOnline) - [Como Criar Um Site No Wordpress | 2022 | Para Iniciantes](https://www.youtube.com/watch?v=YtFxzjCDoXk&t=2744s&ab_channel=SalaNinja) - [Como Criar Site PROFISSIONAL, Instalar o WordPress Passo a Passo Completo, Fácil Sem Programação](https://www.youtube.com/watch?v=X6qHe5Eazyw&ab_channel=WesleyPereira-EmpreendedorDigital) - [Curso de Wordpress COMPLETO paso a paso (Gutenberg)](https://www.youtube.com/watch?v=lwNEskjrGD8&ab_channel=RomualdFons) - [WordPress para Iniciantes 2023 - Passo a Passo de Todas Funções do WordPress](https://www.youtube.com/watch?v=1EqAYuvOeT0&ab_channel=HostingerBrasil) > Cursos para aprender Wordpress em Inglês - [WordPress Full Course | Part 1](https://www.youtube.com/watch?v=-t5WNFPoCCE&list=PLQOGKy2nPhxlEVP4RBVrBoXPL6mZNZv5L&ab_channel=AzharulRafy) - [How To Make A WordPress Website ~ 2023 ~ The Ultimate WordPress Tutorial For Beginners](https://www.youtube.com/watch?v=pf8wji-tjPw&ab_channel=WebYoda) - [8 Hours Complete Course WordPress Tutorial for Beginners 2023](https://www.youtube.com/watch?v=09gj5gM4V98&ab_channel=Skilllot) - [WordPress for Beginners | FREE COURSE](https://www.youtube.com/watch?v=MsRhxl_zk5A&ab_channel=EnvatoTuts%2B) - [Education LMS WordPress Theme for Online Courses — MasterStudy | Ver. 4.0](https://www.youtube.com/watch?v=V8Lttze18-I&list=PL3Pyh_1kFGGDikfKuVbGb_dqKmXZY86Ve&ab_channel=StylemixThemes) - [Cloudways Tutorial (Move to Cloudways in 19 Minutes!) Setup, Migration, Domain, SSL & Free SMTP](https://www.youtube.com/watch?v=N7C9RR28Ggg&list=PLSk3zfDlC1f-r0dWcZHsWccaJ3CUhhylZ&ab_channel=IdeaSpot) - [WordPress Full Course in ONE VIDEO | ZERO to HERO | STEP BY STEP](https://www.youtube.com/watch?v=DcbPVzq8lHY&ab_channel=AzharulRafy) - [What is WordPress & CMS (Content Management System) | WordPress Tutorial #1](https://www.youtube.com/watch?v=-6q3Rt1MTtk&list=PLjVLYmrlmjGcXDYZC67Us13PBD-3us9jB&ab_channel=WsCubeTech) - [Week 01 | Lec 01 | Mentor Muhammad Kashif | WordPress full course | Digiskills](https://www.youtube.com/watch?v=7h_ETVuiSdY&list=PLuqUq6yfXlCGVBWbU_WyMQiLD72buRUvF&ab_channel=MissSkillie) - [Build a Website from Start to Finish using WordPress [Full Course]](https://www.youtube.com/watch?v=IPo71JPKUmg&ab_channel=freeCodeCamp.org) - [Become a WordPress Developer: Unlocking Power with Code](https://www.youtube.com/watch?v=FVqzKAUsM68&ab_channel=LearnWebCode) - [How To Build A Website with Wordpress in 2023 (Full Tutorial)](https://www.youtube.com/watch?v=AABmCvjd_iU&ab_channel=CharlieChang) ## 🐳 Sites e cursos para aprender Docker > Cursos para aprender Docker em Português - [Curso de Docker Completo](https://www.youtube.com/playlist?list=PLg7nVxv7fa6dxsV1ftKI8FAm4YD6iZuI4) - [Curso de Docker para iniciantes](https://www.youtube.com/watch?v=np_vyd7QlXk&t=1s&ab_channel=MatheusBattisti-HoradeCodar) - [Curso de Introdução ao Docker](https://www.youtube.com/playlist?list=PLXzx948cNtr8N5zLNJNVYrvIG6hk0Kxl-) - [Curso Descomplicando o Docker - LINUXtips 2016](https://www.youtube.com/playlist?list=PLf-O3X2-mxDkiUH0r_BadgtELJ_qyrFJ_) - [Descomplicando o Docker - LINUXtips 2022](https://www.youtube.com/playlist?list=PLf-O3X2-mxDn1VpyU2q3fuI6YYeIWp5rR) - [Curso Docker - Jose Carlos Macoratti](https://www.youtube.com/playlist?list=PLJ4k1IC8GhW1kYcw5Fiy71cl-vfoVpqlV) - [Docker DCA - Caio Delgado](https://www.youtube.com/playlist?list=PL4ESbIHXST_TJ4TvoXezA0UssP1hYbP9_) - [Docker em 22 minutos - teoria e prática](https://www.youtube.com/watch?v=Kzcz-EVKBEQ&ab_channel=ProgramadoraBordo) - [Curso de Docker Completo - Cultura DevOps](https://www.youtube.com/playlist?list=PLdOotbFwzDIjPK7wcu4MBCZhm9Lj6mX11) > Cursos para aprender Docker em Inglês - [Runnable, Slash Docker](https://runnable.com/docker/) - [Docker, Docker 101 Tutorial](https://www.docker.com/101-tutorial/) - [Online IT Guru, Docker Tutorial](https://onlineitguru.com/docker-training) - [Tutorials Point, Docker Tutorial](https://www.tutorialspoint.com/docker/index.htm) - [Andrew Odewahn, Docker Jumpstart](https://odewahn.github.io/docker-jumpstart/) - [Romin Irani, Docker Tutorial Series](https://rominirani.com/docker-tutorial-series-a7e6ff90a023?gi=4504494d886a) - [LearnDocker Online](https://learndocker.online/) - [Noureddin Sadawi, Docker Training](https://www.youtube.com/playlist?list=PLea0WJq13cnDsF4MrbNaw3b4jI0GT9yKt) - [Learn2torials, Latest Docker Tutorials](https://learn2torials.com/category/docker) - [Docker Curriculum, Docker For Beginners](https://docker-curriculum.com/) - [Jake Wright, Learn Docker In 12 Minutes](https://www.youtube.com/watch?v=YFl2mCHdv24&ab_channel=JakeWright) - [Digital Ocean, How To Install And Use Docker](https://www.digitalocean.com/community/tutorial_collections/how-to-install-and-use-docker) - [LinuxTechLab, The Incomplete Guide To Docker](https://linuxtechlab.com/the-incomplete-guide-to-docker-for-linux/) - [Play With Docker Classroom, Play With Docker](https://training.play-with-docker.com/) - [Shota Jolbordi, Introduction to Docker](https://medium.com/free-code-camp/comprehensive-introductory-guide-to-docker-vms-and-containers-4e42a13ee103) - [Collabnix, The #1 Docker Tutorials, Docker Labs](https://dockerlabs.collabnix.com/) - [Servers For Hackers, Getting Started With Docker](https://serversforhackers.com/c/getting-started-with-docker) - [Dive Into Docker, The Complete Course](https://diveintodocker.com/) - [Hashnode, Docker Tutorial For Beginners](https://hashnode.com/post/docker-tutorial-for-beginners-cjrj2hg5001s2ufs1nker9he2) - [Docker Crash Course Tutorial](https://www.youtube.com/playlist?list=PL4cUxeGkcC9hxjeEtdHFNYMtCpjNBm3h7) - [Docker Tutorial for Beginners - freeCodeCamp](https://www.youtube.com/watch?v=fqMOX6JJhGo&ab_channel=freeCodeCamp.org) - [Docker Tutorial for Beginners - Programming with Mosh](https://www.youtube.com/watch?v=pTFZFxd4hOI&ab_channel=ProgrammingwithMosh) - [Docker Tutorial for Beginners Full Course in 3 Hours](https://www.youtube.com/watch?v=3c-iBn73dDE&ab_channel=TechWorldwithNana) - [Docker Tutorial for Beginners Full Course](https://www.youtube.com/watch?v=p28piYY_wv8&ab_channel=Amigoscode) ## 🦜 Sites e cursos para aprender Kubernets > Cursos para aprender Kubernets em Português - [Curso de Kubernetes: Introdução ](https://www.youtube.com/watch?v=n1myN27XLfo&list=PLnPZ9TE1Tj4CpbmTsTgqVpRG0hIgHXsaX&ab_channel=MateusSchwede) - [Apresentação - Curso de Introdução ao Kubernetes ](https://www.youtube.com/watch?v=RuNTvYejG90&list=PLXzx948cNtr8XI5JBemHT9OWuYSPNUtXs&ab_channel=InsightLab) - [Kubernetes do Zero a Produção ](https://www.youtube.com/watch?v=oxWEVQP5_Rg&ab_channel=FullCycle) - [Mini Curso Gratuito de Kubernetes para Devs Javascript ](https://www.youtube.com/watch?v=eXKg9B5ooaY&ab_channel=ErickWendel) - [Containers, Docker e Kubernetes com Giovanni Bassi | #HipstersPontoTube ](https://www.youtube.com/watch?v=wxLvvMxzc1Q&ab_channel=AluraCursosOnline) - [Kubernetes // Dicionário do Programador ](https://www.youtube.com/watch?v=mVL0nOM3AGo&ab_channel=C%C3%B3digoFonteTV) - [Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours] ](https://www.youtube.com/watch?v=X48VuDVv0do&ab_channel=TechWorldwithNana) - [Kubernetes Course | Kubernetes Training | Kubernetes Tutorial | Intellipaat ](https://www.youtube.com/watch?v=Vjetwwgv36o&ab_channel=Intellipaat) > Cursos para aprender Kubernets em Inglês - [Kubernetes Crash Course for Absolute Beginners [NEW] ](https://www.youtube.com/watch?v=s_o8dwzRlu4&ab_channel=TechWorldwithNana) - [Docker Containers and Kubernetes Fundamentals – Full Hands-On Course ](https://www.youtube.com/watch?v=kTp5xUtcalw&ab_channel=freeCodeCamp.org) - [Kubernetes Tutorial For Beginners - Learn Kubernetes ](https://www.youtube.com/watch?v=yznvWW_L7AA&ab_channel=Amigoscode) - [Kubernetes Course - Full Beginners Tutorial (Containerize Your Apps!) ](https://www.youtube.com/watch?v=d6WC5n9G_sM&ab_channel=freeCodeCamp.org) - [CNCF Kubernetes and Cloud Native Associate Certification Course (KCNA) - Pass the Exam! ](https://www.youtube.com/watch?v=AplluksKvzI&ab_channel=freeCodeCamp.org) ## 🐆 Sites e cursos para aprender Nest > Cursos para aprender Nest em Português - [Intensivão Nest.js: do Básico ao Avançado](https://www.youtube.com/watch?v=PHIMN85trgk&ab_channel=FullCycle) - [CURSO FUNDAMENTOS DO FRAMEWORK NESTJS | AULA #01 | CRIAÇÃO DE APLICAÇÕES BACKEND COM BASE DO NODE.JS](https://www.youtube.com/watch?v=wTvnlgJb9hI&list=PLE0DHiXlN_qqRNX4KpkNKvFswCXHUwoyL&ab_channel=JorgeAluizio) - [Criando uma aplicação com NestJS e PrismaIO](https://www.youtube.com/watch?v=0Idug0e9tPw&ab_channel=DanieleLe%C3%A3o) - [Programa em Node.js? Então conheça esse framework (NestJS do ZERO)](https://www.youtube.com/watch?v=TRa55WbWnvQ&ab_channel=Rocketseat) - [Arquitetura Hexagonal com Nest.js](https://www.youtube.com/watch?v=y4CayhdrSOY&ab_channel=FullCycle) - [CI/CD: Fazendo deploy de uma aplicação Nest.js no mundo real](https://www.youtube.com/watch?v=89GWF72F0sw&ab_channel=FullCycle) - [Nest.js: desenvolvimento de APIs](https://www.youtube.com/watch?v=BT7novtdAgI&ab_channel=FullCycle) - [Conhecendo NestJS | #AluraMais](https://www.youtube.com/watch?v=YHpG6t91oW8&ab_channel=AluraCursosOnline) - [Clean Architecture com Nest.js na prática](https://www.youtube.com/watch?v=ZOyEFaBSEfk&ab_channel=FullCycle) - [Desenvolva uma aplicação com Nest.js 9 e aproveite as novidades da nova versão](https://www.youtube.com/watch?v=1yu9084sVjs&ab_channel=FullCycle) - [Microsserviços com Nest.js e gRPC](https://www.youtube.com/watch?v=0bcwZJhplSE&ab_channel=FullCycle) - [Iniciando com NestJS - NestJS para Iniciantes](https://www.youtube.com/watch?v=ufSIGVs9X_8&ab_channel=F%C3%A1bricadeC%C3%B3digo) - [NestJS, o melhor framework backend de NodeJS](https://www.youtube.com/watch?v=bAH4nBb1NFc&ab_channel=PauloSalvatore) - [Criando CRUD com NestJS + deploy no Heroku em 30 minutos - Code/drops #80](https://www.youtube.com/watch?v=cBIUOL6MFXw&ab_channel=Rocketseat) - [GraphQL com NestJS, a melhor e mais fácil opção para o backend web](https://www.youtube.com/watch?v=2wBtOsMrPSY&ab_channel=AprendendoaProgramar) > Cursos para aprender Nest em Inglês - [NestJS Crash Course | Training #01](https://www.youtube.com/watch?v=5tau19ae6aY&list=PLIGDNOJWiL186E2BIAofH6vbS9GxAWRle&ab_channel=Codewithtkssharma) - [NestJS Crash Course](https://www.youtube.com/watch?v=xzu3QXwo1BU&list=PL_cUvD4qzbkw-phjGK2qq0nQiG6gw1cKK&ab_channel=AnsontheDeveloper) - [Nest JS Advance Course #01](https://www.youtube.com/watch?v=i1wN86rnMEI&list=PLIGDNOJWiL1_YrquGbDDN4BNNRy678Spr&ab_channel=Codewithtkssharma) - [NestJS in 100 Seconds](https://www.youtube.com/watch?v=0M8AYU_hPas&ab_channel=Fireship) - [Learn Nest.js from Scratch by building an API](https://www.youtube.com/watch?v=F_oOtaxb0L8&ab_channel=Academind) - [NestJS Crash Course: Everything you need to know! | NodeJS Tutorial 2021](https://www.youtube.com/watch?v=2n3xS89TJMI&list=PLlaDAvA2MhR2jb8zavu6I-w1BA878aHcB&ab_channel=MariusEspejo) - [Nest JS Advance Course #01](https://www.youtube.com/watch?v=Zmz9ZuSgIro&list=PLT5Jhb7lgSBPcUDAmmEnuiFMrqcurNCs7&ab_channel=CodeStudio) - [NestJs Course for Beginners - Create a REST API](https://www.youtube.com/watch?v=GHTA143_b-s&ab_channel=freeCodeCamp.org) - [Nestjs Full Course 2022 | Beginner Nestjs Tutorial](https://www.youtube.com/watch?v=Mgr5_r70OJQ&ab_channel=Bitfumes) - [NestJS Crash Course - Build a Complete Backend API](https://www.youtube.com/watch?v=BiN-xzNkH_0&ab_channel=LaithAcademy) - [NestJS Crash Course - 2021](https://www.youtube.com/watch?v=S0R82Osg-Mk&ab_channel=LaithAcademy) - [NestJS Crash Course](https://www.youtube.com/watch?v=wqhNoDE6pb4&ab_channel=TraversyMedia) - [NestJS Tutorial - Full Crash Course](https://www.youtube.com/watch?v=MNa-h_uPNmw&ab_channel=MonsterlessonsAcademy) - [NestJS tutorial for Beginners 1 - Getting Started + Creating First Nest.JS Application](https://www.youtube.com/watch?v=oU5Di3be-Sk&ab_channel=ProgrammingKnowledge) ## 🐿 Sites e cursos para aprender Laravel > Cursos para aprender Laravel em Português - [Curso Laravel - Introdução - #01](https://www.youtube.com/watch?v=qH7rsZBENJo&list=PLnDvRpP8BnewYKI1n2chQrrR4EYiJKbUG&ab_channel=MatheusBattisti-HoradeCodar) - [Curso de Laravel - #01 Introdução e Ambiente PHP](https://www.youtube.com/watch?v=SnOlhaJTMTA&list=PLwXQLZ3FdTVH5Tb57_-ll_r0VhNz9RrXb&ab_channel=RodrigoOliveira) - [Curso gratuito Laravel 9 INTRO #1 - Introdução e instalação](https://www.youtube.com/watch?v=_h7pq2uc6e4&list=PLcoYAcR89n-reidRFA3XCIvQPeKFt4dQU&ab_channel=TiagoMatos) - [Curso Gratuito de Laravel 9.x](https://www.youtube.com/watch?v=8IBlbBvcI3U&list=PLVSNL1PHDWvS1e1aeoJV7VvaDZ9m67YPU&ab_channel=CarlosFerreira-EspecializaTi) - [LARAVEL - 01 | Apresentação do CURSO](https://www.youtube.com/watch?v=jy8I-wZzeN4&list=PLSHNk_yA5fNhzjjOGcIdSB1nyhv6NR0W1&ab_channel=GustavoNeitzke) - [Laravel 8 - Aula 01 - Laravel 8](https://www.youtube.com/watch?v=z9goB9ntdoI&list=PLxNM4ef1BpxinM_SH_JWtJ-ME11QorxPa&ab_channel=PortalHugoCursos) - [Convite Curso Gratuito de Laravel 8.x](https://www.youtube.com/watch?v=rljzeWpPNYU&list=PLVSNL1PHDWvQwfqqY7XSobGuV39KsM46G&ab_channel=CarlosFerreira-EspecializaTi) - [Curso Laravel. Presentación. Vídeo 1](https://www.youtube.com/watch?v=0sHSrqyZCnM&list=PLU8oAlHdN5Bk-qkvjER90g2c_jVmpAHBh&ab_channel=pildorasinformaticas) [Laravel para iniciantes - Truques e dicas para você aprender de forma ultra rápida](https://www.youtube.com/watch?v=x5C4BmrbFjM&ab_channel=TiagoMatos) > Cursos para aprender Laravel em Inglês - [Laravel From Scratch 2022 | 4+ Hour Course](https://www.youtube.com/watch?v=MYyJ4PuL4pY&ab_channel=TraversyMedia) - [Get Started With Laravel | FREE COURSE](https://www.youtube.com/watch?v=AGE3wRKljkw&ab_channel=EnvatoTuts%2B) - [React + Laravel Full-stack Application | Build and Deploy](https://www.youtube.com/watch?v=qJq9ZMB2Was&ab_channel=TheCodeholic) - [Laravel 6 Tutorial for Beginers #1 - Introduction](https://www.youtube.com/watch?v=zckH4xalOns&list=PL4cUxeGkcC9hL6aCFKyagrT1RCfVN4w2Q&ab_channel=TheNetNinja) - [Laravel PHP Framework Tutorial - Full Course for Beginners (2019)](https://www.youtube.com/watch?v=ImtZ5yENzgE&ab_channel=freeCodeCamp.org) - [Laravel 8 Tutorial - Installation](https://www.youtube.com/watch?v=RyYKXyvM3D4&list=PLz_YkiqIHesvWMGfavV8JFDQRJycfHUvD&ab_channel=SurfsideMedia) - [Full Laravel Restaurant Reservation Website | Laravel 9 Tutorial](https://www.youtube.com/watch?v=8KaBeq9JzrQ&ab_channel=Laraveller) - [Laravel API Server Full Course - Beginner to Intermediate](https://www.youtube.com/watch?v=_zNi37BJVBk&ab_channel=Acadea.io) - [Build and Deploy Laravel 9 Portfolio - For Beginners](https://www.youtube.com/watch?v=JNhmEoBsZ48&ab_channel=TheCodeholic) - [Laravel PHP Framework Tutorial - Full Course 6.5 Hours (2020)](https://www.youtube.com/watch?v=BXiHvgrJfkg&ab_channel=Bitfumes) - [Laravel Crash Course](https://www.youtube.com/watch?v=MFh0Fd7BsjE&ab_channel=TraversyMedia) - [Laravel 8 tutorial - what is laravel | Introduction](https://www.youtube.com/watch?v=0urHFBFHsLc&list=PL8p2I9GklV46dciS4GDzBFHBi0JVIbnzT&ab_channel=CodeStepByStep) - [Laravel 9 Tutorial for Beginners | How to Learn Laravel 9 | Complete Laravel 9 Tutorial in 2022](https://www.youtube.com/watch?v=2mqsVzgsV_c&ab_channel=CodeWithDary) ## 🐃 Sites e cursos para aprender AWS > Cursos para aprender AWS em Português - [O que é AWS e como aprender mais com o Curso Gratuito Amazon Web Services na Prática - Aula 01 - #32](https://www.youtube.com/watch?v=j6yImUbs4OA&list=PLOF5f9_x-OYUaqJar6EKRAonJNSHDFZUm&ab_channel=UmInventorQualquer) - [Aula 1 - Curso Completo AWS - Introdução ao mundo da cloud](https://www.youtube.com/watch?v=HiBCv9DolxI&list=PLtL97Owd1gkQ0dfqGW8OtJ-155Gs67Ecz&ab_channel=MundodaCloud) - [Treinamento AWS Cloud Practitioner](https://www.youtube.com/playlist?list=PLAOaeiAO8J5mjnEwpSUteXZ9y7cT-K42H) > Cursos para aprender AWS em Inglês - [AWS Certified Cloud Practitioner Certification Course (CLF-C01) - Pass the Exam!](https://www.youtube.com/watch?v=SOTamWNgDKc&ab_channel=freeCodeCamp.org) - [AWS Tutorial For Beginners | AWS Full Course - Learn AWS In 10 Hours | AWS Training | Edureka](https://www.youtube.com/watch?v=k1RI5locZE4&list=PL9ooVrP1hQOFWxRJcGdCot7AgJu29SVV3&ab_channel=edureka%21) - [AWS Data Engineering Tutorial for Beginners [FULL COURSE in 90 mins]](https://www.youtube.com/watch?v=ckQ7d6ca2J0&list=PL8JO6Q_xfjenBPR9uT_G55UdSd5PYjt1D&ab_channel=JohnnyChivers) - [NEW AWS Certified Cloud Practitioner Course - 10 HOURS of VIDEO](https://www.youtube.com/watch?v=kvP_7jT-ImY&list=PLt1SIbA8guuvfvUDVLpJepmbnYpOfYCIB&ab_channel=StephaneMaarek) - [AWS Tutorial For Beginners | AWS Full Course - Learn AWS In 10 Hours | AWS Training | Edureka](https://www.youtube.com/watch?v=k1RI5locZE4&ab_channel=edureka%21) - [AWS Certified Developer - Associate 2020 (PASS THE EXAM!)](https://www.youtube.com/watch?v=RrKRN9zRBWs&ab_channel=freeCodeCamp.org) - [How I Passed My AWS Cloud Practitioner Exam in 7 Days](https://www.youtube.com/watch?v=s8byh4MCJYw&ab_channel=Soleyman) - [Learn Terraform (and AWS) by Building a Dev Environment – Full Course for Beginners](https://www.youtube.com/watch?v=iRaai1IBlB0&ab_channel=freeCodeCamp.org) - [AWS DevOps | AWS DevOps Tutorial For Beginners | AWS DevOps Training | Intellipaat](https://www.youtube.com/watch?v=cI16T7GOPwM&ab_channel=Intellipaat) - [AWS Certified Cloud Practitioner Training 2020 - Full Course](https://www.youtube.com/watch?v=3hLmDS179YE&ab_channel=freeCodeCamp.org) - [AWS Full Course 2022 | AWS Tutorial For Beginners 2022 | AWS Training For Beginners | Simplilearn](https://www.youtube.com/watch?v=ZB5ONbD_SMY&ab_channel=Simplilearn) - [AWS Certified Solutions Architect - Associate 2020 (PASS THE EXAM!)](https://www.youtube.com/watch?v=Ia-UEYYR44s&ab_channel=freeCodeCamp.org) - [AWS In 10 Minutes | AWS Tutorial For Beginners | AWS Training Video | AWS Tutorial | Simplilearn](https://www.youtube.com/watch?v=r4YIdn2eTm4&ab_channel=Simplilearn) - [AWS In 5 Minutes | What Is AWS? | AWS Tutorial For Beginners | AWS Training | Simplilearn](https://www.youtube.com/watch?v=3XFODda6YXo&ab_channel=Simplilearn) - [Top 50+ AWS Services Explained in 10 Minutes](https://www.youtube.com/watch?v=JIbIYCM48to&ab_channel=Fireship) - [How I would learn AWS Cloud (If I could start over)](https://www.youtube.com/watch?v=Z0EtjKNRdR4&ab_channel=TechWithLucy) ## 🐬 Sites e cursos para aprender Google Cloud > Cursos para aprender Google Cloud em Português - [Google Cloud Courses](https://www.youtube.com/results?search_query=Google+Cloud++Courses) - [Google Cloud, por onde começar e por quê você deveria faze-lo](https://www.youtube.com/watch?v=4lZmhCaq13U&ab_channel=CanaldaCloud) - [Apresentando o Google Cloud e Montando Servidor Ubuntu | Mini Curso Servidor Web Google Cloud](https://www.youtube.com/watch?v=OfNyUEqerxg&list=PLD4QKjLthwSIXToJoBrIhA7ARyyhUok9Y&ab_channel=MudardeVidaAgora) - [Saiba mais sobre Google Cloud Platform (GCP)](https://www.youtube.com/watch?v=iIBdj3Mump8&ab_channel=PenaRocks) > Cursos para aprender Google Cloud em Inglês - [Google Cloud Associate Cloud Engineer Course - Pass the Exam!](https://www.youtube.com/watch?v=jpno8FSqpc8&ab_channel=freeCodeCamp.org) - [Google Cloud Platform Full Course | Google Cloud Platform Tutorial | Cloud Computing | Simplilearn](https://www.youtube.com/watch?v=-pMtwYXSFK8&ab_channel=Simplilearn) - [GCP Fundamentals - Google Cloud Platform Fundamentals: Core Infrastructure #1](https://www.youtube.com/watch?v=uOTy_0gXf7I&list=PLVext98k2evjIFqVggHfvecnFu4tTJK_o&ab_channel=Coursera) - [What is Google Cloud?](https://www.youtube.com/watch?v=kzKFuHk8ovk&list=PLIivdWyY5sqKh1gDR0WpP9iIOY00IE0xL&ab_channel=GoogleCloudTech) - [Google Cloud Platform Tutorial for Beginners - Full Course](https://www.youtube.com/watch?v=G5w1rsFe-qA&ab_channel=zuni) - [Google Cloud Platform Full Course | GCP Tutorial | Google Cloud Training | Edureka](https://www.youtube.com/watch?v=IUU6OR8yHCc&ab_channel=edureka%21) - [Google Cloud Beginner Tutorial (2023) - Host & Setup A Free Website](https://www.youtube.com/watch?v=1Hyxdg1ZYho&ab_channel=TechExpress) - [Cloud Computing Full Course In 11 Hours | Cloud Computing Tutorial For Beginners | Edureka](https://www.youtube.com/watch?v=2LaAJq1lB1Q&ab_channel=edureka%21) - [Google Cloud Certification Path - New GCP Learning Path - List of Google Cloud Certifications](https://www.youtube.com/watch?v=wiR3u8RNxPo&ab_channel=Whizlabs) - [Google Cloud Platform Tutorial | Google Cloud Platform Tutorial For Beginners | Simplilearn](https://www.youtube.com/watch?v=vACTtmLWiQY&ab_channel=Simplilearn) - [Google Cloud Training | Google Cloud Platform Course | Google Cloud for Beginners | Intellipaat](https://www.youtube.com/watch?v=gud65lqebrc&ab_channel=Intellipaat) - [Google Cloud Digital Leader Certification Course - Pass the Exam!](https://www.youtube.com/watch?v=UGRDM86MBIQ&ab_channel=freeCodeCamp.org) - [Google Cloud Professional Data Engineer Certification Course](https://www.youtube.com/watch?v=rxUlmJpKY4Y&ab_channel=AlphaTutorials-Cloud) - [Google Cloud Platform Course | GCP Course | GCP Tutorial | GCP Training | Intellipaat](https://www.youtube.com/watch?v=rYJmMmpGhdg&ab_channel=Intellipaat) ## 🦆 Sites e cursos para aprender Azure > Cursos para aprender Azure em Português - [Azure (A plataforma Cloud da Microsoft) // Dicionário do Programador](https://www.youtube.com/watch?v=YgE-sZaCuJ0&ab_channel=C%C3%B3digoFonteTV) - [Azure Fundamentals - Introdução ao Curso](https://www.youtube.com/watch?v=AITM8sTsu-o&list=PLwftZeDnOzt0quETXYfGjfi2AcpeGX-7i&ab_channel=RayCarneiro) - [AZ-900 | Aula 01 | Curso Completo | Microsoft Azure Fundamentals | Preparação para o Exame AZ900](https://www.youtube.com/watch?v=h5PNYnwApkM&list=PL_yq9hmeKAk_rUvgo0KECZYI1bKzcyncC&ab_channel=HenriqueEduardoSouza) - [Azure Fundamentos (AZ-900) | Aprendendo na Prática !!](https://www.youtube.com/watch?v=mKDxMG1d76w&ab_channel=KaSolutionOficial) - [O que é MICROSOFT AZURE? Qual Certificação começar em 2022?](https://www.youtube.com/watch?v=f-oVzkvMwnE&ab_channel=AndreIacono) - [Como estudar e tirar sua 1ª certificação Azure de forma Gratuita](https://www.youtube.com/watch?v=OPxPFz2i3G4&ab_channel=MentoriaCloud) - [AZ-900 | EP 1/5 | AZ900 | Treinamento Oficial | Microsoft Azure Fundamentals](https://www.youtube.com/watch?v=4ub1uGKQK6U&ab_channel=CanaldaCloud) - [Azure na Prática Gratuito #3 - Azure DevOps](https://www.youtube.com/watch?v=6KuoTg1Ojtw&ab_channel=AzurenaPr%C3%A1tica) > Cursos para aprender Azure em Inglês - [Microsoft Azure Fundamentals Certification Course (AZ-900) - Pass the exam in 3 hours!](https://www.youtube.com/watch?v=NKEFWyqJ5XA&ab_channel=freeCodeCamp.org) - [Azure Full Course - Learn Microsoft Azure in 8 Hours | Azure Tutorial For Beginners | Edureka](https://www.youtube.com/watch?v=tDuruX7XSac&ab_channel=edureka%21) - [AZ-900 | Microsoft Azure Fundamentals Full Course, Free Practice Tests, Website and Study Guides](https://www.youtube.com/watch?v=NPEsD6n9A_I&list=PLGjZwEtPN7j-Q59JYso3L4_yoCjj2syrM&ab_channel=AdamMarczak-AzureforEveryone) - [AZ-900 Certification Course - Introduction](https://www.youtube.com/watch?v=pY0LnKiDwRA&list=PLlVtbbG169nED0_vMEniWBQjSoxTsBYS3&ab_channel=JohnSavill%27sTechnicalTraining) - [Azure Full Course - Learn Microsoft Azure in 8 Hours | Azure Tutorial For Beginners | Edureka](https://www.youtube.com/watch?v=tDuruX7XSac&list=PL9ooVrP1hQOHdFketT6JzY-71nBgIu-n0&ab_channel=edureka%21) - [What Is Azure? | Microsoft Azure Tutorial For Beginners | Microsoft Azure Training | Simplilearn](https://www.youtube.com/watch?v=3Arj5zlUPG4&ab_channel=Simplilearn) - [Azure Administrator Certification (AZ-104) - Full Course to PASS the Exam](https://www.youtube.com/watch?v=10PbGbTUSAg&ab_channel=freeCodeCamp.org) - [Azure Developer Associate (AZ-204) — Full Course Pass the Exam!](https://www.youtube.com/watch?v=jZx8PMQjobk&ab_channel=freeCodeCamp.org) - [Microsoft Azure Developer [Exam AZ-204] Full Course](https://www.youtube.com/watch?v=anef67apIEA&ab_channel=SusanthSutheesh) - [Azure Administrator Training Course | AZ-103 Training | Intellipaat](https://www.youtube.com/watch?v=ki6rJwXzTSM&ab_channel=Intellipaat) - [Azure DevOps Tutorial for Beginners | Azure DevOps | Azure DevOps Boards | Intellipaat](https://www.youtube.com/watch?v=0WlDQakFAwE&ab_channel=Intellipaat) - [Azure Training | Azure Tutorial | Intellipaat](https://www.youtube.com/watch?v=0bNFkI_0jhc&ab_channel=Intellipaat) - [Azure Course | Microsoft Azure Full Course 2023 | Azure Tutorial For Beginners | Intellipaat](https://www.youtube.com/watch?v=hG-wgtKJ9Es&ab_channel=Intellipaat) - [Microsoft Azure Fundamentals Certification (AZ-900) Full Course | Azure Online Training | Edureka](https://www.youtube.com/watch?v=wK3U7xSt31M&ab_channel=edureka%21) ## 🦅 Sites e cursos para aprender Django > Cursos para aprender Django em Português - [Como Sair do Zero em Django no Python [Passo a Passo Primeiro Site]](https://www.youtube.com/watch?v=DNGI5aD9MJs&ab_channel=HashtagPrograma%C3%A7%C3%A3o) - [Curso de Django 2 #01: Instalando o Django no Windows](https://www.youtube.com/watch?v=LZsjuSBW5YM&list=PLnDvRpP8BnewqnMzRnBT5LeTpld5bMvsj&ab_channel=MatheusBattisti-HoradeCodar) - [Como criar ambientes virtuais no Python com virtualenv e instalar pacotes como o Django, numpy, etc](https://www.youtube.com/watch?v=NNHlGCdQSNw&list=PLjv17QYEBJPpd6nI-MXpIa4qR7prKfPQz&ab_channel=RafaelZottesso) - [Aula 1 - Introdução e conhecendo o Framework](https://www.youtube.com/watch?v=UIvnNCQnejw&list=PLHWfNMxB2F4HdKbo8zdgXyxVDOxH429Ko&ab_channel=GregoryPacheco) - [Curso Django Avançado - Criando Uma Aplicação - 01](https://www.youtube.com/watch?v=2ayKIJJf1Ls&list=PL2Dw5PtrD32xmc9R48g4GWULWuWkbAllC&ab_channel=Cursosdeprograma%C3%A7%C3%A3o) - [Loja virtual - e-commerce - utilizando Django](https://www.youtube.com/watch?v=z_MMsWyLdj0&list=PLeFetwYAi-F_9lT7em1UDEXS-3Gm9hjrI&ab_channel=C%C3%93DIGOFLUENTE) - [Django, Curso de Django para Principiantes](https://www.youtube.com/watch?v=T1intZyhXDU&ab_channel=Fazt) - [Passo a passo para se tornar um desenvolvedor Python com Django | Aula semanal #31](https://www.youtube.com/watch?v=j2MPk-mVl10&ab_channel=pythonando) - [Django 4 CRUD completo em 30 minutos](https://www.youtube.com/watch?v=GGBzMpIAgz4&ab_channel=GregoryPacheco) > Cursos para aprender Django em Inglês - [Python Django Tutorial 2020 - Full Course for Beginners](https://www.youtube.com/watch?v=JT80XhYJdBw&ab_channel=CleverProgrammer) - [Python Django 7 Hour Course](https://www.youtube.com/watch?v=PtQiiknWUcI&ab_channel=TraversyMedia) - [Django For Everybody - Full Python University Course](https://www.youtube.com/watch?v=o0XbHvKxw7Y&ab_channel=freeCodeCamp.org) - [Python Django Tutorial: Full-Featured Web App Part 1 - Getting Started](https://www.youtube.com/watch?v=UmljXZIypDc&list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p&ab_channel=CoreySchafer) - [Python Django Web Framework - Full Course for Beginners](https://www.youtube.com/watch?v=F5mRW0jo-U4&ab_channel=freeCodeCamp.org) - [How I learned Django in 3 Months](https://www.youtube.com/watch?v=cRF7hIsIO10&ab_channel=DennisIvy) - [Learn Django Class-Based Views - Using TemplateView - theory and examples](https://www.youtube.com/watch?v=GxA2I-n8NR8&list=PLOLrQ9Pn6caxNb9eFZJ6LfY29nZkKmmXT&ab_channel=VeryAcademy) - [Django CRM Course - Learn how to build a CRM using Python](https://www.youtube.com/watch?v=LWro0nVdrBw&list=PLpyspNLjzwBka94O3ABYcRYk8IaBR8hXZ&ab_channel=CodeWithStein) - [How to Build an E-commerce Website with Django and Python](https://www.youtube.com/watch?v=YZvRrldjf1Y&ab_channel=freeCodeCamp.org) - [Python Backend Web Development Course (with Django)](https://www.youtube.com/watch?v=jBzwzrDvZ18&ab_channel=freeCodeCamp.org) - [E-commerce Website With Django and Vue Tutorial (Django Rest Framework)](https://www.youtube.com/watch?v=Yg5zkd9nm6w&ab_channel=freeCodeCamp.org) - [Python Django Tutorial for Beginners](https://www.youtube.com/watch?v=rHux0gMZ3Eg&ab_channel=ProgrammingwithMosh) ## 🐏 Sites e cursos para aprender Gatsby > Cursos para aprender Gatsby em Português - [Gatsby JS - Introdução ao tutorial](https://www.youtube.com/watch?v=3b2PinXRqYU&list=PLN9uKzK0o3GR3ky2Q6zc2v0Dlej3oOBtT&ab_channel=ThiagoFranchin) - [Gatsby (A alternativa ao Next.js que trabalha com MUUUITAS PÁGINAS WEB) // Dicionário do Programador](https://www.youtube.com/watch?v=uYVVzCmKY7M&t=285s&ab_channel=C%C3%B3digoFonteTV) - [Configurando projeto Gatsby | Behind the Code #09](https://www.youtube.com/watch?v=Z88SWjN6Yj0&t=4431s&ab_channel=Rocketseat) > Cursos para aprender Gatsby em Inglês - [Gatsby Tutorial #1 - What is a Static Site Generator?](https://www.youtube.com/watch?v=Qms4k6y7OgI&list=PL4cUxeGkcC9hw1g77I35ZivVLe8k2nvjB&ab_channel=TheNetNinja) - [Gatsby JS - Introdução ao tutorial](https://www.youtube.com/watch?v=3b2PinXRqYU&list=PLN9uKzK0o3GR3ky2Q6zc2v0Dlej3oOBtT&ab_channel=ThiagoFranchin) - [Gatsby Static Site Generator Tutorial](https://www.youtube.com/watch?v=RaTpreA0v7Q&ab_channel=freeCodeCamp.org) - [Gatsby JS Crash Course](https://www.youtube.com/watch?v=6YhqQ2ZW1sc&ab_channel=TraversyMedia) - [Strapi & GatsbyJS Course - Portfolio Project](https://www.youtube.com/watch?v=Oc_ITwxiG-Y&ab_channel=freeCodeCamp.org) - [Gatsby - Full Tutorial for Beginners](https://www.youtube.com/watch?v=mHFAM0CXviE&ab_channel=freeCodeCamp.org) - [Can We Really Make a Gatsby Portfolio in 10 Minutes?](https://www.youtube.com/watch?v=JxB_MY7IkME&ab_channel=zachOSTech) - [GatsbyJS e WordPress: o básico](https://www.youtube.com/watch?v=W48eHfkwtlo&ab_channel=FelipeEliaWP) - [Webinar | The All New Gatsby 5](https://www.youtube.com/watch?v=X_9yDpPpp2w&ab_channel=Gatsby) - [What is Gatsby JS and Why Use It](https://www.youtube.com/watch?v=GuvAMcsoreI&ab_channel=ZacGordon) - [The Great Gatsby Bootcamp - Full Gatsby.js Tutorial Course](https://www.youtube.com/watch?v=kzWIUX3CpuI&ab_channel=freeCodeCamp.org) - [Gatsby JS Crash Course](https://www.youtube.com/watch?v=6YhqQ2ZW1sc&ab_channel=TraversyMedia) ## 🐂 Sites e cursos para aprender ASP.net > Cursos para aprender ASP.net em Português - [Curso completo ASP.net Core](https://www.youtube.com/watch?v=r6AcjjNvI8w&list=PL_yq9hmeKAk_5bdDzHBdqe5LGrZMxawOl&ab_channel=HenriqueEduardoSouza) - [Bem-vindos ao ASP.net](https://www.youtube.com/watch?v=Z3DU-Jpft74&list=PLXik_5Br-zO-5SRVrpNHnP4uVMBL2Gqz2&ab_channel=Jo%C3%A3oRibeiro) - [Projeto do curso de .NET Core C# | Mod 01 - Aula 01](https://www.youtube.com/watch?v=q1sF6D7vKPE&list=PLs3yd28pfby7WLEdA7GXey47cKZKMrcwS&ab_channel=MidoriFukami) - [ASP.Net MVC - C# - Criando uma aplicação do Zero](https://www.youtube.com/watch?v=-v0sfER0po8&list=PLJ0IKu7KZpCQKdwRbU7HfXW3raImmghWZ&ab_channel=ProgramadorTech) > Cursos para aprender ASP.net em Inglês - [ASP.NET - Introduction](https://www.youtube.com/watch?v=ccXz-oIrFe0&list=PLWPirh4EWFpGdA3VPS9umbvP6YGT3hUU9&ab_channel=TutorialsPoint) - [What is ASP.NET Part 1](https://www.youtube.com/watch?v=3AYoipyqOkQ&list=PL6n9fhu94yhXQS_p1i-HLIftB9Y7Vnxlo&ab_channel=kudvenkat) - [ASP.NET Core 6 Full Course: ASP.NET Core MVC Tutorial](https://www.youtube.com/watch?v=XE0EcyEKdq4&ab_channel=ScholarHatByDotNetTricks) - [ASP.NET Microservices – Full Course for Beginners](https://www.youtube.com/watch?v=CqCDOosvZIk&ab_channel=freeCodeCamp.org) - [ASP.NET Core MVC Course (.NET 5)](https://www.youtube.com/watch?v=Pi46L7UYP8I&ab_channel=freeCodeCamp.org) - [Complete 3 Hour ASP NET 6.0 and Entity Framework Core Course!](https://www.youtube.com/watch?v=7d2UMAIgOLQ&ab_channel=tutorialsEU) ## 🐖 Sites e cursos para aprender Inteligência Artificial > Cursos para aprender Inteligência Artificial em Português - [Inteligência Artificial: Aula 0 - Introdução](https://www.youtube.com/watch?v=m1-Hc5-H22M&list=PL4OAe-tL47sY1OgDs7__GJW8xBpPEeNfC&ab_channel=Zurubabel) - [Introdução a Inteligência Artificial](https://www.youtube.com/watch?v=AotU3yIExqI&list=PL-LIyhnUCPkGdj9umESeimOfWctErNVzH&ab_channel=PROF.FABIOSANTOS) - [Curso de Inteligência Artificial - O que é Inteligência Artificial](https://www.youtube.com/watch?v=82VyhCNpxYA&list=PL5EmR7zuTn_Z912YaqukK1SWfY5o2xrYA&ab_channel=davestecnologia) - [Introdução às Redes Neurais Artificiais - Apresentação do Curso - Aula #0](https://www.youtube.com/watch?v=OQwxeFSJ_Q4&list=PLZj-vsMJRNhprMuIaE6HXmOkHh0NEEMtL&ab_channel=Intelig%C3%AAnciaArtificialnaPr%C3%A1tica) - [Introdução à IA #1: Introdução](https://www.youtube.com/watch?v=ucoFLlasfIo&list=PLBqjnKyN75dQiW0WJtvNoBESF5q8OWdge&ab_channel=AlgoritmoZ) - [Inteligencia Artificial com Unity - Aula 01 - Desenvolvimento de Jogos](https://www.youtube.com/watch?v=Ins6YXFJU7M&list=PLxNM4ef1BpxirZvCvdzMbFJrAWSWzGpIC&ab_channel=PortalHugoCursos) - [Inteligência Artificial na Prática com Python [Projeto Flappy Bird - Aula 1 de 4]](https://www.youtube.com/watch?v=GMDb2jtzKZQ&list=PLpdAy0tYrnKyVQDckS5IDB24QrSap2u8y&ab_channel=HashtagPrograma%C3%A7%C3%A3o) > Cursos para aprender Inteligência Artificial em Inglês - [Artificial Intelligence Full Course | Artificial Intelligence Tutorial for Beginners | Edureka](https://www.youtube.com/watch?v=JMUxmLyrhSk&ab_channel=edureka%21) - [Artificial Intelligence | What is AI | Introduction to Artificial Intelligence | Edureka](https://www.youtube.com/watch?v=4jmsHaJ7xEA&list=PL9ooVrP1hQOGHNaCT7_fwe9AabjZI1RjI&ab_channel=edureka%21) - [Overview Artificial Intelligence Course | Stanford CS221: Learn AI (Autumn 2019)](https://www.youtube.com/watch?v=J8Eh7RqggsU&list=PLoROMvodv4rO1NB9TD4iUZ3qghGEGtqNX&ab_channel=StanfordOnline) ## 🦀 Sites e cursos para aprender Machine Learning > Cursos para aprender Machine Learning em Português - [Preencher Dados que Faltam da Galera do SVBR - Machine Learning 01](https://www.youtube.com/watch?v=p_SmODmFRUw&list=PL-t7zzWJWPtzhZtI-bWWHFtCfxtjmBdIW&ab_channel=UniversoDiscreto) - [O que é Inteligência Artificial?](https://www.youtube.com/watch?v=ID5Ui22F8HQ&list=PLyqOvdQmGdTSqkutrKDaVJlEv-ui1MyK4&ab_channel=Did%C3%A1ticaTech) - [O que é MACHINE LEARNING? Introdução ao APRENDIZADO DE MÁQUINA | Machine Learning #1](https://www.youtube.com/watch?v=u8xgqvk16EA&list=PL5TJqBvpXQv5CBxLkdqmou_86syFK7U3Q&ab_channel=Programa%C3%A7%C3%A3oDin%C3%A2mica) - [Python para Machine Learning (Curso - Aula 1)](https://www.youtube.com/watch?v=MmSXHCxDwBs&list=PLyqOvdQmGdTR46HUxDA6Ymv4DGsIjvTQ-&ab_channel=Did%C3%A1ticaTech) - [Introdução ao Machine Learning (ML de Zero a 100, parte 1)](https://www.youtube.com/watch?v=t5z5lyrb-7s&ab_channel=TensorFlow) - [Curso de Machine Learning Em Português - Introdução da Primeira Parte](https://www.youtube.com/watch?v=pKc1J4RB_VQ&list=PL4OAe-tL47sb3xdFBVXs2w1BA2LRN5JU2&ab_channel=Zurubabel) > Cursos para aprender Machine Learning em Inglês - [MarI/O - Machine Learning for Video Games](https://www.youtube.com/watch?v=qv6UVOQ0F44&ab_channel=SethBling) - [Machine Learning Course for Beginners](https://www.youtube.com/watch?v=NWONeJKn6kc&ab_channel=freeCodeCamp.org) - [The Best (Free) Machine Learning Courses Online!](https://www.youtube.com/watch?v=7t5MJ38NZ8E&ab_channel=CharlesWeill) - [Machine Learning for Everybody – Full Course](https://www.youtube.com/watch?v=i_LwzRVP7bg&ab_channel=freeCodeCamp.org) - [Best Machine Learning Courses on Coursera](https://www.youtube.com/watch?v=A4OVjWeVb10&ab_channel=AlexTheAnalyst) - [PyTorch for Deep Learning & Machine Learning – Full Course](https://www.youtube.com/watch?v=V_xro1bcAuA&ab_channel=freeCodeCamp.org) ## 🦑 Sites e cursos para aprender Data Science > Cursos para aprender Data Science em Português - [Data Science: Introdução a Ciência de Dados (Primeira aula prática programando em Python)](https://www.youtube.com/watch?v=F608hzn_ygo&ab_channel=FilipeDeschamps) - [Os 3 Melhores Cursos de Data Science que fiz no Coursera](https://www.youtube.com/watch?v=r6nN8OQ-6co&ab_channel=MarioFilho) - [Como se Tornar um Cientista de Dados de Sucesso - Vlog #105](https://www.youtube.com/watch?v=-vawLSNdo-A&ab_channel=C%C3%B3digoFonteTV) - [Como eu aprenderia Data Science em 2022 (se começasse do zero) - Data Hackers](https://www.youtube.com/watch?v=K2Vu6E5Ybmo&ab_channel=DataHackers) - [Curso de Ciência de Dados (CCDD) 000 - Introdução ao Curso](https://www.youtube.com/watch?v=CiUumyrp7Ow&list=PLfCKf0-awunPFkWOKWNaXB_ndaHBlJ4QQ&ab_channel=Ignor%C3%A2nciaZero) - [Python para Data Science - #0 Apresentação e Ambiente](https://www.youtube.com/watch?v=WUuiEEuvgFE&list=PL3ZslI15yo2qCEmnYOa2sq6VQOzQ2CFhj&ab_channel=xavecoding) - [Mini-Curso: Introdução à Big Data e Data Science - Aula 1 - O que é Big Data](https://www.youtube.com/watch?v=8D20ZNTc-xA&list=PLrakQQfctUYUDaEsft9avwjbvemIEwiRQ&ab_channel=DiegoNogare) - [O que eu faria se tivesse que começar Ciência de Dados em 2022? | Comunidade DS | Meigarom Lopes](https://www.youtube.com/watch?v=0vbWEU9J3xs&ab_channel=SejaUmDataScientist) - [O que eu faria se tivesse que começar em Data Science hoje.](https://www.youtube.com/watch?v=VlYDWOfiFuc&ab_channel=SejaUmDataScientist) - [Aprenda tudo sobre Data Science, seus primeiros passos](https://www.youtube.com/watch?v=IQdISZCosAE&ab_channel=AluraCursosOnline) > Cursos para aprender Data Science em Inglês - [Top Courses to Learn Data Science Skills FAST!](https://www.youtube.com/watch?v=ho9vNL4MYZ8&ab_channel=ThuVudataanalytics) - [Data Science Full Course - Learn Data Science in 10 Hours | Data Science For Beginners | Edureka](https://www.youtube.com/watch?v=-ETQ97mXXF0&ab_channel=edureka%21) - [What is Data Science? | Free Data Science Course | Data Science for Beginners | codebasics](https://www.youtube.com/watch?v=JL_grPUnXzY&list=PLeo1K3hjS3us_ELKYSj_Fth2tIEkdKXvV&ab_channel=codebasics) - [Data Science Roadmap 2023 | Learn Data Science Skills in 6 Months](https://www.youtube.com/watch?v=eaFaD_IBYW4&ab_channel=codebasics) - [Learn Data Science Tutorial - Full Course for Beginners](https://www.youtube.com/watch?v=ua-CiDNNj30&ab_channel=freeCodeCamp.org) - [Reinforcement Learning in 3 Hours | Full Course using Python](https://www.youtube.com/watch?v=Mut_u40Sqz4&list=PLgNJO2hghbmid6heTu2Ar68CzJ344nUHy&ab_channel=NicholasRenotte) - [Statistics for Data Science | Probability and Statistics | Statistics Tutorial | Ph.D. (Stanford)](https://www.youtube.com/watch?v=Vfo5le26IhY&list=PLlgLmuG_KgbaXMKcISC-fdz7HUn1oKr9i&ab_channel=GreatLearning) - [How I Would Learn Data Science in 2022](https://www.youtube.com/watch?v=Rt6eb9VOFII&ab_channel=RecallbyDataiku) - [How I Would NOT Learn Data Science in 2023.](https://www.youtube.com/watch?v=t6CD1EwU5kc&ab_channel=KenJee) - [O que realmente é Ciência de Dados? Explicado por um Cientista de Dados](https://www.youtube.com/watch?v=xC-c7E5PK0Y&ab_channel=JomaTech) - [Statistics - A Full University Course on Data Science Basics](https://www.youtube.com/watch?v=xxpc-HPKN28&ab_channel=freeCodeCamp.org) - [A Day In The Life Of A Data Scientist](https://www.youtube.com/watch?v=Ck0ozfJV9-g&ab_channel=JomaTech) - [Data Science In 5 Minutes | Data Science For Beginners | What Is Data Science? | Simplilearn](https://www.youtube.com/watch?v=X3paOmcrTjQ&ab_channel=Simplilearn) - [Build 12 Data Science Apps with Python and Streamlit - Full Course](https://www.youtube.com/watch?v=JwSS70SZdyM&ab_channel=freeCodeCamp.org) - [Python for Data Science - Course for Beginners (Learn Python, Pandas, NumPy, Matplotlib)](https://www.youtube.com/watch?v=LHBE6Q9XlzI&ab_channel=freeCodeCamp.org) ## 🐙 Sites e cursos para aprender NumPy > Cursos para aprender NumPy em Português - [Curso Grátis - Se torne um Analista de Dados](https://www.youtube.com/watch?v=5kepfx0RquY&list=PL3Fmwz_E1hXRWxIkP843DiDf0ZeqgftTy&ab_channel=Gera%C3%A7%C3%A3oAnal%C3%ADtica) - [Como Sair do Zero com a Biblioteca Numpy no Python](https://www.youtube.com/watch?v=LZDZ0AZmWHI&ab_channel=HashtagPrograma%C3%A7%C3%A3o) > Cursos para aprender NumPy em Inglês - [NumPy Full Python Course - Data Science Fundamentals](https://www.youtube.com/watch?v=4c_mwnYdbhQ&ab_channel=NeuralNine) - [Python for Data Science - Course for Beginners (Learn Python, Pandas, NumPy, Matplotlib)](https://www.youtube.com/watch?v=LHBE6Q9XlzI&ab_channel=freeCodeCamp.org) - [Data Analysis with Python Course - Numpy, Pandas, Data Visualization](https://www.youtube.com/watch?v=GPVsHOlRBBI&ab_channel=freeCodeCamp.org) - [Introduction to NumPy Arrays for Beginners - Learn NumPy Series](https://www.youtube.com/watch?v=9fcTq8PDWWA&list=PLc_Ps3DdrcTuf3e-BBpDv8r9jbOB5Wdv-&ab_channel=DerrickSherrill) - [NumPy Python - What is NumPy in Python | Numpy Python tutorial in Hindi](https://www.youtube.com/watch?v=ZaKzw9tULeM&list=PLjVLYmrlmjGfgBKkIFBkMNGG7qyRfo00W&ab_channel=WsCubeTech) - [Introduction to Numpy and Scipy | Python Tutorials](https://www.youtube.com/watch?v=NVTWjd_UpzM&list=PLzgPDYo_3xukqLLjNeuCxj4CwvkJin03Z&ab_channel=Amulya%27sAcademy) - [Intro To Numpy - Numpy For Machine Learning 1](https://www.youtube.com/watch?v=gnKbAAVUzro&list=PLCC34OHNcOtpalASMlX2HHdsLNipyyhbK&ab_channel=Codemy.com) - [HOW TO INSTALL NUMPY - PYTHON PROGRAMMING](https://www.youtube.com/watch?v=8jBY5ior4W4&list=PLLOxZwkBK52BS9QmfiuJAGSoVikI5-1hN&ab_channel=SundeepSaradhiKanthety) - [NumPy Explained - Full Course (3 Hrs)](https://www.youtube.com/watch?v=eClQWW_gbFk&ab_channel=GormAnalysis) - [Python NumPy Tutorial for Beginners](https://www.youtube.com/watch?v=QUT1VHiLmmI&ab_channel=freeCodeCamp.org) - [Numpy Full Course | Numpy Tutorial | Python Tutorial For Beginners | Python Training | Simplilearn](https://www.youtube.com/watch?v=j31ah5Qa4QI&ab_channel=Simplilearn) - [Numpy Tutorial | Python Numpy Tutorial | Intellipaat](https://www.youtube.com/watch?v=DI8wg3SRV90&ab_channel=Intellipaat) - [Data Analysis with Python - Full Course for Beginners (Numpy, Pandas, Matplotlib, Seaborn)](https://www.youtube.com/watch?v=r-uOLxNrNk8&ab_channel=freeCodeCamp.org) - [NumPy Tutorial : Numpy Full Course](https://www.youtube.com/watch?v=8Y0qQEh7dJg&ab_channel=DerekBanas) - [Learn NUMPY in 5 minutes - BEST Python Library!](https://www.youtube.com/watch?v=xECXZ3tyONo&ab_channel=PythonProgrammer) - [Python Numpy Full Tutorial For Beginners | Numpy Full Course in 4 Hours](https://www.youtube.com/watch?v=-TYSM0CDA4c&ab_channel=WsCubeTech) - [NumPy for Beginners in 15 minutes | Python Crash Course](https://www.youtube.com/watch?v=uRsE5WGiKWo&ab_channel=NicholasRenotte) ## 🦃 Sites e cursos para aprender Pandas > Cursos para aprender Pandas em Português - [Curso de Pandas - Python - Introdução ao curso (versão ago/2020)](https://www.youtube.com/watch?v=1ua6uksg6wg&list=PL4OAe-tL47sa1McMctk5pdPd5eTAp3drk&ab_channel=Zurubabel) - [Introdução ao Pandas no Python - [SAIA DO ZERO EM 1 AULA]](https://www.youtube.com/watch?v=C0aj3FjN5e0&ab_channel=HashtagPrograma%C3%A7%C3%A3o) - [Curso Grátis - Se torne um Analista de Dados](https://www.youtube.com/watch?v=5kepfx0RquY&list=PL3Fmwz_E1hXRWxIkP843DiDf0ZeqgftTy&ab_channel=Gera%C3%A7%C3%A3oAnal%C3%ADtica) - [Manipulação de Dados em Python/Pandas - #00 Apresentação e Ambiente](https://www.youtube.com/watch?v=hD0uJln4S2Y&list=PL3ZslI15yo2pfkf7EGNR14xTwe-wZ2bNX&ab_channel=xavecoding) - [Curso para principiantes de Pandas para análisis de datos desde cero paso a paso en Python](https://www.youtube.com/watch?v=1CIZFu_qWvk&list=PLjdo6jnQHJFYUxftilqXD1pgzq9E9yJze&ab_channel=EscuelaDeBayes) - [Curso rápido completo de Pandas - Parte 1](https://www.youtube.com/watch?v=6vpDSD1wchA&ab_channel=UniversidadedosDados) - [Pandas do ZERO a ANÁLISE de DADOS | Dica de Pandas Python para Análise de Dados](https://www.youtube.com/watch?v=wnGsAOPKjLo&ab_channel=Programa%C3%A7%C3%A3oDin%C3%A2mica) - [Pandas (A Lib "Delicinha" para Data Science) - Dicionário do Programador](https://www.youtube.com/watch?v=yCtiqMRt4TQ&ab_channel=C%C3%B3digoFonteTV) > Cursos para aprender Pandas em Inglês - [Introduction to Pandas](https://www.youtube.com/watch?v=t4yBm9agYWo&list=PLFAYD0dt5xCxdKfIR3ZX3k07qrqEjUZSO&ab_channel=MachineLearningPlus) - [Pandas: free courses, books and learning resources.](https://www.youtube.com/watch?v=W0nC1yiL-VM&ab_channel=PythonProgrammer) - [Python Pandas Tutorial (Part 1): Getting Started with Data Analysis - Installation and Loading Data](https://www.youtube.com/watch?v=ZyhVh-qRZPA&list=PL-osiE80TeTsWmV9i9c58mdDCSskIFdDS&ab_channel=CoreySchafer) - [Python Pandas Tutorial 1. What is Pandas python? Introduction and Installation](https://www.youtube.com/watch?v=CmorAWRsCAw&list=PLeo1K3hjS3uuASpe-1LjfG5f14Bnozjwy&ab_channel=codebasics) - [Data Analysis with Python Course - Numpy, Pandas, Data Visualization](https://www.youtube.com/watch?v=GPVsHOlRBBI&ab_channel=freeCodeCamp.org) - [Data Analytics with Python](https://www.youtube.com/watch?v=4SJ7bEILPJk&list=PLLy_2iUCG87CNafffzNZPVa9rW-QmOmEv&ab_channel=IITRoorkeeJuly2018) - [Install Jupyter Notebook and Pandas - Pandas For Machine Learning 1](https://www.youtube.com/watch?v=fA0Ty562y8A&list=PLCC34OHNcOtqSz7Ke7kaYRf9CfviJgO55&ab_channel=Codemy.com) - [Pandas Tutorial : Pandas Full Course](https://www.youtube.com/watch?v=PcvsOaixUh8&ab_channel=DerekBanas) - [Data Analysis with Python - Full Course for Beginners (Numpy, Pandas, Matplotlib, Seaborn)](https://www.youtube.com/watch?v=r-uOLxNrNk8&ab_channel=freeCodeCamp.org) - [Complete Python Pandas Data Science Tutorial! (Reading CSV/Excel files, Sorting, Filtering, Groupby)](https://www.youtube.com/watch?v=vmEHCJofslg&ab_channel=KeithGalli) - [Pandas for Data Science in 20 Minutes | Python Crash Course](https://www.youtube.com/watch?v=tRKeLrwfUgU&ab_channel=NicholasRenotte) - [Learn pandas in 4 hours with this great (free) Kaggle course. Python for Data Science](https://www.youtube.com/watch?v=GU2mcHjLWlE&ab_channel=PythonProgrammer) ## 🐟 Sites e cursos para aprender XML > Cursos para aprender XML em Português - [XML - Dicionário do Programador](https://www.youtube.com/watch?v=h7W0UuRd4fc&ab_channel=C%C3%B3digoFonteTV) - [Curso de XML - Aula 01](https://www.youtube.com/watch?v=zqg38jy5yWQ&list=PLC1DD2110DBABA0E8&ab_channel=MarcosSouza) - [XML - Dicionário de Informática](https://www.youtube.com/watch?v=cwuosmEJuUQ&ab_channel=Dicion%C3%A1riodeInform%C3%A1tica) - [XML: Conceitos básicos](https://www.youtube.com/watch?v=LL3nWI2pM8E&ab_channel=Rog%C3%A9rioAra%C3%BAjo) > Cursos para aprender XML em Inglês - [What is XML | XML Beginner Tutorial | Learn XML with Demo in 10 min](https://www.youtube.com/watch?v=1JblVElt5K0&list=PLhW3qG5bs-L9DloLUPwC3GdFimY5Ce_gS&ab_channel=AutomationStepbyStep) - [XML Tutorial 1 Introduction](https://www.youtube.com/watch?v=YX-Arx4TBmU&list=PLbhnirpS9esXfdfZ0mapojvDycQBAIx-C&ab_channel=mrfizzlebutt) - [XML Tutorial for Beginners Theory](https://www.youtube.com/watch?v=n-y-YHVZSwk&list=PLmdFG1KSZhosqwkP-BCtcMq0KubZ4v1Cm&ab_channel=Telusko) - [XML Tutorial For Beginners | XML Tutorial | What Is XML? | Learn XML For Beginners | Simplilearn](https://www.youtube.com/watch?v=E-NciVkZFVs&ab_channel=Simplilearn) ## 🦢 Sites e cursos para aprender Jenkins > Cursos para aprender Jenkins em Português - [O básico de Pipelines CI/CD com Jenkins](https://www.youtube.com/watch?v=O6y27_Ol25g&ab_channel=Fabr%C3%ADcioVeronez) - [Curso de Jenkins - 01 Instalação](https://www.youtube.com/watch?v=8iLRsb2gXXY&ab_channel=MarceloGomesdePaula) - [Jenkins: O mínimo que você precisa saber](https://www.youtube.com/watch?v=8OfhS5f7jIY&ab_channel=FullCycle) > Cursos para aprender Jenkins em Inglês - [Jenkins Full Course | Jenkins Tutorial For Beginners | Jenkins Tutorial | Simplilearn](https://www.youtube.com/watch?v=FX322RVNGj4&ab_channel=Simplilearn) - [Learn Jenkins! Complete Jenkins Course - Zero to Hero](https://www.youtube.com/watch?v=6YZvp2GwT0A&ab_channel=DevOpsJourney) - [Jenkins Tutorial – How to Deploy a Test Server with Docker + Linux (Full Course)](https://www.youtube.com/watch?v=f4idgaq2VqA&ab_channel=freeCodeCamp.org) - [What Is Jenkins? | What Is Jenkins And How It Works? | Jenkins Tutorial For Beginners | Simplilearn](https://www.youtube.com/watch?v=LFDrDnKPOTg&ab_channel=Simplilearn) - [Complete Jenkins Pipeline Tutorial | Jenkinsfile explained](https://www.youtube.com/watch?v=7KCS70sCoK0&ab_channel=TechWorldwithNana) - [Jenkins pipeline// Advanced Tutorial // May2020- Session 1 (Part 1 Out 3 ) by DevOpsSchool](https://www.youtube.com/watch?v=v0nZnp0FUzs&list=PL0xeHY_ImQVXcCAu0PSdWKERIu4xLGo7N&ab_channel=AiOps%26MLOpsSchool) - [Deployment Overview | Jenkins](https://www.youtube.com/watch?v=813eFgtceio&list=PLRVv68RjliSfxKab5wJ3dYW7ZtlMPBoJ4&ab_channel=KubernetesAWSJenkinsCafe) - [Part 1 - An Introduction to Jenkins 2.0 for Build+Deploy+Test](https://www.youtube.com/watch?v=HZOII16W0oY&list=PL6tu16kXT9PqIe2b0BGul-cXbmwGt7Ihw&ab_channel=ExecuteAutomation) - [Jenkins Beginner Tutorial 1 - Introduction and Getting Started](https://www.youtube.com/watch?v=89yWXXIOisk&list=PLhW3qG5bs-L_ZCOA4zNPSoGbnVQ-rp_dG&ab_channel=AutomationStepbyStep) - [Jenkins Full Course | Jenkins Tutorial For Beginners | Learn Jenkins Step By Step | Simplilearn](https://www.youtube.com/watch?v=MayMkFCkzj4&ab_channel=Simplilearn) - [Jenkins Full Course in 4 Hours | Jenkins Tutorial For Beginners | DevOps Training | Edureka](https://www.youtube.com/watch?v=3a8KsB5wJDE&ab_channel=edureka%21) - [Jenkins Tutorial For Beginners 1 - Introduction to Jenkins](https://www.youtube.com/watch?v=yz3tyeA3Fe0&list=PLS1QulWo1RIbY8xXPqz6ad_sNHkIP3IXI&ab_channel=ProgrammingKnowledge) - [Jenkins 2021 Masterclass | Step by Step for Beginners | Interview Questions | Raghav Pal |](https://www.youtube.com/watch?v=woMAXn4e8NA&ab_channel=AutomationStepbyStep) - [Jenkins Tutorial | Jenkins Course For Developers and DevOps](https://www.youtube.com/watch?v=BvUkXrAAqjE&ab_channel=ProgrammingKnowledge) - [Free Jenkins CI course for beginners | Learn Jenkins CI / CD tool in one video.](https://www.youtube.com/watch?v=zhDTF_vjkuQ&ab_channel=TravelsCode) ## 🦤 Sites e cursos para aprender Xamarin > Cursos para aprender Xamarin em Português - [Curso de C# Xamarin - Aula 01 - Android, IOS e Windows Phone com C#](https://www.youtube.com/watch?v=d2tBuQEZtH8&list=PLxNM4ef1BpxjmpXgb-_0W6hUxjbgbI0PQ&ab_channel=PortalHugoCursos) - [Xamarin (o concorrente do Flutter e React Native) - Dicionário do Programador](https://www.youtube.com/watch?v=rtuywS2fG2Y&ab_channel=C%C3%B3digoFonteTV) > Cursos para aprender Xamarin em Inglês - [Kill Kotlin and Swift, Use C# Instead - Welcome to Xamarin.Forms!](https://www.youtube.com/watch?v=9eM9T5svYHw&list=PLdkt3RKz_b0zd3FHevP5Bd2vZYIwq12pF&ab_channel=EduardoRosas) - [Xamarin Android Tutorial - Linear Layout](https://www.youtube.com/watch?v=Wj-WT4uWlKA&list=PLaoF-xhnnrRVglZztNl99ih76fvBOLMe8&ab_channel=EDMTDev) - [Xamarin Forms #0- Introduction](https://www.youtube.com/watch?v=e6LeoYD1A1I&list=PL0CKdD7TV8pG0kNyfWO5LFqeU6J6Zj_49&ab_channel=Mikaelson) - [Xamarin Forms Tutorial: Build Native Mobile Apps with C#](https://www.youtube.com/watch?v=93ZU6j59wL4&ab_channel=ProgrammingwithMosh) ## 🦁 Sites e cursos para aprender Matlab > Cursos para aprender Matlab em Português - [Curso de MATLAB #01 - Introdução](https://www.youtube.com/watch?v=da0qJnleaEQ&list=PLE1UtdMhwaEobcUPjpo27o5HxeBSYjLEs&ab_channel=2001Engenharia) - [Aula 01- Apresentação do curso e do Ambiente do MATLAB](https://www.youtube.com/watch?v=XyNI0-DP-0o&list=PLJoR6gvpdNEZLB-Epf9csRTLhubXSnrzs&ab_channel=CarlosRonyheltonSantanadeOliveira) - [Curso de MATLAB - Introdução](https://www.youtube.com/watch?v=88NQiUU6khY&list=PLlx81VEju6qAUUSE3M6NlFoFnrSSqR59-&ab_channel=LASI-) - [Introdução ao Matlab para Engenharia # 001](https://www.youtube.com/watch?v=-8lHG5lX4Fg&list=PLALkrMtuSoe-0mVxznaj9NKosBUFKL7pr&ab_channel=SergioA.Casta%C3%B1oGiraldo-Brasil) - [Apresentação e Estrutura do Curso - Curso de Matlab - PETEE UFMG](https://www.youtube.com/watch?v=3366RoF1WaA&list=PL73kW0L8uzCK2qFoaY4Rur2FUetnNoUze&ab_channel=PETEEUFMG) > Cursos para aprender Matlab em Inglês - [The Complete MATLAB Course: Beginner to Advanced!](https://www.youtube.com/watch?v=T_ekAD7U-wU&ab_channel=JosephDelgadillo) - [Matlab Online Tutorial - 01 - The User Interface, Part 1](https://www.youtube.com/watch?v=w1cnxqBaljA&list=PLnVYEpTNGNtX6FcQm90I0WXdvhoEJPp3p&ab_channel=MathandScience) - [Learn MATLAB Episode #1: Installation & Resources](https://www.youtube.com/watch?v=nmyJTiZ3NeE&list=PLYmlEoSHldN4bz5WY7e0OvXQ90E_xUOmz&ab_channel=JosephDelgadillo) - [MATLAB Crash Course for Beginners](https://www.youtube.com/watch?v=7f50sQYjNRA&ab_channel=freeCodeCamp.org) - [Lesson 1: 1. Introduction (Old version)](https://www.youtube.com/watch?v=6iN56l7dEMY&list=PLYdXvSx87cgRJfv6gZl7GjAs0GNvyg-uS&ab_channel=FitzleLLC) - [What is MATLAB? & How It Works | MATLAB Features & Types | MATLAB Tutorial for Beginners](https://www.youtube.com/watch?v=0x4JhS1YpzI&list=PLjVLYmrlmjGcNZrPa9bRg0JVlcxLX4Mu9&ab_channel=WsCubeTech) ## 🪲 Sites e cursos para aprender Julia > Cursos para aprender Julia em Português - [Julia Lang (A Mistura de Linguagens que Deu Certo) - Dicionário do Programador](https://www.youtube.com/watch?v=Xzdg9czOxD8&ab_channel=C%C3%B3digoFonteTV) - [Uma LINGUAGEM para CIÊNCIA de DADOS? | Handshake #24 | Programe na Linguagem Julia](https://www.youtube.com/watch?v=Tj0CUAyxjck&list=PL5TJqBvpXQv4cAynxaIyclmpZ95g-gtqQ&ab_channel=Programa%C3%A7%C3%A3oDin%C3%A2mica) - [Linguagem de Programação Julia - Primeiras Impressões](https://www.youtube.com/watch?v=G2tYt3IKbXA&ab_channel=CaioDallaqua) - [Estrutura Básica | Linguagem Julia](https://www.youtube.com/watch?v=h0ubpGRtBUI&ab_channel=FilipeBraida) - [Tutoriais de Julia em Português - Super Tutorial do Básico](https://www.youtube.com/watch?v=Gmm5voUQaHw&ab_channel=AbelSiqueira) > Cursos para aprender Julia em Inglês - [Julia Tutorial | Julia Data Science Basic Full Course [Complete Tutorial] for Beginners [2019]](https://www.youtube.com/watch?v=lwj-1mclq0U&ab_channel=AbhishekAgarrwal) - [A Gentle Introduction to Julia](https://www.youtube.com/watch?v=4igzy3bGVkQ&list=PLP8iPy9hna6SCcFv3FvY_qjAmtTsNYHQE&ab_channel=TheJuliaProgrammingLanguage) - [The Continuing Advancements of Scientific Machine Learning (SciML) | 2022 DigiWell Julia Seminar](https://www.youtube.com/watch?v=yHiyJQdWBY8&ab_channel=TheJuliaProgrammingLanguage) - [Julia for Data Science - Video 0: Welcome, by Dr. Huda Nassar (for JuliaAcademy.com)](https://www.youtube.com/watch?v=AXgLWumAOhk&list=PLP8iPy9hna6QuDTt11Xxonnfal91JhqjO&ab_channel=TheJuliaProgrammingLanguage) - [Julia in 100 Seconds](https://www.youtube.com/watch?v=JYs_94znYy0&ab_channel=Fireship) - [JULIA COURSE FOR COMPLETE BEGINERS](https://www.youtube.com/watch?v=2apwJKYOdZo&ab_channel=F-Course) ## 🐨 Sites e cursos para aprender PowerShell > Cursos para aprender Powershell em Português - [PowerShell - Fundamentos](https://www.youtube.com/playlist?list=PLO_mlVzHgDw3EIKrT5rma_rmC4Lcc7ihT) - [Tutoriais de Windows PowerShell](https://www.youtube.com/playlist?list=PLucm8g_ezqNpdK1sHdiDC3T8VMANcT5WZ) - [PowerShell - ProfessorRamos](https://www.youtube.com/playlist?list=PL35Zp8zig6slB_EaLbwKP57L9weBfICtS) - [Curso Windows PowerShell - Bóson Treinamentos](https://www.youtube.com/playlist?list=PLs8UzdP13z6oEUoENIGkBQf1b2AtZcyoB) > Cursos para aprender Powershell em Espanhol - [Curso PowerShell 2022](https://www.youtube.com/playlist?list=PLn98b7UTDjb1h5_LCHXyeJR8nrPeTaSBM) - [Curso de PowerShell en Español](https://www.youtube.com/playlist?list=PLs3CpSZ8xiuS-qgB7SgrMoDaJcFY88EIA) > Cursos para aprender Powershell em Inglês - [PowerShell Master Class](https://www.youtube.com/playlist?list=PLlVtbbG169nFq_hR7FcMYg32xsSAObuq8) - [PowerShell For Beginners Full Course](https://www.youtube.com/watch?v=UVUd9_k9C6A&ab_channel=Nerd%27slesson) - [Powershell Advanced Tools and Scripting Full Course](https://www.youtube.com/watch?v=K4YDHFalAK8&ab_channel=Nerd%27slesson) - [PowerShell Master Class - PowerShell Fundamentals](https://www.youtube.com/watch?v=sQm4zRvvX58&ab_channel=JohnSavill%27sTechnicalTraining) ## 🐥 Sites e cursos para aprender Flask > Cursos para aprender Flask em Português - [Introdução - Curso de Flask](https://www.youtube.com/watch?v=r40pC9kyoj0&list=PL3BqW_m3m6a05ALSBW02qDXmfDKIip2KX&ab_channel=J%C3%BAliaRizza) - [Curso Flask - Aula 00 - Início](https://www.youtube.com/watch?v=MysMy8aV2NA&list=PLWhiA_CuQkbBhvPojHOPY81BmDt2eSfgI&ab_channel=FilipeMorelliDeveloper) - [Curso Programação - Como Criar um Site em Python com Flask mysql - 2022 - 01](https://www.youtube.com/watch?v=__cux2CPBN4&list=PL2Dw5PtrD32wC32rRLJSueOFPRgekHxNG&ab_channel=Cursosdeprograma%C3%A7%C3%A3o) - [Como Criar e Publicar um Site em Python com Flask](https://www.youtube.com/watch?v=K2ejI4z8Mbg&ab_channel=HashtagPrograma%C3%A7%C3%A3o) - [Curso Programação - Criando Uma loja online em python usando o framework flask - 01](https://www.youtube.com/watch?v=h5XFtuBlrT4&ab_channel=Cursosdeprograma%C3%A7%C3%A3o) - [Desenvolvimento Web com Python (Flask Framework)](https://www.youtube.com/watch?v=rGT5lG71pMQ&ab_channel=DankiCode) - [Curso de Flask 2020 - Parte 1 (Introducción).](https://www.youtube.com/watch?v=Yz1gUwXPPJw&list=PLuB3bC9rWQAsHK6rL87Vz9mfMIlk4ewwL&ab_channel=MundoPython) - [Flask (Micro Framework Web para Python) - Dicionário do Programador](https://www.youtube.com/watch?v=e9EPb5AoMf8&ab_channel=C%C3%B3digoFonteTV) > Cursos para aprender Flask em Inglês - [Flask Course - Python Web Application Development](https://www.youtube.com/watch?v=Qr4QMBUPxWo&ab_channel=freeCodeCamp.org) - [Building your first Flask app - Python on the web - Learning Flask series Pt. 1](https://www.youtube.com/watch?v=BUmUV8YOzgM&list=PLF2JzgCW6-YY_TZCmBrbOpgx5pSNBD0_L&ab_channel=JulianNash) - [Python Flask Tutorial: Full-Featured Web App Part 1 - Getting Started](https://www.youtube.com/watch?v=MwZwr5Tvyxo&list=PL-osiE80TeTs4UjLw5MM6OjgkjFeUxCYH&ab_channel=CoreySchafer) - [Python Flask Tutorial 1 - Introduction + Getting Started With Flask](https://www.youtube.com/watch?v=Kja_28SNIow&list=PLS1QulWo1RIZ6OujqIAXmLR3xsDn_ENHI&ab_channel=ProgrammingKnowledge) - [Python Website Full Tutorial - Flask, Authentication, Databases & More](https://www.youtube.com/watch?v=dam0GPOAvVI&ab_channel=TechWithTim) - [Flask Full Series - Web Application Development with Python - Introduction - Episode 1](https://www.youtube.com/watch?v=p068JokuThU&list=PLOkVupluCIjuPtTkhO6jmA76uQR994Wvi&ab_channel=JimShapedCoding) - [Learn Flask for Python - Full Tutorial](https://www.youtube.com/watch?v=Z1RJmh_OqeA&ab_channel=freeCodeCamp.org) - [Flask Tutorial #1 - How to Make Websites with Python](https://www.youtube.com/watch?v=mqhxxeeTbu0&list=PLzMcBGfZo4-n4vJJybUVV3Un_NFS5EOgX&ab_channel=TechWithTim) - [Flask [ Python Microframework ] Crash Course 2021 For Beginners](https://www.youtube.com/watch?v=3U1iHcqijCA&ab_channel=BekBrace) - [Make A Python Website As Fast As Possible!](https://www.youtube.com/watch?v=kng-mJJby8g&ab_channel=TechWithTim) ## 🐔 Sites e cursos para aprender Spring > Cursos para aprender Spring em Português - [Spring Boot | Curso Completo 2022](https://www.youtube.com/watch?v=LXRU-Z36GEU&ab_channel=MichelliBrito) - [Curso Spring - Introdução - Parte 1 de 6 (Tutorial)](https://www.youtube.com/watch?v=KIoMhHiap88&list=PLmPk8AhMVhETu1h9ZgVZyvquzrY4BwVWS&ab_channel=AprendaProgramarEmMinutos) - [Curso Spring Boot aula 01: Iniciando uma aplicação Spring Boot](https://www.youtube.com/watch?v=OHn1jLHGptw&list=PL8iIphQOyG-DHLpEx1TPItqJamy08fs1D&ab_channel=MichelliBrito) - [O que é Spring Framework? #Hipsterspontotube](https://www.youtube.com/watch?v=5XPojnx9bb8&ab_channel=AluraCursosOnline) - [Spring Boot Essentials 2 - Introdução ao curso.](https://www.youtube.com/watch?v=bCzsSXE4Jzg&list=PL62G310vn6nFBIxp6ZwGnm8xMcGE3VA5H&ab_channel=DevDojo) > Cursos para aprender Spring em Inglês - [Spring Boot Tutorial | Full Course [2022] [NEW]](https://www.youtube.com/watch?v=9SGDpanrc8U&ab_channel=Amigoscode) - [Spring framework Tutorial (001 Spring Framework Master Class Preview)](https://www.youtube.com/watch?v=MHoFSfXGX_A&list=PLw_k9CF7hBpJJsRWAhwSrDlWAzuMV0irl&ab_channel=FreeOnlineCourses) - [Spring Framework Course Overview | Content to cover | Prerequisite | Spring Tutorial in HINDI](https://www.youtube.com/watch?v=KRMNTudb0AY&list=PL0zysOflRCekeiERASkpi-crREVensZGS&ab_channel=LearnCodeWithDurgesh) - [Spring Boot Tutorial | Full Course [2022]](https://www.youtube.com/watch?v=slTUtTSwRKU&list=PLGRDMO4rOGcNSBOJOlrgQqGpIgo6_VZgR&ab_channel=JavaGuides) - [Spring framework tutorial for beginners with examples in eclipse | Why spring inversion of control ?](https://www.youtube.com/watch?v=r2Q0Jzl2qMQ&list=PL3NrzZBjk6m-nYX072dSaGfyCJ59Q5TEi&ab_channel=SeleniumExpress) - [Spring Boot Complete Tutorial - Master Class](https://www.youtube.com/watch?v=zvR-Oif_nxg&ab_channel=DailyCodeBuffer) - [Spring Full Course - Learn Spring Framework In 3 Hours | Spring Framework Tutorial | Simplilearn](https://www.youtube.com/watch?v=j3byTqx7KDE&ab_channel=Simplilearn) - [Spring Boot Tutorial for Beginners (Java Framework)](https://www.youtube.com/watch?v=vtPkZShrvXQ&ab_channel=freeCodeCamp.org) - [5 Spring Boot Projects in 10 Hours - Line by Line Coding](https://www.youtube.com/watch?v=VR1zoNomG3w&ab_channel=JavaGuides) - [Spring Boot Roadmap - How To Master Spring Boot](https://www.youtube.com/watch?v=cehTm_oSrqA&ab_channel=Amigoscode) - [Spring Security | FULL COURSE](https://www.youtube.com/watch?v=her_7pa0vrg&ab_channel=Amigoscode) - [Spring Boot Full Stack with Angular | Full Course [2021] [NEW]](https://www.youtube.com/watch?v=Gx4iBLKLVHk&ab_channel=Amigoscode) - [Spring Framework Tutorial for Beginners - Full Course](https://www.youtube.com/watch?v=QqBl92wZafo&ab_channel=TechCode) - [Spring Framework Tutorial | Full Course](https://www.youtube.com/watch?v=If1Lw4pLLEo&ab_channel=Telusko) - [Spring Full Course - Learn Spring Framework in 4 Hours | Spring Framework Tutorial | Edureka](https://www.youtube.com/watch?v=VvGjZgqojMc&ab_channel=edureka%21) - [Spring Core Tutorial in one Video | Learn Spring Core step by step in Hindi](https://www.youtube.com/watch?v=XQd_D19fPvs&ab_channel=LearnCodeWithDurgesh) - [Spring Boot Microservice Project Full Course in 6 Hours](https://www.youtube.com/watch?v=mPPhcU7oWDU&ab_channel=ProgrammingTechie) - [Spring Boot - Learn Spring Boot 3 (2 Hours)](https://www.youtube.com/watch?v=-mwpoE0x0JQ&ab_channel=Amigoscode) - [Spring Security Tutorial - [NEW] [2023]](https://www.youtube.com/watch?v=b9O9NI-RJ3o&ab_channel=Amigoscode) ## 🐗 Sites e cursos para aprender Tailwind CSS > Cursos para aprender Tailwind CSS em Português - [Curso gratuito Tailwind CSS #1 - Introdução e instalação](https://www.youtube.com/watch?v=1eLaBow7Zbo&list=PLcoYAcR89n-r1m-tMfV4qndrRWpT_rb9u&ab_channel=TiagoMatos) - [Tailwind CSS - Curso rápido](https://www.youtube.com/watch?v=1qH3wAtX4So&ab_channel=RicardoSanches) - [Tailwind CSS // Dicionário do Programador](https://www.youtube.com/watch?v=i_EKstz3x04&ab_channel=C%C3%B3digoFonteTV) - [Como começar no Tailwind CSS 3.0?](https://www.youtube.com/watch?v=mK_19iqznc8&ab_channel=EmersonBr%C3%B4ga) - [Aprenda Tailwind CSS recriando a interface do Insta!](https://www.youtube.com/watch?v=48TaQMfD8fo&ab_channel=C%C3%B3digoEscola) > Cursos para aprender Tailwind CSS em Inglês - [Tailwind CSS Full Course for Beginners | Complete All-in-One Tutorial | 3 Hours](https://www.youtube.com/watch?v=lCxcTsOHrjo&ab_channel=DaveGray) - [Tailwind CSS Tutorial #1 - Intro & Setup](https://www.youtube.com/watch?v=bxmDnn7lrnk&list=PL4cUxeGkcC9gpXORlEHjc5bgnIi5HEGhw&ab_channel=TheNetNinja) - [Tailwind in 100 Seconds](https://www.youtube.com/watch?v=mr15Xzb1Ook&list=PLro89l7qVjR_aPxpjPH6V3YjckCbuvDzm&ab_channel=Fireship) - [Learn Tailwind CSS – Course for Beginners](https://www.youtube.com/watch?v=ft30zcMlFao&ab_channel=freeCodeCamp.org) - [Build and Deploy a Fully Responsive Website with Modern UI/UX in React JS with Tailwind](https://www.youtube.com/watch?v=_oO4Qi5aVZs&ab_channel=JavaScriptMastery) - [Course Intro – Tailwind CSS v2.0: From Zero to Production](https://www.youtube.com/watch?v=elgqxmdVms8&list=PL5f_mz_zU5eXWYDXHUDOLBE0scnuJofO0&ab_channel=TailwindLabs) - [Ultimate Tailwind CSS Tutorial // Build a Discord-inspired Animated Navbar](https://www.youtube.com/watch?v=pfaSUYaSgRo&ab_channel=Fireship) - [Tailwind CSS 3 Crash Course](https://www.youtube.com/watch?v=LyRWNJK8I6U&ab_channel=codedamn) - [Tailwind in 100 Seconds](https://www.youtube.com/watch?v=mr15Xzb1Ook&ab_channel=Fireship) ## 🦐 Sites e cursos para aprender Styled Components > Cursos para aprender Styled Components em Português - [Styled Components, por onde começar? Os poderes do CSS in JS](https://www.youtube.com/watch?v=QdfjWRc4ySA&ab_channel=MarioSouto-DevSoutinho) - [Como utilizar Styled Components no React | CSS no React | Criando App com React](https://www.youtube.com/watch?v=KP5AsH_j21U&ab_channel=RodolfoMori) - [Styled Components (O construtor de elementos do React) // Dicionário do Programador](https://www.youtube.com/watch?v=p4jYFJNEyqA&ab_channel=C%C3%B3digoFonteTV) - [Aprenda Styled Components avançado do jeito fácil!](https://www.youtube.com/watch?v=Rbe8fqdc6T4&ab_channel=ArielBetti) - [Utilizando Styled Components (CSS-in-JS) no ReactJS e React Native | Diego Fernandes](https://www.youtube.com/watch?v=R3S8DEzEn6s&ab_channel=Rocketseat) - [Como Usar CSS e Estilizar Componentes no React JS - Styled Components](https://www.youtube.com/watch?v=j_cLz_A2odI&ab_channel=ProgramadorEspartano) > Cursos para aprender Styled Components em Inglês - [CSS-in-JS com Styled Components no React Native | Decode #25](https://www.youtube.com/watch?v=ZsVGOmZLgec&ab_channel=Rocketseat) - [Styled Components Crash Course & Project](https://www.youtube.com/watch?v=02zO0hZmwnw&ab_channel=TraversyMedia) - [React Styled Components - 1 - Introduction](https://www.youtube.com/watch?v=FSCSdAlLsYM&list=PLC3y8-rFHvwgu-G08-7ovbN9EyhF_cltM&ab_channel=Codevolution) - [Styled Components Is the Only Way To Do CSS](https://www.youtube.com/watch?v=54-hITMASgM&ab_channel=EngineerMan) - [Styled Components Full Tutorial - Style Your Components in React](https://www.youtube.com/watch?v=-FZzPHSLauc&ab_channel=PedroTech) - [React Styled Components Library Tutorial](https://www.youtube.com/watch?v=CDVEXZP0ki4&ab_channel=LaithAcademy) - [Styled Components - Beginners Tutorial](https://www.youtube.com/watch?v=vKI5aEsvch8&ab_channel=MonsterlessonsAcademy) - [React Hooks Tutorial - A Crash Course on Styled Components, JSX, React Router, and HOC](https://www.youtube.com/watch?v=iVRO0toVdYM&ab_channel=freeCodeCamp.org) - [Understanding the Styled Components Basics - with React](https://www.youtube.com/watch?v=nkfaZ8ctzpE&ab_channel=DailyTuition) ## 🐎 Sites e cursos para aprender Magento > Cursos para aprender Magento em Português - [Curso de Magento - Aula 1 – Introdução e Download](https://www.youtube.com/watch?v=iDl0IiJt7mQ&list=PLpEvhvupz-uQiY_aD5GGCChNLJMdZF4hS&ab_channel=iConectado-CursosOnline) - [Como Instalar o Magento 2 (Tutorial em Português)](https://www.youtube.com/watch?v=8jcy4YxaI5s&list=PLDwV4OI4NbD1abkoGuLFScvGBvgbHwihR&ab_channel=MestreMagento) - [Aula 1 - Magento 2 Curso de Desenvolvimento de Módulo](https://www.youtube.com/watch?v=MHFz2t1aVug&list=PLAB1CVlnN7Lv2nxe3JkVaGfKFOUfqyuuN&ab_channel=AbraaoMarques) - [Aula 01 - Cadastro de Categorias Magento 2](https://www.youtube.com/watch?v=qCgpHmeXadM&list=PL1KgCGp7BEH6T_91GdpjmZeIHN_pdr_MM&ab_channel=ECOM-DPlataformaparaLojasVirtuais) - [Curso de Magento - Aula 01 - Introdução ao Curso de Magento](https://www.youtube.com/watch?v=kK9D2wvv9jE&list=PLxNM4ef1Bpxi7fkqIK0RfY3bj-sTEFsDZ&ab_channel=PortalHugoCursos) > Cursos para aprender Magento em Inglês - [The complete Magento2 course](https://www.youtube.com/watch?v=zsasXJTbG5k&ab_channel=TechReview) - [Magento 2 Beginner Class, Lesson #1: Introduction to Magento 2](https://www.youtube.com/watch?v=u81X-sjgmQ0&list=PLtaXuX0nEZk9eL59JGE3ny-_GAU-z5X5D&ab_channel=OSTraining) - [How to Setup Magento on Your Computer 01/10 | Magento 2 Tutorials for Beginners (2019) | MageCafe](https://www.youtube.com/watch?v=XwXWg5fU7tY&list=PLeoWPZvrjokdF3KGMiEFuLXLIu1l2xlvd&ab_channel=Codilar%7CMagentoDevelopmentCompanyIndia) - [Magento 2 Project Overview for Beginner Developers](https://www.youtube.com/watch?v=yT6CGzt6eLM&ab_channel=MaxPronko) - [Magento 2 Introduction](https://www.youtube.com/watch?v=y6i-dVHN2vU&list=PLju9v8YUzEuzYxXrF8ucXwxW_Xcgu1dYd&ab_channel=AstralWebInc.) - [how to Install Magento 2](https://www.youtube.com/watch?v=4FYd6lRRATA&list=PL9Q0S-CmtAhJVjwnK5ip6H84sCuRQcACY&ab_channel=AlaaAl-Maliki) - [Lesson 4: A Module in Magento 2 | Magento 2 for Beginners | Mage Mastery](https://www.youtube.com/watch?v=CGEWkApKGbQ&list=PLwcl8DqLMv9cF8XBYeGDnelmV0UqO2xAJ&ab_channel=MaxPronko) - [Beginner to Certified - The Path of a Magento Developer](https://www.youtube.com/watch?v=RPCh2ca0EIg&ab_channel=MarkShust) - [How to prepare for Magento Certification Exams? (Tips and Tricks)](https://www.youtube.com/watch?v=Zq6xpA7dHpE&ab_channel=BartTv) ## 🐜 Sites e cursos para aprender ArangoDB > Cursos para aprender ArangoDB em Português - - [Introdução ao ArangoDB através do Python Português](https://www.youtube.com/watch?v=umgJygSY2V0&ab_channel=ArangoDB) - - [Introdução ao banco de dados NOSQL - ArangoDB](https://www.youtube.com/watch?v=v45go6zNNkY&ab_channel=DanielFerreira) > Cursos para aprender ArangoDB em Inglês - - [ArangoDB Tutorial - Databases every developer should know about](https://www.youtube.com/watch?v=4C4zqhXwCKs&ab_channel=LearnCode.academy) - - [ArangoDB Dev Days 2021: Lessons Learned: Creating a Complete ERP-System with ArangoDB](https://www.youtube.com/watch?v=j3EVRtD3LBE&ab_channel=ArangoDB) - - [ArangoDB Graph Database Syntax Part 1 - Traversal](https://www.youtube.com/watch?v=0U8TfLOp184&ab_channel=ArangoDB) - - [Custom Pregel in ArangoDB Feature Preview and Demo](https://www.youtube.com/watch?v=DWJ-nWUxsO8&ab_channel=ArangoDB) - - [Introduction to ArangoDB Oasis](https://www.youtube.com/watch?v=0xzn1eOYnTU&ab_channel=ArangoDB) - - [Fundamentals and Best Practices of ArangoDB Cluster Administration](https://www.youtube.com/watch?v=RQ33fkgUg64&ab_channel=ArangoDB) - - [Learn all about the new Search Engine ArangoSearch in ArangoDB 3.4](https://www.youtube.com/watch?v=iDznGhelajY&ab_channel=ArangoDB) - - [ArangoDB - How to Install and Use ArangoDB Database on Windows](https://www.youtube.com/watch?v=M-7hB-4kHtk&ab_channel=DevNami) - - [GraphQL and ArangoDB](https://www.youtube.com/watch?v=vaUdiWU-src&ab_channel=ArangoDB) ## 📚 Sites e cursos para aprender Linha de comando > Cursos para aprender Bash em Português - [Curso Básico de Bash](https://www.youtube.com/playlist?list=PLXoSGejyuQGpf4X-NdGjvSlEFZhn2f2H7) - [Curso intensivo de programação em Bash](https://www.youtube.com/playlist?list=PLXoSGejyuQGr53w4IzUzbPCqR4HPOHjAI) - [Curso de Shell Scripting - Programação no Linux](https://www.youtube.com/playlist?list=PLucm8g_ezqNrYgjXC8_CgbvHbvI7dDfhs) - [Curso de Terminal Linux - Daniel Berg](https://www.youtube.com/playlist?list=PLbV6TI03ZWYXXwbP2TNTbviUaFh6YqqVt) - [Curso de Linux Avançado Terminal - Dicas do Guarapa](https://www.youtube.com/playlist?list=PLGw1E40BSQnRZufbzjGVzkH-O8SngPymp) - [Comandos para o terminal (Windows, macOS e Linux) - Lucas Caton](https://www.lucascaton.com.br/2018/01/07/comandos-para-o-terminal-windows-macos-e-linux) > Cursos para aprender Bash em Espanhol - [Curso Profesional de Scripting Bash Shell](https://www.youtube.com/playlist?list=PLDbrnXa6SAzUsIAqsjVOeyagmmAvmwsG2) - [Curso Linux: Comandos Básicos [Introducción al Shell BASH]](https://www.youtube.com/playlist?list=PLN9u6FzF6DLTRhmLLT-ILqEtDQvVf-ChM) > Cursos para aprender Bash em Inglês - [Bash Scripting Full Course 3 Hours](https://www.youtube.com/watch?v=e7BufAVwDiM&ab_channel=linuxhint) - [Linux Command Line Full course: Beginners to Experts. Bash Command Line Tutorials](https://www.youtube.com/watch?v=2PGnYjbYuUo&ab_channel=Geek%27sLesson) - [Bash in 100 Seconds](https://www.youtube.com/watch?v=I4EWvMFj37g&ab_channel=Fireship) - [Bash Script with Practical Examples | Full Course](https://www.youtube.com/watch?v=TPRSJbtfK4M&ab_channel=Amigoscode) - [Beginner's Guide to the Bash Terminal](https://www.youtube.com/watch?v=oxuRxtrO2Ag&ab_channel=JoeCollins) - [212 Bash Scripting Examples](https://www.youtube.com/watch?v=q2z-MRoNbgM&ab_channel=linuxhint) - [Linux Bash for beginners 2022](https://www.youtube.com/watch?v=qALScO3E61I&ab_channel=GPS) - [Bash scripting tutorial for beginners](https://www.youtube.com/watch?v=9T2nEXlLy9o&ab_channel=FortifySolutions) - [Linux CLI Crash Course - Fundamentals of Bash Shell](https://www.youtube.com/watch?v=S99sQLravYo&ab_channel=codedamn) - [Shell Scripting](https://www.youtube.com/playlist?list=PLBf0hzazHTGMJzHon4YXGscxUvsFpxrZT) - [Shell Scripting Tutorial for Beginners](https://www.youtube.com/playlist?list=PLS1QulWo1RIYmaxcEqw5JhK3b-6rgdWO_) - [Bash Scripting | Complete Course](https://www.youtube.com/playlist?list=PLgmzaUQcOhaqQjXaqz7Ky5a_xj_8OlCK4) - [Complete Shell Scripting Tutorials](https://www.youtube.com/playlist?list=PL2qzCKTbjutJRM7K_hhNyvf8sfGCLklXw) - [Bash Scripting 3hrs course](https://www.youtube.com/playlist?list=PL2JwSAqE1httILs055eEgbnO9oTu1otIG) - [Bash Zero to Hero Series](https://www.youtube.com/playlist?list=PLP8aFdeDk9g5Pg7WHYfv6EsD1D8hrx5AJ) <details> <summary>📝 Alguns comandos úteis (Linux, MacOs e Powershell/Windows)</summary> - lista os arquivos presentes no diretório ```bash ls # => lista do diretorio atual # ou dir / tree /f # ou ls <caminho do diretorio> # => lista do diretorio passado ``` - Altera diretório atual ```bash cd #=> volta para a home # ou cd <caminho> #=> leva para o caminho passado ``` - Remove arquivo ```bash rm <arquivo> ``` - Remove diretório cujo caminho é dado como operando ```bash rmdir <caminho> # => o diretório deve estar vazio, ou seja, antes você tem que remover todos os arquivos do diretório ``` - Escreve na tela o conteúdo do arquivo do caminho dado como operando ```bash cat <arquivo> ``` - Escreve na tela o caminho do diretório de trabalho atual ```bash pwd ``` - Lista os comandos já executados ```bash history ``` - Limpa a tela do terminal ```bash clear # => (clc no Powershell) ``` </details>
3,182
PRML algorithms implemented in Python
# PRML Python codes implementing algorithms described in Bishop's book "Pattern Recognition and Machine Learning" ## Required Packages - python 3 - numpy - scipy - jupyter (optional: to run jupyter notebooks) - matplotlib (optional: to plot results in the notebooks) - sklearn (optional: to fetch data) ## Notebooks The notebooks in this repository can be viewed with nbviewer or other tools, or you can use [Amazon SageMaker Studio Lab](https://studiolab.sagemaker.aws/), a free computing environment on AWS (prior [registration with an email address](https://studiolab.sagemaker.aws/requestAccount) is required. Please refer to [this document](https://docs.aws.amazon.com/sagemaker/latest/dg/studio-lab-onboard.html) for usage). From the table below, you can open the notebooks for each chapter in each of these environments. |nbviewer|Amazon SageMaker Studio Lab| |:-------|:--------------------------:| |[ch1. Introduction](https://nbviewer.jupyter.org/github/ctgk/PRML/blob/main/notebooks/ch01_Introduction.ipynb)|[![Open in SageMaker Studio Lab](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/ctgk/PRML/blob/main/notebooks/ch01_Introduction.ipynb)| |[ch2. Probability Distributions](https://nbviewer.jupyter.org/github/ctgk/PRML/blob/main/notebooks/ch02_Probability_Distributions.ipynb)|[![Open in SageMaker Studio Lab](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/ctgk/PRML/blob/main/notebooks/ch02_Probability_Distributions.ipynb)| |[ch3. Linear Models for Regression](https://nbviewer.jupyter.org/github/ctgk/PRML/blob/main/notebooks/ch03_Linear_Models_for_Regression.ipynb)|[![Open in SageMaker Studio Lab](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/ctgk/PRML/blob/main/notebooks/ch03_Linear_Models_for_Regression.ipynb)| |[ch4. Linear Models for Classification](https://nbviewer.jupyter.org/github/ctgk/PRML/blob/main/notebooks/ch04_Linear_Models_for_Classfication.ipynb)|[![Open in SageMaker Studio Lab](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/ctgk/PRML/blob/main/notebooks/ch04_Linear_Models_for_Classfication.ipynb)| |[ch5. Neural Networks](https://nbviewer.jupyter.org/github/ctgk/PRML/blob/main/notebooks/ch05_Neural_Networks.ipynb)|[![Open in SageMaker Studio Lab](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/ctgk/PRML/blob/main/notebooks/ch05_Neural_Networks.ipynb)| |[ch6. Kernel Methods](https://nbviewer.jupyter.org/github/ctgk/PRML/blob/main/notebooks/ch06_Kernel_Methods.ipynb)|[![Open in SageMaker Studio Lab](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/ctgk/PRML/blob/main/notebooks/ch06_Kernel_Methods.ipynb)| |[ch7. Sparse Kernel Machines](https://nbviewer.jupyter.org/github/ctgk/PRML/blob/main/notebooks/ch07_Sparse_Kernel_Machines.ipynb)|[![Open in SageMaker Studio Lab](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/ctgk/PRML/blob/main/notebooks/ch07_Sparse_Kernel_Machines.ipynb)| |[ch8. Graphical Models](https://nbviewer.jupyter.org/github/ctgk/PRML/blob/main/notebooks/ch08_Graphical_Models.ipynb)|[![Open in SageMaker Studio Lab](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/ctgk/PRML/blob/main/notebooks/ch08_Graphical_Models.ipynb)| |[ch9. Mixture Models and EM](https://nbviewer.jupyter.org/github/ctgk/PRML/blob/main/notebooks/ch09_Mixture_Models_and_EM.ipynb)|[![Open in SageMaker Studio Lab](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/ctgk/PRML/blob/main/notebooks/ch09_Mixture_Models_and_EM.ipynb)| |[ch10. Approximate Inference](https://nbviewer.jupyter.org/github/ctgk/PRML/blob/main/notebooks/ch10_Approximate_Inference.ipynb)|[![Open in SageMaker Studio Lab](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/ctgk/PRML/blob/main/notebooks/ch10_Approximate_Inference.ipynb)| |[ch11. Sampling Methods](https://nbviewer.jupyter.org/github/ctgk/PRML/blob/main/notebooks/ch11_Sampling_Methods.ipynb)|[![Open in SageMaker Studio Lab](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/ctgk/PRML/blob/main/notebooks/ch11_Sampling_Methods.ipynb)| |[ch12. Continuous Latent Variables](https://nbviewer.jupyter.org/github/ctgk/PRML/blob/main/notebooks/ch12_Continuous_Latent_Variables.ipynb)|[![Open in SageMaker Studio Lab](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/ctgk/PRML/blob/main/notebooks/ch12_Continuous_Latent_Variables.ipynb)| |[ch13. Sequential Data](https://nbviewer.jupyter.org/github/ctgk/PRML/blob/main/notebooks/ch13_Sequential_Data.ipynb)|[![Open in SageMaker Studio Lab](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/ctgk/PRML/blob/main/notebooks/ch13_Sequential_Data.ipynb)| If you use the SageMaker Studio Lab, open a terminal and execute the following commands to install the required libraries. ```bash conda env create -f environment.yaml # might be optional conda activate prml python setup.py install ```
3,183
Answers for Quizzes & Assignments that I have taken
# Coursera and edX Assignments This repository is aimed to help Coursera and edX learners who have difficulties in their learning process. The quiz and programming homework is belong to coursera and edx and solutions to me. - #### [EDHEC - Investment Management with Python and Machine Learning Specialization](./EDHEC%20-%20Investment%20Management%20with%20Python%20and%20Machine%20Learning%20Specialization) 1. [EDHEC - Portfolio Construction and Analysis with Python](./EDHEC%20-%20Investment%20Management%20with%20Python%20and%20Machine%20Learning%20Specialization/EDHEC%20-%20Portfolio%20Construction%20and%20Analysis%20with%20Python) 2. [EDHEC - Advanced Portfolio Construction and Analysis with Python](./EDHEC%20-%20Investment%20Management%20with%20Python%20and%20Machine%20Learning%20Specialization/EDHEC%20-%20Advanced%20Portfolio%20Construction%20and%20Analysis%20with%20Python) - #### [Google Data Analytics Professional Certificate](./Google%20Data%20Analytics%20Professional%20Certificate) 1. [Google - Foundations: Data, Data, Everywhere](./Google%20Data%20Analytics%20Professional%20Certificate/course1-%20Foundations%20Data%2C%20Data%2C%20Everywhere) 2. [Google - Ask Questions to Make Data-Driven Decisions](./Google%20Data%20Analytics%20Professional%20Certificate/course2-%20Ask%20Questions%20to%20Make%20Data-Driven%20Decisions) 3. [Google - Prepare Data for Exploration](./Google%20Data%20Analytics%20Professional%20Certificate/course3-%20Prepare%20Data%20for%20Exploration) 4. [Google - Process Data from Dirty to Clean](./Google%20Data%20Analytics%20Professional%20Certificate/course4-%20Process%20Data%20from%20Dirty%20to%20Clean) 5. [Google - Analyze Data to Answer Questions](./Google%20Data%20Analytics%20Professional%20Certificate/course5-%20Analyze%20Data%20to%20Answer%20Questions) 6. [Google - Share Data Through the Art of Visualization](./Google%20Data%20Analytics%20Professional%20Certificate/course6-%20Share%20Data%20Through%20the%20Art%20of%20Visualization) 7. [Google - Data Analysis with R Programming](./Google%20Data%20Analytics%20Professional%20Certificate/course7-%20Data%20Analysis%20with%20R%20Programming) 8. [Google - Google Data Analytics Capstone: Complete a Case Study](./Google%20Data%20Analytics%20Professional%20Certificate/course8-%20Google%20Data%20Analytics%20Capstone%20Complete%20a%20Case%20Study) - #### [University of Michigan - PostgreSQL for Everybody Specialization](.//University%20of%20Michigan%20-%20PostgreSQL%20for%20Everybody%20Specialization) - #### [The University of Melbourne & The Chinese University of Hong Kong - Basic Modeling for Discrete Optimization](./The%20University%20of%20Melbourne%20-%20Basic%20Modeling%20for%20Discrete%20Optimization) - #### [Stanford University - Machine Learning](./Stanford%20University%20-%20Machine%20Learning) - #### [Imperial College London - Mathematics for Machine Learning Specialization](./Imperial%20College%20London%20-%20Mathematics%20for%20Machine%20Learning%20Specialization) 1. [Imperial College London - Linear Algebra](./Imperial%20College%20London%20-%20Mathematics%20for%20Machine%20Learning%20Specialization/Imperial%20College%20London%20-%20Mathematics%20for%20Machine%20Learning%20Linear%20Algebra) 2. [Imperial College London - Multivariate Calculus](./Imperial%20College%20London%20-%20Mathematics%20for%20Machine%20Learning%20Specialization/Imperial%20College%20London%20-%20Mathematics%20for%20Machine%20Learning%20Multivariate%20Calculus) - #### [University of Colorado Boulder - Excel/VBA for Creative Problem Solving Specialization](./CU-Boulder%20-%20Excel%20VBA%20for%20Creative%20Problem%20Solving%20Specialization) 1. [University of Colorado Boulder - Excel/VBA for Creative Problem Solving, Part 1](./CU-Boulder%20-%20Excel%20VBA%20for%20Creative%20Problem%20Solving%20Specialization/CU-Boulder%20-%20Excel%20VBA%20for%20Creative%20Problem%20Solving%2C%20Part%201) - #### [University of Washington - Machine Learning Specialization](./University%20of%20Washington%20-%20Machine%20Learning%20Specialization) 1. [University of Washington - A Case Study Approach](./University%20of%20Washington%20-%20Machine%20Learning%20Specialization/University%20of%20Washington%20-%20Machine%20Learning%20Foundations%20A%20Case%20Study%20Approach) 2. [University of Washington - Regression](./University%20of%20Washington%20-%20Machine%20Learning%20Specialization/University%20of%20Washington%20-%20Machine%20Learning%20Regression) - #### [Rice University - Python Data Representations](./Rice-Python-Data-Representations) - #### [Rice University - Python Data Analysis](./Rice-Python-Data-Analysis) - #### [Rice University - Python Data Visualization](./Rice-Python-Data-Visualization) - #### [Johns Hopkins University - Data Science Specialization](./Johns%20Hopkins%20University%20-%20Data%20Science%20Specialization) 1. [Johns Hopkins University - R Programming](./Johns%20Hopkins%20University%20-%20Data%20Science%20Specialization/Johns%20Hopkins%20University%20-%20R%20Programming) 2. [Johns Hopkins University - Getting and Cleaning Data](./Johns%20Hopkins%20University%20-%20Data%20Science%20Specialization/Johns%20Hopkins%20University%20-%20Getting%20and%20Cleaning%20Data) 3. [Johns Hopkins University - Exploratory Data Analysis](./Johns%20Hopkins%20University%20-%20Data%20Science%20Specialization/Johns%20Hopkins%20University%20-%20Exploratory%20Data%20Analysis) 4. [Johns Hopkins University - Reproducible Research](./Johns%20Hopkins%20University%20-%20Data%20Science%20Specialization/Johns%20Hopkins%20University%20-%20Reproducible%20Research) - #### [Saint Petersburg State University - Competitive Programmer's Core Skills](./Saint%20Petersburg%20State%20University%20-%20Competitive%20Programmer's%20Core%20Skills) - #### [Rice University - Business Statistics and Analysis Capstone](./Rice%20University%20-%20Business%20Statistics%20and%20Analysis%20Capstone) - #### [University of California, San Diego - Object Oriented Programming in Java](./UCSD-Object-Oriented-Programming-in-Java) - #### [University of California, San Diego - Data Structures and Performance](./UCSD-Data-Structures-and-Performance) - #### [University of California, San Diego - Advanced Data Structures in Java](./UCSD-Advanced-Data-Structures-in-Java) - #### [IBM: Applied Data Science Specialization](./Applied-Data-Science-Specialization-IBM) 1. [IBM: Open Source tools for Data Science](./Applied-Data-Science-Specialization-IBM/IBM%20-%20Open%20Source%20tools%20for%20Data%20Science) 2. [IBM: Data Science Methodology](./Applied-Data-Science-Specialization-IBM/IBM%20-%20Data%20Science%20Methodology) 3. [IBM: Python for Data Science](./Applied-Data-Science-Specialization-IBM/IBM%20-%20Python%20for%20Data%20Science) 4. [IBM: Databases and SQL for Data Science](./Applied-Data-Science-Specialization-IBM/IBM%20-%20Databases%20and%20SQL%20for%20Data%20Science) 5. [IBM: Data Analysis with Python](./Applied-Data-Science-Specialization-IBM/IBM%20-%20Data%20Analysis%20with%20Python) 6. [IBM: Data Visualization with Python](./Applied-Data-Science-Specialization-IBM/IBM%20-%20Data%20Visualization%20with%20Python) 7. [IBM: Machine Learning with Python](./Applied-Data-Science-Specialization-IBM/IBM%20-%20Machine%20Learning%20with%20Python) 8. [IBM: Applied Data Science Capstone Project](./Applied-Data-Science-Specialization-IBM/IBM%20-%20Applied%20Data%20Science%20Capstone%20Project) - #### [deeplearning.ai - TensorFlow in Practice Specialization](./deeplearning.ai%20-%20TensorFlow%20in%20Practice%20Specialization) 1. [deeplearning.ai - Introduction to TensorFlow for Artificial Intelligence, Machine Learning, and Deep Learning](./deeplearning.ai%20-%20TensorFlow%20in%20Practice%20Specialization/deeplearning.ai%20-%20TensorFlow%20for%20AI%2C%20ML%2C%20and%20Deep%20Learning) 2. [deeplearning.ai - Convolutional Neural Networks in TensorFlow](./deeplearning.ai%20-%20TensorFlow%20in%20Practice%20Specialization/deeplearning.ai%20-%20Convolutional%20Neural%20Networks%20in%20TensorFlow) 3. [deeplearning.ai - Natural Language Processing in TensorFlow](./deeplearning.ai%20-%20TensorFlow%20in%20Practice%20Specialization/deeplearning.ai%20-%20Natural%20Language%20Processing%20in%20TensorFlow) 4. [deeplearning.ai - Sequences, Time Series and Prediction](./deeplearning.ai%20-%20TensorFlow%20in%20Practice%20Specialization/deeplearning.ai%20-%20Sequences%2C%20Time%20Series%20and%20Prediction) - #### [Alberta Machine Intelligence Institute - Machine Learning Algorithms: Supervised Learning Tip to Tail](./Amii%20-%20Machine%20Learning%20Algorithms) - #### [University of Helsinki: Object-Oriented Programming with Java, part I](./Object-Oriented-Programming-with-Java-pt1-University-of%20Helsinki-moocfi) - #### [The Hong Kong University of Science and Technology - Python and Statistics for Financial Analysis](./HKUST%20%20-%20Python%20and%20Statistics%20for%20Financial%20Analysis) - #### [Google IT Automation with Python Professional Certificate](./Google%20IT%20Automation%20with%20Python) 1. [Google - Crash Course on Python](./Google%20IT%20Automation%20with%20Python/Google%20-%20Crash%20Course%20on%20Python) 2. [Google - Using Python to Interact with the Operating System](./Google%20IT%20Automation%20with%20Python/Google%20-%20Using%20Python%20to%20Interact%20with%20the%20Operating%20System) - #### [Delft University of Technology - Automated Software Testing](./Delft%20University%20of%20Technology%20-%20Automated%20Software%20Testing) - #### [University of Maryland, College Park: Cybersecurity Specialization](./University%20of%20Maryland%20-%20Cybersecurity%20Specialization) 1. [University of Maryland, College Park: Software Security](./University%20of%20Maryland%20-%20Cybersecurity%20Specialization/University%20of%20Maryland%20-%20Software%20Security) 2. [University of Maryland, College Park: Usable Security](./University%20of%20Maryland%20-%20Cybersecurity%20Specialization/University%20of%20Maryland%20-%20Usable%20Security) - #### [University of Maryland, College Park: Programming Mobile Applications for Android Handheld Systems: Part 1](./University%20of%20Maryland%20-%20Programming%20Mobile%20Applications%20for%20Android%20Handheld%20Systems%2C%20Part%20I) - #### [Harvard University - Introduction to Computer Science CS50x](./Harvard-CS50x) - #### [Duke University - Java Programming: Principles of Software Design](./Duke-Java-Programming-Principles-of-Software-Design) - #### [Duke University - Java Programming: Solving Problems with Software](./Duke-Java-Programming-Solving-Problems-with-Software) - #### [Duke University - Java Programming: Arrays, Lists, and Structured Data](./Duke-Java-Programming-Arrays-Lists-Structured-Data) - #### [Duke University - Data Science Math Skills](./Duke-University-Data-Science-Math-Skills) - #### [Massachusetts Institute of Technology - Introduction to Computer Science and Programming Using Python 6.00.1x](./MITx-6.00.1x) - #### [Massachusetts Institute of Technology - Introduction to Computational Thinking and Data Science 6.00.2x](./MITx-6.00.2x) - #### [Johns Hopkins University: Ruby on Rails Web Development Specialization](./Johns%20Hopkins%20University%20-%20Ruby%20on%20Rails%20Web%20Development%20Specialization) 1. [Johns Hopkins University - Ruby on Rails](./Johns%20Hopkins%20University%20-%20Ruby%20on%20Rails%20Web%20Development%20Specialization/Johns%20Hopkins%20University%20-%20Ruby%20on%20Rails) 2. [Johns Hopkins University - Rails with Active Record and Action Pack](./Johns%20Hopkins%20University%20-%20Ruby%20on%20Rails%20Web%20Development%20Specialization/Johns%20Hopkins%20University%20-%20Rails%20with%20Active%20Record%20and%20Action%20Pack) 3. [Johns Hopkins University - Ruby on Rails Web Services and Integration with MongoDB](./Johns%20Hopkins%20University%20-%20Ruby%20on%20Rails%20Web%20Development%20Specialization/JHU%20-%20Ruby%20on%20Rails%20Web%20Services%20and%20Integration%20with%20MongoDB) 4. [Johns Hopkins University - HTML, CSS, and Javascript for Web Developers](./Johns%20Hopkins%20University%20-%20Ruby%20on%20Rails%20Web%20Development%20Specialization/Johns%20Hopkins%20University%20-%20HTML%2C%20CSS%2C%20and%20Javascript%20for%20Web%20Developers) 5. [Johns Hopkins University - Single Page Web Applications with AngularJS](./Johns%20Hopkins%20University%20-%20Ruby%20on%20Rails%20Web%20Development%20Specialization/Johns%20Hopkins%20University%20-%20Single%20Page%20Web%20Applications%20with%20AngularJS) - #### [University of Michigan - Web Design for Everybody: Web Development & Coding Specialization](./University%20of%20Michigan%20-%20Web%20Design%20for%20Everybody) 1. [University of Michigan - HTML5](./University%20of%20Michigan%20-%20Web%20Design%20for%20Everybody/University%20of%20Michigan%20-%20%20HTML5) 2. [University of Michigan - CSS3](./University%20of%20Michigan%20-%20Web%20Design%20for%20Everybody/University%20of%20Michigan%20-%20%20CSS3) 3. [University of Michigan - Interactivity with JavaScript](./University%20of%20Michigan%20-%20Web%20Design%20for%20Everybody/University%20of%20Michigan%20-%20%20Interactivity%20with%20JavaScript) - #### [Stanford University - Introduction to Mathematical Thinking](./Stanford-University-Introduction-to-Mathematical-Thinking) - #### [University of London - Responsive Website Development and Design Specialization](./University%20of%20London%20-%20Responsive%20Website%20Development%20and%20Design%20Specialization) 1. [University of London - Responsive Web Design](./University%20of%20London%20-%20Responsive%20Website%20Development%20and%20Design%20Specialization/University%20of%20London%20-%20Responsive%20Web%20Design) 2. [University of London - Web Application Development with JavaScript and MongoDB](./University%20of%20London%20-%20Responsive%20Website%20Development%20and%20Design%20Specialization/University%20of%20London%20-%20Web%20Application%20Development%20with%20JavaScript%20and%20MongoDB) 3. [University of London - Responsive Website Tutorial and Examples](./University%20of%20London%20-%20Responsive%20Website%20Development%20and%20Design%20Specialization/University%20of%20London%20-%20Responsive%20Website%20Tutorial%20and%20Examples) - #### [University of California, San Diego - Biology Meets Programming: Bioinformatics](./UCSD%20-%20Biology%20Meets%20Programming%20Bioinformatics) - #### [University of Toronto - Learn to Program: The Fundamentals](./University-of-Toronto-The%20Fundamentals) - #### [University of Toronto - Learn to Program: Crafting Quality Code](./University-of-Toronto-Crafting-Quality-Code) - #### [University of British Columbia - How to Code: Simple Data HtC1x](./UBCx-HtC1x) - #### [University of British Columbia - Software Construction: Data Abstraction](./UBCx-Software-Construction-Data-Abstraction-SoftConst1x) - #### [University of British Columbia - Software Construction: Object-Oriented Design](./UBCx-Software-Construction-OOP-SoftConst2x)
3,184
OpenSpiel is a collection of environments and algorithms for research in general reinforcement learning and search/planning in games.
# OpenSpiel: A Framework for Reinforcement Learning in Games [![Documentation Status](https://readthedocs.org/projects/openspiel/badge/?version=latest)](https://openspiel.readthedocs.io/en/latest/?badge=latest) ![build_and_test](https://github.com/deepmind/open_spiel/workflows/build_and_test/badge.svg) OpenSpiel is a collection of environments and algorithms for research in general reinforcement learning and search/planning in games. OpenSpiel supports n-player (single- and multi- agent) zero-sum, cooperative and general-sum, one-shot and sequential, strictly turn-taking and simultaneous-move, perfect and imperfect information games, as well as traditional multiagent environments such as (partially- and fully- observable) grid worlds and social dilemmas. OpenSpiel also includes tools to analyze learning dynamics and other common evaluation metrics. Games are represented as procedural extensive-form games, with some natural extensions. The core API and games are implemented in C++ and exposed to Python. Algorithms and tools are written both in C++ and Python. To try OpenSpiel in Google Colaboratory, please refer to `open_spiel/colabs` subdirectory or start [here](https://colab.research.google.com/github/deepmind/open_spiel/blob/master/open_spiel/colabs/install_open_spiel.ipynb). <p align="center"> <img src="docs/_static/OpenSpielB.png" alt="OpenSpiel visual asset"> </p> # Index Please choose among the following options: * [Installing OpenSpiel](docs/install.md) * [Introduction to OpenSpiel](docs/intro.md) * [API Overview and First Example](docs/concepts.md) * [API Reference](docs/api_reference.md) * [Overview of Implemented Games](docs/games.md) * [Overview of Implemented Algorithms](docs/algorithms.md) * [Developer Guide](docs/developer_guide.md) * [Using OpenSpiel as a C++ Library](docs/library.md) * [Guidelines and Contributing](docs/contributing.md) * [Authors](docs/authors.md) For a longer introduction to the core concepts, formalisms, and terminology, including an overview of the algorithms and some results, please see [OpenSpiel: A Framework for Reinforcement Learning in Games](https://arxiv.org/abs/1908.09453). For an overview of OpenSpiel and example uses of the core API, please check out our tutorials: * [Motivation, Core API, Brief Intro to Replictor Dynamics and Imperfect Information Games](https://www.youtube.com/watch?v=8NCPqtPwlFQ) by Marc Lanctot. [(slides)](http://mlanctot.info/files/OpenSpiel_Tutorial_KU_Leuven_2022.pdf) [(colab)](https://colab.research.google.com/github/deepmind/open_spiel/blob/master/open_spiel/colabs/OpenSpielTutorial.ipynb) * [Motivation, Core API, Implementing CFR and REINFORCE on Kuhn poker, Leduc poker, and Goofspiel](https://www.youtube.com/watch?v=o6JNHoGUXCo) by Edward Lockhart. [(slides)](http://mlanctot.info/files/open_spiel_tutorial-mar2021-comarl.pdf) [(colab)](https://colab.research.google.com/github/deepmind/open_spiel/blob/master/open_spiel/colabs/CFR_and_REINFORCE.ipynb) If you use OpenSpiel in your research, please cite the paper using the following BibTeX: ```bibtex @article{LanctotEtAl2019OpenSpiel, title = {{OpenSpiel}: A Framework for Reinforcement Learning in Games}, author = {Marc Lanctot and Edward Lockhart and Jean-Baptiste Lespiau and Vinicius Zambaldi and Satyaki Upadhyay and Julien P\'{e}rolat and Sriram Srinivasan and Finbarr Timbers and Karl Tuyls and Shayegan Omidshafiei and Daniel Hennes and Dustin Morrill and Paul Muller and Timo Ewalds and Ryan Faulkner and J\'{a}nos Kram\'{a}r and Bart De Vylder and Brennan Saeta and James Bradbury and David Ding and Sebastian Borgeaud and Matthew Lai and Julian Schrittwieser and Thomas Anthony and Edward Hughes and Ivo Danihelka and Jonah Ryan-Davis}, year = {2019}, eprint = {1908.09453}, archivePrefix = {arXiv}, primaryClass = {cs.LG}, journal = {CoRR}, volume = {abs/1908.09453}, url = {http://arxiv.org/abs/1908.09453}, } ``` ## Versioning We use [Semantic Versioning](https://semver.org/).
3,185
Operating Systems: Three Easy Pieces(OSTEP) homework and project solutions
# OSTEP-HW [Operating Systems: Three Easy Pieces](https://pages.cs.wisc.edu/~remzi/OSTEP) homework solutions [CS-537 videos](https://pages.cs.wisc.edu/~remzi/Classes/537/Spring2018/Discussion/videos.html) ## Requirements - Unix-like operating system - [Clang](https://clang.llvm.org)/[GCC](https://gcc.gnu.org) - [LLDB](https://lldb.llvm.org)/[GDB](https://www.gnu.org/software/gdb) - [Valgrind](https://valgrind.org) - [Gawk](https://www.gnu.org/software/gawk) - [Python](https://www.python.org) - 🐈 ## [ostep-projects](./projects) C/Linux Projects and Kernel Hacking Projects (xv6) ## Chapters ### Virtualization 4. [The Abstraction: The Process](./4) 5. [Interlude: Process API](./5) 6. [Mechanism: Limited Direct Execution](./6) 7. [Scheduling: Introduction](./7) 8. [Scheduling: The Multi-Level Feedback Queue](./8) 9. [Scheduling: Proportional Share](./9) 10. [Multiprocessor Scheduling (Advanced)](./10) 11. Summary Dialogue on CPU Virtualization 12. A Dialogue on Memory Virtualization 13. [The Abstraction: Address Spaces](./13) 14. [Interlude: Memory API](./14) 15. [Mechanism: Address Translation](./15) 16. [Segmentation](./16) 17. [Free-Space Management](./17) 18. [Paging: Introduction](./18) 19. [Paging: Faster Translations (TLBs)](./19) 20. [Paging: Smaller Tables](./20) 21. [Beyond Physical Memory: Mechanisms](./21) 22. [Beyond Physical Memory: Policies](./22) ### Concurrency 26. [Concurrency: An Introduction](./26) 27. [Interlude: Thread API](./27) 28. [Locks](./28) 29. [Lock-based Concurrent Data Structures](./29) 30. [Condition Variables](./30) 31. [Semaphores](./31) 32. [Common Concurrency Problems](./32) 33. [Event-based Concurrency (Advanced)](./33) ### Persistence 37. [Hard Disk Drives](./37) 38. [Redundant Arrays of Inexpensive Disks (RAIDs)](./38) 39. [Interlude: Files and Directories](./39) 40. [File System Implementation](./40) 41. [Locality and The Fast File System](./41) 42. [Crash Consistency: FSCK and Journaling](./42) 43. [Log-structured File Systems](./43) 44. [Flash-based SSDs](./44) 45. [Data Integrity and Protection](./45) 46. Summary Dialogue on Persistence 47. A Dialogue on Distribution 48. [Distributed Systems](./48) 49. [Sun’s Network File System (NFS)](./49) 50. [The Andrew File System (AFS)](./50) ## License This work is licensed under the GPLv3 or any later version.
3,186
A curated list of awesome Dash (plotly) resources
# Awesome Dash [![Awesome](https://awesome.re/badge-flat.svg)](https://github.com/sindresorhus/awesome) [<img src="https://cdn.rawgit.com/plotly/dash-docs/b1178b4e/images/dash-logo-stripe.svg" align="right" width="250">](https://plot.ly/products/dash/) A curated list of awesome Dash (plotly) resources > [Dash](https://plot.ly/products/dash/) is a productive Python framework for building web applications. > Written on top of Flask, Plotly.js, and React.js, Dash is ideal for building data visualization apps with highly custom user interfaces in pure Python. It's particularly suited for anyone who works with data in Python. ## Contents - [Tutorials](#tutorials) - [Component Libraries](#component-libraries) - [App Examples](#app-examples) - [Idiomatic examples](#idiomatic-examples) - [Galleries](#galleries) - [Cheat sheets](#cheat-sheets) - [Talks](#talks) - [Books](#books) - [Community](#community) - [Contributors](#contributors) ## Tutorials - [Introducing Plotly Dash](https://medium.com/@plotlygraphs/introducing-dash-5ecf7191b503) - A high level introduction to Dash by Chris Parmer, the author of Dash. This essay was released as part of Dash's official launch (June 21, 2017). - [Plotly's tutorials - Part 1: App Layout](https://plot.ly/dash/getting-started) - [Plotly's tutorials - Part 2: Interactivity](https://plot.ly/dash/getting-started-part-2) - [Plotly's tutorials - Part 3: Interactive Graphing](https://plot.ly/dash/interactive-graphing) - [Plotly's tutorials - Part 4: Callbacks With State](https://plot.ly/dash/state) - [Charming Data YouTube channel](https://www.youtube.com/charmingdata) - A channel dedicated to teaching Dash and Plotly with over 25k subscribers. - [Interactive Web-Based Dashboards in Python](https://alysivji.github.io/reactive-dashboards-with-dash.html) - How the MVC model pertains to Dash and a walkthrough of building an app. - [Using Plotly’s Dash to deliver public sector decision support dashboards](https://medium.com/a-r-g-o/using-plotlys-dash-to-deliver-public-sector-decision-support-dashboards-ac863fa829fb) - Buiding a complex dashboard step-by-step. - [OPS CodeDay: Dash Plotly Map + Graph](https://radumas.info/blog/tutorial/2017/08/10/codeday.html) - How to use Jupyter notebooks in tandom with Dash to create mapping viz. - [Creating Interactive Visualizations with Plotly’s Dash Framework](http://pbpython.com/plotly-dash-intro.html) - High level overview of how to get started with Dash. - [Finding Bigfoot with Dash, Part 1](https://timothyrenner.github.io/posts/bigfoot-with-dash-part-1/) - Walkthrough of building a dashboard of Bigfoot sightings. [Part 2](https://timothyrenner.github.io/posts/bigfoot-with-dash-part-2), [Part 3](https://timothyrenner.github.io/posts/bigfoot-with-dash-part-3/). - [Visualize Earthquakes with Plotly Dash](https://www.giacomodebidda.com/visualize-earthquakes-with-plotly-dash/) - Environmental scan of alternatives to Dash followed with a tutorial. - [ARGO Labs - Plotly Dash Tutorial (Video)](https://www.youtube.com/watch?v=yfWJXkySfe0) - Detailed introduction to creating interactive dashboards. - [Data Visualization GUIs with Dash and Python (Video playlist)](https://www.youtube.com/watch?v=J_Cy_QjG6NE&list=PLQVvvaa0QuDfsGImWNt1eUEveHOepkjqt) - Five-part series exploring Dash features. - [Interactive Visualization of Machine Learning and Computer Vision with Dash](https://www.youtube.com/watch?v=3F5AR-uUqJc) - Official introduction video. - [Webinar: Converting React components to Dash components](https://www.youtube.com/watch?v=wifoPPRgG_I) - Official tutorial about how to convert React components to Dash components using the Dash Component Boilerplate cookiecutter template. - [Interactive Image Processing with Dash-Canvas](https://www.youtube.com/watch?v=LKXSFBB5ccI) - Official introduction video to the Dash Canvas components. - [Dash Cytoscape Component](https://www.youtube.com/watch?v=snXcIsCMQgk) - Official introduction video to the Dash Cytoscape components. - [An introduction to Dash DataTable](https://www.youtube.com/watch?v=dueejcyrYh8) - Official introduction video to the Dash DataTable components. ## Component Libraries - [Tutorial on creating custom Dash components with React.js.](https://plot.ly/dash/plugins) - [Dash Bio Components](https://dash.plot.ly/dash-bio) - Suite of bioinformatics components that make it simpler to analyze and visualize bioinformatics data and interact with them in a Dash application. - [Dash Canvas Components](https://dash.plot.ly/canvas) - Module for image annotation and image processing using Dash. - [Awesome React Components](https://github.com/brillout/awesome-react-components) - Catalog of React.js components potentially interesting to be wrapped into Dash components. - [Awesome React](https://github.com/enaqx/awesome-react) - Helpful resources for developing React.js components. - [Dash Core Components](https://github.com/plotly/dash-core-components) - [Dash Cytoscape Component](https://dash.plot.ly/cytoscape) - Graph visualization component for creating easily customizable, high-performance, interactive, and web-based networks. - [Dash DataTable Component](https://dash.plot.ly/datatable) - Interactive table that supports rich styling, conditional formatting, editing, sorting, filtering, and more. - [Dash DAQ Components](https://dash.plot.ly/dash-daq) - Set of controls that make it simpler to integrate data acquisition and controls into your Dash applications. - [Dash ECharts Components](https://github.com/mergeforward/dash_echarts) - ECharts(V5) Components for Dash. - [Dash HTML Components](https://github.com/plotly/dash-html-components) - [mydcc](https://github.com/jimmybow/mydcc) - Extension of Dash Core Components. - [sd-material-ui](https://github.com/StratoDem/sd-material-ui) - StratoDem Analytics implementations of material-ui components for Dash. - [sd-range-slider](https://github.com/StratoDem/sd-range-slider) - Range Slider Dash component. - [dj-plotly-dash](https://github.com/pikhovkin/dj-plotly-dash) - Plotly Dash fork for Django. - [dash-flexbox-grid](https://github.com/pikhovkin/dash-flexbox-grid) - Wrapper around react-flexbox-grid for Plotly Dash. - [dash-color-picker](https://github.com/vivekvs1/dash-color-picker) - Wrapper around react-color. - [dash-dual-listbox](https://github.com/vivekvs1/dash-dual-listbox) - Wrapper around react-duallist. - [dash-bootstrap-components](https://dash-bootstrap-components.opensource.asidatascience.com/) - Layout engine, default styles and high-level components based on Bootstrap. - [dash-uploader](https://github.com/np-8/dash-uploader) - Upload component for Dash. Supports large data files. - [Dash Mantine Components](https://github.com/snehilvj/dash-mantine-components) - Collection of 40+ Dash components based on Mantine React Components library. - [plotly-resampler](https://github.com/predict-idlab/plotly-resampler) - Wrapper for plotly figures that adds data downsampling (aggregating) functionality, enabling the visualization of large datasets. ## App Examples - [Oil and Gas Explorer](https://plot.ly/dash/gallery/new-york-oil-and-gas/) - Explore oil and gas production over time and with linked visualisations. [Source Code.](https://github.com/plotly/dash-oil-and-gas-demo) - [Uber Rides](https://plot.ly/dash/gallery/uber-rides/) - Displays all of the Uber rides in New York City in 2014. Pandas on the backend filters a 0.5gig datafile. [Source Code.](https://github.com/plotly/dash-uber-rides-demo) - [Simple Stock Tickers](https://plot.ly/dash/gallery/stock-tickers/) - Queries data from Google Finance and displays the results as candlestick charts. [Source Code.](https://github.com/plotly/dash-stock-tickers-demo-app) - [Volatility Surface Explorer](https://plot.ly/dash/gallery/volatility-surface) - Fetches CBOE options chain data from Yahoo Finance with Pandas Datareader and calculates the implied volatility of each option visualised in a 3D mesh chart. [Source Code.](https://github.com/plotly/dash-volatility-surface) - [Drug Discovery](https://plot.ly/dash/gallery/drug-explorer/) - Displays a description of the drug as you hover over points in the graph. [Source Code.](https://github.com/plotly/dash-drug-discovery-demo/) - [Live Wind Streaming](https://plot.ly/dash/gallery/live-wind-data/) - Continually queries a SQL database and displays live charts of wind speed and wind direction. [Source Code.](https://github.com/plotly/dash-sample-apps/tree/main/apps/dash-wind-streaming) - [Recession in 255 Charts](https://plot.ly/dash/gallery/recession-report/) - Adapted from NYTimes's excellent [How the Recession Reshaped the Economy in 255 Charts](https://www.nytimes.com/interactive/2014/06/05/upshot/how-the-recession-reshaped-the-economy-in-255-charts.html). [Source Code.](https://github.com/plotly/dash-recession-report-demo) - [3D Yield Curve](https://plot.ly/dash/gallery/yield-curve/) - Adapted from NYTimes's excellent [A 3-D View of a Chart That Predicts The Economic Future: The Yield Curve](https://www.nytimes.com/interactive/2015/03/19/upshot/3d-yield-curve-economic-growth.html). [Source Code.](https://github.com/plotly/dash-yield-curve) - [Finding Bigfoot](https://bigfoot-sightings-dash.herokuapp.com/) - Several plots (including a map), a grid layout built with Bootstrap, interactions with an input field, and caching (See also [Tutorials](#tutorials)). [Source Code.](https://github.com/timothyrenner/bigfoot-dash-app) - [Visualize Earthquakes with Plotly Dash](https://belle-croissant-54211.herokuapp.com/) - Great UI and usage of geospatial analytics with Dash. Includes [basic unit tests](https://github.com/jackdbd/dash-earthquakes/tree/master/tests). [Source Code.](https://github.com/jackdbd/dash-earthquakes) - [Street Quality IDentification [SQUID]](https://squid-syracuse.herokuapp.com/) - Highlights poor quality roads with maps, data table and photos of the offending piece of road. [Source Code.](https://github.com/amyoshino/SQUID-Syracuse-Dashboard) - [VoxelViz](http://lukas-snoek.com/voxelviz) - Competition winning Visualization tool for (f)MRI data-sets. [Source Code.](https://github.com/lukassnoek/VoxelViz) - [Traffic Accidents UK](https://traffic-accidents-uk.herokuapp.com/) - Explore the 140,008 traffic accidents in the UK in 2015. [Source Code.](https://github.com/richard-muir/uk-car-accidents) - [New York Taxi Rides](https://dash.vaex.io/) - A full year of the YellowCab Taxi company data from their prime, numbering well over 100 million trips. Dash + Vaex dataframe with over a 100 million rows. [Source Code.](https://github.com/vaexio/dash-120million-taxi-app) - [GutenSearch](https://gutensearch.com/) - Look inside the books of Project Gutenberg. [Source Code.](https://github.com/cordb/gutensearch) ## Idiomatic examples - [Dash recipes](https://github.com/plotly/dash-recipes) - A collection of scripts and examples created of the plotly team while answering questions from the greater Dash community. ## Galleries - [Plotly App Gallery](https://plot.ly/dash/gallery) - Plotly's collection of Dash applications. - [Dash Recipes GitHub](https://github.com/plotly/dash-recipes) - Collection of scripts and examples created while answering questions from the greater Dash community. - [Dash Data Dashboards and Apps](https://www.dashboardom.com/) - Collection of data dashboards with real life data, for various topics, as well as a few apps for online marketing built with Dash. ## Talks - [Dash: Data exploration web apps in pure Python](https://www.youtube.com/watch?v=eusglTlW4OA) - Chelsea Douglas, PyData DC 2018. - [Overview of Dash](https://www.youtube.com/watch?v=sea2K4AuPOk) - Chris Parmer, creator of Dash (SciPy 2017). - [We're Launching Dash](https://www.youtube.com/watch?v=5BAthiN0htc&t=1s) - Chris Parmer, creator of Dash, speaking about the motivations behind Dash before it was launched (Plotcon NYC 2016). - [Plotly dash and data visualisation in Python, PyData, Berlin 2017](https://www.slideshare.net/vladimirkazantsev/plotly-dash-and-data-visualisation-in-python) - Volodymyr Kazantsev (slides only). ## Books - [Interactive Dashboards and Data Apps with Plotly and Dash](https://www.amazon.com/Interactive-Dashboards-Data-Apps-Plotly-ebook/dp/B08XMW45VY): Harness the power of a fully fledged frontend web framework in Python – no JavaScript required. ## Cheat sheets - [plotly.py Cheat Sheet](https://images.plot.ly/plotly-documentation/images/python_cheat_sheet.pdf) ## Community - [Plotly hosted Question and Answer community](https://community.plot.ly) - [Stack Overflow](https://stackoverflow.com/questions/tagged/plotly-dash) ## Contributors - [Luke Singham](https://lukesingham.com/) - [Aly Sivji](https://alysivji.github.io/) - [Chris Parmer](https://github.com/chriddyp) - [Sergey Pikhovkin](https://github.com/pikhovkin) - [Pascal Bugnion](https://pascalbugnion.net) - [Florian Kromer](https://github.com/fkromer) - [Elias Dabbas](https://www.dashboardom.com) - [vaexio](https://github.com/vaexio) - [Fanchao MENG](https://github.com/pingf) - [Snehil Vijay](https://github.com/snehilvj) ## License [![CC0](http://mirrors.creativecommons.org/presskit/buttons/88x31/svg/cc-zero.svg)](https://creativecommons.org/publicdomain/zero/1.0/)<br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
3,187
基于搜狗微信搜索的微信公众号爬虫接口
基于搜狗微信搜索的微信公众号爬虫接口 === [![Build Status](https://travis-ci.org/Chyroc/WechatSogou.svg?branch=master)](https://github.com/Chyroc/WechatSogou) [![PyPI version](https://badge.fury.io/py/wechatsogou.svg)](https://github.com/Chyroc/WechatSogou) [![PyPI](https://img.shields.io/pypi/wheel/wechatsogou.svg)](https://github.com/Chyroc/WechatSogou) [![py27,py35,py36](https://img.shields.io/pypi/pyversions/wechatsogou.svg)](https://github.com/Chyroc/WechatSogou) [![PyPI](https://img.shields.io/pypi/l/wechatsogou.svg)](https://github.com/Chyroc/WechatSogou) 我的另外一个作品: https://github.com/chyroc/lark ,基于代码生成的 Lark/飞书 Go SDK,欢迎 star 。 ![ws_api.get_gzh_info('南航青年志愿者')](https://raw.githubusercontent.com/chyroc/wechatsogou/master/screenshot/get_gzh_info.png) ``` __ __ _ _ ____ \ \ / /__ ___| |__ __ _| |_/ ___| ___ __ _ ___ _ _ \ \ /\ / / _ \/ __| '_ \ / _` | __\___ \ / _ \ / _` |/ _ \| | | | \ V V / __/ (__| | | | (_| | |_ ___) | (_) | (_| | (_) | |_| | \_/\_/ \___|\___|_| |_|\__,_|\__|____/ \___/ \__, |\___/ \__,_| |___/ ``` # 项目简介 基于搜狗微信搜索的微信公众号爬虫接口,可以扩展成基于搜狗搜索的爬虫 如果有问题,请提issue [CHANGELOG](./CHANGELOG.md) # 交流分享 - QQ群(只需加一个) - 一群 132955136(已满) - 二群 819084985 - 微信群 # 赞助作者 甲鱼说,咖啡是灵魂的饮料,买点咖啡 [谢谢这些人的☕️](./coffee.md) 支付宝扫码大家一起领红包: <img src="https://raw.githubusercontent.com/chyroc/wechatsogou/master/screenshot/alipay_hongbao.png" width="250" /> 或者直接转账: <img src="https://raw.githubusercontent.com/chyroc/wechatsogou/master/screenshot/pay_wechat.jpg" width="250" /><img src="https://raw.githubusercontent.com/chyroc/wechatsogou/master/screenshot/pay_ali.jpg" width="250" /> # 问题集锦 Q:没有得到原始文章url / 提示链接已经过期? A:微信屏蔽此接口,请在临时链接有效期内保存文章内容。 Q:获取文章只能10篇? A:是的,仅显示最近10条群发。 Q:使用的是python 2 还是 3? A:都支持,若出错,请报BUG。 # 安装 ``` pip install wechatsogou --upgrade ``` # 使用 ### 初始化 API ```python import wechatsogou # 可配置参数 # 直连 ws_api = wechatsogou.WechatSogouAPI() # 验证码输入错误的重试次数,默认为1 ws_api = wechatsogou.WechatSogouAPI(captcha_break_time=3) # 所有requests库的参数都能在这用 # 如 配置代理,代理列表中至少需包含1个 HTTPS 协议的代理, 并确保代理可用 ws_api = wechatsogou.WechatSogouAPI(proxies={ "http": "127.0.0.1:8888", "https": "127.0.0.1:8888", }) # 如 设置超时 ws_api = wechatsogou.WechatSogouAPI(timeout=0.1) ``` ### 获取特定公众号信息 - get_gzh_info ![ws_api.get_gzh_info('南航青年志愿者')](https://raw.githubusercontent.com/chyroc/wechatsogou/master/screenshot/get_gzh_info.png) - 使用 ``` In [5]: import wechatsogou ...: ...: ws_api =wechatsogou.WechatSogouAPI() ...: ws_api.get_gzh_info('南航青年志愿者') ...: Out[5]: { 'authentication': '南京航空航天大学', 'headimage': 'http://img01.sogoucdn.com/app/a/100520090/oIWsFt1tmWoG6vO6BcsS7St61bRE', 'introduction': '南航大志愿活动的领跑者,为你提供校内外的志愿资源和精彩消息.', 'post_perm': 26, 'view_perm': 1000, 'profile_url': 'http://mp.weixin.qq.com/profile?src=3&timestamp=1501140102&ver=1&signature=OpcTZp20TUdKHjSqWh7m73RWBIzwYwINpib2ZktBkLG8NyHamTvK2jtzl7mf-VdpE246zXAq18GNm*S*bq4klw==', 'qrcode': 'http://mp.weixin.qq.com/rr?src=3&timestamp=1501140102&ver=1&signature=-DnFampQflbiOadckRJaTaDRzGSNfisIfECELSo-lN-GeEOH8-XTtM*ASdavl0xuavw-bmAEQXOa1T39*EIsjzxz30LjyBNkjmgbT6bGnZM=', 'wechat_id': 'nanhangqinggong', 'wechat_name': '南航青年志愿者' } ``` - 返回数据结构 ```python { 'profile_url': '', # 最近10条群发页链接 'headimage': '', # 头像 'wechat_name': '', # 名称 'wechat_id': '', # 微信id 'post_perm': int, # 最近一月群发数 'view_perm': int, # 最近一月阅读量 'qrcode': '', # 二维码 'introduction': '', # 简介 'authentication': '' # 认证 } ``` ### 搜索公众号 ![ws_api.search_gzh('南京航空航天大学')](https://raw.githubusercontent.com/chyroc/wechatsogou/master/screenshot/search_gzh.png) - 使用 ``` In [6]: import wechatsogou ...: ...: ws_api =wechatsogou.WechatSogouAPI() ...: ws_api.search_gzh('南京航空航天大学') ...: Out[6]: [ { 'authentication': '南京航空航天大学', 'headimage': 'http://img01.sogoucdn.com/app/a/100520090/oIWsFt1MvjqspMDVvZjpmxyo36sU', 'introduction': '南京航空航天大学官方微信', 'post_perm': 0, 'view_perm': 0, 'profile_url': 'http://mp.weixin.qq.com/profile?src=3&timestamp=1501141990&ver=1&signature=S-7U131D3eQERC8yJGVAg2edySXn*qGVi5uE8QyQU034di*2mS6vGJVnQBRB0It9t9M-Qn7ynvjRKZNQrjBMEg==', 'qrcode': 'http://mp.weixin.qq.com/rr?src=3&timestamp=1501141990&ver=1&signature=Tlp-r0AaBRxtx3TuuyjdxmjiR4aEJY-hjh0kmtV6byVu3QIQYiMlJttJgGu0hwtZMZCCntdfaP5jD4JXipTwoGecAze8ycEF5KYZqtLSsNE=', 'wechat_id': 'NUAA_1952', 'wechat_name': '南京航空航天大学' }, { 'authentication': '南京航空航天大学', 'headimage': 'http://img01.sogoucdn.com/app/a/100520090/oIWsFtwVmjdK_57vIKeMceGXF5BQ', 'introduction': '南京航空航天大学团委官方微信平台', 'post_perm': 0, 'view_perm': 0, 'profile_url': 'http://mp.weixin.qq.com/profile?src=3&timestamp=1501141990&ver=1&signature=aXFQrSDOiZJHedlL7vtAkvFMckxBmubE9VGrVczTwS601bOIT5Nrr8Pcgs6bQ-oEd6jdQ0aK5WCQjNwMAhJnyQ==', 'qrcode': 'http://mp.weixin.qq.com/rr?src=3&timestamp=1501141990&ver=1&signature=7Cpbd9CVQsXJkExRcU5VM6NuyoxDQQfVfF7*CGI-PTR0y6stHPtdSDqzAzvPMWz67Xz9IMF2TDfu4Cndj5bKxlsFh6wGhiLH0b9ZKqgCW5k=', 'wechat_id': 'nuaa_tw', 'wechat_name': '南京航空航天大学团委' }, ... ] ``` - 数据结构 list of dict, dict: ```python { 'profile_url': '', # 最近10条群发页链接 'headimage': '', # 头像 'wechat_name': '', # 名称 'wechat_id': '', # 微信id 'post_perm': int, # 最近一月群发数 'view_perm': int, # 最近一月阅读量 'qrcode': '', # 二维码 'introduction': '', # 介绍 'authentication': '' # 认证 } ``` ### 搜索微信文章 ![ws_api.search_article('南京航空航天大学')](https://raw.githubusercontent.com/chyroc/wechatsogou/master/screenshot/search_article.png) - 使用 ``` In [7]: import wechatsogou ...: ...: ws_api =wechatsogou.WechatSogouAPI() ...: ws_api.search_article('南京航空航天大学') ...: Out[7]: [ { 'article': { 'abstract': '【院校省份】江苏【报名时间】4月5日截止【考试时间】6月10日-11日南京航空航天大学2017年自主招生简章南京航空航天大学2017...', 'imgs': ['http://img01.sogoucdn.com/net/a/04/link?appid=100520033&url=http://mmbiz.qpic.cn/mmbiz_png/P07yicBRJfC71QB3lREx4J4x34QOibGaia5BkiaaiaiaibicWkTBULou9R08K6FaxlUA1RFBFWCmpO1Lepk7ZcXK45vguQ/0?wx_fmt=png'], 'time': 1490270644, 'title': '南京航空航天大学2017年自主招生简章', 'url': 'http://mp.weixin.qq.com/s?src=3&timestamp=1501142580&ver=1&signature=hRMlQOLQpu4BNhBACavusZdmk**D65qHyz5LWDq1lPjVcm7*iiBS0l7Pq40h0fiCX*bZ8vSMLzAMDNzELYFKIQ7mND0-7cQi-N0BtfTBql*CQdsHun-GtaYEqRva6Ukwce3gZh46SXJzo90kyZ3dwVYl6*589bGDIzG6JTGfpxI=' }, 'gzh': { 'headimage': 'http://wx.qlogo.cn/mmhead/Q3auHgzwzM5kiawibor6ABhnibMYnOADvqdcrl5XWiaFfM5mGYZ8cUica6A/0', 'isv': 0, 'profile_url': 'http://mp.weixin.qq.com/profile?src=3&timestamp=1501142580&ver=1&signature=dVkDdcFr1suL1WHdCOJj7pwZhG9W*APi-j5kRtS09ccv-WID-zNs0ecDiiz1wwE7qbNSk5HBL*ffpyVXcF0fFQ==', 'wechat_name': '自主招生在线' } }, ... ] ``` - 数据结构 list of dict, dict: ```python { 'article': { 'title': '', # 文章标题 'url': '', # 文章链接 'imgs': '', # 文章图片list 'abstract': '', # 文章摘要 'time': int # 文章推送时间 10位时间戳 }, 'gzh': { 'profile_url': '', # 公众号最近10条群发页链接 'headimage': '', # 头像 'wechat_name': '', # 名称 'isv': int, # 是否加v 1 or 0 } } ``` ### 解析最近文章页 - get_gzh_article_by_history ![ws_api.search_article('南京航空航天大学')](https://raw.githubusercontent.com/chyroc/wechatsogou/master/screenshot/get_gzh_article_by_history.png) - 使用 ``` In [1]: import wechatsogou ...: ...: ws_api =wechatsogou.WechatSogouAPI() ...: ws_api.get_gzh_article_by_history('南航青年志愿者') ...: Out[1]: { 'article': [ { 'abstract': '我们所做的,并不能立马去改变什么——\n但千里之行,绿勤行永不止步。\n我们不会就此止步,之后我们又将再出发。\n 民勤,再见。\n绿勤行,不再见。', 'author': '', 'content_url': 'http://mp.weixin.qq.com/s?timestamp=1501143158&src=3&ver=1&signature=B-*tqUrFyO7OqpFeJZwTA7JJtsHpz6BgC8ugyfgpOnyWLtPb85R5Zmu0JuZRbZKG72x4bQjMCcsfA5mC3GSSOPbYd-9tzvTgmroGRmc4Tzk8090KCiEu6EjA0YMHeytWJWpxr51M2FUYQhTWJ01pTmNnXLVAG6Ex6AG52uvvmQA=', 'copyright_stat': 100, 'cover': 'http://mmbiz.qpic.cn/mmbiz_jpg/icFYWMxnmxHDYgXNjAle7szYLgQmicbaQlb1eVFuwp2vxEu5eNVwYacaHah2N5W8dKAm725vxv5aM6DFlM59Wftg/0?wx_fmt=jpeg', 'datetime': 1501072594, 'fileid': 502326199, 'main': 1, 'send_id': 1000000306, 'source_url': '', 'title': '绿勤行——不说再见', 'type': '49' }, { 'abstract': '当时不杂,过往不恋,志愿不老,我们不散!', 'author': '', 'content_url': 'http://mp.weixin.qq.com/s?timestamp=1501143158&src=3&ver=1&signature=B-*tqUrFyO7OqpFeJZwTA7JJtsHpz6BgC8ugyfgpOnyWLtPb85R5Zmu0JuZRbZKG72x4bQjMCcsfA5mC3GSSOGUrM*jg*EP1jU-Dyf2CVqmPnOgBiET2wlitek4FcRbXorAswWHm*1rqODcN52NtfKD-OcRTazQS*t5SnJtu3ZA=', 'copyright_stat': 100, 'cover': 'http://mmbiz.qpic.cn/mmbiz_jpg/icFYWMxnmxHCoY44nPUXvkSgpZI1LaEsZfkZvtGaiaNW2icjibCp6qs93xLlr9kXMJEP3z1pmQ6TbRZNicHibGzRwh1w/0?wx_fmt=jpeg', 'datetime': 1500979158, 'fileid': 502326196, 'main': 1, 'send_id': 1000000305, 'source_url': '', 'title': '有始有终 | 2016-2017年度环境保护服务部工作总结', 'type': '49' }, ... ], 'gzh': { 'authentication': '南京航空航天大学', 'headimage': 'http://wx.qlogo.cn/mmhead/Q3auHgzwzM4xV5PgPjK5XoPaaQoxnWJAFicibMvPAnsoybawMBFxua1g/0', 'introduction': '南航大志愿活动的领跑者,为你提供校内外的志愿资源和精彩消息。', 'wechat_id': 'nanhangqinggong', 'wechat_name': '南航青年志愿者' } } ``` - 数据结构 ```python { 'gzh': { 'wechat_name': '', # 名称 'wechat_id': '', # 微信id 'introduction': '', # 简介 'authentication': '', # 认证 'headimage': '' # 头像 }, 'article': [ { 'send_id': int, # 群发id,注意不唯一,因为同一次群发多个消息,而群发id一致 'datetime': int, # 群发datatime 10位时间戳 'type': '', # 消息类型,均是49(在手机端历史消息页有其他类型,网页端最近10条消息页只有49),表示图文 'main': int, # 是否是一次群发的第一次消息 1 or 0 'title': '', # 文章标题 'abstract': '', # 摘要 'fileid': int, # 'content_url': '', # 文章链接 'source_url': '', # 阅读原文的链接 'cover': '', # 封面图 'author': '', # 作者 'copyright_stat': int, # 文章类型,例如:原创啊 }, ... ] } ``` ### 解析 首页热门 页 - get_gzh_article_by_hot ![ws_api.get_gzh_article_by_hot(WechatSogouConst.hot_index.food)](https://raw.githubusercontent.com/chyroc/wechatsogou/master/screenshot/get_gzh_article_by_hot.png) - 使用 ``` In [1]: from pprint import pprint ...: from wechatsogou import WechatSogouAPI, WechatSogouConst ...: ...: ws_api = WechatSogouAPI() ...: gzh_articles = ws_api.get_gzh_article_by_hot(WechatSogouConst.hot_index.food) ...: for i in gzh_articles: ...: pprint(i) ...: { 'article': { 'abstract': '闷热的夏天有什么事情能比吃上凉凉的甜品更惬意的呢?快一起动手做起来吧,简单方便,放冰箱冻一冻,那感觉~橙汁蒸木瓜木瓜1个(300-400克左右),橙子4个,枫糖浆20克(如果家里没有,也可以用蜂蜜、炼乳等代替),椰果适量。做法1.用削皮', 'main_img': 'http://img01.sogoucdn.com/net/a/04/link?appid=100520033&url=http%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2Fw9UGwFPia7QTUIadPibgW8OFkqf1ibR40xicKfzofRS0sDpaFp3CG0jkPyQKeXl44TXswztW1SJnic7tmCibjB8rIIGw%2F0%3Fwx_fmt%3Djpeg', 'open_id': 'oIWsFty9hHVI9F10amtzx5TOWIq8', 'time': 1501325220, 'title': '夏日甜品制作方法,不收藏后悔哦!', 'url': 'http://mp.weixin.qq.com/s?src=3&timestamp=1501328525&ver=1&signature=n9*oX0k4YbNFhNMsOjIekYrsha44lfBSCbG9jicAbGYrWNN8*48NzpcaHdxwUnC12syY5-ZxwcBfiJlMzdbAwWKlo26EW14w2Ax*gjLVlOX-AGXB4443obZ-GK0pw*AFZAGZD8sI4AFBZSZpyeaxN4sS7cpynxdIuw6S2h*--LI=' }, 'gzh': { 'headimage': 'http://img03.sogoucdn.com/app/a/100520090/oIWsFty9hHVI9F10amtzx5TOWIq8', 'wechat_name': '甜品烘焙制作坊' } } ... ... ``` - 数据结构 ```python { 'gzh': { 'headimage': str, # 公众号头像 'wechat_name': str, # 公众号名称 }, 'article': { 'url': str, # 文章临时链接 'title': str, # 文章标题 'abstract': str, # 文章摘要 'time': int, # 推送时间,10位时间戳 'open_id': str, # open id 'main_img': str # 封面图片 } } ``` ### 获取关键字联想词 - 使用 ``` In [1]: import wechatsogou ...: ...: ws_api =wechatsogou.WechatSogouAPI() ...: ws_api.get_sugg('高考') ...: Out[1]: ['高考e通', '高考专业培训', '高考地理俱乐部', '高考志愿填报咨讯', '高考报考资讯', '高考教育', '高考早知道', '高考服务志愿者', '高考机构', '高考福音'] ``` - 数据结构 关键词列表 ```python ['a', 'b', ...] ``` --- # TODO - [x] ~~相似文章的公众号获取~~ - [ ] 主页热门公众号获取 - [ ] 文章详情页信息 - [x] ~~所有类型的解析~~ - [ ] 验证码识别 - [ ] 接入爬虫框架 - [x] 兼容py2 ---
3,188
Apache Superset is a Data Visualization and Data Exploration Platform
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> # Superset [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/apache/superset?sort=semver)](https://github.com/apache/superset/tree/latest) [![Build Status](https://github.com/apache/superset/workflows/Python/badge.svg)](https://github.com/apache/superset/actions) [![PyPI version](https://badge.fury.io/py/apache-superset.svg)](https://badge.fury.io/py/apache-superset) [![Coverage Status](https://codecov.io/github/apache/superset/coverage.svg?branch=master)](https://codecov.io/github/apache/superset) [![PyPI](https://img.shields.io/pypi/pyversions/apache-superset.svg?maxAge=2592000)](https://pypi.python.org/pypi/apache-superset) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://bit.ly/join-superset-slack) [![Documentation](https://img.shields.io/badge/docs-apache.org-blue.svg)](https://superset.apache.org) <img src="https://github.com/apache/superset/raw/master/superset-frontend/src/assets/branding/superset-logo-horiz-apache.png" alt="Superset" width="500" /> A modern, enterprise-ready business intelligence web application. [**Why Superset?**](#why-superset) | [**Supported Databases**](#supported-databases) | [**Installation and Configuration**](#installation-and-configuration) | [**Release Notes**](RELEASING/README.md#release-notes-for-recent-releases) | [**Get Involved**](#get-involved) | [**Contributor Guide**](#contributor-guide) | [**Resources**](#resources) | [**Organizations Using Superset**](RESOURCES/INTHEWILD.md) ## Why Superset? Superset is a modern data exploration and data visualization platform. Superset can replace or augment proprietary business intelligence tools for many teams. Superset integrates well with a variety of data sources. Superset provides: - A **no-code interface** for building charts quickly - A powerful, web-based **SQL Editor** for advanced querying - A **lightweight semantic layer** for quickly defining custom dimensions and metrics - Out of the box support for **nearly any SQL** database or data engine - A wide array of **beautiful visualizations** to showcase your data, ranging from simple bar charts to geospatial visualizations - Lightweight, configurable **caching layer** to help ease database load - Highly extensible **security roles and authentication** options - An **API** for programmatic customization - A **cloud-native architecture** designed from the ground up for scale ## Screenshots & Gifs **Large Gallery of Visualizations** <kbd><img title="Gallery" src="superset-frontend/src/assets/images/screenshots/gallery.jpg"/></kbd><br/> **Craft Beautiful, Dynamic Dashboards** <kbd><img title="View Dashboards" src="superset-frontend/src/assets/images/screenshots/slack_dash.jpg"/></kbd><br/> **No-Code Chart Builder** <kbd><img title="Slice & dice your data" src="superset-frontend/src/assets/images/screenshots/explore.jpg"/></kbd><br/> **Powerful SQL Editor** <kbd><img title="SQL Lab" src="superset-frontend/src/assets/images/screenshots/sql_lab.jpg"/></kbd><br/> ## Supported Databases Superset can query data from any SQL-speaking datastore or data engine (Presto, Trino, Athena, [and more](https://superset.apache.org/docs/databases/installing-database-drivers/)) that has a Python DB-API driver and a SQLAlchemy dialect. Here are some of the major database solutions that are supported: <p align="center"> <img src="superset-frontend/src/assets/images/redshift.png" alt="redshift" border="0" width="200" height="80"/> <img src="superset-frontend/src/assets/images/google-biquery.png" alt="google-biquery" border="0" width="200" height="80"/> <img src="superset-frontend/src/assets/images/snowflake.png" alt="snowflake" border="0" width="200" height="80"/> <img src="superset-frontend/src/assets/images/trino.png" alt="trino" border="0" width="200" height="80"/> <img src="superset-frontend/src/assets/images/presto.png" alt="presto" border="0" width="200" height="80"/> <img src="superset-frontend/src/assets/images/databricks.png" alt="databricks" border="0" width="200" height="80" /> <img src="superset-frontend/src/assets/images/druid.png" alt="druid" border="0" width="200" height="80" /> <img src="superset-frontend/src/assets/images/firebolt.png" alt="firebolt" border="0" width="200" height="80" /> <img src="superset-frontend/src/assets/images/timescale.png" alt="timescale" border="0" width="200" height="80" /> <img src="superset-frontend/src/assets/images/rockset.png" alt="rockset" border="0" width="200" height="80" /> <img src="superset-frontend/src/assets/images/postgresql.png" alt="postgresql" border="0" width="200" height="80" /> <img src="superset-frontend/src/assets/images/mysql.png" alt="mysql" border="0" width="200" height="80" /> <img src="superset-frontend/src/assets/images/mssql-server.png" alt="mssql-server" border="0" width="200" height="80" /> <img src="superset-frontend/src/assets/images/db2.png" alt="db2" border="0" width="200" height="80" /> <img src="superset-frontend/src/assets/images/sqlite.png" alt="sqlite" border="0" width="200" height="80" /> <img src="superset-frontend/src/assets/images/sybase.png" alt="sybase" border="0" width="200" height="80" /> <img src="superset-frontend/src/assets/images/mariadb.png" alt="mariadb" border="0" width="200" height="80" /> <img src="superset-frontend/src/assets/images/vertica.png" alt="vertica" border="0" width="200" height="80" /> <img src="superset-frontend/src/assets/images/oracle.png" alt="oracle" border="0" width="200" height="80" /> <img src="superset-frontend/src/assets/images/firebird.png" alt="firebird" border="0" width="200" height="80" /> <img src="superset-frontend/src/assets/images/greenplum.png" alt="greenplum" border="0" width="200" height="80" /> <img src="superset-frontend/src/assets/images/clickhouse.png" alt="clickhouse" border="0" width="200" height="80" /> <img src="superset-frontend/src/assets/images/exasol.png" alt="exasol" border="0" width="200" height="80" /> <img src="superset-frontend/src/assets/images/monet-db.png" alt="monet-db" border="0" width="200" height="80" /> <img src="superset-frontend/src/assets/images/apache-kylin.png" alt="apache-kylin" border="0" width="200" height="80"/> <img src="superset-frontend/src/assets/images/hologres.png" alt="hologres" border="0" width="200" height="80"/> <img src="superset-frontend/src/assets/images/netezza.png" alt="netezza" border="0" width="200" height="80"/> <img src="superset-frontend/src/assets/images/pinot.png" alt="pinot" border="0" width="200" height="80"/> <img src="superset-frontend/src/assets/images/teradata.png" alt="teradata" border="0" width="200" height="80"/> <img src="superset-frontend/src/assets/images/yugabyte.png" alt="yugabyte" border="0" width="200" height="80"/> </p> **A more comprehensive list of supported databases** along with the configuration instructions can be found [here](https://superset.apache.org/docs/databases/installing-database-drivers). Want to add support for your datastore or data engine? Read more [here](https://superset.apache.org/docs/frequently-asked-questions#does-superset-work-with-insert-database-engine-here) about the technical requirements. ## Installation and Configuration [Extended documentation for Superset](https://superset.apache.org/docs/installation/installing-superset-using-docker-compose) ## Get Involved - Ask and answer questions on [StackOverflow](https://stackoverflow.com/questions/tagged/apache-superset) using the **apache-superset** tag - [Join our community's Slack](http://bit.ly/join-superset-slack) and please read our [Slack Community Guidelines](https://github.com/apache/superset/blob/master/CODE_OF_CONDUCT.md#slack-community-guidelines) - [Join our [email protected] Mailing list](https://lists.apache.org/[email protected]) ## Contributor Guide Interested in contributing? Check out our [CONTRIBUTING.md](https://github.com/apache/superset/blob/master/CONTRIBUTING.md) to find resources around contributing along with a detailed guide on how to set up a development environment. ## Resources Superset 2.0! - [Superset 2.0 Meetup](https://preset.io/events/superset-2-0-meetup/) - [Superset 2.0 Release Notes](https://github.com/apache/superset/tree/master/RELEASING/release-notes-2-0) Understanding the Superset Points of View - [The Case for Dataset-Centric Visualization](https://preset.io/blog/dataset-centric-visualization/) - [Understanding the Superset Semantic Layer](https://preset.io/blog/understanding-superset-semantic-layer/) - Getting Started with Superset - [Superset in 2 Minutes using Docker Compose](https://superset.apache.org/docs/installation/installing-superset-using-docker-compose#installing-superset-locally-using-docker-compose) - [Installing Database Drivers](https://superset.apache.org/docs/databases/docker-add-drivers/) - [Building New Database Connectors](https://preset.io/blog/building-database-connector/) - [Create Your First Dashboard](https://superset.apache.org/docs/creating-charts-dashboards/first-dashboard) - [Comprehensive Tutorial for Contributing Code to Apache Superset ](https://preset.io/blog/tutorial-contributing-code-to-apache-superset/) - [Resources to master Superset by Preset](https://preset.io/resources/) - Deploying Superset - [Official Docker image](https://hub.docker.com/r/apache/superset) - [Helm Chart](https://github.com/apache/superset/tree/master/helm/superset) - Recordings of Past [Superset Community Events](https://preset.io/events) - [Mixed Time Series Charts](https://preset.io/events/mixed-time-series-visualization-in-superset-workshop/) - [How the Bing Team Customized Superset for the Internal Self-Serve Data & Analytics Platform](https://preset.io/events/how-the-bing-team-heavily-customized-superset-for-their-internal-data/) - [Live Demo: Visualizing MongoDB and Pinot Data using Trino](https://preset.io/events/2021-04-13-visualizing-mongodb-and-pinot-data-using-trino/) - [Introduction to the Superset API](https://preset.io/events/introduction-to-the-superset-api/) - [Building a Database Connector for Superset](https://preset.io/events/2021-02-16-building-a-database-connector-for-superset/) - Visualizations - [Creating Viz Plugins](https://superset.apache.org/docs/contributing/creating-viz-plugins/) - [Managing and Deploying Custom Viz Plugins](https://medium.com/nmc-techblog/apache-superset-manage-custom-viz-plugins-in-production-9fde1a708e55) - [Why Apache Superset is Betting on Apache ECharts](https://preset.io/blog/2021-4-1-why-echarts/) - [Superset API](https://superset.apache.org/docs/rest-api)
3,189
An Open Source Machine Learning Framework for Everyone
<div align="center"> <img src="https://www.tensorflow.org/images/tf_logo_horizontal.png"> </div> [![Python](https://img.shields.io/pypi/pyversions/tensorflow.svg?style=plastic)](https://badge.fury.io/py/tensorflow) [![PyPI](https://badge.fury.io/py/tensorflow.svg)](https://badge.fury.io/py/tensorflow) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4724125.svg)](https://doi.org/10.5281/zenodo.4724125) [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/1486/badge)](https://bestpractices.coreinfrastructure.org/projects/1486) [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/tensorflow/tensorflow/badge)](https://api.securityscorecards.dev/projects/github.com/tensorflow/tensorflow) [![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/tensorflow.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:tensorflow) [![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/tensorflow-py.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:tensorflow-py) [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v1.4%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md) **`Documentation`** | ------------------- | [![Documentation](https://img.shields.io/badge/api-reference-blue.svg)](https://www.tensorflow.org/api_docs/) | [TensorFlow](https://www.tensorflow.org/) is an end-to-end open source platform for machine learning. It has a comprehensive, flexible ecosystem of [tools](https://www.tensorflow.org/resources/tools), [libraries](https://www.tensorflow.org/resources/libraries-extensions), and [community](https://www.tensorflow.org/community) resources that lets researchers push the state-of-the-art in ML and developers easily build and deploy ML-powered applications. TensorFlow was originally developed by researchers and engineers working on the Google Brain team within Google's Machine Intelligence Research organization to conduct machine learning and deep neural networks research. The system is general enough to be applicable in a wide variety of other domains, as well. TensorFlow provides stable [Python](https://www.tensorflow.org/api_docs/python) and [C++](https://www.tensorflow.org/api_docs/cc) APIs, as well as non-guaranteed backward compatible API for [other languages](https://www.tensorflow.org/api_docs). Keep up-to-date with release announcements and security updates by subscribing to [[email protected]](https://groups.google.com/a/tensorflow.org/forum/#!forum/announce). See all the [mailing lists](https://www.tensorflow.org/community/forums). ## Install See the [TensorFlow install guide](https://www.tensorflow.org/install) for the [pip package](https://www.tensorflow.org/install/pip), to [enable GPU support](https://www.tensorflow.org/install/gpu), use a [Docker container](https://www.tensorflow.org/install/docker), and [build from source](https://www.tensorflow.org/install/source). To install the current release, which includes support for [CUDA-enabled GPU cards](https://www.tensorflow.org/install/gpu) *(Ubuntu and Windows)*: ``` $ pip install tensorflow ``` Other devices (DirectX and MacOS-metal) are supported using [Device plugins](https://www.tensorflow.org/install/gpu_plugins#available_devices). A smaller CPU-only package is also available: ``` $ pip install tensorflow-cpu ``` To update TensorFlow to the latest version, add `--upgrade` flag to the above commands. *Nightly binaries are available for testing using the [tf-nightly](https://pypi.python.org/pypi/tf-nightly) and [tf-nightly-cpu](https://pypi.python.org/pypi/tf-nightly-cpu) packages on PyPi.* #### *Try your first TensorFlow program* ```shell $ python ``` ```python >>> import tensorflow as tf >>> tf.add(1, 2).numpy() 3 >>> hello = tf.constant('Hello, TensorFlow!') >>> hello.numpy() b'Hello, TensorFlow!' ``` For more examples, see the [TensorFlow tutorials](https://www.tensorflow.org/tutorials/). ## Contribution guidelines **If you want to contribute to TensorFlow, be sure to review the [contribution guidelines](CONTRIBUTING.md). This project adheres to TensorFlow's [code of conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code.** **We use [GitHub issues](https://github.com/tensorflow/tensorflow/issues) for tracking requests and bugs, please see [TensorFlow Discuss](https://groups.google.com/a/tensorflow.org/forum/#!forum/discuss) for general questions and discussion, and please direct specific questions to [Stack Overflow](https://stackoverflow.com/questions/tagged/tensorflow).** The TensorFlow project strives to abide by generally accepted best practices in open-source software development. ## Patching guidelines Follow these steps to patch a specific version of TensorFlow, for example, to apply fixes to bugs or security vulnerabilities: * Clone the TensorFlow repo and switch to the corresponding branch for your desired TensorFlow version, for example, branch `r2.8` for version 2.8. * Apply (that is, cherry pick) the desired changes and resolve any code conflicts. * Run TensorFlow tests and ensure they pass. * [Build](https://www.tensorflow.org/install/source) the TensorFlow pip package from source. ## Continuous build status You can find more community-supported platforms and configurations in the [TensorFlow SIG Build community builds table](https://github.com/tensorflow/build#community-supported-tensorflow-builds). ### Official Builds Build Type | Status | Artifacts ----------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- **Linux CPU** | [![Status](https://storage.googleapis.com/tensorflow-kokoro-build-badges/ubuntu-cc.svg)](https://storage.googleapis.com/tensorflow-kokoro-build-badges/ubuntu-cc.html) | [PyPI](https://pypi.org/project/tf-nightly/) **Linux GPU** | [![Status](https://storage.googleapis.com/tensorflow-kokoro-build-badges/ubuntu-gpu-py3.svg)](https://storage.googleapis.com/tensorflow-kokoro-build-badges/ubuntu-gpu-py3.html) | [PyPI](https://pypi.org/project/tf-nightly-gpu/) **Linux XLA** | [![Status](https://storage.googleapis.com/tensorflow-kokoro-build-badges/ubuntu-xla.svg)](https://storage.googleapis.com/tensorflow-kokoro-build-badges/ubuntu-xla.html) | TBA **macOS** | [![Status](https://storage.googleapis.com/tensorflow-kokoro-build-badges/macos-py2-cc.svg)](https://storage.googleapis.com/tensorflow-kokoro-build-badges/macos-py2-cc.html) | [PyPI](https://pypi.org/project/tf-nightly/) **Windows CPU** | [![Status](https://storage.googleapis.com/tensorflow-kokoro-build-badges/windows-cpu.svg)](https://storage.googleapis.com/tensorflow-kokoro-build-badges/windows-cpu.html) | [PyPI](https://pypi.org/project/tf-nightly/) **Windows GPU** | [![Status](https://storage.googleapis.com/tensorflow-kokoro-build-badges/windows-gpu.svg)](https://storage.googleapis.com/tensorflow-kokoro-build-badges/windows-gpu.html) | [PyPI](https://pypi.org/project/tf-nightly-gpu/) **Android** | [![Status](https://storage.googleapis.com/tensorflow-kokoro-build-badges/android.svg)](https://storage.googleapis.com/tensorflow-kokoro-build-badges/android.html) | [Download](https://bintray.com/google/tensorflow/tensorflow/_latestVersion) **Raspberry Pi 0 and 1** | [![Status](https://storage.googleapis.com/tensorflow-kokoro-build-badges/rpi01-py3.svg)](https://storage.googleapis.com/tensorflow-kokoro-build-badges/rpi01-py3.html) | [Py3](https://storage.googleapis.com/tensorflow-nightly/tensorflow-1.10.0-cp34-none-linux_armv6l.whl) **Raspberry Pi 2 and 3** | [![Status](https://storage.googleapis.com/tensorflow-kokoro-build-badges/rpi23-py3.svg)](https://storage.googleapis.com/tensorflow-kokoro-build-badges/rpi23-py3.html) | [Py3](https://storage.googleapis.com/tensorflow-nightly/tensorflow-1.10.0-cp34-none-linux_armv7l.whl) **Libtensorflow MacOS CPU** | Status Temporarily Unavailable | [Nightly Binary](https://storage.googleapis.com/libtensorflow-nightly/prod/tensorflow/release/macos/latest/macos_cpu_libtensorflow_binaries.tar.gz) [Official GCS](https://storage.googleapis.com/tensorflow/) **Libtensorflow Linux CPU** | Status Temporarily Unavailable | [Nightly Binary](https://storage.googleapis.com/libtensorflow-nightly/prod/tensorflow/release/ubuntu_16/latest/cpu/ubuntu_cpu_libtensorflow_binaries.tar.gz) [Official GCS](https://storage.googleapis.com/tensorflow/) **Libtensorflow Linux GPU** | Status Temporarily Unavailable | [Nightly Binary](https://storage.googleapis.com/libtensorflow-nightly/prod/tensorflow/release/ubuntu_16/latest/gpu/ubuntu_gpu_libtensorflow_binaries.tar.gz) [Official GCS](https://storage.googleapis.com/tensorflow/) **Libtensorflow Windows CPU** | Status Temporarily Unavailable | [Nightly Binary](https://storage.googleapis.com/libtensorflow-nightly/prod/tensorflow/release/windows/latest/cpu/windows_cpu_libtensorflow_binaries.tar.gz) [Official GCS](https://storage.googleapis.com/tensorflow/) **Libtensorflow Windows GPU** | Status Temporarily Unavailable | [Nightly Binary](https://storage.googleapis.com/libtensorflow-nightly/prod/tensorflow/release/windows/latest/gpu/windows_gpu_libtensorflow_binaries.tar.gz) [Official GCS](https://storage.googleapis.com/tensorflow/) ## Resources * [TensorFlow.org](https://www.tensorflow.org) * [TensorFlow Tutorials](https://www.tensorflow.org/tutorials/) * [TensorFlow Official Models](https://github.com/tensorflow/models/tree/master/official) * [TensorFlow Examples](https://github.com/tensorflow/examples) * [TensorFlow Codelabs](https://codelabs.developers.google.com/?cat=TensorFlow) * [TensorFlow Blog](https://blog.tensorflow.org) * [Learn ML with TensorFlow](https://www.tensorflow.org/resources/learn-ml) * [TensorFlow Twitter](https://twitter.com/tensorflow) * [TensorFlow YouTube](https://www.youtube.com/channel/UC0rqucBdTuFTjJiefW5t-IQ) * [TensorFlow model optimization roadmap](https://www.tensorflow.org/model_optimization/guide/roadmap) * [TensorFlow White Papers](https://www.tensorflow.org/about/bib) * [TensorBoard Visualization Toolkit](https://github.com/tensorflow/tensorboard) * [TensorFlow Code Search](https://cs.opensource.google/tensorflow/tensorflow) Learn more about the [TensorFlow community](https://www.tensorflow.org/community) and how to [contribute](https://www.tensorflow.org/community/contribute). ## Courses * [Deep Learning with Tensorflow from Edx](https://www.edx.org/course/deep-learning-with-tensorflow) * [DeepLearning.AI TensorFlow Developer Professional Certificate from Coursera](https://www.coursera.org/specializations/tensorflow-in-practice) * [TensorFlow: Data and Deployment from Coursera](https://www.coursera.org/specializations/tensorflow-data-and-deployment) * [Getting Started with TensorFlow 2 from Coursera](https://www.coursera.org/learn/getting-started-with-tensor-flow2) * [TensorFlow: Advanced Techniques from Coursera](https://www.coursera.org/specializations/tensorflow-advanced-techniques) * [TensorFlow 2 for Deep Learning Specialization from Coursera](https://www.coursera.org/specializations/tensorflow2-deeplearning) * [Intro to TensorFlow for A.I, M.L, and D.L from Coursera](https://www.coursera.org/learn/introduction-tensorflow) * [Machine Learning with TensorFlow on GCP from Coursera](https://www.coursera.org/specializations/machine-learning-tensorflow-gcp) * [Intro to TensorFlow for Deep Learning from Udacity](https://www.udacity.com/course/intro-to-tensorflow-for-deep-learning--ud187) * [Introduction to TensorFlow Lite from Udacity](https://www.udacity.com/course/intro-to-tensorflow-lite--ud190) ## License [Apache License 2.0](LICENSE)
3,190
Open source upgrade path for Odoo/OpenERP
null
3,191
A library for transfer learning by reusing parts of TensorFlow models.
<!-- Copyright 2018 The TensorFlow Hub Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ==============================================================================--> <!-- This file is rendered on github.com/tensorflow/hub. g3doc/_index.yaml is rendered on tensorflow.org/hub. Both link to g3doc/overview.md and g3doc/*.md for detailed docs. --> # TensorFlow Hub [TensorFlow Hub](https://tfhub.dev) is a repository of reusable assets for machine learning with [TensorFlow](https://www.tensorflow.org/). In particular, it provides pre-trained SavedModels that can be reused to solve new tasks with less training time and less training data. This GitHub repository hosts the `tensorflow_hub` Python library to download and reuse SavedModels in your TensorFlow program with a minimum amount of code, as well as other associated code and documentation. ## Getting Started * [Introduction](https://www.tensorflow.org/hub/) * The asset types of [tfhub.dev](https://tfhub.dev/) * [SavedModels for TensorFlow 2](docs/tf2_saved_model.md) and the [Reusable SavedModel interface](docs/reusable_saved_models.md). * Deprecated: [Models in TF1 Hub format](docs/tf1_hub_module.md) and their [Common Signatures](docs/common_signatures/index.md) collection. * Using the library * [Installation](docs/installation.md) * [Caching model downloads](docs/caching.md) * [Migration to TF2](docs/migration_tf2.md) * [Model compatibility for TF1/TF2](docs/model_compatibility.md) * [Common issues](docs/common_issues.md) * [Build from source](docs/build_from_source.md) * [Hosting a module](docs/hosting.md) * Tutorials * [TF2 Image Retraining](https://colab.research.google.com/github/tensorflow/hub/blob/master/examples/colab/tf2_image_retraining.ipynb) * [TF2 Text Classification](https://colab.research.google.com/github/tensorflow/hub/blob/master/examples/colab/tf2_text_classification.ipynb) * [Additional TF1 and TF2 examples](examples/README.md) ## Contributing If you'd like to contribute to TensorFlow Hub, be sure to review the [contribution guidelines](CONTRIBUTING.md). To contribute code to the library itself (not examples), you will probably need to [build from source](docs/build_from_source.md). This project adheres to TensorFlow's [code of conduct](https://github.com/tensorflow/tensorflow/blob/master/CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. We use [GitHub issues](https://github.com/tensorflow/hub/issues) for tracking requests and bugs. Please see the [TensorFlow Hub mailing list](https://groups.google.com/a/tensorflow.org/forum/#!forum/hub) for general questions and discussion, or tag [tensorflow-hub on Stack Overflow](https://stackoverflow.com/questions/tagged/tensorflow-hub). ## License [Apache License 2.0](LICENSE)
3,192
Introduction to Deep Neural Networks with Keras and Tensorflow
<div> <h1 style="text-align: center;">Deep Learning with Keras and Tensorflow</h1> <img style="text-align: left" src="https://blog.keras.io/img/keras-tensorflow-logo.jpg" width="15%" /> <div> <br> ### Author: Valerio Maggio #### Contacts: <table style="border: 0px; display: inline-table"> <tbody> <tr style="border: 0px;"> <td style="border: 0px;"> <img src="imgs/twitter_small.png" style="display: inline-block;" /> <a href="http://twitter.com/leriomaggio" target="_blank">@leriomaggio</a> </td> <td style="border: 0px;"> <img src="imgs/linkedin_small.png" style="display: inline-block;" /> <a href="it.linkedin.com/in/valeriomaggio" target="_blank">valeriomaggio</a> </td> <td style="border: 0px;"> <img src="imgs/gmail_small.png" style="display: inline-block;" /> valeriomaggio_at_gmail </td> </tr> </tbody> </table> ```shell git clone https://github.com/leriomaggio/deep-learning-keras-tensorflow.git ``` --- ## Table of Contents - **Part I**: **Introduction** - Intro to Artificial Neural Networks - Perceptron and MLP - naive pure-Python implementation - fast forward, sgd, backprop - Introduction to Deep Learning Frameworks - Intro to Theano - Intro to Tensorflow - Intro to Keras - Overview and main features - Overview of the `core` layers - Multi-Layer Perceptron and Fully Connected - Examples with `keras.models.Sequential` and `Dense` - Keras Backend - **Part II**: **Supervised Learning** - Fully Connected Networks and Embeddings - Intro to MNIST Dataset - Hidden Leayer Representation and Embeddings - Convolutional Neural Networks - meaning of convolutional filters - examples from ImageNet - Visualising ConvNets - Advanced CNN - Dropout - MaxPooling - Batch Normalisation - HandsOn: MNIST Dataset - FC and MNIST - CNN and MNIST - Deep Convolutional Neural Networks with Keras (ref: `keras.applications`) - VGG16 - VGG19 - ResNet50 - Transfer Learning and FineTuning - Hyperparameters Optimisation - **Part III**: **Unsupervised Learning** - AutoEncoders and Embeddings - AutoEncoders and MNIST - word2vec and doc2vec (gensim) with `keras.datasets` - word2vec and CNN - **Part IV**: **Recurrent Neural Networks** - Recurrent Neural Network in Keras - `SimpleRNN`, `LSTM`, `GRU` - LSTM for Sentence Generation - **PartV**: **Additional Materials**: - Custom Layers in Keras - Multi modal Network Topologies with Keras --- # Requirements This tutorial requires the following packages: - Python version 3.5 - Python 3.4 should be fine as well - likely Python 2.7 would be also fine, but *who knows*? :P - `numpy` version 1.10 or later: http://www.numpy.org/ - `scipy` version 0.16 or later: http://www.scipy.org/ - `matplotlib` version 1.4 or later: http://matplotlib.org/ - `pandas` version 0.16 or later: http://pandas.pydata.org - `scikit-learn` version 0.15 or later: http://scikit-learn.org - `keras` version 2.0 or later: http://keras.io - `tensorflow` version 1.0 or later: https://www.tensorflow.org - `ipython`/`jupyter` version 4.0 or later, with notebook support (Optional but recommended): - `pyyaml` - `hdf5` and `h5py` (required if you use model saving/loading functions in keras) - **NVIDIA cuDNN** if you have NVIDIA GPUs on your machines. [https://developer.nvidia.com/rdp/cudnn-download]() The easiest way to get (most) these is to use an all-in-one installer such as [Anaconda](http://www.continuum.io/downloads) from Continuum. These are available for multiple architectures. --- ### Python Version I'm currently running this tutorial with **Python 3** on **Anaconda** ```python !python --version ``` Python 3.5.2 --- ## Setting the Environment In this repository, files to re-create virtual env with `conda` are provided for Linux and OSX systems, namely `deep-learning.yml` and `deep-learning-osx.yml`, respectively. To re-create the virtual environments (on Linux, for example): ```shell conda env create -f deep-learning.yml ``` For OSX, just change the filename, accordingly. ### Notes about Installing Theano with GPU support **NOTE**: Read this section **only** if after _pip installing_ `theano`, it raises error in enabling the GPU support! Since version `0.9` Theano introduced the [`libgpuarray`](http://deeplearning.net/software/libgpuarray) in the stable release (it was previously only available in the _development_ version). The goal of `libgpuarray` is (_from the documentation_) make a common GPU ndarray (n dimensions array) that can be reused by all projects that is as future proof as possible, while keeping it easy to use for simple need/quick test. Here are some useful tips (hopefully) I came up with to properly install and configure `theano` on (Ubuntu) Linux with **GPU** support: 1) [If you're using Anaconda] `conda install theano pygpu` should be just fine! Sometimes it is suggested to install `pygpu` using the `conda-forge` channel: `conda install -c conda-forge pygpu` 2) [Works with both Anaconda Python or Official CPython] * Install `libgpuarray` from source: [Step-by-step install libgpuarray user library](http://deeplearning.net/software/libgpuarray/installation.html#step-by-step-install-user-library) * Then, install `pygpu` from source: (in the same source folder) `python setup.py build && python setup.py install` * `pip install theano`. After **Theano is installed**: ``` echo "[global] device = cuda floatX = float32 [lib] cnmem = 1.0" > ~/.theanorc ``` ### Installing Tensorflow To date `tensorflow` comes in two different packages, namely `tensorflow` and `tensorflow-gpu`, whether you want to install the framework with CPU-only or GPU support, respectively. For this reason, `tensorflow` has **not** been included in the conda envs and has to be installed separately. #### Tensorflow for CPU only: ```shell pip install tensorflow ``` #### Tensorflow with GPU support: ```shell pip install tensorflow-gpu ``` **Note**: NVIDIA Drivers and CuDNN **must** be installed and configured before hand. Please refer to the official [Tensorflow documentation](https://www.tensorflow.org/install/) for further details. #### Important Note: All the code provided+ in this tutorial can run even if `tensorflow` is **not** installed, and so using `theano` as the (default) backend! ___**This** is exactly the power of Keras!___ Therefore, installing `tensorflow` is **not** stricly required! +: Apart from the **1.2 Introduction to Tensorflow** tutorial, of course. ### Configure Keras with tensorflow By default, Keras is configured with `theano` as backend. If you want to use `tensorflow` instead, these are the simple steps to follow: 1) Create the `keras.json` (if it does not exist): ```shell touch $HOME/.keras/keras.json ``` 2) Copy the following content into the file: ``` { "epsilon": 1e-07, "backend": "tensorflow", "floatx": "float32", "image_data_format": "channels_last" } ``` 3) Verify it is properly configured: ```python !cat ~/.keras/keras.json ``` { "epsilon": 1e-07, "backend": "tensorflow", "floatx": "float32", "image_data_format": "channels_last" } --- # Test if everything is up&running ## 1. Check import ```python import numpy as np import scipy as sp import pandas as pd import matplotlib.pyplot as plt import sklearn ``` ```python import keras ``` Using TensorFlow backend. ## 2. Check installed Versions ```python import numpy print('numpy:', numpy.__version__) import scipy print('scipy:', scipy.__version__) import matplotlib print('matplotlib:', matplotlib.__version__) import IPython print('iPython:', IPython.__version__) import sklearn print('scikit-learn:', sklearn.__version__) ``` numpy: 1.11.1 scipy: 0.18.0 matplotlib: 1.5.2 iPython: 5.1.0 scikit-learn: 0.18 ```python import keras print('keras: ', keras.__version__) # optional import theano print('Theano: ', theano.__version__) import tensorflow as tf print('Tensorflow: ', tf.__version__) ``` keras: 2.0.2 Theano: 0.9.0 Tensorflow: 1.0.1 <br> <h1 style="text-align: center;">If everything worked till down here, you're ready to start!</h1>
3,193
We have made you a wrapper you can't refuse
null
3,194
Command line driven CI frontend and development task automation tool.
# tox [![PyPI](https://img.shields.io/pypi/v/tox)](https://pypi.org/project/tox/) [![Supported Python versions](https://img.shields.io/pypi/pyversions/tox.svg)](https://pypi.org/project/tox/) [![Downloads](https://pepy.tech/badge/tox/month)](https://pepy.tech/project/tox) [![Documentation status](https://readthedocs.org/projects/tox/badge/?version=latest)](https://tox.readthedocs.io/en/latest/?badge=latest) [![check](https://github.com/tox-dev/tox/actions/workflows/check.yml/badge.svg)](https://github.com/tox-dev/tox/actions/workflows/check.yml) `tox` aims to automate and standardize testing in Python. It is part of a larger vision of easing the packaging, testing and release process of Python software (alongside [pytest](https://docs.pytest.org/en/latest/) and [devpi](https://www.devpi.net)). tox is a generic virtual environment management and test command line tool you can use for: - checking your package builds and installs correctly under different environments (such as different Python implementations, versions or installation dependencies), - running your tests in each of the environments with the test tool of choice, - acting as a frontend to continuous integration servers, greatly reducing boilerplate and merging CI and shell-based testing. Please read our [user guide](https://tox.wiki/en/latest/user_guide.html#basic-example) for an example and more detailed introduction, or watch [this YouTube video](https://www.youtube.com/watch?v=SFqna5ilqig) that presents the problem space and how tox solves it.
3,195
Statistical data visualization in Python
<img src="https://raw.githubusercontent.com/mwaskom/seaborn/master/doc/_static/logo-wide-lightbg.svg"><br> -------------------------------------- seaborn: statistical data visualization ======================================= [![PyPI Version](https://img.shields.io/pypi/v/seaborn.svg)](https://pypi.org/project/seaborn/) [![License](https://img.shields.io/pypi/l/seaborn.svg)](https://github.com/mwaskom/seaborn/blob/master/LICENSE) [![DOI](https://joss.theoj.org/papers/10.21105/joss.03021/status.svg)](https://doi.org/10.21105/joss.03021) [![Tests](https://github.com/mwaskom/seaborn/workflows/CI/badge.svg)](https://github.com/mwaskom/seaborn/actions) [![Code Coverage](https://codecov.io/gh/mwaskom/seaborn/branch/master/graph/badge.svg)](https://codecov.io/gh/mwaskom/seaborn) Seaborn is a Python visualization library based on matplotlib. It provides a high-level interface for drawing attractive statistical graphics. Documentation ------------- Online documentation is available at [seaborn.pydata.org](https://seaborn.pydata.org). The docs include a [tutorial](https://seaborn.pydata.org/tutorial.html), [example gallery](https://seaborn.pydata.org/examples/index.html), [API reference](https://seaborn.pydata.org/api.html), [FAQ](https://seaborn.pydata.org/faq), and other useful information. To build the documentation locally, please refer to [`doc/README.md`](doc/README.md). Dependencies ------------ Seaborn supports Python 3.8+. Installation requires [numpy](https://numpy.org/), [pandas](https://pandas.pydata.org/), and [matplotlib](https://matplotlib.org/). Some advanced statistical functionality requires [scipy](https://www.scipy.org/) and/or [statsmodels](https://www.statsmodels.org/). Installation ------------ The latest stable release (and required dependencies) can be installed from PyPI: pip install seaborn It is also possible to include optional statistical dependencies: pip install seaborn[stats] Seaborn can also be installed with conda: conda install seaborn Note that the main anaconda repository lags PyPI in adding new releases, but conda-forge (`-c conda-forge`) typically updates quickly. Citing ------ A paper describing seaborn has been published in the [Journal of Open Source Software](https://joss.theoj.org/papers/10.21105/joss.03021). The paper provides an introduction to the key features of the library, and it can be used as a citation if seaborn proves integral to a scientific publication. Testing ------- Testing seaborn requires installing additional dependencies; they can be installed with the `dev` extra (e.g., `pip install .[dev]`). To test the code, run `make test` in the source directory. This will exercise the unit tests (using [pytest](https://docs.pytest.org/)) and generate a coverage report. Code style is enforced with `flake8` using the settings in the [`setup.cfg`](./setup.cfg) file. Run `make lint` to check. Alternately, you can use `pre-commit` to automatically run lint checks on any files you are committing: just run `pre-commit install` to set it up, and then commit as usual going forward. Development ----------- Seaborn development takes place on Github: https://github.com/mwaskom/seaborn Please submit bugs that you encounter to the [issue tracker](https://github.com/mwaskom/seaborn/issues) with a reproducible example demonstrating the problem. Questions about usage are more at home on StackOverflow, where there is a [seaborn tag](https://stackoverflow.com/questions/tagged/seaborn).
3,196
Python training for business analysts and traders
<img width="50%" src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/af/J_P_Morgan_Logo_2008_1.svg/1280px-J_P_Morgan_Logo_2008_1.svg.png"> # Python Training **This Python training is for JPMorgan business analysts and traders, as well as select clients.** ![GitHub](https://img.shields.io/github/license/jpmorganchase/python-training?style=flat-square) [![Contact](https://img.shields.io/badge/Contact-Email-lightgrey?style=flat-square)](mailto:[email protected]) ## Overview This course is designed to be an introduction to numerical computing and data visualization in Python. It is not designed to be a complete course in Computer Science or programming, but rather a motivational demonstration of how relatively complex topics can be accessible even to those without formal progamming backgrounds. This training is designed to be conducted in-person, led by J.P. Morgan technologists and traders. For interested institutional clients, please reach out [via email](mailto:[email protected]) [![](https://img.shields.io/badge/Launch-Cloud%20Instance-brightgreen?style=for-the-badge)](http://mybinder.org/v2/gh/jpmorganchase/python-training/main?urlpath=lab) ## Platform Attribution This repository relies on the [Binder](https://mybinder.readthedocs.io/en/latest/about.html) project, which is generously supported by [Google Cloud Platform](https://cloud.google.com/), [OVH](https://www.ovh.com/world/), [GESIS Notebooks](https://notebooks.gesis.org) and the [Turing Institute](https://www.turing.ac.uk). ## Data Attribution - Financial data provided by [IEX Cloud](https://iexcloud.io) - Airport and route data provided by [OpenFlights.org](https://openflights.org/data.html#license) ## License This software is licensed under the Apache 2 license. See the [LICENSE](LICENSE) file for details.
3,197
Algorithms And DataStructure Implemented In Python, Java & CPP, Give a Star 🌟If it helps you
<p align="center"> <a href="http://codeperfectplus.herokuapp.com/"><img src="https://capsule-render.vercel.app/api?type=rect&color=666666&height=100&section=header&text=Algorithms%20And%20Data%20Structures&fontSize=55%&fontColor=ffffff&fontAlignY=65" alt="website title image"></a> <h2 align="center">👉 A Collection of Algorithm And Data Structures in C++ and Python 👈</h2> </p> <p align="center"> <a href="http://codeperfectplus.herokuapp.com/"><img src="https://capsule-render.vercel.app/api?type=rect&color=666444&height=40&section=header&text=Hacktoberfest%20Excluded&fontSize=35%&fontColor=ffffff&fontAlignY=65" alt="website title image"></a> </p> <p align="center"> <img src="https://img.shields.io/badge/language-python-blue?style=for-the-badge"> <img src="https://img.shields.io/badge/language-C++-green?style=for-the-badge"> <img src="https://img.shields.io/badge/language-java-yellow?style=for-the-badge"> <img src="https://img.shields.io/badge/language-Javascript-ff69b4?style=for-the-badge"> </p> <p align="center"> <a href="https://github.com/codeperfectplus/awesomeScripts/stargazers"><img src="https://img.shields.io/github/stars/codeperfectplus/AlgorithmsAndDataStructure?style=for-the-badge" alt="github stars"></a> <a href="https://github.com/codeperfectplus/awesomeScripts/network/members"><img src="https://img.shields.io/github/forks/codeperfectplus/AlgorithmsAndDataStructure?style=for-the-badge" alt="github forks"></a> <img src="https://img.shields.io/github/languages/code-size/codeperfectplus/AlgorithmsAndDataStructure?style=for-the-badge" alt="code size"> </p> <p align="center"> <a href="https://github.com/codeperfectplus/awesomeScripts/issues"><img src="https://img.shields.io/github/issues-raw/codeperfectplus/AlgorithmsAndDataStructure?style=for-the-badge" alt="open issues"></a> <a href="https://github.com/codeperfectplus/awesomeScripts/issues"><img src="https://img.shields.io/github/issues-closed-raw/codeperfectplus/AlgorithmsAndDataStructure?style=for-the-badge" alt="closed issues"><a/> <a href="https://github.com/codeperfectplus/awesomeScripts/pulls"><img src="https://img.shields.io/github/issues-pr-raw/codeperfectplus/AlgorithmsAndDataStructure?style=for-the-badge" alt="open pull request"></a> <a href="https://github.com/codeperfectplus/awesomeScripts/pulls"><img src="https://img.shields.io/github/issues-pr-closed-raw/codeperfectplus/AlgorithmsAndDataStructure?style=for-the-badge" alt="closed pull request"></a> </p> <p align="center"> <a href="https://discord.gg/JfbK3bS"><img src="https://img.shields.io/discord/758030555005714512.svg?label=Discord&logo=Discord&colorB=7289da&style=for-the-badge" alt="discord invite"></a> <img src="https://img.shields.io/github/last-commit/codeperfectplus/AlgorithmsAndDataStructure?style=for-the-badge" alt="last contributions"> <a href="https://api.github.com/repos/codeperfectplus/AlgorithmsAndDataStructure/contributors"><img src="https://img.shields.io/github/contributors/codeperfectplus/AlgorithmsAndDataStructure?style=for-the-badge" alt="total contributors"></a> </p> - [Introduction](#introduction) - [Data Structure](#data-structure) - [Algorithms](#algorithms) - [Languages](#languages) - [Support](#support) - [Project Progress](#project-progress) - [Contributing](#contributing) - [Authors and acknowledgment](#authors-and-acknowledgment) - [License](#license) - [Maintainers](#maintainers) **Anyone Interested in managing the repository for the upcoming HacktoberFest2021, email us at `[email protected]`** - Must be a student - Must have knowledge of Git Commands ex- branching, merging etc - Must have Python/C++ DS and Algo knowledge to review code. ## Introduction Data structures & algorithms are an essential part of programming. They both fall under the fundamentals of computer science. Understanding these gives us the advantage of writing better and more efficient code in less time. They are key topics when it comes to acing software engineering interview questions, so as developers, we must have knowledge of data Structure and algorithms. :star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it! ## Data Structures In computer science, a data structure is a data organization, management, and storage format that enables efficient access and modification. Data structure is a way or a format in which your data is stored in memory for efficient usage and retrieval. ## Algorithms An algorithm is a set of instructions that are used to accomplish a task, such as finding the largest number in a list, removing all the red cards from a deck of playing cards, sorting a collection of names, or figuring out an average movie rating from just your friends' opinions. Algorithms are not limited to computers. They are like a set of step-by-step instructions or an even a recipe, containing things you need, steps to do, the order to do them, conditions to look for, and expected results. ## Languages - C++ - Python - Java - JavaScript ## Support Check [Contribution](/CONTRIBUTING.md) Guide Before Contribution. ## Contributing Before submitting a bug, please do the following: Check [Contribution](/CONTRIBUTING.md) Guide Before Contribution. - Create separate issues for Python and C++. - You can only work on issues that you have been assigned to. - Use Flake8 locally for linting Python Code. `pip install flake8`. (We have linting checks so if your code fails it we will not merge the PR.) ## Authors and acknowledgment Show your appreciation to those who have contributed to the project. ## [License](/LICENSE) For open-source projects, Under [MIT License](/LICENSE). ## Maintainers ### 2023 Team - [Kritika Gupta](https://github.com/Kritika30032002) - [Arjit Goyal](https://github.com/arjit1704) ### 2022 Team - [Deepak Raj](https://github.com/codePerfectPlus) - [Harshit Paneri](https://github.com/harshit-paneri) - [Romil jain](https://github.com/romiljain23) - [Vanshika Sharma](https://github.com/Vanshika2063) ### 2020-2021 Team - [Ayush Modi](https://github.com/hot9cups) - [Deepak Raj](https://github.com/codePerfectPlus) - [ExpressHermes](https://github.com/ExpressHermes) - [Shantanu Kale](https://github.com/SSKale1) - [rex_divakar](https://github.com/rexdivakar) - [Shubham Pawar](https://github.com/shubham5351) ## Contributors <a href="https://github.com/codePerfectPlus/AlgorithmsAndDataStructure/graphs/contributors"> <img src="https://contrib.rocks/image?repo=codePerfectPlus/AlgorithmsAndDataStructure" /> </a> ## Stargazers over time [![Stargazers over time](https://starchart.cc/codePerfectPlus/AlgorithmsAndDataStructure.svg)](https://starchart.cc/codePerfectPlus/AlgorithmsAndDataStructure) ## Must Read Articles - [5 Tips for computer programming begineers](https://codeperfectplus.herokuapp.com/5-tips-for-computer-programming-beginners) - [What is HacktoberFest](https://codeperfectplus.herokuapp.com/what-is-hacktoberfest) - [What is Git and Github](https://codeperfectplus.herokuapp.com/what-is-git-and-gitHub) <p align="center"> <a href="https://api.github.com/repos/py-contributors/AlgorithmsAndDataStructure/contributors"><img src="http://ForTheBadge.com/images/badges/built-by-developers.svg" alt="built by developers"></a> </p>
3,198
Awesome Python features explained using the world of magic
# Awesome Python Features Explained Using the World of Magic <img src="castle_kilmere.png" width="70%"> As outlined in [my blog post](https://alpopkes.com/posts/python/magical_universe/day_1_start/), I decided to take on a new habit using a technique I found on the ['get disciplined' subreddit](https://www.reddit.com/r/getdisciplined/comments/1x99m6/im_a_piece_of_shit_no_more_games_no_more_lies_no/cf9dz72/). As one of my new habits I chose: "Code for 15 minutes every day". As part of the habit I've started creating a series of **blog posts** on important and awesome **Python features**, including object oriented programming, properties, function annotations, duck typing, etc. Since I was bored by the usual tutorial examples, I looked for a topic that would make it fun to study and implement the concepts. And since I absolutely love Harry Potter, I started creating my own magical universe around the topics. A short introduction into my magical universe - **The Tales of Castle Kilmere** can be found [here](https://alpopkes.com/posts/python/magical_universe/day_1_magical_universe/). So if you like magic and want to improve your Python knowledge and skills, get right into it! A logbook of what I worked on each day can be found on my [website](https://alpopkes.com/posts/python/magical_universe/). The code runs in **Python 3.6**, the [code on data classes](https://github.com/zotroneneis/magical_universe/blob/master/code_per_day/day_16_to_18.py) requires Python 3.7 (or you pip install data classes for Python 3.6). Start date: 07/23/2018 ## Keynote at PyCon Estonia and EuroPython I gave a keynote talk about this project titled "Finding Magic in Python" at PyCon Estonia 2020. So if you are up for some magic and want to see an introduction to some of the topics (like Namedtuples or Abstract Base Classes) check out the [recording on YouTube](https://www.youtube.com/watch?v=Kf92pycivt4). I held another talk at EuroPython, check out [the recording here](https://www.youtube.com/watch?v=J4e4YCZ-jiQ). ## Running pytest In case you get ```ImportError: no module named magical_universe``` when running pytest from within the test_code directory, take a look at [this post](https://stackoverflow.com/questions/10253826/path-issue-with-pytest-importerror-no-module-named-yadayadayada) and try running pytest from the root directory (which is the home directory in my case) using ```python -m pytest magical_universe/test_code/```. ## Overview | Day | Topics | Blog post with explanations | Code for the day | | :---: |:--------------: | :--------------------------:| :----------------:| | 1 | Intro to object oriented programming, classes, inheritance | [Day 1](https://alpopkes.com/posts/python/magical_universe/day_1_first_post_oop/) | [Code day 1](https://github.com/zotroneneis/100_days_of_code/blob/master/code_per_day/day_1.py) | | 2 | Class methods, instance methods, static methods, using class methods as alternative constructors | [Day 2](https://alpopkes.com/posts/python/magical_universe/day_2_types_of_methods/) | [Code day 2](https://github.com/zotroneneis/100_days_of_code/blob/master/code_per_day/day_2.py) | | 3 |Type annotations|[Day 3](https://alpopkes.com/posts/python/magical_universe/day_3_type_annotations/) | [Code day 3](https://github.com/zotroneneis/100_days_of_code/blob/master/code_per_day/day_3.py) | | 4 |To-string conversion, `__repr__, __str__`|[Day 4](https://alpopkes.com/posts/python/magical_universe/day_4_to_string_conversion/) | [Code day 4](https://github.com/zotroneneis/100_days_of_code/blob/master/code_per_day/day_4.py) | | 5 |Decorators|[Day 5](https://alpopkes.com/posts/python/magical_universe/day_5_decorators/) | No new code added | | 6 |Properties, `@property` and `property()`, setters, getters|[Day 6](https://alpopkes.com/posts/python/magical_universe/day_6_properties/) | [Code day 6](https://github.com/zotroneneis/100_days_of_code/blob/master/code_per_day/day_6.py) | | 7 |Underscore patterns for variable naming, `_variable, __variable, __variable__, etc.`|[Day 7](https://alpopkes.com/posts/python/magical_universe/day_7_underscore_patterns/) | No new code added | | 8 | New methods and classes added to the HP universe |[Day 8](https://alpopkes.com/posts/python/magical_universe/day_8_extending_universe/) | [Code day 8](https://github.com/zotroneneis/100_days_of_code/blob/master/code_per_day/day_8.py) | | 9 | Duck typing, EAFP principle |[Day 9](https://alpopkes.com/posts/python/magical_universe/day_9_duck_typing/) | [Code day 9](https://github.com/zotroneneis/100_days_of_code/blob/master/code_per_day/day_9.py) | | 10 & 11| Namedtuples | [Day 10 & 11](https://alpopkes.com/posts/python/magical_universe/day_10_11_namedtuples/) | [Code day 10 & 11](https://github.com/zotroneneis/100_days_of_code/blob/master/code_per_day/day_10_and_11.py)| | 12 - 15 | Abstract Base Classes | [Day 12 to 15](https://alpopkes.com/posts/python/magical_universe/day_12_to_15_abcs/) | [Code day 12 to 15](https://github.com/zotroneneis/100_days_of_code/blob/master/code_per_day/day_12_to_15.py)| | 16 - 18 | Data Classes | [Day 16 to 18](https://alpopkes.com/posts/python/magical_universe/day_16_to_18_data_classes/) | [Code day 16 to 18](https://github.com/zotroneneis/magical_universe/blob/master/code_per_day/day_16_to_18.py)| | 19 | Immutable Data Classes | [Day 19](https://alpopkes.com/posts/python/magical_universe/day_19_immutable_data_classes/) | [Code day 19](https://github.com/zotroneneis/magical_universe/blob/master/code_per_day/day_19.py)| | 20 | Decorators within a class | [Day 20](https://alpopkes.com/posts/python/magical_universe/day_20_decorators_in_classes/) | [Code day 20](https://github.com/zotroneneis/magical_universe/blob/master/code_per_day/day_20.py)| | 21 | The mysterious `if __name__ == "__main__"` | [Day 21](https://alpopkes.com/posts/python/magical_universe/day_21_if_main/) | No new code added | | 22 - 24 | Context managers and the `with` statement| [Day 22 to 24](https://alpopkes.com/posts/python/magical_universe/day_22_to_24_context_managers/) | [Code day 22 to 24](https://github.com/zotroneneis/magical_universe/blob/master/code_per_day/day_22_to_24.py) | | 25 - 28 | Testing code with pytest| [Day 25 to 28](https://alpopkes.com/posts/python/magical_universe/day_25_to_28_pytest/) | [Code day 25 to 28](https://github.com/zotroneneis/magical_universe/blob/master/test_code/test_hogwarts_member_class.py) | | 29 - 31 | Iterators, iterables, iteration| [Day 29 to 31](https://alpopkes.com/posts/python/magical_universe/day_29_to_31_iterators/) | [Code day 29 to 31](https://github.com/zotroneneis/magical_universe/blob/master/code_per_day/day_29_to_31.py) | | 32 | Test code for `Professor` class | No blog post, see [Day 25 to 28](http://alpopkes.com/posts/2018/08/coding-challenge-day-51/) for an introduction to testing| [Code day 32](https://github.com/zotroneneis/magical_universe/blob/master/test_code/test_professor_class.py) | | 33 | Test code for `Ghost` class | No blog post, see [Day 25 to 28](http://alpopkes.com/posts/2018/08/coding-challenge-day-51/) for an introduction to testing| [Code day 33](https://github.com/zotroneneis/magical_universe/blob/master/test_code/test_ghost_class.py) | | 34 | Counting objects with `Collections.counter` | [Day 34](https://alpopkes.com/posts/python/magical_universe/day_34_multisets/) | [Day 34](https://github.com/zotroneneis/magical_universe/blob/master/code_per_day/day_34.py) | | 35 | Test code for `DarkArmyMember` class | No blog post, see [Day 25 to 28](http://alpopkes.com/posts/2018/08/coding-challenge-day-51/) for an introduction to testing| [Code day 35](https://github.com/zotroneneis/magical_universe/blob/master/test_code/test_dark_army_member_class.py) | | 36 | Test code for `Potion` class | No blog post, see [Day 25 to 28](http://alpopkes.com/posts/2018/08/coding-challenge-day-51/) for an introduction to testing| [Code day 36](https://github.com/zotroneneis/magical_universe/blob/master/test_code/test_potion_class.py) | | 37 | Extension of Magical Universe with classmethods for `Charm, Hex, Curse`, etc. | [Day 37](https://alpopkes.com/posts/python/magical_universe/day_37_extending_universe/) | [Code day 37](https://github.com/zotroneneis/magical_universe/blob/master/code_per_day/day_37.py) | | 38 - 39 | Test code for `Spell` class | No blog post, see [Day 25 to 28](http://alpopkes.com/posts/2018/08/coding-challenge-day-51/) for an introduction to testing| [Code day 38 to 39](https://github.com/zotroneneis/magical_universe/blob/master/test_code/test_abstract_base_class_spell.py) | | 40 - 42 | Test code for `Pupil` class | No blog post, see [Day 25 to 28](http://alpopkes.com/posts/2018/08/coding-challenge-day-51/) for an introduction to testing| [Code day 40 to 42](https://github.com/zotroneneis/magical_universe/blob/master/test_code/test_pupil_class.py) | | 43 - 45 | Custom exception classes| [Day 43 to 45](https://alpopkes.com/posts/python/magical_universe/day_43_to_45_exception_classes/) | [Code day 43 to 45](https://github.com/zotroneneis/magical_universe/blob/master/code_per_day/day_43_to_45.py) | | 46 | `functools.wraps` - Avoiding losing metdata when applying decorators| [Day 46](https://alpopkes.com/posts/python/magical_universe/day_46_functools_wraps/) | [Code day 46](https://github.com/zotroneneis/magical_universe/blob/master/code_per_day/day_46.py) | | 47 - 48 | `collections.defaultdict`| [Day 47 to 48](https://alpopkes.com/posts/python/magical_universe/day_47_to_48_defaultdict/) | [Code day 47 to 48](https://github.com/zotroneneis/magical_universe/blob/master/code_per_day/day_47_to_48.py) | | 49 - 50 | Working with config files| [Day 49 to 50](https://alpopkes.com/posts/python/magical_universe/day_49_to_50_config_files/) | [Code day 49 to 50](https://github.com/zotroneneis/magical_universe/blob/master/code_per_day/day_49_to_50.py) | | 51 | Wrap up| [Day 51](https://alpopkes.com/posts/python/magical_universe/2018-09-16-blog-post-day-51/) | No new code added | ## Feedback In case you find a mistake in the code or the blog posts, please let me know by opening an issue!
3,199
Data Science Roadmap from A to Z
![photo_2022-04-20_03-18-03](https://user-images.githubusercontent.com/92026137/164127639-38317783-8c5e-4b85-acf5-3d6bd6dbf9c0.jpg) <h2>&emsp;&emsp;&emsp;&emsp; DATA SCIENCE ROADMAP :pirate_flag: 2023 </h2> ### Data Science Roadmap for anyone interested in how to break into the field! <h4><i>This repository is intended to provide a free Self-Learning Roadmap to learn the field of Data Science. I provide some of the best free resources.</i></h4><br> &emsp;&emsp;[Our Previous Roadmap](https://github.com/Seif-Mohamed1/DataScience-Squad) ♥️<br> &emsp;&emsp; :warning: <b>*Before we start,*</b> :warning: #### If you Dont know What`s Data Science or Projects Life Cycle (starting from Business Understanding to Deployment) or Which Programming Language you should go for or Job Descriptions or the required Soft & Hard Skills needed for this field or Data Science Applications or the Most Common Mistakes, then<br> ### :pushpin:**[This Video](https://www.youtube.com/watch?v=5zRvq7CG6Zw&t=5s) is for you (Highly Recommended :heavy_check_mark:)** <h2>Data Science vs Data Analytics vs Data Engineering - What's the Difference?</h2><br> ![aaa](https://user-images.githubusercontent.com/92026137/163718013-30b3af7b-5b3c-4a08-a54e-1c81b994a5f6.png) <h4><i>These terms are wrongly used interchangably among people. There are distinct differences:</i></h4> | :small_orange_diamond: **Data Science** | :small_orange_diamond: **Data Analytics** | :small_orange_diamond: **Data Engineering** | | ------------- | --------------------- | -------------------- | |<h5>Is a multidisciplinary field that focuses on looking at raw and structured data sets and providing potential actionable insights. The field of Data Science looks at ensuring we are asking the right questions as opposed to finding exact answers. Data Scientist require skillsets that are centered on Computer Science, Mathematics, and Statistics. Data Scientist use several unique techniques to analyze data such as machine learning, trends, linear regressions, and predictive modeling. The tools Data Scientist use to apply these techniques include Python and R. </h5>|<h5> Focuses on looking at existing data sets and creating solutions to capture data, process data, and finally organize data to draw actionable insights. This field looks at finding general process, business, and engineering improvements we can make based on questions we don't know the answers to. Data Analytics require skillsets that are centered on Statistics, Mathematics, and high level understanding of Computer Science. It involves data cleaning, data visualization, and simple modeling. Common Data Analytic tools used include Microsoft Power Bi, Tableau, and SQL. </h5>|<h5> Focuses on creating the correct infrastructure and tools required to support the business. Data Engineers look at what are the optimal ways to store and extract data and involves writing scripts and building data warehouses. Data Engineering require skillsets that are centered on Software Engineering, Computer Science and high level Data Science. The tools Data Engineers utilize are mainly Python, Java, Scala, Hadoop, and Spark. </h5>| # Prepare your workspace <details><summary> <h3>Tip :one: : Pick one and stick to it. (:file_folder:Click)</h3> </summary> <br> [Anaconda](https://www.anaconda.com/products/distribution): It’s a tool kit that fulfills all your necessities in writing and running code. From Powershell prompt to Jupyter Notebook and PyCharm, even R Studio (if interested to try R) ![a](https://user-images.githubusercontent.com/92026137/163717819-4689c927-6022-47da-b204-169693bfa397.png) [Atom](https://atom.io/packages/ide-python): A more advanced Python interface, highly recommended by experts. <br /> [Google Colab](https://colab.research.google.com/notebooks/intro.ipynb): It’s like a Jupyter Notebook but in the cloud. You don’t need to install anything locally. All the important libraries are already installed. For example NumPy, Pandas, Matplotlib, and Sci-kit Learn <br /> [PyCharm](https://www.jetbrains.com/): PyCharm is another excellent IDE that enables you to integrate with libraries such as NumPy and Matplotlib, allowing you to work with array viewers and interactive plots. <br /> [Thonny](https://thonny.org/): Thonny is an IDE for teaching and learning programming. Thonny is equipped with a debugger, and supports code completion, and highlights syntax errors.</details> Most learning platforms have integrated code exercises where you don’t need to install anything locally. But to learn it right, you should have an IDE installed on your local machine. Suggestions will be a marketplace with many options and few improvements from one platform to another. ### Tip :two: : Focus on one course at least. ### Tip :three: : Don’t chase certifications. ### Tip :four: : Don’t rush for ML without having a good background in programming & maths. ## This track is divided into 3 phases :arrow_down: : #### &emsp; 1. Beginner: you get a basic understanding of data analysis, tools and techniques. #### &emsp; 2. Intermediate: dive deeper in more complex topics of ML, Math and data engineering. #### &emsp; 3. Advanced: where we learn more advanced Math, DL and Deployment. :bell: For Data Camp courses, github student pack gives 3 free months. Google how to get it.<br> <i>if you already used it, do not hesitate to contact us to have an account with free access.:hibiscus:</i> ## Legend * :video_camera: Video Content * :closed_book: Online Article Content / Book ### :bulb: Roadmap Explanation :arrow_forward: [Youtube Video](https://youtu.be/HbIPJuvzRLk) :movie_camera: *** ## :beginner: Beginner :beginner: [Algorithms Book](https://github.com/cjbt/Free-Algorithm-Books/blob/master/book/Grokking%20Algorithms%20-%20An%20illustrated%20guide%20for%20programmers%20and%20other%20curious%20people.pdf) <i>Every piece of code could be called an algorithm, but this book covers the more interesting bits.</i><br> [Specializations (data structures-algorithms)](https://www.coursera.org/specializations/data-structures-algorithms) **1. Descriptive Stats.** <br> &emsp;&emsp;&emsp;:video_camera: [Intro to descriptive statistics](https://www.udacity.com/course/intro-to-descriptive-statistics--ud827)<br> &emsp;&emsp;&emsp;:closed_book: [Online statistics education](http://onlinestatbook.com/Online_Statistics_Education.pdf)<br> &emsp;&emsp;&emsp;:closed_book: Intro to descriptive statistics [Article1](https://medium.com/m/global-identity?redirectUrl=https%3A%2F%2Ftowardsdatascience.com%2Fdescriptive-statistics-f2beeaf7a8df) & [Article2](https://medium.com/m/global-identity?redirectUrl=https%3A%2F%2Ftowardsdatascience.com%2Fintro-to-descriptive-statistics-252e9c464ac9)<br> &emsp;&emsp;&emsp;:video_camera: [Arabic Course](https://www.youtube.com/watch?v=d5jh5mmwcKI&list=PLY99ZSsxRyJiu6kb4WRRpeEFqK1pAr-EO)<br> &emsp;&emsp;&emsp;:video_camera: [Intro to Inferential Statistics](https://www.udacity.com/course/intro-to-inferential-statistics--ud201)++<br> &emsp;&emsp;&emsp;:closed_book: [Practical Statistics for Data Scientists](https://github.com/Moataz-Elmesmary/Data-Science-Roadmap/blob/main/Practical%20Statistics%20for%20Data%20Scientists.pdf)<br> **2. Probability**<br> &emsp;&emsp;&emsp;:video_camera: [Khan Academy](https://www.khanacademy.org/math/statistics-probability/probability-library)<br> &emsp;&emsp;&emsp;:video_camera: [Arabic Course](https://www.youtube.com/playlist?list=PL158D091D26F47358)<br> &emsp;&emsp;&emsp;:closed_book: [Introduction to Probability](https://drive.google.com/file/d/15Y0oFNHQRls1qvQNvO3DFLJVhIZvUjTD/view?usp=sharing)<br> **3. Python**<br> &emsp;&emsp;&emsp;:video_camera: [Introduction to Python Programming](https://www.udacity.com/course/introduction-to-python--ud1110)<br> &emsp;&emsp;&emsp;:video_camera: [OOP](https://learn.datacamp.com/courses/object-oriented-programming-in-python)<br> &emsp;&emsp;&emsp;:video_camera: Arabic - [Hassouna](https://www.youtube.com/watch?v=MxYLqE3Ils8&list=PLHIfW1KZRIfnM9y0sQRwjVz2-IwvnEJep) | [Elzero](https://www.youtube.com/watch?v=mvZHDpCHphk&list=PLDoPjvoNmBAyE_gei5d18qkfIe-Z8mocs)<br> &emsp;&emsp;&emsp;:video_camera: [Python Full Course - FreeCodeCamp on YouTube](https://www.youtube.com/watch?v=rfscVS0vtbw)<br> &emsp;&emsp;&emsp;:closed_book: [Intro to Python for CS and Data Science](https://drive.google.com/file/d/1rXkYFjw1iKbXCra_B4Ykm0AMRgo6v93w/view?fbclid=IwAR2lg9omGaAsG3g1ZhHQHja8_uxkZ7QddnOUSxfoceRXShU1V_bl4V63xCQ)<br> &emsp;&emsp;&emsp;[more in OOP](https://www.futurelearn.com/courses/object-oriented-principles)<br> **4. Pandas**<br> &emsp;&emsp;&emsp;:video_camera: [Corey Schafer-Youtube](https://www.youtube.com/watch?v=ZyhVh-qRZPA&list=PL-osiE80TeTsWmV9i9c58mdDCSskIFdDS)<br> &emsp;&emsp;&emsp;:closed_book: [Kaggle](https://www.kaggle.com/learn/pandas)<br> &emsp;&emsp;&emsp;:closed_book: [Docs](https://pandas.pydata.org/pandas-docs/version/0.15/tutorials.html)<br> &emsp;&emsp;&emsp;:video_camera: [Data School-Youtube](https://www.youtube.com/watch?v=yzIMircGU5I&list=PL5-da3qGB5ICCsgW1MxlZ0Hq8LL5U3u9y&index=1)<br> &emsp;&emsp;&emsp;:video_camera: [Arabic Course](https://www.youtube.com/watch?v=3ISW655DemU&list=PLvLvlVqNQGHCb2_ygmr1DQOMOv0yXp84F)<br> **5. Numpy**<br> &emsp;&emsp;&emsp;:closed_book: [Kaggle](https://www.kaggle.com/legendadnan/numpy-tutorial-for-beginners-data-science)<br> &emsp;&emsp;&emsp;:video_camera: [Arabic Course](https://www.youtube.com/watch?v=5-5CrLmf2vk&list=PLIA_seGogbkGDYq-dnVCsELEIq_7HK7Ca)<br> &emsp;&emsp;&emsp;:closed_book: [Tutorial](http://cs231n.github.io/python-numpy-tutorial/)<br> &emsp;&emsp;&emsp;:closed_book: [Docs](https://numpy.org/doc/1.18/user/quickstart.html)<br> **6. Scipy**<br> &emsp;&emsp;&emsp;:closed_book: [Tutorial](https://cs231n.github.io/python-numpy-tutorial/#scipy)<br> &emsp;&emsp;&emsp;:closed_book: [Docs](https://docs.scipy.org/doc/scipy/reference/tutorial/general.html)<br> **7. Data Cleaning**: One of the **MOST** important skills that you need to master to become a good data scientist, you need to practice on many datasets to master it.<br> &emsp;&emsp;&emsp;[Read this](https://towardsdatascience.com/the-ultimate-guide-to-data-cleaning-3969843991d4)<br> &emsp;&emsp;&emsp;:video_camera: [Course 1](https://www.datacamp.com/courses/cleaning-data-in-python)<br> &emsp;&emsp;&emsp;:closed_book: [Notebook1](https://www.kaggle.com/bandiatindra/telecom-churn-prediction)<br/> &emsp;&emsp;&emsp;:closed_book: [Notebook2](https://drive.google.com/drive/folders/1OQAEQ8rC4j6oBP7AyDU4bKpPr8sSStJI?fbclid=IwAR2dSrbyoZLM-Wm57yEYy8L8PmpPV9hqXdkNf-pURJC5C5xCz7UJB4YpJ7M)<br/> &emsp;&emsp;&emsp;:closed_book: [Notebook3](https://www.kaggle.com/ashishg21/data-cleaning-and-some-analysis-shoe-prices)<br> &emsp;&emsp;&emsp;:closed_book: [Kaggle Data cleaning](https://www.kaggle.com/learn/data-cleaning)<br> **8. Data Visualization** :bar_chart: <br> &emsp;&emsp;&emsp;:video_camera: [Introduction to Data Visualization with Matplotlib](https://app.datacamp.com/learn/courses/introduction-to-data-visualization-with-matplotlib?fbclid=IwAR1OrJSdZ2LVD_c1o3d-_1I7Nhq8OZ3pzTu4010E_XWEmMc0KYsTosz8CIU) or<br> &emsp;&emsp;&emsp;:video_camera: [ Corey Schafer - Playlist on Youtube](https://www.youtube.com/watch?v=UO98lJQ3QGI&list=PL-osiE80TeTvipOqomVEeZ1HRrcEvtZB_) or<br> &emsp;&emsp;&emsp;:video_camera: [sentdex - Playlist on YouTube](https://www.youtube.com/watch?v=q7Bo_J8x_dw&list=PLQVvvaa0QuDfefDfXb9Yf0la1fPDKluPF)<br> &emsp;&emsp;&emsp;:closed_book: [Kaggle to Data Visualization with Seaborn](https://www.kaggle.com/learn/data-visualization)<br> &emsp;&emsp;&emsp;:video_camera: [Playlist-Youtube](https://www.youtube.com/watch?v=z7ZINBk8EUk&list=PL998lXKj66MpNd0_XkEXwzTGPxY2jYM2d)<br> &emsp;&emsp;&emsp;:video_camera: [Course1: Intro to Data Visualization with Seaborn](https://learn.datacamp.com/courses/introduction-to-data-visualization-with-seaborn)<br> &emsp;&emsp;&emsp;:video_camera: [Course2: Intermediate Data Visualization with Seaborn ](https://learn.datacamp.com/courses/intermediate-data-visualization-with-seaborn)<br> &emsp;&emsp;&emsp;:video_camera: [Course3: Understanding and Visualizing with Python](https://www.coursera.org/learn/understanding-visualization-data)<br> **9. EDA** Note: it's already mentioned in the above probability course <br> &emsp;&emsp;&emsp;:video_camera: [DataCamp-EDA in Python](https://learn.datacamp.com/courses/exploratory-data-analysis-in-python) <br> &emsp;&emsp;&emsp;:video_camera: [IBM-EDA for Machine Learning](https://www.coursera.org/learn/ibm-exploratory-data-analysis-for-machine-learning) <br> **10. Dashboards**<br> &emsp;*Tableau*<br> &emsp;&emsp;&emsp;:closed_book: [Tutorial](https://www.datacamp.com/community/tutorials/data-visualisation-tableau)<br> &emsp;&emsp;&emsp;:video_camera: [docs](https://www.tableau.com/learn/training/20201)<br> &emsp;&emsp;&emsp;:video_camera: [course](https://learn.datacamp.com/courses/introduction-to-tableau)<br> &emsp;*Power BI*<br> &emsp;&emsp;&emsp;:video_camera: [Power BI Desktop - Coursera](https://www.coursera.orghttps://powerbi.microsoft.com/en-us/learning//projects/power-bi-desktop)<br> &emsp;&emsp;&emsp;:video_camera: [Power BI training](https://powerbi.microsoft.com/en-us/learning/)<br> &emsp;&emsp;&emsp;:video_camera: [Arabic - Youtube](https://www.youtube.com/watch?v=ykvAWKML9Gk&list=PLof3yw6ZFPFhV75Ptf-5Q88bgUtLOBvOw)<br> **11. SQL and DB**<br> &emsp;&emsp;&emsp;:video_camera: SQL for Data Analysis ([simplilearn](https://www.simplilearn.com/free-online-course-to-learn-sql-basics-skillup) or [Udacity](https://www.udacity.com/course/sql-for-data-analysis--ud198))<br> &emsp;&emsp;&emsp;:video_camera: [Intro to SQL](https://learn.datacamp.com/courses/introduction-to-sql) **or** [IBM (SQL for Data Science)](https://www.coursera.org/learn/sql-data-science)<br> &emsp;&emsp;&emsp;:video_camera: [Intro to Relational Databases in SQL](https://learn.datacamp.com/courses/introduction-to-relational-databases-in-sql)<br> &emsp;&emsp;&emsp;:video_camera: [Arabic Course](https://www.youtube.com/watch?v=B7evUQGmN6M&list=PLfM2wZNebA2zROxUcAbGxNrpVZncsF3oD)<br> &emsp;&emsp;&emsp;:video_camera: [Joining Data in SQL](https://www.datacamp.com/courses/joining-data-in-postgresql)<br> &emsp;&emsp;&emsp;:pencil: Practice [HackerRank](https://www.hackerrank.com/domains/sql) & [DataLemur](https://datalemur.com/) **12. Python Regular Expression**<br> &emsp;&emsp;&emsp;:closed_book: [Tutorial](https://www.datacamp.com/community/tutorials/python-regular-expression-tutorial)<br> **13. Time Series Analysis**<br> &emsp;&emsp;&emsp;:video_camera: [Track](https://learn.datacamp.com/skill-tracks/time-series-with-python)<br> &emsp;&emsp;&emsp;:closed_book: [Book](https://www.oreilly.com/library/view/practical-time-series/9781492041641/?fbclid=IwAR20cq7hAdWf6voOd61u-pNzZCHvB0rZhT_BUoGTAXxPBhhi82p8BhxLEsI)<br> &emsp;&emsp;&emsp;:closed_book: [fbprohet](https://facebook.github.io/prophet/docs/quick_start.html)<br> &emsp;&emsp;&emsp;:video_camera: Arabic Source [Video1](https://www.youtube.com/watch?v=TvhaHPq6xLU&list=TLPQMjYwNzIwMjEPGXX6392WJA&index=1) & [Video2](https://www.youtube.com/watch?v=mipF7mRVpk0&list=TLPQMjYwNzIwMjEPGXX6392WJA&index=2)<br> <h4><i>At The end of Beginner phase apply all what you've learned on a project.</i></h4> *** ## :beginner: Intermediate :beginner: **1. Math for ML**: consists of Linear Algebra, Calculus and PCA. <br> :video_camera: [Specialization](https://www.coursera.org/specializations/mathematics-machine-learning)<br> :video_camera: [Mathematics for Machine Learning - Most of the needed basics](https://www.youtube.com/watch?v=vLJcduC4lBM&list=PLcQCwsZDEzFmlSc6levE3UV9rZ8yY-D_7)<br><br> :small_blue_diamond:Linear Algebra<br> &emsp;&emsp;&emsp;:video_camera: [Khan Academy - Linear Algebra](https://www.khanacademy.org/math/linear-algebra)<br> &emsp;&emsp;&emsp;:video_camera: [Mathematics for Machine Learning: Linear Algebra](https://www.coursera.org/learn/linear-algebra-machine-learning)<br> &emsp;&emsp;&emsp;:video_camera: [3Blue1Brown - Essence of Linear Algebra](https://www.3blue1brown.com/topics/linear-algebra)<br> :small_blue_diamond:Calculus<br> &emsp;&emsp;&emsp;:video_camera: [Multivariate Calculus - Coursera](https://www.coursera.org/learn/multivariate-calculus-machine-learning?fbclid=IwAR243aoz0jxs4iUn539pnjSQliXtr7Y5QAsvgeRTietZT_tkyoRU3b6Sq1o)<br> &emsp;&emsp;&emsp;:video_camera: [Essence of calculus - Youtube](https://www.youtube.com/playlist?list=PLZHQObOWTQDMsr9K-rj53DwVRMYO3t5Yr)<br> :small_blue_diamond:PCA<br> &emsp;&emsp;&emsp;:video_camera: [PCA - Coursera](https://www.coursera.org/learn/pca-machine-learning)<br> **2. Machine Learning**<br> &emsp;&emsp;&emsp;:video_camera: [Coursera - Old Course by Andrew Ng (Octave/Matlab)](https://www.coursera.org/learn/machine-learning)<br> &emsp;&emsp;&emsp;:video_camera: [Coursera Andrew`s new ML Specialization (Python)](https://www.coursera.org/specializations/machine-learning-introduction?_hsenc=p2ANqtz-_R9x3Nm07uCw6YAw9VpCpdjRdfaUFyxdOcvgDljRt7j_NXiahN1plnI_Ob9jn0jSNipuE_Y08llrfPSt_1P7EBvj4LuImpBTKG3bsR6Z9bzjzBoRY&_hsmi=216611333&action=enroll&utm_campaign=mls-launch-2022&utm_content=216613012&utm_medium=email&utm_source=hs_email#courses)<br> &emsp;&emsp;&emsp;:video_camera: [Machine Learning Stanford Full Course on YouTube by Andrew](https://www.youtube.com/watch?v=PPLop4L2eGk&list=PLLssT5z_DsK-h9vYZkQkYNWcItqhlRJLN)<br> &emsp;&emsp;&emsp;:video_camera: [CS480/680 Intro to Machine Learning - Spring 2019 - University of Waterloo](https://www.youtube.com/playlist?list=PLdAoL1zKcqTW-uzoSVBNEecKHsnug_M0k)<br> &emsp;&emsp;&emsp;:video_camera: [SYDE 522 – Machine Intelligence (Winter 2018, University of Waterloo)](https://www.youtube.com/playlist?list=PL4upCU5bnihwCX93Gv6AQnKmVMwx4AZoT)<br> &emsp;&emsp;&emsp;:video_camera: [Introduction to Machine Learning Course - Udacity](https://www.udacity.com/course/intro-to-machine-learning--ud120)<br> &emsp;&emsp;&emsp;:video_camera: [Hesham Asem - Arabic content](https://www.youtube.com/c/HeshamAsem/playlists)<br> &emsp;&emsp;&emsp;:video_camera: [IBM ML with Python](https://www.coursera.org/learn/machine-learning-with-python)<br> &emsp;&emsp;&emsp;:video_camera: [Machine Learning From Scratch - YouTube (Python Engineer)](https://www.youtube.com/watch?v=ngLyX54e1LU&list=PLqnslRFeH2Upcrywf-u2etjdxxkL8nl7E)<br> &emsp;&emsp;&emsp;:closed_book: Hands On ML ([1st](https://drive.google.com/file/d/1uro1p6SlYolSkF0fbFKau0pOQ9ENZqny/view?usp=sharing) & [2nd](https://drive.google.com/file/d/1rS95FTNfiVG4WjGnPjd73GqrmEKey4N1/view?usp=sharing) & [3rd](https://drive.google.com/file/d/11VeqPJw8s9SC9Ru7IVeQhiTyV_9TliOE/view?usp=sharing)) Editions | example code '[Notebooks](https://github.com/ageron/handson-ml?fbclid=IwAR3s31KlwkLKyrEwuEd4UMOcvHN1Q9Z2LLGzPg5vP4UKSwjriHxU0uO405c)'<br> &emsp;&emsp;&emsp;:video_camera: [ML Algorithms in Practice](https://www.coursera.org/specializations/machine-learning-algorithms-real-world?utm_medium=email&utm_source=marketing&utm_campaign=A39CcMUuEempyReieZALEQ)<br> &emsp;&emsp;&emsp;:video_camera: [ML scientist](https://learn.datacamp.com/career-tracks/machine-learning-scientist-with-python?version=1)<br> &emsp;&emsp;&emsp;:video_camera: [Project](https://www.coursera.org/learn/applied-data-science-capstone)<br> **3. Web Scraping/APIs**<br> &emsp;&emsp;&emsp;:video_camera: [course](https://learn.datacamp.com/courses/web-scraping-with-python)<br> &emsp;&emsp;&emsp;:closed_book: [intro2](https://www.dataquest.io/blog/web-scraping-tutorial-python/)<br> &emsp;&emsp;&emsp;:closed_book: [Tutorial](https://realpython.com/beautiful-soup-web-scraper-python/)<br> &emsp;&emsp;&emsp;:closed_book: [Book for both topics](https://b-ok.africa/book/3515980/5d50aa)<br> APIs <br> &emsp;&emsp;&emsp;:closed_book: [Tutorial](https://www.dataquest.io/blog/python-api-tutorial/)<br> &emsp;&emsp;&emsp;:closed_book: [Article](https://medium.com/m/global-identity?redirectUrl=https%3A%2F%2Ftowardsdatascience.com%2Fhow-to-pull-data-from-an-api-using-python-requests-edcc8d6441b1)<br> &emsp;&emsp;&emsp;:closed_book: [Tutorial](https://rapidapi.com/blog/how-to-use-an-api-with-python/)<br> **4. Stats.**<br> &emsp;&emsp;&emsp;:closed_book: [This stats - Book](https://b-ok.africa/book/2737548/7659e9)<br> &emsp;&emsp;&emsp;:closed_book: [Think Bayes - Book](https://b-ok.africa/book/2737587/ab97d5)<br> **5. Advanced SQL**<br> &emsp;&emsp;&emsp;:video_camera: [More advanced SQL](https://www.coursera.org/lecture/data-driven-astronomy/more-advanced-sql-GDmo5)<br> &emsp;&emsp;&emsp;:video_camera: [Joining Data in SQL](https://learn.datacamp.com/courses/joining-data-in-postgresql)<br> **7. Feature Engineering**<br> &emsp;&emsp;&emsp;:closed_book: [Tutorial](https://www.kaggle.com/learn/feature-engineering)<br> &emsp;&emsp;&emsp;:closed_book: [Article](https://www.medium.com/m/global-identity?redirectUrl=https%3A%2F%2Ftowardsdatascience.com%2Ffeature-engineering-for-machine-learning-3a5e293a5114)<br> &emsp;&emsp;&emsp;:closed_book: [Book](https://drive.google.com/file/d/1BkJYO0tqMYptTWUDQ7X0vd2aygohHRm8/view?usp=sharing)<br> **8. interpet Shapley-based explanations of ML models.**<br/> &emsp;&emsp;&emsp;:closed_book: [SHAP](https://shap.readthedocs.io/en/latest/)<br/> &emsp;&emsp;&emsp;:closed_book: [Kaggle ML explainability](https://www.kaggle.com/learn/machine-learning-explainability)<br/> <h4><i>After finishing this level apply to 2 or 3 good sized projects.</i></h4> <i>Read this book, please</i> :open_book: [Introduction to Statistical Learning with Applications in R](https://github.com/Moataz-Elmesmary/Data-Science-Roadmap/blob/main/Introduction%20to%20Statistical%20Learning%20with%20Applications%20in%20R.pdf) بقولك اقرأه<br> *** ## :beginner: Advanced :beginner: **1. Deep Learning** <br> &emsp;&emsp;&emsp;:video_camera: [Deep Learning Fundamentals](https://www.youtube.com/playlist?list=PLZbbT5o_s2xq7LwI2y8_QtvuXZedL6tQU)<br> &emsp;&emsp;&emsp;:video_camera: [Introduction to Deep Learning - MIT](http://introtodeeplearning.com/?fbclid=IwAR35rIygYlCn84DV7mlHvdvs4sMUm2D6RLYVwFpp2nT2t1Zj1GGy3QAWQvQ)<br> &emsp;&emsp;&emsp;:video_camera: [Specialization](https://www.coursera.org/specializations/deep-learning)<br> &emsp;&emsp;&emsp;:closed_book: [Dive into Deep Learning (En)](https://d2l.ai/d2l-en.pdf?fbclid=IwAR0sVdA8VFYpNZCpYZHgo_kl_HYrjcjDfjEka26D8xRWAhbhh6mmSNIXg3U) | (Ar) version :arrow_right:[Part1](https://drive.google.com/file/d/1SrmT_r8dNK42IqyS0gwXtbLCZbk5G8eu/view?fbclid=IwAR1Xcf8PNKkPJMg0uHRE1QyIW4_BMxISIdoB8pPaepw38njhaIf04MYM218) & [Part2](https://drive.google.com/file/d/1UqEu0amRfAvJD0L1HosIn3UJi0FkNemU/view?fbclid=IwAR1og8pkWr1gT3jdUwqikCZVrOCpyrm0x6ZRL63Kitwhki35pazHdo_ScJI) <br> &emsp;&emsp;&emsp;:video_camera: [Deep Learning UC Berkely](https://www.youtube.com/playlist?list=PLZSO_6-bSqHQHBCoGaObUljoXAyyqhpFW)<br> &emsp;&emsp;&emsp;:closed_book: [github of Dive into DL](https://github.com/d2l-ai/d2l-en?fbclid=IwAR0QN35b-NHHWq_zKISA1cbI063aRqqoKqR_0e3cpnT5h58GkcNbCIJs3iw)<br> &emsp;&emsp;&emsp;:video_camera: [Stanford Lecture - Convolutional Neural Networks for Visual Recognition](https://www.youtube.com/watch?v=vT1JzLTH4G4&list=PL3FW7Lu3i5JvHM8ljYj-zLfQRF3EO8sYv)<br> &emsp;&emsp;&emsp;:video_camera: [University of Waterloo - ML / DL](https://www.youtube.com/playlist?list=PLdAoL1zKcqTW-uzoSVBNEecKHsnug_M0k)<br> **2. Tensorflow**<br> &emsp;&emsp;&emsp;:video_camera: [Specialization](https://www.coursera.org/specializations/tensorflow-in-practice)<br> &emsp;&emsp;&emsp;:video_camera: [Youtube](https://www.youtube.com/playlist?list=PLZbbT5o_s2xrwRnXk_yCPtnqqo4_u2YGL)<br> &emsp;&emsp;&emsp; [fast.ai's Deep Learning Courses](https://www.fast.ai/)<br> ###### <i>TensorFlow beats PyTorch in visualization capabilities and deploying trained models. Go for PyTorch if you want flexibility, debugging capabilities, and short training duration.</i> **3. PyTorch**<br> &emsp;&emsp;&emsp;:video_camera: [PyTorch (UC Berkeley - Youtube) - Lec3 (The 5 parts)](https://www.youtube.com/playlist?list=PLZbbT5o_s2xrwRnXk_yCPtnqqo4_u2YGL)<br> &emsp;&emsp;&emsp;:video_camera: [PyTorch - Dr. Data Science - Youtube](https://www.youtube.com/watch?v=vVQs4h6HUvA&list=PLLeO8f6PhlKb_FAC7qxOBtxT9-8EPDAqk)<br> &emsp;&emsp;&emsp;:video_camera: [PyTorch Course (2022) - Youtube](https://www.youtube.com/watch?v=v43SlgBcZ5Y&list=PLkdGijFCNuVk9fO1IMfdV1Igob0FUHhkB)<br> &emsp;&emsp;&emsp;:closed_book: [Deep Learning With Pytorch](https://drive.google.com/file/d/1-KG_ufeg7zw2iLgG5RrJSFpyonLwulgF/view?usp=sharing)<br> **4. Advanced Data Science**<br> &emsp;&emsp;&emsp;:video_camera: [Advanced Data Science with IBM Specialization](https://www.coursera.org/specializations/advanced-data-science-ibm)<br> **5. NLP** <br> &emsp;&emsp;&emsp;:video_camera: [Specialization](https://www.coursera.org/specializations/natural-language-processing)<br> &emsp;&emsp;&emsp;:video_camera: [Arabic - Ahmed El Sallab](https://www.youtube.com/playlist?list=PLxmZ0b-n395VxzEUL8-Dy257zSqYZe4yU)<br> &emsp;&emsp;&emsp;:video_camera: [Introduction to Natural Language Processing in Python](https://www.datacamp.com/courses/natural-language-processing-fundamentals-in-python)<br> **6. Inferential Statistics** <br> &emsp;&emsp;&emsp;:video_camera: [Specialization, 2nd & 3rd courses](https://www.coursera.org/specializations/statistics-with-python)<br> &emsp;&emsp;&emsp;:video_camera: [course](https://www.coursera.org/learn/statistical-inferences)<br> **7. Bayesian Statistics**<br> &emsp;&emsp;&emsp;:video_camera: [1 - From Concept to Data Analysis](https://www.coursera.org/learn/bayesian-statistics)<br> &emsp;&emsp;&emsp;:video_camera: [2 - Techniques and Models](https://www.coursera.org/learn/mcmc-bayesian-statistics)<br> &emsp;&emsp;&emsp;:video_camera: [3 - Mixture Models](https://www.coursera.org/learn/mixture-models)<br> **8. Model Deployment** <br> &emsp;&emsp;&emsp;:closed_book: [Flask tutorial](https://towardsdatascience.com/deploying-a-deep-learning-model-using-flask-3ec166ef59fb)<br> &emsp;&emsp;&emsp;:video_camera: [TensorFlow: Data and Deployment Specialization](https://www.coursera.org/specializations/tensorflow-data-and-deployment)<br> &emsp;&emsp;&emsp;:video_camera: [Deploy Models with TensorFlow Serving and Flask](https://www.coursera.org/projects/deploy-models-tensorflow-serving-flask)<br> &emsp;&emsp;&emsp;:video_camera: [How to Deploy a Machine Learning Model to Google Cloud - Daniel Bourke](https://www.youtube.com/watch?v=fw6NMQrYc6w)<br> &emsp;&emsp;&emsp;if you`re intersted in more deployment methods, search for (_FastAPI - Heroku - chitra_)<br> **9. Probabilistic Graphical Models** <br> &emsp;&emsp;&emsp;:video_camera: [Specialization](https://www.coursera.org/specializations/probabilistic-graphical-models)<br> *** **Tasks and Projects will be added soon.** :hourglass_flowing_sand: <br><br> *** ### :pushpin: Common Tools :arrow_heading_down:<br> &emsp;&emsp;&emsp;[Anaconda](https://learn.datacamp.com/courses/conda-essentials)<br> &emsp;&emsp;&emsp;[Git](https://git-scm.com/book/en/v2)<br> &emsp;&emsp;&emsp;[Course - Udacity](https://www.udacity.com/course/version-control-with-git--ud123)<br> &emsp;&emsp;&emsp;[Arabic - Youtube](https://www.youtube.com/watch?v=Q6G-J54vgKc)<br> ### :pushpin: **More Books ~ [:pushpin: Check This!](https://drive.google.com/drive/folders/1iW7IPrVUqsHumgXUMH_rgeBLpJjRDCmJ?usp=sharing)** <br> &emsp;&emsp;:atom::atom::atom::atom::atom:<br> &emsp;&emsp;&emsp;:closed_book: [:fire: <b>65</b> Free Important Books :fire:](https://techgrabyte.com/springer-released-65-machine-learning-data-science-books-free/?fbclid=IwAR3x9Mfd4FSrBo_y2F92cAghhZ8851qv3wQ1R_u87s70MZTDtKeG5yn7Hts)<br> &emsp;&emsp;&emsp;:closed_book: [Mathematics for Machine Learning ](https://mml-book.github.io/)<br> &emsp;&emsp;&emsp;:closed_book: [An Introduction to Statistical Learning](https://www.statlearning.com/)<br> &emsp;&emsp;&emsp;:closed_book: [Understanding Machine Learning: From Theory to Algorithms ](https://www.cs.huji.ac.il/w~shais/UnderstandingMachineLearning/copy.html)<br> &emsp;&emsp;&emsp;:closed_book: [Probabilistic Machine Learning: An Introduction](https://probml.github.io/pml-book/book1.html)<br> &emsp;&emsp;&emsp;:closed_book: [storytelling with data](https://drive.google.com/file/d/1OQu6ZWImGnHbuI_WJOLPdSvKWCABSWMH/view?usp=sharing) Important data visualization guide.<br> *** <details> <summary> <h3> :pushpin: <b>Collection of the best Cheat sheets</b></h3></summary> 1. [Importing Data](https://lnkd.in/e3jnyTEi) 2. Pandas &emsp;&emsp; - [(1)](https://lnkd.in/eiXuBbWh_) &emsp;&emsp; - [(2)](https://lnkd.in/e8PKwQQQ) &emsp;&emsp; - [(3)](https://lnkd.in/ewQfqe8q) 3. [Matplotlib](https://lnkd.in/ejxbW8ak) 4. [Seaborn](https://lnkd.in/ejhxUp2K) 5. [Probability](https://lnkd.in/e4Jxx6xP) 6. [Supervised Learning](https://github.com/afshinea/stanford-cs-229-machine-learning/blob/master/en/cheatsheet-supervised-learning.pdf) 7. [Unsupervised Learning](https://github.com/afshinea/stanford-cs-229-machine-learning/blob/master/en/cheatsheet-unsupervised-learning.pdf) 8. [Deep Learning](https://github.com/afshinea/stanford-cs-229-machine-learning/blob/master/en/cheatsheet-deep-learning.pdf) 9. [Machine Learning Tips and Tricks](https://github.com/afshinea/stanford-cs-229-machine-learning/blob/master/en/cheatsheet-machine-learning-tips-and-tricks.pdf) 10. [Probabilities and Statistics](https://github.com/afshinea/stanford-cs-229-machine-learning/blob/master/en/refresher-probabilities-statistics.pdf) 11. [Comprehensive Stanford Master Cheat Sheet](https://github.com/afshinea/stanford-cs-229-machine-learning/blob/master/en/super-cheatsheet-machine-learning.pdf) 12. [Linear Algebra and Calculus](https://github.com/afshinea/stanford-cs-229-machine-learning/blob/master/en/refresher-algebra-calculus.pdf) 13. [Data Science Cheat Sheet](https://s3.amazonaws.com/assets.datacamp.com/blog_assets/PythonForDataScience.pdf) 14. [Keras Cheat Sheet](https://s3.amazonaws.com/assets.datacamp.com/blog_assets/Keras_Cheat_Sheet_Python.pdf) 15. [Deep Learning with Keras Cheat Sheet](https://github.com/rstudio/cheatsheets/raw/master/keras.pdf) 16. [Visual Guide to Neural Network Infrastructures](http://www.asimovinstitute.org/wp-content/uploads/2016/09/neuralnetworks.png) 17. [Skicit-Learn Python Cheat Sheet](https://s3.amazonaws.com/assets.datacamp.com/blog_assets/Scikit_Learn_Cheat_Sheet_Python.pdf) 18. [Scikit-learn Cheat Sheet: Choosing the Right Estimator](https://scikit-learn.org/stable/tutorial/machine_learning_map/) 19. [Tensorflow Cheat Sheet](https://github.com/kailashahirwar/cheatsheets-ai/blob/master/PDFs/Tensorflow.pdf) 20. [Machine Learning Test Cheat Sheet](https://www.cheatography.com/lulu-0012/cheat-sheets/test-ml/pdf/)</details> *** ### The best way to practice is to take part in competitions.:trophy: :trophy: <br> **Competitions will make you even more proficient in Data Science.**<br> When we talk about top data science competitions, [**Kaggle**](https://www.kaggle.com/) is one of the most popular platforms for data science. Kaggle has a lot of competitions where you can participate according to your knowledge level.<br> **You can also check these platforms for data science competitions-**<br> - [Driven Data](https://www.drivendata.org/competitions/)<br> - [Codalab](https://competitions.codalab.org/)<br> - [Iron Viz](https://www.tableau.com/community/iron-viz)<br> - [Topcoder](https://www.topcoder.com/challenges)<br> - [CrowdANALYTIX Community](https://www.crowdanalytix.com/community)<br> - [Bitgrit](https://bitgrit.net/)<br> *** <b> :notebook: Data Science Interview Questions: </b> :arrow_forward: &emsp; - [(1)](https://github.com/youssefHosni/Data-Science-Interview-Questions) &emsp;- [(2)](https://github.com/alexeygrigorev/data-science-interviews) &emsp;- [(3)](https://github.com/rbhatia46/Data-Science-Interview-Resources) &emsp;- [(4)](https://github.com/iamtodor/data-science-interview-questions-and-answers) &emsp;- [(5)](https://github.com/milaan9/DataScience_Interview_Questions) &emsp;- [(6) Arabic Podcast](https://www.youtube.com/watch?v=YjloQOreudk):headphones:<br> &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;- [(7) 30 days of interview preparation](https://github.com/Moataz-Elmesmary/Data-Science-Roadmap/blob/main/30%20days%20of%20interview%20preparation.pdf):book: *** :pushpin: **Data Analysis Recommendations.**<br> &emsp;&emsp;&emsp; Books (:closed_book: [The Data Analysis Workshop](https://drive.google.com/file/d/1BjKsffA2SCY0jY8OIIzgQgM0ZS7E9v_v/view?fbclid=IwAR2_GBlrX7VYoo8WCRO9R2qqrYEqtytoGrObxy1QHWcQ7sRaFjRLb0GmuxM) & &emsp;:closed_book: [Head First Data Analysis](https://drive.google.com/file/d/1HXHkwrgsSJLYSeB6I0wPUXIGGnm2-HQ6/view?fbclid=IwAR27M-dlPN6o0YuZg3bXH6_DP9L2fBhkKDEkChvO4SPG-SXfkxrzuoGP5RM))<br> &emsp;&emsp;&emsp; [FWD - (The 3 Levels)](https://egfwd.com/?fbclid=IwAR1phYmHHgi0L4E9nOPZcSfAdHWsDs9EvBh3dJgO6gXN4B1A-nV8vspGggs)<br> &emsp;&emsp;&emsp; [Google Data Analytics Professional Certificate](https://www.coursera.org/professional-certificates/google-data-analytics)<br> &emsp;&emsp;&emsp; [IBM Data Analyst Professional Certificate](https://www.coursera.org/professional-certificates/ibm-data-analyst?fbclid=IwAR1IajEEe2yydVWRt3hbj4qLioXP6oR-fdbw8f1kHAVpAXSA4Z8Eww1Y-fs)<br> &emsp;&emsp;&emsp;*Note: A good knowledge & projects in just [Excel](https://www.instagram.com/p/Cea-aa4PSfa/), SQL & Power BI / Tableau can bring you great opportunities*<br> :pushpin: **[Data Engineering](https://youtu.be/qWru-b6m030) Recommendations.**<br> &emsp;&emsp;&emsp; [Roadmap 1](https://www.educba.com/data-engineer-roadmap/)<br> &emsp;&emsp;&emsp; [Roadmap 2](https://github.com/datastacktv/data-engineer-roadmap)<br> &emsp;&emsp;&emsp; [IBM Data Engineering Professional Certificate](https://www.coursera.org/professional-certificates/ibm-data-engineer)<br> *** <details><summary>:file_folder: <h4>CV / Resumes :memo: </h4> </summary> - [Common mistakes by Yehia Arafa Mostafa](https://www.facebook.com/yehia.arafa.mostafa/posts/110086229517000)<br> - [CV Tips by Omar Yasser](https://medium.com/@oyaraouf/cv-tips-5faaec55ec07)<br> - [This Is What A GOOD Resume Should Look Like by careercup](https://www.careercup.com/resume)<br> - After you have made your beta-version resume, check those [reviews from Mostafa Nageeb](https://www.facebook.com/story.php?story_fbid=2928705840553931&id=445112032246670)<br> - [After Graduation by Yasser Alaa](https://www.linkedin.com/feed/update/urn:li:activity:6964595411839799296/)<br> - [How to make Data Science Resume](https://enhancv.com/resume-examples/data-scientist/)<br> - [Data Science Resume Guide](https://www.beamjobs.com/resumes/data-science-resume-example-guide)<br> - Resume/CV building for Data Jobs (Arabic)<br> &emsp;&emsp;:video_camera:[Video 1](https://www.youtube.com/watch?v=R0hsJiNxdDE)<br> &emsp;&emsp;:video_camera:[Video 2](https://www.youtube.com/watch?v=CrTO0hrC-zQ) </details> *** :pushpin: [<b><i>Data & AI Companies in Egypt</i></b>](https://trello.com/b/u4HH9Anu/data-ai-jobs-in-egypt) &emsp; - &emsp; [<i>AI/ML Driven Companies In Egypt</i>](https://github.com/harryadel/AI-ML-Driven-Companies-In-Egypt) *** ## Contact Me :iphone: <br> <a href="https://www.facebook.com/MoatazElmesmary/" title="Facebook"><img src="https://img.shields.io/badge/Facebook-%234267B2?style=flat&logo=Facebook&logoColor=white"/></a> <a href="https://twitter.com/MoatazElmesmary" title="twitter"><img src="https://img.shields.io/twitter/url?label=twitter&style=social&url=https%3A%2F%2Fimg.shields.io%2Ftwitter%2F%3Flabel%3Dtwitter%26style%3Dsocial"/></a> <a href="https://www.linkedin.com/in/MoatazElmesmary/" title="LinkedIn"><img src="https://img.shields.io/badge/LinkedIn-%230177B5?style=flat&logo=linkedin&logoColor=white"/></a>