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 | |
:style="{ height: myOptions.height + 'px', width: myOptions.width + 'px' }" | |
></div> | |
</template> | |
<script> | |
import { edit } from "ace-builds"; | |
const defaultOptions = { |
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 | |
function f($n) { | |
static $result = []; | |
if (isset($result[$n])) { | |
return $result[$n]; | |
} | |
if ($n <= 2) { |
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
// @see https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000556284-vue-import-component-Module-is-not-installed-?page=2#community_comment_360000146344 | |
// If you use vue-cli 3: | |
// Put this file to root folder fo the project | |
// Open PhpStorm or WebStorm, and goto | |
// Perferences / Languages & Frameworks / JavaScript / Webpack | |
// webpack configuration file: </path/to/project/node_modules/@vue/cli-service/webpack.config.js> | |
const path = require("path"); | |
function resolve(dir) { |
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
install-deps: | |
image: our-registry:5000/php:7.2 | |
stage: prepare | |
script: | |
- composer --no-dev install --no-scripts | |
artifacts: | |
expire_in: 1 week | |
paths: | |
- vendor/ |
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
# see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863199#23 | |
RUN mkdir -p /usr/share/man/man1 && \ | |
apt-get update && \ | |
apt-get install -y --no-install-recommends \ | |
openjdk-8-jdk && \ | |
apt-get clean && \ | |
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/.cache |
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
const camelCase = require('camelcase'); | |
require('fs').readdirSync(__dirname + '/').forEach(file => { | |
if (file.endsWith('js') && file !== 'index.js') { | |
var name = file.replace('.js', ''); | |
exports[camelCase(name)] = require('./' + file); | |
} | |
}); |
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
import Vue from 'vue'; | |
import bAlert from 'bootstrap-vue/es/components/alert/alert'; | |
import bBadge from 'bootstrap-vue/es/components/badge/badge'; | |
import bBreadcrumb from 'bootstrap-vue/es/components/breadcrumb/breadcrumb'; | |
import bBreadcrumbItem from 'bootstrap-vue/es/components/breadcrumb/breadcrumb-item'; | |
import bBreadcrumbLink from 'bootstrap-vue/es/components/breadcrumb/breadcrumb-link'; | |
import bButton from 'bootstrap-vue/es/components/button/button'; | |
import bButtonClose from 'bootstrap-vue/es/components/button/button-close'; | |
import bButtonGroup from 'bootstrap-vue/es/components/button-group/button-group'; | |
import bButtonToolbar from 'bootstrap-vue/es/components/button-toolbar/button-toolbar'; |
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 | |
abstract class AbstractStep | |
{ | |
protected $successor; | |
protected $shouldPassToSuccessor = true; | |
public static function registerSteps(array $steps): AbstractStep | |
{ |
NewerOlder