I hereby claim:
- I am roconda on github.
- I am timms (https://keybase.io/timms) on keybase.
- I have a public key ASBTVvl6wwW_21QC1_RiZSoLUv825c8efWcq43_2WGRH4Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
04617d6fb8fd03c95dc4d9819de5601b8e0166f1fd1fbb2b92c9b78349a96d18950e1a8a04efdb396e98b1b9625aa5f06cf2830ce1c231f7880dca929feebaf10e |
import { createStore, combineReducers } from 'redux' | |
import _name from './reducers' | |
export default function(data) { | |
var reducer = combineReducers(_name) | |
return createStore(store) | |
} |
mport React from 'react' | |
import { Provider } from 'react-redux' | |
import { connect } from 'react-redux' | |
import Dashboard from './Dashboard' | |
export default class Application extends React.Component { | |
render() { | |
return( | |
<Provider store={this.props.store}> | |
{ () => <Dashboard store={this.props.store} /> } |
Ambari uses a local postgres db by default. This page describes how to configure ambari-server with a local mysql server.
Get the latest Ambari from the repository. Note that you should use the newest version listed on the documentation page.
Install the 3rd party repository:
cd /etc/yum.repos.d/
$ telnet localhost 5554 | |
Trying 127.0.0.1... | |
Connected to localhost. | |
Escape character is '^]'. | |
Android Console: type 'help' for a list of commands | |
OK | |
network status | |
Current network status: | |
download speed: 0 bits/s (0.0 KB/s) | |
upload speed: 0 bits/s (0.0 KB/s) |
class Blaat { | |
private TaskCompletionSource<Pion> _pionCompletion = new TaskCompletionSource<Pion>(); | |
private void PionKlik(Pion item) | |
{ | |
_pionCompletion.TrySetResult(item); | |
} | |
//spel.cs | |
public async Task<Pion> KiesPion(Func<Pion, bool> mogelijk) | |
{ |
public void SelectionSort() | |
{ | |
int HuidigePositie, HuidigeWaarde; | |
for (int I = 0 ; I < collection.Length - 1 ; I++) | |
{ | |
HuidigePositie = I; | |
HuidigeWaarde = collection[I]; | |
for (int J = collection.Length-1 ; J > I ; J--) | |
{ | |
if (collection[J] < HuidigeWaarde) |
server { | |
listen 80; | |
server_name <url>; | |
root /var/www/html; | |
location / { |
#!/bin/sh | |
# Author: Roconda | |
# Description: Script updates chef cookbooks by using git | |
# Only execute when in current directory | |
for e in `ls` | |
do | |
if [ -d $e ]; then | |
cd $e && git pull && cd .. | |
fi |