본문 바로가기
728x90

분류 전체보기506

flutter google map show label without click https://stackoverflow.com/questions/65559743/how-to-display-map-labels-by-default-with-google-maps-flutter/68913283#68913283 How to display map labels by default with Google Maps Flutter I think my issue is the same as here: Flutter show marker's infoWindowText by default in Google map widget However, there is no answer, except for a link to another post which isn't quite what ... stackoverflow... 2022. 1. 25.
Javascript 해시 태그 정규식 자바스크립트 쉽고 간단한 해시태그 뽑는 방법.. 외국site에서 말하는 방식을 차용했다. 원리는 잘 모르겠고 그냥 편해보여서 쓰겠음.. let reg = /#([\S]+)/igm; // 해시 태그를 가져옵니다. let string = '안녕 #정말로 될까 #나는 너무 힘들어 #아진짜 이젠 되어야지'; let matches = (string.match(reg) || []).map(e => e.replace(reg, '$1')); console.log(matches); https://lycaeum.dev/ko/questions/432493 JavaScript regex match all - JavaScript 정규식에서 일치하는 그룹에 어떻게 액세스합니까? lycaeum.dev 결과로 쓴 코드! Fireba.. 2022. 1. 25.
어플리케이션 DB 태그 "@", "#" 만들기 인스타나 페이스북 요즘에는 카카오톡에서도 태그를 많이들 활용하고 게시물에서는 당연히 있어야하는 기능으로 생각 되어진다. 그런데 생각보다 해당 기능과 관련 된 문서가 정리된 것이 잘 없어서 frontend, backend, fullstack 개발자에게 많은 고통을 주는 것 같다(저요..ㅠㅠ) 그래서 이번에 맨땅에 헤딩해보면서 만들어보려고 한다. ! 화이팅!! (나는 flutter를 사용하므로 dart라는 언어로 개발하고자 하였다.) 1. 태그 String 추출 String 에서 태그를 추출부터 해야한다. 그러면 추출하는 함수는 무엇인가 #댓글 #추출 -> 이것은 모두 #과 띄움(space bar)사이에 있는 글이 태그로 나타나는 것이라고 생각이 되어서 그러면 #과 space바 사이에 있는 string 을 .. 2022. 1. 24.
DartPad When you want to exercise Dart, You can use dartpad. If you have used flutter, you may already know this site. https://dartpad.dev/ DartPad dartpad.dev 2022. 1. 24.
728x90