일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- unittest
- 리눅스
- react
- 맥
- PYTHON
- Chrome
- qunit
- MAC
- picker
- ReactNative
- vsCode
- 개발
- build
- webpack
- avds
- centos
- IOS
- Android
- MachineLearning
- 네트워크
- 센토스
- xcode
- node
- jest
- VirtualBox
- linux
- TensorFlow
- localserver
- androidstudio
- Today
- Total
목록Frontend/ETC (47)
로메오의 블로그
sourcetree에서 암호를 계속 물어볼때 $ git config --global credential.helper osxkeychain
작업 표시줄 하나로 표시 작업표시줄 단추 하나로 표시를 안함으로 변경한다. 자동 창 맞춤 끄기 창 맞춤을 끈다.
var textLimit = 140 var shareText = '공유할 내용을 계속 타이핑 해보세요.'; if (shareText.length > textLimit) { // 140자가 넘어 갈 경우 shareText = shareText.substr(0, (textLimit - 3)) + '...'; } shareText += 'http://domain.com/path' var twitterLink = []; twitterLink.push('https://twitter.com/intent/tweet?text='); twitterLink.push(encodeURIComponent(shareText)); top.location.href = str;
https://developers.kakao.com/console/app 애플리케이션을 추가합니다. 웹 플랫폼을 등록합니다.
var state = {id: 1, data: 'test'}; ,title = '페이지 타이틀' ,url = location.origin + '/path/?a=1'; history.pushState(state, title, url); 페이지 변경 없이 주소를 변경합니다.
function currency(x) { return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); } currency(12345) // => 12,345
// 5일 후 날짜 구하기 moment().add(5, 'd').format('YYYY MM DD'); // 1달 7일후의 날짜 구하기 moment().add(5, 'd').add(1, 'M').format('YYYY MM DD'); // 5일전의 날짜 구하기 moment().subtract(7, 'd').format('YYYY MM DD'); // 2주전의 날짜 구하기 moment().subtract(2, 'w').format('YYYY MM DD'); // 날짜 차이 var date1 = moment([2022, 01, 01]); var date2 = moment([2023, 01, 01]); date2.diff(date1, 'days'); // 이번달 말일 구하기 moment().endOf('mon..