Link to these links: https://git.io/vKSVZ
Module 1:
- Run jenkins from war file:
jenkins -jar jenkins.war - Run jenkins from docker:
docker run -d \
--restart unless-stopped \
--name jenkins \| public static class ObservableExtensions | |
| { | |
| /// <summary> | |
| /// Group observable sequence into buffers separated by periods of calm | |
| /// </summary> | |
| /// <param name="source">Observable to buffer</param> | |
| /// <param name="calmDuration">Duration of calm after which to close buffer</param> | |
| /// <param name="maxCount">Max size to buffer before returning</param> | |
| /// <param name="maxDuration">Max duration to buffer before returning</param> | |
| public static IObservable<IList<T>> BufferUntilCalm<T>(this IObservable<T> source, TimeSpan calmDuration, Int32? maxCount=null, TimeSpan? maxDuration = null) |
| public static class LINQExtensions | |
| { | |
| public static IEnumerable<IGrouping<TKey, TElement>> GroupAdjacentBy<TElement, TKey>(this IEnumerable<TElement> source, Func<TElement, TKey> keySelector, IEqualityComparer<TKey> comparer=null) | |
| { | |
| comparer = comparer ?? EqualityComparer<TKey>.Default; | |
| List<TElement> elements = null; | |
| TKey key = default(TKey); | |
| TKey lastKey = default(TKey); | |
| foreach (var x in source) | |
| { |
| # GIT heart FZF | |
| # ------------- | |
| is_in_git_repo() { | |
| git rev-parse HEAD > /dev/null 2>&1 | |
| } | |
| fzf-down() { | |
| fzf --height 50% --min-height 20 --border --bind ctrl-/:toggle-preview "$@" | |
| } |
Link to these links: https://git.io/vKSVZ
Module 1:
jenkins -jar jenkins.wardocker run -d \
--restart unless-stopped \
--name jenkins \