๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
  • Tried. Failed. Logged.
728x90

์ „์ฒด ๊ธ€720

์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ - alertBox function alertBox(msg, delay = 3000){ var container = document.createElement('div'); container.setAttribute('class', 'alertBox-container'); container.style.width = '100%'; container.style.height = '100px'; container.style.position = 'fixed'; container.style.bottom = '0'; container.style.display = 'flex'; container.style.justifyContent = 'center'; var box = document.createElement('div'); box.styl.. 2022. 4. 10.
์…€๋ ˆ๋‹ˆ์›€ - ํฌ๋กฌ ๋ชจ๋ฐ”์ผ ๋ฏธ๋Ÿฌ๋ง(chrome://inspect) ์‚ฌ์šฉ ๋ฐฉ๋ฒ• 1. PC ํฌ๋กฌ์—์„œ "chrome://inspect" ์ฃผ์†Œ๋กœ ์ ‘์† 2. PC์—์„œ adb๋กœ ๋ชจ๋ฐ”์ผ ๋ธŒ๋ฆฟ์ง€ ์—ฐ๊ฒฐ 3. ๋ชจ๋ฐ”์ผ์—์„œ ํฌ๋กฌ ์•ฑ ์‹คํ–‰ ์•ˆ๋“œ๋กœ์ด๋“œ ํฌ๋กฌ์„ ์กฐ์ž‘ํ•  ๋•Œ ์—˜๋ ˆ๋ฉ˜ํŠธ ์š”์†Œ๋ฅผ ๋ถ„์„ํ•  ๋•Œ ์‚ฌ์šฉํ•˜๋ฉด ์ข‹๋‹ค. https://janger.tistory.com/250?category=1254107 ์ฐธ๊ณ : https://jfbta.tistory.com/71 ํฌ๋กฌ ์ธ์ŠคํŽ™ํ„ฐ] chrome inspect, ๋ชจ๋ฐ”์ผ ์›น ๋””๋ฒ„๊น… ํ•˜๋Š” ๋ฐฉ๋ฒ• Chrome Inspect. ํ•œ๊ธ€๋กœ 'ํฌ๋กฌ ์ธ์ŠคํŽ™ํ„ฐ' ๋ผ๊ณ  ํ•˜๋Š”๋ฐ ์‹ค์ œ ๋ชจ๋ฐ”์ผ ๊ธฐ๊ธฐ๋ฅผ ํฌ๋กฌ ๊ฐœ๋ฐœ์žํˆด์—์„œ ๊ทธ๋Œ€๋กœ ๊ตฌํ˜„ํ•ด์„œ ํŽธ๋ฆฌํ•˜๊ฒŒ ๋””๋ฒ„๊น…ํ•  ์ˆ˜ ์žˆ๋Š” ๊ธฐ๋Šฅ์ด๋‹ค. ์‚ฌ์šฉ๋ฐฉ๋ฒ• ์ฒซ์งธ, ๋ชจ๋ฐ”์ผ USB ๋“œ๋ผ์ด๋ฒ„๋ฅผ ์„ค์น˜ํ•œ๋‹ค. jfbta.tistory.com 2022. 4. 9.
์…€๋ ˆ๋‹ˆ์›€ - ์•ˆ๋“œ๋กœ์ด๋“œ ๋ชจ๋ฐ”์ผ ํฌ๋กฌ ์กฐ์ž‘ ๋””๋ฐ”์ด์Šค๊ฐ€ ํ•œ ๊ฐœ์ธ ๊ฒฝ์šฐ # -*- coding: utf-8 -*- from selenium import webdriver import time options = webdriver.ChromeOptions() options.add_experimental_option('androidPackage', 'com.android.chrome') driver = webdriver.Chrome(options=options) driver.implicitly_wait(15) driver.get('https://www.naver.com') time.sleep(1) print(driver.current_url) driver.execute_script('alert(1)') ๋‚˜์ค‘์— ์•Œ๊ฒŒ๋œ ์‚ฌ์‹ค์ธ๋ฐ driver = webdriv.. 2022. 4. 9.
์•ˆ๋“œ๋กœ์ด๋“œ ์ŠคํŠœ๋””์˜ค - ์Šค์™€์ดํ”„ ๋ฆฌ์ŠคํŠธ ๋ฉ”๋‰ด ๊ตฌํ˜„ SwipeMenuListView: https://github.com/baoyongzhang/SwipeMenuListView GitHub - baoyongzhang/SwipeMenuListView: [DEPRECATED] A swipe menu for ListView. [DEPRECATED] A swipe menu for ListView. Contribute to baoyongzhang/SwipeMenuListView development by creating an account on GitHub. github.com ListView ์กฐ์ž‘ ๋ธ”๋กœ๊ทธ: https://lktprogrammer.tistory.com/163 [Android] ์•ˆ๋“œ๋กœ์ด๋“œ - ๋ฆฌ์ŠคํŠธ๋ทฐ(ListView) ๊ตฌํ˜„ ๋ฆฌ์ŠคํŠธ๋ทฐ(ListView)๋Š”.. 2022. 4. 7.
React Native - ์ดˆ๊ธฐ ์„ค์น˜ [์ปดํ“จํ„ฐ์— ๊ฐœ๋ฐœ ํ™˜๊ฒฝ ์„ค์น˜ํ•˜๊ธฐ] https://reactnative.dev/docs/environment-setup Setting up the development environment · React Native This page will help you install and build your first React Native app. reactnative.dev npx react-native init SampleApp cd SampleApp npm run android ์ถœ์ฒ˜: https://dev-yakuza.posstree.com/ko/react-native/install-on-windows/ ์œˆ๋„์šฐ(Windows)์— react native ๊ฐœ๋ฐœ ํ™˜๊ฒฝ ๊ตฌ์ถ•ํ•˜๊ธฐ react-native๋กœ ์•ฑ์„ ๊ฐœ๋ฐœํ•˜๊ธฐ.. 2022. 4. 7.
์•ˆ๋“œ๋กœ์ด๋“œ ์ŠคํŠœ๋””์˜ค - HTTP ํ†ต์‹  ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ(Volley) [build.gradle] implementation 'com.android.volley:volley:๋ฒ„์ „' [AndroidManifest.xml] usesCleartextTraffic๋กœ https ์‚ฌ์šฉ ์ง€์› ํ™œ์„ฑํ™” [mainActivity.java] String url ="https://www.google.com"; RequestQueue requestQueue = Volley.newRequestQueue(getApplicationContext()); StringRequest stringRequest = new StringRequest(Request.Method.GET, url, new Response.Listener() { @Override public void onResponse(String res.. 2022. 4. 5.
๋ฌด๋ฃŒ ์‚ฌ์šด๋“œ ๊ณต์œ  ์‚ฌ์ดํŠธ https://freesound.org/ Freesound - Freesound March 21st, 2022 frederic.font Hi everyone, This post is to let you know that have been working on an updated Privacy Policy and Terms of Use of the Freesound website, and are also starting the process to migrate old Creative Commons licenses to newer … freesound.org 2022. 4. 4.
Electron - loadURL๋กœ ๋ฌธ์„œ ๋ถˆ๋Ÿฌ์˜จ ํ›„์— ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ์‹คํ–‰ win.loadURL('https://google.com'); win.webContents.executeJavaScript('document.body.innerHTML = "1234"'); ์ฐธ๊ณ : https://javascript.hotexamples.com/examples/electron/remote.BrowserWindow/loadURL/javascript-remote.browserwindow-loadurl-method-examples.html JavaScript remote.BrowserWindow.loadURL Examples, electron.remote.BrowserWindow.loadURL JavaScript Examples - HotExamples javascript.hotexamples... 2022. 4. 1.
์•ˆ๋“œ๋กœ์ด๋“œ ์ŠคํŠœ๋””์˜ค - RecyclerView(๋ฆฌ์‚ฌ์ดํด๋Ÿฌ๋ทฐ) ์กฐ์ž‘ ์ด 5๊ฐ€์ง€์˜ ์ž‘์—…์ด ํ•„์š”, ๊ฐ๊ฐ activity_main.xml, ์•„์ดํ…œ.xml, ๋ฐ์ดํ„ฐ.java, ๋ฆฌ์‚ฌ์ดํด๋Ÿฌ_์–ด๋Œ‘ํ„ฐ.java, MainActivity.java [activity_main.xml] ๋„ํ™”์ง€ ์—ญํ• ์„ ํ•ด์ค„ activity_main.xml์— RecyclerView๋ฅผ ๋„ฃ์Œ [item.xml] ๋ฆฌ์ŠคํŠธ์— ๋“ค์–ด๊ฐˆ ์•„์ดํ…œ๋“ค์„ ๊พธ๋ฉฐ์คŒ [Data.java] package com.app.listapp; public class Data { private String name; private String phone; public Data(String name, String phone){ this.name = name; this.phone = phone; } public String getName(){ return.. 2022. 3. 30.
Electron - ๋ Œ๋”๋Ÿฌ๊ฐ€ ๋ฉ”์ธ์—๊ฒŒ ์‹ ํ˜ธ ๋ณด๋‚ด๊ธฐ(ipcMain & ipcRenderer) [@electron/remote ๋ชจ๋“ˆ ํ•„์š”] // In the Renderer const { BrowserWindow } = require('@electron/remote') // In the main process: require('@electron/remote/main').initialize() [renderer.js] const { ipcRenderer } = require('electron') //to minimize ipcRenderer.send('minimize', data); [main.js] const { ipcMain } = require('electron') ipcMain.on('minimize', (event, data) => { //Minimize logic }) ์ถœ์ฒ˜: https:.. 2022. 3. 28.
Electron - Tray ์ƒ์„ฑ ๋ฐ ํด๋ฆญ ์ด๋ฒคํŠธ, Tray ์•„์ด์ฝ˜ ๋ณ€๊ฒฝ const { app, BrowserWindow, Menu, Tray } = require('electron'); let tray = null app.whenReady().then(() => { tray = new Tray('./icon1.png'); var contextMenu = Menu.buildFromTemplate([ { label: 'Hello world!', click: function(){ console.log('Hello world!'); tray.setImage('./icon2.png'); } }, { label: 'Quit', click: function(){ app.quit(); } } ]); tray.setContextMenu(contextMenu); }) Tray ์ƒ์„ฑ ๋ฐ ํด๋ฆญ .. 2022. 3. 28.
Electron - ๋งˆ์šฐ์Šค ๋“œ๋ž˜๊ทธ๋กœ ์ฐฝ ์›€์ง์ด๊ธฐ element{ -webkit-app-region: drag; } ์ถœ์ฒ˜: https://tinydew4.github.io/electron-ko/docs/api/frameless-window/ Frameless ์œˆ๋„์šฐ ํˆด๋ฐ”, ํ…Œ๋‘๋ฆฌ, ์‹œ๊ฐ์ ์ธ "chrome" ์—†์ด ์œˆ๋„์šฐ๋ฅผ ์—ฝ๋‹ˆ๋‹ค. tinydew4.github.io 2022. 3. 28.
728x90