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 ..... | |
const inputUploadFile: CSSProperties = { | |
display: 'none', | |
}; | |
const buttonUploadFile: CSSProperties = { | |
margin: 8, | |
}; |
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
#!/bin/sh | |
choco upgrade all -y | |
npm install npm@latest -g | |
npm update -g | |
yarn global upgrade |
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
declare module "react-vis" { | |
export class AbstractSeries extends React.Component<PropsAbstractSeries> { | |
} | |
export class ArcSeries extends React.Component<PropsArcSeries> { | |
} |
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
/** | |
* A job description | |
*/ | |
entity JobDescription { | |
/** The title for the job */ | |
title String required, | |
/** The experience needed */ | |
yearExperience Long required min(0), | |
/** When the job is available */ |
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
package com.seelix.api.config; | |
import org.springframework.boot.context.properties.ConfigurationProperties; | |
/** | |
* Properties specific to Seelix. | |
* <p> | |
* Properties are configured in the application.yml file. | |
* See {@link io.github.jhipster.config.JHipsterProperties} for a good example. | |
*/ |
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
package com.seelix.api.security.jwt; | |
import java.security.interfaces.RSAPublicKey; | |
import java.util.Arrays; | |
import java.util.Collection; | |
import java.util.Optional; | |
import java.util.stream.Collectors; | |
import javax.annotation.PostConstruct; |
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
package com.seelix.api.security.jwt; | |
import java.io.IOException; | |
import javax.servlet.FilterChain; | |
import javax.servlet.ServletException; | |
import javax.servlet.ServletRequest; | |
import javax.servlet.ServletResponse; | |
import javax.servlet.http.HttpServletRequest; |
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 Auth0Lock from 'auth0-lock'; | |
export default class Auth { | |
lock = new Auth0Lock( | |
'MVmsdXMGSS2JusuH82DeNAErxtoTmmir', | |
'seelix.eu.auth0.com', | |
{ | |
auth: | |
{ | |
audience: 'https://seelix-api.com', |
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 * as React from 'react'; | |
import { connect } from 'react-redux'; | |
import { RouteComponentProps } from 'react-router-dom'; | |
import { Storage } from 'react-jhipster'; | |
import { IRootState } from 'app/shared/reducers'; | |
import { getSession } from 'app/shared/reducers/authentication'; | |
import Auth0 from 'app/config/auth0'; | |
export interface ILoginProps extends StateProps, DispatchProps, RouteComponentProps<{}> { } |
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 * as React from 'react'; | |
import { connect } from 'react-redux'; | |
import { Redirect } from 'react-router-dom'; | |
import { IRootState } from 'app/shared/reducers'; | |
import { logout } from 'app/shared/reducers/authentication'; | |
import Auth0 from 'app/config/auth0'; | |
export interface ILogoutProps extends StateProps, DispatchProps { } |
OlderNewer