code stringlengths 4 1.01M | language stringclasses 2
values |
|---|---|
/* DreamChess
**
** DreamChess is the legal property of its developers, whose names are too
** numerous to list here. Please refer to the AUTHORS.txt file distributed
** with this source distribution.
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU Gener... | Java |
import { Component } from '@angular/core'
@Component({
selector: 'gallery',
templateUrl: 'app/home/gallery.component.html'
})
export class GalleryComponent {
} | Java |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | Java |
/*
* Multi2Sim
* Copyright (C) 2012 Rafael Ubal (ubal@ece.neu.edu)
*
* 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 late... | Java |
// Copyright 2015, 2016 Ethcore (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 later version.... | Java |
/**
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
(function ($, require) {
var exports = require('piwik/UI');
/**
* Creates a new notifications.
*
* Example:
* var UI = require('piwik/UI');
... | Java |
PREP(initCBASettings);
PREP(postInit); | Java |
/*
* Jinx is Copyright 2010-2020 by Jeremy Brooks and Contributors
*
* Jinx 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
/**
* PHPUnit
*
* Copyright (c) 2002-2009, Sebastian Bergmann <sb@sebastian-bergmann.de>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of so... | Java |
<?php
/**
*
* @version 1.0.9 June 24, 2016
* @package Get Bible API
* @author Llewellyn van der Merwe <llewellyn@vdm.io>
* @copyright Copyright (C) 2013 Vast Development Method <http://www.vdm.io>
* @license GNU General Public License <http://www.gnu.org/copyleft/gpl.html>
*
**/
defined( '_JEXEC' ) ... | Java |
# recette_la42
la bière qui répond à la question sur la vie, l'univers et le reste
Recette Bière de Blé Libre 4.2° - Blanche
## Ingrédients pour 100 litres
* 15kg Malt Pils ardèche (Malteur Echos)
* 10kg Malt Blé ardèche (Malteur Echos)
* 2,5kg Flocon de blé (Celnat Haute Loire)
## Méthode
* MONOPALIER
* Emp... | Java |
/* Multiple Lua Programming Language : Intermediate Code Generator
* Copyright(C) 2014 Cheryl Natsu
* This file is part of multiple - Multiple Paradigm Language Interpreter
* multiple is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* ... | Java |
package de.jotschi.geo.osm.tags;
import org.w3c.dom.Node;
public class OsmMember {
String type, ref, role;
public OsmMember(Node node) {
ref = node.getAttributes().getNamedItem("ref").getNodeValue();
role = node.getAttributes().getNamedItem("role").getNodeValue();
type = node.getAttributes().getNamedItem("t... | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="robots" content="index, follow, all" />
<title>Library\CommandLine\AbstractCommandLineController | Library</title>
<link rel="stylesheet" type="text/css" href="../../css/bootstrap.min.css">
<link rel="styleshee... | Java |
/*********************
* bio_tune_menu.cpp *
*********************/
/****************************************************************************
* Written By Mark Pelletier 2017 - Aleph Objects, Inc. *
* Written By Marcio Teixeira 2018 - Aleph Objects, Inc. *
* ... | Java |
/*
* Copyright (C) 2006-2010 - Frictional Games
*
* This file is part of HPL1 Engine.
*
* HPL1 Engine 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 opti... | Java |
from feeluown.utils.dispatch import Signal
from feeluown.gui.widgets.my_music import MyMusicModel
class MyMusicItem(object):
def __init__(self, text):
self.text = text
self.clicked = Signal()
class MyMusicUiManager:
"""
.. note::
目前,我们用数组的数据结构来保存 items,只提供 add_item 和 clear 方法。
... | Java |
(function() {
var app = angular.module('article-directive', ['ui.bootstrap.contextMenu']);
app.config(function($sceProvider) {
// Completely disable SCE. For demonstration purposes only!
// Do not use in new projects.
$sceProvider.enabled(false);
});
app.directive('article', function () {
var c... | Java |
/*******************************************************************************
* This file is part of RedReader.
*
* RedReader 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 Lic... | Java |
<?php
/**
* Copyright 2013 Android Holo Colors by Jérôme Van Der Linden
* Copyright 2010 Android Asset Studio by Google 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:/... | Java |
# Only run if this is an interactive text bash session
if [ -n "$PS1" ] && [ -n "$BASH_VERSION" ] && [ -z "$DISPLAY" ]; then
echo "Press enter to activate this console"
read answer
# The user should have chosen their preferred keyboard layout
# in tails-greeter by now.
. /etc/default/locale
. /etc/def... | 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 nxt.util.Min... | Java |
/*
* 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 the Free Softwa... | Java |
/*
Copyright (C) 2014 PencilBlue, LLC
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... | Java |
-- --------------------------------------------------------
-- Host: spahost.es
-- Versión del servidor: 5.1.70-cll - MySQL Community Server (GPL)
-- SO del servidor: unknown-linux-gnu
-- HeidiSQL Versión: 8.0.0.4396
-- --------------------------------------... | Java |
#include <shlobj.h>
HRESULT CreateDataObject(FORMATETC *,STGMEDIUM *,IDataObject **,int); | 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_17) on Thu Oct 24 15:10:37 CEST 2013 -->
<title>RmcpConstants</title>
<meta name="date" content="2013-10-24">
<link rel="stylesh... | Java |
/*
* LibrePCB - Professional EDA for everyone!
* Copyright (C) 2013 LibrePCB Developers, see AUTHORS.md for contributors.
* https://librepcb.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 Fou... | 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.5.0_01) on Sun Jul 03 07:12:39 ICT 2005 -->
<TITLE>
Uses of Package com.golden.gamedev.object.sprite (GTGE API v0.2.3)
</TITLE>
<LINK REL ="s... | Java |
/* Copyright David Strachan Buchan 2013
* This file is part of BounceBallGame.
BounceBallGame 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 late... | Java |
/**
******************************************************************************
* @file Examples_LL/USART/USART_Communication_TxRx_DMA/Src/main.c
* @author MCD Application Team
* @brief This example describes how to send/receive bytes over USART IP using
* the STM32F0xx USART LL API in DMA m... | Java |
/*
* FuchsTracker.c Copyright (C) 1999 Sylvain "Asle" Chipaux
*
* Depacks Fuchs Tracker modules
*
* Modified in 2006,2007,2014 by Claudio Matsuoka
*/
#include <string.h>
#include <stdlib.h>
#include "prowiz.h"
static int depack_fuchs(HIO_HANDLE *in, FILE *out)
{
uint8 *tmp;
uint8 max_pat;
/*int ssize;*/
... | Java |
#ifndef SDK_CONFIG_H
#define SDK_CONFIG_H
// <<< Use Configuration Wizard in Context Menu >>>\n
#ifdef USE_APP_CONFIG
#include "app_config.h"
#endif
// <h> Application
//==========================================================
// <o> ADV_INTERVAL - Advertising interval (in units of 0.625 ms)
#ifndef ADV_INTERVAL... | Java |
<?php
namespace spf\swoole\worker;
interface IWebSocketWorker {
public function onStart($server, $workerId);
public function onShutdown($server, $workerId);
public function onTask($server, $taskId, $fromId, $data);
public function onFinish($server, $taskId, $data);
public function onOpen($serv... | Java |
//
// UDPConnection.hpp for server in /home/galibe_s/rendu/Spider/server/core
//
// Made by stephane galibert
// Login <galibe_s@epitech.net>
//
// Started on Sun Nov 6 17:00:50 2016 stephane galibert
// Last update Thu Nov 10 12:34:21 2016 stephane galibert
//
#pragma once
#include <iostream>
#include <string>
#... | Java |
#pagefrog-big-logo {
width: 200px;
margin-top:20px;
}
#pagefrog-settings-container {
padding:15px;
margin-right:20px;
}
#pagefrog-settings-box, .white-settings-box {
background: white;
border-color: #ddd;
border-width: 1px;
border-style: solid;
border-radius: 5px;
}
#pagefrog-logo-bu... | Java |
<?php
/*
* Central de conhecimento FEJESP
* Contato: ti@fejesp.org.br
* Autor: Guilherme de Oliveira Souza (http://sitegui.com.br)
* Data: 07/08/2013
*/
// Retorna a árvore inicial para um dado caminho
$caminho = @$_GET['caminho'];
$pastas = preg_split('@/@', $caminho, -1, PREG_SPLIT_NO_EMPTY);
$arvore = array('' ... | Java |
<?php namespace Test\Deserializer;
use Test\Serializer\EntityNode\Vehicle;
class VehicleChecker
{
public function acceptAndReturnVehicle(Vehicle $vehicle)
{
return $vehicle;
}
} | Java |
function print_last_modif_date(v) {
document.write("Last updated " + v.substr(7, 19));
}
| 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 ma... | Java |
package com.baeldung.jhipster5.web.rest;
import com.baeldung.jhipster5.BookstoreApp;
import com.baeldung.jhipster5.config.Constants;
import com.baeldung.jhipster5.domain.Authority;
import com.baeldung.jhipster5.domain.User;
import com.baeldung.jhipster5.repository.AuthorityRepository;
import com.baeldung.jhipster5.rep... | Java |
import { defineMessages } from 'react-intl';
export default defineMessages({
save: {
id: 'cboard.components.FormDialog.save',
defaultMessage: 'Save'
},
cancel: {
id: 'cboard.components.FormDialog.cancel',
defaultMessage: 'Cancel'
}
});
| Java |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle... | Java |
package CGRB::BLASTDB;
# $Id: BLASTDB.pm,v 1.4 2004/11/16 21:38:43 givans Exp $
use warnings;
use strict;
use Carp;
use CGRB::CGRBDB;
use vars qw/ @ISA /;
@ISA = qw/ CGRBDB /;
1;
sub new {
my $pkg = shift;
my $user = shift;
my $psswd = shift;
$user = 'gcg' unless ($user);
$psswd = 'sequences' unless ($pss... | Java |
<!DOCTYPE html >
<html>
<head>
<title>BigDecimalStringConverter - ScalaFX API 8.0.0-R4 - scalafx.util.converter.BigDecimalStringConverter</title>
<meta name="description" content="BigDecimalStringConverter - ScalaFX API 8.0.0 - R4 - scalafx.util.converter.BigDecimalStringConverter" />
... | 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 xmv.solutions.IT2JZ.Jira;
/**
*
* @author David Koller XMV Solutions GmbH
*/
public class JiraTestcaseStep {
/**
* Name... | Java |
/*
package de.elxala.langutil
(c) Copyright 2006 Alejandro Xalabarder Aulet
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.
Th... | Java |
pizzasys
========
A system for pizzerias
| Java |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2008-2013 by
# Erwin Marsi and Tilburg University
# This file is part of the Pycornetto package.
# Pycornetto 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 |
package tempconv
// CToF converts a Celsius temperature to Fahrenheit
func CToF(c Celsius) Fahrenheit {
return Fahrenheit(c * 9 / 5 + 32)
}
// FToC converts s Fahrenheit temperature to Celsius
func FToC(f Fahrenheit) Celsius {
return Celsius((f - 32) * 5 / 9)
}
| Java |
const { nativeImage } = require('electron')
const { resolve } = require('path')
exports.size16 = nativeImage.createFromPath(resolve(__dirname, '../icon16.png'))
exports.size16.setTemplateImage(true)
| Java |
package yio.tro.antiyoy.menu.customizable_list;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import yio.tro.antiyoy.gameplay.diplomacy.DiplomaticEntity;
import yio.tro.antiyoy.menu.render.AbstractRenderCustomListItem;
import yio.tro.antiyoy.menu.render.MenuRender;
import yio.tro.antiyoy.menu.scenes.Scenes;
import ... | Java |
// ==++==
//
// Copyright (C) 2019 Matthias Fussenegger
//
// 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.
//
// T... | Java |
#Region "Microsoft.VisualBasic::556146eee1abd2c1147f33071a728ef4, CLI_tools\eggHTS\CLI\Samples\LabelFree.vb"
' Author:
'
' asuka (amethyst.asuka@gcmodeller.org)
' xie (genetics@smrucc.org)
' xieguigang (xie.guigang@live.com)
'
' Copyright (c) 2018 GPL3 Licensed
'
... | Java |
#!/usr/bin/env bash
INTERFACE="${INTERFACE:-wlo1}"
systemctl enable netctl-auto@$INTERFACE
systemctl --user enable maintenance.timer
systemctl --user enable battery.timer
| Java |
package standalone_tools;
import java.io.File;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import framework.DataQuery;
import framework.DiffComplexDetector;
import framework.DiffComplexDetector.SPEnrichment;
import framework.DiffSeedCombDetector;
import framework.QuantDACOResultSet;
import f... | Java |
// black-box testing
package router_test
import (
"testing"
"github.com/kataras/iris"
"github.com/kataras/iris/context"
"github.com/kataras/iris/core/router"
"github.com/kataras/iris/httptest"
)
type testController struct {
router.Controller
}
var writeMethod = func(c router.Controller) {
c.Ctx.Writef(c.Ctx... | Java |
/*
* Geopaparazzi - Digital field mapping on Android based devices
* Copyright (C) 2016 HydroloGIS (www.hydrologis.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 ... | Java |
#from moderation import moderation
#from .models import SuccessCase
#moderation.register(SuccessCase)
| Java |
document.addEventListener("DOMContentLoaded", function(event) {
if (/android|blackberry|iPhone|iPad|iPod|webOS/i.test(navigator.userAgent) === false) {
var linkDescrs = document.querySelectorAll('.link-descr');
Array.prototype.forEach.call(linkDescrs, function(el, i) {
el.parentNode.addEventListener('mouseenter... | Java |
<?xml version="1.0" encoding="iso-8859-1"?>
<!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>
<!-- template designed by Marco Von Ballmoos -->
<title>File Source for THead.php</title>
... | Java |
package de.turnierverwaltung.control.settingsdialog;
import java.awt.Dialog;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.sql.SQLException;
import javax.swing.JDialog;
import javax.swing.JFileChooser;
import javax.swing.JOptionPane;
im... | Java |
namespace Ribbonizer.Ribbon
{
using System.Collections.Generic;
using System.Linq;
using Ribbonizer.Ribbon.DefinitionValidation;
using Ribbonizer.Ribbon.Tabs;
internal class RibbonInitializer : IRibbonInitializer
{
private readonly IEnumerable<IRibbonDefinitionValidator> definitionVal... | Java |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2015 Satpy developers
#
# This file is part of satpy.
#
# satpy 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 |
<?php
/**
* Belgian Scouting Web Platform
* Copyright (C) 2014 Julien Dupuis
*
* This code is licensed under the GNU General Public License.
*
* This is free software, and you are welcome to redistribute it
* under under the terms of the GNU General Public License.
*
* It is distributed without any warrant... | Java |
<?php
/**
* WES WebExploitScan Web GPLv4 http://github.com/libre/webexploitscan
*
* The PHP page that serves all page requests on WebExploitScan installation.
*
* The routines here dispatch control to the appropriate handler, which then
* prints the appropriate page.
*
* All WebExploitScan code is released unde... | Java |
#define TYPEDEPARGS 0, 1, 2, 3
#define SINGLEARGS
#define REALARGS
#define OCTFILENAME comp_ufilterbankheapint // change to filename
#define OCTFILEHELP "This function calls the C-library\n\
phase=comp_ufilterbankheapint(s,tgrad,fgrad,cfreq,a,do_real,tol,phasetype)\n Yeah."
#include "ltfat_oct_temp... | Java |
/**
* This file is part of RagEmu.
* http://ragemu.org - https://github.com/RagEmu/Renewal
*
* Copyright (C) 2016 RagEmu Dev Team
* Copyright (C) 2012-2015 Hercules Dev Team
* Copyright (C) Athena Dev Teams
*
* RagEmu is free software: you can redistribute it and/or modify
* it under the terms of the GNU Ge... | Java |
// OpenCppCoverage is an open source code coverage for C++.
// Copyright (C) 2014 OpenCppCoverage
//
// 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
// an... | Java |
#!/usr/bin/python
# -*- coding: utf-8 -*-
# (c) 2012, Michael DeHaan <michael.dehaan@gmail.com>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
DOCUMENTATION = '''
---
module: git
autho... | Java |
<?php
/**************************************************************************/
/* PHP-NUKE: Advanced Content Management System */
/* ============================================ */
/* */
/* Th... | Java |
/*
This file is part of SpatGRIS.
Developers: Samuel Béland, Olivier Bélanger, Nicolas Masson
SpatGRIS 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 |
#include "main/SimpleCardProtocol.hh"
#include "bridge/BridgeConstants.hh"
#include "bridge/CardShuffle.hh"
#include "bridge/CardType.hh"
#include "bridge/Position.hh"
#include "engine/SimpleCardManager.hh"
#include "main/Commands.hh"
#include "main/PeerCommandSender.hh"
#include "messaging/CardTypeJsonSerializer.hh"
... | Java |
#define BOOST_TEST_MODULE sugar_integration_tests
#include <boost/test/included/unit_test.hpp>
| Java |
// Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
//-------------------------------------... | Java |
/**
* file mirror/doc/factory_generator.hpp
* Documentation only header
*
* @author Matus Chochlik
*
* Copyright 2008-2010 Matus Chochlik. Distributed under the Boost
* Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef MIR... | Java |
#sidebar {
display: none;
}
#sidebar * {
border-radius: 0 !important;
}
#sidebar > nav {
background-color: #222222;
}
@media (min-width: 768px) {
#sidebar {
position: fixed;
top: 0;
bottom: 0;
left: 0;
z-index: 1000;
display: block;
padding: 0;
overflow-x: hidden;
overflow-y: auto;
background-co... | Java |
namespace GemsCraft.Entities.Metadata.Flags
{
public enum TameableFlags: byte
{
IsSitting = 0x01,
/// <summary>
/// Only used with wolves
/// </summary>
IsAngry = 0x02,
IsTamed = 0x04
}
}
| Java |
import React from 'react';
import { connect } from 'react-redux';
import { View, Text, FlatList } from 'react-native';
import sb from 'react-native-style-block';
import dateHelper from '@shared/utils/date-helper';
import appConfig from '../config.app';
import ConvItem from '../components/ConvItem';
import { reloadConve... | Java |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... | Java |
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
public class ReadSavedData
{
public static void StartRead() throws IOException
{
FileReader file = new FileReader("C:/Users/Public/Documents/SavedData.txt");
BufferedReader rea... | Java |
enum MessageType
{
TYPE_CHAT_MESSAGE = 2000
};
enum PropertyType
{
PR_CHAT_NICK = 3000,
PR_CHAT_TEXT
};
| Java |
.block {
background:yellow;
/*max-height:50px;*/
border:5px;
border-color:red;
max-width:300px;
-moz-border-radius: 15px;
padding-left:5px;
padding-right:10px;
z-index:11;
}
.block:not(.block-inlist):last-of-type,.block-inlist{
border-bottom-right-radius: 10px;
}
.block-instack {
list-style-position:inside;
... | Java |
/**************************************************************************
* Karlyriceditor - a lyrics editor and CD+G / video export for Karaoke *
* songs. *
* Copyright (C) 2009-2013 George Yunaev, support@ulduzsoft.com *
* ... | Java |
#!/bin/sh
declare -x PATH_TO_SOURCE=`dirname $0`/..
cd $PATH_TO_SOURCE
bsc -e "(module-compile-to-standalone \"ensanche-core\" 'main)"
| Java |
class ApplicationController < ActionController::Base
class ForbiddenException < StandardError; end
protect_from_forgery
before_filter :set_locale
before_filter :authenticate_user!
layout :get_layout
def set_locale
I18n.locale = params[:locale] || I18n.default_locale
end
def get_layout
if !use... | Java |
/**
* Copyright 2010 David Froehlich <david.froehlich@businesssoftware.at>,
* Samuel Kogler <samuel.kogler@gmail.com>,
* Stephan Stiboller <stistc06@htlkaindorf.at>
*
* This file is part of Codesearch.
*
* Codesearch is free software: you can redistribute it and/or modify
* i... | Java |
using System;
using System.Diagnostics;
using System.Text;
using System.Windows.Forms;
using OpenDentBusiness;
namespace OpenDental.Eclaims
{
/// <summary>
/// Summary description for BCBSGA.
/// </summary>
public class BCBSGA{
/// <summary></summary>
public static string ErrorMessage="";
public BCBSGA()
... | Java |
--
-- Copyright (c) 1997-2013, www.tinygroup.org (luo_guo@icloud.com).
--
-- Licensed under the GPL, Version 3.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.gnu.org/licenses/gpl.html
--
-- Unless required by ... | Java |
/**
******************************************************************************
* @file I2C/I2C_TwoBoards_ComPolling/Src/stm32f4xx_it.c
* @author MCD Application Team
* @version V1.2.7
* @date 17-February-2017
* @brief Main Interrupt Service Routines.
* This file provides temp... | Java |
all:
ocp-build init
ocp-build
opam-deps:
opam install ocp-build
| Java |
#include "inventorypage.h"
#include "ui_inventorypage.h"
#include "fak.h"
#include "inventorypage.h"
#include <QtDebug>
#include "QtDebug"
#include <QSqlQuery>
#include <QSqlError>
#include <QSqlRecord>
static const QString path = "C:/Sr.GUI/FAKKIT/db/fakdb4.db";
InventoryPage::InventoryPage(QWidget *parent) :
QD... | Java |
var gulp = require('gulp');
var browserSync = require('browser-sync');
var jshint = require('gulp-jshint');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var rename = require('gulp-rename');
// 静态服务器
gulp.task('browser-sync', function() {
browserSync.init({
files: "src/**",
... | Java |
#ifndef __CLOCK_ROM_H__
#define __CLOCK_ROM_H__
#define ROM_ALARM0_DAY_MASK 0
#define ROM_ALARM0_HOUR 1
#define ROM_ALARM0_MIN 2
#define ROM_ALARM0_DUR 3
#define ROM_ALARM1_ENABLE 4
#define ROM_TIME_IS12 10
#define ROM_BEEPER_MUSIC_INDEX 11
#define ROM_BEEPER_ENABLE 12
#define ROM_POWERSAVE... | Java |
/*
Copyright (C) 2010 Erik Hjortsberg <erik.hjortsberg@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
(at your option) any later version.
This p... | Java |
\hypertarget{_coloring_8java}{}\doxysection{src/ch/innovazion/arionide/menu/structure/\+Coloring.java File Reference}
\label{_coloring_8java}\index{src/ch/innovazion/arionide/menu/structure/Coloring.java@{src/ch/innovazion/arionide/menu/structure/Coloring.java}}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\ite... | Java |
/*****************************************************************/
/* Source Of Evil Engine */
/* */
/* Copyright (C) 2000-2001 Andreas Zahnleiter GreenByte Studios */
/* */
/*****************************************************************/
/* Dyna... | Java |
using UnityEngine;
using System.Collections;
public class TimeScaleManager : MonoBehaviour {
public static TimeScaleManager instance;
public delegate void OnTimeScaleChangeCallback();
public event OnTimeScaleChangeCallback TimeScaleChange;
public bool isPlaying;
public bool IsPaused {
get { return... | Java |
#ifndef __ASSIGN_SPRITES_H
#define __ASSIGN_SPRITES_H
void AssignSprites(void);
#endif | Java |
# Dockerfile "Big"
Intended for a big webapplications which expects the following tools:
- texlive (pdflatex)
| Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.