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
\begin{figure}[h] | |
\includegraphics[width=0.5]{lion-logo} | |
\caption{Caption} | |
\label{fig:figure2} | |
\end{figure} |
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
\paragraph{this is a long paragraph} | |
\lipsum{1} | |
\begin{itemize} | |
\item item 1 | |
\item item 2 | |
\end{itemize} | |
\lipsum{1} | |
\paragraph{more text} |
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{amsmath} | |
\begin{document} | |
\begin{align*} | |
n(n-1)/2 | |
\end{align*} |
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
\usepackage{geometry} | |
\geometry{ | |
a4paper, | |
total={170mm,257mm}, | |
left=20mm, | |
top=20mm,} |
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
10.times do | |
puts "hello" | |
end |
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
\begin{figure} | |
\includegraphics[scale=0.25]{fractal_tree} | |
\caption{Scaled 0.25 eps file} | |
\end{figure} | |
\begin{figure} | |
\includegraphics[scale=0.25]{fractal_tree.png} | |
\caption{Scaled 0.25 png file} | |
\end{figure} |
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
root@CoreDuo:/etc/apt# apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 11E9DE8848F2B65222AA75B8D1820DB22A11534E | |
Executing: /tmp/apt-key-gpghome.pgT2Qc1FgP/gpg.1.sh --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 11E9DE8848F2B65222AA75B8D1820DB22A11534E | |
gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory | |
gpg: connecting dirmngr at '/tmp/apt-key-gpghome.pgT2Qc1FgP/S.dirmngr' failed: No such file or directory | |
gpg: keyserver receive failed: No dirmngr |
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
h1 | |
{ | |
font-style : italic ; | |
color : red ; | |
} |
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 turtle | |
t = turtle.Turtle() | |
for x in range(0,4): | |
t.color("black") | |
t.forward(50) | |
t.backward(50) | |
t.left(90) | |
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
def double(num) | |
yield(num) | |
end | |
double(16) {|x| puts x * 2} |
NewerOlder