Giter Site home page Giter Site logo

georgia's Introduction

HKOI Training

My name: Haye Chan

If everyone get a github account then I can turn this repo private. (send me your github id)

  1. Class 1 Notes
  2. Class 2 Notes
  3. Class 3 Notes
  4. Class 4 Notes
  5. Class 5 Notes
  6. Class 6 Notes

Getting Started

  • Reference tool: Hypertext C++ tutorial. As you practice, you can use this to quickly look up things you forgot.

Common Linux Commands

Command Description
ls Lists all files and directories in the present working directory
cd dir To change to a particular directory
cd .. Move one level up
cd ~ Move to the home directory
pwd show what directory we are currently at
cat > filename Creates a new file
cat filename Displays the file content
cp file "new file path" Copy the files to the new location
mv file "new file path" Moves the files to the new location
mv filename new_file_name Renames the file to a new filename
rm filename Deletes a file
mkdir directoryname Creates a new directory in the present working directory or a at the specified path
rmdir directoryname Deletes a directory
mv dir_name new_dir_name Renames a directory
g++ code.cpp compile a C++ program to a.out
./a.out Run program a.out in the current folder
./a.out < in1.txt Run a.out and redirect contents of in1.txt as keyboard input
./a.out > out.txt Run a.out and redirect output to out.txt
python3 script.py Run a python script
python3 script.py < in1.txt Run a python script and redirect contents of in1.txt as keyboard input

georgia's People

Contributors

miyagi-sensei avatar

Watchers

James Cloos avatar  avatar

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.