GithubHelp home page GithubHelp logo

kangwonlee / 18pf_lpthw_template Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.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%
python python3 tutorial education higher-education university-course

18pf_lpthw_template's Introduction

컴퓨터 프로그래밍 기초 Computer Programming Fundamentals

  • 이강원, 한국산업기술대학교
  • KangWon LEE, Korea Polytechnic University

교재 Textbook

참고문헌 References

Python

  • 천인국, 어서와 파이썬은 처음이지!, 2016, 인피니티 북스, ISBN 1185578234
  • 박응용, 점프 투 파이썬, 2016 이지스퍼블리싱 [Online] Available https://wikidocs.net/book/1
  • ANK, 파이썬이 보이는 그림책, 2018, 성안당, ISBN 978-89-315-5565-3
  • Pilgrim, Dive into Python 3, 2009, Apress [Online] Available http://www.diveintopython3.net
  • Beazley, Python Essential Reference 2nd Ed, 2001, Sams
  • Interactive Python
  • 앨런 다우니, 씽크 파이썬 2판, 2017, 길벗, ISBN 979-11-6050-286-2
    Downey, Think Python 2nd Ed, 2015, O'Reily Media, ISBN 978-14-9193-936-9 [Online] Available http://greenteapress.com/thinkpython/html/index.html
  • 알 스웨이가트, 파이썬 프로그래밍으로 지루한 작업 자동화하기, 2017, 스포트라잇북
    Sweigart, Automate the Boring Stuff with Python, 2015, No Starch Press, ISBN 978-1593275990

Git 버전 관리 SW Git Version Control SW

추천 개발 환경 Recommended Development Environment

설치 동영상
Installation video

설치 동영상 Installation video

GitHub Classroom Assignment

YouTube Playlist

18pf_lpthw_template's People

Contributors

kangwon-naver avatar kangwonlee avatar

Watchers

 avatar  avatar  avatar

18pf_lpthw_template's Issues

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?

How to use `vi` editor

  • :e
  • i and ESC
  • :w, :q, :wq, :q!
  • Ctrl+p
  • w, b, ^, $
  • uCtrl+p
  • dw, dd, <number>dw
  • :<line number>, :$
  • yyp
  • /<pattern> & n
  • :split and Ctrl+w twice

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 ...

00/10 git stash

  • git stash 에 대한 설명 추가
  • git diff --staged 사례로 추가
  • git add -p 사례 설명 추가

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)

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?

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

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.