(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
package net.mvaz.examples.graph; | |
import org.jgrapht.DirectedGraph; | |
import org.jgrapht.alg.DijkstraShortestPath; | |
import org.jgrapht.event.ConnectedComponentTraversalEvent; | |
import org.jgrapht.event.TraversalListenerAdapter; | |
import org.jgrapht.event.VertexTraversalEvent; | |
import org.jgrapht.graph.SimpleDirectedGraph; | |
import org.jgrapht.traverse.DepthFirstIterator; | |
import org.jgrapht.traverse.GraphIterator; |
body { | |
font-family: Helvetica, arial, sans-serif; | |
font-size: 14px; | |
line-height: 1.6; | |
padding-top: 10px; | |
padding-bottom: 10px; | |
background-color: white; | |
padding: 30px; } | |
body > *:first-child { |
#!/bin/bash | |
# | |
# git-mv-with-history -- move/rename file or folder, with history. | |
# | |
# Moving a file in git doesn't track history, so the purpose of this | |
# utility is best explained from the kernel wiki: | |
# | |
# Git has a rename command git mv, but that is just for convenience. | |
# The effect is indistinguishable from removing the file and adding another | |
# with different name and the same content. |
{ "@context": { | |
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", | |
"rdfs": "http://www.w3.org/2000/01/rdf-schema#", | |
"owl": "http://www.w3.org/2002/07/owl#", | |
"express": "http://example.com/express#", | |
"defines": { | |
"@reverse": "rdfs:isDefinedBy" | |
}, | |
"propertyOf": { | |
"@id": "rdfs:domain", |
// MIT License - Copyright (c) 2016 Can Güney Aksakalli | |
// https://aksakalli.github.io/2014/02/24/simple-http-server-with-csparp.html | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Net.Sockets; | |
using System.Net; | |
using System.IO; |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
RADİKAL | |
===================================== | |
HABER LİSTELEME ve DETAYLANDIRMA | |
-------------------------------- | |
* Tüm rastgele cihaz id'ler yerine 1 yazılabilir | |
// Sayfa 1 den başlıyor | |
GET -> http://native.radikal.com.tr/native/dailynews/{sayfa}/{rastgele-cihaz-id} |
[global_config] | |
title_receive_bg_color = "#3167ac" | |
title_transmit_bg_color = "#d4312e" | |
title_inactive_fg_color = "#343232" | |
title_transmit_fg_color = "#e7eced" | |
title_inactive_bg_color = "#b0b6ba" | |
[keybindings] | |
[profiles] | |
[[default]] | |
palette = "#222d3f:#a82320:#32a548:#e58d11:#3167ac:#781aa0:#2c9370:#b0b6ba:#212c3c:#d4312e:#2d9440:#e5be0c:#3c7dd2:#8230a7:#35b387:#e7eced" |
Okey this is not the easiest way of running Hadoop on your local computer and probably you should instead just install it locally.
However if you really insist doing this here's how:
minikube --memory 4096 --cpus 2 start
(minikube's default is 1GB). NOTE: actually the Hadoop cluster by default uses about 10GB in memory limits and about 3GB running memory. From what I looked my k8s will overprovision to 300% of its capacity limits but use far less.helm init
.