code
stringlengths
4
1.01M
language
stringclasses
2 values
var Connection = require("./db/db-connection").Connection; var Tables = require("./db/tables"); const R = require("ramda"); var QUERY_MATCHES = { $or: [ {percent_name: {$gt: 0.9}}, { distance: {$lt: 1} }, { percent_name: {$gt: 0.8}, distance: {$lt:...
Java
<!DOCTYPE html> <html xml:lang="en-GB" lang="en-GB" xmlns="http://www.w3.org/1999/xhtml"> <head lang="en-GB"> <title>Ross Gammon’s Family Tree - Surname - BESSEY</title> <meta charset="UTF-8" /> <meta name ="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" /> <meta name ...
Java
/////////////////////////////////////////////////////////////////////////////// // // // // /////////////////////////////////////////////////////////////////////////////// // Includes #include "include/mdShared.h" #include "include/mdBreakPoint.h" #include "include/mdSpy.h" #include "include/mdSymbol.h" #include "inc...
Java
Bitrix 16.5 Business Demo = ea7587a817bea036305172b8333d43ef
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 (1.8.0_131) on Sat Oct 28 21:24:43 CEST 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class fr.cryptohas...
Java
from math import ceil import numpy as np from ipywidgets import widgets from tqdm.notebook import tqdm from matplotlib import pyplot as plt import lib.iq_mixer_calibration from drivers import IQAWG from lib.data_management import load_IQMX_calibration_database, \ save_IQMX_calibration from lib.iq_mixer_calibratio...
Java
/* Copyright 2012-2016 Michael Pozhidaev <michael.pozhidaev@gmail.com> This file is part of LUWRAIN. LUWRAIN 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 ...
Java
--- ID: 2 post_title: Sample Page author: moises post_date: 2016-12-14 02:19:15 post_excerpt: "" layout: page permalink: http://pepmeup.ie/sample-page/ published: true --- This is an example page. It's different from a blog post because it will stay in one place and will show up in your site navigation (in most themes)...
Java
Namespace Interpreter.Parser.Tokens ''' <summary> ''' 该表达式之中的操作符 ''' </summary> Public Class [Operator] : Inherits Token Public Enum Operators As Integer NULL = -1 ''' <summary> ''' &lt;- Assign value to variable; ''' </summary> Va...
Java
#include "tool_move.hpp" #include "document/idocument_board.hpp" #include "board/board.hpp" #include "document/idocument_package.hpp" #include "pool/package.hpp" #include "document/idocument_padstack.hpp" #include "pool/padstack.hpp" #include "document/idocument_schematic.hpp" #include "schematic/schematic.hpp" #includ...
Java
#include <cstdlib> // srand() #include <ctime> // time() #include "StateManager.hpp" #include "SDL.hpp" #include "Log.hpp" #include "Config.hpp" #include "GameStateMainMenu.hpp" #include "GameStateGame.hpp" #include "GameStateGameOver.hpp" #include "Window.hpp" #include "Graphics.hpp" StateManager::StateManager(int ...
Java
/* Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc. This file is part of GNU Inetutils. GNU Inetutils is free software: you can redistribute it and/or modify it under the terms of the GNU Gen...
Java
ace.require("ace/ext/language_tools"); var editor = ace.edit("editor"); editor.setOptions({ enableBasicAutocompletion: true }); editor.setTheme("ace/theme/eclipse"); editor.getSession().setMode("ace/mode/java"); document.getElementById('editor').style.fontSize = '18px'; editor.setAutoScrollEditorIntoView(true); ...
Java
<html xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd "> <head> <title>Admin</title> <link rel="stylesheet" type="text/css" href="../.....
Java
import {Component, OnInit} from '@angular/core'; import {FundDataService} from '../funddata/funddata.service'; @Component({ selector: 'app-fund-table', templateUrl: './fund-table.component.html', styleUrls: ['./fund-table.component.css'] }) export class FundTableComponent implements OnInit { private colShow: stri...
Java
/* * Copyright appNativa Inc. All Rights Reserved. * * This file is part of the Real-time Application Rendering Engine (RARE). * * RARE 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 vers...
Java
package de.roskenet.simplecms.repository; import org.springframework.data.repository.PagingAndSortingRepository; import de.roskenet.simplecms.entity.Attribute; public interface AttributeRepository extends PagingAndSortingRepository<Attribute, Integer> { }
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=11"/> <meta name="generator" c...
Java
require('dotenv').config({ silent: true }); var Express = require('express'); var path = require('path'); var fs = require('fs'); var merge = require('lodash/merge'); var proxy = require('proxy-middleware'); var ejs = require('ejs'); var config = require('./config'); var server = new Express(); server.set('port', c...
Java
/* This file is part of the 'orilib' software. */ /* Copyright (C) 2007-2009, 2012 Romain Quey */ /* see the COPYING file in the top-level directory.*/ #ifdef __cplusplus extern "C" { #endif #ifndef OL_DIS_DEP_H #define OL_DIS_DEP_H #include<stdio.h> #include<stdlib.h> #include<math.h> #include<float.h> #define isNa...
Java
/** * * Copyright (C) 2004-2008 FhG Fokus * * This file is part of the FhG Fokus UPnP stack - an open source UPnP implementation * with some additional features * * You can redistribute the FhG Fokus UPnP stack and/or modify it * under the terms of the GNU General Public License Version 3 as published by * the Free So...
Java
/* * (C) 2003-2006 Gabest * (C) 2006-2013 see Authors.txt * * This file is part of MPC-HC. * * MPC-HC 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
<!doctype html> <html> <title>npm-rm</title> <meta http-equiv="content-type" value="text/html;utf-8"> <link rel="stylesheet" type="text/css" href="../../static/style.css"> <link rel="canonical" href="https://www.npmjs.org/doc/cli/npm-rm.html"> <script async=true src="../../static/toc.js"></script> <body> ...
Java
#!/bin/bash cd output_tfi rm "h_mz_E_D=2_chi=20.dat" rm "h_mz_E_D=2_chi=20_pm.dat" rm "h_mz_E_D=3_chi=30.dat" rm "h_mz_E_D=3_chi=30_pm.dat" for f in `ls D=2_chi=20_*_trotter2_itebd.dat` do h=`echo $f | cut -f 3 -d "_" | cut -f 2 -d "="` mz=`tail -n 1 $f | cut -f 3 -d " "` E=`tail -n 1 $f | cut -f 5 -d " "...
Java
-- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- local _detalhes = _G._detalhes local Loc = LibStub ("AceLocale-3.0"):GetLocale ( "Details" ) local _...
Java
# htspan ## Dependencies * gcc >= 4.8 * gsl >= 2.4.1 ### Included dependencies * htslib >= 1.8 * mlat >= 0.1 ## Install ```{bash} make ```
Java
#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2017, Andrew Kofink <ajkofink@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) ...
Java
#!/usr/bin/env bash # Copyright © 2019 by The qTox Project Contributors # # This file is part of qTox, a Qt-based graphical interface for Tox. # qTox is libre 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,...
Java
[(#REM) Affiche la liste des auteurs d'un objet, séparés par des virgules Modele pour la balise #LESAUTEURS, dans le cas des auteurs d'un objet (pour un objet ayant un champ lesauteurs dans la base, la balise affiche directement la valeur du champ) ] <BOUCLE_auteurs(AUTEURS){id_objet}{objet}{par nom}{", "}> <span...
Java
import moment from 'moment'; import PublicationsController from './controller/publications.controller.js'; import AuthorsController from './controller/authors.controller.js'; import PublishersController from './controller/publishers.controller.js'; /* * Application routing */ function routing($routeProvider) { $r...
Java
#include "disablenonworkingunits.h" #include "wololo/datPatch.h" namespace wololo { void disableNonWorkingUnitsPatch(genie::DatFile *aocDat, std::map<int, std::string> *langReplacement) { /* * Disabling units that are not supposed to show in the scenario editor */ for (size_t civIndex = 0; civIndex < aocDat->C...
Java
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name='viewport' content='width=device-width, initial-scale=1.0, user-scalable=yes'> <title>Video Poker</title> <style> @import url('https://fonts.googleapis.com/css?family=Luckiest+Guy'); body { background-color:#0032b4; color:#fff; font-fam...
Java
import styled from "./Theme"; export const Content = styled.div` margin: 2rem 0; padding: 5px; `;
Java
<?php namespace Chamilo\Core\Repository\Selector; /** * A category of options in a ContentObjectTypeSelector * * @author Hans De Bisschop <hans.de.bisschop@ehb.be> */ class TypeSelectorCategory { /** * * @var string */ private $type; /** * * @var string */ private $...
Java
# coding: utf-8 # Copyright (C) 2017 Open Path View, Maison Du Libre # 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. # ...
Java
<?php /** * @version $Id: search.class.php v1.0 $ * @package PBDigg * @copyright Copyright (C) 2007 - 2008 PBDigg.com. All Rights Reserved. * @license PBDigg is free software and use is subject to license terms */ class search { /** * 搜索类型 */ var $_searchtype; /** * 搜索条件语句 */ var $_searchsql = ''; ...
Java
using System; namespace ForumSystem.Data.Models.BaseEntities { public interface IDeletableEntity { bool IsDeleted { get; set; } DateTime? DeletedOn { get; set; } } }
Java
#ifndef HANOI_TOWER_SOLVER_H #define HANOI_TOWER_SOLVER_H #include <list> #include <map> #include "goap/iplanner.h" #include "goap/istate.h" #include "goap/iscopetimer.h" #include "goap/ifunctionstatemeter.h" #include "goap/iplanningstatecomparer.h" #include "newptr.h" #include "log_hook.h" #include "goaplibrary.h" n...
Java
<?php /** * Nombre del archivo: RegionSicaController.php * Descripción:Contiene las funciones del controlador * Fecha de creación:18/11/2017 * Creado por: Juan Carlos Centeno Borja */ namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\region_sica; use App\Http\Request...
Java
/* * Copyright (C) 2013 Huub de Beer * * 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, modify, merge, publis...
Java
///////////////////////////////////////////////////////////////////////////// // C# Version Copyright (c) 2003 CenterSpace Software, LLC // // // // This code is free software under the Artistic license. // // ...
Java
package main import ( "net/http" "os" "path" "strings" "github.com/zenazn/goji/web" ) func fileServeHandler(c web.C, w http.ResponseWriter, r *http.Request) { fileName := c.URLParams["name"] filePath := path.Join(Config.filesDir, fileName) if !fileExistsAndNotExpired(fileName) { notFoundHandler(c, w, r) ...
Java
/****************************************************************************** ******************************************************************************* ******************************************************************************* libferris Copyright (C) 2001 Ben Martin libferris is free software...
Java
// // This file is part of Return To The Roots. // // Return To The Roots 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 2 of the License, or // (at your option) any later version. // // Retu...
Java
<?php /* publicacion_miniatura.php Una publicacion en miniatura */ /* Created on : 23/04/2015, 14:40:40 Author : Juan Manuel Scarciofolo License : GPLv3 */ ?> <div class="publicacion_miniatura"> <h2><?php print $producto->getDescripcion(); ?></h2> <p> <?php $...
Java
require 'package' class Aspell_fr < Package description 'French Aspell Dictionary' homepage 'https://ftpmirror.gnu.org/aspell/dict/0index.html' version '0.50-3' source_url 'https://ftpmirror.gnu.org/aspell/dict/fr/aspell-fr-0.50-3.tar.bz2' source_sha256 'f9421047519d2af9a7a466e4336f6e6ea55206b356cd33c8bd18cb...
Java
require_relative '../core_ext/array' require_relative '../core_ext/hash' require_relative 'host' require_relative 'command' require_relative 'command_map' require_relative 'configuration' require_relative 'coordinator' require_relative 'logger' require_relative 'log_message' require_relative 'formatters/abstract' r...
Java
#!/usr/bin/env python # -*- coding: utf-8 -*- """ add word counts to Cornetto lexical units database file The word count file should have three columns, delimited by white space, containing (1) the count, (2) the lemma, (3) the main POS tag. The tagset is assumed to be the Spoken Dutch Corpus tagset, and the characte...
Java
/* * Copyright 2012-2016 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>png++: index_pixel.hpp Source File</title> <link href="tabs.css" rel="s...
Java
--------------------------------------------- -- Pleiades Ray -- -- Description: Fires a magical ray at nearby targets. Additional effects: Paralysis + Blind + Poison + Plague + Bind + Silence + Slow -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows -- Range: Unknown -- Notes: Only used by Gurfurlur the Me...
Java
# Copyright © 2016 Lars Peter Søndergaard <lps@chireiden.net> # Copyright © 2016 FichteFoll <fichtefoll2@googlemail.com> # # This file is part of Shanghai, an asynchronous multi-server IRC bot. # # Shanghai is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License ...
Java
/************************************************************************ * Copyright (C) 2019 Spatial Information Systems Research Limited * * 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,...
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <title>Geotagger Map</title> <style t...
Java
#!/usr/bin/env python3 from heapq import heapify, heappop, heappush with open('NUOC.INP') as f: m, n = map(int, f.readline().split()) height = [[int(i) for i in line.split()] for line in f] queue = ([(h, 0, i) for i, h in enumerate(height[0])] + [(h, m - 1, i) for i, h in enumerate(height[-1])] ...
Java
#include <stdio.h> #include <unistd.h> #include <sys/socket.h> #include <sys/types.h> #include <arpa/inet.h> #include <netinet/in.h> #include <string.h> #define BUFFER_SIZE 1024 int main() { int socketfd; int port = 2047; struct sockaddr_in server_in; struct sockaddr_in client_in; int client_in_l...
Java
/* ** ################################################################### ** This code is generated by the Device Initialization Tool. ** It is overwritten during code generation. ** USER MODIFICATION ARE NOT PRESERVED IN THIS FILE. ** ** Project : s08qe128 ** Processor : MCF51QE128CLK ** Vers...
Java
// Copyright 2015-2017 Parity Technologies (UK) Ltd. // This file is part of Parity. // Parity 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 lat...
Java
/********************************************************************** ** smepowercad ** Copyright (C) 2015 Smart Micro Engineering GmbH ** 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, eithe...
Java
package net.joaopms.PvPUtilities.helper; import net.minecraftforge.common.config.Configuration; import java.io.File; public class ConfigHelper { private static Configuration config; public static void init(File file) { config = new Configuration(file, true); config.load(); initConfi...
Java
""" Loads hyperspy as a regular python library, creates a spectrum with random numbers and plots it to a file""" import hyperspy.api as hs import numpy as np import matplotlib.pyplot as plt s = hs.signals.Spectrum(np.random.rand(1024)) s.plot() plt.savefig("testSpectrum.png")
Java
# Makefile.in generated by automake 1.14.1 from Makefile.am. # compat/jansson/Makefile. Generated from Makefile.in by configure. # Copyright (C) 1994-2013 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with...
Java
/* $OpenBSD: stdlib.h,v 1.10 1999/06/11 22:47:48 espie Exp $ */ /* $NetBSD: stdlib.h,v 1.25 1995/12/27 21:19:08 jtc Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permi...
Java
<?php /* Copyright (C) 2014 Daniel Preussker <f0o@devilcode.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 Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * ...
Java
package com.bruce.android.knowledge.custom_view.scanAnimation; /** * @author zhenghao.qi * @version 1.0 * @time 2015年11月09日14:45:32 */ public class ScanAnimaitonStrategy implements IAnimationStrategy { /** * 起始X坐标 */ private int startX; /** * 起始Y坐标 */ private int startY; /**...
Java
Wordpress 4.5.3 = 8fdd30960a4499c4e96caf8c5f43d6a2 Wordpress 4.1.13 = 9db7f2e6f8e36b05f7ced5f221e6254b Wordpress 3.8.16 = 9ebe6182b84d541634ded7e953aec282 Wordpress 3.4.2 = d59b6610752b975950f30735688efc36 Wordpress 5.1.1 = 2cde4ea09e0a8414786efdcfda5b9ae4 Wordpress 5.3.1 = 3f2b1e00c430271c6b9e901cc0857800
Java
// needs Markdown.Converter.js at the moment (function () { var util = {}, position = {}, ui = {}, doc = window.document, re = window.RegExp, nav = window.navigator, SETTINGS = { lineLength: 72 }, // Used to work around some browser bugs where we c...
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 (1.8.0_11) on Tue Feb 24 12:30:37 EET 2015 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Package jtodo.domain...
Java
package de.jdellert.iwsa.sequence; import java.io.Serializable; import java.util.Collection; import java.util.HashSet; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.TreeMap; import java.util.TreeSet; /** * Symbol table for mapping IPA segments to integers for efficient inte...
Java
import { moduleForComponent, test } from 'ember-qunit'; moduleForComponent('hq-category', { // Specify the other units that are required for this test // needs: ['component:foo', 'helper:bar'] }); test('it renders', function(assert) { assert.expect(2); // Creates the component instance var component = ...
Java
/* * GNU LESSER GENERAL PUBLIC LICENSE * Version 3, 29 June 2007 * * Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> * Everyone is permitted to copy and distribute verbatim copies * of this license document, but changing it is not allowed. * * You can view LICENCE file ...
Java
// BOINC Sentinels. // https://projects.romwnet.org/boincsentinels // Copyright (C) 2009-2014 Rom Walton // // BOINC Sentinels 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 version 3 of th...
Java
/* * LBFGS.java * * Copyright (C) 2016 Pavel Prokhorov (pavelvpster@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) a...
Java
package cn.bjsxt.oop.staticInitBlock; public class Parent001 /*extends Object*/ { static int aa; static { System.out.println(" 静态初始化Parent001"); aa=200; } }
Java
using Fallout4Checklist.Entities; namespace Fallout4Checklist.ViewModels { public class WeaponStatsViewModel { public WeaponStatsViewModel(Weapon weapon) { Weapon = weapon; } public Weapon Weapon { get; set; } } }
Java
import inspect import re import pytest from robottelo.logging import collection_logger as logger IMPORTANCE_LEVELS = [] def pytest_addoption(parser): """Add CLI options related to Testimony token based mark collection""" parser.addoption( '--importance', help='Comma separated list of import...
Java
/********************************************************* ********************************************************* ** DO NOT EDIT ** ** ** ** THIS FILE AS BEEN GENERATED AUTOMATICALLY ** ** BY UPA PORTABLE GEN...
Java
/* * Copyright (C) 2018 Johan Dykstrom * * 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 dis...
Java
class Block { constructor(x, y, width, colour) { this.x = x; this.y = y; this.width = width; this.colour = colour; this.occupied = false; } draw() { fill(this.colour); rect(this.x, this.y, this.width, this.width); } }
Java
/* * Copyright (C) 2012 MineStar.de * * This file is part of Contao. * * Contao 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. * * Contao is distributed in the ...
Java
package org.grovecity.drizzlesms.jobs.requirements; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import org.grovecity.drizzlesms.service.KeyCachingService; import org.whispersystems.jobqueue.requirements.RequirementListen...
Java
/* * Copyright (C) 2017 Josua Frank * * 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 2 * of the License, or (at your option) any later version. * * This program is distri...
Java
<?php namespace EasyAjax; /** * EasyAjax\FrontInterface interface * * @package EasyAjax * @author Giuseppe Mazzapica * */ interface FrontInterface { /** * Check the request for valid EasyAjax * * @return bool true if current request is a valid EasyAjax ajax request * @access public ...
Java
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
Java
package io.valhala.javamon.pokemon.skeleton; import io.valhala.javamon.pokemon.Pokemon; import io.valhala.javamon.pokemon.type.Type; public abstract class Paras extends Pokemon { public Paras() { super("Paras", 35, 70, 55, 25, 55, true, 46,Type.BUG,Type.GRASS); // TODO Auto-generated constructor stub } }
Java
define(['backbone', 'underscore'], function (Backbone, _) { return Backbone.Model.extend({ idAttribute: 'username', defaults: { persona: { personaPnombre: '', personaSnombre: '', personaApaterno: '', personaAmaterno: '', dni: '' } }, validate: function (attrs, options) { console.lo...
Java
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009-2010 Gael Guennebaud <gael.guennebaud@inria.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
package de.unikiel.inf.comsys.neo4j.inference.sail; /* * #%L * neo4j-sparql-extension * %% * Copyright (C) 2014 Niclas Hoyer * %% * 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...
Java
#!/usr/bin/perl # Meran - MERAN UNLP is a ILS (Integrated Library System) wich provides Catalog, # Circulation and User's Management. It's written in Perl, and uses Apache2 # Web-Server, MySQL database and Sphinx 2 indexing. # Copyright (C) 2009-2015 Grupo de desarrollo de Meran CeSPI-UNLP # <desarrollo@cespi.unlp.edu....
Java
require 'spec_helper' describe SessionsController do render_views context "#create" do it "should redirect to patterns path if user is authenticated" it "should redirect to new_user if user doesn't exist" it "should redirect to new_user if password is incorrect" end end
Java
#include <math.h> #include <stdlib.h> #include "camp_judge.h" #include "game_event.h" #include "monster_ai.h" #include "monster_manager.h" #include "path_algorithm.h" #include "player_manager.h" #include "time_helper.h" #include "partner.h" #include "check_range.h" #include "cached_hit_effect.h" #include "count_skill_d...
Java
#!/bin/sh yum update
Java
package redsgreens.Pigasus; import org.bukkit.entity.Entity; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerInteractEntityEvent; /** * Handle events for all Player related e...
Java
\section{Discussão} \begin{itemize} \item Consideração sobre comportamento e peculiaridades do Clang \item Pressuposto uma vulnerabilidade por arquivo \item Percentual baixo, porém comum \item Maioria dos arquivos não obtiveram report \end{itemize} As vulnerabilidades e suas nomenclaturas identificadas pela ferrament...
Java
/* Original code by Lee Thomason (www.grinninglizard.com) This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including comme...
Java
package fi.metatavu.edelphi.jsons.queries; import java.util.Locale; import fi.metatavu.edelphi.smvcj.SmvcRuntimeException; import fi.metatavu.edelphi.smvcj.controllers.JSONRequestContext; import fi.metatavu.edelphi.DelfoiActionName; import fi.metatavu.edelphi.EdelfoiStatusCode; import fi.metatavu.edelphi.dao.querydat...
Java
package org.craftercms.studio.api.dto; public class UserTest { public void testGetUserId() throws Exception { } public void testSetUserId() throws Exception { } public void testGetPassword() throws Exception { } public void testSetPassword() throws Exception { } }
Java
## Versioning All core-utils will remain `0.1.0` until the entirety of core-utils reaches `1.0.0`. ## Issues If a particular utility is at issue please prepend with issue with its name as such: `"dd: not implemented"` ## Style Standard Rust indentation is used. No use of globs, and use of namespaces must be explici...
Java
// -*- C++ -*- // // generated by wxGlade 0.7.2 // // Example for compiling a single file project under Linux using g++: // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp // // Example for compiling a multi file project under Linux using g++: // g++ main.cpp $(wx-config --libs) $(wx-config --cxxfl...
Java
/*********************************************************************** This file is part of KEEL-software, the Data Mining tool for regression, classification, clustering, pattern mining and so on. Copyright (C) 2004-2010 F. Herrera (herrera@decsai.ugr.es) L. Sánchez (luciano@uniovi.es) J. Alcalá-F...
Java