Skip to content

Instantly share code, notes, and snippets.

@robozavri
robozavri / sort array one by one
Created March 28, 2018 22:09
sort array one by one
<?php
// Sets up our arrays
$array1 = [1, 3, 5, 7, 9];
$array2 = [2, 4, 6, 8, 10];
$array3 = [];
// Determines how many items we have in each array
$array1_count = count($array1);
$array2_count = count($array2);
tinymce.init({
selector: 'textarea', // change this value according to your HTML
theme: "modern",
paste_data_images: true,
plugins: [
"advlist autolink lists link image charmap print preview hr anchor pagebreak",
"searchreplace wordcount visualblocks visualchars code fullscreen",
"insertdatetime nonbreaking save table contextmenu directionality",
@robozavri
robozavri / 0_reuse_code.js
Created September 9, 2016 07:54
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console