text
stringlengths
27
775k
package controller import ( "encoding/json" "errors" "github.com/code7unner/vk-scrapper/internal/api/service" "github.com/code7unner/vk-scrapper/internal/app" "io/ioutil" "net/http" "strconv" ) type PredictionController interface { GetInRealTime(w http.ResponseWriter, r *http.Request) Get(w http.ResponseWrit...
import { AlarmArea, AreaDesc, VedoClient, VedoClientConfig, ZoneDesc, ZoneStatus, } from 'comelit-client'; import { intersection } from 'lodash'; import { Callback, CharacteristicEventTypes, Logger, PlatformAccessory, Service } from 'homebridge'; import { ComelitVedoPlatform } from '../comelit-vedo-platform...
# Types of Races * [[Cobble]] * [[Flat]] * [[FlatHilly]] * [[Hilly]] * [[HillyMountain]] * [[Mountain]] * [[TT|Time Trial]]
package ilove.quark.us import io.quarkus.test.junit.QuarkusIntegrationTest @QuarkusIntegrationTest class GreetingControllerIT : GreetingControllerTest()
define([ 'dojo/_base/declare', 'dojo/_base/array', 'dojo/_base/lang', 'dojo/dom-construct', 'dijit/_WidgetBase', 'dijit/_TemplatedMixin', 'dijit/_WidgetsInTemplateMixin', 'app/search/utilities' ], function ( declare, array, lang, domConstruct, _WidgetBase, _Tem...
import hljs from "highlight.js"; import marked from "marked"; marked.setOptions({ highlight: function(code: string, lang: string) { try { if (lang !== "") { return hljs.highlight(lang, code).value; } else { return hljs.highlightAuto(code).value; } } catch (e) { return ...
# Dart ```dart void main() { print('Hello, World!'); } ``` ## Environment Setup Download the Dart SDK for your platform from the official site, here: https://www.dartlang.org/tools/sdk#install For Windows, the most direct link is here: http://www.gekorm.com/dart-windows/ ## Building/Compiling Dart doesn't requi...
package org.librazy.demo.dubbo.service; import java.util.Set; public interface UserSessionService { void newSession(String id, String sid, String ua, String key); String getKey(String id, String sid); String getUserAgent(String id, String sid); Set<String> getSessions(String id); void deleteSe...
#: requires require 'doodle' #: definitions class Event < Doodle has Date end #: use event = Event.new(:date => "Hello") #: output
import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:eye_of_god/ui/Outdoor/outdoor.dart'; import 'package:eye_of_god/ui/Indoor/indoor.dart'; import 'package:eye_of_god/ui/selectorPage.dart'; import 'package:permission_handler/permission_handler.dart' as permission; // import '...
sc.define("performKeyToDegree", { Array: function(degree, stepsPerOctave) { stepsPerOctave = stepsPerOctave === void 0 ? 12 : stepsPerOctave; var n = ((degree / stepsPerOctave)|0) * this.length; var key = degree % stepsPerOctave; return this.indexInBetween(key) + n; } });
package cli import ( "context" "fmt" "os" "github.com/ory/x/configx" "github.com/ory/x/errorsx" "github.com/ory/x/cmdx" "github.com/spf13/cobra" "github.com/driver005/oauth/config" "github.com/driver005/oauth/driver" "github.com/driver005/oauth/registry" "github.com/ory/x/flagx" ) type MigrateHandler ...
* for CentOS 7 ``` sudo yum install -y dpkg cargo install cargo-deb ```
package org.motechproject.commons.api; import java.util.Map; /** * The <code>TasksEventParser</code> interface provides a way for modules to define * a custom way to handle trigger events. Before event parameters or subject are parsed, * the Tasks module will first check if received event contains parameter with ...
import styled from 'styled-components'; export const StyledAutosuggestInput = styled.div` .react-autosuggest__container { position: relative; margin: 0 3px; } .react-autosuggest__input { width: 100%; padding: 10px; font-family: inherit; font-size: 1rem; line-height: 1.25; border:...
-- | a.k.a. highliy composite numbers module AntiPrimes (Nui, Siz, Lst, size, dividers, proof, list) where import Data.List (foldr1, group, nub, sort, tails) import Data.Numbers.Primes (primeFactors) -- | Number under investigation type Nui = Int -- | number of divisors of Nui type Siz = Int -- | list of tuple...
package leaks import ( "strings" "testing" ) func TestThreadDetectionLeak_Found(t *testing.T) { stop := make(chan bool) defer func() { stop <- true if x := recover(); x != nil { if strings.Contains(x.(string), "Potential Goroutines Leakage detected") { // Leaked goroutine found as expected. return ...
'use strict'; const AsyncApiQueue = require('./lib/async-api-queue.js'); module.exports = AsyncApiQueue;
package kubelet import ( "context" "fmt" "net/http" "net/http/httptest" "net/url" "path" "regexp" "testing" ) func newServer(token string) *httptest.Server { handler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { if token != "" && r.Header.Get("Authorization") != "Bearer "+token { w....
#!/usr/bin/perl ######################################################################## # Tim M Strom February 2007 ######################################################################## use strict; use CGI; BEGIN {require './Solexa.pm';} use DBI; ###############################################################...
# Bazaarbite Break down your OpenBazaar selling experience into bite sized tasks or something idk idk idk * keeps separate database of all items created in OpenBazaaar * fires events when things happen in openbazaar * [ ] customer pays for digital item * [ ] customer * plugin support to manage your items * [x] ...
#include "backend.h" #include <string.h> #include <wayland-client.h> #include <zigen-client-protocol.h> #include <zigen-opengl-client-protocol.h> #include <zigen-shell-client-protocol.h> #include <zmonitors-util.h> #include "ray.h" #include "zmonitors-backend.h" static void seat_capabilities(void* data, struct zgn_s...
import {Injectable} from "angular2/core"; import {Observer} from "rxjs/Observer"; import {Observable} from "rxjs/Observable"; import "rxjs/add/operator/share"; import {Product} from "./product"; import {Family} from "./family/family"; import {Category} from "./category/category"; export class ProductManagerService { ...
import type { JSXNode } from '../render/jsx/types/jsx-node'; import { QError, qError } from '../error/error'; import { getProxyMap, readWriteProxy } from '../object/q-object'; import { resumeContainer } from '../object/store'; import type { RenderContext } from '../render/cursor'; import { getDocument } from '../util/d...
/// Smallest Multiple - https://projecteuler.net/problem=5 /// /// 2520 is the smallest number that can be divided by each of the numbers from /// 1 to 10 without any remainder. /// ///What is the smallest positive number that is evenly divisible by all of the ///numbers from 1 to 20? use std::collections::HashMap; //...
// This sample program demonstrates how to use the pool package to use a pool // of goroutines to get work done. package main import ( "log" "sync" "time" "github.com/george-kj/go-code/concurrency/patterns/pool" ) // names provides a set of names to display. var names = []string{ "steve", "bob", "mary", "th...
package de.fabmax.kool.util import de.fabmax.kool.KoolException /** * Super class for platform-dependent buffers. In the JVM these buffers directly map to the corresponding NIO buffers. * However, not all operations of NIO buffers are supported. * * Notice that Buffer is not generic, so that concrete types remain...
package com.nick_sib.popularlibraries.di.module import dagger.Module import dagger.Provides import ru.terrakok.cicerone.Cicerone import ru.terrakok.cicerone.NavigatorHolder import ru.terrakok.cicerone.Router import javax.inject.Singleton @Module class CiceroneModule { var cicerone: Cicerone<Router> = Cicerone.cr...
$LanManagerSettings = @{ Enable = $true Scope = 'DC' Source = @{ Name = "Lan Manager Settings" Data = { Get-WinADLMSettings -DomainController $DomainController } Details = [ordered] @{ Area = '' Descripti...
{-# LANGUAGE OverloadedStrings #-} module Bot.Quote where import Bot.Replies import Command import Control.Monad import qualified Data.Map as M import Data.Maybe import qualified Data.Text as T import Data.Time import Effect import Entity import ...
use strict; use warnings; use lib 't/lib'; use Test::More; use Test::MockObject; use Test::MockModule; use Test::Trap; use App::DB::Migrate::SQLite::Constraint::Default; subtest 'new creates a Default constraint' => sub { my $def = App::DB::Migrate::SQLite::Constraint::Default->new(5, { type => 1 }); isa_ok...
/** * $File: JCS_SlideInput.cs $ * $Date: $ * $Revision: $ * $Creator: Jen-Chieh Shen $ * $Notice: See LICENSE.txt for modification and distribution information * Copyright (c) 2016 by Shen, Jen-Chieh $ */ using UnityEngine; using System.Collections; namespace JCSUnity { /// <summary> ...
import { HttpModule, Module } from '@nestjs/common'; import { APP_FILTER, APP_INTERCEPTOR } from '@nestjs/core'; import { RequestLoggingInterceptor } from './http/interceptors/request.logging.interceptor'; import { JwtStrategy } from './http/strategies/jwt.strategy'; import { EvalySecretStrategy } from './http/strategi...
<?php declare(strict_types=1); namespace Podium\Tests\Stubs; use Podium\ActiveRecordApi\ActiveRecords\MemberActiveRecord; class MemberActiveRecordStub extends MemberActiveRecord { use ActiveRecordStubTrait; public function attributes(): array { return ['id', 'user_id', 'username', 'slug', 'stat...
using Gibbit.Core.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Gibbit.Core.Managers { public class UrlManager { public string User = "https://api.github.com/user"; public string Starred(User user) ...
# SUSE's openQA tests # # Copyright 2021 SUSE LLC # SPDX-License-Identifier: FSFAP # # Summary: Run 'audit-trail-protection' test case of 'audit-test' test suite # Maintainer: rfan1 <richard.fan@suse.com>, Liu Xiaojing <xiaojing.liu@suse.com> # Tags: poo#94447 use base 'consoletest'; use strict; use warnings; use test...
# Open the node api for your current version to the optional section. # TODO: Make the section part easier to use. function node-docs { # get the open command local open_cmd if [[ $(uname -s) == 'Darwin' ]]; then open_cmd='open' else open_cmd='xdg-open' fi $open_cmd "http://nodejs.org/docs/$(node -...
// Code generated by smithy-go-codegen DO NOT EDIT. package types type ApplicationInstanceHealthStatus string // Enum values for ApplicationInstanceHealthStatus const ( ApplicationInstanceHealthStatusRunning ApplicationInstanceHealthStatus = "RUNNING" ApplicationInstanceHealthStatusError ApplicationIns...
; RUN: opt -O2 %s | llvm-dis > %t1 ; RUN: llc -filetype=obj -o - %t1 | llvm-readelf -s - | FileCheck -check-prefixes=CHECK %s ; RUN: llc -filetype=obj -addrsig -o - %t1 | llvm-readelf -s - | FileCheck -check-prefixes=CHECK %s ; ; Source Code: ; struct tt { int a; } __attribute__((preserve_access_index)); ; int test...
package org.abuhuraira.app.common.extensions import android.os.Bundle /** * Created by ahmedsaad on 2018-02-06. * Copyright © 2017. All rights reserved. */ fun Bundle.putOptionalInt(key: String, value: Int?) { this.putInt(key, value ?: -1) } fun Bundle.getOptionalInt(key: String, defaultValue: Int? = null): I...
--- first_name: John last_name: Schnake image: https://avatars.githubusercontent.com/u/10273533 github_handle: johnSchnake --- Engineer
package String; public class rev { public static void main(String[] args) { // TODO Auto-generated method stub String str= "Yogesh Kumar",r="",r1=""; String[] str1; str1= str.split(" "); for(int i=str1[0].length()-1;i>=0;i--) { r=r+str1[0].charAt(i); } for(int i=str1[1].length()-1;i>=0;i--) ...
package com.outsystems.plugins.healthfitness.store data class AdvancedQueryResponseBlock ( val block : Int, val startDate : Long, val endDate : Long, val values : MutableList<Float> )
# find-spirit 找到一种让精灵无处可躲的策略 [for-search-test](for-search-test.md) # 问题描述 你在森林里发现了**五**个神秘的罐子。 在罐子中藏着一个精灵,只要把他放出来就可以让他帮你实现一个愿望。 但是这个精灵很调皮,他并不想让你那么容易地抓住他。 在一开始,精灵会随机地藏在其中的一个罐子里。 每一个晚上,你都可以选择打开任何一个罐子来看看精灵是不是在里面。 如果你没有找到精灵,那么在第二天的白天,精灵必须移动到他原先躲藏的罐子旁边的另一个罐子里。 你一共可以尝试**六**个晚上。 请问,要怎么样利用这**六次机会**才能保证最后一定可以抓住精灵? # 分...
--- title: 'Where does this belong in the filesystem?' type: post tags: [ linux, filesystem ] comment: true date: 2020-09-03 07:00:00 +0200 mathjax: false published: true --- **TL;DR** > Know how to see which device a file belongs to. From time to time, I have to rediscover how to do this. *This* being a very simpl...
import {path} from 'ramda' /** * Selects user-events and maps it to values. * @param {Object} sources - Cycle driver sources. * @param {DOMSource} sources.DOM - Cycle DOMDriver. * @returns {Object} {value$ :: String} */ const intent = ({DOM}) => ({ input$: DOM.select('.cycle-input').events('input').map(path(['ta...
package de.akquinet.jbosscc; import javax.enterprise.context.Conversation; import javax.inject.Inject; import javax.persistence.EntityManager; import junit.framework.Assert; import org.easymock.EasyMock; import org.junit.Rule; import org.junit.Test; import de.akquinet.jbosscc.dao.BlogEntryDao; import de.akquinet.jb...
<?php declare(strict_types=1); namespace Psl\Async; use Psl\Dict; /** * Create a new fiber asynchronously for each one of the given callables, and wait for it to complete. * * If one or more callables fail, all callables will be completed before throwing. * * @template Tk of array-key * @template Tv * * @pa...
--- home: true heroImage: null heroText: Nushell tagline: Un nuevo tipo de shell. actionText: Empieza → actionLink: /es/book/ features: - title: Pipelines potentes para controlar tu sistema details: Pipelines permiten trabajar con tu sistema como nunca antes. Tienes el control del sistema, listo para tu siguiente...
--- title: '[foundation] neogen - multi-play BC stick' date: 2014-07-17T08:00:00.000+08:00 draft: false aliases: [ "/2014/07/foundation-neogen-multi-play-bc-stick.html" ] tags : [glamorous - 畫皮?] --- bb cream,cc cream連掃一枝過 簡直方便到極點! ![](/images/neogenbcstick.jpg) 一邊是bb+cc cream stick 果芯是cc cream,光澤度足 而且有強勁保濕因...
package com.hootsuite.hermes.database.model import org.jetbrains.exposed.dao.IntIdTable /** * Users Table */ object Users : IntIdTable() { val githubName = varchar("githubName", 50).index() val slackName = varchar("slackName", 50) val teamName = varchar("teamName", 50) val avatarUrl = varchar("avata...
module.exports = { composeApp: require('./composeApp'), composeModel: require('./composeModel'), modules: require('./modules'), };
package com.victorrubia.tfg.data.repository.tag.datasourceImpl import com.victorrubia.tfg.data.model.tag.Tag import com.victorrubia.tfg.data.repository.tag.datasource.TagCacheDataSource /** * Implementation of [TagCacheDataSource] interface for retrieving and saving data from and to cache data source. */ class TagC...
--- title: "Haoxin" github: "haoxinluo" avatar: "//www.gravatar.com/avatar/817f453076c40493bb488c138d58c19b?d=identicon" --- User description here!
YaH3C ===== 在原工程的基础上,增加了iNode版本动态加密上传的feature,弥补了协议的不足。原版本中,该version是写死的,不适用于我司的iNode产品。
const assert = require('assert/strict'); const assertRevert = require('@synthetixio/core-js/utils/assertions/assert-revert'); const { bootstrap } = require('@synthetixio/deployer/utils/tests'); const initializer = require('../../helpers/initializer'); const { ethers } = hre; describe('UpgradeModule', function () { ...
/**This package contains the object which will show tha ending scene.*/ package sample.View.EndPage;
#include <iostream> #include <vector> #include <string> #include <algorithm> using namespace std; typedef pair<double,string> pds; vector<pds> v; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int n; cin>>n; for(int i=0;i<n;i++) { string name; double s1,s2,s3,s4; ...
program example use solver implicit none integer, dimension (1, 2) :: ele double precision, dimension (3, 2) :: X0, U double precision, dimension (6, 6) :: C logical, dimension (6, 2) :: DOF double precision, dimension (6, 2) :: dU, Q, res double precision, dimension (1, 6, 1) :: p, f double precision, di...
// CrlNumber using Org.BouncyCastle.Asn1; using Org.BouncyCastle.Math; public class CrlNumber : DerInteger { public BigInteger Number => base.PositiveValue; public CrlNumber(BigInteger number) : base(number) { } public override string ToString() { return "CRLNumber: " + Number; } }
/* * 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 ...
//! Hyperlinks. use constants::{HTML_START_OPEN, HTML_END_OPEN, HTML_CLOSE}; use content::Content; use section::Section; use symbol::Symbol; #[allow(dead_code)] pub struct LinkMetadata { href: String, title: Option<String>, } #[allow(dead_code)] impl LinkMetadata { fn new(href: &str, title: &str) -> Link...
# Minhas soluções do CodeWars. ## Tecnologias: Python; JavaScript; ## Autor: Renan Souza
import uvicorn from .server import app def run(*args, **kwargs): '''Run the uvicorn app. ''' uvicorn.run(app, *args, **kwargs)
rootProject.name = "fsynth" include("core", "cli", "web", ":web:worker", ":web:serviceworker", "android") enableFeaturePreview("GRADLE_METADATA")
package com.react.testapp.manifest import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class Manifest( val name: String, val displayName: String, val components: List<Component> ) @JsonClass(generateAdapter = true) data class Component( val appKey: String, val displayName:...
<?php namespace App\Entities\SectionImages; use App\Entities\FileExts\FileExtsStorage; use App\Libraries\ErrorMessages; use CodeIgniter\Entity; use Config\Services; use CodeIgniter\HTTP\Request; class SectionImageValid extends Entity { public static function save($data, Request $request = null) { $val...
package com.github.ageofwar.ktelegram import java.nio.file.Path import java.nio.file.Paths import kotlin.io.path.ExperimentalPathApi import kotlin.io.path.writeBytes suspend fun TelegramApi.downloadFile(fileId: String, file: java.io.File) { file.writeBytes(downloadFile(fileId)) } @OptIn(ExperimentalPathApi::clas...
# Guestlist Inviting people to your event has never been easier to keep track of.
using Newtonsoft.Json; namespace NewHorizons.External.Modules { [JsonObject] public class FocalPointModule { /// <summary> /// Name of the primary planet in this binary system /// </summary> public string primary; /// <summary> /// Name of the secondary pla...
extern crate bindgen; use bindgen::callbacks::{IntKind, ParseCallbacks}; extern crate cc; use std::env; use std::path::PathBuf; fn main() { println!("cargo:rerun-if-changed=build.rs"); println!("cargo:rerun-if-changed=sqlite_dependencies.h"); println!("cargo:rerun-if-changed=redis_dependencies.h"); ...
# -*- encoding: us-ascii -*- class Class def self.allocate Rubinius.primitive :class_s_allocate raise PrimitiveFailure, "Unable to create a new Class" end def set_superclass(sup) Rubinius.primitive :class_set_superclass raise TypeError, "superclass must be a Class (#{Rubinius::Type.object_class(...
import SortBy from './SortBy'; export interface SortBys { sortBys?: SortBy[]; }
import sys import struct from functools import reduce def parse_seq_range (packet_bytes): seq_bytes = packet_bytes[10:18] cnt_bytes = packet_bytes[18:20] seq_num = struct.unpack(">Q", seq_bytes)[0] cnt_num = struct.unpack(">H", cnt_bytes)[0] return (seq_num, seq_num + cnt_num) def peek_ahead_pack...
package shell import ( "bytes" "context" "fmt" "testing" "github.com/evilmonkeyinc/golang-cli/errors" "github.com/evilmonkeyinc/golang-cli/flags" "github.com/stretchr/testify/assert" ) // Validate the StandardRouter struct matches the Router interface var _ Router = &StandardRouter{} func Test_Router(t *test...
/* * Copyright (C) 2015-2021 Lightbend Inc. <https://www.lightbend.com> */ package akka.cluster.sharding import java.io.File import scala.concurrent.Await import scala.concurrent.duration._ import scala.util.Success import org.apache.commons.io.FileUtils import akka.actor.ActorRef import akka.actor.Props import ...
// Copyright 2016 The LUCI 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 agreed...
from typing import List from msp.data_structures.data_structure import DataStructure class Misc(DataStructure): def __init__(self): self.int_power_trigger1 = 0 self.conf_mini_throttle = 0 self.max_throttle = 0 self.min_command = 0 self.conf_failsafe_throttle = 0 se...
package com.tinmegali.myweather.web import android.arch.lifecycle.LiveData import com.tinmegali.myweather.models.ApiResponse import com.tinmegali.myweather.models.WeatherResponse import retrofit2.Call import retrofit2.http.GET import retrofit2.http.Query import retrofit2.http.Url interface OpenWeatherApi { // ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Repositories\CartInterfaceRepository; use App\Models\Article; use App\Models\User; use App\Models\Adresse; use App\Models\Gamme; use Illuminate\Support\Facades\Gate; class CartController extends Controller { protected $cartRepository; // L'...
# Analyzer for RADIUS # - radius-protocol.pac: describes the RADIUS protocol messages # - radius-analyzer.pac: describes the RADIUS analyzer code %include binpac.pac %include bro.pac %extern{ #include "events.bif.h" %} analyzer RADIUS withcontext { connection: RADIUS_Conn; flow: RADIUS_Flow; }; # Our con...
# estimation_experiment.sh runs all Markov chains for the estimation experiment # which generated figure 2B module load anaconda/2020a source activate crp # Model parameters sd0=0.5 sd=1.3 alpha=1.0 # Long chains for ground truth echo "starting long chain for ground truth" python ../modules/estimation_experiment.py ...
import { UILogic } from 'ui-logic-core' import { TestLogicContainer } from 'ui-logic-core/lib/testing' import { BackgroundModules } from 'src/background-script/setup' import { setupBackgroundIntegrationTest } from './background-integration-tests' export type UILogicTest<Context> = (context: Context) => Promise<void> e...
import { RefreshTokenController } from './refresh-token-controller' import { Validator, AuthenticatedRequest } from '@controllers/protocols' import { badRequest, ok, serverError, unauthorized } from '@controllers/helpers/http-helper' import { ValidationError } from '@controllers/errors/validation-error' import { Refres...
c==================================================================================== c c Synthetic Seismogram code for complete synthetics using spectral technique c for Moment Tensor and Point Force sources in flat layered media c c Funded by Treaty Verification Program, Lawrence Livermore National Lab c c ...
declare type AuthSessionResult = RedirectResult | BrowserResult; declare type BrowserResult = { type: 'cancel' | 'dismiss'; }; declare type RedirectResult = { type: 'success'; url: string; }; export declare function openBrowserAsync(url: string): Promise<BrowserResult>; export declare function dismissBrowse...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class ImageController extends Controller { // public function upload(Request $request) { $this->validate($request, [ 'image' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:2048', ]); if ($request->hasFi...
#!/usr/bin/python ############################################################################### # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # # # # Licensed under the Apache License Version 2.0 (the "License"). Y...
<?php /** * YYF - A simple, secure, and efficient PHP RESTful Framework. * * @link https://github.com/YunYinORG/YYF/ * * @license Apache2.0 * @copyright 2015-2017 NewFuture@yunyin.org */ /** * Model 数据Model基类 * 基本的Facde接口,对model封装 * * @author NewFuture * * @example * class UserModel extends Model{} * ...
use wasm_encoder::{EntityType, Instruction}; use crate::{codegen::*, core::ast::*}; impl<'a> Walker<FunctionDeclaration> for Context<'a> { fn walk(&mut self, function_declaration: FunctionDeclaration) -> Result<(), Error> { let parameters_type: Vec<_> = function_declaration .parameters ...
package Bat::Interpreter::Delegate::Executor::System; use utf8; use Moo; use namespace::autoclean; with 'Bat::Interpreter::Role::Executor'; # VERSION =encoding utf-8 =head1 NAME Bat::Interpreter::Delegate::Executor::PartialDryRunner - Executor for executing commands via perl system =head1 SYNOPSIS use Bat:...
using System; using System.Collections.Generic; using Swarmops.Basic.Types; using Swarmops.Common; using Swarmops.Basic.Types.Structure; using Swarmops.Database; using Swarmops.Logic.Structure; namespace Swarmops.Logic.Cache { public class GeographyCache { private static DateTime lastRefres...
db DEX_VENONAT ; pokedex id db 60 ; base hp db 55 ; base attack db 50 ; base defense db 45 ; base speed db 40 ; base special db BUG ; species type 1 db POISON ; species type 2 db 190 ; catch rate db 75 ; base exp yield INCBIN "pic/bmon/venonat.pic",0,1 ; 55, sprite dimensions dw VenonatPicFront dw VenonatPicBack ; atta...
use scholars::v1::definition::FullPaper; use scholars::v1::endpoint::GetPaper; use scholars::v1::query_params::PaperParams; use scholars::v1::utils::all_full_paper_fields; #[tokio::main] async fn main() -> anyhow::Result<()> { env_logger::init(); let client = reqwest::Client::new(); let endpoint = GetPape...
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** * Description of Query_sekunder_m * * @author Mardella */ class Query_sekunder_m extends CI_Model { public functio...
import axios from "axios"; import { BASEURL } from "../constants/baseUrl"; const instance = axios.create({ baseURL: BASEURL, }); /* 만료되었다면 로그인 페이지로 리다이렉트, 그게 아니라면 요청 수행 1. jwt verify를 통해 만료여부 확인 장: 매번 요청이 없어 속도와 서버 트래픽을 고려함에 있어 훌륭한 방식 단: jwt 암호키를 알아야 함 2. verifyToken api를 통해 만료여부...
# The Social App This project was done before I started a project that will be avaible in the future on the app store and play store. # About the Author Name: Samira Mc Queen [LinkedIn](https://www.linkedin.com/in/samira-mc-queen-1882431a7/) Free Spririted Caribbean Woman. Software Developer and aspiring Game Deve...
- Installs the [elasticsearch-head](https://mobz.github.io/elasticsearch-head/) plugin - plugin would be installed by default for any other clusters defined as well - 5 total nodes - 2 Master Nodes - 3 Data nodes - Cluster named *2m3d* To load this configuration, run `esvm 2m3d` ``` { "clusters": { "2m3d"...
# GAME2012 3D Graphics - OpenGL ### Synopsis Repository of all my projects for GAME2012 - 3D Graphics Using OpenGL ### Purpose Keeping track of all my projects ### Installation * Fork/Download repository
import React, { useState } from "react"; import { Link } from "react-router-dom"; import { connect } from "react-redux"; import ProfilePic from "components/Picture/ProfilePic"; import { WhiteSpace } from "antd-mobile"; import { getInitials } from "utils/userInfo"; import fakePosts from "assets/data/fakePosts"; // feed ...