Code Monkey home page Code Monkey logo

algorithm-practice's Introduction

Hi ๐Ÿ‘‹, I'm KeiSei

A passionate frontend developer from Beijing

keisei77

keisei77

  • ๐Ÿ”ญ Iโ€™m currently working on WMS

  • ๐ŸŒฑ Iโ€™m currently learning Rust, WebGL

  • ๐Ÿ‘จโ€๐Ÿ’ป All of my projects are available at https://keisei.now.sh/

  • ๐Ÿ“ I regularly write articles on https://www.keisei.top/

  • ๐Ÿ’ฌ Ask me about react, vue

  • ๐Ÿ“ซ How to reach me [email protected]

Connect with me:

6796500

Languages and Tools:

coffeescript docker gatsby git jest kubernetes linux mysql nestjs nextjs nginx nodejs postman react reactnative tailwind unity vuejs

keisei77

ย keisei77

algorithm-practice's People

Contributors

keisei77 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

algorithm-practice's Issues

How to get filename in a for loop?

I have a bash script to commit untracked files, which looks like:

#!/bin/bash

set -e
# https://stackoverflow.com/a/5238537/6796500
files=$(git status --porcelain | sed s/^...//)

if [[ $files == "" ]]; then
    echo "No files changed."
else
    for file in $files
    do
        git add $file
        git commit -m ":white_check_mark: $file"
    done
    git push
fi

The files array looks like ['347. Top K Frequent Elements.md', '206. Reverse Linked List.md']. when I echo $file, I got 347. , Top etc., that wasn't I wanted, I want to get 347. Top K Frequent Elements.md, 206. Reverse Linked List.md.

Can you guys help me to get the desired filename?

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.