text stringlengths 184 4.48M |
|---|
<template>
<div
class="grid grid-cols-1 md:grid-cols-2 gap-y-2 md:gap-x-8"
:class="{ 'mx-6': this.$root.isMobile }"
>
<div class="flex flex-col justify-center w-full text-gray-700 md:px-8">
<h1 class="mb-6 text-xl font-medium md:text-3xl md:mb-11">
Tu auto en <span class="font-semibold tex... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
namespace Custom
{
/// <summary>
/// A height map generator that simulates a designer following the planning policies.
/// This is for testing the capabilities of the system when using ML Agents.
/// In futur... |
import { createContext, useEffect, useState } from 'react';
import { Container, createTheme, CssBaseline, ThemeProvider, Typography } from '@mui/material';
import Footer from './components/footer/footer';
import Rankings from './components/rankings/rankings';
const darkTheme = createTheme({
palette: {
mode... |
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:outlet_insight/controllers/binder.dart';
import 'package:outlet_insight/controllers/home_page_controller.dart';
import 'package:outlet_insight/controllers/shared_preference... |
//
// ContentView.swift
// CountirsUsingGraphQl
//
// Created by NourAllah Ahmed on 24/01/2023.
//
import SwiftUI
struct ContentView: View {
@State var countries :[AllCountriesQuery.Data.Country] = []
var body: some View {
NavigationView{
List... |
import { yupResolver } from "@hookform/resolvers/yup";
import * as Location from "expo-location";
import React, { useEffect, useState } from "react";
import { Controller, useForm } from "react-hook-form";
import {
RegisterStepFinalFormValues,
registerStepFinalSchema,
} from "./registerValidationSchemas";
import B... |
import type {
ViewFieldBooleanMetadata,
ViewFieldChipMetadata,
ViewFieldDateMetadata,
ViewFieldMetadata,
ViewFieldMoneyMetadata,
ViewFieldNumberMetadata,
ViewFieldRelationMetadata,
ViewFieldTextMetadata,
ViewFieldURLMetadata,
} from '@/ui/editable-field/types/ViewField';
import {
IconBrandLinkedin,
... |
package com.example.aswe.demo.controllers;
import java.util.Date;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.crossstore.ChangeSetPersister.NotFoundException;
import org.springframe... |
// The module 'vscode' contains the VS Code extensibility API
// Import the module and reference it with the alias vscode in your code below
import fs = require('fs');
import path = require('path');
import * as vscode from 'vscode';
import * as commands from './config/commands';
import { SnippetsManager } from './snipp... |
/**
* Copyright (C) 24/01/2015 Patrick
*
* 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 ag... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>图片懒加载</title>
<style>
div,ul,li,img{margin:0; padding:0; list-style:none;}
li{ width:640px; height:480px; background:url(../../image/7.gif) center center no-repeat; background-size:442px 244px;}
img{ width:100%; }
</style>
</head>
<body>
<h1>图片懒加载、延迟加载:延迟加载... |
function Inrg = getRhoFDM (Inrg,T)
% < Description >
%
% Inrg = getRhoFDM (Inrg,T)
%
% Construct the full density matrix (FDM) in the basis of both discarded
% and kept states, for given temperature T.
%
% < Input >
% Inrg : [struct] NRG information obtained after running NRG_1channel.
% T : [number] Temperature. Here ... |
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:task_back4app/components/loader_dialog.dart';
import 'package:task_back4app/components/text_form_field.dart';
import 'package:task_back4app/providers/user_provider.dart';
class SignupPage extends StatefulWidget {
final V... |
import {
DirectiveLocation as GraphQLDirectiveLocation,
DirectiveLocationEnum,
} from "graphql";
import { isSpecifiedScalarType } from "./resolvers";
import { TypeName, TypeReference, typeNameFromReference } from "./reference";
// Perf: const enums are inlined in the build (+small integers are stored on the stack ... |
import hou
import viewerstate.utils as su
import json
import time
class AnimationHelper:
def __init__(self, tick_callback=None):
self.animation_duration = 0.3
self.wait_time = 1.0
self.data = {}
self.tick_callback = tick_callback
for c in hou.ui.eventLoopCallbacks()... |
#include "result.h"
#include <font.h>
#include <glm/gtc/matrix_transform.hpp>
namespace game {
Result::Result(int height, SDL_Window *window,
game::Background &background, engine::Font &font)
: Scene(height, window),
background{background},
font(font) {}
void Result::startup(Fight::W... |
<!doctype html>
<html lang="">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>web-tour Demo</title>
<script src="../webcomponentsjs/webcomponents.min.js"></script>
<link rel="import" href="web-tour.html">
<style type="text/css">
... |
// Copyright 2024 The MediaPipe 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 applicable law or a... |
1.关系型数据库:
建立在关系模型基础上,由多张相互连接的二维表组成的数据库
优点:使用表存储数据,格式统一,便于维护
使用sql语言操作,标准统一,使用方便
2.SQL:
1.sql语句不区分大小写
2.单行注释:—或者#,多行注释:/**/
3.sql语句分类:
1.DDL语句:数据定义语言,用来定义数据库对象(数据库,表,字段)
2.DML语句:数据操作语言,用来对数据表中的对象进行增删改
3.DQL语句;数据查询语句,用来查询数据表中的记录
4.DCL语句:数据控制语句,用来创建数据库用户,... |
import { Avatar, Headline, List, Text, Title, useTheme } from "react-native-paper";
import { Platform, StyleSheet, View } from "react-native";
import BottomSheet from "../components/bottomSheet";
import { GradeItem } from "../components/content/gradeItem";
import { Ionicons } from "@expo/vector-icons";
import { LaCard... |
import 'package:flutter/material.dart';
import '../widgets//player.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
c... |
package ru.yandex.practicum.filmorate;
import lombok.RequiredArgsConstructor;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase;
import org.springframework.boot.test.context.SpringBootTest;... |
/**
* Select an option of a select element
* @param {String} selectionType Type of method to select by (name, value or
* text)
* @param {String} selectionValue Value to select by
* @param {String} selectElem Element selector
*/
module.exports = (selectionType, selec... |
****premutations****
// Given a permutation length, what is the ith permutation?
vector<ll> nthPerm(ll len, ll nth) {
vector<ll> identity(len), perm(len);
lp(i, len) identity[i] = i;
for (int i = len - 1; i >= 0; --i) {
ll p = nth / Fact[i];
perm[len - 1 - i] = identity[p];
identity.erase(identity.begin() + p... |
<template>
<div class="mdl-grid textfieldCorrection newwordnote">
<p class="mdl-cell mdl-cell--12-col"
v-on:click="jumpMarkText">{{selectedtext}}</p>
<form class="mdl-cell mdl-cell--8-col">
<div class="mdl-textfield mdl-js-textfield textfieldCorrection">
<compo... |
---
layout: post
title: Column menu in Vue Grid component | Syncfusion
description: Learn here all about Column menu in Syncfusion Vue Grid component of Syncfusion Essential JS 2 and more.
control: Column menu
platform: ej2-vue
documentation: ug
domainurl: ##DomainURL##
---
# Column menu in Vue Grid component
The co... |
#include <iostream>
#include "../color.h"
#include "../vec3.h"
#include "../ray.h"
#include <iostream>
color ray_color(const ray& r){
vec3 unit_direction = unit_vector(r.direction());
auto a = 0.5 * (unit_direction.y() + 1.0);
return (1.0 - a) * color(1.0, 1.0, 1.0) + a*color(0.5, 0.7, 1.0);
}
int main() {
d... |
#include <iostream>
#include <sstream>
#ifndef USE_MPI
#define BOOST_TEST_MODULE testDemandSDDP
#endif
#define BOOST_TEST_DYN_LINK
#ifdef USE_MPI
#include <boost/mpi.hpp>
#endif
#define _USE_MATH_DEFINES
#include <math.h>
#include <boost/test/unit_test.hpp>
#include <Eigen/Dense>
#include "reflow/core/grids/OneDimRegul... |
import { IconType } from 'react-icons'
import clsx from 'clsx'
import { Anchor, AnchorProps } from '~/components/anchor'
type InheritFromAnchorProps = Omit<Omit<AnchorProps, 'children'>, 'underline'>
export interface SocialLinkCardProps extends InheritFromAnchorProps {
icon: IconType
title: string
social: 'twi... |
(function(factory) {
if (typeof define === 'function' && define.amd) {
define(['underscore', 'blockly-bq', 'blockly.blocks'], factory);
} else {
factory(_, window.Blockly, window.Blocks);
}
}(function(_, Blockly, Blocks) {
var load = function(options) {
if (window.FacilinoAdvanced===true)
{
Blockly.Ardu... |
import { InputType, Float, Field } from "@nestjs/graphql";
import { IsNotEmpty, IsOptional, IsPositive } from "class-validator";
@InputType()
export class CreateCocineroInput {
@Field(() => String)
@IsNotEmpty()
nombre: string;
@Field(() => Float)
@IsPositive()
sueldoBasico: number;
@Field(() => Boolea... |
# 22 UX Writing The Voice and Tone Part 1
## _Resume_
Pada materi ini, saya mempelajari :
```
1. Apa itu Microcopy
2. Voice and Tone Design
3. Conversational Writing
```
# Apa itu Design System
Menurut Kinneret Yiffrah, microcopy adalah kata atau frasa di UI yang terkait langsung dengan tindakan yang dilakukan user :... |
import type { PuppetInstance } from '../index';
export async function setOrgIpPools(options: {
puppetInstance: PuppetInstance;
orgId: number;
orgPublicId: string;
poolId: string | string[];
}): Promise<{
orgId: number;
pools: string[];
}> {
try {
const poolIds = Array.isArray(options.poolId)
? ... |
import mysql.connector
import GuiDBConfig as guiConf
class MySQL():
# class attribute
GUIDB = 'GuiDB'
# ------------------------------------------------
def connect(self):
# connect by unpacking dictionary credentials
conn = mysql.connector.connect(**guiConf.dbConfig)
# create... |
let weather = {
"apiKey": "6cf35140277e3103ec57d264df4cddff",
fetchWeather: function (city) {
fetch(
"https://api.openweathermap.org/data/2.5/weather?q="
+ city
+ "&appid="
+ this.apiKey
).then((response) => response.json()
).the... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use Illuminate\Support\Facades\Auth;
class LoginController extends Controller
{
/*
|------------------------------------------------------... |
require 'rails_helper'
feature 'User can delete links added to their question', %q{
In order to delete wrong link
As a question's author
I'd like to be able to delete links
} do
given(:user) { create(:user) }
given!(:question) { create(:question, :with_link, author: user) }
given!(:other_question) { creat... |
import { Component, OnInit } from '@angular/core';
import {Cliente} from '../../shared/model/cliente';
import {ActivatedRoute} from '@angular/router';
import {ClienteService} from '../../shared/services/cliente.service';
@Component({
selector: 'app-cadastro-cliente',
templateUrl: './cadastro-cliente.component.html... |
/*
* Copyright (c) 2021-2023 Huawei Device Co., 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... |
import React, { useEffect, useState } from 'react';
import { Layout, Menu } from 'antd';
import { useRouter } from 'next/router';
import HeaderDashboard from './HeaderDashboard';
import { PreImage } from '@/components/common/PreImage';
import { useAppDispatch } from '@/hooks/useRedux';
import { getCookie } from 'cookie... |
/**
* TASK 1
*
* @param {number} num - number that must be reversed
* @returns {number} - reversed number
*
*/
function reverseNum(num){
let digit, reversedNum = 0;
while (num) {
digit = num % 10;
reversedNum = (reversedNum * 10) + digit;
num = num/10 | 0; // using bitwise opera... |
import argparse
import numpy as np
import pandas as pd
import sys
import random
from functools import partial
from collections import defaultdict
from sklearn import metrics
from multiprocessing import Pool
import load_data as ld
import set_analysis_func as func
if __name__=='__main__':
parser = argparse.Argumen... |
# Copyright (c) Microsoft. All rights reserved.
import semantic_kernel as sk
from semantic_kernel.connectors.ai.open_ai import OpenAIChatCompletion
from semantic_kernel.core_plugins import (
MathPlugin,
TextPlugin,
TimePlugin,
)
from semantic_kernel.planners import ActionPlanner
async def main():
ker... |
// SPDX-License-Identifier: agpl-3.0
pragma solidity ^0.8.0;
import {IERC20} from '../interfaces/IERC20.sol';
import {IStakedTokenV2} from '../interfaces/IStakedTokenV2.sol';
import {ERC20} from '../lib/ERC20.sol';
import {DistributionTypes} from '../lib/DistributionTypes.sol';
import {SafeERC20} from '../lib/SafeERC... |
<!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>Set</title>
<script>
/*
Set
-Set用来创建一个集合
- 它的功能和数组类似... |
import React from 'react'
import { QueryClient } from 'react-query'
import { offerResponseSnap } from 'features/offer/api/snaps/offerResponseSnap'
import { reactQueryProviderHOC } from 'tests/reactQueryProviderHOC'
import { CustomRenderOptions, render } from 'tests/utils/web'
import { OfferPartialDescription } from '... |
# Travailler avec Python
Pour pouvoir utiliser un langage de programmation, on a besoin d'un [IDE](https://fr.wikipedia.org/wiki/Environnement_de_d%C3%A9veloppement) (environnement de développement). Il en existe beaucoup...
## En ligne
Sur l'ENT, lancer l'application **Capytale**.
{: .center}
Pu... |
<!DOCTYPE html>
<html lang="pt-br">
<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>
<!-- cdn fontawesone -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.c... |
/*
* Copyright (c) Code Developed by Prof. Fabio Ciravegna
* All rights Reserved
*/
package it.torino.tracker.data_upload.data_senders
import android.content.Context
import android.util.Log
import it.torino.tracker.Repository
import it.torino.tracker.data_upload.HttpsServer
import it.torino.tracker.tracker.sensors... |
package com.example.authentication.controller;
import com.example.authentication.dto.PermissionHandler;
import com.example.authentication.model.Permission;
import com.example.authentication.model.STUser;
import com.example.authentication.repository.UserRepo;
import com.example.authentication.service.PermissionServiceI... |
// **********************************************
// ******************* PART 1 *******************
// **********************************************
// Create a variable called highScore that can be a number OR a boolean
let highScore : number | boolean;
highScore = 30;
highScore = true;
// **************************... |
package com.example.maternalhealthriskprediction;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import c... |
<template lang="pug">
p.text-error(v-if="errors.length" v-for="error in errors") {{ error }}
form.form-horizontal(@submit="submitForm")
.form-group
.col-3
label.form-label Description
.col-9
input.form-input(type="text" v-model="description" placeholder="Type picture description...")
.form-grou... |
---
title: Créer des formes et des mises en page de documents visuellement impressionnantes
linktitle: Créer des formes et des mises en page de documents visuellement impressionnantes
second_title: API de gestion de documents Python Aspose.Words
description: Créez des mises en page de documents visuellement époustoufla... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Sort</title>
</head>
<body>
<script>
var arr1 = [43, 54, 4, -4, 84, 100, 58, 27, 140];
var arr2 = ['apple', 'dog', 'cat', 'car', 'zoo', 'orange', 'airplane'];
var arr3 = [[10, 14], [16, 60], [7, 44], [26, 35], [22, 63]];
var a... |
import { Injectable } from '@angular/core';
import { Http } from '@angular/http';
import { Parser } from './parser';
import { Channel } from './channel';
import { ChannelService } from './channel.service';
import { StorageService } from './storage.service';
@Injectable()
export class ParserService {
private parser: ... |
<a name="readme-top"></a>
<h1 align="center"> JavaScript Basics for Beginners </h1>
<img src="https://github.com/ahmedeid6842/cheat-sheet/assets/57197702/bd580e39-bae5-4d17-b9a2-e14a01cd5347" />
- [Basics](#section-1--basics)
- [Variable types](#there-are-two-types-of-variables--primitive-and-reference-data-type)... |
# ProGen <img align="right" src=".github/assets/PG1-4-3-1.png" alt="drawing" width="60" />
[](https://github.com/kozmod/progen/actions/workflows/test.yml)
[](https://... |
/*
* Copyright 2024 MusicScience37 (Kenta Kabashima)
*
* 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 applica... |
import io
import os
import random
import numpy as np
import onnxruntime as ort
import telebot
from dotenv import load_dotenv
from PIL import Image
from telebot import types
from utils import CLASSES, PATH_TO_MODEL, TRANSFORM
load_dotenv()
tg_token = os.getenv('tg_token')
bot = telebot.TeleBot(tg_token)
bot.set_my_... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">Manage Questionnaire</div>
<div class="card-body">
... |
<?php
namespace App\Http\Requests\Admin;
use Illuminate\Foundation\Http\FormRequest;
class StoreLetterRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
... |
package commands
import (
"fmt"
"github.com/nknorg/nkn/v2/common"
nknwallet "github.com/omani/nkn-wallet"
"github.com/spf13/cobra"
)
var transferCmd = &cobra.Command{
Use: "transfer",
Short: "Transfer funds to another NKN address",
PreRun: func(cmd *cobra.Command, args []string) {
cmd.MarkFlagRequired("in... |
<template>
<h1 class="my-4 text-3xl font-bold text-white">忘記密碼</h1>
<form>
<div v-if="step === 1" class="flex flex-col">
<label class="text-white" for="email">信箱</label>
<input
v-model="v$.userEmail.$model"
type="text"
class="rounded border p-1"
:class="{ 'mb-4': !v$... |
@php
function rupiah($angka)
{
$hasil_rupiah = 'Rp' . number_format($angka, 0, ',', '.');
return $hasil_rupiah;
}
@endphp
@extends('base.administrator')
@section('css')
<link rel="stylesheet" href="https://cdn.datatables.net/1.13.7/css/dataTables.bootstrap5.min.css">
<link rel="sty... |
import { RequestHandler } from 'express';
import { Doctor } from '../models/doctor';
// RequestHandler es responsable de manejar una solicitud HTTP, realizar alguna lógica de servidor (como interactuar con la base de datos),
// y finalmente enviar una respuesta al cliente
export const getDoctors: RequestHandler = asy... |
<app-page-banner [title]="title" [subTitle]="subTitle"></app-page-banner>
<main>
<header class="main-header">
<p>
Please use the form below to register and apply for the National Identification Card.
Fill in all the fields that are marked required. In-case you captured some of y... |
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:url var="changeAppointment" value="/controller?command=change_appointment"/>
<fmt:setLocale value="${locale}" scope="s... |
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "TP_WeaponComponent.generated.h"
class AFPSCharacter;
UCLASS(Blueprintable, BlueprintType, ClassGroup = (Custom), meta = (BlueprintSpawnableComponent))
class FPS_API UTP_WeaponCom... |
const db = require('./db')
const express = require('express')
const cors = require('cors')
const authenticator = require('./authenticator')
const app = express()
const authenticate = authenticator({
test_payload_email: process.env['TEST_PAYLOAD_EMAIL'],
jwks_uri: 'http://127.0.0.1:5556/dex/keys'
})
app.use(requir... |
package com.gracedian.explorebojonegoro.ui.dashboard.home.fragmentdetail.adapter
import android.os.Bundle
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import androidx.viewpager2.adapter.FragmentStateAdapter
import com.gracedian.explorebojonegoro.ui.dashboard.home.fragmentdetail.f... |
#' @name authorModalAdd
#' @title authorModalAdd
#' @description Opens dialogue to add new authors item.
#' @param id Namespace identifier.
#' @return HTML source code.
#' @export
authorModalAdd <- function(id = "authors") {
cat("authorModalAdd\n")
ns <- NS(id)
modalDialog(title = "Add author to model",
... |
//
// String+Extensions.swift
// DCUProject
//
// Created by Yuri on 29/04/2022.
//
import Foundation
extension String {
var isValidEmail: Bool {
NSPredicate(format: "SELF MATCHES %@", "[A-Z0-9a-z._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}").evaluate(with: self)
}
var isValidPassword: Bool {
... |
declare global {
interface Window {
tb: any;
}
}
window.tb = window.tb || {};
declare let Threebox: any;
import { ElementRef, Injectable } from '@angular/core';
import { Map, LngLatBoundsLike, LngLatLike, MapMouseEvent } from 'mapbox-gl';
import { MapState } from './map.state';
import { centroid } from '@tur... |
package service
import (
"context"
"time"
pb "bibirt-api/api/user/v1"
"bibirt-api/internal/biz"
"bibirt-api/internal/conf"
"bibirt-api/pkg/util"
"github.com/gofrs/uuid"
"github.com/golang-jwt/jwt/v5"
)
type AuthService struct {
pb.UnimplementedAuthServer
uc *biz.UserUseCase
tc *biz.TokenUseCase
con... |
import AudioVideoMedia, {
AudioVideoMediaStatus,
} from '@core/shared/domain/value-objects/audio-video-media.vo';
import { VideoId } from './video.aggregate';
import MediaFileValidator from '@core/shared/domain/validations/media-file.validator';
import { Either } from '@core/shared/domain/either';
import MediaFileS... |
package com.miraeldev.account.presentation.screens.editProfileScreen
import android.content.res.Configuration
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import android... |
use clap::{command, Args, ValueEnum, Subcommand};
use serde::{Deserialize, Serialize};
use std::fs;
use crate::{
mapper::{find_environment, find_parent_environment},
prelude::*,
};
/// Get information about an environment
#[derive(Debug, Args, Clone)]
#[command(arg_required_else_help = true)]
pub struct Comm... |
# Write a function that takes an array of numbers (integers for the tests) and a target number. It should find two different items in the array that, when added together, give the target value. The indices of these items should then be returned in a tuple / list (depending on your language) like so: (index1, index2).
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>
Untitled
{{#if (eq type 'blog')}}
{{#if (eq blogType 'list')}}
- Blog ({{totalEntries}} entries)
- Page {{math currentPage '+' 1}}
(entries
{{math ... |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright held by original author
\\/ M anipulation |
------------------... |
---
title: "Unlock Full Potential of Windows Photos App with Sound & Filter Upgrades for 2024"
date: 2024-06-04T15:07:26.211Z
updated: 2024-06-05T15:07:26.211Z
tags:
- screen-recording
- ai video
- ai audio
- ai auto
categories:
- ai
- screen
description: "This Article Describes Unlock Full Potential of W... |
import utilStyles from "../styles/theme.util.module.css";
import React, { useEffect, useState } from "react";
import styles from "../styles/Home.module.css";
import { useTheme, ThemeProvider } from "next-themes";
import PixelButton from "./PixelButton";
export default function ResumeJobs(props) {
const [mounted, set... |
import React from "react";
import "./AddressForm.css";
import axios from "axios";
import { useNavigate } from "react-router-dom";
import buyerService from "../../services/buyerService";
import addressService from "../../services/addressService";
const AddressForm = () => {
const navigate = useNavigate();
const [ad... |
-- Find items with the most maintenance records in the last year
-- including their category name and location address
-- This can help identify items that require frequent maintenance.
SELECT
i.ItemID,
i.Name AS ItemName,
c.Name AS CategoryName,
l.Address AS LocationAddress,
COUNT(m.MaintenanceID) AS Mai... |
from marshmallow import ValidationError, validates, fields, post_load
from model.product import Product
from marshmallow_sqlalchemy import SQLAlchemyAutoSchema
class ProductSchema(SQLAlchemyAutoSchema):
class Meta:
model = Product
# load_instance = True
include_relationships = True
... |
---
id: 6633a2a86218659eb77fb9a1
title: Tarefa 43
challengeType: 22
dashedName: task-43
---
<!--
AUDIO REFERENCE:
Sophia: Great question, Tom. Variables can change their values, but constants stay the same.
-->
# --description--
The modal verb `can` is used to indicate possibility or ability. For example, in the sen... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_substr.c :+: :+: :+: ... |
//
// Created by fail on 6/13/22.
//
#ifndef STARWARS_SERVER_SERVER_H
#define STARWARS_SERVER_SERVER_H
#include <boost/asio.hpp>
#include <memory>
#include <thread>
#include <atomic>
#include <memory>
#include <iostream>
#include <utility>
#include "Requests.h"
#include "World.h"
std::string makeString(boost::asio... |
<template>
<h1>Add Album</h1>
<h4>{{ message }}</h4>
<v-form encType = "multipart/form-data">
<v-text-field
label="Album Title"
v-model="album.title"
/>
<v-text-field
label="Album Category"
v-model="album.description"
/>
... |
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { ReactiveFormsModule } from '@angular/forms';
import { AppRoutingModule } from './app-routing.module';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { HttpClientModule } ... |
import util from 'util';
import { Client } from 'discord-rpc';
import {
APP_ID as clientId,
DEBUG,
SHOW_ALBUM_DETAILS,
DISABLE_COVERS,
} from './Environment';
import MPRIS from './MPRIS';
import Assets from './Assets';
import createLogger from './Console';
import { ms2str } from './Utilities';
const { log, war... |
Contributing guidelines
We want to make contributing to this project as easy and transparent as
possible.
Our Development Process
-----------------------
Caterva2 development takes place around its Git repository hosted on GitHub:
<https://github.com/ironArray/Caterva2>.
New versions are being developed in the `ma... |
/*
* Copyright 2012-2013 Oscar Westra van Holthe - Kind
*
* 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... |
import { useEffect } from 'react'
import NewNote from './components/NewNote'
import Notes from './components/Notes'
import VisibilityFilter from './components/VisibilityFilter'
import noteService from './services/notes'
import { initializeNotes } from './reducers/noteReducer'
import { useDispatch } from 'react-redux'
... |
# AiNext Template README 🚀
## Technologies Utilisées 💻
Ce template, situé dans le dossier `aiNext`, est idéal pour créer un site web dans l'univers de l'IA, parfait pour un portfolio ou un blog. Il utilise une combinaison de technologies modernes pour le développement d'applications web.
- **Next.js/Vite**: Accélè... |
var container = document.querySelector('.row')
fetch("https://restcountries.com/v3.1/all")
.then((res) => res.json())
.then((data) => {
console.log(data)
data.map((country) => {
var cityName = country.name.common
var lat = country.latlng[0]
var lon = country.l... |
import React, { Dispatch, SetStateAction, createContext, useContext, useState } from 'react'
import { Game } from '@types'
/**
* This state contains the game. The game is set on the fetch and can be accessed from the children.
*/
interface GameContextType {
game: Game | null
setGame: Dispatch<SetStateAction<Ga... |
import React from 'react'
import { useState,useCallback,useMemo} from 'react'
export default function UseCallBackFunc() {
const [count,setCount] = useState(0)
// const incrementByOne = useCallback(() => {
// console.log("one")
// setCount((prevCount)=>{
// prevCount = prevCount + 1;
// })... |
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
class MailResetPasswordToken extends Notification
{
use Queueable;
public $token;
/**
* Create... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.