목록알쓸전컴 (343)
알쓸전컴(알아두면 쓸모있는 전자 컴퓨터)
[Cafe24 App개발] Script 설치시 주의점 상당히 삽질을 하여 기록 합니다 . Create a scripttag curl -X POST \ 'https://{mallid}.cafe24api.com/api/v2/admin/scripttags' \ -H 'Authorization: Bearer {access_token}' \ -H 'Content-Type: application/json' \ -d '{ "shop_no": 1, "request": { "src": "https:\/\/js-aplenty.com\/bar.js", "display_location": [ "PRODUCT_LIST", "PRODUCT_DETAIL" ], "skin_no": [ 3, 4 ] } }' 위와 같이 나옵니다. 여기..
vue Template 동적 변환 가끔식 Template 를 동적으로 변환 하며 보여 주고 싶을때가 있는데 예를 들면 html 코드 미리보기 할때 vuejs 의 v-html 을 사용 하면 Custom tag나 표준이 아닌 tag의 경우 표현이 안됩니다. 그래서 v-runtime-template 기술을 사용 하면 됩니다. 오픈 소스 사이트 https://github.com/alexjoverm/v-runtime-template 샘플 코드 는 : https://codesandbox.io/s/884v9kq790 샘플 코드가 위와 같이 표현 됩니다. 아래는 오픈 소스 Readmd 를 퍼왔습니다. 오픈 소스 사이트에 들어 가면 좀더 상세히 사용법이 나와 있습니다. Getting StartedInstall it:np..
nativescript-vue https://d2.naver.com/helloworld/5644368 에서보다가 알아 냈다. Vue 커뮤니티 진영에서 https://nativescript-vue.org/ 네이티브 프로그램을 javasciprt 언어로 해서 안드로이드 아이폰 App을 만들수 있게 하는 프레임워크 이다 . 상당히 흥미롭다., 기본 소개는 아래와 같다. 일단 맛보기로 학습해볼 필요는 있는것 같다. https://nativescript-vue.org/ko/docs/introduction/소개네이티브스크립트가 무엇인가요?NativeScript는 자바스크립트로 실제 네이티브 모바일 어플리케이션을 만들기 위한 오픈소스 프레임워크입니다.Vue.js는 무엇인가요?Vue(view/뷰 처럼 /vjuː/로 발..
WYSIWYG Vue js Eidtor 추천 해당 라이브러리 문서화도 잘되어 있고 vuejs도 wrap 되어 있어서 소개 합니다. wrap = https://surmon-china.github.io/vue-quill-editor/ 실제 에디터 기능 : https://quilljs.com/ 밑에는 wrap 된 화면 이며 실제 사이트 예제는 훨씬 잘되어 있다 . 게다가 상업적으로도 무료인듯 하다 추후에 사용에 용이 할듯 하다.
Vue.Draggable LIst Drag UI 이분야 에서는 RubaXa/Sortable 가 대세인것 같아 각종 wrap 들 API가 많다. 그중에 vue에 맞춘 wrap 이 있다. 아래가 데모 이다 사용해본 결과 잘된다 .. https://github.com/SortableJS/Vue.Draggable#readme 그리고 똑같은 https://sagalbot.github.io/vue-sortable/ wrap가 있는데 현제 사용이 안되니 낚이지 말자 https://david-desmaisons.github.io/draggable-example/ Typical use: {{element.name}} .vue file: import draggable from 'vuedraggable' ... export..
안드로이드 시뮬레이터 개발 환경 일반 IDE 에서 제공 되는 시뮬레이터는 너무 느리기 때문에 가상 머신으로 설치 하여 사용하는것이 훨씬 이롭다. 하여 가상 머신 이미지를 제공하는 사이트를 기록해 놓는다. http://www.android-x86.org/download
webxr googleAR 지원 계획 Spec-Related UpdatesThe web and web specs are always evolving. New specs like the Immersive web can undergo changes that would never be made to a mature production-ready spec.This documentation set is always updated to reflect spec changes. To be notified of those updates watch this repo on GitHub.The following table shows changes that may require corrections to your code.Ch..
Spring FrameWork RestTemplate get queryparam 한글 처리 Spring FrameWork 으로 RestTemplate get 에 queryparam 을 처리할때 한글이 처리가 안되는 현상이 있어서 encode 문제로 보고 encode 사용 법을 소스로 적어 놓겠습니다. 제가 사용한 소스 입니다. 참고 용으로 적어 놓겠습니다. HttpHeaders headers = new HttpHeaders(); headers.setContentType(MediaType.APPLICATION_JSON); HttpEntity entity = new HttpEntity(headers); RestTemplate restTemplate = new RestTemplate(); String url ..
2018 년도 현재 Web Ar 라이브러리 현황 For Android with Tango sensors: chromium-webAR. Relying on threejs and a modified version of the Chrome browser to support for devices with Tango sensors (depth camera, e.g. Phab2Pro). googlevr/chromium-webarFor Desktop and Android: AR.js relying on threejs and ARToolkit (using markers), interfaces nicely with AFrame so no need to do JavaScript except if you want to. D..
Smtp 메일 전송 방법 class Program{ static void Main(string[] args) { // 메일 메세지 작성 MailMessage sendMail = new MailMessage(); // System.Net.Mail sendMail.From = new MailAddress("j07051@naver.com"); // 보내는 사람 sendMail.To.Add(new MailAddress("j07051@naver.com")); // 받는 사람 sendMail.Subject = "테스트"; // 메일 제목 sendMail.Body = "내용 없음"; // 메일 내용 // 보내는 메일 서버(SMTP) SmtpClient smtpServer = new SmtpClient("SMTP 서버..