code
stringlengths
4
1.01M
language
stringclasses
2 values
vimrc CHANGELOG =============== This file is used to list changes made in each version of the vimrc cookbook. 0.1.0 ----- - [your_name] - Initial release of vimrc - - - Check the [Markdown Syntax Guide](http://daringfireball.net/projects/markdown/syntax) for help with Markdown. The [Github Flavored Markdown page](h...
Java
<?php /** * @package jCart * @copyright Copyright (C) 2009 - 2012 softPHP,http://www.soft-php.com * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html */ // no direct access defined( '_JEXEC' ) or die( 'Restricted access' ); $_['text_sub_total'] = 'Sub-Total'; ?>
Java
/* * This file contains pieces of the Linux TCP/IP stack needed for modular * TOE support. * * Copyright (C) 2006-2009 Chelsio Communications. All rights reserved. * See the corresponding files in the Linux tree for copyrights of the * original Linux code a lot of this file is based on. * * Written by Dimitris...
Java
/** Copyright 2011 Red Hat, Inc. This software is licensed to you under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License (GPLv2) or (at your option) any later version. There is NO WARRANTY for this software, express or implied, including the implied war...
Java
.pane-sliders > .panel { border: none !important; font-family:arial; } .pane-sliders >.panel > h3 { background:url(../images/header-bg.gif) repeat-x!important; height:37px; line-height:37px; padding:0; } .pane-sliders >.panel h3 span{ text-transform:uppercase; color:#c16306; } .pane-toggler-down { border-b...
Java
/* UnknownTypeException.java -- Thrown by an unknown type. Copyright (C) 2012 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath 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
/* * Synopsys DesignWare I2C adapter driver (master only). * * Partly based on code of similar driver from U-Boot: * Copyright (C) 2009 ST Micoelectronics * * and corresponding code from Linux Kernel * Copyright (C) 2006 Texas Instruments. * Copyright (C) 2007 MontaVista Software Inc. * Copyright (...
Java
/*---------------------------------------------------------------------------*\ ## #### ###### | ## ## ## | Copyright: ICE Stroemungsfoschungs GmbH ## ## #### | ## ## ## | http://www.ice-sf.at ## #### ###### | ------------------------------------------------------...
Java
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsof...
Java
/* Name: usbdrv.c * Project: AVR USB driver * Author: Christian Starkjohann * Creation Date: 2004-12-29 * Tabsize: 4 * Copyright: (c) 2005 by OBJECTIVE DEVELOPMENT Software GmbH * License: GNU GPL v2 (see License.txt) or proprietary (CommercialLicense.txt) * This Revision: $Id: usbdrv.c,v 1.1.1.1 2008-01-22 20:2...
Java
package com.citypark.api.task; import com.citypark.api.parser.CityParkStartPaymentParser; import android.content.Context; import android.os.AsyncTask; import android.text.format.Time; public class StopPaymentTask extends AsyncTask<Void, Void, Boolean> { private Context context; private String sessionId; private ...
Java
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
Java
# -*- coding: utf-8 -*- """ *************************************************************************** SplitRGBBands.py --------------------- Date : August 2012 Copyright : (C) 2012 by Victor Olaya Email : volayaf at gmail dot com *************************...
Java
# Copyright (C) 2016-2017 SUSE 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 2 of the License, or # (at your option) any later version. # # This program is distributed in ...
Java
/* * Copyright (C) 2005-2012 MaNGOS <http://getmangos.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. * ...
Java
<!DOCTYPE html> <html> <!-- Mirrored from www.w3schools.com/html/tryhtml_images_map.htm by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:08:51 GMT --> <body> <p>Click on the sun or on one of the planets to watch it closer:</p> <img src="planets.gif" alt="Planets" usemap="#planetmap" style="width:145px...
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <meta name="categories" content="docking"> <meta name="profile" content="!Elements"> <meta name="product" content="Glide"> <title>Glide &mdash; Edit Feature Dialog Box</...
Java
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="style/style.css"> <link rel="stylesheet" type="text/css" media="only screen and (min-device-width: 360px)" href="style-compact.css"> <script> (function(i,s,o,g,r,a,m){i['Google...
Java
/*************************************************************************** FluxIntegral.cpp - Integrates Lx dx L (x1, x2) = int^x2_x1 dx Lx ------------------- begin : December 2006 copyright : (C) 2006 by Maurice Leutenegger email : mauri...
Java
<?php session_start(); ?> <!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> ...
Java
<?php namespace Drush\Boot; use Consolidation\AnnotatedCommand\AnnotationData; use Drush\Log\DrushLog; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Drupal\Core\DrupalKernel; use Drush\Drush; use Drush\Drupal\DrushServiceModifier; use Drush\Log\LogLevel; class Drup...
Java
/* ** rq_xml_util.h ** ** Written by Brett Hutley - brett@hutley.net ** ** Copyright (C) 2009 Brett Hutley ** ** This file is part of the Risk Quantify Library ** ** Risk Quantify is free software; you can redistribute it and/or ** modify it under the terms of the GNU Library General Public ** License as published by t...
Java
<!DOCTYPE html> <html class=""> <head> <title></title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width" /> <link rel="stylesheet" href="/css/styles.css?0" media="all" /> <link rel="stylesheet" href="/css/demo.css?0" media="all" /> <!-- Begin Pattern Lab (Required for...
Java
// _________ __ __ // / _____// |_____________ _/ |______ ____ __ __ ______ // \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ // / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ | // /_______ /|__| |__| (____ /__| (____ /\___ /|____//...
Java
function isPrime(n) { if (n === 2) { return true; } if (n % 2 === 0 || n === 1) { return false; } for (var i = 3; i <= Math.sqrt(n); i += 2) { if (n % i === 0) { return false; } } return true; } function nthPrimeNumber(n) { if (n <= 0) { throw new Error('M...
Java
<?php /** * glFusion CMS * * UTF-8 Language File for Calendar Plugin * * @license GNU General Public License version 2 or later * http://www.opensource.org/licenses/gpl-license.php * * Copyright (C) 2008-2018 by the following authors: * Mark R. Evans mark AT glfusion DOT org * * Based on prior work Copyright ...
Java
/***************************************************************************** * xa.c : xa file demux module for vlc ***************************************************************************** * Copyright (C) 2005 Rémi Denis-Courmont * $Id$ * * Authors: Rémi Denis-Courmont <rem # videolan.org> * * This progra...
Java
body{ font-size:12px; font-family:tahoma; color:#6d6d6d; padding:0px; margin:0px; } table,td,tr,th,input,select,div,span,textarea{ font-family:tahoma; font-size:12px; } input{ text-align:center; } input[type=text],input[type=password]{ width:200px; } form{ padding:0px; margin:0px; } ...
Java
/* * Copyright (C) 2008-2010 Surevine Limited. * * Although intended for deployment and use alongside Alfresco this module should * be considered 'Not a Contribution' as defined in Alfresco'sstandard contribution agreement, see * http://www.alfresco.org/resource/AlfrescoContributionAgreementv2.pdf * * This p...
Java
/* * Copyright 2001-2009 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Fou...
Java
<?php $widget = $vars["entity"]; // get widget settings $count = (int) $widget->wire_count; $filter = $widget->filter; if ($count < 1) { $count = 8; } $options = array( "type" => "object", "subtype" => "thewire", "limit" => $count, "full_view" => false, "pagination" => false, "view_type_toggle" => false ); ...
Java
<?php /* * Template Name: Blog */ get_header(); ?> <?php while ( have_posts() ) : the_post(); ?> <div id="blog"> <?php get_template_part( 'content', 'introtext' ); ?> <section class="features"> <div class="container" role="main"> <div class="row"> <div class="span9"> ...
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_04) on Wed Jul 02 15:54:03 IDT 2014 --> <title>com.codename1.payment Class Hierarchy (Codename One API)</title> <meta name="date" conte...
Java
<?php function uwpf_delete_plugin() { delete_option('uwpf_options'); } function uwpf_init(){ register_setting( 'uwpf_plugin_options', 'uwpf_options', 'uwpf_validate' ); } function requires_wordpress_version() { global $wp_version; $plugin = plugin_basename( __FILE__ ); $plugin_data = ge...
Java
<?php if ( !class_exists( 'RWMB_Field ' ) ) { class RWMB_Field { /** * Add actions * * @return void */ static function add_actions() {} /** * Enqueue scripts and styles * * @return void */ static function admin_enqueue_scripts() {} /** * Show field HTML * * @param array $f...
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_45) on Wed Jan 07 20:17:28 CST 2015 --> <title>Uses of Class gnu.getopt.Getopt</title> <meta name="date" content="2015-01-07"> <link re...
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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
Java
/*************************************************************************** ofxdump.cpp ------------------- copyright : (C) 2002 by Benoit Grégoire email : bock@step.polymtl.ca *****************************************************...
Java
// // DO NOT EDIT - generated by simspec! // #ifndef ___ARHOST1X_UCLASS_H_INC_ #define ___ARHOST1X_UCLASS_H_INC_ // -------------------------------------------------------------------------- // // Copyright (c) 2004-2012, NVIDIA Corp. // All Rights Reserved. // // This is UNPUBLISHED PROPRIETARY SOURCE CODE of NVIDIA ...
Java
<?php namespace Drupal\dct_user\EventSubscriber; use Drupal\Core\Routing\RouteMatchInterface; use Drupal\Core\Session\AccountInterface; use Drupal\Core\Url; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\HttpFoundation\Reque...
Java
using System; using Server.Engines.Craft; namespace Server.Items { [Alterable(typeof(DefBlacksmithy), typeof(DualShortAxes))] [FlipableAttribute(0x1443, 0x1442)] public class TwoHandedAxe : BaseAxe { [Constructable] public TwoHandedAxe() : base(0x1443) { ...
Java
class ChangeRoleForUsers < ActiveRecord::Migration def change remove_column :users, :role, :string add_column :users, :role, :string, :default=>'user' end end
Java
#include <string.h> #include <stdlib.h> #include "libterm.h" #include "cursor.h" #include "screen.h" #include "bitarr.h" int cursor_visibility(int tid, int sid, char visibility) { if(SCR(tid, sid).curs_invisible != !visibility) { SCR(tid, sid).curs_invisible = !visibility; if(!record_update(tid, sid, visibility...
Java
# Find the native LLVM includes and libraries # # Defines the following variables # LLVM_INCLUDE_DIR - where to find llvm include files # LLVM_LIBRARY_DIR - where to find llvm libs # LLVM_CFLAGS - llvm compiler flags # LLVM_LFLAGS - llvm linker flags # LLVM_MODULE_LIBS - list of llvm libs for working wit...
Java
<?php /* Template Name: Full Width */ ?> <?php get_header(); ?> <div class="row"> <div class="sixteen columns"> <div class="single-page" role="main"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <article <?php post_class(); ?>> <?php /*if(!is_front_page()) { WE DONT WANT THIS ?> ...
Java
/* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * Implementation of the Transmission Control Protocol(TCP). * * Authors: Ross Biro * Fred N. van Kempen, <wa...
Java
/* Copyright (C) 2005-2006 Jean-Marc Valin File: fftwrap.c Wrapper for various FFTs 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 ...
Java
#!/usr/bin/python2.3 # This is the short name of the plugin, used as the menu item # for the plugin. # If not specified, the name of the file will be used. shortname = "Moment Curve layout (Cohen et al. 1995)" # This is the long name of the plugin, used as the menu note # for the plugin. # If not specified, the short ...
Java
/* * IPv6 Address [auto]configuration * Linux INET6 implementation * * Authors: * Pedro Roque <roque@di.fc.ul.pt> * Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published ...
Java
<?php namespace Thru\ActiveRecord\Test\Models; use Thru\ActiveRecord\ActiveRecord; /** * Class TestModel * @var $test_model_id integer * @var $integer_field integer * @var $text_field text * @var $date_field date */ class TestModel extends ActiveRecord { protected $_table = "test_models"; public $tes...
Java
java -Djava.ext.dirs=reggie-libs -Djava.util.logging.config.file=config/logging.properties -jar reggie-libs/start.jar config/start-reggie.config
Java
// // This file is part of Gambit // Copyright (c) 1994-2016, The Gambit Project (http://www.gambit-project.org) // // FILE: src/libgambit/dvector.h // Doubly-partitioned vector class // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as pu...
Java
/* Copyright (c) 2010-2012, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the ho...
Java
package newpackage; public class DaneWejsciowe { float wartosc; String argument; public DaneWejsciowe( String argument,float wartosc) { this.wartosc = wartosc; this.argument = argument; } }
Java
/** ******************************************************************************** \file ctrlkcal.h \brief Definitions for kernel ctrl CAL module This file contains the definitions for the kernel ctrl CAL module. *******************************************************************************/ /*---------------...
Java
<?php /** * Template to display the main page for the new forum * @access public */ $this->setLayoutTemplate('poll_layout_tpl.php'); echo $display.'<br />'; ?>
Java
/* * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/> * * Copyright (C) 2008-2010 Trinity <http://www.trinitycore.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 vers...
Java
/* SPDX-License-Identifier: LGPL-2.1-or-later */ #include "errno-util.h" #include "format-table.h" #include "hexdecoct.h" #include "homectl-pkcs11.h" #include "libcrypt-util.h" #include "memory-util.h" #include "openssl-util.h" #include "pkcs11-util.h" #include "random-util.h" #include "strv.h" struct pkcs11_callback...
Java
using OpenDBDiff.Abstractions.Schema; using OpenDBDiff.Abstractions.Schema.Model; using System; using System.Linq; namespace OpenDBDiff.SqlServer.Schema.Model { public class Columns<T> : SchemaList<Column, T> where T : ISchemaBase { public Columns(T parent) : base(parent) { } /...
Java
#pragma once #include <obs.hpp> #include <map> const std::map<int, const char*> &GetAACEncoderBitrateMap(); const char *GetAACEncoderForBitrate(int bitrate); int FindClosestAvailableAACBitrate(int bitrate);
Java
<?php /** * @package snow-monkey * @author inc2734 * @license GPL-2.0+ * @version 15.13.0 */ use Inc2734\WP_Customizer_Framework\Framework; use Framework\Helper; Framework::control( 'select', 'footer-widget-area-column-size', [ 'label' => __( 'Number of columns in the footer widget area on PC', 's...
Java
// license:BSD-3-Clause // copyright-holders:Curt Coder /********************************************************************** Kempston Disk Interface emulation **********************************************************************/ #include "kempston_di.h" //*************************************************...
Java
extern sf::Time deltaTime;
Java
//////////////////////////////////////////////////////////////////////////////// // // Copyright 2016 RWS Inc, All Rights Reserved // // This program is free software; you can redistribute it and/or modify // it under the terms of version 2 of the GNU General Public License as published by // the Free Software Foundati...
Java
/* $Id: elsa_ser.c,v 1.1.1.1 2011/08/19 02:08:59 ronald Exp $ * * stuff for the serial modem on ELSA cards * * This software may be used and distributed according to the terms * of the GNU General Public License, incorporated herein by reference. * */ #include <linux/serial.h> #include <linux/serial_reg.h> #inc...
Java
<?php namespace Themosis\Core\Console; use Illuminate\Console\Command; use Illuminate\Console\ConfirmableTrait; use Illuminate\Encryption\Encrypter; class KeyGenerateCommand extends Command { use ConfirmableTrait; /** * Name and signature of the console command. * * @var string */ pr...
Java
#!/bin/sh -e # Glen Pitt-Pladdy (ISC) . ./functions.sh depends_SLES() { echo >/dev/null } depends_RHEL() { [ -x /usr/bin/expect ] || yum install -y expect } trakapacheconf_SLES() { CONFDIR=/etc/apache2/conf.d CONF=$CONFDIR/t2016-$TRAKNS.conf echo $CONF } trakapacheconf_RHEL() { CONFDIR=/etc/httpd/conf.d CONF=...
Java
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="style/style.css"> <link rel="stylesheet" type="text/css" media="only screen and (min-device-width: 360px)" href="style-compact.css"> <script> (function(i,s,o,g,r,a,m){i['Google...
Java
<?php require_once './includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); global $base_url; require_once ('tcpdf/pdfcss.php'); require_once('tcpdf/config/lang/eng.php'); require_once('tcpdf/tcpdf.php'); // create new PDF document $pdf = new TCPDF(L, PDF_UNIT, B4, true, 'UTF-8', false); // set document inf...
Java
/** * AshtavargaChartData.java * Created On 2006, Mar 31, 2006 5:12:23 PM * @author E. Rajasekar */ package app.astrosoft.beans; import java.util.EnumMap; import app.astrosoft.consts.AshtavargaName; import app.astrosoft.consts.AstrosoftTableColumn; import app.astrosoft.consts.Rasi; import app.astrosoft.core.Asht...
Java
package mcmod.nxs.animalwarriors.lib; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.ItemArmor; public class ArmorHelper extends ItemArmor { public ArmorHelper(ArmorMaterial material, int type, int layer) { super(material, type, layer); } public ItemArmor setNameAndTab(String name, Cr...
Java
<!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8"> <title> </title> <style> .municipios{ font-size:12px; font-family: 'helvetica','raleway'; padding:1em 1em; background-color:#2C85AF; color:#FFFFFF; } .direccion{ font-size:12px; font-family: 'helvetica','ralewa...
Java
// float_digits(). // General includes. #include "base/cl_sysdep.h" // Specification. #include "cln/dfloat.h" // Implementation. #include "float/dfloat/cl_DF.h" namespace cln { CL_INLINE uintC CL_INLINE_DECL(float_digits) (const cl_DF& x) { unused x; return DF_mant_len+1; // 53 } } // namespace cln
Java
package org.scada_lts.dao.model.multichangehistory; import java.util.Objects; /** * @author grzegorz.bylica@abilit.eu on 16.10.2019 */ public class MultiChangeHistoryValues { private int id; private int userId; private String userName; private String viewAndCmpIdentyfication; private String in...
Java
<?php /** V4.50 6 July 2004 (c) 2000-2004 John Lim (jlim@natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Set tabs to 4 for best viewing. */ // securi...
Java
# -*- coding: utf-8 -*- # ..#######.########.#######.##....#..######..######.########....###...########.#######.########..######. # .##.....#.##.....#.##......###...#.##....#.##....#.##.....#...##.##..##.....#.##......##.....#.##....## # .##.....#.##.....#.##......####..#.##......##......##.....#..##...##.##.....#....
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 may not use...
Java
</main> <div class="footer__break"></div> <footer id="footer" class="footer" role="contentinfo"> <div class="content__wrapper"> <?php get_template_part( 'template-parts/footer/newsletter' ); get_template_part( 'template-parts/footer/social' ); ?> </div> <?php get_template_part( 'template-parts...
Java
package com.starfarers.dao; import java.util.List; public interface BaseDao<T> { public void create(T entity); public T save(T entity); public void save(List<T> entities); public void remove(T entity); public T find(Integer id); public List<T> findAll(); public <P> T findBy(String attribute, P parameter...
Java
/* * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * * Copyright (C) 2002-2007 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning <charles@aleph1.co.uk> * * This program is free software; you can redistribute it and/or modify * it und...
Java
/* * Multiple format streaming server * Copyright (c) 2000, 2001, 2002 Fabrice Bellard * * 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 2 of the License, or (at y...
Java
''' Ohm's law is a simple equation describing electrical circuits. It states that the voltage V through a resistor is equal to the current (I) times the resistance: V = I * R The units of these are volts, ampheres (or "amps"), and ohms, respectively. In real circuits, often R is actually measured in kiloohms (10**3 o...
Java
--- layout: post title: 从垃圾回收算法到Object Pool description: "Just about everything you'll need to style in the theme: headings, paragraphs, blockquotes, tables, code blocks, and more." modified: 2014-02-28 tags: [javascript, GC] image: feature: abstract-3.jpg credit: dargadgetz creditlink: http://www.dargadgetz.com/...
Java
set(PROCESSORS 4) set(CMAKE_RELEASE_DIRECTORY /Users/kitware/CMakeReleaseDirectory) # set(USER_OVERRIDE "set(CMAKE_CXX_LINK_EXECUTABLE \\\"gcc <FLAGS> <CMAKE_CXX_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES> -shared-libgcc -lstdc++-static\\\")") set(INSTALL_PREFIX /) set(HOST dashmacmini5) set(MAKE...
Java
@(contestId: Long, form: Form[org.iatoki.judgels.uriel.forms.ContestAnnouncementUpsertForm]) @import play.i18n.Messages @import org.iatoki.judgels.uriel.controllers.routes @import org.iatoki.judgels.play.views.html.formErrorView @import org.iatoki.judgels.uriel.views.html.contest.announcement.upsertAnnouncementView @i...
Java
using UnityEngine; using System.Collections; public class Metrics : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } }
Java
<?php declare(strict_types=1); namespace PoPCMSSchema\QueriedObject\TypeResolvers\InterfaceType; use PoP\ComponentModel\TypeResolvers\InterfaceType\AbstractInterfaceTypeResolver; class QueryableInterfaceTypeResolver extends AbstractInterfaceTypeResolver { public function getTypeName(): string { retu...
Java
*, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } span.grid_module { width: 10em; overflow: hidden; display: inline-block; vertical-align: bottom; text-overflow: ellipsis; } #tblda th,#tblda td { display: block; text-a...
Java
/* * Copyright (C) 2014-2017 StormCore * * 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 dis...
Java
#!/usr/bin/perl -w # # This script generates a C header file that maps the target device (as # indicated via the sdcc generated -Dpic18fxxx macro) to its device # family and the device families to their respective style of ADC and # USART programming for use in the SDCC PIC16 I/O library. # # Copyright 2010 Raphael Ne...
Java
<?php /** * ifeelweb.de WordPress Plugin Framework * For more information see http://www.ifeelweb.de/wp-plugin-framework * * Adapter to use ZendFramework as admin application * * @author Timo Reith <timo@ifeelweb.de> * @copyright Copyright (c) ifeelweb.de * @version $Id: ZendFw.php 911603 2014-05-10 10:58...
Java
#ifndef _FFNet_Pattern_h_ #define _FFNet_Pattern_h_ /* FFNet_Pattern.h * * Copyright (C) 1997-2011, 2015 David Weenink * * 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...
Java
/*************************************************************************** * Project TUPITUBE DESK * * Project Contact: info@maefloresta.com * * Project Website: http://www.maefloresta.com * * Project ...
Java
/* * arch/arm/mach-tegra/baseband-xmm-power.c * * Copyright (C) 2011 NVIDIA Corporation * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program i...
Java
include ../../../Makefile.inc CLC_ROOT = ../../../inc all: exe_src exe_src_m2s exe_bin amd_compile m2c_compile run_m2s run_native check_result exe_src: @-$(CC) $(CC_FLAG) *src.c -o exe_src $(CC_INC) $(CC_LIB) > isgreaterequal_floatfloat.exe_src.log 2>&1 exe_src_m2s: @-$(CC) $(CC_FLAG) -m32 *src.c -o exe_src_m2s $...
Java
# coding=utf-8 # --------------------------------------------------------------- # Desenvolvedor: Arannã Sousa Santos # Mês: 12 # Ano: 2015 # Projeto: pagseguro_xml # e-mail: asousas@live.com # --------------------------------------------------------------- import loggin...
Java
<?php /** * @package Mambo * @author Mambo Foundation Inc see README.php * @copyright Mambo Foundation Inc. * See COPYRIGHT.php for copyright notices and details. * @license GNU/GPL Version 2, see LICENSE.php * Mambo is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public ...
Java
<style type="text/css"> .ppsAdminMainLeftSide { width: 56%; float: left; } .ppsAdminMainRightSide { width: <?php echo (empty($this->optsDisplayOnMainPage) ? 100 : 40)?>%; float: left; text-align: center; } #ppsMainOccupancy { box-shadow: none !important; } </style> <section> <div class="supsystic-ite...
Java
/*************************************************************************** * * Copyright (c) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, * 2010, 2011 BalaBit IT Ltd, Budapest, Hungary * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc on Sat Aug 06 17:04:40 EDT 2005 --> <TITLE> Xalan-Java 2.7.0: Uses of Class org.apache.xml.serializer.utils.SystemIDResolver </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" T...
Java