Web 썸네일형 리스트형 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); 더보기 내부사용자 / 외부사용자 $access_ip = array( '123.456.789.001', '123.456.789.002', '123.456.789.003', '123.456.789.004', '123.456.789.005', ); if (array_search($_SERVER[REMOTE_ADDR], $access_ip) === false) { echo "외부사용자 : ".$_SERVER[REMOTE_ADDR]; exit; }else{ echo "내부 사용자"; } 더보기 서비스되는 파일 유지보수 if($_SERVER['REMOTE_ADDR'] === '지정 아이피'){ echo "지정 아이피에서만 보이는 내용"; } 더보기 HTML과 CSS로 SiteMap 구성 ▣ IE에서도 구동 가능 하도록 수정 해당 소스코드를 아래와 같이 바꾸면 아래 이미지 처럼 변경 (IE 10 이상) ul { list-style:none; font-size:12px; display:inline-flex; display:-webkit-box; display:-moz-box; -ms-box-orient:horizontal; -webkit-box-orient:horizontal; -moz-box-orient:horizontal; } li span { display:table; border-radius:3px; padding:10px 12px; background: rgb(76,76,76); background-image: -webkit-gradient( linear, left bottom, .. 더보기 이전 1 2 다음