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
Hello World ;) |
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
<template> | |
<div class="hello"> | |
<h1>{{ msg }}</h1> | |
<h2>{{ name }}</h2> | |
</div> | |
</template> | |
<script> | |
export default { | |
name: 'HelloWorld', |
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
<script> | |
import Component from 'path/Component' | |
export default { | |
name: 'price-table', | |
data () { | |
return { | |
table: '', | |
tables: [] | |
} |
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
<template> | |
<div> | |
{{product.name}} | |
</div> | |
</template> | |
<style scoped> | |
</style> |
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
<template> | |
<div class="container"> | |
<div id="editor" ref="editor">HTML TABLE HERE</div> | |
<div class="my-3 my-md-5"> | |
<div id="iframe-wrapper" | |
:style="iframe.wrapperStyle"> | |
<iframe | |
v-if="loaded" | |
:src="this.url.products" | |
:style="iframe.style" |
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 | |
class Calc | |
{ | |
private $nums; | |
public function __construct(array $nums) | |
{ | |
if (!is_array($nums)) { |
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 | |
use Calc; | |
class TestCalc extends \PHPUnit_Framework_TestCase | |
{ | |
public function testSumTwoNumbers() | |
{ | |
$this->Calc = new Calc([5, 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 | |
class Kaito | |
{ | |
private $poeta; | |
private $iceblue; | |
private $relacionamentoSerio; | |
public function setPoeta($poeta) | |
{ |
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
var fs = require('fs'); | |
String.prototype.toBytes = function() { | |
var arr = [] | |
for (var i=0; i < this.length; i++) { | |
arr.push(this[i].charCodeAt(0)) | |
} | |
return arr; | |
} |
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 | |
ini_set('memory_limit', '-1'); | |
error_reporting(0); | |
class ControllerApiCiawn extends Controller | |
{ | |
/** | |
* @example http://domain.com/index.php?route=api/ciawn/getProductsActives |