{{ message }}

Instantly share code, notes, and snippets.

😀

# Jakub Ciechowski jciechowski

😀
Created Oct 24, 2021
View HttpCall.fs
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
 open System.Net.Http open System.Net.Http.Json type Rate = { PLN: double } type ApiResponse = { Amount: double Base: string Date: string Rates: Rate }
Created Oct 30, 2019 — forked from tatianamac/tatiana-mac-speaker-rider.md
Tatiana Mac's Speaker Rider
View tatiana-mac-speaker-rider.md

# Speaker Rider

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.

👐 Speaking comes with immense privilege. I am grateful to all the conference organisers who have brilliantly hosted me. I would love to continue to exercise this privilege to speak at conferences, and use this privilege to make the landscape more accessible and beneficial to tech's most marginalised and suppressed communities.

😫 I wish I didn't have to, but this is long because I provide a lot of explanations for those of you who never had to consider these things. And I will be honest, most thoughtful conferences I've attended check most of these boxes intrinsically, particularly when conference runners are experienced speakers. They get it.

1️⃣ All of these are based on my own ethos. I don't wish to or attempt to speak on behalf of all conference speake

Created May 13, 2019
Webinar CodersTrust 09.05.2019 - layout bloga
View index.html
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
 Nasz super blog
Created Oct 28, 2018 — forked from JuggoPop/Git branch bash autocomplete *with aliases*
Git branch bash autocomplete *with aliases* (add to .bash_profile)
View Git branch bash autocomplete *with aliases*
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
 # 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
Created Mar 12, 2018
View memoi.cs
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
 public class CourseTests { [Fact] public void PlayIncreaseViewers() { Func doubleX = x => x*2; var memoized = doubleX.Memoize(); var result = memoized(4); var obj = memoized(1); Assert.Equal(result, obj);
Created Feb 12, 2018
View Controller.cs
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
 public PizzaRepository() => _pizzas = new List() public Maybe Get(int id) { var pizza = _pizzas.FirstOrDefault(_ => _.Id == id); return pizza == null ? Maybe.Empty() : pizza.ToMaybe(); }
Created Feb 12, 2018
View Maybe.cs
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
 public class Maybe : IEnumerable { private readonly IEnumerable _values; public Maybe() { _values = new T[0]; } public Maybe(T value)
Created Nov 8, 2016
View promise.js
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
 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); Created Jan 9, 2016 piec View gist:a5d426a073a5f001dca3 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 #include #include #include #include #include int descr[2]; //tablica deskryptorow int main() Created Sep 8, 2014 View gist:fd6d1f84f8c3861a637e 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  \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}