| theme | _class | paginate | backgroundColor | backgroundImage |
|---|---|---|---|---|
gaia |
lead |
true |
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
| #!/bin/bash | |
| # Create backup filename with current date and time | |
| BACKUP_FILE=~/.zshrc.backup.$(date +%Y%m%d%H%M%S) | |
| # Backup original file | |
| cp ~/.zshrc "$BACKUP_FILE" | |
| echo "Existing .zshrc file has been backed up to $BACKUP_FILE" | |
| # Remove existing ASDF-related settings and create new file |
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
| # train_grpo.py | |
| import re | |
| import torch | |
| from datasets import load_dataset, Dataset | |
| from transformers import AutoTokenizer, AutoModelForCausalLM | |
| from peft import LoraConfig | |
| from trl import GRPOConfig, GRPOTrainer | |
| # Load and prep dataset |
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
| # ๊ดํด๊ตฐ์ผ๊ธฐ[์ค์ด๋ณธ]18๊ถ, ๊ดํด 1๋ 7์ | |
| ๋น๋ณ์ฌ๊ฐ ์งํผ์ฌ๋ฅผ ์ฐจ์ถํ์ฌ ์๋ก ์ง๋ฐฉ์ ํ์ฌ์ฑ ์ ๊ทํํ ๊ฒ์ ์๋ขฐ๋ค | |
| ์ด์กฐ๊ฐ ๋์ ํ ์ ๊ทผ์ ์ฐจ์์ ๋ํ ๋์ ๋ค์ ์๋ ผ์ ์๋ขฐ๋ค | |
| ์ฌํ๋ถ๊ฐ ์ญ๊ด ํํ ๋ฑ์ ํ์ง์ํฌ ๊ฒ์ ์๋ขฐ๋ค | |
| ์ฌ๊ฐ์์ด ๋ฌธ๊ดยท๋ฌด๊ดยท์๊ด์ ๋ฌผ๋ก ํ๊ณ ์ฌ๋ฅ์ ํค์๋ ค ์๋ น์ ์๋ช ํ ๊ฒ์ ์๋ขฐ๋ค | |
| ์ ํ ยท์์ฑยท๊ฐํ์ค ๋ฑ์๊ฒ ๊ด์ง์ ์ ์ํ๋ค | |
| ๋ฐ์ง์ยท์ ๊ณต๋ยท๊ฒฝ์ฌยท์ด์ด์ฒจ ๋ฑ์๊ฒ ๊ด์ง์ ์ ์ํ๋ค | |
| ์์์ ์ด์์ต์ด ์ฌ์ง์๋ฅผ ์ฌ๋ฆฌ๋ค | |
| ์ฌํ๋ถ๊ฐ ์ฐ๊ณํ์ฌ ์์ถ๋ฐ ๋ฑ์ ํ์ง์ ์ฒญํ๋ค | |
| ์ฌํ๋ถ๊ฐ ํ์ง์ ๊ณ์ฒญํ๋ค |
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
| class Recipe { | |
| String title; | |
| List<String> ingredients; | |
| Recipe(this.title, this.ingredients); | |
| // ๊ณตํต์ผ๋ก ์ฌ์ฉํ ์ฌ๋ฃ ๋ชฉ๋ก ๋ฉ์๋ | |
| void getIngredientList() { | |
| print("Ingredients for $title: ${ingredients.join(', ')}"); | |
| } |
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
| // ํ์ Material Design ์์ ฏ์ ํฌํจํ๋ ํจํค์ง ์ํฌํธ | |
| import 'package:flutter/material.dart'; | |
| // ์ฑ์ ์์์ | |
| void main() { | |
| runApp(const MyApp()); | |
| } | |
| /// ์ฑ์ ๋ฃจํธ ์์ ฏ | |
| /// MaterialApp์ ๋ฐํํ์ฌ ๋จธํฐ๋ฆฌ์ผ ๋์์ธ ํ ๋ง ์ ์ฉ |
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 'package:flutter/material.dart'; | |
| void main() async { | |
| runApp(MaterialApp( | |
| initialRoute: '/', | |
| routes: { | |
| // When navigating to the "/" route, build the FirstScreen widget. | |
| '/': (context) => FirstScreen(), | |
| // When navigating to the "/second" route, build the SecondScreen widget. | |
| '/second': (context) => QuizPage(), |
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
| class Book { | |
| String title; | |
| String? author; // ์ ์ ์ ๋ณด๋ฅผ ์ ํ์ ์ผ๋ก ์ถ๊ฐ | |
| Book(this.title, [this.author]); | |
| @override | |
| String toString() { | |
| return '$title'; | |
| } |
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
| void main() { | |
| String str1 = 'h1'; | |
| String str2 = 'h1'; | |
| print(str1); | |
| } |
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
| void main() { | |
| for (int i = 0; i < 10; i++) { | |
| print('hello Hong ${i + 1}'); | |
| } | |
| } |