MOOTENSbot v3.0

in #programming5 years ago

MOOTENSbot v3.0

This code is part of the bigger idea of PROGRAMMING YOUR BRAND THROUGH THE INTERNET | Open source documentation made available through MOOTENS productions

See it live HERE

https://codepen.io/mootens/pen/Yzzqexr

For Full source and Previous versions found on MOOTENS.org/codepen

How does MOOTENSbot v3.0 work?

Press This Buutton

HTML in <head>



<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link href="https://fonts.googleapis.com/css?family=Aldrich&display=swap" rel="stylesheet">


<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js">




HTML in <body>




<center>
  
<form>
<button onclick="copyToClipboard('#p1')">MOOTENSb👁t:<hr>💦CLICK🔥<br>💫GENERATE🧠<br>🤞COPY✌️<hr>~80 characters</button>
</form>
<hr>
<button onclick="copyToClipboard('#p1');textCopied()">🔀Copy TEXT below🔄</button>
<hr>
<hr>

<div id="p1" class="MOOTENSbotTextOutput">
</div>
<hr>
<hr>
<hr>
<hr>
<hr>
<hr>
</center>

CSS

* {
  
  font-family: 'Aldrich', sans-serif;
}

body {
  font-family: 'Aldrich', sans-serif;
}
button {
  padding: 21px 34px;
  font-size: 21px;
  margin: 4px 2px;

}

.generated {

  
}

.MOOTENSbotTextOutput {

}

input[type=text] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  border: 1px solid #555;
  outline: none;
}

input[type=text]:focus {
  background-color: lightblue;
}

Javascript (with jquery dependency)


$(document).ready(function() {
    var MOOTENSfyRandom = function() {
        return 0.5 - Math.random();
    };
      function randomNumber(min, max) {
        return Math.floor(Math.random() * (max - min + 1)) + min;
    }  
////////////
     //  //
    //  //
   //  //  MOOTENS
  //  // productions
 //  //
//  //
/////
  
$('form').on('submit', function(MOOTENS) {
MOOTENS.preventDefault();
$('.MOOTENSbotTextOutput').empty().show();
var graphs = parseInt($('#graphcount').val());
var minlength = parseInt($('#minlength').val());
var maxlength = parseInt($('#maxlength').val());

if (isNaN(graphs)) {
    graphs = 2;
}

if (isNaN(minlength)) {
    minlength = 2;
}

if (isNaN(maxlength)) {
    maxlength = 2;
}

////////////
     //  //
    //  //
   //  //  MOOTENS
  //  // productions
 //  //
//  //
/////


for (var i = 0; i < graphs; i++) {
    $('.MOOTENSbotTextOutput').append('<p class="generated"></p>').append('');
}
 


$('.generated').each(function() {
    quotes.sort(MOOTENSfyRandom);
    var sentenceCount = randomNumber(minlength, maxlength);
    for (var x = 0; x < sentenceCount; x++) {
        $(this).append(quotes[x]);
    }
});
});
});

////////////
     //  //
    //  //
   //  //  MOOTENS
  //  // productions
 //  //
//  //
/////



    var faceEmojies = [
      '😤',
    '😫',
  '😏'
    ];

      var objectEmojies = [
    '🧠',
  '👁️',
    '👙'
    ];
      var handEmojies = [
      '👍',
        '🖖',
    '💪'
  
    ];

    var quotes = [faceEmojies , objectEmojies , handEmojies ];
    
////////////
     //  //
    //  //
   //  //  MOOTENS
  //  // productions
 //  //
//  //
/////


function copyToClipboard(element) {
  var $temp = $("<input>");
  $("body").append($temp);
  $temp.val($(element).text()).select();
  document.execCommand("copy");
  $temp.remove();
}
////////////
     //  //
    //  //
   //  //  MOOTENS
  //  // productions
 //  // alert box code below
//  //
/////

function textCopied() {
  alert(" THANK 👌 YOU 😏 FOR 👙 🧠 CLICKING!\r\rTEXT 😫 COPIED!👌\r\rMOOTENSb👁t\r\rMOOTENS  productions\r\rImprovement Through Hypermedia");
}

////////////
     //  //
    //  //
   //  //  MOOTENS
  //  // productions
 //  // show hide
//  //
/////
function showInstagram() {
  var x = document.getElementById("myDIV");
  if (x.style.display === "none") {
    x.style.display = "block";
  } else {
    x.style.display = "none";
  }
}

Quote "Database" Array MOOTENSbot pulls from:

    var faceEmojies = [
      '😤',
    '😫',
  '😏'
    ];
      var objectEmojies = [
    '🧠',
  '👁️',
    '👙'
    ];
      var handEmojies = [
      '👍',
        '🖖',
    '💪'
  
    ];

    var quotes = [faceEmojies , objectEmojies , handEmojies ];


Master Array


var quotes = [faceEmojies , objectEmojies , handEmojies ];

Individual Arrays:

1


    var faceEmojies = [
      '😤',
    '😫',
  '😏'
    ];
    

2


      var objectEmojies = [
    '🧠',
  '👁️',
    '👙'
    ];

3


      var handEmojies = [
      '👍',
        '🖖',
    '💪'
  
    ];
    

Original Array

found here


var quotes = [
    "When You Commit Yourself To The Universe, THE UNIVERSE COMMITS ITSELF BACK TO YOU! ",
    "Improvement Through Hypermedia. ",
    "Smile. ",
    "You Are So Fucking BEAUTIFUL. ",
    "I like your style :). ",
    "Love Is The Answer. ",
    "Don't Be So Hard On Yourself. ",
    "Change is life, Change is Growth. ",
    "Adapt, Achieve, and Overcome. ",
    "Use Technology To The Most Of Our Advantage. ",
    "All We Can Do Is Our BEST. ",
    "We Learn From Our Experiences. ",
    "You Are A Strong Powerful Woman. ",
    "You Are Resilient. ",
    "You Are Beautiful. ",
    "You Are Powerful. ",
    "You produce a lot of value. ",
    "Your perspective is greatly appreciated and very valuable. ",
    "I Always appreciate you. ",
    "Thank You, For Your Strength. ",
    "You Always push me to be better. ",
    "I love you. ",
    "ILY. ",
    "I want to improve because of you. ",
    "Lets Connect. ",
    "You have achieved a lot. ",
    "Congratulations. ",
    "You are the best. ",
    "You Da Bomb. ",
    '🌊',
    '🙄',
    '😂',
    '😍',
    '🥰',
    '👌',
    '🔥',
    '🌎',
    '❤️',
    '😊',
    '💪',
    '🧠',
    '👁️',
    '👙',
    '🖖',
    '😹',
    '😤',
    '😫',
    '😏',
    '👍',
    '💜',
    '💕',
    '🏳️‍🌈',
    '💦',
    '🤾‍♂️',
    '🌊',
    '🙄',
    '😂',
    '😍',
    '🥰',
    '👌',
    '🔥',
    '🌎',
    '❤️',
    '😊',
    '💪',
    '🧠',
    '👁️',
    '👙',
    '🖖',
    '😹',
    '😤',
    '😫',
    '😏',
    '👍',
    '💜',
    '💕',
    '🏳️‍🌈',
    '💦',
    '🤾‍♂️',
    "We are POWERFUL. ",
    "It Is Always Good To See You! ",
    "You Always Make Me Feel Motivated. ",
    "Only FOOLS deal in ABSOLUTES. ",
    "Go Full Force. ",
    "ONE HUNDRED PERCENT. ",
    "100% ",
    "BUY BITCOIN. ",
    "Nice. ",
    "We Need To Hangout Soon. ",
    "Thank You, For Being My Friend. ",
    "I LOVE YOU. ",
    "You Are Beautiful. ",
    "Perfect. ",
    "Alrighty. ",
    "NICE. ",
    "So Cool. ",
    "Delicious. ",
    "Wow. ",
    "Alrighty. ",
    "WHAT THE FUCK. ",
    "Do WHAT THE FUCK YOU WANT TO DO. ",
    "Go 100% In Everything That You Do. ",
    "Goals. ",
    "Thoughts. ",
    "Feelings. ",
    "Actions. ",
    "Time. ",
    "Energy. ",
    "Space. ",
    "Time, Energy, and Space. ",
    "We Will Get Through This. ",
    "Lets Stick Through This. ",
    "You Help Me Feel Relaxed. ",
    "Ask And You Shall RECEIVE. ",
    "You are the HERO of your own JOURNEY. ",
    "DO WHAT THE FUCK YOU WANT TO DO. ",
    "Surround Yourself With People Who Want The Best For You. ",
    "Stand Up Straight With Your Shoulders Back. ",
    "Treat Yourself Like Someone You Are Responsible For Helping. ",
    "Live Your Best Live. ",
    "Lets Continue Living Our Best Life. ",
    "Compare Yourself With Who You Were Yesterday. ",
    "You Have Changed A LOT! ",
    "Wow You Look REALLY Good. ",
    "HAAAAYYY! ",
    "Set Your House In Order Before You Criticize The World. ",
    "Tell The Truth, Or At Least Don't Lie. ",
    "Do Not Let Your Children DO Anything That Makes You Dislike Them. ",
    "There has been growth. ",
    "There Has Been Improvement. ",
    "Do What Is Meaningful, Now What Is Expedient. ",
    "Assume The Person You Are Speaking To Knows Something You Don't. ",
    "Be Precise In Your Speech. ",
    "Change. ",
    "Growth. ",
    "Beautiful Day. ",
    "You Look Good. ",
    "Nice To See You. ",
    "We Are Power. ",
    "We Are VERY POWERFUL. ",
    "We Have Power Together And Individually. ",
    "We Are Powerful. ",
    "I Will Do. ",
    "The More I control My Feelings The Better I Can Navigate Life. ",
    "I Will Do More. ",
    "There Will Always Be Growth. ",
    "There Will Always Be Change. ",
    "TRUTH. ",
    "DO WHAT THE FUCK YOU WANT TO DO. ",
    "FULL FORCE. ",
    "The More I Organize My Ideas The Clearer The Picture is. ",
    "Hypermedia Ideas. ",
    "UNITE. ",
    "GROW. ",
    "WHAT THE FUCK IS UP. ",
    "LETS CONTINUE LIVING OUR BEST LIFE SHALL WE. ",
    "Lets CONNECT. ",
    "Lets Open Up The Lines Of Communication. ",
    "Lets Share These Resources. ",
    "Come Together. ",
    "Create. ",
    "Consume. ",
    "Understand. ",
    "Learn. ",
    "Grow. ",
    "Business. ",
    "Art. ",
    "Technology. ",
    "Health. ",
    "Stretch. ",
    "Meditate. ",
    "Understand. ",
    "Educate. ",
    "Grow. ",
    "Everything In Moderation. ",
    "You Are Always So Great! ",
    "We Are All Designers. ",
    "I Want OUR Connection To Grow. ",
    "When You Are Better I Am Better. ",
    "When I Am Better You Are Better. ",
    "I Want To Live My Best Life. ",
    "I Am Living My Best Life. ",
    "We Are Living Our Best Life. ",
    "I Am Strong. ",
    "I AM Resilient. ",
    "We ARE Resilient. ",
    "I Am Confident Who I am. ",
    "I know Who I AM. ",
    "I like your Perspective. ",
    "Thank You. ",
    "I KNOW WHO THE FUCK I AM. ",
    "I Love You. ",
    "The better we are at controlling our emotions, the better we are in life. ",
    "Connect With Us. ",
    "I Will. ",
    "We Will. ",
    "Lets Use Technology To The Most Of Our Advantage. ",
    "I will continue to verbalize my stream of consciousness. ",
    "Improve Skills. ",
    "Use Tools. ",
    "It's Your Journey. ",
    "We Have Been Consistently Growing. ",
    "Call Me For Any Questions Or Concerns. ",
    "IMY. ",
    "ILY. ",
    "Contact Me For Any Questions Or Concerns. ",
    "We Should All Be United. ",
    "We Are All Spiritual Beings Having A Human Experience. ",
    "Lets Work Together. ",
    "Use ALL OF OUR RESOURCES. ",
    "The Goal is The Most Efficient Way To Produce Content To Improve The Ability To Capture Value. ",
    "BY ANY MEANS NECESSARY. ",
    "Improve Our Journey. ",
    "Self Care. ",
    "Life Is Good. ",
    "Automate The Process. ",
    "I Want To Accomplish All Of My Goals In The Most Efficient Way Possible. ",
    "I Want You To Accomplish All Of Your Goals In The Most Efficient Way Possible. ",
    "Structure. ",
    "Our priorities include Efficiency, Value, and Scalability. ",
    "Business, Art, Technology, and Health. ",
    "Improve through our goals. ",
    "The goal is to efficiently produce value to the community and grow our business, so we can continue to grow, improve, adapt, and overcome. ",
    "Now Is A Good Time For A New Hobby. ",
    "MOOTENS.org ",
    "MOOTENS ",
    "MOOTENS productions. ",
    "My name is George Perez and I will be your guide. ",
    "All examples included are free and open source. ",
    "All made available through MOOTENS productions. ",
    "What The Fuck Is Up. ",
    "My perspective is very valuable due to the amount of Time, Energy, and Space that I put into learning, understanding, organizing, and creating the knowledge and expertise I know today. ",
    "I have seen where there is a great deal of NEED in the community. ",
    "We truly are standing on the shoulders of giants. ",
    "We Are Living In The Future. ",
    "The goal is to use technology to the most of our advantage and accomplish everything we want to accomplish in the most efficient way possible. ",
    "I am putting my TIME ENERGY AND SPACE in order to most effectively COMMUNICATE my ideas and make the most positive impact. ",
    "Use my perspective. ",
    "I want to use the most minimal amount of effort in order to accomplish everything we want to accomplish. ",
    "Organize Ideas. ",
    "Capture Value. ",
    "Maximize Value. ",
    "Content created through MOOTENS productions is focused on improvement, resources, branding, and mindfulness. "

];

Around 200+ quotes and 50 emojies are enough to provide A LOT OF VALUE

The quotes are injected randomly each time and the ideas formed when emojis and different quotes get stacked together is very efficient through MOOTENSbot

See it live HERE


References


This Pen is a fork of Marie Mosley's Pen Bowie Ipsum - A Glam Dummy Text Generator.


Just another lorem ipsum generator, but with 100% more glitter eye makeup. Blog post at: http://codepen.io/mariemosley/blog/bowie-ipsum