text
stringlengths
1
1.05M
var structarmnn_1_1_activation_descriptor = [ [ "ActivationDescriptor", "structarmnn_1_1_activation_descriptor.xhtml#a6c7517bc11f580a0a443940bc5f81775", null ], [ "operator==", "structarmnn_1_1_activation_descriptor.xhtml#a57980de0f72e982a3d0963f5fb557454", null ], [ "m_A", "structarmnn_1_1_activation_descr...
<gh_stars>1-10 /** * */ package net.abi.abisEngine.rendering.window; import net.abi.abisEngine.rendering.image.AEImage; import net.abi.abisEngine.util.exceptions.AECursorInitializationException; /** * @author abina * */ public class AnimatedCursor implements CursorI { String id; long cursor_handle; AEImage a...
/** * Reads a File or Blob object and returns it as an ArrayBuffer. * * @param {Blob|File} blob The File or Blob data. * @param {Function} callback Success callback passed the array buffer. * @param {Function=} opt_error Optional error callback if the read fails. */ function fileToArrayBuffer( blob...
// 求10-100之间个位数为7的质数 // //以下程序实现了这一功能,请你填补空白处内容: // //#include <stdio.h> //int isp(int n) //{ // int i; // if (n<2) // return 0; // for (i=2;i*i<=n;++i) // { // _______________; // } // return 1; //} //int main() //{ // int i=17; // while (i<=100) // { // if (isp(i)) // printf("%d ",i); // i+=10; // } // printf(...
<filename>devilry/devilry_admin/tests/period/test_createassignment.py import unittest from datetime import timedelta import htmls import mock from django.conf import settings from django.test import TestCase from django.utils import timezone from cradmin_legacy import cradmin_testhelpers from cradmin_legacy import cri...
#!/bin/bash # Required parameters: # @raycast.schemaVersion 1 # @raycast.title Connect # @raycast.mode compact # Optional parameters: # @raycast.icon 📡 # @Documentation: # @raycast.packageName VPN # @raycast.description Start VPN connection. # @raycast.author Alexandru Turcanu # @raycast.authorURL https://github.co...
<reponame>dr-aryone/honeybadger-ruby module Honeybadger # The current String Honeybadger version. VERSION = '4.3.1'.freeze end
<filename>src/car/car.controller.ts import { Controller } from '@nestjs/common'; @Controller('car') export class CarController {}
# frozen_string_literal: true module Sorting extend ActiveSupport::Concern included do def sort_by_params case params[:sort] when 'solved' @pagy, @puzzles = pagy Puzzle.puzzles_solved_by_user(current_user), items: 5 @puzzles = @puzzles.decorate when 'author' @pagy, @p...
/* Navicat Premium Data Transfer Source Server : localhost_3306 Source Server Type : MySQL Source Server Version : 100128 Source Host : localhost:3306 Source Schema : matm Target Server Type : MySQL Target Server Version : 100128 File Encoding : 65001 Da...
export default `flf2a$ 8 6 59 15 10 0 24463 Big by <NAME> 4/93 -- based on Standard Includes ISO Latin-1 Greek characters by <NAME> <<EMAIL>> figlet release 2.2 -- November 1996 Permission is hereby given to modify this font, as long as the modifier's name is placed on a comment line. Modified by <NAME> <<EMAIL>> 12/9...
/* * MIT License * * Copyright (c) 2021 <NAME> * * 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, mod...
<gh_stars>1000+ from dagster import check from dagster.config.snap import ConfigSchemaSnapshot, snap_from_config_type from dagster.core.definitions.pipeline import PipelineDefinition from dagster.utils import merge_dicts def build_config_schema_snapshot(pipeline_def): check.inst_param(pipeline_def, "pipeline_def"...
#!/usr/bin/env sh # generated from catkin/python/catkin/environment_cache.py # based on a snapshot of the environment before and after calling the setup script # it emulates the modifications of the setup script without recurring computations # new environment variables # modified environment variables export LD_LIB...
version=1.2.x # Build docs, copy to correct docs folder, delete build cd ../docs/src sphinx-apidoc -o ./doc ../../dscribe make html SPHINXOPTS="-D version=$version -D release=$version" cp -a build/html/. ../latest rm -r build
function generateUserHTML(array $userData): string { $html = ''; foreach ($userData as $v) { $html .= "<hr>\n"; $html .= "<p class=\"lead\">" . $v['username'] . "</p>\n"; $html .= "<p class=\"lead\">" . $v['level'] . "</p>\n"; $html .= "<p class=\"lead\">" . $v['hp'] . "</p>\n"; $html .= "<block...
import React, {Component} from 'react'; import * as firebase from 'firebase'; import { NavigationActions, StackNavigator, withNavigation} from 'react-navigation'; import{AsyncStorage, TouchableOpacity, Dimensions, View, Image, ScrollView, FlatList} from 'react-native'; import Icon from 'react-native-vector-icons/Simple...
<gh_stars>1-10 import React, { Component } from 'react'; import Players from '../components/Players'; import MoveDisplay from '../components/MoveDisplay'; import ClaimDisplay from '../components/ClaimDisplay'; import Timer from '../components/Timer'; import CardGroup from '../components/CardGroup'; import MakeMoveModal...
#!/usr/bin/env bash # shellcheck disable=SC2128 # shellcheck source=/dev/null set -x set +e # 主要在平行链上测试 source "./mainPubilcRelayerTest.sh" source "./proxyVerifyTest.sh" # shellcheck disable=SC2154 function StartDockerRelayerDeploy_onlyETH() { echo -e "${GRE}=========== $FUNCNAME begin ===========${NOC}" # ...
<filename>include/archgraph/Geometry.h<gh_stars>0 #pragma once #include <SM_Vector.h> #include <polymesh3/Polytope.h> namespace archgraph { class Variant; class Geometry { public: Geometry(const pm3::PolytopePtr& poly) : m_poly(poly) { m_color.MakeInvalid(); } Geometry(const std::ve...
import {MinimumSpanningTreeByPrim} from '../../../src/math/graphAlgorithms/MinimumSpanningTreeByPrim' import {mkGraphOnEdgesArray} from '../../../src/structs/basicGraphOnEdges' import {IntPair} from '../../../src/utils/IntPair' test('rombus with diagal', () => { const edges = [ new IntPair(0, 1), new IntPair...
class Colorful extends React.Component { render() { return ( <div style={{ color: 'red', fontSize: 72 }}>Big Red</div> ) } }
#!/usr/bin/env sh ./build/tools/ristretto quantize --model=models/yolotiny/yolo_tiny_deploy.prototxt \ --weights=models/yolotiny/yolo_tiny.caffemodel \ --model_quantized=models/yolotiny/RistrettoDemo/quantized.prototxt \ --iterations=100 --gpu=0 --trimming_mode=dynamic_fixed_point --error_margin=1
def is_palindrome(string): return string == string[::-1]
package io.smallrye.mutiny.operators; import static io.smallrye.mutiny.helpers.EmptyUniSubscription.CANCELLED; import static io.smallrye.mutiny.helpers.ParameterValidation.nonNull; import static io.smallrye.mutiny.helpers.ParameterValidation.validate; import java.time.Duration; import java.util.concurrent.ScheduledEx...
class AvoidManager: def __init__(self, USER_AVOID_LIST, TAG_AVOID_LIST, DASH_TAG_AVOID_LIST, REPLY_USER_AUTO_ACCEPT_LIST): self.USER_AVOID_LIST = USER_AVOID_LIST self.TAG_AVOID_LIST = TAG_AVOID_LIST self.DASH_TAG_AVOID_LIST = DASH_TAG_AVOID_LIST self.REPLY_USER_AUTO_ACCEPT_LIST = REP...
import factory import fuzzy import pytz from datetime import datetime, timedelta class Event(factory.Factory): class Meta: model = 'Event' start_at = fuzzy.FuzzyDateTime( pytz.timezone('UTC').localize(datetime(2000, 1, 1)), pytz.timezone('UTC').localize(datetime(2020, 1, 1)) ) ...
#!/bin/bash # exit this script if any commmand fails set -e DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" COCOS2DX_ROOT="$DIR"/../.. HOST_NAME="" CURL="curl --retry 999 --retry-max-time 0" function install_android_ndk() { echo "Installing android ndk ..." # sudo curl https://bootstrap.pypa.io/get-p...
<reponame>polinazolotukhina/Shopping-smart const firebaseConfig = { 0: 'the info is in my firebase "ShopApp" ' }; export default firebaseConfig;
<gh_stars>0 var PI2 = Math.PI * 2; //▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ function Car(id, peer, color) { EventEmitter.call(this); this.id = id; this.peer = peer; this.color = color; this.x = 0; // position this.y = 0; ...
<reponame>tanmba/10Vision import { Component, OnInit } from '@angular/core'; import {ActivatedRoute, Router} from "@angular/router"; import {UserService} from "../core/user.service"; import {FirebaseUserModel} from "../core/user.model"; import { Location } from '@angular/common'; import {AuthService} from "../core/auth...
<filename>web/scm/src/app/home/side-panel/store/reducers.ts import { createReducer, on, Action } from '@ngrx/store'; import { SidePanelState, initialState } from './state'; import * as SidepanelActions from './actions'; const sidePanelReducer = createReducer( initialState, on(SidepanelActions.sidePanelInitData...
<reponame>SkaarlK/Learning-Python n = int(input("Insira um número para saber se é primo: ")) nope = 0 for i in range(n): if i > 1: if (n % i == 0): nope += 1 if n != 1 and n != 0 and nope == 0 : print("É primo") exit() print("Não é primo.")
const request = require('request-promise') class BWMinerPool { constructor (options) { this.key = options.key this.secret = options.secret this.accountName = options.accountName } async makeRequest (options) { const result = await request.post(Object.assign({ json: true, proxy: null }, options))...
<filename>src/utils/websocket.js import { getLocal } from "@/utils/local"; import store from "../store"; // websocket 可以实现双向通信,长链接,有心跳检测; h5提供的可以实时通信 class WS { constructor(config = {}) { this.url = config.url || "localhost"; this.port = config.port || 4000; this.protocol = config.protocol || "ws"; // 心跳检测 t...
<gh_stars>1-10 /* Copyright (c) 2012, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of ...
import * as React from 'react' import { Line } from 'react-chartjs-2' import { PacketIntervalData } from '../../types' const packetIntervalLabels = (intervals: number[]) => { return intervals .slice(0, intervals.length - 1) .map((interval, index) => `${interval.toFixed(4)} ~ ${intervals[index + 1].toFixed(4...
CREATE TABLE Student ( StudentId INT NOT NULL AUTO_INCREMENT PRIMARY KEY, StudentName VARCHAR(255) NOT NULL, ClassId INT NOT NULL, FOREIGN KEY (ClassId) REFERENCES Classes(ClassId) ); CREATE TABLE Teacher ( TeacherId INT NOT NULL AUTO_INCREMENT PRIMARY KEY, TeacherName VARCHAR(255) NOT NULL, ClassId INT NOT NULL, FOR...
export const NODE_ENV = process.env.NODE_ENV || "development"; export const PORT = process.env.PORT || 4000; export const HOSTNAME = process.env.HOSTNAME || "localhost"; export const HOST = `${HOSTNAME}:${PORT}`; export const WRITE_API_ENDPOINT = process.env.WRITE_API_ENDPOINT || "https://iwwa-write-api-development.in...
<reponame>eliyap/pandoc-highlight exports.canContainEols = ['mark'] exports.enter = {highlight: enterHighlight} exports.exit = {highlight: exitHighlight} function enterHighlight(token) { this.enter({type: 'mark', children: []}, token) } function exitHighlight(token) { this.exit(token) }
user=$(whoami) if [ "$user" != "root" ]; then echo "Necesitas tener permisos de root :(" exit 1 fi #Creamos las variables #DIR_APACHE es el directorio donde estaran todos los home de los usuarios #GRUPO_SFTP sera el grupo deberemos tener creado DIR_APACHE="/var/www/" GRUPO_SFTP="ftpusers" DO...
#!/bin/bash # Setup deploy user useradd deploy mkdir /home/deploy mkdir /home/deploy/.ssh chmod 700 /home/deploy/.ssh # Add deploy user to users echo "deploy ALL=(ALL:ALL) ALL" >> /etc/sudoers
#!/bin/bash export PATH=/home/tagomoris/local/node-v0.10/bin:$PATH CWD=$(dirname $0) cd $CWD export PORT=8084 exec node index.js
#include <stdio.h> int main() { float r, h, vol; printf("Enter value of radius: "); scanf("%f", &r); printf("Enter value of height: "); scanf("%f", &h); vol = 3.14 * r * r *h; printf("Volume of cylinder = %.2f",vol); return 0; }
#!/usr/bin/env python # vim: set fileencoding=utf-8 : import os from .models import * from pkg_resources import resource_filename LOCATION = resource_filename(__name__, 'metadata.csv') class Database(object): def __init__(self): from .driver import Interface self.info = Interface() # Loads metadata ...
#!/bin/bash # az-vm-jumpbox-cli.sh # This script was adapted from https://github.com/fouldsy/azure-mol-samples-2nd-ed/blob/master/05/azure_cli_sample.sh # released under the MIT license. See https://github.com/fouldsy/azure-mol-samples-2nd-ed/blob/master/LICENSE # explained in chapter 5 of the ebook "Learn Azure in a ...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { createTenant, addUserToTenant, grantAccess } from '../actions/tenants'; class TenantManager extends Component { state = { tenantName: '', userName: '', resourceName: '' }; handleChange = e => { const { name, v...
#!/bin/sh ## Install HomeBrew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew analytics off ## Web brew install wget brew cask install google-chrome brew cask install firefox brew cask install skype brew cask install whatsapp brew cask install zoomus ## Securit...
import numpy as np from sklearn.model_selection import GridSearchCV from sklearn.ensemble import RandomForestClassifier # Define the hyperparameters to optimize param_grid={ 'n_estimators': np.arange(2, 30, 2), 'max_depth': np.arange(2, 12, 2), 'min_samples_leaf': np.arange(1, 10, 2) } # Create GridSearchCV m...
// Copyright 2020 The Chromium Embedded Framework Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CEF_LIBCEF_BROWSER_CHROME_CHROME_BROWSER_HOST_IMPL_H_ #define CEF_LIBCEF_BROWSER_CHROME_CHROME_BROWSER_HOST_IMPL_H_ #pragma onc...
import UIKit internal class UIControlStateConverter { static func fromString(controlState: String) -> UIControlState { let controlStateMapping: [String: UIControlState] = [ "normal": .Normal, "highlighted": .Highlighted, "disabled": .Disabled, "selected"...
<reponame>moonryul/Ultraino package acousticfield3d.scene; import acousticfield3d.math.Frustrum; import acousticfield3d.math.Ray; import acousticfield3d.math.Vector3f; import acousticfield3d.renderer.Texture; import acousticfield3d.shapes.Mesh; /** * * @author Asier */ public class MeshEntity extends E...
def sublist_check(lst, sub): for i in range(len(lst)): if all(i + j < len(lst) and lst[i + j] == sub[j] for j in range(len(sub))): return True return False
<reponame>Jack-Fraser16/onc-certification-g10-test-kit require 'yaml' module Inferno module Terminology module Tasks class CheckBuiltTerminology MIME_TYPE_SYSTEMS = [ 'http://hl7.org/fhir/ValueSet/mimetypes', 'urn:ietf:bcp:13' ].freeze def run if misma...
<reponame>JArmunia/Calendario<filename>Cal3/src/Vista/ContactosVista.java /** * ContactosVista.java * Vista de los contactos * * @author <NAME> * @version 25-8-2018 */ package Vista; import Modelo.CalendarioModelo; import Modelo.Contacto; import java.awt.BorderLayout; import java.awt.Component; impo...
#!/usr/bin/env bash # # Copyright (c) 2019-2020 The XBit Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. export LC_ALL=C.UTF-8 export CONTAINER_NAME=ci_win64 export DOCKER_NAME_TAG=ubuntu:18.04 # Check that bioni...
<filename>Include/KAI/Core/RootType.h #pragma once /// Strip all qualifiers from a given type. template <class T> struct RootType { typedef T Type; }; template <class T> struct RootType<T &> { typedef T Type; }; template <class T> struct RootType<const T&> { typedef T Type; }; template <class T> struct...
<filename>pages/[rid]/create.tsx import {useRouter} from "next/router"; import App from "../../components/App"; import store from "../../redux/store/Store"; import {Provider} from "react-redux"; import React from "react"; const Create = () => { const router = useRouter(); const {rid} = router.query; return...
<reponame>edhowland/spec_wire class Myfoo attr_reader :val1 def initialize(val) @val1 = val end end
def sort_list(int_list): sorted_list = sorted(int_list) return sorted_list sorted_list = sort_list(int_list) print(sorted_list)
#!/usr/bin/env bash # Typography red=$(tput setaf 1) green=$(tput setaf 2) yellow=$(tput setaf 3) lila=$(tput setaf 4) pink=$(tput setaf 5) blue=$(tput setaf 6) white=$(tput setaf 7) black=$(tput setaf 8) bold=$(tput bold) reset=$(tput sgr0) heading () { echo " ${lila}==>${reset}${bold} $1${reset}" } success...
package com.github.coreyshupe.lb.api; import com.github.coreyshupe.lb.api.cache.MemoryServerBalanceCache; import com.github.coreyshupe.lb.api.cache.RedisServerBalanceCache; import com.github.coreyshupe.lb.api.cache.ServerBalanceCache; import com.github.coreyshupe.lb.api.config.ConfigProvider; import com.github.coreysh...
<filename>src/test/java/voot/oidcng/OidcNGRemoteTokenServicesTest.java package voot.oidcng; import com.github.tomakehurst.wiremock.matching.EqualToPattern; import org.junit.Test; import org.springframework.http.MediaType; import org.springframework.security.oauth2.common.exceptions.InvalidTokenException; import voot.o...
#!/bin/sh set -e set -u set -o pipefail function on_error { echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" } trap 'on_error $LINENO' ERR if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy # frameworks to, so exit 0 (signalling the...
<reponame>guidosantillan01/syder-ideas import React from 'react'; import StrategyForm from './StrategyForm'; import StrategiesList from './StrategiesList'; export default function IdeaFeatures({ idea }) { return ( <div> <StrategyForm idea={idea} /> <StrategiesList idea={idea} /> </div> ); }
<gh_stars>1-10 require_relative '../lib/grape-apidoc' require 'grape' require 'grape-entity' require 'stringio' require_relative './scenario/example'
require_relative '../logging' require_relative '../helpers/iface_helper' require_relative '../helpers/weave_helper' module Kontena::NetworkAdapters class Weave include Celluloid include Celluloid::Notifications include Kontena::Observer::Helper include Kontena::Helpers::IfaceHelper include Konten...
import gym # Make the environment env = gym.make('CartPole-v0') # Reset the environment to default beginning # Default observation variable print('-' * 50) print("Initial Observation") observation = env.reset() print(observation) print('-' * 50) for _ in range(20): # Random Action action = env.action_space.s...
// Define the error type for voter not found #[derive(Debug)] enum VotingError { VoterNotFound, } // Function to find a voter by ID fn find_voter(voter_id: u32) -> Result<bool, VotingError> { // Replace this with actual logic to find the voter in the system let voter_found = /* logic to find voter */; ...
<gh_stars>0 'use strict'; var should = require('should'), request = require('supertest'), app = require('../../server'), mongoose = require('mongoose'), User = mongoose.model('User'), Anagrafica = mongoose.model('Anagrafica'), agent = request.agent(app); /** * Globals */ var credentials, user, anagrafica; /*...
package net.community.chest.net.proto.text.imap4; import java.io.IOException; import java.io.OutputStream; import net.community.chest.io.output.OutputStreamEmbedder; import net.community.chest.lang.StringUtil; import net.community.chest.mail.address.MessageAddressType; /** * <P>Copyright 2008 as per GPLv2</P> * *...
<filename>serenity-screenplay-webdriver/src/main/java/net/serenitybdd/screenplay/questions/UIStateReaderWithNameBuilder.java package net.serenitybdd.screenplay.questions; import net.serenitybdd.screenplay.Actor; import net.serenitybdd.screenplay.targets.Target; import org.slf4j.Logger; import org.slf4j.LoggerFactory; ...
package com.bingor.router.node; import android.app.Activity; import android.content.Context; import com.bingor.router.Util; import com.bingor.router.exception.RouterNodeTypeNotMatchException; import com.bingor.router.impl.CallBack; import com.bingor.router.impl.RouterNodeExecutorActivity; import com.bingor.router.imp...
from collections import defaultdict from typing import Tuple class QueryHistoryStats: def __init__(self): self.query_times = [] self.query_frequency = defaultdict(int) def record_query(self, query_time: int): self.query_times.append(query_time) self.query_frequency[query_time] ...
#!/bin/bash #Copyright Alex English June 2021 #This script comes with no warranty whatsoever. Use at your own risk. #This script just spends all the funds on an address back to itself in chunks of the predetermined size. #First arg is the address to operate on (no z-addresses) #Second (optional) arg is the desired chu...
<reponame>The-Anton/Rocket.Chat<filename>app/lib/server/methods/restartServer.ts<gh_stars>1-10 import { Meteor } from 'meteor/meteor'; import { hasRole } from '../../../authorization/server'; Meteor.methods({ // eslint-disable-next-line @typescript-eslint/camelcase restart_server() { const uid = Meteor.userId(); ...
#!/bin/bash # Last update: 08/28/2017 # # This script is designed to be ran on the BB from the directory where the install files are located. # This means that the user has already pulled a copy of the install files (including this script) # onto the BB either through git or some other means. # # Start with a ...
# Copyright (C) 2010 The Android Open Source Project # # 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 ...
<reponame>KrishAmal/NimbleNearby package com.studio.ak.nimblenearby.adapters; import android.content.Context; import android.graphics.Typeface; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; im...
#ifndef RPCZ_SERVER_FUNCTION_H #define RPCZ_SERVER_FUNCTION_H #include <boost/function.hpp> namespace rpcz { class client_connection; class message_iterator; typedef boost::function<void(const client_connection&, message_iterator&)> server_function; } // namespace rpcz #endif // RPCZ_CLIENT_REQUEST_CALLBACK...
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-05-10 18:20 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mapdata', '0085_assign_location_level_room'), ] operations = [ migrations.A...
package thelm.rslargepatterns.client.gui; import com.google.common.primitives.Ints; import net.minecraft.entity.player.InventoryPlayer; import net.minecraft.item.ItemStack; import net.minecraft.util.text.translation.I18n; import net.minecraftforge.items.ItemHandlerHelper; import thelm.rslargepatterns.container.Contai...
module.exports = { purge: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'], darkMode: false, // or 'media' or 'class' theme: { fontFamily: { serif: 'Quicksand', sans: 'Montserrat', display: 'Megrim', }, boxShadow: { neuShadow: '-4px -4px 10px rgb(255, 255, 255), 4p...
#!/bin/csh # '@(#)dbupdate.sh 22.1 03/24/08 1991-2003 ' # # # Copyright (C) 2015 University of Oregon # # You may distribute under the terms of either the GNU General Public # License or the Apache License, as specified in the LICENSE file. # # For more information, see the LICENSE file. # # # # Script to start up ...
<gh_stars>1-10 package water.webserver.jetty8; import org.eclipse.jetty.plus.jaas.JAASLoginService; import org.eclipse.jetty.security.Authenticator; import org.eclipse.jetty.security.ConstraintMapping; import org.eclipse.jetty.security.ConstraintSecurityHandler; import org.eclipse.jetty.security.DefaultIdentityService...
<filename>test/controllers/SubscriptionStatusControllerSpec.scala /* * 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...
#!/bin/sh -e # # Update Linux kernel headers QEMU requires from a specified kernel tree. # # Copyright (C) 2011 Siemens AG # # Authors: # Jan Kiszka <jan.kiszka@siemens.com> # # This work is licensed under the terms of the GNU GPL version 2. # See the COPYING file in the top-level directory. tmpdir=`mktemp -d`...
#!/bin/bash ## ## Copyright 2019 International Business Machines ## ## 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...
#!/usr/bin/env bash # ============================================================================== # Home Assistant Community Add-ons: Bashio # Bashio is an bash function library for use with Home Assistant add-ons. # # It contains a set of commonly used operations and can be used # to be included in add-on scripts t...
package com.hannesdorfmann.collection; import java.util.List; import java.util.Map; import java.util.Set; /** * This class brings the best of both, {@link List} and {@link Map}. So you can * simply iterate, like you would do with any {@link List} or get a item by his * list position. You can also search for an val...
#!/bin/bash function print_banner { echo "---------------------------------------------------------------------------------" echo " _____ _ _ _____ _ " echo "| ___| (_) | / ___(_) " echo "| |__ _ ____ ___ _ __ ___ __| \ `...
#! /bin/bash . ./config.sh start_suite "Proxy failure modes" # docker run should fail when weave router is not running weave_on $HOST1 launch-proxy assert_raises "! proxy docker_on $HOST1 run --rm $SMALL_IMAGE true" assert_raises "proxy docker_on $HOST1 run --rm $SMALL_IMAGE true 2>&1 1>/dev/null | grep 'Error respo...
./target/release/openschafkopf suggest-card --rules "Herz-Solo von 2" --cards-on-table "ga g7 hz g8 eu h7 eo ha gz g9 su gu sz h9 s7 s8 gk e8 so e9 hu go ez hk" --hand "ea sk" --simulate-hands all --branching "9,9" --verbose
// JavaScript Document /** * 钱包相关功能 */ vue.append({ task_list:[], getTaskList:function(){ $.post("/api/task/listInWithraw",{null:null},function(rs){ if(rs.status){ vue.task_list = rs.data; } }, 'json'); } }); vue.addInit('getTaskList'); //标签页功能 vue.append({ tab_index:0,//标签页号 changeTab:function(n)...
<reponame>anticipasean/girakkafunc<filename>func-pure/src/main/java/cyclops/pure/arrow/Cokleisli.java package cyclops.pure.arrow; import cyclops.function.higherkinded.Higher; import cyclops.container.transformable.Transformable; import cyclops.container.immutable.tuple.Tuple2; import cyclops.function.enhanced.Functio...
def find_pairs_sum_10(arr): # Step 1: Initialize the empty pairs list pairs = [] # Step 2: Iterate through the array of numbers for i in range(len(arr)): # Step 3: Iterate through the rest of the array for j in range(i+1, len(arr)): # Step 4: If the sum of two elements is 10, add them to the lis...
# Generated by the protocol buffer compiler. DO NOT EDIT! # Source: google/cloud/sql/v1/cloud_sql_ssl_certs.proto for package 'google.cloud.sql.v1' # Original file comments: # Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance ...
/* * Copyright 2008-2009 MOPAS(Ministry of Public Administration and Security). * * 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 * ...
<filename>src/main/java/mvc/task/Task.java package mvc.task; import lombok.val; import mvc.notifications.Notification; import mvc.notifications.NotificationDispatcher; import java.util.Optional; import static java.util.Collections.singletonMap; import static java.util.Collections.unmodifiableMap; /** * @author <NA...
<filename>DriveBackup/src/main/java/ratismal/drivebackup/handler/listeners/PlayerListener.java package ratismal.drivebackup.handler.listeners; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player...