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
\documentclass[tikz]{standalone}% | |
\usetikzlibrary{fit,calc,shadows,backgrounds,positioning} | |
\tikzset{ | |
polaroid/.cd, | |
at/.store in=\polaroidat, | |
at={0,0}, | |
graphics options/.store in=\polaroidgraphicsoptions, | |
graphics options=, | |
rotate/.store in=\polaroidrotate, | |
rotate=0, |
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
\documentclass{standalone} | |
\usepackage[skins]{tcolorbox} | |
\begin{document} | |
\tikz[radius=1cm,delta angle=180] | |
\path[draw, thick, fill overzoom image=example-image] | |
(0,0) ellipse [x radius = 1.5cm, y radius = 2cm]; | |
\end{document} |
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
\documentclass{article} | |
\usepackage{graphicx} | |
\usepackage{tikz} | |
\usepackage[skins]{tcolorbox} | |
\usepackage{overpic} | |
\begin {document} | |
\begin{tikzpicture} | |
\draw (0, 0) node[inner sep=0]{ | |
{\fcolorbox{black}{white} | |
{ |
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
\documentclass{article} | |
\usepackage{graphicx} | |
\usepackage{tikz} | |
\usepackage[skins]{tcolorbox} | |
\usepackage{overpic} | |
\begin {document} | |
\begin{tikzpicture} | |
\draw (0, 0) node (textfield) [inner sep=0]{ | |
{\fcolorbox{black}{white} | |
{ |
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
gist |
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
inline bool stringLengthLarger (const string & lhs, const string & rhs) { | |
return lhs.length() > rhs.length(); | |
} | |
class Solution { | |
public: | |
int maxProduct(vector<string>& words) { | |
size_t sz_words = words.size(); | |
if (sz_words < 2) { | |
return 0; |
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
\documentclass{mcmthesis} | |
\mcmsetup{titleinsheet = true} | |
\usepackage{blindtext} | |
\title{The Title} | |
\author{Liam Huang} | |
\date{today} | |
\begin{document} |
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
\documentclass{article} | |
\usepackage{fontspec} | |
%\usepackage[dvipsnames,pdftex]{xcolor} | |
\usepackage{xcolor} | |
\definecolor{lstbgcolor}{rgb}{0.9,0.9,0.9} | |
\usepackage{listings} | |
\newenvironment{latexcode}[1][language=command.com, number=left] | |
{\lstset{backgroundcolor=\color{lstbgcolor}, | |
commentstyle=\color[rgb]{0.133,0.545,0.133}, |
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
\documentclass{article} | |
\usepackage{xeCJK} | |
%\usepackage[dvipsnames,pdftex]{xcolor} | |
\usepackage{xcolor} | |
\definecolor{lstbgcolor}{rgb}{0.9,0.9,0.9} | |
\usepackage{listings} | |
\newenvironment{latexcode}[1][language=command.com, number=left] | |
{\lstset{backgroundcolor=\color{lstbgcolor}, | |
commentstyle=\color[rgb]{0.133,0.545,0.133}, |
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 <iostream> | |
#include <string> | |
#include <vector> | |
#include <algorithm> | |
using namespace std; | |
vector<string>& combination | |
(vector<string>& res, const size_t& choose, const size_t& from); | |
bool compare (const char& lhs, const char& rhs); | |
int main () { |
OlderNewer