text
stringlengths
184
4.48M
import React, { ComponentProps, Fragment, useContext, useMemo } from "react"; import { CheckboxGroupLayout, Layout } from "../types"; import styled from "styled-components"; import FormContext from "../FormContext"; type FormData = string[]; export default function CheckboxGroup(props: { layout: CheckboxGroupLayout }...
import "package:flutter/material.dart"; import "package:lottie/lottie.dart"; import "package:weather/design/atom/temperature.dart"; import "package:weather/utils/app_color.dart"; import "package:weather/utils/wmo_description.dart"; class HourCard extends StatelessWidget { const HourCard({ super.key, required...
use Test::Spec; use constant A_TEST_WITH_FAILURES => 'data/t/failing.t'; use constant A_TEST_WITHOUT_FAILURES => 'data/t/succeeding.t'; use App::autotest; describe 'autotest' => sub { describe 'tells that things just got better' => sub { it 'if we go from red to green' => sub { my $autotest = App::aut...
@extends('layouts.app') @section('title') Alta Menú @endsection @section('content') <section class="section"> <div class="section-header"> <h3 class="page__heading">Alta Menú</h3> </div> <div class="section-body"> <div class="row"> <div class="col-...
<?php use Firebase\JWT\JWT; use Firebase\JWT\Key; if (Flight::get('IN_DEVELOPMENT')) { $requestHeaders = apache_request_headers(); $authHeader = $requestHeaders['Authorization'] ?? null; } else { $authHeader = $_SERVER["REDIRECT_HTTP_AUTHORIZATION"] ?? null; } $token = isset($authHeader) ? str_replace('Be...
function [out, groups] = deprecated_shuffle_within_condition(beh, spikes, groupby, varargin) % Circularly shuffles within times per some conditioned group % % % Uses: % (1) Sarel 2017 and Dotson 2021 each requires circular spike time shuffles % within trials. Doable by setting groupby to your relevent trial var name in...
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction import type { NextApiRequest, NextApiResponse } from "next"; import prepareConnection from "src/lib/db"; import { getCustomRepository } from "typeorm"; import { Friend, getFriendDate } from "src/interfaces/Friend"; import { SiegeRepository } ...
const User = require("../model/User"); const Business = require("../model/Business"); const crypto = require('crypto'); const jwt = require("jsonwebtoken"); const nodemailer = require("nodemailer"); const TOKEN_SECRET = process.env.TOKEN_SECRET; const bcrypt = require("bcrypt"); const cookieParser = require("cookie-par...
import { shortenHashString } from "@/utils/age-restricted-example/short-hash-string"; import CopyToClipboard from "react-copy-to-clipboard"; import { DocumentDuplicateIcon } from "@heroicons/react/24/outline"; type StatProps = { stat: string; title: string; }; const Stat = (props: StatProps) => { return ( <...
<nav class="navbar navbar-expand-md navbar-light bg-light"> <div class="container"> <a class="navbar-brand" routerLink="/">Socialbook</a> <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupported...
from typing import Any, Dict, List, Optional import asyncio from enum import Enum from llama_index.core import ( StorageContext, VectorStoreIndex, get_response_synthesizer, load_index_from_storage, ) from llama_index.core.base.response.schema import Response from llama_index.core.base.base_retriever i...
/* * Copyright (C) 2013 Near Infinity Corporation * * This file is part of Honeycomb Storage Engine. * * Honeycomb Storage Engine is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the ...
@extends('layout.mainlayout_admin') @section('content') <!-- Page Wrapper --> <div class="page-wrapper"> <div class="content container-fluid"> <!-- Page Header --> <div class="page-header"> <div class="row"> <div class="col"> <h3 class="page-title">Profile</h3> ...
/* * MIT License * * Copyright (c) 2022-present Alan Yeh <alan@yeh.cn> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
import React, { useState, useRef } from "react"; import { Plus as PlusIcon } from "@styled-icons/boxicons-regular/Plus"; import { Minus as MinusIcon } from "@styled-icons/evaicons-solid/Minus"; import "./bottom-menu.scss"; const Collapsible = (props) => { const [setActive, setActiveState] = useState(""); const [se...
package fr.uphf.a3ddy.service.model3d; import org.intellij.lang.annotations.Language; import org.rajawali3d.materials.Material; import org.rajawali3d.materials.shaders.FragmentShader; import org.rajawali3d.materials.shaders.VertexShader; public final class FadeMaterial extends Material { public static final Strin...
/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
const inputKeywoard = document.querySelector('#keywoard') const searchButton = document.querySelector('#search') const API_KEY = 'cf16fe3bca02efc84a2c2b0fee237e66' //Helper functions const formatData = async (data) => { const cityName = data.name const weather = data.weather[0].main const temperature = d...
%-------------------------------------------------- % DOCUMENT IMPORTS %-------------------------------------------------- \documentclass{beamer} \usetheme{CambridgeUS} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{babel} \usepackage{graphicx} \usepackage{xcolor} \usepackage{tikz} \usepackage...
package ru.poplaukhin.springcourse.dao; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.BeanPropertyRowMapper; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.stereotype.Component; import ru.poplaukhin.springcourse.models.Person; import ...
'use client'; import React, { createContext, useContext, useEffect, useState, Dispatch, SetStateAction, } from 'react'; import WebApp from '@twa-dev/sdk'; type AuthContextType = { userID: number | null; username: string | null; windowHeight: number; photo_url: string | null; token: string; setToken: Dispa...
import React, { useState } from "react"; const CustomApp = () => { const tabs: Tab[] = [ { id: 1, title: "Tab 1" }, { id: 2, title: "Tab 2" }, { id: 3, title: "Tab 3" }, ]; const images: Image[] = [ { id: 1, url: "https://img.freepik.com/free-photo/painting-mountain...
package com.tk; import java.io.*; import java.net.ServerSocket; import java.net.Socket; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; public class HttpServer extends Thread{ private ExecutorService service = Executors.newCachedThreadPool(); private int port; public...
package ru.kazantsev.nsd.configMigrator.config import org.slf4j.LoggerFactory import org.springframework.security.authentication.AuthenticationManager import org.springframework.security.authentication.BadCredentialsException import org.springframework.security.authentication.UsernamePasswordAuthenticationToken import...
import { datesOnSameDay, dateIsBeforeOtherDate, dateIsAfterOtherDate, isRecentDate, isValidDate, diffDates, milestoneToDate, } from '../date' import { SECONDS_PER_MILESTONE } from '../../network/constants' import { MILLISECONDS_PER_SECOND } from '../constants' describe('datesOnSameDay', () ...
<!DOCTYPE html> <html lang="jp" xmlns:th="http://www.thymeleaf.org"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link th:href="@{/css/reset.css}" rel="stylesheet" type="text/css"> <link th:href="@{/css/stylesheet.css}" rel="stylesheet" type="text/css"> <title>st...
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const express_1 = __importDefault(require("express")); const body_parser_1 = __importDefault(require("bo...
import React from 'react'; import ReactDOM from 'react-dom/client'; import './index.css'; import reportWebVitals from './reportWebVitals'; import Home from './component/template/home'; import store from './handler/store' import { Provider } from 'react-redux'; import { BrowserRouter, Route, Routes } from 'react-router-...
const express = require('express'); const User = require('../models/user'); const auth = require('../middleware/auth'); const sharp = require('sharp'); const multer = require('multer'); const sendWelcomeEmail = require('../emails/account') const router = new express.Router; router.post('/users/login',async (req,res) =...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } abstract contract Ownable...
import 'package:chatting/chatting/chat/chat_bubble.dart'; import 'package:flutter/material.dart'; import 'package:cloud_firestore/cloud_firestore.dart'; import 'package:firebase_auth/firebase_auth.dart'; class Messages extends StatelessWidget { const Messages({Key? key}) : super(key: key); @override Widget buil...
export function algoStockTrade1(input: number[]): number { let maxProfit = 0; for (let i = 0; i < input.length; i++) { for (let j = i + 1; j < input.length; j++) { maxProfit = Math.max(maxProfit, input[j] - input[i]); } } return maxProfit; } // algoStockTrade2 - sum all increases in value /** ...
package com.example.thopcinema.movies.adapter; import android.annotation.SuppressLint; import android.content.Context; import android.content.Intent; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import and...
require_relative "../classes/Wardrobe.rb" describe "Wardrobe" do it "should be defined" do expect(defined?(initialize)).to eql("method") end it "should have class variable called @@user_type to hold user type of either \"Clerk\" or \"Customer\"" do expect(Wardrobe.class_variable_get(:@@use...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Major project</title> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css...
// Copyright (c) 2023 Sandro Cavazzoni // This code is licensed under MIT license (see LICENSE.txt for details) #pragma once #include "pch.h" #include "Common/Common.h" namespace chronicle { /// @brief Informations used to create a sampled texture. struct SampledTextureInfo { /// @brief Enabled the mipmap gene...
# Serverless Machine Learning This repository contains resources and code for implementing serverless machine learning solutions, with a special focus on integrating models from Hugging Face, a popular hub for machine learning models. ## Overview Serverless architectures enable the deployment of applications and serv...
import { Injectable } from "@nestjs/common"; import {Scholarship, FinancialDetails ,notice,StudentLoginDTO, StudentDTO, StudentUpdateDTO, CourseStudentDto, Student, faculty, ProfileUpdateDTO} from "./student.dto"; import { InjectRepository } from "@nestjs/typeorm"; import { StudentEntity } from "./student.entity"; impo...
import * as React from "react"; import { Button, Menu, MenuItem } from "@material-ui/core"; import "./commentHandelPopup.css"; import axios from "axios"; import { MoreVert } from "@material-ui/icons"; import { useState } from "react"; import Modal from "../modal/Modal"; export default function CommentHandlePopup({ com...
#variables x = 5 y = "John" bool_var = True print(x) #receive input from user name = input("Enter your name: ") #this will print the message and wait for user input and return what is entered print("Hello, " + name) #type conversion birth_year = input("Enter your birth year: ") #will return value as string like "2002...
import { createSlice, PayloadAction } from '@reduxjs/toolkit'; export interface CartItem { id: number; name: string; price: number; quantity: number; image: string; } interface CartState { items: CartItem[]; totalAmount: number; totalItems: number; isOpen: boolean; } const initialState: CartState =...
defmodule HelloDockerHerokuWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case i...
package main import ( "fmt" "fyne.io/fyne/v2/widget" "time" ) // Timer struct for managing game timer. type Timer struct { ticker *time.Ticker startTime time.Time timeElapsedLabel *widget.Label } // NewTimer creates a new Timer instance with a label for displaying time. func NewTimer(label *wi...
#+TITLE: Automatic darkmode for iTerm [[file:iterm2.org][iTerm2]] supports dark and light mode, but it won't change the colors automatically. But we're lucky! iTerm has great scripting support. See the [[https://iterm2.com/documentation-scripting.html][Scripting Documentation]]. We can use that to automatically switc...
class Solution: # O(log(n)) time | O(1) space def searchInsert(self, nums: List[int], target: int) -> int: left = 0 right = len(nums) while left < right: middle = (left + right) // 2 num = nums[middle] if num < target: left = middle + 1...
import React from "react"; import DevelopersPage from "./pages/Developers"; const User = React.lazy(() => import("./pages/User")); const About = React.lazy(() => import("./pages/About")); const Home = React.lazy(() => import("./pages/Home")); interface IRoutes { path: string; Element: React.ReactNode; protecte...
import React, {useEffect} from 'react'; import {Button, Container, Image, Nav, Navbar, NavLink} from "react-bootstrap"; import logo from '../../assets/images/logo_evernote.png'; const Header = () => { const [loggedIn, setLoggedIn] = React.useState(false); useEffect(() => { const getUser = localStorage....
import React, { useState, Fragment } from "react"; import { nanoid } from "nanoid"; import "./Companystats.css"; import EditableRow from "./EditableRow"; import ReadOnlyRow from "./ReadOnlyRow"; import axios from "axios"; import { useEffect } from "react"; import { stream } from "xlsx"; import { useSelector } from "rea...
import curses from curses import textpad import socket import threading import time import sys from board import Board from audio_system import Background_music from client_protocol import Protocol_client from enums import Squares as sq from enums import Directions as dir from enums import ChangeVolume as vol from enum...
# 智能BI项目文档 ## 项目效果预览 登录界面 ![image-20231018163437013](https://github.com/Liumingyao666/github-img/blob/master/img/image-20231018163437013.png?raw=true) 智能分析界面 ![image-20231018163608684](https://github.com/Liumingyao666/github-img/blob/master/img/image-20231018163608684.png?raw=true) 智能分析(异步)界面 ![image-202310181...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {OrderTypes} from "../libraries/OrderTypes.sol"; import {IExecutionStrategy} from "../interfaces/IExecutionStrategy.sol"; /** * @title StrategyDutchAuction * @notice Strategy to launch ...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>girldevelopit-reveal.js - The GDI HTML Presentation Framework</title> <meta name="description" content="Girl Develop It framework for easily creating beautiful presentations using HTML in GDI theme. Forked from Hakim El Hattab's reveal.js">...
import unittest from ltl.syntax import * class SyntaxTest(unittest.TestCase): def setUp(self) -> None: self.f1 = Or(Finally(Var('a')), Top()) self.f2 = Then(Var(1), Until(Var("b"), Or(Var("b"), Var(1)))) self.f3 = Next(And(Bottom(), Var('a'))) def test_show(self): self.assertE...
import { User } from "@prisma/client"; import { AppError } from "../../../../errors/AppError"; import { prisma } from "../../../../prisma/client"; import { CreateUserDTO } from "../../dtos/CreateUserDTO"; export class CreateUserUseCase { async execute({name, email} : CreateUserDTO): Promise<User>{ //verifi...
'use client'; import React, { useCallback, useEffect, useState } from 'react'; import DialogCustom from '@/components/ui/dialogCustom'; import { Label } from '@/components/ui/label'; import { Button } from '@/components/ui/button'; import { useSelectedProduct } from '@/hooks/useSelectedProduct'; import { parseJSON } fr...
/** * @addtogroup Group * @{ * @file GenericParser/ReadingPosition.hh * @author Massimiliano Pagani * @version 1.0 * @date 27/05/2010 * */ #if !defined( GENERICPARSER_READINGPOSITION_HH ) #define GENERICPARSER_READINGPOSITION_HH #include <string> namespace GenericParser { /** ReadingPosition * ...
import java.util.List; import java.util.ArrayList; import java.util.Collections; import java.util.GregorianCalendar; public class GreenHouseNursery extends AbsGreenHouse implements Sensible { public GreenHouseNursery(GregorianCalendar calendar) { super(calendar); } /** * Reads an ordered sequ...
import { createAction, props } from '@ngrx/store'; export enum ActionType { INCREMENT = '[Counter] Increment', DECREMENT = '[Counter] Decrement', INIT = '[Counter] Init', SET = '[Counter] Set', } export const init = createAction(ActionType.INIT); export const set = createAction(ActionType.SET, props<{ value:...
<?php namespace App\Http\Requests; use App\Http\Requests\Request; class StorePetRequest extends Request { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the validation rul...
<template> <transition name="slide"> <music-list :title="title" :bg-image="bgImage" :songs="songs"></music-list> </transition> </template> <script type="text/ecmascript-6"> import {mapGetters} from 'vuex' import {getSingerDetail} from 'api/singer' import {ERR_OK} from 'api/config' import {createSong} f...
import { Text } from '@/styles' import { useTheme } from 'styled-components/native' import type { BaseButtonType } from 'components' import { ArrowIcon } from '@/assets/arrow-icon' import * as S from './style' type ButtonProps = { isLoading?: boolean } & BaseButtonType export const Button = ({ backgroundColor, b...
import { IAchievement, IEducation, IExperience, INavItem, IProject, IService, ISkill } from './type'; import { BsCircleFill, BsCreditCard2FrontFill, BsStar, BsStarFill } from 'react-icons/bs'; import { ImDatabase, ImAirplane } from 'react-icons/im'; import { MdExplore } from 'react-icons/md'; import { FaLaptopCode, FaM...
import config from './config.js'; export default { fetch(searchText) { const indexHtml = `<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>{{title}}</title> <style> body { font-family...
import {Schema, Prop, SchemaFactory} from '@nestjs/mongoose'; import mongoose, { HydratedDocument } from 'mongoose'; import { Bakery } from 'src/bakeries/bakery.schema'; import { Review } from 'src/bakeries/reviews.schema'; import { Like } from 'src/likes/like.schema'; import { Transform } from 'class-transformer'; ex...
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_atoi.c :+: :+: :+: ...
<?php /** * IRC Server Connection Class * * @author Viper-7 * @date 2009/08/27 * @package V7IRCFramework * @example channels/Simplechannel.php * * Handles the connection and communication to an IRC server */ class IRCServerConnection { /** * Static reference to the connection object */ public static $server_connec...
/* * Copyright (c) 2024 New Vector Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
import { Post } from "@/types/post"; import { MongoClient } from "mongodb"; import { LocalPostRepository } from "./local"; export default class MongoLocalPostRepository implements LocalPostRepository { private mongoClient: MongoClient = new MongoClient(process.env.MONGODB_URI as string, {}); private db = this....
import { useCallback } from "react"; import Particles from "react-tsparticles"; //import { loadFull } from "tsparticles"; // if you are going to use `loadFull`, install the "tsparticles" package too. import { loadSlim } from "tsparticles-slim"; const Particle = () => { const particlesInit = useCallback(async engin...
<?php namespace ASENHA\Classes; /** * Class for Redirect After Login module * * @since 6.9.5 */ class Redirect_After_Login { /** * Redirect to custom internal URL after login for user roles * * @param string $redirect_to_url URL to redirect to. Default is admin dashboard URL. * @param stri...
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpKernel\HttpCache; use Symfony\Component\HttpFound...
{% extends "includes/layout.html" %} {% block title %} Project Page {% endblock %} {% block main %} <div class="container" id="projectPageContainer"> <!-- Image card --> <div class="row"> <div class="col-lg-5 mb-3"> <div class="card project-card"> <img src="/{{ pro...
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>회원 가입 page</title> <link rel="stylesheet" href="${css}"> <sty...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Register Page</title> @vite(['resources/css/app.css', 'resources/js/app.js']) <script> if ( localStorage.getItem('color-theme') === 'dark...
/** * This file defines the contract for the services in k.IM that create and operate on networks. */ @klab 0.10.0 @version 0.10.0 @namespace klab.network export object connect "Connects subjects by building relationships using configurable deterministic or stochastic methods. Each relationship can optionally be...
import MovieModel from "../models/MovieModel"; import topTenView from "../views/TopTenView"; import searchBoxView from "../views/SearchBoxView"; import searchTypeView from "../views/SearchTypeView"; import topTenSliderView from "../views/TopTenSliderViwe"; import searchTypeView from "../views/SearchTypeView"; import se...
#!/usr/bin/env node /** * Module dependencies. */ var app = require('../app'); var debug = require('debug')('shopping-cart:server'); var http = require('http'); var db = require('../config/connection'); // Add the database connection module /** * Get port from environment and store in Express. */ var port = n...
"use client"; import Avatar from "@/app/components/Avatar"; import useCurrentUser from "@/app/hooks/useCurrentUser"; import useOtherUsers from "@/app/hooks/useOtherUsers"; import { IMessage, IUser } from "@/schemas"; import clsx from "clsx"; import { format } from "date-fns"; import { useParams } from "next/navigation...
import React, { Fragment } from 'react' import { Metadata } from 'next' import { Settings } from '../../../payload/payload-types' import { fetchSettings } from '../../_api/fetchGlobals' import { Gutter } from '../../_components/Gutter' import { Message } from '../../_components/Message' import { LowImpactHero } from '...
class ExperienceCertificatesController < ApplicationController include JsonResponseHelper # Include the concern layout "mindcom" def index if session[:class_table].present? @table_array = session[:class_table] @course_id = session[:table_array_class_id] session[:tab...
import { FC, ReactNode } from "react"; import cx from "classnames"; import { Nav } from "@src/components/layout/nav"; import styles from "./layout.module.css"; type Props = { children: ReactNode; }; export const Layout: FC<Props> = ({ children }) => { return ( <div className={cx( "flex min-h-...
using System; using System.Linq; using System.Linq.Dynamic.Core; using Abp.Linq.Extensions; using System.Collections.Generic; using System.Threading.Tasks; using Abp.Domain.Repositories; using CCPDemo.RiskGroupings.Exporting; using CCPDemo.RiskGroupings.Dtos; using CCPDemo.Dto; using Abp.Application.Services.Dto; usin...
import streamlit as st from faker import Faker from streamlit_ace import st_ace import random import subprocess from scipy.stats import norm,expon #from tink3 import * def colip(coltype, nrows, i, tblcols,colnames): # for cc in colnames: # pass # # eval() j=0 fake = Faker() element=No...
# # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Debian Security Advisory DSA-4135. The text # itself is copyright (C) Software in the Public Interest, Inc. # include("compat.inc"); if (description) { script_id(108304); script_version("1.6"...
import { createAsyncThunk } from '@reduxjs/toolkit'; import { APIRoute, NameSpace } from '../../../const'; import { AsyncThunkConfig } from '../../../types/state'; import { AuthData } from '../../../types/auth-data'; import { UserData } from '../../../types/user-data'; import { dropToken, saveToken } from '../../../ser...
<div class="modal-container"> <mat-icon svgIcon="cross" class="close" (click)="onCloseDialog()"></mat-icon> <div class="header"> <span>{{ text.header }}</span> </div> <div class="controls-container"> <div class="searchText" *ngIf="!secondInput"> <input id="search-name" class="input-search" type="...
import React, { useState, useEffect } from "react"; import { ToastContainer, toast } from "react-toastify"; import "react-toastify/dist/ReactToastify.css"; export default function EditAddress() { const [userData, setUserData] = useState(null); const [isEditing, setIsEditing] = useState(false); const [updatedUser...
--- title: "[New] What Is a Parody and How to Make a Parody Video for 2024" date: 2024-06-06T16:27:23.585Z updated: 2024-06-07T16:27:23.585Z tags: - ai video - ai youtube categories: - ai - youtube description: "This Article Describes [New] What Is a Parody and How to Make a Parody Video for 2024" excerpt: "Thi...
簇状柱形图+折线图组合图由簇状柱形图+折线图组合组成,通过在一个图表内使用柱形图和折线图的组合,绘出多个数据序列,对于突出显示各种数据序列之间的关系非常有用。两个图形合用一个Y轴。分组只针对簇状柱形图进行分组。 簇状柱形图+折线图组合图适用于既需要组合图表示序列的分类有需要表示趋势的场景,且两者的数据大小类似 ### **样式配置说明** 簇状柱形图+折线图组合图的配置项由X轴、Y轴、分组、对比基线、图例、图表样式、颜色7部分组成 #### **X轴** X轴用于配置图形的X轴相关信息 |配置项|说明| |-|-| |字段|X轴的字段,只能选择单个字段| |坐标轴名称|坐标轴名称是否显示设置,默认显示X轴字段,可手动修改| |...
import { IsEmail, IsBoolean, IsString, IsNumber, Length,IsNotEmpty } from 'class-validator'; export class UpdateFormDto { @IsString() @IsNotEmpty() uniqueId: string; @IsString() @Length(1, 255) @IsNotEmpty() name: string; @IsEmail() @IsNotEmpty() email: string; @IsNu...
#ifndef EFEX_LATOME_FIBRE_PACKER_H #define EFEX_LATOME_FIBRE_PACKER_H #include <vector> #include <cstdint> #include "infraL1Calo/FibrePackerBase.h" #include "defsL1Calo/EfexDefs.h" class EfexLatomeFibrePacker : public FibrePackerBase{ /** * \brief Class implementing packing and unpacking data into LAr LATOME eFex...
import React, { ChangeEvent, lazy, useState } from "react" import isEmpty from "lodash/isEmpty" import Pagination from "@mui/material/Pagination" import Sidebar from "partials/sidebar" import Header from "partials/header" import DeleteButton from "partials/actions/DeleteButton" import SearchForm from "partials/actions...
<template> <div class="pb-4"> <Banner /> <ProductList :products="hightlightProducts" class="mt-5" /> <ProductList :products="newestProducts" class="mt-5" /> <CategoryList /> <FounderList /> </div> </template> <script> import Banner from '@/components/TheBanner.vue' imp...
import { useState, useEffect } from 'react'; import PropTypes from 'prop-types'; import Form, { FormGroup, FormControl, FormPrompt, FormFeedback, } from './common/Form.component'; import Button from './common/Button.component'; import { useAppContext } from '../context/App.context'; import { getClassName, setTest...
#%NASL_MIN_LEVEL 70300 # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Debian Security Advisory DSA-2280. The text # itself is copyright (C) Software in the Public Interest, Inc. # include('deprecated_nasl_level.inc'); include('compat.inc'); i...
"use client" import { Line, LineChart, ResponsiveContainer, Tooltip, XAxis, YAxis } from "recharts" const data = [ { revenue: 400, users: 240, date: "Jan 1", }, { revenue: 300, users: 139, date: "Jan 2", }, { revenue: 200, users: 980, date: "Jan 3", }, { revenue: ...
import React from "react"; import { ThemeProvider } from "styled-components"; import { motion } from "framer-motion"; import Logo from "../../components/Logo/logo.component"; import PowerButton from "../../components/Power-Button/power-button.component"; import SocialIcons from "../../components/Social-Icon/social-ic...
import { Injectable } from '@angular/core'; import { HttpClient, JsonpInterceptor } from '@angular/common/http'; import { map } from 'rxjs/operators'; @Injectable({ providedIn: 'root' }) export class PeliculasService { private apiKey = '1aa0eda58930940bb59170176807b901'; private urlMoviedb = 'https://api.themov...
# # (C) Tenable Network Security, Inc. # include('compat.inc'); if (description) { script_id(73640); script_version("1.13"); script_set_attribute(attribute:"plugin_modification_date", value:"2023/04/25"); script_cve_id("CVE-2014-0160"); script_bugtraq_id(66690); script_xref(name:"CERT", value:"720951"); ...
<html><head><title>Ordered Lists (HTML &amp; XHTML: The Definitive Guide, 4th Edition)</title><link rel="stylesheet" type="text/css" href="../style/style1.css" /> <meta name="DC.Creator" content="Chuck Musciano and Bill Kennedy" /><meta name="DC.Format" content="text/xml" scheme="MIME" /><meta name="DC.Language" conte...