code
stringlengths
4
1.01M
language
stringclasses
2 values
/** * This file defines the fitness_params object. * * TODOs: * - a few TODOs in the file but ok * * FINISHED! * */ using System; using System.Collections.Generic; using System.Text; using System.Xml; using System.IO; using toolbox; /** * namespace for biogas plant optimization * * Definition of: * -...
Java
/* This file is part of libcuzmem Copyright (C) 2011 James A. Shackleford libcuzmem 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
/* Copyright 2004,2007,2008,2010,2011,2014 IPB, Universite de Bordeaux, INRIA & CNRS ** ** This file is part of the Scotch software package for static mapping, ** graph partitioning and sparse matrix ordering. ** ** This software is governed by the CeCILL-C license under French law ** and abiding by the rules of distri...
Java
<?php /** * Usage Statistics * * @package MyAAC * @author Slawkens <slawkens@gmail.com> * @copyright 2019 MyAAC * @link https://my-aac.org */ defined('MYAAC') or die('Direct access not allowed!'); class Usage_Statistics { private static $report_url = 'https://my-aac.org/report_usage.php'; public st...
Java
<style> ion-content{ background-color: #00091a; color:#e6eeff; } ion-card{ text-align: right; } /*global CSS*/ #gems{ background-color: inherit; } .more { float: none; } .menu{ transform: translate(-50%, 55%); } /*small devices*/ @media (min-width: 320px) and (max-width: 480px) { .more{ mar...
Java
# piconf ##Before we begin: * This is my first project using Git & GitHub * My first complex C project * First attempt at a autotools project * My Main languages are Java, JScript, Python & BASIC * It will contain stupid / beginners mistakes & bad smelling * The proof on concept was written in python but C has been cho...
Java
using System; using System.Linq; using LeagueSharp; using LeagueSharp.Common; using Slutty_ryze.Properties; namespace Slutty_ryze { internal class Program { readonly static Random Seeder = new Random(); private static bool _casted; private static int _lastw; #region onload ...
Java
@import "../startbootstrap-agency/css/agency.min.css"; .text-primary { color: #ff7058; } a { color: #ff7058; } a:hover, a:focus, a:active, a.active { color: #324a5e; } .btn-primary { background-color: #ff7058; border-color: #ff7058; } .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary....
Java
/* Copyright (C) 2011 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> 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
#ifndef TNUICOLORSTREAMEFFECT_H #define TNUICOLORSTREAMEFFECT_H #include <QObject> class TNuiColorStream; class TNuiColorStreamEffect : public QObject { Q_OBJECT public: TNuiColorStreamEffect(TNuiColorStream *stream); void setEnabled(bool enabled); bool isEnabled() const { return m_enabled; } v...
Java
#include "../lib/includes.h" #include "../lib/utils.h" #include "../lib/methnum.h" #include "../Enum_type.h" #include "../Var/var.h" #include "../T0/t0.h" #include "upot.h" void test_der ( Upot * U , U_type upot_t , T0_type t0_t, bool phi_eq_phibar ); #define TD_T(f,df,nf,str) do{ testderiv(f,df,Tmin ,Tmax ,N,...
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <!-- Created by texi2html, http://www.gnu.org/software/texinfo/ --> <head> <title>top section: About This Document</title> <meta name="description" content="top section: About This Document"> <meta name="keywo...
Java
/* _ _ _ _ ___| (_) ___| | __ (_)___ / __| | |/ __| |/ / | / __| \__ \ | | (__| < _ | \__ \ |___/_|_|\___|_|\_(_)/ |___/ |__/ Version: 1.8.1 Author: Ken Wheeler Website: http://kenwheeler.github.io Docs: http://kenwheeler.github.io/slick Repo: http://github.com/kenwh...
Java
/******************************************************************************************************************************************************* * Copyright ¨Ï 2016 <WIZnet Co.,Ltd.> * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation f...
Java
namespace BarionClientLibrary.Operations.Common { public class ShippingAddress { public string Country { get; set; } public string City { get; set; } public string Region { get; set; } public string Zip { get; set; } public string Street { get; set; } public stri...
Java
/* * Moondust, a free game engine for platform game making * Copyright (c) 2014-2019 Vitaly Novichkov <admin@wohlnet.ru> * * This software is licensed under a dual license system (MIT or GPL version 3 or later). * This means you are free to choose with which of both licenses (MIT or GPL version 3 or later) * you ...
Java
----------------------------------- -- Catastrophe -- Scythe weapon skill -- Skill Level: N/A -- Drain target's HP. Bec de Faucon/Apocalypse: Additional effect: Haste -- This weapon skill is available with the stage 5 relic Scythe Apocalypse or within Dynamis with the stage 4 Bec de Faucon. -- Also available without Af...
Java
/*! \file st.h \brief Class representing FPU's ST register. */ #ifdef ST_H #error Already included #else #define ST_H class st: public reg { public: st(); st(std::string const &name); ~st(); st &operator()(size_t i); std::string name() const override; private: ...
Java
#include <iostream> #include <stdexcept> #include <vector> #include "latticeBase.hpp" #include "collisionBase.hxx" #include "latticeNode.hxx" #include "latticeModel.hxx" #include "ZouHeNode.hpp" #include "latticeNode.hxx" ZouHeNode::ZouHeNode ( latticeBase &lb, collisionBase &cb, latticeModelD2Q9 &D2Q9,...
Java
package net.minecraft.server; import java.io.IOException; public class PacketPlayOutEntityHeadRotation implements Packet<PacketListenerPlayOut> { private int a; private byte b; public PacketPlayOutEntityHeadRotation() {} public PacketPlayOutEntityHeadRotation(Entity entity, byte b0) { this....
Java
@{ # Script module or binary module file associated with this manifest. ModuleToProcess = 'AntivirusBypass.psm1' # Version number of this module. ModuleVersion = '3.0.0.0' # ID used to uniquely identify this module GUID = '7cf9de61-2bfc-41b4-a397-9d7cf3a8e66b' # Author of this module Author = 'Matthew Graeber' # C...
Java
@charset "utf-8"; /* CSS Document */ *{margin:0;padding:0;} ul{list-style:none;} a{text-decoration:none;} img,input,textarea{border:none;} .clear{clear:both;} ::-moz-selection{background:#41EC49;} ::selection{background:#41EC49;} @font-face{ font-family:ziti; src:url(../fonts/Munro.eot),url(../fonts/Munro.otf),url(.....
Java
package cmake.icons; import com.intellij.openapi.util.IconLoader; import javax.swing.*; /** * Created by alex on 12/21/14. */ public class CMakeIcons { public static final Icon FILE = IconLoader.getIcon("/icons/cmake.png"); public static final Icon MACRO = IconLoader.getIcon("/icons/hashtag.png"); publ...
Java
# Initialise # # Load lib functions if not already loaded unless($_SHARED{lib}) { spi_exec_query("select lib()"); } my $lib = $_SHARED{lib}; $lib->{clear_cache}();
Java
/* * Cantata * * Copyright (c) 2011-2013 Craig Drummond <craig.p.drummond@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 2 of the License, or * (a...
Java
HostCMS 6.7 = 9fdd2118a94f53ca1c411a7629edf565
Java
def _setup_pkgresources(): import pkg_resources import os import plistlib pl = plistlib.readPlist(os.path.join( os.path.dirname(os.getenv('RESOURCEPATH')), "Info.plist")) appname = pl.get('CFBundleIdentifier') if appname is None: appname = pl['CFBundleDisplayName'] path = os...
Java
<?php /** * Kunena Plugin * @package Kunena.Plugins * @subpackage Joomla16 * * @Copyright (C) 2008 - 2012 Kunena Team. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @link http://www.kunena.org **/ defined ( '_JEXEC' ) or die (); class plgKunenaJoomla extends JPlugin { public f...
Java
#!/bin/bash #change to develop branch git checkout develop #create new branch from develop git checkout -b feature/dummy git add dummy.py git commit -m"added dummy.py" #push to remote git push -u origin feature/dummy #after that is sufficient git push
Java
#include "gremlin.h" void cs_kroneckerIupdate(const cs *A, int nI, const cs *C){ int i, j, k, cnt, an, am; double *Ax; an = A->n; am = A->m; Ax = A->x; cnt = 0; for(i = 0; i < an; i++){ for(j = 0 ; j < nI ; j++){ for(k = 0; k < am; k++){ C->x[cnt] = Ax[i*...
Java
<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <style> table.head, table.foot { width: 100%; } td.head-rtitle, td.foot-os { text-align: right; } td.head-vol { text-align: center; } table.foot td { width: 50%; } table.head td { width: 33%; } div.spacer { margin: 1em 0; } </style> <title> PTHREAD_CONDATTR_SETPSHAR...
Java
<?php /** * Automatically loads the specified file. * * @package PluginName\Lib */ namespace PluginName\Lib; /** * Automatically loads the specified file. * * Examines the fully qualified class name, separates it into components, then creates * a string that represents where the file is loaded on disk. * * ...
Java
----------------------------------- -- Area: Cloister of Storms -- BCNM: Trial by Lightning ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); local ID = require("scripts/zones/Cloister_of_Storms/IDs"); ----------------------------------- -- What should go h...
Java
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Iterating Over the Matches Within An MFC String</title> <link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.74.0"> <link rel="ho...
Java
/* Copyright (C) 2011 Equinor ASA, Norway. The file 'rsh_driver.c' is part of ERT - Ensemble based Reservoir Tool. ERT 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 Lice...
Java
# GeoCalle Modelo socioespacial de la población sin hogar en el Centro Histórico de la Ciudad de México. [Página web del Repositorio](http://www.geocalle.org)
Java
require 'package' class Harfbuzz < Package description 'HarfBuzz is an OpenType text shaping engine.' homepage 'https://www.freedesktop.org/wiki/Software/HarfBuzz/' version '1.7.6-0' source_url 'https://github.com/harfbuzz/harfbuzz/releases/download/1.7.6/harfbuzz-1.7.6.tar.bz2' source_sha256 'da7bed39134826...
Java
--- title: "2017-09-14 Indentation" date: 2017-09-13T20:38:45-05:00 tags: - haskell draft: false description: Indentation matters. A lot. --- Indentation is significant in Haskell. Haskell uses indentation to group pieces of code together. This is similar to Python, but there are "false cognates" - similar code that...
Java
package com.brejza.matt.habmodem; import group.pals.android.lib.ui.filechooser.FileChooserActivity; import group.pals.android.lib.ui.filechooser.io.localfile.LocalFile; import java.io.File; import java.util.List; import android.os.Bundle; import android.os.Environment; import android.os.Parcelable; import android.pr...
Java
#!/usr/bin/env python # sample module from jira.client import JIRA def main(): jira = JIRA() JIRA(options={'server': 'http://localhost:8100'}) projects = jira.projects() print projects for project in projects: print project.key # Standard boilerplate to call the main() function. if __nam...
Java
package ai.hellbound; import l2s.commons.util.Rnd; import l2s.gameserver.ai.CtrlEvent; import l2s.gameserver.ai.Mystic; import l2s.gameserver.model.Creature; import l2s.gameserver.model.Playable; import l2s.gameserver.model.World; import l2s.gameserver.model.instances.NpcInstance; import bosses.BelethManager; /** * ...
Java
#ifndef PHOTONS_PhaseSpace_Generate_Dipole_Photon_Angle_H #define PHOTONS_PhaseSpace_Generate_Dipole_Photon_Angle_H #include "ATOOLS/Math/Vector.H" namespace PHOTONS { class Generate_Dipole_Photon_Angle { private: double m_b1; double m_b2; double m_c; ...
Java
package be.ipl.mobile.projet.historypub; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() {...
Java
/********************************************************** * Filename: MDBRow.cpp * Text Encoding: utf-8 * * Description: * * * Author: moxichang (ishego@gmail.com) * Harbin Engineering University * Information Security Research Center * ************************************...
Java
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
Java
// // Copyright (c) 2008-2018 the Urho3D project. // // 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, m...
Java
CREATE TABLE `UserState`( `StateId` NVARCHAR(64) NOT NULL UNIQUE, `Description` NVARCHAR(512), PRIMARY KEY(`StateId`) ); INSERT INTO `UserState` VALUES ('Active','Пользователь активен'), ('Bloked','Пользователь заблокирован');
Java
<!-- Admin info view --> <!-- Title --> <h2 class="accordion-toggle chevron"> <!-- Toggle --> <button type="button" aria-expanded="false" bb-accordion> <span> <i class="fas fa-info-circle fa-fw"></i> {{_t('info')}} </span> </button> </h2> <!-- Content --> <div class="accordion" hidden> <div class=...
Java
<?php // include.php - Handles options for subscribe2 // DO NOT EDIT THIS FILE AS IT IS SET BY THE OPTIONS PAGE if (!isset($this->subscribe2_options['autosub'])) { $this->subscribe2_options['autosub'] = "no"; } // option to autosubscribe registered users to new categories if (!isset($this->subscribe2_options['newr...
Java
/* Utilities for MPFR developers, not exported. Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. Contributed by the Arenaire and Caramel projects, INRIA. This file is part of the GNU MPFR Library. The GNU MPFR Library is free software; you can redi...
Java
/** */ package net.paissad.waqtsalat.core.impl; import java.util.Calendar; import net.paissad.waqtsalat.core.WaqtSalatPackage; import net.paissad.waqtsalat.core.api.Pray; import net.paissad.waqtsalat.core.api.PrayName; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EClass; import org....
Java
package xigua.battle.of.elements.model; import org.junit.Before; import org.junit.Test; import static org.assertj.core.api.Assertions.assertThat; public class IntWithMaxTest { private IntWithMax intWithMax; @Before public void setUp() { intWithMax = new IntWithMax(42); } @Test publi...
Java
import { DASHBOARD_ACTIVE_COIN_CHANGE, DASHBOARD_ACTIVE_COIN_BALANCE, DASHBOARD_ACTIVE_COIN_SEND_FORM, DASHBOARD_ACTIVE_COIN_RECEIVE_FORM, DASHBOARD_ACTIVE_COIN_RESET_FORMS, DASHBOARD_ACTIVE_SECTION, DASHBOARD_ACTIVE_TXINFO_MODAL, ACTIVE_COIN_GET_ADDRESSES, DASHBOARD_ACTIVE_COIN_NATIVE_BALANCE, DASH...
Java
#ifndef DATASOURCE_H #define DATASOURCE_H #include <QArray> #include <QVector3D> #include <QColor4ub> #include <QObject> #include <QVector2D> #include <QGLVertexBundle> #include <iostream> #include "databundle.h" using std::cerr; using std::endl; class DataSource : public QObject { Q_OBJECT public: DataSourc...
Java
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <volk_fft/volk_fft_prefs.h> //#if defined(_WIN32) //#include <Windows.h> //#endif void volk_fft_get_config_path(char *path) { if (!path) return; const char *suffix = "/.volk_fft/volk_fft_config"; char *home = NULL; if (home == NULL) h...
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <!-- Created by texi2html, http://www.gnu.org/software/texinfo/ --> <head> <title>Singular 2-0-4 Manual: D.6.2 ainvar_lib</title> <meta name="description" content="Singular 2-0-4 Manual: D.6.2 ainvar_lib"> <me...
Java
package ninja.mbedded.ninjaterm.util.rxProcessing.timeStamp; import javafx.scene.paint.Color; import ninja.mbedded.ninjaterm.JavaFXThreadingRule; import ninja.mbedded.ninjaterm.util.rxProcessing.streamedData.StreamedData; import ninja.mbedded.ninjaterm.util.rxProcessing.streamingFilter.StreamingFilter; import org.juni...
Java
// urlParams is null when used for embedding window.urlParams = window.urlParams || {}; // isLocalStorage controls access to local storage window.isLocalStorage = window.isLocalStorage || false; // Checks for SVG support window.isSvgBrowser = window.isSvgBrowser || (navigator.userAgent.indexOf('MSIE') < 0 || document...
Java
<div class="col-lg-6 col-12"> <section widget class="widget widget-chart-stats-simple"> <header> <div class="row"> <div class="col-3"> <h6> Total Sales </h6> <p class="value5"> January, 2014 </p> </div> <div class="col-3...
Java
<?php /** * Part of the Sentinel package. * * NOTICE OF LICENSE * * Licensed under the 3-clause BSD License. * * This source file is subject to the 3-clause BSD License that is * bundled with this package in the LICENSE file. * * @package Sentinel * @version 2.0.18 * @author Cartalyst LLC * @lic...
Java
/* * File: Worker2.cpp * Author: saulario * * Created on 15 de septiembre de 2016, 6:40 */ #include "Worker2.h" #include "Csoft.h" using namespace csoft::mod2; Worker2::Worker2(const csoft::Csoft * csoft) { } Worker2::Worker2(const Worker2& orig) { } Worker2::~Worker2() { } void Worker2::doIt(void) { ...
Java
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace YSchool { public class Person { public int id; public string name ; public int gender;//1 public string birthDate;//"1900-00-00T00:00:00" public int mobileNumb...
Java
var chai = require('chai') , sinon = require('sinon') , sinonChai = require('sinon-chai') , expect = chai.expect , Promise = require('es6-promise').Promise , UpdateTemplatesController = require('../../../platypi-cli/controllers/cli/updatetemplates.controller'); chai.use(sinonChai); describe('Temp...
Java
""" Class that contains client access to the transformation DB handler. """ __RCSID__ = "$Id$" import types from DIRAC import S_OK, S_ERROR, gLogger from DIRAC.Core.Base.Client import Client from DIRAC.Core.Utilities.List ...
Java
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include "serial.h" #include "inputprocessor.h" #include "commandsender.h" #include "plothelper.h" namespace Ui { class MainWindow; } class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(QWidget *parent = 0); ~MainW...
Java
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2016 Nicolas Casalini -- -- 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
/****************************************************************************** * * MantaFlow fluid solver framework * Copyright 2011 Tobias Pfaff, Nils Thuerey * * This program is free software, distributed under the terms of the * GNU General Public License (GPL) * http://www.gnu.org/licenses * * Plugin ti...
Java
from django.db import models from django.contrib.auth.models import User import MySQLdb # Create your models here. class Comentario(models.Model): """Comentario""" contenido = models.TextField(help_text='Escribe un comentario') fecha_coment = models.DateField(auto_now=True) def __unicode__(self): return self.c...
Java
XBMC Notify MQTT ============================= An XBMC addon to display notifications received over mqtt. Install ------- Install the zip file through the XBMC add on interface. Configure --------- Insert the broker host, port, and the root path on in the configuration. Topics ------ The root topic is configurab...
Java
/* This file is part of solidity. solidity 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. solidity is distributed in the hope that i...
Java
/** * Copyright (c) 2012 Todoroo Inc * * See the file "LICENSE" for the full license governing this code. */ package com.todoroo.astrid.reminders; import android.app.Dialog; import android.content.Intent; import android.view.View; import android.widget.TextView; import com.todoroo.astrid.activity.AstridActivity; ...
Java
package com.simplecity.amp_library.model; import android.content.Context; import com.simplecity.amp_library.R; import java.io.File; public class ArtworkModel { private static final String TAG = "ArtworkModel"; @ArtworkProvider.Type public int type; public File file; public ArtworkModel(@Artwor...
Java
package com.newppt.android.ui; import com.newppt.android.data.AnimUtils2; import android.content.Context; import android.util.AttributeSet; import android.view.MotionEvent; import android.widget.ImageView; public class ScaleImage extends ImageView { final private int FLIP_DISTANCE = 30; public ScaleImage(Context ...
Java
pyVenture - A python text-based adventure game engine ----------------------------------------------------- This is a generalized framework that allows construction and playing of text-based-adventure-style worlds. Stores world information in JSON files. This code is licensed under the General Public License Version ...
Java
/* * Generic DSI Command Mode panel driver * * Copyright (C) 2013 Texas Instruments * Author: Tomi Valkeinen <tomi.valkeinen@ti.com> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Found...
Java
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /************************************************************************** * * Copyright 2010 American Public Media Group * * This file is part of AIR2. * * AIR2 is free software: you can redistribute it and/or modify * it under...
Java
<?php /* oauthcallback.php This script handles the oAuth grant 'code' that is returned from the provider (google/fb/openid), and calls the 'authenticate' method of the PBS_LAAS_Client. That method exchanges the grant 'code' with PBS's endpoints to get access and refresh tokens, uses those to get user info (email, n...
Java
@ECHO OFF IF EXIST %cd%\fwservice.exe ( c:\windows\microsoft.net\framework\v4.0.30319\installutil.exe %cd%\fwsyslog.exe ) ELSE ( GOTO FNFAbort ) ECHO. ECHO Batch complete. ECHO. GOTO EOB :FNFAbort ECHO. ECHO Batch aborted! File fwsyslog.exe not found in current directory. ECHO. :EOB ECHO ON
Java
CREATE TABLE "alameda_county_content_config" ( "homepage" text, "about_page" text );
Java
<!doctype html><html><head><title>Easy Image Mapper</title><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1"><link rel="stylesheet" href="easy-mapper.css"> <script src="https://code.jquery.com/jquery-1.12.4.min.js"></script><script src="easy-mapper-1.2.0.js"></script></head><body> ...
Java
#ifndef MUSPLAY_USE_WINAPI #include <QtDebug> #include <QFileDialog> #include <QMessageBox> #include <QSlider> #include <QSettings> #include <QMenu> #include <QDesktopServices> #include <QUrl> #include "ui_mainwindow.h" #include "musplayer_qt.h" #include "../Player/mus_player.h" #include "../AssocFiles/assoc_files.h" ...
Java
namespace Freenex.FeexRanks.Database { public enum EQueryType { Scalar, Reader, NonQuery } }
Java
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ /** * 1. Set default font family to sans-serif. * 2. Prevent iOS and IE text size adjust after device orientation change, * without disabling user zoom. */ html { font-family: sans-serif; /* 1 */ height: 100%; -ms-text-size-adju...
Java
import unittest from itertools import izip import numpy as np from numpy import cos, sin, pi from pele.angleaxis import RBTopology, RigidFragment, RBPotentialWrapper from pele.potentials import LJ from pele.angleaxis._otp_cluster import OTPCluster from pele.thermodynamics import get_thermodynamic_information from pel...
Java
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace guess_word_game { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static ...
Java
# We borrow heavily from the kernel build setup, though we are simpler since # we don't have Kconfig tweaking settings on us. # The implicit make rules have it looking for RCS files, among other things. # We instead explicitly write all the rules we care about. # It's even quicker (saves ~200ms) to pass -r on the comm...
Java
// Copyright 2020 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 agreed to in ...
Java
// tinygettext - A gettext replacement that works directly on .po files // Copyright (C) 2006 Ingo Ruhnke <grumbel@gmx.de> // // 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 versi...
Java
/* Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> 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
/* * gtpm-mgr * * Version 1.00 * Copyright (C) 2012-2014 Nicolas Provost dev AT doronic DOT fr * * 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 * (a...
Java
/* Copyright 2011 Anton Kraievoy akraievoy@gmail.com This file is part of Holonet. Holonet 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 vers...
Java
var path = require('path'); var Q = require('q'); var fs = require('fs'); var mv = require('mv'); var Upload = require('./upload.model'); exports.upload = function (req, res) { var tmpPath = req.files[0].path; var newFileName = Math.random().toString(36).substring(7)+path.extname(tmpPath); var targetPath =...
Java
/* LIBGIMP - The GIMP Library * Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball * * gimplayer_pdb.c * * This library 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 o...
Java
// Karma configuration // Generated on Thu Jul 24 2014 18:11:41 GMT-0700 (PDT) module.exports = function(config) { config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) basePath: '', // frameworks to use // available frameworks: https://npmjs.org/browse/keyword/k...
Java
package br.ifrn.meutcc.visao; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import br.ifrn.meutcc.modelo.Aluno; import br...
Java
/* Template filled out by CMake */ /* * *** THIS HEADER IS INCLUDED BY PdfCompilerCompat.h *** * *** DO NOT INCLUDE DIRECTLY *** */ #ifndef _PDF_COMPILERCOMPAT_H #error Please include PdfDefines.h instead #endif #define PODOFO_VERSION_MAJOR 0 #define PODOFO_VERSION_MINOR 9 #define PODOFO_VERSION_PATCH 0 /* PoDoFo...
Java
<?php class test_frmx_concepto_form_frame1 extends bas_frmx_cardframe{ public function __construct($id, $tabs='', $grid=array('width'=>4,'height'=>4)) { parent::__construct($id,$tabs,$grid); //addComponent($tab, $x, $y, $width, $height, $field); //construct FIELD ($id,$type,$name, $caption, $editable...
Java
package com.idega.development.presentation; import com.idega.idegaweb.IWBundle; import com.idega.idegaweb.IWMainApplication; import com.idega.presentation.IWContext; import com.idega.presentation.Image; import com.idega.presentation.Layer; import com.idega.presentation.PresentationObject; import com.idega.presentation...
Java
package itaf.WsCartItemService; import java.math.BigDecimal; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * <p>bzCollectionOrderDto complex typeµÄ Java Àà¡£ * * <p>ÒÔÏÂģʽƬ¶ÎÖ¸¶¨°üº¬ÔÚ´ËÀàÖеÄÔ¤ÆÚÄÚÈÝ¡£ * * <...
Java
# -*- coding: utf8 -*- SQL = """select SQL_CALC_FOUND_ROWS * FROM doc_view order by `name` asc limit %(offset)d,%(limit)d ;""" FOUND_ROWS = True ROOT = "doc_view_list" ROOT_PREFIX = "<doc_view_edit />" ROOT_POSTFIX= None XSL_TEMPLATE = "data/af-web.xsl" EVENT = None WHERE = () PARAM = None TITLE="Список видов документо...
Java