From da5b36a7db46e047fce8c76e8f936c25993f3b97 Mon Sep 17 00:00:00 2001 From: Blista Kanjo Date: Sun, 28 May 2023 17:46:14 -0400 Subject: refactor: set as new upcoming version --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 3e0f6cb..c168d5f 100644 --- a/index.php +++ b/index.php @@ -17,7 +17,7 @@

only a simple presentation(s) site that respects your dark mode setting and has responsive web design.
-- cgit v1.2.3 From bfe25a65e46475cd76e64b64c47bed08f992b80c Mon Sep 17 00:00:00 2001 From: Blista Kanjo Date: Mon, 29 May 2023 13:58:17 -0400 Subject: notForProd: added test files for 16:9 themes --- .gitignore | 6 ++++++ download.php | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ index.php | 4 ++++ output/test169.md | 7 +++++++ 4 files changed, 72 insertions(+) create mode 100644 .gitignore create mode 100644 output/test169.md (limited to 'index.php') diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9bd4030 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +# Ignore files starting with "procrastiSlides" +procrastiSlides*.pdf + +# Ignore the conversion files +push*.md +convert*.md diff --git a/download.php b/download.php index ea08e52..405c6d8 100644 --- a/download.php +++ b/download.php @@ -36,6 +36,61 @@

output/'$push'"); + shell_exec("cat output/test169.md output/'$push' > output/'$convert'"); + shell_exec($conversion); + // sleep(1); ?> + +

download presentation

+ + + + output/'$push'"); + shell_exec("cat output/defaultIsKing.md output/'$push' > output/'$convert'"); + shell_exec($conversion); + // sleep(1); ?> + +

download presentation

+ + +

select

+ + placeHolderImage
+ + defaultIsKing
diff --git a/output/test169.md b/output/test169.md new file mode 100644 index 0000000..d434e10 --- /dev/null +++ b/output/test169.md @@ -0,0 +1,7 @@ +--- +theme: Nord +colortheme: Nord +aspectratio: 169 +fontsize: 17pt +fontfamily: libertine +--- -- cgit v1.2.3 From ef6e4abd50af3f07b8f42bae7430917aec6b5e4d Mon Sep 17 00:00:00 2001 From: Blista Kanjo Date: Mon, 29 May 2023 17:28:57 -0400 Subject: feat: 16:9 conversion logic --- download.php | 122 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- index.php | 24 +++++++++++- 2 files changed, 140 insertions(+), 6 deletions(-) (limited to 'index.php') diff --git a/download.php b/download.php index 405c6d8..4e6039c 100644 --- a/download.php +++ b/download.php @@ -36,7 +36,7 @@
output/'$push'"); - shell_exec("cat output/test169.md output/'$push' > output/'$convert'"); + shell_exec("cat output/90sMakeUpCommercial.md output/'$push' > output/'$convert'"); shell_exec($conversion); // sleep(1); ?> @@ -64,7 +64,7 @@ output/'$push'"); - shell_exec("cat output/defaultIsKing.md output/'$push' > output/'$convert'"); + shell_exec("cat output/chicagoOlives.md output/'$push' > output/'$convert'"); + shell_exec($conversion); + // sleep(1); ?> + +

download presentation

+ + + + output/'$push'"); + shell_exec("cat output/cleanMetropolis.md output/'$push' > output/'$convert'"); + shell_exec($conversion); + // sleep(1); ?> + +

download presentation

+ + + + output/'$push'"); + shell_exec("cat output/ohioCustard.md output/'$push' > output/'$convert'"); shell_exec($conversion); // sleep(1); ?>

download presentation

+ + output/'$push'"); + shell_exec("cat output/raleighAroundMe.md output/'$push' > output/'$convert'"); + shell_exec($conversion); + // sleep(1); ?> + +

download presentation

+ + + + output/'$push'"); + shell_exec("cat output/earlyCupertino.md output/'$push' > output/'$convert'"); + shell_exec($conversion); + // sleep(1); ?> + +

download presentation

+ + + + select - placeHolderImage
- + 90sMakeUpCommercial
+ + + + chicagoOlives
+ + + + cleanMetropolis
+ + + + earlyCupertino
+ + + + ohioCustard
+ + + + raleighAroundMe
+ defaultIsKing
-- cgit v1.2.3 From 8e896b8b3025b461ba8aaea091308cb113beef6e Mon Sep 17 00:00:00 2001 From: Aedriel Kyle Javier Date: Sun, 11 Jun 2023 01:02:05 -0400 Subject: refactor: code formatting --- download.php | 527 ++++++++++++++++++++++++++++++++--------------------------- index.php | 32 ++-- 2 files changed, 303 insertions(+), 256 deletions(-) (limited to 'index.php') diff --git a/download.php b/download.php index 4e6039c..f54f99b 100644 --- a/download.php +++ b/download.php @@ -25,7 +25,7 @@ souce community throughout the years… πŸ™Œ Thank you! πŸ€—


- +

πŸŽ‰ your procrastiSlides .pdf presentation has been generated successfully!!! 🍾 @@ -34,342 +34,393 @@

πŸ“‚ your download link is below: πŸ—ƒ

- output/'$push'"); - shell_exec("cat output/90sMakeUpCommercial.md output/'$push' > output/'$convert'"); - shell_exec($conversion); - // sleep(1); ?> + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/90sMakeUpCommercial.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); -

download presentation

+ // sleep(1); + ?> - +

">download presentation

- - if(isset($_POST['chicagoOlives'])) - { - $_SESSION['pres'] = uniqid('pres', true) . '.md'; - $_SESSION['push'] = uniqid('push', true) . '.md'; - $_SESSION['convert'] = uniqid('convert', true) . '.md'; - $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf'; + output/'$push'"); - shell_exec("cat output/chicagoOlives.md output/'$push' > output/'$convert'"); - shell_exec($conversion); - // sleep(1); ?> + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/chicagoOlives.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); -

download presentation

+ // sleep(1); + ?> - +

">download presentation

- - if(isset($_POST['cleanMetropolis'])) - { - $_SESSION['pres'] = uniqid('pres', true) . '.md'; - $_SESSION['push'] = uniqid('push', true) . '.md'; - $_SESSION['convert'] = uniqid('convert', true) . '.md'; - $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf'; + output/'$push'"); - shell_exec("cat output/cleanMetropolis.md output/'$push' > output/'$convert'"); - shell_exec($conversion); - // sleep(1); ?> + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/cleanMetropolis.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); -

download presentation

+ // sleep(1); + ?> - +

">download presentation

- - if(isset($_POST['ohioCustard'])) - { - $_SESSION['pres'] = uniqid('pres', true) . '.md'; - $_SESSION['push'] = uniqid('push', true) . '.md'; - $_SESSION['convert'] = uniqid('convert', true) . '.md'; - $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf'; + output/'$push'"); - shell_exec("cat output/ohioCustard.md output/'$push' > output/'$convert'"); - shell_exec($conversion); - // sleep(1); ?> + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/ohioCustard.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); -

download presentation

+ // sleep(1); + ?> - +

">download presentation

- - if(isset($_POST['raleighAroundMe'])) - { - $_SESSION['pres'] = uniqid('pres', true) . '.md'; - $_SESSION['push'] = uniqid('push', true) . '.md'; - $_SESSION['convert'] = uniqid('convert', true) . '.md'; - $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf'; + output/'$push'"); - shell_exec("cat output/raleighAroundMe.md output/'$push' > output/'$convert'"); - shell_exec($conversion); - // sleep(1); ?> + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/raleighAroundMe.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); -

download presentation

+ // sleep(1); + ?> - +

">download presentation

- - if(isset($_POST['earlyCupertino'])) - { - $_SESSION['pres'] = uniqid('pres', true) . '.md'; - $_SESSION['push'] = uniqid('push', true) . '.md'; - $_SESSION['convert'] = uniqid('convert', true) . '.md'; - $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf'; + output/'$push'"); - shell_exec("cat output/earlyCupertino.md output/'$push' > output/'$convert'"); - shell_exec($conversion); - // sleep(1); ?> + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/earlyCupertino.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); -

download presentation

+ // sleep(1); + ?> - +

">download presentation

+ - output/'$push'"); - shell_exec("cat output/defaultIsKing.md output/'$push' > output/'$convert'"); - shell_exec($conversion); - // sleep(1); ?> + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/defaultIsKing.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); -

download presentation

+ // sleep(1); + ?> - +

">download presentation

- if(isset($_POST['strengthInNumbers'])) - { - $_SESSION['pres'] = uniqid('pres', true) . '.md'; - $_SESSION['push'] = uniqid('push', true) . '.md'; - $_SESSION['convert'] = uniqid('convert', true) . '.md'; - $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf'; + output/'$push'"); - shell_exec("cat output/strengthInNumbers.md output/'$push' > output/'$convert'"); - shell_exec($conversion); - // sleep(1); ?> + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/strengthInNumbers.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); -

download presentation

+ // sleep(1); + ?> - +

">download presentation

- if(isset($_POST['thatMagazine'])) - { - $_SESSION['pres'] = uniqid('pres', true) . '.md'; - $_SESSION['push'] = uniqid('push', true) . '.md'; - $_SESSION['convert'] = uniqid('convert', true) . '.md'; - $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf'; + output/'$push'"); - shell_exec("cat output/thatMagazine.md output/'$push' > output/'$convert'"); - shell_exec($conversion); - // sleep(1); ?> + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/thatMagazine.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); -

download presentation

+ // sleep(1); + ?> - +

">download presentation

- if(isset($_POST['cuppertinoIsh'])) - { - $_SESSION['pres'] = uniqid('pres', true) . '.md'; - $_SESSION['push'] = uniqid('push', true) . '.md'; - $_SESSION['convert'] = uniqid('convert', true) . '.md'; - $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf'; + output/'$push'"); - shell_exec("cat output/cuppertinoIsh.md output/'$push' > output/'$convert'"); - shell_exec($conversion); - // sleep(1); ?> + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/cuppertinoIsh.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); -

download presentation

+ // sleep(1); + ?> - +

">download presentation

- if(isset($_POST['lazyProfessor'])) - { - $_SESSION['pres'] = uniqid('pres', true) . '.md'; - $_SESSION['push'] = uniqid('push', true) . '.md'; - $_SESSION['convert'] = uniqid('convert', true) . '.md'; - $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf'; + output/'$push'"); - shell_exec("cat output/lazyProfessor.md output/'$push' > output/'$convert'"); - shell_exec($conversion); - // sleep(1); ?> + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/lazyProfessor.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); -

download presentation

+ // sleep(1); + ?> - +

">download presentation

- if(isset($_POST['redmond2003'])) - { - $_SESSION['pres'] = uniqid('pres', true) . '.md'; - $_SESSION['push'] = uniqid('push', true) . '.md'; - $_SESSION['convert'] = uniqid('convert', true) . '.md'; - $_SESSION['filename'] = uniqid('procrastiSlides_', true) . '.pdf'; + output/'$push'"); - shell_exec("cat output/redmond2003.md output/'$push' > output/'$convert'"); - shell_exec($conversion); - // sleep(1); ?> + shell_exec("echo '$userMarkdown' > output/'$push'"); + shell_exec( + "cat output/redmond2003.md output/'$push' > output/'$convert'" + ); + shell_exec($conversion); + + // sleep(1); + ?> -

download presentation

+

">download presentation

- + @@ -379,7 +430,7 @@

- +
diff --git a/index.php b/index.php index 26bea81..aec2b2d 100644 --- a/index.php +++ b/index.php @@ -1,14 +1,12 @@ +session_start(); ?> - + procrastiSlides: great for procratinators who need to get a presentation out, quick! πŸ˜† @@ -26,16 +24,12 @@

πŸƒ great for procratinators who need to get a presentation out, quick! πŸ‘Ÿ

🏫 try copy and pasting your school notes! that might even work πŸ˜‚


- - +

🎨 please select your presentation theme 🎭

@@ -98,13 +92,15 @@

- - + +

plain text or markdown goes here:

- +
@@ -153,7 +149,7 @@
- +
-- cgit v1.2.3 From 7decc721218569a789b8e0fc3dbfe25e4693c0db Mon Sep 17 00:00:00 2001 From: kj_sh604 Date: Sun, 9 Jul 2023 00:40:15 -0400 Subject: feat: new site homepage description, 16:9 themes plug --- index.php | 293 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 147 insertions(+), 146 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index aec2b2d..464df23 100644 --- a/index.php +++ b/index.php @@ -2,154 +2,155 @@ session_start(); ?> - - - - - - - - procrastiSlides: great for procratinators who need to get a presentation out, quick! πŸ˜† - + + + + + + procrastiSlides: great for procratinators who need to get a presentation out, quick! πŸ˜† + - - - -

only a simple presentation(s) site that respects your dark mode setting and has responsive web design.
- non-intruisive ads, no tracking, nothing but quick slides from plain text/markdown.
-

-

πŸƒ great for procratinators who need to get a presentation out, quick! πŸ‘Ÿ

-

🏫 try copy and pasting your school notes! that might even work πŸ˜‚

-
- - -
-

🎨 please select your presentation theme 🎭

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

preview

-
-

select

-
90sMakeUpCommercial
chicagoOlives
cleanMetropolis
earlyCupertino
ohioCustard
raleighAroundMe
defaultIsKing
Cuppertino-Ish
lazyProfessor
redmond2003
strengthInNumbers
thatMagazine
- -
-
- - -
-

plain text or markdown goes here:

-
- -
- -
-
- -
- -

quick read how-to:

-
-
    -
  • type '#' to indicate that you are starting a new slide and then press ↡ (enter/return) twice.
  • -
  • you can add a "slide title" after each '#' to name that portion of your presentation.
  • -
      -
    • a space between "#" and your slide title is required:

    • -
        -
      • # [YOUR TITLE GOES HERE]
      • -
      -
      -
    -
  • type/format text underneath the '#' for the slide contents.
  • + + +

    simple presentation(s) site for quick slides from plain text / markdown
    + (powered by LaTeX beamer, pandoc, and the rust uutils)

    +

    ✨ latest feature update: addition of 16:9 themes πŸš€

    +

    πŸƒ great for procratinators who need to get a presentation out, quick! πŸ‘Ÿ

    +
    + + +
    +

    🎨 please select your presentation theme 🎭

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +

    preview

    +
    +

    select

    +
    90sMakeUpCommercial
    chicagoOlives
    cleanMetropolis
    earlyCupertino
    ohioCustard
    raleighAroundMe
    defaultIsKing
    Cuppertino-Ish
    lazyProfessor
    redmond2003
    strengthInNumbers
    thatMagazine
    +
    +
    +
    + + +
    +

    plain text or markdown goes here:

    +
    + +
    + +
    +
    + +
    + +

    quick read how-to:

    +
      -
    • make sure to start typing your slide content two ↡'s ("enter key presses") away from the "#".
    • -
    • lists require to be formatted in this manner as well:

    • -
        -
      • # slide title

        - This is a list

        - * item 1
        - * item 2
        - * item 3
        -
      • -
      +
    • type '#' to indicate that you are starting a new slide and then press ↡ (enter/return) twice.
    • +
    • you can add a "slide title" after each '#' to name that portion of your presentation.
    • +
        +
      • a space between "#" and your slide title is required:

      • +
          +
        • # [YOUR TITLE GOES HERE]
        • +
        +
        +
      +
    • type/format text underneath the '#' for the slide contents.
    • +
        +
      • make sure to start typing your slide content two ↡'s ("enter key presses") away from the "#".
      • +
      • lists require to be formatted in this manner as well:

      • +
          +
        • # slide title

          + This is a list

          + * item 1
          + * item 2
          + * item 3
          +
        • +
        +
    -
-
-

It's highly recommended that you use markdown lists rather than plain text lists


-

short video how-to:

-
-
- -
-
-
- -
-
- -
- +
+

It's highly recommended that you use markdown lists rather than plain text lists


+

short video how-to:

+
+
+ +
+
+
+ +
+
+ +
+ + -- cgit v1.2.3 From c3f58e4832ff0cafaeb616601a719b0a755fba2e Mon Sep 17 00:00:00 2001 From: kj_sh604 Date: Sun, 9 Jul 2023 00:55:40 -0400 Subject: refactor: revert to `0972f96` --- index.php | 1 - 1 file changed, 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 464df23..75a638a 100644 --- a/index.php +++ b/index.php @@ -27,7 +27,6 @@ session_start(); ?>
-- cgit v1.2.3