Giter Site home page Giter Site logo

kangwonlee / 18pf_lpthw_template Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 4.0 418 KB

Learn Python the Hard Way template for 2018 March semester

Python 41.72% Jupyter Notebook 53.85% Shell 4.43%
education higher-education python python3 tutorial university-course

18pf_lpthw_template's Introduction

Hi there πŸ‘‹

18pf_lpthw_template's People

Contributors

kangwon-naver avatar kangwonlee avatar

Watchers

 avatar  avatar  avatar

18pf_lpthw_template's Issues

How to use `vi` editor

  • :e
  • i and ESC
  • :w, :q, :wq, :q!
  • Ctrl+p
  • w, b, ^, $
  • u ↔ Ctrl+p
  • dw, dd, <number>dw
  • :<line number>, :$
  • yy β†’ p
  • /<pattern> & n
  • :split and Ctrl+w twice

00/10 git stash

  • git stash 에 λŒ€ν•œ μ„€λͺ… μΆ”κ°€
  • git diff --staged μ‚¬λ‘€λ‘œ μΆ”κ°€
  • git add -p 사둀 μ„€λͺ… μΆ”κ°€

need to test with Anaconda

  • Anaconda 2018.12 seems to have some problem with matplotlib and numpy
  • Installing from .yml recipe works; so miniconda would be fine == testing with miniconda alone may not be sufficient
  • Try to regenerate a situation when a student tries to start of his/her own

Deploy automatically

Motivation

  • Currently this repo is like a master repo
  • 1903 or 1909 repos are like deployment repos
  • Automate the process

Plan

  • From the master branch of this repo
  • (For now) locally copy selected files from one repo to another
  • Manually push to the deployment repo(s)

push triggered actions

Motivation

  • Current repository set manager works but requires running manually
  • Sometimes faster responses could be more desirable

Existing literature

Action plan

  • See if utilizing webhooks [0] [1] possible
  • Push trigger available
  • Which service to use? Travis-CI? Azure?
  • Is educational pricing option available?

Expense

  • GitHub Edu may not come with Travis-CI

Tests

  • Count number of commits
  • Count bytes of comments
  • Run each script
  • Send record to a summary table

Webhook deployment

Travis-CI

  • What if a student changes the .travis.yml file?

Semester vs Weekly

  • According to the video tutorial, weekly may work better
  • If weekly, configuring 300+ links may take some time?

Consider using subtrees?

  • may need to git merge -Xsubtree=<folder> … --allow-unrelated-histories
  • Github says
    git pull -s subtree remotename branchname
  • Also, pushing commits from the top level to the subtree repository seems to create duplicate commits
    git push <subtree repo> git subtree split --prefix= :<subtree repo branch>
  • Then it seems more reasonable to work within a subtree, push to subtree remote, and git pull -s subtree ...

Windows terminal

Microsoft Store

  • Search Windows Terminal
  • Found Windows Terminal (Preview)
  • Windows 10 18362.0 or later

Windows Terminal

  • Start as a PowerShell
  • Can add a new tab as a PowerShell
  • To run as bash, Ubuntu for Windows seems necessary
  • WSL enable / disable seems available in the Control Panel

Control Panel

Back to MS Store

  • Ubuntu by Canonical Group
  • Download & Start β†’ Install

Windows Terminal

  • Start bash

Question

  • Which is simpler? git-bash? or Windows Terminal?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.