PowerShell must be used. Windows Terminal is advised.
winget install Schniz.fnm
Create a PowerShell profile if it does not exist. Reference
if (!(Test-Path -Path $PROFILE)) {
PowerShell must be used. Windows Terminal is advised.
winget install Schniz.fnm
Create a PowerShell profile if it does not exist. Reference
if (!(Test-Path -Path $PROFILE)) {
<!-- https://d3js.org/getting-started#d3-in-vanilla-html --> | |
<script lang="ts"> | |
import * as d3 from 'd3'; | |
import type { Action } from 'svelte/action'; | |
const width = 640; | |
const height = 400; | |
const marginTop = 20; | |
const marginRight = 20; |
cd /etc/ssh | |
sudo nano sshd_config | |
# PasswordAuthentication no | |
# Remove the leading pound sign | |
cd sshd_config.d | |
ls # 50-cloud-init.conf | |
sudo nano 50-cloud-init.conf |
구분 | 통신사 | 지역 | |
---|---|---|---|
5G | KT | LAX | |
5G | KT | LAX | |
5G | KT | LAX | |
5G | KT | LAX | |
5G | LGU | HKG | |
5G | LGU | ICN | |
5G | SKT | KIX | |
5G | SKT | KIX | |
5G | SKT | LAX |
<script> | |
$: if (browser && data) { | |
chart.ref?.updateSeries(data.series); | |
} | |
</script> | |
<p>Hello, World</p> |
// Create .env file and add secret values. | |
// Run with node --env-file=.env index.mjs | |
// Requires Node.js 20+ (LTS as of 2023-10-24) | |
const { | |
NHN_SMS_APP_KEY, | |
NHN_SMS_SECRET, | |
NHN_SMS_SEND_NO, | |
SEND_TO, | |
TWILIO_ACCOUNT_SID, |
import { asc, eq, gte, lte } from 'drizzle-orm'; | |
import { drizzle } from 'drizzle-orm/mysql2'; | |
import { createPool } from 'mysql2'; | |
import * as schema from './schema'; | |
import { comments, users } from './schema'; | |
const connection = createPool({ | |
host: '...', | |
user: '...', | |
password: '...', |
import { webcrypto as crypto } from 'node:crypto'; // Node.js only | |
/* Generate */ | |
const key = await crypto.subtle.generateKey( | |
{ | |
name: 'AES-GCM', | |
length: 256 | |
}, | |
true, |
import { generateSgSendRequest } from 'sendgrid-send'; | |
import { defineConfig } from 'vite'; | |
// Vite Conditional Config | |
// Reference https://vitejs.dev/config/#conditional-config | |
export default defineConfig(({ command }) => ({ | |
plugins: [ | |
{ | |
name: 'Build End Notification', | |
buildEnd: async (error) => { |
const { generateSgSendBody } = require('sendgrid-send'); | |
generateSgSendBody; |