View graylog4-elasticsearch7-mongo4
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
version: '2' | |
services: | |
mongodb: | |
image: mongo:4.2 | |
ports: | |
- 27017:27017 | |
volumes: | |
- mongo_data_log:/data/db_graylog | |
elasticsearch: |
View MoveFilesDemo.java
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 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"), |
View composer.json
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
{ | |
"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", |
View composer-install-optimize-autoloader.sh
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
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') |
View MyTestingComponent.spec..ts
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
/* 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'; |
View gist:b8a842b6cfd3267cde186f351875ecee
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
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 |
View angular-cli.json
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
{ | |
"project": { | |
"version": "1.0.0-beta.25.5", | |
"name": "my-project" | |
}, | |
"apps": [ | |
{ | |
"root": "src", | |
"outDir": "dist", | |
"assets": [ |
View angular-cli.json
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
{ | |
"project": { | |
"version": "1.0.0-beta.25.5", | |
"name": "kibernum-dnc-client" | |
}, | |
"apps": [ | |
{ | |
"root": "src", | |
"outDir": "dist", | |
"assets": [ |
View app.component.html
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
<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 --> |
View app.component.ts
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 { 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(); |
NewerOlder