2020 January

    Git Commands

    Just because I want to solve a problem while setting my gitee(It needs to input user name and password every time I deploy my Blog), a friend let me study git first so that I can understand what the bug is telling about!!! (not for solving the problem, I learn it just for understanding the alert ㅍ_ㅍ…) Life is so hard…

    I’ll just record some commonly used commands.

    Make previous windows blog available on Linux

    While using windows, I have already had a blog and using hexo system. And my blog is on my mechanical hard disk. I want it to be accessible while using Linux.

    There are two steps to make it.

    Absolute path and Relative path

    There are two ways to represents a directory, Absolute path and Relative path.

    path start start sign
    Absolute root directory /
    Relative current directory ~

    How to mount mechanical hard disk on Linux

    I’ve met a new problem recently: I switched into Linux but my Blog folder is under my mechanical hard disk. I want my Blog folder available to be achieved by command not manually. So to make this come true, I learned a word mount. By using mount, you can use my blog folder by command. There are three steps:

    1. create a new folder
    2. mount the disk
    3. make it mount automatically as long as booting Linux

    Spawn Failed

    Recently, I’ve met a problem like this when I deploying my blog. hexo d gets error.

    CodeForces-1293B JOE is on TV!

    For the biggest, only if there is one person who answer the wrong can he go through the most questions. So the longest time he can go through, the largest sum of money he can get.

    CodeForces-1293A ConneR and the A.R.C. Markland-N

    In the first example test case, the nearest floor with an open restaurant would be the floor 4.

    Sorts

    Here are some sorting ways and I use many data to test and compare. Just to illustrate the property of each algorithm.

    CodeForces-1288 B Yet Another Meme Problem

    So the value of b should only be 9,99,999...(each digit is consists of 9)


TOP
COMMENT
made with ❤️ by o_oyao
©o_oyao 2019-2024

|