| Code point | Chú thích |
|---|---|
| 0x0302 | Dấu mũ (â, ô) |
| 0x0306 | Dấu mũ ngược (ă) |
| 0x03b1 | Dấu móc (ơ, ư) |
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/sh | |
| # chỉnh bộ gõ ở đây {{{ # | |
| engines="xkb:us::eng, Bamboo" | |
| # }}} chỉnh bộ gõ ở đây # | |
| engines=$(echo $engines | sed s'/\s//g') | |
| first_engine=$(echo $engines | cut -d ',' -f 1) | |
| cur_next_engines=$(echo $engines \ | |
| | tr ',' '\n' \ |
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/sh | |
| BASEDIR="/var/run/user/$(id -u)/runonce" | |
| COMMAND="$@" | |
| HASH="$(echo "$COMMAND" | md5sum | cut -d ' ' -f 1)" | |
| PIDFILE="$BASEDIR/$HASH" | |
| show_help () { | |
| echo "runonce <command>" | |
| } |
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/sh | |
| assign () { | |
| # get rid of single quote mark | |
| eval $1=$(echo $2) | |
| } | |
| banner () { | |
| echo "******************************************************************" | |
| echo "* GAMA version 1.8.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
| " Syntax highlighting for Gama language | |
| " https://gama-platform.github.io | |
| if exists('b:current_syntax') | |
| finish | |
| endif | |
| setlocal iskeyword+=\# | |
| setlocal iskeyword+=\: |
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
| \ExecuteBiblatexOptions{citestyle=numeric-comp} | |
| \makeatletter | |
| \let\ffcitepre\empty | |
| \let\ffcitepost\empty | |
| \DeclareCiteCommand{\cite}[\mkbibbrackets] | |
| {% | |
| \usebibmacro{cite:init}% | |
| \usebibmacro{prenote}% | |
| } |
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
| % Dùng lualatex để compile, nếu dùng pdflatex thìt thay \pageheight ở trong titlepage.tex bằng \pdfpageheight và thêm hỗ trợ tiếng Việt vào. | |
| \usepackage{tikz} | |
| \usepackage[a4paper, top=3.5cm, bottom=3cm, right=2cm, left=3.5cm]{geometry} | |
| \input{titlepage.tex} | |
| \title{Tiêu đề} | |
| \reporttype{Đồ án tốt nghiệp đại học} | |
| \major{Toán tin} | |
| \author{Nguyễn Đức Hùng} | |
| \address{Hà nội} | |
| \date{2021} |
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
| % By language | |
| \DeclareSourcemap{ | |
| \maps[datatype=bibtex, overwrite] { | |
| \map{ | |
| \perdatasource{refs.bib} | |
| \step[fieldset=language, fieldvalue={02english}, append] | |
| \step[fieldset=keywords, fieldvalue={english}, append] | |
| } | |
| \map{ | |
| \perdatasource{refs.vn.bib} |
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
| local function make_border_dwim(t) | |
| -- use this because there might be multiple tag selected | |
| local cs = t.screen.clients | |
| local border = {} | |
| -- because maximized and fullscreen client | |
| -- are considered floating | |
| local function truefloat(c) | |
| return c.floating and (not c.maximized) and (not c.fullscreen) | |
| end |
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/sh | |
| # https://askubuntu.com/questions/1167283/l2tp-connection-client-on-ubuntu-18-04-server | |
| VPNDATA=" | |
| gateway = [ipv4], | |
| ipsec-enabled = yes, | |
| ipsec-psk = 0s"$(base64 <<<'[PSK]' | rev | cut -c2- | rev)"=, | |
| mru = 1400, | |
| mtu = 1400, | |
| password-flags = 0, | |
| refuse-chap = yes, |