code
stringlengths
4
1.01M
language
stringclasses
2 values
set AUTH_TOKEN=123456& ^ set HTTP_PORT=8080& ^ set MQTT_URL=mqtt://localhost& ^ set MQTT_USER=user ^ set MQTT_PASS=pass ^ set DOMAIN=infra& ^ set TLD=ictu& ^ set SCRIPT_BASE_DIR=X:\mnt\data\scripts& ^ set DATA_DIR=X:\mnt\data& ^ set PIPEWORKS_CMD=eth0 -i eth0 @CONTAINER_NAME@ dhclient& ^ nodemon index.coffee
Java
# AUTOGENERATED FILE FROM balenalib/qemux86-64-alpine:3.13-run ENV GO_VERSION 1.16.3 # set up nsswitch.conf for Go's "netgo" implementation # - https://github.com/golang/go/blob/go1.9.1/src/net/conf.go#L194-L275 # - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf RUN [ ! -e /etc/nsswitch.conf ] && ec...
Java
'use strict'; viewModel.MonitoringAlarm = new Object(); var ma = viewModel.MonitoringAlarm; ma.minDatetemp = new Date(); ma.maxDatetemp = new Date(); ma.minDateRet = new Date(); ma.maxDateRet = new Date(); vm.currentMenu('Alarm Data'); vm.currentTitle('Alarm Data'); vm.isShowDataAvailability(false); vm.breadcrumb(...
Java
/* * Copyright 2015 Matthew Timmermans * * 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 ...
Java
package com.emc.ecs.servicebroker.repository; import com.emc.ecs.servicebroker.exception.EcsManagementClientException; import com.emc.ecs.servicebroker.service.s3.S3Service; import com.emc.ecs.servicebroker.model.Constants; import com.emc.object.s3.bean.GetObjectResult; import com.emc.object.s3.bean.ListObjectsResult;...
Java
<html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" /> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <title>RepositoryAttribute Constructor (String)</title> <xml> </xml> <link rel="stylesheet" type="...
Java
# -*- coding: UTF-8 -*- from __future__ import unicode_literals, print_function, division
Java
/* * Copyright (c) 2016 Snowplow Analytics Ltd. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org...
Java
/* ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 2011,2012,2013,2014 Giovanni Di Sirio. This file is part of ChibiOS/RT. ChibiOS/RT is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free ...
Java
# Unona fulva Wall. SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
Java
# AUTOGENERATED FILE FROM balenalib/jetson-tx1-debian:bullseye-run # remove several traces of debian python RUN apt-get purge -y python.* # http://bugs.python.org/issue19846 # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. ENV LANG C.UTF-8 # install python dep...
Java
char *my_strcpy(char *dest, char *src) { char *adrr; for (adrr = dest; *src; *dest++ = *src++); *dest++ = '\0'; return (adrr); }
Java
# AUTOGENERATED FILE FROM balenalib/surface-go-debian:bullseye-build ENV NODE_VERSION 17.6.0 ENV YARN_VERSION 1.22.4 RUN for key in \ 6A010C5166006599AA17F08146C2130DFD2497F5 \ ; do \ gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \ gpg --batch --keyserver keyserver.pgp.com --recv-keys "$key" || \ ...
Java
{-# LANGUAGE TemplateHaskell #-} -- Copyright (C) 2010-2012 John Millikin <john@john-millikin.com> -- -- 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/license...
Java
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. ...
Java
# Gitbook Simple Page TOC Plugin [![npm version](https://badge.fury.io/js/gitbook-plugin-simple-page-toc.svg)](https://badge.fury.io/js/gitbook-plugin-simple-page-toc) This plugin inserts a table of content (TOC) section into your GitBook page. It is powered by the [markdown-toc](https://github.com/jonschlinkert/mark...
Java
/******************************************************************************* * Copyright (C) 2016 Kwaku Twumasi-Afriyie <kwaku.twumasi@quakearts.com>. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies...
Java
<?php /** * SystemProviderListResponseTest * * PHP version 5 * * @category Class * @package BumbalClient * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ /** * Bumbal Client Api * * Bumbal API documentation * * OpenAPI spec version: 2.0 * Contact: gerb@bumb...
Java
using Foundation.Data.Hibernate; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using NHibernate; using NHibernate.Context; using NHibernate.Engine; namespace Foundation.Tests.Data.Hibernate { [TestClass] public class HibernateUnitOfWorkTests { [TestMethod] pub...
Java
package info.pupcode.model.repo.test; import org.junit.Before; import org.springframework.context.support.ClassPathXmlApplicationContext; /** * Created by fabientronche1 on 08.11.15. */ public class AbstractConcordionFixture { protected SpringConfigTest springConfigTest; protected ClassPathXmlApplicationCo...
Java
/* * Copyright 2002-2010 the original author or 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 ap...
Java
package alicloud import ( "fmt" "testing" "github.com/alibaba/terraform-provider/alicloud/connectivity" "github.com/aliyun/alibaba-cloud-sdk-go/services/vpc" "github.com/hashicorp/terraform/helper/resource" "github.com/hashicorp/terraform/terraform" ) func TestAccAlicloudSslVpnClientCert_basic(t *testing.T) { ...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_45) on Mon Apr 29 15:10:36 CEST 2013 --> <META http-equiv="Content-Type" content="text/html; charset=utf-8"> <TITLE> Uses of Class org.apache.solr.cl...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="de"> <head> <!-- Generated by javadoc (version 1.7.0_11) on Mon Apr 07 19:10:16 CEST 2014 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>Uses of Class at.i...
Java
using System; using Windows.ApplicationModel.Resources; namespace Okra.Data.Helpers { internal static class ResourceHelper { // *** Constants *** private const string RESOURCEMAP_ERROR = "Okra.Data/Errors"; private const string RESOURCE_NOT_FOUND_ERROR = "Exception_ArgumentException_R...
Java
package pro.luxun.luxunanimation.presenter.adapter; import android.support.annotation.UiThread; import android.support.v7.widget.RecyclerView; import android.view.View; import android.view.ViewGroup; import java.util.ArrayList; import java.util.List; /** * Created by wufeiyang on 16/5/7. */ public abstract class B...
Java
--- title: gocloud.dev/internal/testing/terraform type: pkg ---
Java
# Tragopogon dshimilensis K.Koch SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
Java
package cn.xmut.experiment.service.impl; import java.util.List; import org.apache.commons.fileupload.FileItem; import cn.xmut.experiment.dao.IExperimentDao; import cn.xmut.experiment.dao.impl.jdbc.ExperimentDaoImpl; import cn.xmut.experiment.domain.Experiment; import cn.xmut.experiment.domain.ShowExperiment...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="de"> <head> <!-- Generated by javadoc (1.8.0_121) on Sun Oct 15 23:06:23 CEST 2017 --> <title>Class Hierarchy</title> <meta name="date" content="2017-10-15"> <link rel="stylesheet" type="t...
Java
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2020 Ingo Herbote * https://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * di...
Java
/* * * (C) Copyright IBM Corp. and others 1998-2013 - All Rights Reserved * */ #ifndef __SUBTABLEPROCESSOR2_H #define __SUBTABLEPROCESSOR2_H /** * \file * \internal */ #include "LETypes.h" #include "MorphTables.h" U_NAMESPACE_BEGIN class LEGlyphStorage; class SubtableProcessor2 : public UMemory { public: ...
Java
{%extends "base.html"%} {% block breadcrumb %} {% endblock %} {%block about_this_page %} <h2>Attachments for Site {{site.number}}</h2> {% if user.staff %} <p> <a href="{{ webapp2.uri_for('SiteView', id=site.key.integer_id()) }}"> Go back to Site #{{ site.number }}. </a> </p> {% endif %} {% if user.captain %} <p...
Java
/*! * Start Bootstrap - Agency Bootstrap Theme (http://startbootstrap.com) * Code licensed under the Apache License v2.0. * For details, see http://www.apache.org/licenses/LICENSE-2.0. */ body { overflow-x: hidden; font-family: "Roboto Slab", "Helvetica Neue", Helvetica, Arial, sans-serif; } .text-muted { col...
Java
/** * @file * Declares the any type. */ #pragma once #include "../values/forward.hpp" #include <ostream> namespace puppet { namespace runtime { namespace types { // Forward declaration of recursion_guard struct recursion_guard; /** * Represents the Puppet Any type. */ struct any { ...
Java
package im.mange.jetpac.html import im.mange.jetpac.{Styleable, Renderable, R} import net.liftweb.http.SHtml.ajaxInvoke import net.liftweb.http.js.JsCmd //TODO: ultimately Tr or ClickableTr //TODO: do the style in the same way as the inputs onClick etc ... @deprecated("Use Tr instead", "28/08/2015") case class Clicka...
Java
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> <title>PHPXRef 0.7.1 : Unnamed Project : Function Reference: testsetfieldasstring()</title> <link rel="stylesheet" href="../sample.css" type="text/css"> <link rel="stylesheet" href="../sa...
Java
package server import ( "bytes" "context" "encoding/json" "io/ioutil" "log" "net/http" "strings" "sync" "sync/atomic" "text/template" "time" "github.com/TV4/graceful" "github.com/gogap/config" "github.com/gogap/go-wkhtmltox/wkhtmltox" "github.com/gorilla/mux" "github.com/phyber/negroni-gzip/gzip" "gi...
Java
/* * Copyright (c) 2002-2018 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundatio...
Java
package org.anyline.entity; import com.fasterxml.jackson.databind.JsonNode; import org.anyline.util.*; import org.anyline.util.regular.Regular; import org.anyline.util.regular.RegularUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.Serializable; import java.math.BigDecimal; import java.ut...
Java
/* * Copyright (c) 2015-2017 EpiData, Inc. */ package controllers import play.api.mvc._ import securesocial.core.SecureSocial /** Controller to display the Notebook. */ object Notebook extends Controller with SecureSocial { def show = SecuredAction { implicit request => Ok(views.html.Notebook.show()) } }
Java
package ua.job4j.loop; /** * Class Класс для вычисления факториала заданного числа. * @author vfrundin * @since 05.11.2017 * @version 1.0 */ public class Factorial { /** * Метод должен вычислять факториал поданного на вход числа. * @param n Число для которого нужно определить факториал. * @ret...
Java
/* Copyright 2013 KLab Inc. 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 ...
Java
/* Copyright (C) 2013-2022 TU Dortmund * This file is part of AutomataLib, http://www.automatalib.net/. * * 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/li...
Java
package com.github.binarywang.wxpay.service.impl; import com.github.binarywang.wxpay.bean.request.*; import com.github.binarywang.wxpay.bean.result.*; import com.github.binarywang.wxpay.exception.WxPayException; import com.github.binarywang.wxpay.service.WxPayService; import com.github.binarywang.wxpay.testbase.ApiTes...
Java
package org.clinical3PO.common.security; import java.util.Collection; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.authentication.AuthenticationProvider; import org.springframework.security.authentication.BadCredentialsException; import org.springframework.securit...
Java
--- layout: interior title: The Heart of Wichita speaker: Alex Pemberton permalink: alex-pemberton image: img/20160607/alex_pemberton.jpg event: 20160607 video: ctGrTBgGcN0 favorite: The prominent and hidden architectural gems, such as The Orpheum, the Kress building, Carthalite, Proudfoot & Bird buildings, and Frank L...
Java
<?php /** * This file is part of the SevenShores/NetSuite library * AND originally from the NetSuite PHP Toolkit. * * New content: * @package ryanwinchester/netsuite-php * @copyright Copyright (c) Ryan Winchester * @license http://www.apache.org/licenses/LICENSE-2.0 Apache-2.0 * @link https://githu...
Java
/** * 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...
Java
package com.example.mywechat.utils; import java.util.ArrayList; import java.util.List; import android.app.Activity; /** * ActivityCollector ÀàÓÃÓÚ¹ÜÀíËùÓеĻ * @author dzhiqin * */ public class ActivityCollector { public static List<Activity> activities=new ArrayList<Activity>(); public static void addActiv...
Java
# Teloschistes flavicans var. pallidus Sambo VARIETY #### Status ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Teloschistes flavicans var. pallidus Sambo ### Remarks null
Java
# Copyright 2021 Google LLC # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
Java
/* * The MIT License (MIT) * * Copyright (c) 2015 Cleidimar Viana * * 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 * ...
Java
<font class='sw'>Connexion ($var['msize'] bytes).</font>
Java
/** * 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...
Java
/* * 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 ...
Java
/* * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
Java
package seborama.demo2.kafka.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonIgnoreProperties(ignoreUnknown = true) public class Order { private String id; private boolean fulfilled; ...
Java
# Salix goepperti Andersson SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
Java
# Cortinarius olidissimus Ripart SPECIES #### Status ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Cortinarius olidissimus Ripart ### Remarks null
Java
# Polystictoides leucomelas Lázaro Ibiza, 1916 SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in Revta R. Acad. Cienc. exact. fis. nat. Madr. 14: 833 (1916) #### Original name Polystictoides leucomelas Lázaro Ibiza, 1916 ### Remarks null
Java
public class ChickenBurger extends Burger { @Override public float price() { return 50.5f; } @Override public String name() { return "Chicken Burger"; } }
Java
/* * Copyright (c) 2017 Otávio Santana and others * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distribution. * The Eclipse Public License is available at http://ww...
Java
/* tslint:disable:max-classes-per-file */ import { forEach } from 'ramda'; import Interactor from '../CourseInteractor'; import InteractorLoader from '../CourseInteractorLoader'; import { ICourseStorage } from '../ICourseStorage'; import { IProgressStorage } from '../IProgressStorage'; import { ISerializedCourse } from...
Java
import React from 'react'; import { action } from '@storybook/addon-actions'; import { Action } from '../Actions'; import ActionBar from './ActionBar.component'; const primary = { label: 'Primary', icon: 'talend-cog', bsStyle: 'primary', 'data-feature': 'actionbar.primary', onClick: action('You clicked me'), }; ...
Java
import hashlib from core.analytics import InlineAnalytics from core.observables import Hash HASH_TYPES_DICT = { "md5": hashlib.md5, "sha1": hashlib.sha1, "sha256": hashlib.sha256, "sha512": hashlib.sha512, } class HashFile(InlineAnalytics): default_values = { "name": "HashFile", ...
Java
/** * Copyright 2011-2021 Asakusa Framework Team. * * 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...
Java
/* * Copyright 2007 Sascha Weinreuter * * 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 agre...
Java
/** * Copyright 2017 Hortonworks. * * 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 to in w...
Java
package org.jruby.ext.ffi.jna; import java.util.ArrayList; import org.jruby.runtime.ThreadContext; /** * An invocation session. * This provides post-invoke cleanup. */ final class Invocation { private final ThreadContext context; private ArrayList<Runnable> postInvokeList; Invocation(ThreadContext cont...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_75) on Tue May 19 17:12:39 PDT 2015 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>org.apache.hadoop.r...
Java
# Zigara tenuis (Salisb.) Raf. SPECIES #### Status ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
Java
package lists class OrderedTest(val value: String) extends Ordered[OrderedTest] { override def compare(that: OrderedTest): Int = { value.compareToIgnoreCase(that.value) } override def toString = value } object Test extends App { val test1 = List(0, 1, 2, 3, 4, 5, 6, 7) val test1concat = List(8, 9, 10) ...
Java
package org.onetwo.ext.security.utils; import java.util.Collection; import org.onetwo.common.web.userdetails.UserDetail; import org.onetwo.common.web.userdetails.UserRoot; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.userdetails.User; @SuppressWarnings("serial")...
Java
/* <samplecode> <abstract> A DSPKernel subclass implementing the realtime signal processing portion of the FilterDemo audio unit. </abstract> </samplecode> */ #ifndef FilterDSPKernel_hpp #define FilterDSPKernel_hpp #import "DSPKernel.hpp" #import "ParameterRamper.hpp" #import <vector> static inline float co...
Java
// import { Domain } from '../Domain'; // import { GetDomain } from './GetDomain'; // // /** // * Find domain from object or type // */ // export function FindDomain(target: Function | object): Domain | undefined { // let prototype; // if (typeof target === 'function') { // prototype = target.prototype; // ...
Java
/* * Copyright (C) 2015 P100 OG, Inc. * * 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 agr...
Java
package acceptance; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; import utils.CommandStatus; import utils.TemporaryDigdagServer; import java.nio.file.Path; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.contai...
Java
/* * Copyright Strimzi authors. * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). */ package io.strimzi.api.kafka.model.connect.build; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.ja...
Java
/** * */ package com.transcend.rds.worker; import java.util.Arrays; import java.util.Collection; import java.util.LinkedList; import java.util.List; import org.hibernate.Session; import org.slf4j.Logger; import org.springframework.transaction.annotation.Transactional; import com.msi.tough.cf.json.DatabagParameter...
Java
/* * Copyright (C) 2014 Johannes Donath <johannesd@evil-co.com> * * 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...
Java
class PagosController < ApplicationController before_action :set_pago, only: [:show, :edit, :update, :destroy] # GET /pagos # GET /pagos.json def index @pagos = Pago.all end # GET /pagos/1 # GET /pagos/1.json def show end # GET /pagos/new def new @pago = Pago.new end # GET /pagos/1...
Java
/** Automatically generated file. DO NOT MODIFY */ package com.example.android_servicetest; public final class BuildConfig { public final static boolean DEBUG = true; }
Java
To set your browser's language preferences, follow the instructions in [Setting language preferences in a browser](https://www.w3.org/International/questions/qa-lang-priorities).
Java
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #include "inter_vn_stats.h" #include <oper/interface.h> #include <oper/mirror_table.h> using namespace std; InterVnStatsCollector::VnStatsSet *InterVnStatsCollector::Find(string vn) { VnStatsMap::iterator it = inter_vn_stats_.find(vn); ...
Java
package com.fordprog.matrix.interpreter.type; public enum Type { RATIONAL, MATRIX, FUNCTION, VOID }
Java
/* * Copyright 2016 peter. * * 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 to in w...
Java
/* * @author Flavio Keller * * Copyright 2014 University of Zurich * * 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 * * ...
Java
/*************************************************************************** * Copyright 2015 Kieker Project (http://kieker-monitoring.net) * * 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 a...
Java
import zerorpc import gevent.queue import logging import sys logging.basicConfig() # root logger logger = logging.getLogger() # set the mimimum level for root logger so it will be possible for a client # to subscribe and receive logs for any log level logger.setLevel(0) class QueueingLogHandler(logging.Handler): ...
Java
package com.twitter.finagle.postgres.values /* * Enumeration of value types that can be included in query results. */ object Types { val BOOL = 16 val BYTE_A = 17 val CHAR = 18 val NAME = 19 val INT_8 = 20 val INT_2 = 21 val INT_4 = 23 val REG_PROC = 24 val TEXT = 25 val OID = 26 val TID = 27 ...
Java
# Leptopodia murina var. alpestris (Boud.) R. Heim & L. Remy VARIETY #### Status ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Leptopodia alpestris Boud. ### Remarks null
Java
/** * Copyright © 2013 enioka. All rights reserved * * 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 la...
Java
<?php declare(strict_types=1); namespace DaPigGuy\PiggyCustomEnchants\enchants\armor\chestplate; use DaPigGuy\PiggyCustomEnchants\enchants\CustomEnchant; use DaPigGuy\PiggyCustomEnchants\enchants\ToggleableEnchantment; use DaPigGuy\PiggyCustomEnchants\enchants\traits\TickingTrait; use pocketmine\entity\effect\Effect...
Java
# -*- coding: utf-8 -*- # Copyright 2022 Google LLC # # 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...
Java
# AUTOGENERATED FILE FROM balenalib/edge-ubuntu:xenial-build # remove several traces of debian python RUN apt-get purge -y python.* # http://bugs.python.org/issue19846 # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. ENV LANG C.UTF-8 # key 63C7CC90: public key...
Java
/** * Copyright (c) 2013-2020 Nikita Koksharov * * 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...
Java
package org.artifactory.ui.rest.resource.home; import org.artifactory.api.security.AuthorizationService; import org.artifactory.ui.rest.resource.BaseResource; import org.artifactory.ui.rest.service.general.GeneralServiceFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework....
Java
using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace Castleroid.NPCs { public class ai8 : ModNPC { public override void SetDefaults() { npc.name = "ai8"; npc.displayName = "ai8"; npc.width = 28; npc.height = 20; npc.damage = 2; npc.defense = 0; npc.lifeMax = 2; npc.sound...
Java
/* * Licensed to Cloudkick, Inc ('Cloudkick') under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * Cloudkick licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not us...
Java