Skip to content

Instantly share code, notes, and snippets.

View supunsandeeptha's full-sized avatar
🎯
Focusing

Supun Sandeeptha supunsandeeptha

🎯
Focusing
View GitHub Profile
# This is the main configuration file for the application.
# https://www.playframework.com/documentation/latest/ConfigFile
play.filters.enabled += "play.filters.cors.CORSFilter"
cors{
allowedOrigins = ["http://localhost:8100"]
}
# This is the main configuration file for the application.
# https://www.playframework.com/documentation/latest/ConfigFile
play.filters.enabled += "play.filters.cors.CORSFilter"
cors{
allowedOrigins = ["http://localhost:8100"]
}
# This is the main configuration file for the application.
# https://www.playframework.com/documentation/latest/ConfigFile
play.filters.enabled += "play.filters.cors.CORSFilter"
cors{
allowedOrigins = ["http://localhost:8100"]
}
# This is the main configuration file for the application.
# https://www.playframework.com/documentation/latest/ConfigFile
play.filters.enabled += "play.filters.cors.CORSFilter"
cors{
allowedOrigins = ["http://localhost:8100"]
}
package controllers;
import com.fasterxml.jackson.databind.JsonNode;
import play.libs.Json;
import play.mvc.Controller;
import play.mvc.Result;
public class HomeController extends Controller{
# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
# An example controller showing a sample home page
GET / controllers.HomeController.index
#GET /explore controllers.HomeController.explore
#GET /tutorial controllers.HomeController.tutorial
<ion-header>
<ion-toolbar>
<ion-title>
Ionic Blank
</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
<form>
import { Component } from '@angular/core';
import {HttpClient} from '@angular/common/http';
@Component({
selector: 'app-home',
templateUrl: 'home.page.html',
styleUrls: ['home.page.scss'],
})
export class HomePage {
[Unit]
Description=Jboss Application Server
After=network.target
[Service]
Type=idle
User=root
Group=root
ExecStart=/opt/keycloak/bin/standalone.sh -b 0.0.0.0
TimeoutStartSec=600
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents"
],