code
stringlengths
4
1.01M
language
stringclasses
2 values
<?php /* Smarty version Smarty-3.1.19, created on 2017-09-23 12:35:41 compiled from "/var/www/html/admin240x2hjae/themes/default/template/page_header_toolbar.tpl" */ ?> <?php /*%%SmartyHeaderCode:61757368659c68d5d8d2e84-70988510%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_valid = $_smarty...
Java
///////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2018- Equinor ASA // // ResInsight 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 Foundation, either version...
Java
/** * * This file is part of Tulip (www.tulip-software.org) * * Authors: David Auber and the Tulip development Team * from LaBRI, University of Bordeaux * * Tulip is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License * as published by the Free Sof...
Java
/* Copyright 2019 Equinor ASA. This file is part of the Open Porous Media project (OPM). OPM 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 Foundation, either version 3 of the License, or (at your option) any l...
Java
"""Test class for Custom Sync UI :Requirement: Sync :CaseAutomation: Automated :CaseLevel: Acceptance :CaseComponent: Repositories :TestType: Functional :CaseImportance: High :Upstream: No """ from fauxfactory import gen_string from nailgun import entities from robottelo import manifests from robottelo.api.util...
Java
<?php $L['Alerts_Title'] = 'Allarmi personalizzati'; $L['Alerts_Description'] = 'Allarmi personalizzati da ${0}'; $L['Alerts_header'] = 'Allarmi personalizzati da ${0}'; $L['Alerts_Configure_header'] = 'Configura download automatico'; $L['Update_Alerts_label'] = 'Scarica allarmi personalizzati'; $L['Refresh_label'] =...
Java
// dependencies define(['mvc/ui/ui-tabs', 'mvc/ui/ui-misc', 'mvc/ui/ui-portlet', 'utils/utils', 'plugin/models/chart', 'plugin/models/group', 'plugin/views/group', 'plugin/views/settings', 'plugin/views/types'], function(Tabs, Ui, Portlet, Utils, Chart, Group, GroupView, SettingsView, TypesView) { ...
Java
{% extends "jblux/base.html" %} {% block title %}New Character{% endblock %} {% block content %} <form method="post" action="{% url jblux_django.jblux.views.new_character %}"> {% csrf_token %} {% include "jblux/base_form.html" %} <p><input type="submit" value="Create Character" /></p> </form> {% endblock ...
Java
/** * This file is part of RT2D, a 2D OpenGL framework. * * - Copyright 2017 Rik Teerling <rik@onandoffables.com> * - Initial commit */ #include "canvas.h" Canvas::Canvas() : Entity() { this->init(16); } Canvas::Canvas(int pixelsize) : Entity() { this->init(pixelsize); } Canvas::~Canvas() { } void...
Java
#!/usr/bin/env python from keyring import get_password from boto.iam.connection import IAMConnection import lib.LoadBotoConfig as BotoConfig from sys import exit envs = ['dev', 'qa', 'staging', 'demo', 'prod'] for env in envs: id = BotoConfig.config.get(env, 'aws_access_key_id') key = get_password(BotoConfig.co...
Java
<?php namespace App\Services\Geografico\ObterOsc; use App\Services\BaseService; use App\Dao\Geografico\GeolocalizacaoDao; class Service extends BaseService{ public function executar(){ $conteudoRequisicao = $this->requisicao->getConteudo(); $modelo = new Model($conteudoRequisicao); if($modelo->obterCodi...
Java
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 Guillaume Saupin <guillaume.saupin@cea.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You c...
Java
//cmdtypist: the main of cmdtypist /* Program title: CMDTYPIST Author: Chiatiah Calson License: GPL 3 or later versions Date and Time: 5 July 2017 @ 10:40PM Program Size: 2.8MB */ #include<math.h> #include<stdio.h> #include<stdlib.h> #include<string.h> #include<time.h> #include<ctype.h> #include <unistd.h> //cmdtyp...
Java
package com.dank.festivalapp.lib; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; public class DataBaseHelper extends SQLiteOpenHelper{ //The Android's default system path of...
Java
/* WebROaR - Ruby Application Server - http://webroar.in/ * Copyright (C) 2009 Goonj LLC * * This file is part of WebROaR. * * WebROaR 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 Foundation, either version 3 o...
Java
// -*- Mode: Go; indent-tabs-mode: t -*- /* * Copyright (C) 2019-2020 Canonical Ltd * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as * published by the Free Software Foundation. * * This program is distributed in the hop...
Java
-- -- PostgreSQL database dump -- SET statement_timeout = 0; SET client_encoding = 'UTF8'; SET standard_conforming_strings = on; SET check_function_bodies = false; SET client_min_messages = warning; -- -- Name: casts; Type: SCHEMA; Schema: -; Owner: - -- CREATE SCHEMA casts; SET search_path = casts, pg_catalog; -...
Java
# Thème Wordpress du site tela-botanica.org Ce thème utilise le bundler [Webpack](https://webpack.github.io) et l'outil de gestion de dépendances [Composer](https://getcomposer.org). ## Pour débuter Installer [Node](https://nodejs.org) Installer les dépendences du projet npm install composer install Défin...
Java
// ---------------------------------------------------------------------- // File: VersionedHashRevisionTracker.cc // Author: Georgios Bitzes - CERN // ---------------------------------------------------------------------- /************************************************************************ * quarkdb - a redis-l...
Java
Provisioning a new site ======================= ## Required packages: * nginx * Python 3 * Git * pip * virtualenv e.g.,, on Ubuntu: sudo apt-get install nginx git python3 python3-pip sudo pip3 install virtualenv ## Nginx Virtual Host config * see nginx.template.conf * replace SITENAME with, e.g., staging....
Java
package ems.server.protocol; import ems.server.domain.Device; import ems.server.domain.EventSeverity; import ems.server.domain.EventType; import ems.server.utils.EventHelper; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.TimeZone; /** * EventAwareResponseHa...
Java
<?php /* COPYRIGHT 2008 - see www.milliondollarscript.com for a list of authors This file is part of the Million Dollar Script. Million Dollar Script 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 Foundation, eithe...
Java
// binary_frame.go /* Binary Frame Tool. Version: 0.1.1. Date of Creation: 2018-01-28. Author: McArcher. This is a simple Tool which draws a binary Frame around the Content. A Frame consists of logical Ones (1) and has a Spacer of Zeroes (0). So, --- XXX XXX --- Becomes something with a binary Frame w...
Java
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Wed Sep 20 13:37:16 2017 Author: Peiyong Jiang : jiangpeiyong@impcas.ac.cn Function: 旋转使得变换。 """ import matplotlib.pyplot as plt import tensorflow as tf import numpy as np plt.close('all') emitX=12 alphaX=-10. betaX=13. gammaX=(1.+alphaX**2)/...
Java
<?php theme()->render("2column-right", [ ["Header", "top"], ["Post", "content"], ["Comments", "content"], ["SidebarRight", "right"], ["Footer", "bottom"] ]);
Java
/* This file is part of Arkhados. Arkhados 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 Foundation, either version 3 of the License, or (at your option) any later version. Arkhados is distributed in the hope that...
Java
jQuery(document).ready(function(){ if( $('.cd-stretchy-nav').length > 0 ) { var stretchyNavs = $('.cd-stretchy-nav'); stretchyNavs.each(function(){ var stretchyNav = $(this), stretchyNavTrigger = stretchyNav.find('.cd-nav-trigger'); stretchyNavTrigger.on('click', function(event){ event.prevent...
Java
use strict; use warnings; package RPG::ResultSet::Election; use base 'DBIx::Class::ResultSet'; use Carp; sub schedule { my $self = shift; my $town = shift || croak "Town not supplied"; my $days = shift || croak "Number of days not supplied"; croak "Already have an election scheduled\n" if $town->cu...
Java
![GeneralAssemb.ly](../../img/icons/FEWD_Logo.png) #FEWD - Review, Process, and Debugging ###Lesson 11 - Mar 14, 2016 "What was the hardest part of learning to code? It’s learning to not let errors and complicated functions get you down. Everyone makes mistakes and it’s the process of debugging them that teaches y...
Java
#include "precomp.h" #include "stdinc.h" #include "io_sfen.h" #include "commandpacket.h" namespace godwhale { const CommandPacket::CharSeparator CommandPacket::ms_separator(" ", ""); CommandPacket::CommandPacket(CommandType type) : m_type(type), m_positionId(-1), m_position(false) { } CommandPacket::CommandPack...
Java
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using KSP; namespace panelfar { public static class PANELFARMeshSimplification { //Take the raw part geometry and simplify it so that further simplification of the entire vessel is faster p...
Java
# CMake generated Testfile for # Source directory: /home/aviral/GNU-Niyantran/gr36/gr-blocks/include/blocks # Build directory: /home/aviral/GNU-Niyantran/build/gr36/gr-blocks/include/blocks # # This file includes the relevent testing commands required for # testing this directory and lists subdirectories to be teste...
Java
import threading import asyncio async def hello(): print('Hello world! (%s)' % threading.currentThread()) await asyncio.sleep(1) print('Hello again! (%s)' % threading.currentThread()) loop = asyncio.get_event_loop() tasks = [hello(), hello()] loop.run_until_complete(asyncio.wait(tasks)) loop.cl...
Java
#include <iostream> #include <string> class Shape { public : virtual void draw (void) = 0; static Shape *Create (std::string type); }; class circle : public Shape { public : void draw(void){ std::cout << "circle" << std::endl; } }; class square : public Shape { public : void draw(void){ std::cout ...
Java
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[5]; atomic_int atom_1_r1_1; atomic_int atom_1_r13_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, mem...
Java
{% extends "allauth/account/base.html" %} {% load i18n %} {% block head_title %}{% trans "Set Password" %}{% endblock %} {% block content %} <h1>{% trans "Set Password" %}</h1> <form method="POST" action="{% url 'account_set_password' %}" class="password_set"> {% csrf_token %} {{ form.as_p }...
Java
#include "CAN.h" #include "led.h" #include "delay.h" #include "usart.h" ////////////////////////////////////////////////////////////////////////////////// //±¾³ÌÐòÖ»¹©Ñ§Ï°Ê¹Óã¬Î´¾­×÷ÕßÐí¿É£¬²»µÃÓÃÓÚÆäËüÈκÎÓÃ; //ALIENTEKÕ½½¢STM32¿ª·¢°å //CANÇý¶¯ ´úÂë //ÕýµãÔ­×Ó@ALIENTEK //¼¼ÊõÂÛ̳:www.openedv.com //ÐÞ¸ÄÈÕÆÚ:201...
Java
/* Author: Juan Rada-Vilela, Ph.D. Copyright (C) 2010-2014 FuzzyLite Limited All rights reserved This file is part of fuzzylite. fuzzylite is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either ver...
Java
/* Liquid War 6 is a unique multiplayer wargame. Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Christian Mauduit <ufoot@ufoot.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the F...
Java
""" Tests are performed against csr1000v-universalk9.03.15.00.S.155-2.S-std. """ import unittest from iosxe.iosxe import IOSXE from iosxe.exceptions import AuthError node = '172.16.92.134' username = 'cisco' password = 'cisco' port = 55443 class TestIOSXE(unittest.TestCase): def setUp(self): self.xe = ...
Java
//This program 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 Foundation, either version 3 of the License, or //(at your option) any later version. //This program is distributed in the hope that it will be useful, //but...
Java
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = versionTransform; var _path2 = require('path'); var _path3 = _interopRequireDefault(_path2); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var packagePath = _path3.defa...
Java
<!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap Example</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/aja...
Java
from __future__ import absolute_import from pywb.framework.wbrequestresponse import WbResponse, WbRequest from pywb.framework.archivalrouter import ArchivalRouter from six.moves.urllib.parse import urlsplit import base64 import socket import ssl from io import BytesIO from pywb.rewrite.url_rewriter import SchemeOn...
Java
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'image', 'eo', { alertUrl: 'Bonvolu tajpi la retadreson de la bildo', alt: 'Anstataŭiga Teksto', border: 'Bordero', btnUpload: 'Sendu al Servilo...
Java
/** * Copyright (c) 2010-11 The AEminium Project (see AUTHORS file) * * This file is part of Plaid Programming Language. * * Plaid Programming Language 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 Founda...
Java
<h1><?php the_issuu_message('Document'); ?></h1> <form action="" method="post" id="document-upload"> <input type="hidden" name="name" value="<?= $doc->name; ?>"> <table class="form-table"> <tbody> <tr> <th><label for="title"><?php the_issuu_message('Title'); ?></label></th> <td><input type="text" ...
Java
#include "component.h" #include "entity.h" namespace entity { Component::Component(Entity* parent) : QObject(parent) { if (parent != NULL) { parent->addComponent(this); } } } uint qHash(entity::HashableComponent* key, uint seed) { return key == 0 ? 0 : key->hash(seed); }
Java
/* Copyright (C) 2005-2012 by George Williams */ /* * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of conditions and the following...
Java
import java.util.List; import java.util.LinkedList; import java.util.ArrayList; import java.util.Arrays; import java.io.File; import java.io.BufferedReader; import java.io.FileReader; import java.util.Scanner; import java.io.IOException; import java.io.FileNotFoundException; import java.lang.NumberFormatException; impo...
Java
# -*- coding: utf-8 -*- import os from pygal import * def listeEuler(f, x0, y0, pas, n): x, y, L = x0, y0, [] for k in range(n): L += [(x, y)] x += pas y += pas * f(x, y) return L def euler(f, x0, y0, xf, n): pas = (xf - x0) / n courbe = XY() courbe.title = "Methode ...
Java
vti_encoding:SR|utf8-nl vti_timelastmodified:TW|14 Aug 2014 12:39:17 -0000 vti_extenderversion:SR|12.0.0.0 vti_author:SR|Office-PC\\Rafael vti_modifiedby:SR|Office-PC\\Rafael vti_timecreated:TR|01 Nov 2014 09:09:36 -0000 vti_backlinkinfo:VX| vti_nexttolasttimemodified:TW|14 Aug 2014 12:39:17 -0000 vti_cacheddtm:TX|03 N...
Java
## Water Model construction # # Creates and constructs the model with all demands. ## `config` must be defined before loading this file! include("world.jl") include("weather.jl") if get(config, "demandmodel", nothing) == "USGS" include("WaterDemand.jl") else include("Thermoelectric.jl") include("Livestoc...
Java
// Copyright © 2014, 2015, Travis Snoozy // // This program 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 Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is di...
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_29) on Wed May 02 09:32:45 CEST 2012 --> <TITLE> Uses of Class zisko.multicastor.program.controller.ViewController.MessageTyp </TITLE> <META NAME="d...
Java
import {Injectable} from '@angular/core'; import {SnackBarService} from './snack-bar.service'; import {LangChangeEvent, TranslateService} from '@ngx-translate/core'; @Injectable({ providedIn: 'root' }) export class TranslatableSnackBarService { /** * @param snackBarService * @param translateService */ ...
Java
import { AccessToken, Project, User, UserFeatureFlag, UserRole } from '@dev/translatr-model'; import { map } from 'rxjs/operators'; // General export const isAdmin = (user?: User): boolean => user !== undefined && user.role === UserRole.Admin; // Users export const hasCreateUserPermission = () => map(isAdmin); exp...
Java
package Ashafix::I18N::eu; use utf8; use Mojo::Base 'Ashafix::I18N'; our %Lexicon = ( YES => 'BAI', NO => 'EZ', edit => 'aldatu', del => 'ezabatu', exit => 'Exit', cancel => 'Cancel', save => 'Save', confirm => 'Ziur al zaude ezabatu nahi duzula?\n', confirm_domain => 'Ziur al zaude domeinu honetako erregistro guztiak ...
Java
package com.bytezone.diskbrowser.nufx; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; import com.bytezone.diskbrowser.prodos.write.DiskFullException; import com.bytezone.diskbrowser.prodos.write.FileAlreadyExistsException; import c...
Java
package componentes; import javax.swing.JTextField; import javax.swing.text.AttributeSet; import javax.swing.text.BadLocationException; import javax.swing.text.PlainDocument; public class JTextFieldPrazo extends PlainDocument { /** * */ private static final long serialVersionUID = -80208526622585137...
Java
 CREATE OR REPLACE VIEW clin_measurements.vwsystolicdiastolic AS SELECT vwmeasurements.fk_patient, vwpatients.wholename, vwpatients.fk_person, vwpatients.surname, vwpatients.firstname, vwpatients.title, vwpatients.sex, vwpatients.age_numeric, vwpatients.fk_lu_active_status, vwpati...
Java
using System; using System.IO; using System.Linq; namespace FocalLengthAnalyzer { public class Program { public void Main(string[] args) { if (args.Count()<1) { Console.WriteLine("Please pass the path to the directory with jpeg files as the first argument."); ...
Java
explain what are they and common ones, and how important are they?
Java
#include <stdio.h> #include <stdlib.h> //#include <elf.h> #define ELF_MAGIC 16 //#define MEM_ALLOC_H(ptr) ptr = (FILE *) malloc (sizeof(myElf32_Ehdr)); //#define MEM_ALLOC_S(ptr) ptr = (FILE *) malloc (sizeof(myElf32_Shdr)); #define VALIDATE(ptr) if (!(ptr)) {\ fprintf(stdout, "%s", "Returned NULL\n");\ exit(...
Java
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import argparse import pprint import proteindf_bridge as bridge import logging import logging.config def get_rest_of_frame_molecule(frame_molecule, selected_molecule): # calc the rest selector = bridge.Select_AtomGroup(selected_molecule) selected ...
Java
package se.vidstige.jadb; import se.vidstige.jadb.managers.Bash; import java.io.*; import java.util.ArrayList; import java.util.List; public class JadbDevice { public enum State { Unknown, Offline, Device, Recovery, BootLoader }; private final String serial; p...
Java
import RPi.GPIO as GPIO KnockPin = 11 LedPin = 12 Led_status = 1 def setup(): GPIO.setmode(GPIO.BOARD) # Numbers GPIOs by physical location GPIO.setup(LedPin, GPIO.OUT) # Set LedPin's mode is output GPIO.setup(KnockPin, GPIO.IN, pull_up_down=GPIO.PUD_UP) GPIO.output(LedPin, GPIO.HIGH) # Set LedPin high(...
Java
/* * Copyright (c) 2016 The Ontario Institute for Cancer Research. All rights reserved. * * This program and the accompanying materials are made available under the terms of the...
Java
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright (C) 2018 David Arroyo Menéndez # Author: David Arroyo Menéndez <davidam@gnu.org> # Maintainer: David Arroyo Menéndez <davidam@gnu.org> # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as p...
Java
/* * 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. */ package Code.Domain; /** * * @author Andres Orduz Grimaldo */ public class Jornada { private int id; private String no...
Java
<?php /* * Copyright (c) 2013 Algolia * http://www.algolia.com/ * * 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...
Java
MyTestRepo ========== j A Test Repo
Java
<?php /* @var $this yii\web\View */ use yii\data\ActiveDataProvider; use yii\widgets\ListView; /* @var $books array */ /* @var $book \app\models\Books */ /* @var $booksPhotos \app\models\BooksPhotos */ /* @var $booksDataProvider ActiveDataProvider */ /* @var $popularBooksDataProvider ActiveDataProvider */ $this->tit...
Java
function drawChart(len){ var box = document.createElement('div'); box.setAttribute('style','width:500px;height:500px;border:1px solid black;display:flex;flex-direction:column'); for(var i=0; i<len; i++){ var row = document.createElement('div'); if(i<len-1){ row.setAttribute('style','...
Java
package com.tage.rpgutil.client.gui; import net.minecraftforge.client.event.RenderGameOverlayEvent; import cpw.mods.fml.common.eventhandler.Cancelable; import cpw.mods.fml.common.eventhandler.Event; import cpw.mods.fml.common.eventhandler.EventPriority; @Cancelable public class GuiHealth extends Event { public st...
Java
using System; using System.Linq; using System.Collections.Generic; using System.Reflection; using System.Xml; using log4net; using System.ComponentModel; using System.Xml.Serialization; using System.Text; using System.IO; using common; using jm726.lib.wrapper; using jm726.lib.wrapper.logger; namespace jm726.lib.wrappe...
Java
/*! \file \author Igor Mironchik (igor.mironchik at gmail dot com). Copyright (c) 2017 Igor Mironchik This program 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 Foundation, either version 3 of the License, or (at...
Java
.ui-multiselect { padding:4px 2px 4px 4px; text-align:left } .ui-multiselect span.ui-icon { float:right } .ui-multiselect-single .ui-multiselect-checkboxes input { left:-9999px; position:absolute !important; top: auto !important; } .ui-multiselect-single .ui-multiselect-checkboxes label { padding:5px !important } .ui-...
Java
# Copyright 2015 Allen Institute for Brain Science # This file is part of Allen SDK. # # Allen SDK 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 Foundation, version 3 of the License. # # Allen SDK is distributed in the ...
Java
/* eslint-disable no-self-assign */ import Game from '../../../../gui/html/js/game'; import { Plugin } from '../../../../gui/html/js/plugin'; import Translator from '../../../../gui/html/js/translator'; jest.mock('../../../../gui/html/js/dom'); jest.mock('../../../../gui/html/js/filters'); describe('Game', () => { ...
Java
# == Schema Information # # Table name: causes # # id :integer not null, primary key # name :string not null # description :string # image_id :integer # created_at :datetime not null # updated_at :datetime not null # require 'rails_helper' RSpec.describe C...
Java
<?php /** * The template part for displaying single archive from hospital posts * * @package Twenty-Sixteen-Child * * */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <header class="entry-header"> <?php the_title( sprintf( '<h2 class="entry-title-hospital"><a href="%s" rel="bookmark">', e...
Java
// simplewall // Copyright (c) 2016-2021 Henry++ #pragma once #include "routine.h" #include <winsock2.h> #include <ws2ipdef.h> #include <ws2tcpip.h> #include <windns.h> #include <mstcpip.h> #include <iphlpapi.h> #include <aclapi.h> #include <dbt.h> #include <fwpmu.h> #include <mmsystem.h> #include <...
Java
\section{\-Getopt \-Class \-Reference} \label{interface_getopt}\index{\-Getopt@{\-Getopt}} {\ttfamily \#import $<$\-Getopt.\-h$>$} \subsection*{\-Public \-Member \-Functions} \begin{DoxyCompactItemize} \item (void) -\/ {\bf init\-Getopt\-:} \item (\-B\-O\-O\-L) -\/ {\bf response\-Is\-Valid} \item (\-N\-S\-String ...
Java
#!/usr/bin/env python # # This file is protected by Copyright. Please refer to the COPYRIGHT file # distributed with this source distribution. # # This file is part of GNUHAWK. # # GNUHAWK is free software: you can redistribute it and/or modify is under the # terms of the GNU General Public License as published by ...
Java
/******************************************************************************** ** Form generated from reading UI file 'addECGDialog.ui' ** ** Created by: Qt User Interface Compiler version 5.7.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! **************************************...
Java
#include "trayicon.h" #include <QApplication> #include <QMenu> #include <QTimer> #include <conf/addressgroup.h> #include <conf/appgroup.h> #include <conf/confmanager.h> #include <conf/firewallconf.h> #include <form/controls/mainwindow.h> #include <fortsettings.h> #include <manager/hotkeymanager.h> #include <manager/w...
Java
package at.ltd.tools.fw.peer2peerFirewall.backend.entities.comparator; @FunctionalInterface public interface ComparatorLambda<T> { int comp(T t1, T t2); }
Java
// Obdi - a REST interface and GUI for deploying software // Copyright (C) 2014 Mark Clarkson // // This program 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 Foundation, either version 3 of the License, or // (at yo...
Java
package com.shumz.think.ex004; public class ExFour03 { public ExFour03() { System.out.println("An instance of ExFour03 was created..."); } public static void main(String[] args) { new ExFour03(); } }
Java
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[5]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
Java
package TFC.Handlers.Client; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.ScaledResolution; import net.minecraft.client.renderer.Tessellator; import net.minecraft.entity.player.EntityPlayer; import net.minecraftforge.client.event.RenderGameOverlayEvent; import net.minecraftforge.client...
Java
namespace ContaLibre.Areas.HelpPage.ModelDescriptions { public class EnumValueDescription { public string Documentation { get; set; } public string Name { get; set; } public string Value { get; set; } } }
Java
var path = require('path') module.exports = { // Webpack aliases aliases: { quasar: path.resolve(__dirname, '../node_modules/quasar-framework/'), src: path.resolve(__dirname, '../src'), assets: path.resolve(__dirname, '../src/assets'), components: path.resolve(__dirname, '../src/components') }, ...
Java
// // This file is part of the aMule Project. // // Copyright (c) 2003-2011 aMule Team ( admin@amule.org / http://www.amule.org ) // Copyright (c) 2002-2011 Merkur ( devs@emule-project.net / http://www.emule-project.net ) // // Any parts of this program derived from the xMule, lMule or eMule project, // or contributed ...
Java
/* * An Abstract communicator interface which implements listeners. */ /* Copywrite 2013 Will Winder This file is part of Universal Gcode Sender (UGS). UGS 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 Softw...
Java
/* * Copyright (c) "Neo4j" * Neo4j Sweden AB [http://neo4j.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 Foundation, either version 3 of the License, or * (at your...
Java
/* * Unplayer * Copyright (C) 2015-2019 Alexey Rochev <equeim@gmail.com> * * This program 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 Foundation, either version 3 of the License, or * (at your option) any later...
Java
#!/usr/bin/env node 'use strict'; /*All Includes needed for the Bot Core*/ var isfile = function(name) { require('fs').exists(name, function(exists) { return exists; }); }; var jsonfile = require('jsonfile'); var configfile = 'config.json'; var Event = require('./modules/Events').eventBus; // One way Events f...
Java
<div class="main-title">15, Sunday <span>2016</span> </div> <ul class="stage clearfix"> <a class="calendar-history poster tasklist-green"> <div class="max-constrain"> <div class="first-20"> <div class="cal-from"><strong>20:15 <small>GMT</small></strong></div> <div class="cal-to"><strong>22:00 <small>GMT</...
Java