text
stringlengths
184
4.48M
.\# .\# Yet Another Pulsar Processor Commands .\# yapp_fold Manual Page .\# .\# Created by Jayanth Chennamangalam on 2013.02.02 .\# .TH YAPP_FOLD 1 "2015-09-11" "YAPP 3.6-beta" \ "Yet Another Pulsar Processor" .SH NAME yapp_fold \- fold filterbank and dedispersed time series data .SH SYNOPSIS .B yapp_fold [options...
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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 3 of the License, or // (at your option) any later version. // // Moodle ...
# Near Task Creator - Near Task Creator is a NEAR blockchain based dApp which which includes creation of Task for users - This Near Task Creator dApp it consists of a Smart Contract and it is witten in Rust. - Ultimately, the purpose of this project was to build a simple contract to explore how contract calls interact...
// // SecureInputView.swift // iosApp // // Created by Murat Kuş on 13.09.2023. // Copyright © 2023 orgName. All rights reserved. // import SwiftUI struct SecureInputView: View { @Binding private var text: String @State private var isSecured: Bool = true private var title: String init(_ ...
import React, { useState, useEffect } from 'react'; import { useSearchParams } from 'react-router-dom'; import { Notify } from 'notiflix'; import { FaSearch } from 'react-icons/fa'; import { searchMovie } from 'services/services'; import MovieList from 'components/MovieList/MovieList'; import Loader from 'components/...
import styles from '../styles/Home.module.css' import Link from 'next/link' import classNames from 'classnames' import Script from 'next/script' import { sortBy } from 'lodash'; // import '@tensorflow/tfjs'; // import tf from '@tensorflow/tfjs-node'; // import UniversalSentenceEncoder from '@tensorflow-models/univer...
# soa-c A CLI that generates Struct-of-Arrays (SOA) C code from a JSON descriptor file. ## Setup This section is a step-by-step guide to set-up your development environment for building `soa-c` locally. ### Installing Node Version Manager (`nvm`) We recommend installing `nvm` To **install** or **update** nvm, you...
from django.conf import settings from django.contrib.auth import get_user_model User = get_user_model() # can login with the either of email or username class EmailOrUsernameModelBackend(object): """ This is a ModelBacked that allows authentication with either a username or an email address. """ def ...
// DOUBT 01: lower_bound/upper_bound example #include <iostream> #include <algorithm> #include <vector> using namespace std; int main () { int myints[] = {10,20,30,30,20,10,10,20}; // ARRAY vector<int> v(myints,myints+8); // 10 20 30 30 20 10 10 20 COPY ARRAY sort (v.begin(), v.end()); ...
-- • Триггера на вставку: -- 1. Создать триггер, который не позволяет отправить в рейс автомобиль, который еще не вернулся в парк. SELECT * FROM JOURNAL; -------------------------------------------------------------------------------------------------- -----------------------------------------------------------------...
import uuid from django.test import TestCase from ..models import Produtor import unittest.mock # Para mockar a função uuid4 from unittest.mock import patch from django.core.exceptions import ValidationError from django.db.utils import DataError class ProdutorModelTest(TestCase): def setUp(self): self.c...
<?php namespace Database\Factories; use Illuminate\Database\Eloquent\Factories\Factory; /** * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Shipment> */ class ShipmentFactory extends Factory { /** * Define the model's default state. * * @return array<string, mixed> */...
import { ProductType } from "@/types/productType"; import { convertToIDR } from "@/utils/convertToIDR"; import Image from "next/image"; import { AiFillDelete, AiFillEdit } from "react-icons/ai"; interface CardProductProps { product: ProductType; onEdit: (product: ProductType) => void; onDelete: (id: number | str...
import re from datetime import datetime, timezone from uuid import uuid4 from dateutil.parser import isoparse from tests.invitation_system.support_graphql import ( CREATE_INVITATION_MUTATION, QUERY_INVITATION_BY_TOKEN, ACCEPT_INVITATION_MUTATION, CANCEL_INVITATION_MUTATION, QUERY_INVITATION_BY_ID,...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style>body { font-family: Arial, sans-serif; margin: 0; padding: 0; } header { background-color: #333; color: white; ...
package test import ( "context" "errors" "time" "github.com/andrescosta/goico/pkg/database" "github.com/andrescosta/goico/pkg/env" "github.com/andrescosta/goico/pkg/service" ctl "github.com/andrescosta/jobico/cmd/ctl/service" exec "github.com/andrescosta/jobico/cmd/executor/service" listener "github.com/andr...
package src.lexico; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Paths; import src.principal.Error_Exception; public class Scanner { private static int lines = 1; private char[] conteudo; private int estado; private int posicao; public Scanner(Strin...
import React, { useState, useEffect } from "react"; import { useDispatch, useSelector } from "react-redux"; import { useNavigate } from "react-router-dom"; import { Button, Form, Input, DatePicker } from "antd"; import { SignupWrapper } from "./styles"; import { userSignUp } from "../../../redux/slices/userSlice"; c...
'use client' import Image from 'next/image' import { motion } from 'framer-motion' import { useInView } from 'framer-motion' import { useRef } from 'react' const companies = [ { name: 'Microsoft', logo: '/logos/microsoft.svg' }, { name: 'Upwork', logo: '/logos/upwork.svg' }, { name: 'Fiverr', logo: '/logos/fiver...
import React, { useContext, useState } from "react"; import { StorageConstant } from "../config/constants"; import { WordSortByKey, WordViewLayout } from "../types"; export interface WordsPreferenceValue { sortBy: WordSortByKey; setSortBy: (sortBy: WordSortByKey) => void; layout: WordViewLayout; setLayout: (la...
cup flOz = \_ -> flOz -- Basic constructor cup flOz = \message -> message flOz getOz aCup = aCup (\flOz -> flOz) drink aCup ozDrank = if ozDiff > 0 then cup ozDiff else cup 0 where flOz = getOz aCup ozDiff = (flOz - ozDrank) isEmpty aCup = getOz aCup == 0 -...
/* ************************************************************************** */ /* */ /* :::::::: */ /* ft_strmapi.c :+: :+: ...
import Image from 'next/image'; import { HistoryTransactionType } from '../../../services/data.types'; import Rows from './Rows'; interface TransactionDetailContentProps { data: HistoryTransactionType, } export default function TransactionDetailContent(props: TransactionDetailContentProps) { const { data } = props...
\documentclass[12pt]{article} \usepackage{pmmeta} \pmcanonicalname{ProofOfAlonChungLemma} \pmcreated{2013-03-22 17:26:53} \pmmodified{2013-03-22 17:26:53} \pmowner{kshum}{5987} \pmmodifier{kshum}{5987} \pmtitle{proof of Alon-Chung lemma} \pmrecord{6}{39829} \pmprivacy{1} \pmauthor{kshum}{5987} \pmtype{Proof} \pmcomment...
<!DOCTYPE html> <html layout:decorate="/template.html"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1...
package br.com.forumkotlin.model import java.time.LocalDate import java.time.LocalDateTime import javax.persistence.* @Entity data class Topic( @Id @GeneratedValue(strategy = GenerationType.IDENTITY) var id: Long? = null, var title: String, var message: String, val creationDate: LocalDateT...
import React, { useCallback, useEffect, useRef, useState } from 'react' import { twMerge } from 'tailwind-merge'; import { LuChevronsUpDown } from "react-icons/lu"; const SelectMenu = ({className,options, selected, onSelect}) => { const [value, setValue] = useState(selected) const [filterList, setFilterList] = u...
import React from "react"; import Image from 'next/image'; import '../styles/Tarjetas.css'; import MenuLateral from '../MenuLateral'; import Header from '../Header'; import Link from 'next/link'; const tarjetasData = [ { id: 1, nombre: "Tarjeta de Crédito Oro", imagen: "/tarjeta_oro.png", ...
import React, {useEffect} from 'react'; import PropTypes from 'prop-types'; import {isBoolTrue} from "./ReactUtils"; import {Paper} from "@mui/material"; const Flexbox = React.memo(({ className = "", wrap = "nowrap", direct...
<div class="dialog-content-wrapper" id="items"> <mat-toolbar matDialogTitle class="mat-accent m-0 items-data"> <mat-toolbar-row fxLayout="row" fxLayoutAlign="space-between center"> <span class="title dialog-title">{{dialogTitle}}</span> <button mat-icon-button (click)="matDialogRef.c...
import 'package:equatable/equatable.dart'; import 'package:flutter/material.dart'; import 'package:tafeel_task/core/widgets/custom_text.dart'; import 'package:tafeel_task/features/users/ui/screens/users_screen.dart'; import 'package:tafeel_task/features/users/ui/screens/user_details_screen.dart'; class Routes { stat...
<template> <div id="AdministracionView"> <h1>Administración</h1> <b-button id="btnAgregar" @click="modalShow = !modalShow">Agregar Curso</b-button><br> <TablaComponent></TablaComponent> <br> <TotalesComponent></TotalesComponent> <!-- MODAL --> <div> <b...
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, BooleanField, SubmitField, validators class VideoForm(FlaskForm): video_id = StringField('Enter the video URL', [ validators.DataRequired(), validators.URL()]) submit = SubmitField('Submit') class Regi...
Documentation for the g0n library % created 20070125 % Time-stamp: <2010-07-11 20:31:55 john> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Level 0: functionality provided from other libraries Basic arithmetic, including polynomials and pari/NTL interfacing, are done in ../procs. Linear...
/* 直接更新state的多个方法的对象 */ import Vue from 'vue' import { RECEIVE_ADDRESS, RECEIVE_CATEGORYS, RECEIVE_SHOPS, RECEIVE_USER_INFO, RESET_USER_INFO, RECEIVE_RATINGS, RECEIVE_INFO, RECEIVE_GOODS, INCREMENT_FOOD_COUNT, DECREMENT_FOOD_COUNT, CLEAR_CART, RECEIVE_SEARCH_SHOPS } from './mutation-types' ex...
import os import re import sys import json import socket import smtplib import sys import subprocess import splunk.rest as sr import splunk.entity as entity from splunk.util import normalizeBoolean import splunk.secure_smtplib as secure_smtplib import splunk.ssl_context as ssl_context import copy if sys.version_info....
/** * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later...
<app-list-page-header [itemOptionsPerPage]="[10,25,50]" [itemsPerPage]="itemsPerPage" [selectAllState]="selectAllState" (addNewItem)="showAddNewModal()" (selectAllChange)="selectAllChange($event)" (itemsPerPageChange)="itemsPerPageChange($event)" (schoolYearChange)="schoolYearChange($event)" [selected]="selected" (dr...
<?php /** * The file that defines the core plugin class * * A class definition that includes attributes and functions used across both the * public-facing side of the site and the admin area. * * @link https://sevengits.com * @since 1.0.0 */ class Phonepe { /** * The loader that's responsible ...
# Thread.Comm.Rendezvous ## Usage (let ((rdv (make-rendezvous))) (bordeaux-threads:make-thread (lambda () (accept-rendezvous rdv))) (call-rendezvous rdv 2)) ## Installation Use Quicklisp. ## API Thread.Comm.Rendezvous provides [CSP(Communicating sequential processes)](http://en.wikipedia.org/wiki/...
package com.pratwib.leaveapplicationapi.controller; import com.pratwib.leaveapplicationapi.constant.AppPath; import com.pratwib.leaveapplicationapi.model.request.LeaveTypeRequest; import com.pratwib.leaveapplicationapi.model.response.CommonResponse; import com.pratwib.leaveapplicationapi.model.response.LeaveTypeRespon...
<?php /** * @file * Ctools access plugin which checks for masquerading conditions. */ $plugin = array( // The plugin name as presented in the UI. 'title' => t('User: Is Masquerading'), // A description of the plugin. 'description' => t('Checks whether or not a user is masquerading as another.'), // The fu...
// // ProfileView.swift // EcoShopper // // Created by robert on 2021-11-04. // import SwiftUI struct ProfileView: View { @EnvironmentObject var userData: UserData @State private var selection: String? = nil @State var pantryShowing: Bool = false var body: some View { ZStack{ ...
import React from 'react'; import MoreVertIcon from '@mui/icons-material/MoreVert'; import { IconButton, Menu, MenuItem, Tooltip } from '@mui/material'; import { useHistory, useParams } from 'react-router-dom'; import { resolvePathVariables } from '@pagopa/selfcare-common-frontend/utils/routes-utils'; import useUserNot...
import React, { Component, useState, useEffect } from "react"; import { TextField, Button, Grid, Typography } from "@material-ui/core"; import { Link, useNavigate } from "react-router-dom"; const RoomJoin = (props) => { const [roomCode, setRoomCode] = useState(""); const [error, setError] = useState(""); ...
// Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one // or more contributor license agreements. Licensed under the Elastic License; // you may not use this file except in compliance with the Elastic License. package operation import ( "github.com/hashicorp/go-multierror" "github.com/elas...
package top.evolutionary.securitydemo.web.controller; import com.fasterxml.jackson.annotation.JsonView; import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiParam; import org.apache.commons.lang.builder.ReflectionToStringBuilder; import org.apache.commons.lang.builder.ToStringStyle; import org....
import { Fragment, useEffect, useRef, useState } from "react"; import { Dialog, Transition } from "@headlessui/react"; import { PaperClipIcon } from '@heroicons/react/20/solid' import { toast } from 'react-toastify'; import { PayPalScriptProvider, PayPalButtons } from "@paypal/react-paypal-js"; import { button } from ...
import React, { useState } from 'react'; import { Box, Card, CardContent, CardMedia, Typography, Grid, Button, Dialog, DialogTitle, DialogContent, DialogActions, } from '@mui/material'; import { motion } from 'framer-motion'; import PropTypes from 'prop-types'; // AchievementCard Component for in...
using be_tabloidnews.DTOs; using be_tabloidnews.Models; using Microsoft.IdentityModel.Tokens; using MongoDB.Driver; using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; using System.Text; namespace be_tabloidnews.Services { public class UserService : IUserService { private readonly IM...
import React, {useEffect, useState} from "react"; import {useNavigate} from 'react-router-dom'; import StudentForm from "../forms/StudentForm"; const createStudent = (student) => { console.log("Request Data:", JSON.stringify(student)); return fetch("/students/add", { method: "POST", headers: {...
import os import audio import utils import logging import settings import tempfile from celery import shared_task from models import Item, Provider from database import db logger = logging.getLogger(__name__) @shared_task def generate_audio(item_id): if utils.cache_get(f'generate_{item_id}'): raise Except...
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="https://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorate="~{layout}"> <head> <meta charset="UTF-8"> <title>비밀번호 검증</title> <style> table { border: 1px #a39485 solid; font-size: .9em; box-shadow: 0 2p...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="stylesheet" href="css/style.css" /> <title>Document</title> </head> <body> <header class="header"> <div class="header-container"> <...
# FFMPEG FFmpeg Playground 🎥 Welcome to the FFmpeg Playground repository! 🎬 Here, we're diving into the world of multimedia manipulation and exploration with the powerful FFmpeg toolkit. Whether you're a developer, video enthusiast, or just curious about multimedia magic, this repository is your gateway to unlocking ...
class PaymentsProjectModel { bool? status; String? message; int? statusCode; List<ItemPayment>? data; PaymentsProjectModel({this.status, this.message, this.statusCode, this.data}); PaymentsProjectModel.fromJson(Map<String, dynamic> json) { status = json['status']; message = json['message']; st...
<!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>Document</title> <style> body { font-family: 'Inconsolta', sans-serif; b...
import { Person } from "./classes/person"; import { Address } from "./classes/address"; import { Email } from "./classes/email"; import { Phone } from "./classes/phone"; // Declaración de array para almacenamiento de registros let agenda: Person[] = []; // Creación de objetos de clase Person como nuevos contactos e i...
import { Request, Response } from "express"; import { UserModel } from "../database/users/user.model"; import jwt from "jsonwebtoken"; import { compareSync, hashSync } from "bcrypt"; // create a salt for the user const generateSalt = async (id: string) => { return jwt.sign({ id }, "stringABCC", { expiresIn: "1...
import React from 'react' import clsx from 'clsx' interface ButtonProp { type?: 'submit' | 'reset' | 'button' | undefined fullWidth?:boolean children:React.ReactNode onClick?:()=>void secondary?:boolean danger?:boolean disabled?:boolean } const Button:React.FC<ButtonProp> = ({type, fullWidth, children, ...
#include <cuda.h> #include <stdio.h> #include <stdlib.h> #define BLOCK_SIZE 8 #define NUM_STREAM 10 __global__ void mandelKernel(int *output, float lowerX, float lowerY, float stepX, float stepY, int resX, int offset, int maxIterations) { // To avoid error caused by the floating number, use the following pseudo c...
package com.practice.boardpractice.util; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.boot.test.context.TestComponent; import org.springframework.util.LinkedMultiValueMap; import org.springframework.util.MultiValueMap; import org.s...
/* Profesor: Douglas Leonel Auxiliar: Fernanda Esquivel y Francisco Castillo INTEGRANTES: Sergio Alejandro Orellana Colindres, 221122 Francis Gabriela Aguilar Leal, 22243 Angel Andres Herrarte Lorenzana, 22873 27/01/2023 Hoja de Trabajo 2 - ADT Curso: Algoritmos y Estructuras de datos Sección: 20 Describe la clas...
To understand TCP Connect scans (-sT), it's important that you're comfortable with the TCP three-way handshake. As a brief recap, the three-way handshake consists of three stages. First the connecting terminal (our attacking machine, in this instance) sends a TCP request to the target server with the SYN flag set. The ...
/* CPAL-1.0 License The contents of this file are subject to the Common Public Attribution License Version 1.0. (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://github.com/EtherealEngine/etherealengine/blob/dev/LICENSE. The License is bas...
@mod @mod_facetoface @totara @javascript Feature: Seminar event cancellation trainer can be reassigned After seminar event has been cancelled the trainer can be reassigned to a new event with the same dates Background: Given I am on a totara site And the following "users" exist: | username | firstn...
package com.ogreten.catan.game.controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import com.ogreten.catan.game.domain.Game; import com.ogreten.catan.game.domain.GameLog;...
import { AppDataSource } from './data-source'; import * as express from 'express'; import * as bodyParser from 'body-parser'; import * as cors from 'cors'; import baseRouter from './route'; const HttpError = require('./models/http-error'); class Server { private app; constructor() { this.app = express(); ...
import React, { useEffect, useState } from "react"; import Image from "./img"; import "./content-block.css"; function ContentBlock(props) { const [isMobile, setIsMobile] = useState(false); const handleResize = () => { if (window.innerWidth < 720) { setIsMobile(true); } else { setIsMobile(fals...
<html> <head> <title>index</title> </head> <body> <!-- Judul Artikel menggunakan heading 1 --> <h1>My first HTML Document</h1> <!-- Kalimat perkenalan, nama dibuat tebal dengan tag bold <b></b> dan miring dengan tag italic <i></i> --> <p>Hello, my name is <b><i>Safira</i></b></p> <!-- tag <br> dibuat untuk ...
import React, { useEffect, useState } from "react"; import { emotify } from "./Emotes"; import badWords from "../json/profanity"; export function ItemList(props) { if (props.items.length == 0) { return ( <div className="item-list"> <div className="none-yet">{props.empty}</div> </div> ); } else { le...
import React from 'react' import Header from '../Header/Header'; import Footer from '../Footer/Footer'; import "./AccountInfo.css"; import { useState } from 'react'; const transactions = [ { date: 'June 20th, 2020', description: 'Golden Sun Bakery', amount: "5.00", balance: 2082.79, type: 'Electronic', category: '...
function [no,nc,ins,bracketMisMatch] = brackets(str,cho,chc,chex) % BRACKETS Find brackets and parts of string enclosed in brackets. % % CALL: [no,nc,ins] = brackets(str,cho,chc,chex) % % no = indices to opening characters in str % nc = indices to closing characters in str % ins = mask to parts of string i...
import React from 'react'; import PropTypes from 'prop-types'; const KEYCODE_UP = 38; const KEYCODE_DOWN = 40; const SPEED = 50; const DELAY = 500; class NumericField extends React.Component { /** * @class * @description Set the initial state and create the "_timer" property to contain the * step timer. Th...
/* * Copyright 2006 The Apache Software Foundation. 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 agreed to...
--- title: "\"[Updated] 2024 Approved Green Tactics for Easy YouTube CTA Conversions\"" date: 2024-06-06T15:36:41.350Z updated: 2024-06-07T15:36:41.350Z tags: - ai video - ai youtube categories: - ai - youtube description: "\"This Article Describes [Updated] 2024 Approved: Green Tactics for Easy YouTube CTA Co...
//使用post发送ajax时需要设置 Vue.http.options.emulateJSON = true; const app = new Vue({ el:"#app", data:{ /*学生编号*/ stuId:0, /*姓名输入框*/ stuName:"", /*年龄输入框*/ stuAge:"", /*性别输入框*/ stuGender:"", /*保存返回后的json数据*/ classesData:"", /*下拉...
import * as yup from "yup"; // const MAX_FILE_SIZE = 102400; //100KB // const validFileExtensions = { image: ['jpg', 'gif', 'png', 'jpeg', 'svg', 'webp'] }; // function isValidFileType(fileName, fileType) { // return fileName && validFileExtensions[fileType].indexOf(fileName.split('.').pop()) > -1; // } export con...
package gabriel.dias.exe.configs; import java.math.BigDecimal; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.context.annotation.Configuration; import gabriel.dias.exe.models.Company; import gabriel.d...
# Importing required libraries import numpy as np import math import time import pandas as pd import scipy.linalg import numpy.linalg from scipy.stats import ks_2samp from sklearn.neighbors import NearestNeighbors from sklearn.manifold import Isomap from sklearn.manifold import LocallyLinearEmbedding from sklearn.manif...
--- title: 'Vue3-Pinia' description: 'Pinia 是 Vue.js 的一種狀態管理庫,提供一種輕量且直觀的方式來跨組件共享和管理應用狀態。它使用 Vue 3 的 Composition API,支持 TypeScript,並與 Vue DevTools 完美整合。Pinia 允許開發者為不同部分的應用(如不同頁面或功能模塊)創建單獨的存儲空間,這些存儲空間包含狀態、動作、getters 等,並保持了反應式和可維護性。' pubDate: '2023/11/15' heroImage: '../../assets/vue/vue.webp' category: 'Vue' tags: ['Vue'...
<?php /** * Theme customizer: Custom controls * * @package OZEUM * @since OZEUM 1.0.31 */ // 'info' field //-------------------------------------------------------------------- class Ozeum_Customize_Info_Control extends WP_Customize_Control { public $type = 'info'; public function render_content() { ?><div ...
import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.util.Arrays; import java.util.List; public class Main { public static void main(String[] args) { // 잔돈을 제공하지만, 최대한의 동전의 갯수로 전달하고자 한다. // 이 과정에서 그리디 과정을 사용한다면 정렬은 가장 큰 동전 부...
// Lecture #08 - Object Oriented Programming 02/14/2022 // Riddle flash card game // 15/20 students in attendance, Instrutor: Dr. Charles Thangaraj import java.util.*; import java.math.*; import java.io.*; import java.lang.*; public class RiddleFlashCard extends Object { // Space for any variable that will be used...
import { useState } from 'react' import reactLogo from './assets/react.svg' import viteLogo from '/vite.svg' import './App.css' import Movies from './components/Movies' import NavigationBar from './components/NavigationBar' import { Route, Router ,Routes} from 'react-router-dom' import NotFound from './components/NotFo...
package com.hamburgueria.domain; import java.time.LocalDate; import java.util.List; import com.hamburgueria.enumeration.StatusEnum; import io.quarkus.hibernate.orm.panache.PanacheEntity; import jakarta.persistence.*; @Entity public class Pedido extends PanacheEntity { @ManyToMany(cascade = CascadeType.ALL) @Joi...
using Sirenix.OdinInspector; using UnityEngine; namespace Lessons.AI.Lesson_Commands1 { public abstract class Command : MonoBehaviour { [ShowInInspector, ReadOnly] public bool IsPlaying { get; private set; } private ICallback callback; private ICommandArgs args; [Butt...
using Infraestructure.ApiClients; using Infraestructure.Models; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Moq; using Moq.Protected; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System....
/** portable-hack-ast is MIT licensed, see /LICENSE. */ namespace HTL\Pha\_Private; use namespace HH\Lib\{C, Vec}; use namespace HTL\Pha; final class Index<Tnode as Node, Tkind as Kind> { /** * @param $nodes are sorted by kind, then sub sorted by source order. * @param $ranges values are (start, length). *...
import argparse import datasets from datasets import load_dataset, DatasetDict from transformers import WhisperFeatureExtractor from transformers import WhisperTokenizer from transformers import WhisperProcessor from datasets import Audio import torch import evaluate from dataclasses import dataclass from typing import...
package burt.music.practiseworks.ui.task import androidx.compose.foundation.Image import android.content.Context import android.media.DrmInitData.SchemeInitData import android.util.Log import androidx.activity.compose.BackHandler import androidx.compose.foundation.layout.* import androidx.compose.foundation.rememberSc...
--- title: New In 2024, Unleash Your Creativity MP4 Video Editing Tips and Tricks for Mac and Windows date: 2024-04-29T12:49:40.930Z updated: 2024-04-30T12:49:40.930Z tags: - video editing software - video editing categories: - ai - video description: This Article Describes New In 2024, Unleash Your Creativit...
package ru.kubline.logger.luminicbox { import flash.display.MovieClip; import flash.display.SimpleButton; import flash.events.StatusEvent; import flash.net.LocalConnection; import flash.xml.XMLNode; /* * Copyright (c) 2005 Pablo Costantini (www.luminicbox.com). All rights reserved. * * Licen...
--- sidebar_position: 3 --- # Quickstart Follow these steps to quickly setup and run your first EdgeChains application in the next 10 minutes: ### Initial setup **Step 1:** Download Output.zip by clicking on the Latest Build&Run once you reach the [actions page](https://github.com/arakoodev/EdgeChains/actions) of ...
# _S. aureus_ evolution on atopic dermatitis skin </h1> Here we present the computational code part of the analysis presented in: Felix M. Key, Veda D. Khadka, Carolina Romo-González, Kimbria J. Blake, Liwen Deng, Tucker C. Lynn, Jean C. Lee, Isaac M. Chiu, Maria Teresa García-Romero, Tami D. Lieberman. On-person ...
import React from 'react'; import Dropdown from '@doorward/ui/components/Dropdown'; import { Icons } from '@doorward/ui/types/icons'; import Icon from '@doorward/ui/components/Icon'; import Row from '@doorward/ui/components/Row'; import ModuleEntity from '@doorward/common/entities/module.entity'; import translate from ...
import ProductListItem from "./ProductListItem"; import Spinner from "./Spinner"; import { ProductItemExpended } from "../lib/types"; import { useActiveIdContext } from "../lib/hooks"; type ProductListProps = { filteredProducts: ProductItemExpended[]; isLoading: boolean; }; export function ProductList({ filteredP...
import reducer, {IAllCategoriesState} from './reducer'; import {allCategoriesStart, allCategoriesChangeSort, allCategoriesDelete, allCategoriesError, allCategoriesSuccess} from './actions'; import {IGeneralPaginationResponse} from '../../../interfaces/responses/IGeneralPaginationResponse'; import {ICategory} from '../....
package com.openclassrooms.realestatemanager.utils import org.junit.Test import org.junit.jupiter.api.Assertions import java.text.DateFormat import java.text.SimpleDateFormat import java.util.Date import java.util.Locale import kotlin.math.roundToInt class UtilsTest { @Test @Throws(Exception::class) fun c...
package model.api; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import java.time.LocalDate; import java.util.HashMap; import java.util.List; import java.util.Map; /** * This class implements the API interface and contains all the methods that can...