This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import re | |
from sklearn.model_selection import train_test_split | |
from sklearn.feature_extraction.text import TfidfVectorizer | |
from sklearn.linear_model import LogisticRegression | |
from sklearn.metrics import classification_report, accuracy_score | |
from nltk.stem import PorterStemmer | |
# ----------------------------- | |
# 1. 데이터 로딩 및 전처리 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"global": { "show_profile_name_in_menu_bar": true }, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"rules": [ | |
{ | |
"description": "Map Right Option + l;,'p to Arrow Keys", | |
"manipulators": [ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import axios, { AxiosRequestConfig, AxiosResponse } from "axios"; | |
import { GetUsersPayload } from '@types/common'; | |
export class HTTPClient { | |
private static baseURI = import.meta.env.VITE_PUBLIC_API_ENDPOINT; | |
public static getUsers(payload: GetUsersPayload) { | |
return this.request<undefined, GetUsersPayload>('/users', { data: payload, method: 'GET' }); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Install 'https://github.com/univdev/react-utils' | |
import { Command } from 'commander'; | |
import rootPackageJson from '../../package.json' with { type: 'json' }; | |
import packageJson from './package.json' with { type: 'json' }; | |
import { exec } from 'node:child_process'; | |
import { Glob } from 'glob'; | |
import fs from 'node:fs'; | |
import chalk from 'chalk'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": true, | |
"show_profile_name_in_menu_bar": true, | |
"unsafe_ui": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.shop-item { | |
display: flex; | |
} | |
.shop-item img { | |
width: 250px; | |
height: 200px; | |
background-color: gray; | |
border: 1px solid #CCC;; | |
} | |
.shop-item .shop-content { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function(){ | |
var path = './store/store.json'; | |
const app = { | |
items: [], | |
init() { | |
$.getJSON(path, (data) => { | |
const singleton = this; | |
data = data.map((item) => { | |
const price = item.price.split(',').join('') * 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<style> | |
#canvas { | |
border: 1px solid #EEE; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<style> | |
#canvas { | |
border: 1px solid #EEE; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int digits[10][7] = { | |
{0, 0, 0, 0, 0, 0, 1}, | |
{1, 0, 0, 1, 1, 1, 1}, | |
{0, 0, 1, 0, 0, 1, 0}, | |
{0, 0, 0, 0, 1, 1, 1}, | |
{1, 0, 0, 1, 1, 0, 0}, | |
{0, 1, 0, 0, 1, 0, 0}, | |
{0, 1, 0, 0, 0, 0, 0}, | |
{0, 0, 0, 1, 1, 1, 1}, | |
{0, 0, 0, 0, 0, 0, 0}, |
NewerOlder