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
{ | |
"$schema": "https://schema.stackmeister.com/entities/address", | |
"type": "object", | |
"properties": { | |
"id": { "type": "integer", "maxLength": 11, "x-generated": true }, | |
"streetName": { "type": "string", "maxLength": 200 } | |
} | |
} |
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
export default class TransformationMatrix | |
{ | |
a; | |
b; | |
c; | |
d; | |
tx; | |
ty; |
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
<div data-component="HelloWorld" data-props='{"what": "World!"}'></div> |
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
//Inheritance: | |
class ApiClient extends HttpClient | |
{ | |
public function getUsers(): array | |
{ | |
$this->options['my_option'] = stream_context_create(); //Man kann Unfug mit der Parent-Klasse treiben |
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 Todo | |
{ | |
private $description; | |
private $completed; | |
private $due; | |
public function __construct($description = '', $completed = 0, $due = 'tomorrow') | |
{ |
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
<table> | |
<thead> | |
<tr> | |
<th>Header 1 | |
<th>Header 2 | |
<th>Header 3 | |
<th>Header 4 | |
<tbody> | |
<tr> | |
<td>Content 1 |
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 gulp = require('gulp'), | |
exec = require('gulp-exec'); | |
var templateFiles = [ | |
'wp-content/themes/my-theme/index.jade', | |
'wp-content/themes/my-theme/page.jade', | |
'wp-content/themes/my-theme/page-single.jade', | |
'wp-content/themes/my-theme/archive.jade', | |
//All other template files |
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 deferred = Q.defer(); | |
FS.readFile("foo.txt", "utf-8", function (error, text) { | |
if (error) { | |
deferred.reject(new Error(error)); | |
} else { | |
deferred.resolve(text); | |
} | |
}); | |
return deferred.promise; |
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 getAllProducts() | |
{ | |
var p = new Promise(), | |
page = 1, | |
results = []; |
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 FastGrf | |
{ | |
private $files; | |
private $path; | |
private $handle; | |
public function __construct($path) |
NewerOlder