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

์ „์ฒด ๊ธ€720

C# - ๋ฉ€ํ‹ฐ์Šค๋ ˆ๋“œ์—์„œ ํด๋ฆฝ๋ณด๋“œ ๊ธฐ๋Šฅ(OLE) ์‚ฌ์šฉํ•˜๊ธฐ // ๋ฉ€ํ‹ฐ์Šค๋ ˆ๋“œ ํ•จ์ˆ˜ ์„ ์–ธ mainThread = new Thread(work); mainThread.SetApartmentState(ApartmentState.STA); mainThread.Start(); // ๋ฉ€ํ‹ฐ์Šค๋ ˆ๋“œ ํ•จ์ˆ˜ ๋‚ด๋ถ€ Clipboard.SetText("ํ…Œ์ŠคํŠธ"); ์ถœ์ฒ˜: https://taeminimini.tistory.com/m/437 Thread ๋‚ด ์—์„œ OLE ํ˜ธ์ถœ์‹œ STAThreadAttribute C# Thread ํ•˜๋‹ค๋ณด๋‹ˆ ๋งŒ๋“ค์–ด๋†“์€ ์“ฐ๋ ˆ๋“œ์— Clipboard๋ฅผ ์‚ฌ์šฉํ•˜๋ ค๊ณ  ํ•˜๋‹ˆ ์•„๋ž˜์™€ ๊ฐ™์ด ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค. ๐Ÿ˜ฅ System.Threading.ThreadStateException: 'OLE ํ˜ธ์ถœ์„ ์ˆ˜ํ–‰ํ•˜๋ ค๋ฉด ํ˜„์žฌ ์Šค๋ ˆ๋“œ๋ฅผ STA(๋‹จ์ผ ์Šค๋ ˆ๋“œ ์•„ํŒŒํŠธ) taeminimini.tisto.. 2022. 10. 19.
์ฝ”๋“œ์—… - ๊ณ„์‚ฐ๊ธฐ 2 https://codeup.kr/problem.php?id=1285 ๊ณ„์‚ฐ๊ธฐ 2 ์™ผ์ชฝ๋ถ€ํ„ฐ ์ฐจ๋ก€๋Œ€๋กœ ์—ฐ์‚ฐํ•œ ๊ฒฐ๊ณผ๋ฅผ ์ถœ๋ ฅํ•œ๋‹ค.(์šฐ์„ ์ˆœ์œ„x) codeup.kr #include int main(void){ int n[20]={0,}; char g[20]={0,}; int even = 0; int i = 0, j = 0; while(1){ if( !even ){ scanf("%d", &n[i++]); } else{ scanf("%c", &g[j++]); } if(g[j-1] == '=') break; if(even) even = 0; else even = 1; } int result = n[0]; i = 0, j = 0; while(1){ if( g[j] == '=' ) break; switch(g[j++]){ c.. 2022. 10. 17.
๋ฐฑ์—”๋“œ - Node.js(Express), React ์›น ์‚ฌ์ดํŠธ ๋ฐฐํฌ ์‚ฌ์ดํŠธ(Heroku) https://www.heroku.com/ Cloud Application Platform | Heroku Heroku is a platform as a service (PaaS) that enables developers to build, run, and operate applications entirely in the cloud. www.heroku.com 2022. 10. 15.
๋ฆฌ์•กํŠธ - UI ํ”„๋ ˆ์ž„์›Œํฌ(MUI) https://mui.com/ MUI: The React component library you always wanted MUI provides a simple, customizable, and accessible library of React components. Follow your own design system, or start with Material Design. mui.com 2022. 10. 15.
๋ฆฌ์•กํŠธ - ํ† ์ŠคํŠธ ํŒ์—…(React-Toastify) ๋ชจ๋“ˆ https://fkhadra.github.io/react-toastify/introduction React-toastify | React-Toastify [![Financial Contributors on Open Collective](https://opencollective.com/react-toastify/all/badge.svg?label=financial+contributors)](https://opencollective.com/react-toastify) ![Travis (.org)](https://img.shields.io/travis/fkhadra/react-toastify.svg?label= fkhadra.github.io 2022. 10. 15.
์œˆ๋„์šฐ - C:\Users\[์‚ฌ์šฉ์ž ์ด๋ฆ„] ๋ณ€๊ฒฝํ•˜๊ธฐ 1. ํŒŒ์ผ ํƒ์ƒ‰๊ธฐ์—์„œ C:\Users\[์‚ฌ์šฉ์ž ์ด๋ฆ„] ํด๋” ์ด๋ฆ„ ๋ณ€๊ฒฝํ•˜๊ธฐ 2. regedit์—์„œ HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList ๋ฐ์ดํ„ฐ ์ˆ˜์ • ์œˆ๋„์šฐ + R > regedit ์ž…๋ ฅ > ํ™•์ธ HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList ๊ฒฝ๋กœ๋กœ ์ด๋™ํ•œ ๋’ค ProfileList ์•ˆ์— ๋“ค์–ด์žˆ๋Š” ์„œ๋ธŒ ํ‚ค๋“ค์„ ์—ด๋žŒ์„ ํ•ด์„œ ๋ฐ”๊พธ๊ณ  ์‹ถ์€ ProfileImagePath๋ฅผ ์ˆ˜์ • 3. ๋กœ๊ทธ์•„์›ƒ ํ˜น์€ ์žฌ๋ถ€ํŒ… ๋‹ค ๋งˆ์ณค๋‹ค๋ฉด ์žฌ๋ถ€ํŒ…์ด๋‚˜ ๋กœ๊ทธ์•„์›ƒ ์ฐธ๊ณ : https://www.tabmode.com/windows10/win10-user-name-.. 2022. 10. 15.
์œˆ๋„์šฐ - ์‹คํ–‰ ์ฐฝ์—์„œ ๋ณผ๋ฅจ ๋ฏน์„œ ์‹คํ–‰ํ•˜๊ธฐ(sndvol) Win + R > sndvol ์ž…๋ ฅ > ํ™•์ธ 2022. 10. 15.
๋ฆฌ์•กํŠธ ๋„ค์ดํ‹ฐ๋ธŒ - MapView Marker ์‚ฌ์šฉ ์˜ˆ์ œ import * as React from 'react'; import MapView from 'react-native-maps'; import { StyleSheet, Text, View, Dimensions } from 'react-native'; export default function App() { return ( ); } const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: '#fff', alignItems: 'center', justifyContent: 'center', }, map: { width: Dimensions.get('window').width, height: Dimensions.get('window')... 2022. 10. 14.
C# - ๋ชจ๋˜ UI ํ”„๋ ˆ์ž„์›Œํฌ(MahApps.Metro) https://mahapps.com/ MahApps.Metro - Home Enhance the default controls MahApps.Metro overrides the default style of all common WPF controls and gives them a modern look. More than just styles MahApps.Metro also includes some custom controls based on concepts from Windows Phone, Windows 8 and Windo mahapps.com https://luckygg.tistory.com/302 [.Net] C# WinForm์—์„œ Metro UI(Modern UI) Framework ์ ์šฉํ•˜๊ธฐ(.. 2022. 10. 13.
puppeteer - Hairline Feature ์šฐํšŒ await page.evaluateOnNewDocument(() => { Object.defineProperty(HTMLDivElement.prototype, 'offsetHeight', { get: function() { if (this.id === 'modernizr') { return 1; } return elementDescriptor.get.apply(this); }, }); }); ์ถœ์ฒ˜: https://intoli.com/blog/making-chrome-headless-undetectable/ Making Chrome Headless Undetectable Using MitmProxy and injected JavaScript feature mocks to bypass Headless Chr.. 2022. 10. 13.
puppeteer - Language, Languages ์ˆ˜์ • await page.evaluateOnNewDocument(() => { Object.defineProperty(navigator, "language", { get: function() { return "en-GB"; } }); Object.defineProperty(navigator, "languages", { get: function() { return ["en-GB", "en"]; } }); }); ์ถœ์ฒ˜: https://stackoverflow.com/questions/46908636/how-to-specify-browser-language-in-puppeteer How to specify browser language in Puppeteer I would like to launch a Google.. 2022. 10. 13.
์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ - ๋‚ด ์ปดํ“จํ„ฐ GPU(๊ทธ๋ž˜ํ”ฝ ์นด๋“œ) ์ •๋ณด ๊ฐ€์ ธ์˜ค๊ธฐ(WebGL) var canvas = document.createElement('canvas'); var gl; var debugInfo; var vendor; var renderer; try { gl = canvas.getContext('webgl') || canvas.getContext('experimental-webgl'); } catch (e) { } if (gl) { debugInfo = gl.getExtension('WEBGL_debug_renderer_info'); vendor = gl.getParameter(debugInfo.UNMASKED_VENDOR_WEBGL); renderer = gl.getParameter(debugInfo.UNMASKED_RENDERER_WEBGL); } console.log(.. 2022. 10. 12.
728x90