Skip to content

Instantly share code, notes, and snippets.

version: '2'
services:
mongodb:
image: mongo:4.2
ports:
- 27017:27017
volumes:
- mongo_data_log:/data/db_graylog
elasticsearch:
import java.io.*;
import java.nio.file.Files;
import java.nio.file.*;
public class MoveFilesDemo {
public static void main(String[] args) throws IOException
{
Path temp = Files.move
(Paths.get("C:\\temp\\testfile.txt"),
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"php": ">=5.6.4",
"caouecs/laravel-lang": "~3.0",
"darkaonline/l5-swagger": "~4.0",
vagrant@my-api:~/Code/my-api$ composer install --no-dev --optimize-autoloader
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postInstall
> php artisan optimize
PHP Fatal error: Uncaught InvalidArgumentException: Authentication user provider [external-user] is not defined. in /home/vagrant/Code/my-api/vendor/laravel/framework/src/Illuminate/Auth/CreatesUserProviders.php:40
Stack trace:
#0 /home/vagrant/Code/my-api/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php(123): Illuminate\Auth\AuthManager->createUserProvider('users')
/* tslint:disable:no-unused-variable */
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from "@angular/router/testing";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from "@angular/platform-browser-dynamic/testing";
import { By } from '@angular/platform-browser';
import { DebugElement } from '@angular/core';
import { MyService1, MyService2, MyService3, MyService4, MyService5, MyService6, SomeClass } from '../comun/services';
import { Ng2Bs3ModalModule } from "ng2-bs3-modal/ng2-bs3-modal";
import { MyTestingComponent } from './my-testing-component.component';
image: woohuiren/php-laravel-env:5.3
services:
- mysql:latest
before_script:
- bash .gitlab-key-inject.sh # Script injection for SSH keys used for deployments
variables:
MYSQL_DATABASE: laravel
{
"project": {
"version": "1.0.0-beta.25.5",
"name": "my-project"
},
"apps": [
{
"root": "src",
"outDir": "dist",
"assets": [
{
"project": {
"version": "1.0.0-beta.25.5",
"name": "kibernum-dnc-client"
},
"apps": [
{
"root": "src",
"outDir": "dist",
"assets": [
@gandra
gandra / app.component.html
Created February 8, 2017 00:16
app.component.html
<header class="main-header">
<!-- Logo -->
<a href="./" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>Min</b>ju</span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><b>Minju</b> 003</span> </a>
<!-- Header Navbar: style can be found in header.less -->
@gandra
gandra / app.component.ts
Created February 8, 2017 00:08
app.component.ts
import { Component, ViewChild, OnInit, ElementRef, HostBinding } from '@angular/core';
import { environment } from '../environments/environment';
import { MenuComponent } from './menu';
import { LoginService, EstiloService, UtilService } from './comun/services';
import { KeycloakService } from './comun/keycloak';
import * as moment from 'moment/moment';
import { enableProdMode } from '@angular/core';
if (environment.production) {
enableProdMode();