This is a guide to get the Ryzen 7 7735HS with integrated graphics running with proxmox inside a Windows VM.
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, ComponentFactoryResolver, Input, OnInit, ViewContainerRef, Type, AfterViewInit, ComponentRef, ChangeDetectorRef, ViewChild, TemplateRef, Injector } from '@angular/core'; | |
import { checkRequiredInputs, Required } from '../../decorators/required.decorator'; | |
export interface DynamicComponentModel<T = unknown> | |
{ | |
type: Type<T>; | |
inputs?: Partial<T>; | |
} |
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
FROM czon/azdo-agent:ubuntu-20.04-2.182.1 | |
USER root | |
# Install the latest Docker CE binaries and add user `jenkins` to the docker group | |
RUN apt-get update && \ | |
apt-get -y --no-install-recommends install apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg2 \ |
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: '3.4' | |
services: | |
jenkins: | |
restart: "unless-stopped" | |
image: 4oh4/jenkins-docker | |
volumes: | |
- "jenkins_data:/var/jenkins_home" | |
- "/var/run/docker.sock:/var/run/docker.sock" | |
labels: |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading; | |
using System.Threading.Tasks; | |
namespace Test | |
{ | |
class Program | |
{ |
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
#include <iostream> | |
#include <vector> | |
#include <string> | |
using namespace std; | |
class SparseVector | |
{ | |
private: | |
std::vector<bool> orderVec; | |
std::vector<int> valueVec; |
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
template<typename TBase, typename... Types> | |
constexpr auto polymorphic_get(std::variant<Types...>& v) | |
-> std::enable_if_t<(std::is_base_of_v<TBase, Types> && ...), TBase&> | |
{ | |
return *std::visit([](auto& x){ return dynamic_cast<TBase*>(&x); }, v); | |
} |
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
function download_binary(binaryData, fileName, mime) | |
{ | |
file = new Blob([binaryData], { type: mime }); | |
downloadUrl = URL.createObjectURL(file); | |
// download the Blob | |
anchor = document.createElement('a'); | |
anchor.download = fileName; | |
anchor.href = downloadUrl; | |
anchor.dataset.downloadurl = mime + ":" + fileName + ":" + downloadUrl; |
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
#pragma once | |
#include <type_traits> | |
#include <functional> | |
template<typename TCallable, typename TSignature> | |
constexpr bool is_callable_as_v = std::is_constructible<std::function<TSignature>, TCallable>::value; | |
template< | |
typename TCallable, |
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
#include <iostream> | |
#include <exception> | |
#include <functional> | |
#include <vector> | |
#ifdef __EMSCRIPTEN__ | |
#include <emscripten.h> | |
#endif | |
#ifndef __EMSCRIPTEN__ |
NewerOlder