Hey that's me

end2end zone

My life dumped to a web site

end2end

4-Minute Read

Tables

Tables aren’t part of the core Markdown spec, but Hugo supports supports them out-of-the-box.

Name Age
Bob 27
Alice 23

Inline Markdown within tables

Inline Markdown In Table
italics bold strikethrough code

Code fences

cpp

// Simple C++ program to display "Hello World"
// Header file for input output functions
#include <iostream>
using namespace std;
// main function - where the execution of program begins
int main()
{
    // prints hello world
    cout<<"Hello World";
    return 0;
}

txt

Roses are red,
Violets are blue,
Sugar is sweet,
And so are you.

html

<html>
 <head>
 </head>
 <body>
   <h1>Hello World<h1>
 </body>
</html>

unspecified

The greatest glory in living lies not in never falling, but in rising every time we fall. -Nelson Mandela
The way to get started is to quit talking and begin doing. -Walt Disney
Your time is limited, so don't waste it living someone else's life. Don't be trapped by dogma – which is living with the results of other people's thinking. -Steve Jobs
If life were predictable it would cease to be life, and be without flavor. -Eleanor Roosevelt
If you look at what you have in life, you'll always have more. If you look at what you don't have in life, you'll never have enough. -Oprah Winfrey
If you set your goals ridiculously high and it's a failure, you will fail above everyone else's success. -James Cameron
Life is what happens when you're busy making other plans. -John Lennon

hardcoded HTML pre tags

OffsetTravel = (switch default travel (see below)) - Offset
if OffsetTravel < 0
  SwitchMixValue = OffsetTravel / 100 * Low rate
else
  SwitchMixValue = OffsetTravel / 100 * High rate

static file with ‘hightlight-static-file’ shortcode

// Simple C++ program to display "Hello World"
// Header file for input output functions
#include <iostream>
using namespace std;
// main function - where the execution of program begins
int main()
{
    // prints hello world
    cout<<"Hello World";
    return 0;
}

highlight shortcode (rendered by Hugo at build-time / compile-time)

199
200
201
202
203
204
205
206
207
208
209
// Simple C++ program to display "Hello World"
// Header file for input output functions
#include <iostream>
using namespace std;
// main function - where the execution of program begins
int main()
{
    // prints hello world
    cout<<"Hello World";
    return 0;
}

with additional custom css classes (ie: ‘postedit’)

// Simple C++ program to display "Hello World"
// Header file for input output functions
#include <iostream>
using namespace std;
// main function - where the execution of program begins
int main()
{
    // prints hello world
    cout<<"Hello World";
    return 0;
}

wrapped in linenumbers shortcode

    
// Simple C++ program to display "Hello World"
// Header file for input output functions
#include <iostream>
using namespace std;
// main function - where the execution of program begins
int main()
{
    // prints hello world
    cout<<"Hello World";
    return 0;
}
    
console.log("Hello, World!");
    
<!DOCTYPE html>
<html>
<head>
  <title>Hello World Page</title>
</head>
<body>
  <h1>Hello, World!</h1>
  <p>This is my first HTML page.</p>
</body>
</html>

Image Galleries (as tables)

Image Galleries (images in a div)

Quotes:

According to the User Manual of the Spektrum DX9 Instruction Manual, this is the definition of Mixing:

end2end

1-Minute Read

Level 1

Lorem ipsum

Level 1

Level 2A

text at level 2a

Level 2B

text at level 2b

Level 3a

text 3a

Level 3b

text 3b

Level 3c

text 3c

Level 4

text 4

Level 5

text 5

Level 6

text 6

####### Level 7

text 7

end2end

1-Minute Read

Level 1

Lorem ipsum

Level 1

Level 2A

text at level 2a

Level 2B

text at level 2b

Level 3a

text 3a

Level 3b

text 3b

Level 3c

text 3c

Level 4

text 4

Level 5

text 5

Level 6

text 6

####### Level 7

text 7

end2end

1-Minute Read

Level 1

Lorem ipsum

Level 1

Level 2A

text at level 2a

Level 2B

text at level 2b

Level 3a

text 3a

Level 3b

text 3b

Level 3c

text 3c

Level 4

text 4

Level 5

text 5

Level 6

text 6

####### Level 7

text 7

end2end

1-Minute Read

Links

Ref shortcodes

link to an image

Images

IMG_9277

Linked-images

IMG_9277

Code blocks

#include <NonBlockingRtttl.h>

//project's contants
#define BUZZER_PIN 8
const char * tetris = "tetris:d=4,o=5,b=160:e6,8b,8c6,8d6,16e6,16d6,8c6,8b,a,8a,8c6,e6,8d6,8c6,b,8b,8c6,d6,e6,c6,a,2a,8p,d6,8f6,a6,8g6,8f6,e6,8e6,8c6,e6,8d6,8c6,b,8b,8c6,d6,e6,c6,a,a";
const char * arkanoid = "Arkanoid:d=4,o=5,b=140:8g6,16p,16g.6,2a#6,32p,8a6,8g6,8f6,8a6,2g6";
const char * mario = "mario:d=4,o=5,b=100:16e6,16e6,32p,8e6,16c6,8e6,8g6,8p,8g,8p,8c6,16p,8g,16p,8e,16p,8a,8b,16a#,8a,16g.,16e6,16g6,8a6,16f6,8g6,8e6,16c6,16d6,8b,16p,8c6,16p,8g,16p,8e,16p,8a,8b,16a#,8a,16g.,16e6,16g6,8a6,16f6,8g6,8e6,16c6,16d6,8b,8p,16g6,16f#6,16f6,16d#6,16p,16e6,16p,16g#,16a,16c6,16p,16a,16c6,16d6,8p,16g6,16f#6,16f6,16d#6,16p,16e6,16p,16c7,16p,16c7,16c7,p,16g6,16f#6,16f6,16d#6,16p,16e6,16p,16g#,16a,16c6,16p,16a,16c6,16d6,8p,16d#6,8p,16d6,8p,16c6";
byte songIndex = 0; //which song to play when the previous one finishes

void setup() {
  pinMode(BUZZER_PIN, OUTPUT);

  Serial.begin(115200);
  Serial.println();
}

void loop() {
  if ( !rtttl::isPlaying() )
  {
    if (songIndex == 0)
    {
      rtttl::begin(BUZZER_PIN, mario);
      songIndex++; //ready for next song

      //play for 5 sec then stop.
      //note: this is a blocking code section
      //use to demonstrate the use of stop
      unsigned long start = millis();
      while( millis() - start < 5000 ) 
      {
        rtttl::play();
      }
      rtttl::stop();
      
    }
    else if (songIndex == 1)
    {
      rtttl::begin(BUZZER_PIN, arkanoid);
      songIndex++; //ready for next song
    }
    else if (songIndex == 2)
    {
      rtttl::begin(BUZZER_PIN, tetris);
      songIndex++; //ready for next song
    }
  }
  else
  {
    rtttl::play();
  }
}

Recent Posts

Categories

About

Hey! I'm Antoine author of end2end zone. Take a couple of minutes to get to know me a little better.