Vue.component('star-component', {
props: ['sparkForm'],
data(){
return {
stars: 5,
hover: 5
};
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
calss Date { | |
public $date; | |
public function __construct( $date){ | |
$this->date = $date; | |
} | |
//other methods |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
Array.prototype.chunk = function (chunkSize) { | |
var n = this.length; | |
if (chunkSize >= n) { | |
return [this]; | |
} | |
if (n == 0) { | |
return []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//download ioncube | |
wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz | |
//blow it up | |
tar xvfz ioncube_loaders_lin_x86-64.tar.gz | |
//find the php extension dir | |
php -i | grep extension_dir | |
//put php version in a variable |