Speaker Rider
by Tatiana Mac
Before I'll agree to a speaking event, I try to do as much research I can around the event to ensure it aligns with my ethos. I want to share this in case it's helpful to any other speakers.
open System.Net.Http | |
open System.Net.Http.Json | |
type Rate = { PLN: double } | |
type ApiResponse = | |
{ Amount: double | |
Base: string | |
Date: string | |
Rates: Rate } |
by Tatiana Mac
Before I'll agree to a speaking event, I try to do as much research I can around the event to ensure it aligns with my ethos. I want to share this in case it's helpful to any other speakers.
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Nasz super blog</title> | |
<link | |
rel="stylesheet" | |
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" | |
/> | |
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" /> |
# To Setup: | |
# 1) Save the .git-completion.bash file found here: | |
# https://github.com/git/git/blob/master/contrib/completion/git-completion.bash | |
# 2) Add the following lines to your .bash_profile, be sure to reload (for example: source ~/.bash_profile) for the changes to take effect: | |
# Git branch bash completion | |
if [ -f ~/.git-completion.bash ]; then | |
. ~/.git-completion.bash | |
# Add git completion to aliases |
public class CourseTests | |
{ | |
[Fact] | |
public void PlayIncreaseViewers() | |
{ | |
Func<int, int> doubleX = x => x*2; | |
var memoized = doubleX.Memoize(); | |
var result = memoized(4); | |
var obj = memoized(1); | |
Assert.Equal(result, obj); |
public PizzaRepository() => _pizzas = new List<Pizza>() | |
public Maybe<Pizza> Get(int id) | |
{ | |
var pizza = _pizzas.FirstOrDefault(_ => _.Id == id); | |
return pizza == null ? Maybe.Empty<Pizza>() : pizza.ToMaybe(); | |
} |
public class Maybe<T> : IEnumerable<T> | |
{ | |
private readonly IEnumerable<T> _values; | |
public Maybe() | |
{ | |
_values = new T[0]; | |
} | |
public Maybe(T value) |
manipulateRemoteData: function(url) { | |
return new Promise((resolve, reject) => { | |
var result = []; | |
$.getJSON(url, (json) => {jsonFromUrl = json; | |
result = jsonFromUrl.people.sort((a, b) => { | |
if(a.name > b.name) return 1; | |
if(a.name == b.name) return 0; | |
return -1;}) | |
}); | |
resolve(result); |
#include <stdio.h> | |
#include <unistd.h> | |
#include <signal.h> | |
#include <fcntl.h> | |
#include <string.h> | |
#include <stdlib.h> | |
int descr[2]; //tablica deskryptorow | |
int main() |
\subsection{Ograniczenie górne} | |
Rozpatrzmy zbiór $F =\{S_1,\ldots,S_n\}$ rozłącznych odcinków prostych na płaszczyźnie oraz graf $G(F)$ zawierający $n$ wierzchołków $v_1$,\ldots,$v_n$ takich, że $v_i$ jest sąsiedni z $v_j$ wtedy i tylko wtedy, gdy istnieje punkt $x$ na płaszczyźnie, który widzi przynajmniej jeden punkt na odcinku $S_i$ i $S_j$ tzn. $x$ strzeże oba odcinki $S_i$ oraz $S_j$ \ref{fig:zbior odcinkow rozlacznych}. | |
Aby udowodnić twierdzenie \ref{straznicy strzezenie} na początku wykażemy, że dla każdego zbioru $F$ rozłącznych odcinków prostych, których jest parzysta liczba $n$, odpowiednio zdefiniowany graf $G(F)$ ma doskonałe skojarzenie (rysunek \ref{fig:zbior odcinkow rozlacznych}) | |
\begin{figure}[ht!] | |
\centering | |
\includegraphics{rysunki/g_f.png} | |
\caption{Zbiór $F$ rozłącznych odcinków oraz odpowiadający mu graf $G(F)$.} | |
\label{fig:zbior odcinkow rozlacznych} |