text stringlengths 184 4.48M |
|---|
<template>
<view class="smodel">
<el-form ref="form" :model="form" :rules="rules" label-width="200rpx" :status-icon=true>
<el-form-item label="模型标识" prop="name">
<el-input v-model="form.name"></el-input>
</el-form-item>
<el-form-item label="模型名称" prop="title">
<el-input v-model="form.title"></el-inp... |
export interface Recipe {
author:RecipeAuthor;
comments:RecipeComments[];
cookTime:PrepTime,
prepTime:PrepTime,
ingredients:Ingredients[],
cuisineType:string,
dietType:string,
mealType:string,
ratings:RecipeRatings,
slug:string,
steps:RecipeStep[],
thumbnailPhoto:string,
... |
"use client";
import React, { useState } from "react";
import { Handle } from "reactflow";
import Image from "next/image";
import { useIfHorizontal } from "../constants/ifHorizontal";
import { useTheme } from "../../themeContext";
const CustomNode = ({ data, isHovered }) => {
const [showDetails, setShowDetails] = u... |
class GetProfilePosts {
final int itemsReceived;
final int curPage;
final int? nextPage;
final int? prevPage;
final int offset;
final int itemsTotal;
final int pageTotal;
final List<ItemPostProfile> items;
GetProfilePosts({
required this.itemsReceived,
required this.curPage,
this.nextPage... |
<?php
namespace Civi\Osdi\ActionNetwork\Matcher;
use Civi\Osdi\ActionNetwork\DonationHelperTrait;
use Civi\Osdi\RemoteObjectInterface;
use Civi\OsdiClient;
use OsdiClient\ActionNetwork\PersonMatchingFixture as PersonMatchFixture;
use OsdiClient\ActionNetwork\TestUtils;
use PHPUnit;
/**
* @group headless
*/
class D... |
package com.HomeSahulat.config.otp;
import com.infobip.ApiClient;
import com.infobip.ApiException;
import com.infobip.ApiKey;
import com.infobip.BaseUrl;
import com.infobip.api.SmsApi;
import com.infobip.model.SmsAdvancedTextualRequest;
import com.infobip.model.SmsDestination;
import com.infobip.model.SmsTextualMessag... |
from io import BytesIO
from datetime import datetime
from unittest.mock import MagicMock, patch
from mcap.records import Schema, Channel, Message
from foxglove.client import Client
from .generate import generate_json_data
def get_generated_data(url, **kwargs):
assert url == "the_link"
class Resp:
... |
const std = @import("std");
const Sha512 = std.crypto.hash.sha2.Sha512;
// TODO: add output param
// TODO: remove length from format
// TODO: add hash of the hashes at the end
// TODO: include filename in hashing
// Generates 'plugin_hash.bin' to be included in annodue.dll via @embedFile
// CLI Arguments:
// -Isr... |
from django.conf import settings
from django.urls import include, path
from django.views.decorators.cache import cache_page
from rest_framework import routers
from .views import (
ContactsView,
ExperienceView,
FeedbackView,
GetAppProgramInterfaceView,
HobbyView,
HomePageView,
LoginUser,
... |
package com.baeldung.jacksonannotation.general.reference;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.junit.Test;
import java.util.Collections;
import static io.restassured.path.json.JsonPath.from;
import static org.assertj.core.api.Assert... |
import React, { useCallback, useEffect, useRef, useState } from 'react';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faBars, faClose } from '@fortawesome/free-solid-svg-icons';
import { NavLink } from 'react-router-dom';
interface NavBarLinkProps {
text: string
url: string
}
con... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* header.h :+: :+: :+: ... |
package gradleproject;
import com.google.common.graph.*;
import java.awt.Color;
class Main {
public static void main(String[] args) {
// Mutable graphs can be changed after we build them
MutableGraph<String> graph =
GraphBuilder.directed().build();
//System.out.println(graph instanceof MutableG... |
import os
import re
from cs50 import SQL
from flask import Flask, flash, redirect, render_template, request, session, url_for
from flask_session import Session
from tempfile import mkdtemp
from werkzeug.security import check_password_hash, generate_password_hash
from helpers import apology, login_required
import json... |
// pages/add.tsx
"use client"
// pages/add.tsx
import React, { useState } from 'react';
import Image from 'next/image';
import { MdAddAPhoto, MdCancel } from 'react-icons/md';
import Swal from 'sweetalert2';
import { useRouter } from 'next/navigation';
import Sidebar from '@/components/Admin/Sidebar';
import Header fr... |
<!DOCTYPE html>
<html lang="es">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">
<link r... |
import { homedir } from 'os';
import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'fs';
import { normalize } from 'path';
import { BrowserWindow } from 'electron';
import { EditorSettings } from '../interfaces/Settings';
export class AppSettings {
private context: BrowserWindow;
private appPath: st... |
import React from "react";
import "antd/dist/antd.css";
// import { DeleteOutlined } from "@ant-design/icons";
import { useState } from "react";
import { Space, Table, Tag, Row, Col, Breadcrumb, Button, Input } from "antd";
import type { ColumnsType, TableProps } from "antd/lib/table";
import ModelCustom from "./ModelC... |
// CSS Reset, comment out if not required or using a different module
// Custom Theming for Angular Material
// For more information: https://material.angular.io/guide/theming
@import '~@angular/material/theming';
// Plus imports for other components in your app.
// Include the common styles for Angular Material. We ... |
import { Directive, HostListener, ElementRef, Renderer2, HostBinding } from '@angular/core';
@Directive({
selector: '[appHighlightMouse]',
})
export class HighlightMouseDirective {
@HostListener('mouseenter') onMouseOver() {
// this.renderer.setStyle(
// this.elementRef.nativeElement,
// 'backgroun... |
import re
import sys
from datetime import datetime
from enum import Enum
from typing import Final
DATE_TIME_FMT = '%b %d %H:%M:%S'
TIME_FMT = '%H:%M:%S'
DATE_FMT = '%b %d'
class Keys(Enum):
FLD_TIME = 'time'
FLD_COMPUTER = 'pc_name'
FLD_SERVICE = 'service_name'
FLD_MSG = 'message'
FLD_DATE = 'dat... |
package com.dji.sdk.cloudapi.map;
import com.dji.sdk.exception.CloudSDKException;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Arrays;
/**
* @author sean
* @version 0.2
* @date 2021/11/30... |
import { EntityManager, Repository } from "typeorm";
import { User } from "../entities/User";
import { ICreateUserDTO } from "../../../dto/ICreateUserDTO";
import { BaseRepository } from "@shared/infra/typeorm/repositories/BaseRepository";
import { injectable } from "inversify";
@injectable()
class UserRepository exte... |
#include <stdio.h>
#include <stdlib.h>
#define TRACKS 100
//bubble sort
void sort(int tracks[], int n) {
int i, j;
for (i = 0; i < n - 1; i++) {
for (j = 0; j < n - i - 1; j++) {
if (tracks[j] > tracks[j + 1]) {
int temp = tracks[j];
tracks[j] = tracks[j + 1... |
import io
import textwrap
def main() -> None:
with open("/tmp/_test_seek0.txt", "w+") as f:
f.write("hello\nworld\n")
f.seek(0)
assert f.readline().strip() == "hello"
assert f.readline().strip() == "world"
input_stream = textwrap.dedent(
"""\
hello
w... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
contract TestMultiCall {
function func1() external view returns (uint, uint) {
return (1, block.timestamp);
}
function func2() external view returns (uint, uint) {
return (2, block.timestamp);
}
function getData1() external ... |
// Join
1. Selezionare tutti gli studenti iscritti al Corso di Laurea in Economia
SELECT `students`.`id`,`students`.`name`, `students`.`surname`
FROM `students`
INNER JOIN `degrees`
ON `degrees`.`id` = `students`.`degree_id`
WHERE `degrees`.`name` = 'Corso di Laurea in Economia';
2. Selezionare tutti i Corsi di Laur... |
<?php
/*
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
function my_theme_enqueue_styles() {
wp_enqueue_style( 'child-style',
get_stylesheet_uri(),
array( 'parenthandle' ),
wp_get_theme()->get( 'Version' ) // This only works if you have Version defined in the style header.
);
*/
function ot_r... |
import fs from 'fs/promises'
import axios from 'axios'
const API_KEY = process.env.API_KEY
interface Locations {
order: number
province: string
name: string
}
async function load() {
const content = await fs.readFile('./_debug.csv', 'utf-8')
const locations: Locations[] = content
.split('\n')
.map... |
"""Demonstrating an example pick and place task"""
from datetime import datetime
import numpy as np
from reachbot_manipulation.core.env import Environment, EnvConfig
from reachbot_manipulation.utils.bullet_utils import initialize_pybullet
from reachbot_manipulation.optimization.stance_planner import StancePlanner
fr... |
/**
* @license Apache-2.0
*
* Copyright (c) 2023 The Stdlib Authors.
*
* 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 a... |
"""
Copyright (c) 2016 Keith Sterling
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 to use, copy, modify, merge, publish, distribute,... |
<template>
<v-container>
<v-row class="pr-5" justify="center" >
<v-col cols="12" md="11">
<v-alert type="info">
Please note that this is a log of the successful password resets made by staff's accounts. This log serves only for record purposes, to help the adm... |
/***************************************************************************
* Copyright (C) 2011 by H-Store Project *
* Brown University *
* Massachusetts Institute of Technology *
* Yale Un... |
<template>
<main aria-label="Sign-up form">
<section>
<article class="formulario">
<p>Sign up</p>
<form @submit.prevent="sendForm" aria-label="Sign-up form">
<label for="name">First name</label>
<input v-model="name" @blur="... |
import 'package:flutter/material.dart';
class GroceryItemTile extends StatelessWidget {
GroceryItemTile(
{Key? key,
required this.itemName,
required this.itemPrice,
required this.imagePath,
this.color,
required this.onPressed})
: super(key: key);
final String itemName;
... |
import com.google.gson.JsonSyntaxException
import com.google.gson.reflect.TypeToken
import model.Film
import model.Session
import model.Ticket
import utils.exception.ExceptionHandler
import utils.extention.toRed
import presentation.CinemaController
import presentation.handler.InputHandler
import service.*
import java.i... |
constant DESCRIPTION = "Drag and Drop Between 2 Treeviews - by Vikram Ambrose";
/* Some sample data for treeview 1. A NULL row is added so we dont
need to pass around the size of the array */
array row_data = ({
({ "row0","item 12", 3, 4.3 }),
({ "row1","item 23", 44,34.4}),
({ "row2","item 33", 34,25.4}),
({ ... |
---
title: "[New] In 2024, Elevating Income with Mobile Video Monetization Techniques for YouTubers"
date: 2024-06-05T14:02:44.238Z
updated: 2024-06-06T14:02:44.238Z
tags:
- ai video
- ai youtube
categories:
- ai
- youtube
description: "This Article Describes [New] In 2024, Elevating Income with Mobile Video Mo... |
init();
function init() {
const $inputs = document.querySelectorAll(".validate-target");
// クラス名にvalidate-targetがついているもの全てをAllで見つけてinputsに格納する
for (const $input of $inputs) {
// inputsの中からinputを取り出しfor文で処理を行う
$input.addEventListener("input", function (event) {
const $target = event.currentTarget;
... |
/*
***** BEGIN LICENSE BLOCK *****
Copyright © 2020 Corporation for Digital Scholarship
Vienna, Virginia, USA
https://www.zotero.org
This file is part of Zotero.
Zotero is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published... |
import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';
export function soloTexto(): ValidatorFn {
return (control: AbstractControl): ValidationErrors | null => {
const textoIngresado: string = control.value || '';
const regex = /^[a-zA-Z\s]*$/;
if (!textoIngresado.match(regex... |
import { camelToSnakeCase } from '@helpers/string';
import knex from 'knex';
import {
DynamicMigrationConfig, DynamicMigrationBuilderConfig, DynamicMigration
} from './types';
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
const buildMakeDynamicMigration = ({ client, defaults, }: Dynam... |
/**
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
/**
* @module typing/twostepcaretmovement
*/
import { Plugin, type Editor } from '@ckeditor/ckeditor5-core';
import { keyCodes } from '@c... |
# Hubitat API
import json
import logging
import requests
from datetime import datetime
logger = logging.getLogger(__name__)
class HubitatAPI:
DEVICE_INFO_URL = '{}/apps/api/{}/devices/{}?access_token={}'
SET_VARIABLE_URL = '{}/apps/api/{}/devices/{}/setVariable/{}?access_token={}'
def __init__(self, co... |
package model;
import interfaces.Match;
import java.util.List;
/**
* ItemMatch class is responsible for finding an item within a given list based on the item's ID.
* It implements the Match interface and provides the matcher method to find items.
*/
public class ItemMatch implements Match {
/**
* Matche... |
<?php
/**
* Magento Enterprise Edition
*
* NOTICE OF LICENSE
*
* This source file is subject to the Magento Enterprise Edition License
* that is bundled with this package in the file LICENSE_EE.txt.
* It is also available through the world-wide-web at this URL:
* http://www.magentocommerce.com/license/enterpris... |
import React, { useState, useEffect } from "react";
import { useMutation } from "@apollo/client";
import { Sheet, Typography, IconButton, Grid } from "@mui/joy";
import { DELETE_PRACTICE_PLAN } from "../../../utils/mutations";
import RegularModal from "../../common/Modal/RegularModal";
import DeleteModalContent from ".... |
import { useAuthContext } from "./useAuthContext";
import { useState } from "react";
import ILogin from "../../models/db/Login";
import { Cookies } from 'react-cookie';
import { useNavigate } from "react-router-dom";
import { useMessageContext } from "./useMessageContext";
import User from "../../models/db/User";
expo... |
import app from "../../salesflare.app.mjs";
export default {
props: {
app,
startDate: {
type: "string",
label: "Start Date",
description: "Start date. Must be in ISO format. e.g. `2019-08-24T14:15:22Z`",
optional: true,
},
probability: {
type: "string",
label: "Pro... |
<!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>
<link rel="stylesheet" href="./styles/reset.css" />
<link rel="stylesheet" h... |
/* eslint-disable react/display-name */
import React from 'react';
import DatePicker from 'react-datepicker';
import Button, { ButtonProps } from '@material-ui/core/Button';
import 'react-datepicker/dist/react-datepicker.css';
interface Props {
selectedDate: Date | null;
startDate: Date | null;
endDate: Date | ... |
import React, { RefObject, useEffect, useRef, useState } from 'react';
import styled, { keyframes } from 'styled-components';
import WorkCord, { WorkProps } from '../components/work/WorkCord';
import Me from '../assets/Images/profile.png';
import Netflix from '../assets/Images/netflix-logo.png';
import { useRecoilState... |
syntax = "proto3";
package api;
option go_package = "/beverage";
service BeveragesManagement {
rpc CreateBeverage(CreateBeverageRequest) returns (Beverage);
rpc GetBeverages(GetBeveragesParams) returns (BeverageList);
}
enum BeverageType {
BEVERAGE_TYPE_UNSPECIFIED = 0;
BEVERAGE_TYPE_BEER = 1;
BEVE... |
'use client';
import { BarChart, Compass, Layout, List } from 'lucide-react';
import { SidebarItems } from './sidebar-item';
import { usePathname } from 'next/navigation';
const guestsRoutes = [
{
icon: Layout,
label: 'Dashboard',
href: '/',
},
{
icon: Compass,
label: 'Browse',
href: '/s... |
import torch
import torch.nn as nn
import torch.nn.functional as F
# from torch.tensor import Tensor
from utils.test_env import EnvTest
from q4_schedule import LinearExploration, LinearSchedule
from core.deep_q_learning_torch import DQN
from configs.q6_nature import config
class NatureQN(DQN):
"""
Implementi... |
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
#
# SPDX-License-Identifier: MPL-2.0
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, you can obtain one at https://mozilla.org/MPL/2.0/.
#
# See the COPYRIGHT ... |
package com.sy.bhid.bk
import com.sy.bhid.utils.HidUtils
import android.annotation.SuppressLint
import android.bluetooth.BluetoothDevice
import android.bluetooth.BluetoothHidDevice
import android.bluetooth.BluetoothHidDeviceAppQosSettings
import android.bluetooth.BluetoothHidDeviceAppSdpSettings
import android.bluetoo... |
import { Modal, Popconfirm, Space, Table } from "antd";
import React, { useState } from "react";
import { toast } from "react-toastify";
import "react-toastify/dist/ReactToastify.css";
import { DeleteInsurance } from "../../../services/insurance";
import MyButton from "../../common/MyButton";
import EditInformation fro... |
package bme.spoti.redflags.ui.ingame.screens.sabotage
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.co... |
import React from 'react'
type Props = {
title: string
content: string
commentsQty: number
tags: string[]
}
const Destructuring = ({title, content, commentsQty, tags}: Props) => {
return (
<div>
<h2>{title}</h2>
<p>{content}</p>
<p>Quantidade de comentários: {commentsQty}... |
/*
* Copyright 2023 Roman Likhachev
*
* 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 applic... |
import React from 'react';
import { PAGES } from '../constants/PAGES';
import { useDispatch, useSelector } from 'react-redux';
import { selectPage } from '../utils/selectors';
import { definePage } from '../features/page.action';
export function SettingsSidebar() {
const dispatch = useDispatch();
const pa... |
package tests
import (
"bytes"
"context"
"encoding/json"
"fmt"
"net/http/httptest"
"testing"
"github.com/stretchr/testify/assert"
"github.com/volatiletech/sqlboiler/v4/boil"
"github.com/hyuabot-developers/hyuabot-backend-golang/database"
"github.com/hyuabot-developers/hyuabot-backend-golang/dto/responses"
... |
import clsx from "clsx";
import { ComponentPropsWithRef, ReactNode, forwardRef } from "react";
export interface ButtonProps extends ComponentPropsWithRef<"button"> {
variant?: "solid" | "outline" | "ghost" | "link";
/**
* Used for buttons which initiate an asynchronous action
* This can set a loading state a... |
package com.example.demo.service;
import com.example.demo.assembler.SalesAssembler;
import com.example.demo.domain.Client;
import com.example.demo.domain.Product;
import com.example.demo.domain.Sales;
import com.example.demo.dto.SaleDto;
import com.example.demo.dto.SaleReturnDto;
import com.example.demo.repository.Cli... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2017 Jakob Hendeß
*
* 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
* to use,... |
<template>
<li class="cart__item product">
<div class="product__pic">
<img :src="item.product.image.file.url" width="120" height="120" :alt="item.product.title" />
</div>
<h3 class="product__title">{{ item.product.title }}</h3>
<p class="product__info product__info--color">
<span>
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- REACT LIBRARY -->
<script src="https://unpkg.com/react@15.5.4/dist/react.js"></script>
<!-- REACT DOM LIBRARY -->
... |
// @ts-nocheck
import axios, { AxiosError } from "axios";
import { BASE_URL } from "@constants/config";
import { getItem } from "@utils/storage";
import { logout } from "@actions/authAction";
import { store } from "@store";
import { navigate } from "@navigation";
import ROUTES from "@navigation/Routes";
export const ... |
import React, { useEffect, useState } from 'react';
import { Link, useNavigate, useParams } from 'react-router-dom';
import { useQuery } from '@tanstack/react-query';
import useAxiosPrivate from '../../Hooks/useAxiosPrivate';
import { useDispatch, useSelector } from 'react-redux';
import { selectSelectedCategory } from... |
package com.atguigu.springcloud.controller;
import com.atguigu.springcloud.entities.CommonResult;
import com.atguigu.springcloud.entities.Payment;
import com.atguigu.springcloud.lb.LoadBalancer;
import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.client.ServiceInstance;
import org.springframework.cloud.... |
---
solution: Journey Optimizer
product: journey optimizer
title: Adobe Campaign v7/v8 actions
description: Learn about Adobe Campaign v7/v8 actions
feature: Actions
topic: Administration
role: Admin
level: Intermediate
keywords: journey, integration, campaign, v7, v8, classic
exl-id: 3da712e7-0e08-4585-8ca4-b6ff79df0b... |
/*
* Array with size
*
* @author: Gabriel-AB
* https://github.com/Gabriel-AB/
*
* Usage:
* call `ARRAY_TYPEDEF(type)` before all the code
* and use `typeArray` as your a array of type
*
* Ex:
* ARRAY_TYPEDEF(int);
* intArray array1 = ARRAY_CREATE(int, {1,2,3});
* intArray array2 = ARRAY_ALLO... |
<template>
<div class="layout-sider h-full bg-gray-800">
<a-menu class="bg-gray-800" accordion :auto-open-selected="true" :level-indent="40" style="height: 100%">
<template v-for="route in menuList" :key="route.key">
<a-menu-item v-if="!route.children || !route.children.length" :key="route.key" @cli... |
import React, { useEffect, useRef, useState } from "react";
import MyButton from "../UI/button/MyButton.jsx";
import MyInput from "../UI/input/MyInput.jsx";
import TrackList from './TrackList.jsx'
const MusicPlayer = ({ tracks }) => {
const [trackID, setTrackID] = useState(null)
const [trackProgress, setTrack... |
import torch
from torch import nn
import torch.nn.functional as F
class ConvBlock(nn.Module):
def __init__(self, input_ch=3, output_ch=64, activf=nn.ReLU, bias=True):
super().__init__()
self.conv1 = nn.Conv2d(input_ch, output_ch, 3, 1, 1, bias=bias)
self.conv2 = nn.Conv2d(output_ch, outp... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... |
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using PracticeCalendar.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PracticeCalendar.Infrastructure.Persistence
{
public class ApplicationDbCon... |
<template>
<div id="nav" v-if="isAuthenticated">
<router-link to="/home">Home</router-link> |
<router-link to="/profile">Profile</router-link> |
<router-link to="/user/list">Daftar User</router-link> |
<router-link to="/" @click="logOut" >Logout</router-link>
</div>
<div id="nav" v-if="!isAuthenti... |
import { FunctionComponent, useMemo, type CSSProperties } from "react";
import styles from "./Elements2on.module.css";
type Elements2onType = {
icon?: string;
vector?: string;
prop?: string;
/** Style props */
elements2onPosition?: CSSProperties["position"];
elements2onWidth?: CSSProperties["width"];
el... |
import {useDispatch, useSelector} from "react-redux";
import {AppDispatch} from "@store/index";
import {
selectIsPlaying,
selectNext,
selectPlayMode,
selectPrev,
selectSeek,
selectCurrent,
setSeek,
setCurrent,
addToQueue,
selectQueue,
setAudioList
} from "@store/slices/player-status.slice";
import... |
import 'package:flutter/material.dart';
class Indicator extends StatelessWidget {
const Indicator({
super.key,
required this.color,
required this.title,
required this.description,
required this.isSquare,
this.size = 16,
this.textColor = const Color(0xff505050),
});
final Color color;
... |
---
description: "Bagaimana Menyiapkan Semur Telur Terong yang Enak Banget"
title: "Bagaimana Menyiapkan Semur Telur Terong yang Enak Banget"
slug: 954-bagaimana-menyiapkan-semur-telur-terong-yang-enak-banget
date: 2020-08-18T05:03:08.903Z
image: https://img-global.cpcdn.com/recipes/fd19c2c2024203fb/751x532cq70/semur-t... |
import Element from "./DashElement";
import ebayLogo from '../images/ebay-logo.png';
import listed from './hooks/listed';
import time from './hooks/time'
const Table = ({currentRecords}) => {
return (
<>
{currentRecords.map((data, key) => {
return(
<tr key={... |
<html>
<head>
<title> Booth Sentiment</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<!--<script src="static/d3/d3.min.js" charset="utf-8"></script>
<script sr... |
US010
Feature: Mapa GPS
Como <usuario> quiero visualizar el mapa
del centro recreacional para facilitar mi recorrido
Scenario:Usuario que compró entradas en la aplicación accede a "Mapa GPS"
Dado que el <usuario> se encuentra en el centro recreacional
Y presiona <Mapa GPS>
Y act... |
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import '../providers/products.dart';
class ProductDetailScreen extends StatelessWidget {
static const routeName = '/product-detail';
@override
Widget build(BuildContext context) {
final productId =
ModalRoute.of(contex... |
import Head from "next/head";
import Image from "next/image";
import styles from "../styles/Home.module.css";
import Link from "next/link";
import React, { useEffect, useState, useRef } from "react";
import Web3Modal from "web3modal";
import {
GOVT_DAO_CONTRACT_ADDRESS,
GOVT_DAO_CONTRACT_ABI,
GD_TOKEN_ADDRESS,
... |
//
// Alerts.swift
// Gazelle
//
// Created by Angela Li Montez on 5/15/23.
//
import Foundation
import UIKit
extension UIViewController {
func showLoginAlert(description: String?) {
let alertController = UIAlertController(title: "Unable to Log in", message: description ?? "Unknown error", preferr... |
import { Collapse, List, ListItemButton, ListItemIcon, ListItemText, Typography } from "@mui/material";
import { useState } from "react";
import ExpandLessOutlinedIcon from '@mui/icons-material/ExpandLessOutlined';
import ExpandMoreOutlinedIcon from '@mui/icons-material/ExpandMoreOutlined';
import { SidebarItem } from ... |
package Entites;
import java.util.HashSet;
import java.util.Set;
import jakarta.persistence.Column;
import jakarta.persistence.DiscriminatorColumn;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import jakarta.p... |
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { t... |
import 'dart:convert';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:get/get.dart';
import 'package:quiz_app/firebase_ref/loading_status.dart';
import 'package:quiz_app/firebase_ref/reference.dart';
import 'package... |
"use client";
import { zodResolver } from "@hookform/resolvers/zod";
import { useForm, type DefaultValues } from "react-hook-form";
import * as z from "zod";
import { trpc } from "@/app/_trpc/client";
import { cn } from "@/lib/utils";
import { CalendarIcon } from "@radix-ui/react-icons";
import { format } from "date-... |
#pragma once
#include <SFML/Graphics.hpp>
using namespace sf;
class Player
{
private:
const float START_SPEED = 200;
const float START_HEALTH = 100;
//player position
Vector2f m_pos;
//player sprite
Sprite m_sprite;
//player texture
Texture m_texture;
//screen resolution
Vector2f m_resolution;
//arena... |
# Related Applications
The `prefer_related_applications` member is a boolean value that specifies that applications listed in `related_applications` should be preferred over the web application.
If the `prefer_related_applications` member is set to `true`, the user agent might suggest installing one of the related ap... |
package Section;
use 5.006;
use strict;
use warnings;
=head1 NAME
Section
=head1 VERSION
Version 0.04
=cut
our $VERSION = '0.04';
=head1 SYNOPSIS
Section Object
use Section;
my $section = Section->new(
raw_data => "TITLE: An odd event
[1429.123.0457] Nowhere
Al looked again, and... |
import {
View,
Image,
Pressable,
Text,
StyleSheet,
ScrollView,
} from 'react-native';
import { LinearGradient } from 'expo-linear-gradient';
import { MaterialIcons } from '@expo/vector-icons';
import { useNavigation } from '@react-navigation/native';
import { NativeStackNavigationProp } from '@r... |
# s2_change
Input sentinel 2 imagery and detect change
Change Detect Solo Project Workflow
Justin Fowler
last update 05/31/2024
1.access_sentinel_data dir: search_for_gran.py and download_seninel.py
search_for_gran.py:
input s2 gran, and exports to .csv all the s2 files that were in parameters
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.