Skip to content

Instantly share code, notes, and snippets.

View Cellane's full-sized avatar

Cellane

View GitHub Profile
\begin{tikzpicture}[scale=2]
\draw [help lines,step=0.25cm] (0,0) grid (6.2,1.2);
\draw (0,0) grid (6.25,1.25);
\foreach \x/\xtext in {1,2,3,4,5,6}
\draw[shift={(\x,0)}] (0pt,2pt) -- (0pt,-2pt) node[below] {$\xtext$};
\foreach \y/\ytext in {0.25,0.5,0.75,1}
\draw[shift={(0,\y)}] (2pt,0pt) -- (-2pt,0pt) node[left] {$\ytext$};
\begin{tikzpicture}
\coordinate [label=left:$P_0$] (P0) at (0,0);
\coordinate [label=left:$P_1$] (P1) at (3,5);
\coordinate [label=right:$P_2$] (P2) at (6,5);
\coordinate [label=right:$P_3$] (P3) at (9,0);
\coordinate (X1) at ($(P0) !.5! (P2)$);
\coordinate (X2) at ($(P1) !.5! (P3)$);
\coordinate [label=below:$0$] (0) at (4,2);
\coordinate [label=left:$P(0)$] (p0) at (3,4.166667);
\coordinate [label=below:$a$] (a) at (4.5,2);
<?xml version='1.0' encoding='utf-8'?>
<Application xmlns='http://schemas.microsoft.com/windows/2009/Ribbon'>
<Application.Commands>
<Command Name="ApplicationMenu" Id="1000" />
<Command Name="ButtonExit" Id="1001" LabelTitle="Exit" LabelDescription="Exit Description" TooltipTitle="Exit" TooltipDescription="Exit application.">
<Command.LargeImages>
<Image>Resources/exit-32.bmp</Image>
</Command.LargeImages>
<Command.SmallImages>
<Image>Resources/exit-16.bmp</Image>
namespace SixthTask
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
using System;
namespace FifthTask
{
class Program
{
private static DateTime _dateOfBirth;
private static bool _parseSuccessful;
static void Main()
using System;
namespace FourthTask
{
class Program
{
private static string[] _subjects;
private static string[] _predicates;
private static string[] _objects;
using System;
namespace FirstTask
{
class BankAccount
{
private readonly int _accountNumber;
private readonly int _bankCode;
private decimal _balance;
private readonly Currency _currency;
@Cellane
Cellane / table.tex
Last active December 11, 2015 18:28
\begin{table}[H]
\caption{Výsledky práce s~objekty}
\begin{tabular}{|p{5.97cm}|r|r|r|} \hline
& \textbf{ObjC, Mac} & \textbf{C++, Mac} & \textbf{C++, Windows} \\\hline\hline
Nejnižší naměřená hodnota & 285,210 ms & 620,699 ms & 819,633 ms \\\hline
Střední hodnota & 294,783 ms & 632,709 ms & 1059,580 ms \\\hline
Nejvyšší naměřená hodnota & 457,502 ms & 822,374 ms & 1706,000 ms \\\hline
\end{tabular}
\end{table}
#!/usr/bin/ruby
# Created in 2013 by Milan Vit <[email protected]>
# Licensed under Creative Commons BY-NC-SA 3.0 licence, available at:
# http://creativecommons.org/licenses/by-nc-sa/3.0/cz/
require 'rubygems'
require 'watir'
require 'watir-webdriver'
# Put login details & current semester here
# No further edits are needed until line 55
\documentclass[a4paper, 12pt, oneside]{book}
\usepackage{polyglossia}
\usepackage{fontspec}
\usepackage{graphicx}
\usepackage{float}
\usepackage[hang]{caption}
\usepackage[top=3cm, bottom=2cm, right=2cm, left=3.5cm]{geometry}
\usepackage[parfill]{parskip}
%\usepackage{indentfirst}
\usepackage{setspace}