본문 바로가기

분류 전체보기

React 19 Cheat Sheet React Server Components빌드 시간 또는 요청별로 실행되는 서버 렌더링 컴포넌트.// dashboard.tsximport * as db from './db.ts'import { createOrg } from './org-actions.ts'import { OrgPicker } from './org-picker.tsx'// look! it's async!export async function Dashboard() { // wait a sec! const orgs = await db.getOrgs() return ( {/* this is all server-only code */} Dashboard {/* OrgPicker is a client-side c.. 더보기
WSL1 Rocky OS 8.5 PHP 7.4 설치해보기 rockyos8.5 다운로드 주소 : https://github.com/rocky-linux/sig-cloud-instance-images/blob/Rocky-8.5-x86_64/rocky-8.5-docker-x86_64.tar.xz GitHub - rocky-linux/sig-cloud-instance-images Contribute to rocky-linux/sig-cloud-instance-images development by creating an account on GitHub. github.com # 설치 # 설치 폴더 세팅 (개별 설정) cd d:\ mkdir AppData\RockyLinux8 # wsl ver 1 세팅 wsl --set-default-version 1 # wsl --imp.. 더보기
vscode에서 spring boot 설치해보기 1. vscode download Visual Studio Code - Code Editing. Redefined Visual Studio Code - Code Editing. Redefined Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. code.visualstudio.com 2. Java in Visual Studio Code Java in Visual Stud.. 더보기
centos apache 에서 vue router history mod가 안될때 .htaccess 파일 업로드 RewriteEngine On RewriteBase / RewriteRule ^index\.html$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.html [L] .htaccess 인식을 못할경우 추가 vi /etc/httpd/conf/httpd.conf Options -Indexes +FollowSymLinks AllowOverride FileInfo AuthConfig Limit ssl이 있는경우 ssl.conf는 별도 추가 설정 안함. 참조 Apache 2.2 섹션설정https://httpd.apache.org/docs/2.2/ko/sec.. 더보기
javascript 타이머 특정 시간(cycleSecond ) 마다 반복 실행 var cycleSecond = 5; // 주기 (초) setInterval(function() { event(); //이벤트 },cycleSecond*1000); 특정 시간(cycleSecond ) 이후 이벤트 발생function timer_event(){ event(); //이벤트} setTimeout(timer_event(), cycleSecond*1000); 더보기
Glide 3.7.0에서 4.6.1 로 변경 참고https://github.com/bumptech/glide 기존에 사용하던 라이브러리implementation 'com.github.bumptech.glide:glide:3.7.0'implementation 'jp.wasabeef:glide-transformations:2.0.1' 변경된 라이브러리 implementation 'com.github.bumptech.glide:glide:4.6.1' annotationProcessor 'com.github.bumptech.glide:compiler:4.6.1' 변경전 3.7.0Glide.with(context) .load(img_url) .diskCacheStrategy(DiskCacheStrategy.ALL) .thumbnail(0.1f) .overr.. 더보기
android build 환경변수 ANDROID_HOME=D:\sdk PATH=%ANDROID_HOME%\platform-tools $ ionic cordova build android $ ionic cordova run android 더보기
Ionic InAppBrowser error Typescript ErrorCannot find name 'InAppBrowser'. https://ionicframework.com/docs/native/in-app-browser/ 더보기