Skip to content

Instantly share code, notes, and snippets.

View bibiboot's full-sized avatar

Bibiboot bibiboot

View GitHub Profile
@bibiboot
bibiboot / Gate.md
Last active December 23, 2018 18:04
Gate
@bibiboot
bibiboot / Gardening.md
Last active December 23, 2018 18:10
Gardening

Irrigation

  1. Water garden once a week.
  2. Use soaker hose to water.
  3. Check water level by hand.

Fertilizer

  1. Send soil for testing and recommendation.
@bibiboot
bibiboot / JS.js
Created November 2, 2016 04:02
Redux 2
const todo = (state = {}, action) => {
switch (action.type) {
case 'ADD_TODO':
return {
id: action.id,
text: action.text,
completed: false
};
case 'TOGGLE_TODO':
if (state.id !== action.id) {
@bibiboot
bibiboot / HTML.html
Created November 2, 2016 02:51
Redux 1
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/redux/3.6.0/redux.js">
</script>
<script src="https://fb.me/react-0.14.0.js"></script>
@bibiboot
bibiboot / IntroVideo.md
Last active September 13, 2016 16:42
Introduction to Spark, Kafka and Cassandra
@bibiboot
bibiboot / README.md
Last active August 17, 2016 17:59
Elysium setup
@bibiboot
bibiboot / TROUBLESHOOTING.md
Last active July 23, 2016 09:13
Common Atlas Troubleshooting

Error seen in IntelliJ

@Override is not allowed when implementing interface
Diamond types are not supported at this language level

File --> Project Structure --> Modules --> Sources
Change the Language level to 8 - Lambdas

Incorrect JDK version for the project
Add this in the pom.xml

@bibiboot
bibiboot / SPARK_JAVA_README.md
Last active July 20, 2016 19:30
Spark : Java hello world

Run example

Examples

cd $SPARK_HOME
ls examples/src/main/java/org/apache/spark/examples/

Run example using bash script

./bin/run-example SparkPi
@bibiboot
bibiboot / HELLO_WORLD_PYSPARK.md
Last active September 25, 2017 09:01
PYSPARK Hello world script

Hello world scripts for pyspark