为什么要使用GitHub Pages预览HTML

当我们做出一个HTML页面后,如果不止想要在本地进行展示,而是展示在网络上,而又不想自己购买设置服务器,那么我们可以使用GitHub的Pages功能,将页面部署在GitHub Pages上进行展示。

GitHub Pages可以让你的GitHub远程仓库展示在互联网上,并且不需要任何服务器和数据库设置。

这样,就可已将我们的HTML页面通过互联网进行展示了。

阅读全文 »

GitHub和git

本文为饥人谷git入门课程与FrontEndMaster上git in depth的学习笔记。

最大的程序员社区,是在线的代码托管平台。要是用GitHub,首先要学会git

git配置

1
2
3
4
5
6
git config --global user.name <username>
git config --global user.email <email>
git config --global push.default simple
git config --global core.quotepath false
git config --global core.editor "code --wait"
git config --global core.autocrlf input
阅读全文 »

文件的查看操作

英文 缩写命令 英文 缩写命令
file link ln
make mk find find
move mv echo echo
remove rm touch touch
copy cp change cd - c
list ls directory cd - d
recursive force

增删改查

  • 程序员的宿命
    • 首先学习文件增删改查
    • 学习DOM增删改查
    • 学习HTTP增删改查
      阅读全文 »

Introduction

  • The power of Node

    • Most powerful technology in web development to emerge in 10 years
    • Enables applications that can handle millions of users without blocking
    • From simple webpages to largest scaled applications, to Windows/Mac desktop apps (with Electron), and hardware (embedded systems)
    • Allows us to build entire applications end-to- end in one language - JavaScript
  • From client side development to full stack development

    • Our users open twitter.com
    • they need code and data to load twitter.com on their computers
    • What code/data do they need to load?
    • Where’s the code/data coming from?
      阅读全文 »

Introduction

  • The 5 capacities we look for in candidates

    我们在候选人身上寻找的5种能力

    1. Analytical problem solving with code

      用代码分析解决问题的能力

    2. Technical communication (can I implement your approach just from your explanation)

      技术沟通能力(我能仅通过你的描述实现你的方法吗)

    3. Engineering best practices and approach (Debugging, code structure, patience and reference to documentation)

      编程的最佳实践和方法(Debugging,代码结构,耐心和文档)

    4. Non-technical communication (empathetic and thoughtful communication)

      非技术性沟通能力(同理心和思考后的交流)

    5. Language and computer science experience

      语言和计算机科学经验

Object Oriented Paradigm

  • OOP - an enormously popular paradigm for structuring our complex code

    面向对象编程 - 一种非常流行的用于构建复杂代码编程范式

    • Easy to add features and functionality

      可以简便的添加功能

    • Easy for us and other developers to reason about + (a clear structure)

      容易理解

    • Performant (efficient in terms of memory)

      性能表现好(在内存方面的效率)

      阅读全文 »

Git In-Depth

Introduction

By coding along with us in this workshop you’ll:

通过与我们一起编写代码,您将:

  • Learn how git represents commits and branches internally to gain deep insights into how git works under the hood…
  • 了解git如何在内部表示提交和分支,从而深入了解git的底层工作原理……
  • Discover the power of rebasing in git, along with how to avoid common pitfalls. Learn to tell when it’s appropriate to re-write history…
  • 了解在git中重新建立基础的强大功能,以及如何避免常见的陷阱。学会分辨什么时候改写历史是合适的……
  • Discover how git hooks can make your life easier by running analysis on your code before you commit in order to prevent common errors from making their way into your codebase…
  • 了解git钩子是如何让您的工作变得更简单的,在您提交代码之前运行对代码的分析,以防止常见错误进入您的代码库……
  • Discover lesser-known features of git that will save you hours of time when resolving merge conflicts and track down bugs…
  • 发现git不太为人所知的特性,这将为您节省几个小时的时间来解决合并冲突和跟踪bug…
  • Learn how to harness the power of the GitHub API to fetch information about your repositories.
  • 学习如何利用GitHub API的强大功能来获取关于存储库的信息。
    阅读全文 »
0%