본문 바로가기
728x90
반응형

Front-End30

VSCode 랑 Minitest쓰는 방법 오늘 어떤 rails 프로젝트를 포크해서 쓰고 있는데, 실제로 main ruby에서 TDD를 하기 위한 gem 중에 유명한건 rspec하고 minitest가 있는데, 이것들을 VScode의 text explorer에 띄우기 위해서 무엇을 해야하는지 튜토리얼 식으로 적어보려고 한다. 1. .vscode/settings.json을 만든다. 2. json 포맷으로 다음을 작성한다 { // for coding convention "editor.tabSize": 2, "editor.insertSpaces": true, "rubyTestExplorer.logpanel": true, "rubyTestExplorer.testFramework": "minitest", "rubyTestExplorer.minitestCom.. 2022. 1. 24.
Ruby - String에서 Number성분만 추리기 https://stackoverflow.com/questions/2640819/extract-number-from-string-in-ruby/59238529 Extract number from string in Ruby I'm using this code: s = line.match( /ABCD(\d{4})/ ).values_at( 1 )[0] To extract numbers from strings like: ABCD1234 ABCD1235 ABCD1236 etc. It works, but I wonder what other alternative I h... stackoverflow.com 그중에서 line.delete("^0-9") 이게 제일 간단하고 좋아보임! 2021. 12. 29.
Flutter Widget API - 1 - 제일 큰 틀 살펴보기 이번에 자율동아리를 따로 진행하면서 해야 할 일도 많아지고... 했는데, 그중에 하나가 flutter 겨울 프로젝트이다. 같은 동기들끼리 진행하게 되었는데, 종강을 질질 끌어서 어제 하는 바람에 코딩 셰프가 만든 강의를 들여다본다는 게 늦어진 데다 펑크까지 내버렸다. 그래서 어떻게 든 빠르고 정확하게 이 실수를 만회해야 한다. 내가 제일 (생각 없이) 잘하는 건 글을 끄적이는 것이기 때문에 이걸 이용해서 배운걸 한번 빠르게 정리해보고자 한다. Flutter는 앱을 만들 수 있는 일종의 Framework이다. 놀라운 것은 이 프레임워크하나로 안드로이드에서도, IOS에서도, Chrome에서도 돌아갈 앱을 만들 수 있다.(물론 최적화 이슈는 있겠지만..) 코셰 님의 말에 따르면 나중에 구글이 만들 OS의 안배.. 2021. 12. 25.
루비로 작성된 다양한 라이브러리 찾고 배워보기 https://github.com/search?q=language%3ARuby+stars%3A%3E100+pushed%3A%3E2019-01-01&type=Repositories&ref=advsearch&l=&l= GitHub: Where the world builds software GitHub is where over 73 million developers shape the future of software, together. Contribute to the open source community, manage your Git repositories, review code like a pro, track bugs and feat... github.com [RoR] 1. Discourse https:/.. 2021. 12. 12.
728x90
반응형