text
stringlengths
27
775k
package org.example.domain import io.ebean.annotation.Length import org.example.domain.finder.AddressFinder import javax.persistence.Column import javax.persistence.Entity import javax.persistence.ManyToOne import javax.persistence.Table import javax.validation.constraints.Size /** * Address entity bean. */ @Entity...
"""Sphinx docs config.""" import os import sys sys.path.append(os.path.realpath(os.path.dirname(os.path.abspath(__file__)) + '/../..')) import sttp project = 'STTP' copyright = '2021, ' + sttp.pkg_meta.author author = sttp.pkg_meta.author release = sttp.pkg_meta.version version = sttp.pkg_meta.version extensions ...
package edu.ucsb.cs56.projects.scrapers.baseball_stats; import org.junit.Test; import org.junit.*; import static org.junit.Assert.*; import java.util.ArrayList; /** Test class for StatReader * @author Max Sorenson * @version 2014/02/26 for baseball scraper, cs56, W14 * @see StatReader */ public class StatReaderTe...
package com.gmail.shihab4t.chapter09.c02.generics.and.subtyping; import java.util.Arrays; import java.util.StringJoiner; public class DynamicArray<T> { private static final int DEFAULT_CAPACITY = 10; private T[] elements; private int size; public DynamicArray(int i) { elements = (T[]) new Ob...
#!/bin/bash export APP_NAME=${APP_NAME:-app} export HOST_IP=${HOST_IP:-0.0.0.0} export HOST_PORT=${WEBHOOK_PORT:-5000} CMD="$@" if [ -z "$CMD" ]; then CMD="python ${APP_NAME}.py runserver --host=0.0.0.0 --threaded" fi echo "Starting server ..." exec $CMD
<?php /** * @package Task */ class SGL_Task_ExecuteAjaxAction2 extends SGL_ProcessRequest { /** * @param SGL_Registry $input * @param SGL_Output $output */ public function process(SGL_Registry $input, SGL_Output $output) { SGL::logMessage(null, PEAR_LOG_DEBUG); $moduleName...
# Get current URL Print current URL after page is loaded. ``` python import webview import threading def get_current_url(): print(webview.get_current_url()) if __name__ == '__main__': t = threading.Thread(target=get_current_url) t.start() webview.create_window("Get current URL", "https://pywebvie...
import { SignOptions } from 'jsonwebtoken'; import { Package } from './package'; // tslint:disable-next-line: no-var-requires const pkg = require('package.json') as Package; // Do not do this on client applications, instead query it from an api /** * Environment shape */ export interface Environment { /** * Wheth...
import sbt._ import sbt.Keys._ object Dependencies { val zsgVersion = "0.0.5-SNAP2021080902" val zsg = Seq("org.scalax" %% "zsg-macros" % zsgVersion) val slickVersion = "3.3.3" val slick = Seq( "com.typesafe.slick" %% "slick" % slickVersion, "com.typesafe.slick" %% "slick-codegen" % sl...
--- layout: post title: "Silent But Deadly" date: 2019-06-23 categories: death scenes --- Today's prompt: "Set your alarm for 3 a.m., wake up, and write the first thing that comes to mind." Death by dutch oven, by the gassiest, methane-iest people in the world.
Rails.application.config.middleware.use OmniAuth::Builder do provider :linkedin, '751fx7gcjsyr0j', '1MsdgzXQwoSKZztv' end
const spaces = { XXS: '2px', XS: '4px', S: '8px', M: '16px', L: '32px', XL: '64px', }; export default spaces;
package com.pacbio.simulator.scenarios import java.util.UUID import akka.actor.ActorSystem import com.typesafe.config.Config import com.pacbio.common.models._ import com.pacbio.secondary.smrtlink.analysis.constants.FileTypes import com.pacbio.secondary.smrtlink.analysis.datasets.{ DataSetMetadataUtils, DataSetMe...
package entity; import java.io.Serializable; import java.util.Date; import java.util.HashSet; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; impor...
#include "braincloud/internal/JsonUtil.h" namespace BrainCloud { Json::Value JsonUtil::jsonStringToValue(const std::string& in_jsonString) { Json::Value value; Json::Reader reader; reader.parse(in_jsonString, value); return value; } Json::Value JsonUtil::jsonStringToVal...
from scapy.all import * from urllib import parse iface = "en0" conf.verb=0 def get_login_pass(body): user = None passwd = None userfields = ['log','login', 'wpname', 'ahd_username', 'unickname', 'nickname', 'user', 'user_name', 'alias', 'pseudo', 'email', 'username', '_username', 'use...
import React from "react"; import styled from "styled-components"; import LinearGradient from "react-native-linear-gradient"; import Icon from "react-native-vector-icons/FontAwesome5"; const TouchableWrapper = styled.TouchableOpacity` shadow-opacity: 0.75; shadow-radius: 5px; shadow-color: ${({ shadow }) => shad...
尽管如此,这次发布包含了大量的问题修复和性能提升。 请注意该发布包含新的 v1alpha3 流量管理功能的初步支持,这个功能尚处于频繁变动当中,并且可能会在 0.8 版本出现不兼容的变更。 所以如果您希望尝试的话,请留意,这些功能可能会在 0.8 或者之后的版本发生变动。 已知问题: 我们的 [Helm chart](/zh/docs/setup/kubernetes/install/helm/) 目前需要一些变通的方式才能正确工作,这里 [Issue 4701](https://github.com/istio/istio/issues/4701) 有相关细节。
namespace Chame { public interface ITheme { /// <summary> /// Gets a theme name. /// </summary> /// <remarks> /// A theme name must be a valid file system directory name, so it cannot /// - contain any of the following characters: /?:%\*"<>|#% /// - conta...
--- layout: post title: 'Windows 7 GodMode' author: 'Andrew Bounds' support: true comments: true tags: - windows --- **Update:** This works on all Windows systems newer than Windows 7. {: .flash } Found on [cnet.com](http://news.cnet.com/8301-13860_3-10423985-56.html?tag=mncol) A simple shortcut to multiple Windows 7...
# Fixed_data directory This directory contains all of the fixes that are made to the data directory. If you rerun the all_parser.py module, you need to recursively copy the contents of this directory over data. Note: We may want to consider enhancing the test suite to look here first...
pub use traits::Percent; pub use traits::Point; pub use FlexStyle::*;
--- layout: relation title: 'advcl:compar' shortdef : 'comparative' --- The dependency type `advcl:compar` is used in comparative constructions, most often involving adjectives in the comparative form. The head of the `advcl:compar` dependency is the comparative wordform, and the dependent is the compared element. T...
/* Trace Flag Demo: 8602 Function: This trace flag is used to ignore all the index hints specified in query or stored procedure. We can use this trace flag to troubleshooting the query performance without changing index hints. SQL Server Version: 2008-2017 Information link: https://github.com/ktaranov/sqlserver-ki...
import * as types from '../mutation-types'; import crypto from 'crypto'; import batchApi from '../../resource/batch'; import dataApi from '../../resource/data'; import modelsApi from '../../resource/models'; import sessionsApi from '../../resource/sessions'; export default { state: { models: [], }, getters...
/* eslint-disable react-hooks/rules-of-hooks */ import { useState } from "react"; import Card from "../components/cards/Card"; import Transactions from "../components/tables/Transactions"; import Dashboard from "../layouts/Dashboard"; export default function transactions() { const [activeTab, setActiveTab] = useStat...
#pragma once //#include "../gbafe.h" #include "HelpBox.h" // struct HelpBoxInfo; // struct HelpBoxProc; struct StatScreenSt; enum { STATSCREEN_PAGE_0, STATSCREEN_PAGE_1, STATSCREEN_PAGE_2, STATSCREEN_PAGE_MAX, }; enum { // BG palette allocation STATSCREEN_BGPAL_HALO = 1, STATSCREEN_BG...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using BuildXL.Cache.ContentStore.Interfaces.Tracing; using BuildXL.Cache.ContentStore.Tracing; namespace BuildXL.Cache.ContentStore.Utils { ...
using System; using System.Collections.Generic; using System.Text; using static System.Console; namespace GrammarLib { public class PrintVisitor<TToken, TSymbol> : AstNode<TToken, TSymbol>.Visitor<int> { public void Visit(AstNode<TToken, TSymbol> node) => Visit(node, 0); protecte...
/* * Copyright (c) 2011-2021, The DART development contributors * All rights reserved. * * The list of contributors can be found at: * https://github.com/dartsim/dart/blob/main/LICENSE * * This file is provided under the following "BSD-style" License: * Redistribution and use in source and binary forms, wit...
/* * Copyright 2021 HM Revenue & Customs * * 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...
import { THEME_MODE } from '../utils'; import { ThemeModeEnum } from './ThemeModeEnum'; import { TGetThemeModeFromLS, TSaveThemeModeToLS } from './types'; export const saveThemeModeToLS: TSaveThemeModeToLS = (mode) => { localStorage.setItem(THEME_MODE, mode); }; export const getThemeModeFromLS: TGetThemeModeFromLS ...
import { ConflictException, Injectable, NotFoundException, UnprocessableEntityException } from '@nestjs/common'; import { ConfigurationDao } from '../configuration/dao/configuration.dao'; import { Observable, of, throwError } from 'rxjs'; import { ConfigurationEntity } from '../configuration/entities/configuration.enti...
package domain import ( "github.com/jakewright/home-automation/libraries/go/oops" "github.com/jakewright/home-automation/libraries/go/util" dmxdef "github.com/jakewright/home-automation/services/dmx/def" ) // MegaParProfile is a light by ADJ type MegaParProfile struct { baseFixture power bool color u...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using NetherSDK; using NetherSDK.Models; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public cla...
// // Copyright (c) XSharp B.V. All Rights Reserved. // Licensed under the Apache License, Version 2.0. // See License.txt in the project root for license information. // namespace XSharp.Project { using Microsoft.VisualStudio.PlatformUI; using System; using System.Diagnostics; using System.Drawin...
package com.wix.detox.common.proxy import android.util.Log import java.util.* data class CallInfo(var inTime: Long? = null, var outTime: Long? = null) { fun open(inTime: Long = System.currentTimeMillis()): CallInfo { this.inTime = inTime this.outTime = null return this } fun close...
package com.github.peacetrue.generator.resourceloader; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import lombok.ToString; import javax.annotation.Nullable; import java.io.InputStream; /** * 资源实现 * * @author xiayx */ @Setter @Getter @ToString(callSuper = true) @NoArgsConstructor ...
// // HLHeaderFiles.h // HLNetworkManager // // Created by JJB_iOS on 2021/8/12. // #ifndef HLHeaderFiles_h #define HLHeaderFiles_h #import <AFNetworking/AFNetworking.h> #import <YYCache/YYCache.h> #endif /* HLHeaderFiles_h */
<?php namespace app\admin\controller; use app\admin\model\SubModel; use app\admin\model\TicketModel; use app\admin\model\UserModel; use think\Request; class Index extends BasicControl { public function index(Request $request) { $admin = []; $user = UserModel::getAlluser(); $sub = SubMo...
<?php namespace common\models; use common\models\queries\OfferQuery; use yii\behaviors\SluggableBehavior; use yii\behaviors\TimestampBehavior; use yii\data\ActiveDataProvider; use yii2tech\embedded\mongodb\ActiveRecord; /** * @property string $_id * @property string $title * @property string $slug * @property fl...
package pokecube.adventures.blocks.afa; import java.util.Random; import org.nfunk.jep.JEP; import net.minecraft.core.BlockPos; import net.minecraft.nbt.CompoundTag; import net.minecraft.resources.ResourceLocation; import net.minecraft.server.level.ServerLevel; import net.minecraft.server.level.ServerPlayer; import n...
--- layout: page title: About permalink: /about/ --- This site was created by Bill Raymond to showcase ways to add featured images to posts and post rolls. View the readme file on the [GitHub Repo](https://github.com/BillRaymond/jekyll-featured-images)
package de.justsoftware.toolbox.mockito; import java.util.Map; import java.util.Map.Entry; import java.util.function.BiFunction; import javax.annotation.Nonnull; import javax.annotation.ParametersAreNonnullByDefault; import org.mockito.Mockito; import org.mockito.invocation.InvocationOnMock; import org.mockito.stubb...
#ifndef INC_3DBODY_3DBODY_INCLUDE_SCENE_SCENEVIEW_H_ #define INC_3DBODY_3DBODY_INCLUDE_SCENE_SCENEVIEW_H_ #include "def.h" #include "imgui.h" #include "include/scene/SceneLight.h" #include "include/mesh/MeshData/VanillaMesh.h" #include "include/render/RenderFrameBuffer/FrameBuffer.h" #include "util/ConfigMap.h" name...
# Angular_tester Based on: https://www.techiediaries.com/angular-tutorial/ https://docs.djangoproject.com/en/2.2/intro/tutorial01/ https://www.metaltoad.com/blog/angular-api-calls-django-part-2-building-micro-blog-app https://www.metaltoad.com/blog/angular-api-calls-django-authentication-jwt https://github.com/leavin...
/** * Created by john on 05/05/2017. */ import {Component, Input, ViewChild, Output, EventEmitter, OnDestroy} from "@angular/core"; import {NgbModal, ModalDismissReasons, NgbPopover, NgbModalRef} from "@ng-bootstrap/ng-bootstrap"; import {FileUploader, FileDropDirective, ParsedResponseHeaders, FileItem} from "ng2-fil...
package sttp.tapir.codec.newtype import io.estatico.newtype.macros.{newsubtype, newtype} import org.scalatest.flatspec.AnyFlatSpec import org.scalatest.matchers.should.Matchers import sttp.tapir.Codec.PlainCodec import sttp.tapir.CodecFormat.TextPlain import sttp.tapir.DecodeResult.Value import sttp.tapir.{Codec, Sche...
--- title: About icon: fas fa-info-circle order: 4 --- Hello, I'm Fiona. I'm a mathematics student interested in stable homotopy theory and low dimensional topology, as well as mathematical physics, especially quantum computing and TQFTs. I was formerly in information security, and I still have an interest in formal...
#!/bin/bash rm ibmcloud_schematics_bigip_multinic_public_images.zip zip -r ibmcloud_schematics_bigip_multinic_public_images.zip . -x '*.git*'
package compose.icons.fontawesomeicons.solid import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion....
# Architecture see: https://github.com/rust-analyzer/rust-analyzer/blob/d7c99931d05e3723d878bea5dc26766791fa4e69/docs/dev/architecture.md as an example
using UnityEngine; /// <summary> /// Class contains player state data. /// </summary> public class Player : MonoBehaviour { public uint ID; public string Name = "Player"; public bool IsAlive = true; public float HealthCurrent = 200.0f; public float HealthMax = 200.0f; protected AudioSource Au...
# CDP Collateralized Debt Positions(CDPs) allow users to lock collateral and generate Dai. ## Getting Started ## Beginner ## Intermediate - [CDP Integration Guide](/cdp/cdp-integration-guide/cdp-integration-guide.md) ## Advanced
#!/bin/bash # Flatten args by expanding cli input ARGS=() for arg in $@; do ARGS+=("$arg") done # Populate REQ_FILE and LOCK_FILE POSITIONAL=() END=${#ARGS[@]} # end = length of flat args for ((i=0;i<END;i++)); do case ${ARGS[$i]} in --req) REQ_FILE=${ARGS[($i+1)]} i=$i+1 ;; -...
//Imports import Settings._ import Dependencies._ import Docker._ import ModuleNames._ //Sbt Log Level logLevel := Level.Info //Add all the command alias's CommandAlias.allCommandAlias lazy val scalaprojecttemplate = (project in file(".")) .settings(rootSettings: _*) .settings(libraryDependencies ++= rootDepend...
require 'test_helper' class WeaknessTemplatesControllerTest < ActionController::TestCase setup do @weakness_template = weakness_templates :security login end test 'should get index' do get :index assert_response :success assert_not_nil assigns(:weakness_templates) end test 'should get...
import { DocumentData } from '@google-cloud/firestore'; import _ from 'lodash'; import util from '../etc/utils'; import { create as createSchema, IPromiseUpdate, update as updateSchema } from '../schemas/promiseUpdate'; import db from '../services/db'; import PromiseModel from './promise'; import { IAddReturn, IM...
# @see https://developers.podio.com/doc/users class Podio::User < ActivePodio::Base property :user_id, :integer property :mail, :string property :status, :string property :locale, :string property :timezone, :string property :password, :string property :old_password, :string property :new_password, :str...
import { Component, OnInit } from '@angular/core'; import { ViewController } from 'ionic-angular'; import * as moment from 'moment'; import { PaymentsFilter } from '../../models'; @Component({ selector: 'fwf-payments-filter', templateUrl: 'payments-filter.component.html' }) export class PaymentsFilterCompone...
import type { Snowflake } from 'discord-api-types/v9'; export enum AutoResponseTypes { Regular = 'regular', Writer = 'writer', Character = 'character', Moderator = 'moderator', Booster = 'booster' } export interface AutoResponsePayload { name?: string; type: AutoResponseTypes; guild: Snowflake; content: stri...
;; Copyright 2013 iWebMa Ltd. ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You may obtain a copy of the License at ;; http://www.apache.org/licenses/LICENSE-2.0 ;; Unless required by applicable law or agreed ...
using System.Text.Json; using Confluent.Kafka; using Microsoft.Extensions.Options; namespace TNO.Services.Serializers; /// <summary> /// AsyncDefaultJsonSerializer class, provides a default json serializer. /// </summary> /// <typeparam name="T"></typeparam> public class AsyncDefaultJsonSerializer<T> : IAsyncSerializ...
#!/bin/bash PATH_TO_GRADLE="~/.gradle/wrapper/dists/gradle-4.8-bin/divx0s2uj4thofgytb7gf9fsi/gradle-4.8/bin/gradle" eval PATH_TO_GRADLE="$PATH_TO_GRADLE" "$PATH_TO_GRADLE" uploadArchives
package mogot import mogot.* import org.junit.Assert import org.junit.Test class Test2 { fun node(vararg id: String): Node = node(null, *id) fun node(root: Node?, vararg id: String): Node { require(id.isNotEmpty()) var parent: Node? = root id.forEach { val l = Node() ...
using System; using System.Collections.Generic; namespace Labo.WcfTestClient.Win.UI { [Serializable] public sealed class ServiceInfo { public string Wsdl { get; set; } private List<ContractInfo> m_Contracts; public List<ContractInfo> Contracts { get ...
import 'package:flutter_data/flutter_data.dart'; import 'package:test/test.dart'; import '_support/person.dart'; void main() async { test('getType', () { expect(DataHelpers.getType(), isNull); expect(DataHelpers.getType<Person>(), 'people'); expect(DataHelpers.getType('CreditCard'), 'creditCards'); ...
# # Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR> # # This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License # which accompanies this distribution. The full text of the license may be found at # http://opensource.org/licenses/bsd...
#!/bin/bash # This is the entry point for configuring the system. ##################################################### INSTALL_DIR=`pwd` #sudo apt-get update #sudo apt-get -y install libgomp1 jq dialog export NCURSES_NO_UTF8_ACS=1 source setup/functions.sh # load our functions mkdir -p ~/bin # Put a start script in a...
package controle; import java.io.IOException; import java.util.ArrayList; import java.util.List; import javax.faces.application.FacesMessage; import javax.faces.bean.ManagedBean; import javax.faces.bean.ViewScoped; import javax.faces.context.FacesContext; import dao.UsuarioDaoImpl; import entidade.Telefone; import ent...
#!/usr/bin/env php <?php namespace Cormy; require __DIR__.'/../vendor/autoload.php'; use Cormy\Server\Fixtures\RequestHandler; use Psr\Http\Message\ResponseInterface; use Zend\Diactoros\ServerRequest; $sut = new RequestHandler(); $response = $sut(new ServerRequest()); exit($response instanceof ResponseInterface ? ...
SET @table_name = "host_habitats"; CALL create_basic_table(@table_name); CALL upsert_basic_table(@table_name, "domestic:free-range farm", 1); CALL upsert_basic_table(@table_name, "domestic:indoor farm", 2); CALL upsert_basic_table(@table_name, "domestic:live market", 3); CALL upsert_basic_table(@table_name, "domestic...
# AutoPrintScreen Installed time-based automatic screenshot tool Công cụ chụp ảnh màn hình tự động theo thời gian được cài đặt
# xcscore Cross country league flight scoring for paragliding. ## Introduction xcscore computes the highest scoring flight from an array of coords according to the World XContest and Swiss Cross Country Cup rules. It is designed for use in XC flight planning software like [XC Planner](https://xcplanner.appspot.com)....
#!/usr/bin/env python3.5 """Test init methods of encoders.""" import unittest import copy from typing import Dict, List, Any, Iterable from neuralmonkey.encoders.recurrent import SentenceEncoder from neuralmonkey.encoders.sentence_cnn_encoder import SentenceCNNEncoder from neuralmonkey.model.sequence import Embedded...
// Copyright 2021, Shulhan <ms@kilabit.info>. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package mdgo import ( "os" "path/filepath" "strings" "testing" "time" "github.com/shuLhan/share/lib/test" ) var ( testWatcher *watcher te...
click-on-data ============= Quick &amp; Dirty Script written in python to record x,y values of data points by clicking them on an image Usage: run click_image.py, it will print the usage. Say you have recorded a bunch of data points, and you've done so on grid paper, or have a scaled line on the image. Say this i...
namespace ApiGateway.Core.Exception { public class CustomExceptionMsg { public string Detail { get; set; } } }
# Global module for MDT module MDT # A module specific to mdt-dummy module Dummy # mdt-dummy gem version VERSION = '0.0.2' end end
# Change Log All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). NOTE: Always keep an Unreleased version at the top of this CHANGELOG for easy updating. Don't f...
package postsql import "time" const ( defaultRetryTimeout = time.Second * 3 defaultRetryInterval = time.Millisecond * 500 )
#!/usr/bin/perl -w # # This script can be used as 'before-acquire-handler' in booth # This will prevent a ticket to be renewed or acquired when # the specified ms clone set does not have active nodes. # use XML::XPath; use XML::XPath::XMLParser; use strict; my $clonename=$ARGV[0] or die("Usage: $0 clonename [debug]\n...
package org.mulesoft.lsp.textsync import org.mulesoft.lsp.InitializableModule import org.mulesoft.lsp.textsync.TextDocumentSyncKind.TextDocumentSyncKind import scala.concurrent.Future trait TextDocumentSyncConsumer extends InitializableModule[SynchronizationClientCapabilities, Eit...
from itertools import repeat def _ntuple(n): def parse(x): return tuple(repeat(x, n)) return parse _single = _ntuple(1) _pair = _ntuple(2) _triple = _ntuple(3) _quadruple = _ntuple(4)
module ClioClient module Api module Findable def find(id, params = {}) begin response = session.get("#{end_point_url}/#{id}", params) data_item(response[singular_resource]) rescue ClioClient::ResourceNotFound, ClioClient::UnknownResponse nil end ...
#!/bin/sh if [ ! -d "/run/mysqld" ]; then mkdir -p /run/mysqld fi /usr/bin/mysqld_safe --datadir='/var/lib/mysql' mysql_install_db --user=root --basedir=/usr --datadir=/var/lib/mysql mysqld --user=root --skip_networking=0 & sleep 3 mysql << EOF CREATE DATABASE IF NOT EXISTS wordpress; GRANT ALL PRIVILEGES ON *.* ...
import { Partner } from '../../modules/vendor/types' export type Props = { onMenuItemClick: (vendor: Partner) => void }
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | ...
import { Card } from "./card"; /** * A Deck of cards, sans jokers, unshuffled */ export declare const baseDeck: Card[]; /** * Returns a shuffled stack of cards of numDecks decks * * @param numDecks the number of decks to use */ export declare const shuffledDecks: (numDecks?: number) => Card[]; /** * Return true ...
# keylogger-python Keyboard Key Press Logger made with Python You will need to install the module `pynput` Type `pip install pynput` # What Happens --------------- A logfile is created to log the keypresses, the file is named `keylog.txt` A CMD window will open to record the keypresses
#ifndef UTILS_TRACER_H #define UTILS_TRACER_H #include <sstream> #include <utility> namespace txml { template<class Impl, class Policy> struct TracerBase : Policy { TracerBase() = default; TracerBase(TracerBase&&src) = default; TracerBase& operator=(TracerBase&&src) = default; using self_t = TracerBas...
// Generated from src/Expression.g4 by ANTLR 4.7.2 // jshint ignore: start var antlr4 = require('antlr4/index'); var serializedATN = ["\u0003\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964", "\u0002\u000f]\b\u0001\u0004\u0002\t\u0002\u0004\u0003\t\u0003\u0004", "\u0004\t\u0004\u0004\u0005\t\u0005\u0004\u000...
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for `tekpower` package.""" import pytest from tekpower import tekpower @pytest.fixture(scope='module') def blank_tp3005p(): tp = tekpower.TP3005P(None) yield tp @pytest.mark.usefixtures('blank_tp3005p') def test_tp3005p_init(blank_tp3005p): asse...
package com.example.customview import android.util.Log object CustomLog{ val TAG = "Log" fun d(msg:String){ if(BuildConfig.DEBUG){ Log.d(TAG, msg) } } fun cd(tag: String, msg:String){ if(BuildConfig.DEBUG){ Log.d(tag, msg) } } }
@using VocaDb.Web.Models.Shared.Partials.Shared @model EntrySearchNameBoxViewModel <input type="text" id="@Model.Id" maxlength="128" class="@Model.Cls" placeholder="@ViewRes.SharedStrings.Search" />
package main import "github.com/codegangsta/cli" var ( FlAddr = cli.StringFlag{ Name: "ip", Usage: "<ip>:<port> to listen on", Value: "127.0.0.1:9050", EnvVar: "CERVANTES_IP", } FlLog = cli.StringFlag{ Name: "log", Usage: "[INFO, DEBUG]", Value: "DEBUG", EnvVar: "CERVANTES_LOG", } )
;;;; -*- Mode: Lisp; Syntax: Common-Lisp; Package: User; -*- ;;;; ------------------------------------------------------------------------------------------ ;;;; Title: Unparse SGML parse trees ;;;; Created: 1997-10-17 ;;;; Author: Gilbert Baumann <unk6@rz.uni-karslruhe.de> ;;;; -------------------------------...
package gaia.sdk.request.type import gaia.sdk.client.Type import gaia.sdk.request.intf.* import gaia.sdk.client.Input import gaia.sdk.Uuid import gaia.sdk.ISO8601 import gaia.sdk.Struct import gaia.sdk.request.input.* import gaia.sdk.request.enumeration.* class SkillEvaluation: Type() { fun syncEval(impulse : St...
package com.iamsteve.android.util.extension import android.graphics.Bitmap import android.graphics.BitmapFactory fun ByteArray.toBitmap(): Bitmap = BitmapFactory.decodeByteArray(this, 0, this.size)
### What is this? and What happend to discord.py? - Well Danny stopped developing discord.py, so this is an alternative to discord.py ### Can i upgrade/move to this module** - This module is still being developed, You can help us out tho. @ <https://github.com/Mythical-Studio/discord.py> - Also join the official serv...