This file contains hidden or 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 net.quarkify.cpp; | |
import io.quarkus.runtime.StartupEvent; | |
import org.graalvm.polyglot.Context; | |
import org.graalvm.polyglot.Source; | |
import org.graalvm.polyglot.Value; | |
import javax.enterprise.event.Observes; | |
import javax.ws.rs.GET; | |
import javax.ws.rs.Path; |
This file contains hidden or 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
#include <png.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
/* A coloured pixel. */ | |
typedef struct | |
{ | |
uint8_t red; |
This file contains hidden or 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 net.quarkify.cpp; | |
import io.quarkus.runtime.StartupEvent; | |
import org.graalvm.polyglot.Context; | |
import org.graalvm.polyglot.Source; | |
import org.graalvm.polyglot.Value; | |
import javax.enterprise.event.Observes; | |
import javax.ws.rs.GET; | |
import javax.ws.rs.Path; |
This file contains hidden or 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 net.quarkify.qdm.upgrade; | |
import net.quarkify.qdm.data.GithubRelease; | |
import org.w3c.dom.Document; | |
import org.w3c.dom.Node; | |
import org.w3c.dom.NodeList; | |
import org.xml.sax.SAXException; | |
import picocli.CommandLine; | |
import javax.inject.Inject; |
This file contains hidden or 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 net.quarkify.qdm; | |
import io.quarkus.picocli.runtime.annotations.TopCommand; | |
import static picocli.CommandLine.Command; | |
@TopCommand | |
@Command(mixinStandardHelpOptions = true, | |
version = "1.0.0" | |
) |
This file contains hidden or 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 React, {useEffect, useState} from 'react'; | |
import './App.css'; | |
import Networking from "./Networking"; | |
import Job from "./Job"; | |
import Auth from "./Auth"; | |
function App() { | |
const [jobs, setJobs] = useState(null); | |
const [newJobContent, setNewJobContent] = useState(""); | |
const loadJobs = () => { |
This file contains hidden or 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 React, {useState} from 'react'; | |
import Networking from "./Networking"; | |
export default function Auth({authCallback, ...props}) { | |
const [info, setInfo] = useState(null); | |
const [login, setLogin] = useState("test");//pre-fill user data for usability | |
const [password, setPassword] = useState("test"); | |
const [email, setEmail] = useState("[email protected]"); | |
const [isRegistering, setRegistering] = useState(false) |
This file contains hidden or 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 net.quarkify; | |
import org.eclipse.microprofile.openapi.annotations.Components; | |
import org.eclipse.microprofile.openapi.annotations.OpenAPIDefinition; | |
import org.eclipse.microprofile.openapi.annotations.enums.SecuritySchemeType; | |
import org.eclipse.microprofile.openapi.annotations.info.Info; | |
import org.eclipse.microprofile.openapi.annotations.security.SecurityRequirement; | |
import org.eclipse.microprofile.openapi.annotations.security.SecurityScheme; | |
import javax.ws.rs.core.Application; |
This file contains hidden or 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 net.quarkify.user; | |
import net.quarkify.data.User; | |
import net.quarkify.security.TokenService; | |
import org.eclipse.microprofile.openapi.annotations.Operation; | |
import javax.annotation.security.PermitAll; | |
import javax.inject.Inject; | |
import javax.transaction.Transactional; | |
import javax.ws.rs.*; |
This file contains hidden or 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 React, {useState} from "react"; | |
import Networking from "./Networking"; | |
export default function Job({job, ...props}) { | |
const [proposals, setProposals] = useState([]); | |
const [expanded, setExpanded] = useState(false); | |
const [newJobOfferContent, setNewJobOfferContent] = useState(""); | |
const expandJob = (jobId) => { | |
if (!expanded) { |
NewerOlder