[TIL] 0422

IT/TIL(Today I Learnt)|2022. 4. 22. 23:26

Today I Learnt 

0422

 

KDA meet up

korean developers association melbourne? 

처음으로 offline meet up에 가보았다.

 

생각보다 너무 맘에드는 meet up이었다.

발표주제들도 너무 재미있었고 , 사람들도 좋아 보였다.

특히 개발에 20년(?) 정도씩 보이는 senior 분들도 있었고 다들 개발자라서 그런지 대화의 주제들도 재밌는 부분이 많았다.

6:30분에 시작해서 8시 넘어서까지 meet up이 있었는데, 

더보기

Talk 1 :

AWS file tranfser group 서비스를 이용해서  S3에 있는 것들을  filezilla에서 파일을 다운로드 /업로드

 

찾아볼 것 :  miniO 

          S3 bucket 대신 ec2에 올려서 사용

 

 

 

 

Talk 2 :

Lawn Mower Robot

집에 로봇청소기처럼 잔디를 깎는 기계

아직까지 gen1이라 우리가 생각하는 super smart or IOT 랑 연계되지는 않지만 ,

 

옛날에 했던 arduino 프로젝트랑 비슷해서 재밌었다.

아직까지는 perfect 하게 잔디를 깎는 건 아니지만 , arduino controoler을 이용해서 DIY로 만드는  product들도 존재.

 

back yard 면적을  기계한테 알게 하는 게 제일 큰 문제인 듯 :

현재는 edge에 wire?를 다 심어놔서 그 area 안에서 돌아다니게 하는데, gps를 이용해서 구현할 수도 하지만 정확도가 낮아짐

 

 

Talk3 : 

E-mail sending automation 

 

mailgun으로 다들 넘어가는 추세 원래는 sendgrid를 사용했다고 한다.

찾아볼 거:jason payload 

 

 

 

어저께 작업 중 TIL 날아간 것 :

 

cognito pool 연동해서  node js express서버에서 로그인/ 회원가입 가능하게 하기 :

다른 곳 여기저기 찾지 말고 딱 offical document / repo랑 아래 글 확인하면 구현 가능하다 :

 

https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-integrate-apps.html

 

Integrating Amazon Cognito with web and mobile apps - Amazon Cognito

Integrating Amazon Cognito with web and mobile apps When new users discover your app, or when existing users return to it, their first task is to sign up or sign in. When you integrate Amazon Cognito with your client code, you connect your app to AWS resou

docs.aws.amazon.com

https://github.com/aws-amplify/amplify-js/tree/main/packages/amazon-cognito-identity-js

 

GitHub - aws-amplify/amplify-js: A declarative JavaScript library for application development using cloud services.

A declarative JavaScript library for application development using cloud services. - GitHub - aws-amplify/amplify-js: A declarative JavaScript library for application development using cloud services.

github.com

https://medium.com/@prasadjay/amazon-cognito-user-pools-in-nodejs-as-fast-as-possible-22d586c 5c8ec

 

Amazon Cognito User Pools in NodeJS as fast as possible.

Amazon cognito simplifies the authentication, authorization and user management for you. It has apis for sign in, sign up and miscellaneous…

medium.com

옛날에는 아주 쉽게 lambda function을 이용해서 구현했는데 이번에는 여러 가지 에러가 많이 떴다.

흠..

 

meet up에서도 느꼈지만  aws service들이 너무 잘 나왔고 서로 연계가 잘 돼있어서 aws가 돈 많이 벌 수밖에 없는 구조인 것 같다.

양놈들 똑똑 해 진짜 

 

 

모듈 내보내기 / 가져오기 이런 기본적인 것 조차에서도 아직 에러가 뜬다. 

 

https://ko.javascript.info/import-export

 

모듈 내보내고 가져오기

 

ko.javascript.info

 

크게 다른 점이 두 개가 있는데

1. Common js 

 2.  ES6 

 

둘로 나뉜다. 

 

1.common JS는  node js 표준,  

1. 모듈 불러올떄 

const skyler = require('/멜버른')


2. 모듈 내보낼따

module.exports = module
or 
exprots.functionName = function(){}
export {functionName}

 

2. ES6

1.모듈 불러오기

import module 
import module as Minsu
import * 
import {skyler } from module 


2.모듈내보내기

export {export}

https://inpa.tistory.com/entry/NODE-%F0%9F%93%9A-require-%E2%9A%94%EF%B8%8F-import-CommonJs%EC%99%80-ES6-%EC%B0%A8%EC%9D%B4-1

 

[NODE] 📚 require ⚔️ import (CommonJs와 ES6) 차이

require vs import 자바스크립트 개발을 하다보면 require나 import 키워드를 통해 외부 라이브러리를 불러오는 코드를 자주 보게 됩니다. require는 NodeJS에서 사용되고 있는 CommonJS 키워드이고, import는..

inpa.tistory.com

 

 

- 25만불짜리 회사 인터뷰준비 :

 

조그만한 코테가있는데,  

hackerrank.com이라는 사이트로 시험을본다.

 

https://www.hackerrank.com/dashboard

 

Dashboard | HackerRank

Join over 16 million developers in solving code challenges on HackerRank, one of the best ways to prepare for programming interviews.

www.hackerrank.com

 

이렇게 여러가지가있는데 공부도 같이하면서 인터뷰준비를할수있는 웹사이트인것같다.

 

...음 그래

너무어렵다

 

https://www.w3resource.com/csharp-exercises/string/csharp-string-exercise-44.php

 

C# Sharp Exercises: Get the longest Palindromic substring from a given string - w3resource

C# Sharp programming, exercises, solution: Write a C# Sharp program to get the longest Palindromic substring from a given string.

www.w3resource.com

palindrom문제인데 토나올꺼같어...

반응형

'IT > TIL(Today I Learnt)' 카테고리의 다른 글

[TIL] 0427  (0) 2022.04.27
[TIL] 0426  (4) 2022.04.27
[TIL] 0421  (3) 2022.04.22
[TIL] 0419  (3) 2022.04.20
[TIL] 0413 Harry Potter - 0414  (3) 2022.04.18

댓글()