This file contains 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
#include <bits/stdc++.h> | |
#include <iomanip> | |
using namespace std; | |
#define foreach(length) for(int i = 0; i < length; ++i) | |
class SinhVien { | |
public: | |
string maSV; | |
string hoTen; | |
string lop; |
This file contains 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 java.io.DataInputStream; | |
import java.io.DataOutputStream; | |
import java.io.IOException; | |
import java.net.ServerSocket; | |
import java.net.Socket; | |
import java.util.Scanner; | |
public class Client { | |
public static void main(String[] args) throws IOException { | |
//tạo socket kết nối đển Server |
This file contains 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
package Bai1; | |
import com.db4o.ObjectContainer; | |
import com.db4o.ObjectSet; | |
import com.db4odoc.f1.chapter1.Pilot; | |
import java.util.List; | |
import java.util.Scanner; | |
public class Book { |
This file contains 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
<template> | |
<div> | |
<div class="main"> | |
<div class="menuBar__button"> | |
<button class="menuBar__button-submit"><a>Nộp bài</a></button> | |
</div> | |
<div class="menubar-container"> | |
<div> | |
<span class="menuBar__title">Bài test: junior BA</span> |
This file contains 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
javascript:(function(){document.designMode=document.designMode==="on"?"off":"on"})(); |
This file contains 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
force_color_prompt=yes | |
color_prompt=yes | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
if [ "$color_prompt" = yes ]; then | |
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[01;31m\]$(parse_git_branch)\[\033[00m\]\$ ' | |
else | |
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w$(parse_git_branch)\$ ' | |
fi |
This file contains 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
data:text/html,<html contenteditable><style>body{color:rgb(79 79 79);background:rgb(250 250 250);font-family:"Cascadia Code","Fira Code Retina","Consolas","Roboto Mono","Courier New",monospace;font-size:16px;line-height:1.688;padding:34px 16px 32px 32px;border-radius:10px;width:min(80ch, calc(100% - 64px));margin:15px auto;box-shadow:0 0px 40px rgba(0,0,0,0.13);white-space:break-spaces}body>*>*,body>*{white-space:break-spaces !important}</style></html> |
This file contains 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
Using Git Bash for run if using Windows | |
Ex: addComponent.sh pages/dropdown-menu | |
--> src/components/pages/dropdown-menu | |
. | |
|-- DropdownMenu.jsx | |
`-- DropdownMenu.module.scss |
This file contains 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
async function fetcher( | |
url, | |
method = 'get', | |
body = undefined, | |
headers = { | |
'Content-Type': 'application/json', | |
}, | |
) { | |
try { | |
const response = await fetch(url, { |
OlderNewer