code
stringlengths
4
1.01M
language
stringclasses
2 values
# Copyright (c) 2010-2015 openpyxl # package imports from openpyxl.reader.strings import read_string_table from openpyxl.tests.helper import compare_xml def test_read_string_table(datadir): datadir.join('reader').chdir() src = 'sharedStrings.xml' with open(src) as content: assert read_string_ta...
Java
<?php namespace Iiigel\Controller; class Iiigel extends \Iiigel\Controller\StaticPage { const DEFAULT_ACTION = 'show'; protected $sRawOutput = NULL; protected $oCloud = NULL; protected $oInterpreter = NULL; protected $oChapter = NULL; protected $oModule = NULL; public function __c...
Java
// CHDK palette colors for the s90 // Define color values as needed in this file. #include "palette.h" #include "platform_palette.h" // Playback mode colors unsigned char ply_colors[] = { COLOR_TRANSPARENT, // Placeholder for script colors COLOR_BLACK, // Placeholder for script...
Java
<? /**[N]** * JIBAS Education Community * Jaringan Informasi Bersama Antar Sekolah * * @version: 3.2 (September 03, 2013) * @notes: JIBAS Education Community will be managed by Yayasan Indonesia Membaca (http://www.indonesiamembaca.net) * * Copyright (C) 2009 Yayasan Indonesia Membaca (http://www.indon...
Java
define(['jquery', 'util.tooltips', 'helper.boxes', 'modules/panel'], function($, tooltips, panel) { /* Grid */ tourStepsGrid = [ { beginning: true, title: 'Welcome to the Blox Visual Editor!', content: '<p>If this is your first time in the Blox Visual Editor, <strong>we recommend following this tour so yo...
Java
/* * keybindings.c - this file is part of Geany, a fast and lightweight IDE * * Copyright 2006-2012 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> * Copyright 2006-2012 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> * * This program is free software; you can redistribute it and/...
Java
using System.Diagnostics; using System.Xml.Serialization; namespace IDF.Utilities.ProcLaunch { public class ProcInfo { [XmlAttribute] public string Path { get; set; } [XmlAttribute] public string WorkingDir { get; set; } [XmlAttribute] public string Arguments { get; set; } [XmlAttribut...
Java
<ng-include src="'js/editor/properties-panel/common-properties-template.html'"></ng-include> <div class="form-group"> <label for="width"> <translate>Width</translate> <i class="fa fa-info-circle" tooltip-placement="top-right" uib-tooltip="{{ 'Specify the number of columns of the element....
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>libmbim-glib Reference Manual: Annotation Glossary</title> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="index.html" title="...
Java
/** * Created by inwebo on 05/02/15. */ alert('local');
Java
/*++ * * Kafka Message Queue * * DESCRIPTION: * AUTHOR: NickeyWoo * DATE: 2014/8/15 * --*/ #ifndef __KAFKA_PRODUCER_HH__ #define __KAFKA_PRODUCER_HH__ #include <boost/nocopyable.hpp> #include <google/protobuf/message_lite.h> #include <google/protobuf/message.h> #include <google/protobuf/descriptor.h> cla...
Java
<?php namespace Stormpath\Authc\Api; use Stormpath\Resource\ApiKey; use Stormpath\Resource\Application; class AuthenticatorResult { protected $application; protected $apiKey; protected $accessToken; public function __construct(Application $application, ApiKey $apiKey, $accessToken = null) { ...
Java
# vim: ts=2 sw=2 expandtab package Data::Transform::Identity; use strict; use Data::Transform; use vars qw($VERSION @ISA); $VERSION = '0.01'; @ISA = qw(Data::Transform); sub new { my $type = shift; my $self = bless [ [] ], $type; return $self; } sub clone { my $self = shift; my $clone = bless [ [] ], ...
Java
// Camera - SX150IS - platform_camera.h // This file contains the various settings values specific to the SX150IS camera. // This file is referenced via the 'include/camera.h' file and should not be loaded directly. // If adding a new settings value put a suitable default in 'include/camera.h', // along with document...
Java
package com.moon.threadlocal; import org.junit.Test; /** * Created by Paul on 2017/2/12. */ public class SequenceA implements Sequence{ private static int number=0; @Override public int getNumber(){ number=number+1; return number; } }
Java
/* * Synopsys DesignWare 8250 driver. * * Copyright 2011 Picochip, Jamie Iles. * Copyright 2013 Intel Corporation * * 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 th...
Java
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>numpy.polynomial.laguerre.lagint &mdash; NumPy v1.10 Manual</title> <link rel="stylesheet" type="text/css" href="../../static_/css/spc-bootstrap.css"> <link rel="stylesheet" type="text/css" href="../../static_/css/spc-extend.css"> ...
Java
<!DOCTYPE html> <html> <!-- Mirrored from www.w3schools.com/jquery/tryjquery_event_unbind.htm by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:36:08 GMT --> <head> <script src="../../ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <script> $(document).ready(function(){ $("p").clic...
Java
<?php /* * This file is part of the Eventum (Issue Tracking System) package. * * @copyright (c) Eventum Team * @license GNU General Public License, version 2 or later (GPL-2+) * * For the full copyright and license information, * please see the COPYING and AUTHORS files * that were distributed with this source...
Java
# simpleSound.py # Plays audio files on Linux and Windows. # Written Jan-2008 by Timothy Weber. # Based on (reconstituted) code posted by Bill Dandreta at <http://www.velocityreviews.com/forums/t337346-how-to-play-sound-in-python.html>. import platform if platform.system().startswith('Win'): from winsound import ...
Java
# -*- coding: utf-8 -*- # Copyright 2011 Christoph Reiter <reiter.christoph@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) an...
Java
#include "../ProtocolCommand.h" //#include <sqlite3.h> using namespace org::esb::net; using namespace org::esb::hive; using namespace std; class CreateHive:public ProtocolCommand { private: Socket * socket; public: ~CreateHive () { } CreateHive (TcpSocket * socket) { this->socket = socket; this->is = s...
Java
<?php namespace SimpleCalendar\plugin_deps; /** * This file is part of the Carbon package. * * (c) Brian Nesbitt <brian@nesbot.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /* * Unknown default region, use the first alpha...
Java
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Net.Http.Headers; using System.Web.Http; using System.Web.Http.Description; using Sudoku.Areas.HelpPage.Models; namespace Sudoku.Areas...
Java
/* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will...
Java
/** Select # What? # Part of my "Responsive Menu Concepts" article on CSS-Tricks http://css-tricks.com/responsive-menu-concepts # 2012 by Tim Pietrusky # timpietrusky.com **/
Java
/***************************************************************************** * slider_manager.cpp : Manage an input slider ***************************************************************************** * Copyright (C) 2000-2005 the VideoLAN team * $Id: input_manager.cpp 14556 2006-03-01 19:56:34Z fkuehne $ * * A...
Java
<?php defined('IN_IA') or exit('Access Denied');?> <div id="footer"> <span class="pull-left"> <p><?php if(empty($_W['setting']['copyright']['footerleft'])) { ?>Powered by <a href="http://www.weixfu.cn"><b>关于微服务</b></a> v<?php echo IMS_VERSION;?> &copy; 2014 <a href="http://www.weixfu.cn">www.weixfu.cn</a><?php }...
Java
<?php /** * Load our components using a static wrapper */ namespace MakeitWorkPress\WP_Components; use WP_Error as WP_Error; defined( 'ABSPATH' ) or die( 'Go eat veggies!' ); class Build { /** * Renders generic template for an atom or molecule. * * @param string $type The type, eith...
Java
<!DOCTYPE html> <html> <head> <title>Asterisk Project : Asterisk 12 Recordings REST API</title> <link rel="stylesheet" href="styles/site.css" type="text/css" /> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body class="theme-default aui-theme-default">...
Java
/***************************************************************************** * m3u.c : M3U playlist format import ***************************************************************************** * Copyright (C) 2004 VLC authors and VideoLAN * $Id: 02a95984d5fe1968163cb435268a9874f0c65eb9 $ * * Authors: Clément Ste...
Java
#!/usr/bin/env python # # testlibbind_ns_msg.py - Unit tests for the libbind ns_msg wrapper # # This file is part of Strangle. # # Strangle 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 t...
Java
<?php // notin to do here
Java
/* * Copyright (c) 2013, 2017, Oracle and/or its affiliates. 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 ...
Java
#! /usr/bin/env python3 ''' given a list of stock price ticks for the day, can you tell me what trades I should make to maximize my gain within the constraints of the market? Remember - buy low, sell high, and you can't sell before you buy. Sample Input 19.35 19.30 18.88 18.93 18.95 19.03 19.00 18.97 18.97 18.98 '''...
Java
<?php /******************************************************************************* Copyright 2005,2009 Whole Foods Community Co-op This file is part of Fannie. Fannie is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by t...
Java
package com.yao.app.java.nio.pipe; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.Pipe; public class Test { public static void main(String[] args) { try { Pipe pipe = Pipe.open(); Thread t1 = new Thread(new MessageOutput(pipe)); Thread...
Java
################################################################ # LiveQ - An interactive volunteering computing batch system # Copyright (C) 2013 Ioannis Charalampidis # # 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 ...
Java
# # Makefile for the WatchDog device drivers. # # Only one watchdog can succeed. We probe the ISA/PCI/USB based # watchdog-cards first, then the architecture specific watchdog # drivers and then the architecture independent "softdog" driver. # This means that if your ISA/PCI/USB card isn't detected that # you can fall...
Java
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.SessionState; using System.Data; namespace Schoolxm.html { /// <summary> /// Home 的摘要说明 /// </summary> public class Home : IHttpHandler, IRequiresSessionState { public void ProcessRequest...
Java
thm-bus-seat-reservation ========================
Java
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <CL/cl.h> unsigned char *read_buffer(char *file_name, size_t *size_ptr) { FILE *f; unsigned char *buf; size_t size; /* Open file */ f = fopen(file_name, "rb"); if (!f) return NULL; /* ...
Java
<?php $count=0; ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <section id="post-<?php the_ID(); ?>" <?php ++$count%2 ? post_class( 'archive col-1-2' ) : post_class( 'archive col-1-2 reverse' ); ?>> <?php the_post_thumbnail( 'steampunkd_sm-post-thumb' ); ?> <header><a href=...
Java
<?php defined('_JEXEC') or die('Restricted access'); ?> <div class="item"> <a href="javascript:ImageManager.populateFields('<?php echo $this->_tmp_img->path_relative; ?>')"> <img src="<?php echo $this->baseURL.'/'.$this->_tmp_img->path_relative; ?>" width="<?php echo $this->_tmp_img->width_60; ?>" height="...
Java
### Forum URL root https://api-testing-conference.herokuapp.com/v1.0/ ### Forum webapplication https://forum-testing.herokuapp.com/v1.0/ ### Swagger API definition https://app.swaggerhub.com/apis/twiindan/forum-conference/1.0.0 ### Tools POSTMAN: https://www.getpostman.com/ <br> CHARLES PROXY: https://www.charlesp...
Java
/* * arch/i386/mm/ioremap.c * * Re-map IO memory to kernel address space so that we can access it. * This is needed for high PCI addresses that aren't mapped in the * 640k-1MB IO memory area on PC's * * (C) Copyright 1995 1996 Linus Torvalds */ #include <linux/vmalloc.h> #include <asm/io.h> #include <asm/pgall...
Java
/* * linux/kernel/fork.c * * Copyright (C) 1991, 1992 Linus Torvalds */ /* * 'fork.c' contains the help-routines for the 'fork' system call * (see also entry.S and others). * Fork is rather simple, once you get the hang of it, but the memory * management can be a bitch. See 'mm/memory.c': 'copy_page_range(...
Java
import random import time from flask import ( request, session, flash, redirect, url_for, Response, render_template, ) from NossiPack.Cards import Cards from NossiPack.User import Userlist from NossiPack.VampireCharacter import VampireCharacter from NossiPack.krypta import DescriptiveError...
Java
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright held by original author \\/ M anipulation | ------------------...
Java
/* Company : Nequeo Pty Ltd, http://www.nequeo.com.au/ * Copyright : Copyright © Nequeo Pty Ltd 2016 http://www.nequeo.com.au/ * * File : EndpointInterface.h * Purpose : SIP Endpoint Interface class. * */ /* Permission is hereby granted, free of charge, to any person obtaining a copy of thi...
Java
<?php /** * @package Joomla.Administrator * @subpackage com_privacy * * @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\HTML\HTMLHelper; use Joomla...
Java
## # This file is part of WhatWeb and may be subject to # redistribution and commercial restrictions. Please see the WhatWeb # web site for more information on licensing and terms of use. # https://morningstarsecurity.com/research/whatweb ## Plugin.define do name "ExtremeWare" authors [ "Brendan Coles <bcoles@gmail.c...
Java
--- layout: post title: 灵魂选择自己的伴侣 - 阳志平 category: literature tags: modern_times --- ![](https://cdn.kelu.org/blog/tags/literature.jpg) 许久没有看文艺味道的文章了。转载一篇。原文链接<https://gist.github.com/ouyangzhiping/aa44edcc7f7cbb6888805617bcb1b4d6> 以下是原文: **灵魂选择自己的伴侣,少年选择自己的城市**。异类需要与异类在一起。欢迎各位来参加开智部落成立典礼。今天,我要跟大家分享一位异类的故事。 ## 我必须徒...
Java
<?php get_header(); ?> <div id="content" class="grid_9 <?php echo of_get_option('blog_sidebar_pos') ?>"> <?php include_once (TEMPLATEPATH . '/title.php');?> <?php if (have_posts()) : while (have_posts()) : the_post(); // The following determines what the post fo...
Java
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2008-2010 Zuza Software Foundation # # This file is part of Virtaal. # # 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 ...
Java
############################## Handle IRQ ############################# HAVE_UART = y ############################## TOOLS ############################# CROSS_COMPILE ?=mips-linux-gnu- CC = $(CROSS_COMPILE)gcc LD = $(CROSS_COMPILE)ld OBJCOPY = $(CROSS_COMPILE)objcopy drop-sections := .reginfo .mdebug .oommen...
Java
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Struct base_unit_info&lt;imperial::hundredweight_base_unit&gt;</title> <link rel="stylesheet" href="../../boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.73.2"> <link rel="start" href...
Java
<?php namespace JasPhp; use JasPhp; Class Jasper { public static function makeJasperReport($module, $report, $parameters) { //print "java -jar ../lib/java/jasphp.jar $module $report $parameters";exit; exec("java -jar ../lib/java/dist/jasphp.jar $module $report $parameters", $return); //print_r($return...
Java
<?php /** * Authentication library * * Including this file will automatically try to login * a user by calling auth_login() * * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) * @author Andreas Gohr <andi@splitbrain.org> */ if(!defined('DOKU_INC')) die('meh.'); // some ACL level defines define('A...
Java
<?php /** * This file contains all functions for creating a database for teachpress * * @package teachpress\core\installation * @license http://www.gnu.org/licenses/gpl-2.0.html GPLv2 or later * @since 5.0.0 */ /** * This class contains all functions for creating a database for teachpress * @package teachpres...
Java
(function ($) { function getCsrfTokenForFullShotImage(callback) { $ .get(Drupal.url('rest/session/token')) .done(function (data) { var csrfToken = data; callback(csrfToken); }); } function patchImageFullShot(csrfToken, file, fid) ...
Java
#ifndef __DGAPROC_H #define __DGAPROC_H #include <X11/Xproto.h> #include "pixmap.h" #define DGA_CONCURRENT_ACCESS 0x00000001 #define DGA_FILL_RECT 0x00000002 #define DGA_BLIT_RECT 0x00000004 #define DGA_BLIT_RECT_TRANS 0x00000008 #define DGA_PIXMAP_AVAILABLE 0x00000010 #define DGA_INTERLACED 0x00010000 #define D...
Java
<?php /** * @copyright Copyright (C) eZ Systems AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. */ namespace eZ\Publish\Core\MVC\Symfony\Matcher\Tests\ContentBased; use eZ\Publish\API\Repository\LocationService; use eZ\Publish\Core...
Java
# # Copyright (C) 2006-2012 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk define Build/Clean $(MAKE) -C lzma-loader clean endef define Image/Prepare cat $(KDIR)/vmlinux | $(ST...
Java
/*============================================================================= Copyright (c) 2002-2003 Joel de Guzman http://spirit.sourceforge.net/ Use, modification and distribution is subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at htt...
Java
/** @file * PDM - Pluggable Device Manager, Common Instance Macros. */ /* * Copyright (C) 2006-2015 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or modify it under the te...
Java
/* ---------------------------------------------------------------------------------------------------------- This website template was downloaded from http://www.nuviotemplates.com - visit us for more templates Structure: display; position; float; z-index; overflow; width; height; margin; padding; borde...
Java
/* * linux/fs/read_write.c * * Copyright (C) 1991, 1992 Linus Torvalds */ #include <linux/slab.h> #include <linux/stat.h> #include <linux/fcntl.h> #include <linux/file.h> #include <linux/uio.h> #include <linux/smp_lock.h> #include <linux/fsnotify.h> #include <linux/security.h> #include <linux/module.h> #includ...
Java
# # The Qubes OS Project, http://www.qubes-os.org # # Copyright (C) 2014-2016 Wojtek Porczyk <woju@invisiblethingslab.com> # Copyright (C) 2016 Marek Marczykowski <marmarek@invisiblethingslab.com>) # Copyright (C) 2016 Bahtiar `kalkin-` Gadimov <bahtiar@gadimov.de> # # This library is free software; you ca...
Java
#!/bin/sh # # Copyright (c) 2007 Junio C Hamano # test_description='git apply --whitespace=strip and configuration file. ' . ./test-lib.sh test_expect_success setup ' mkdir sub && echo A >sub/file1 && cp sub/file1 saved && git add sub/file1 && echo "B " >sub/file1 && git diff >patch.file ' ...
Java
/** * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmobile.com/) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the Lice...
Java
// // Created by David Seery on 10/08/2015. // --@@ // Copyright (c) 2017 University of Sussex. All rights reserved. // // This file is part of the Sussex Effective Field Theory for // Large-Scale Structure platform (LSSEFT). // // LSSEFT is free software: you can redistribute it and/or modify // it under the terms of ...
Java
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein is * confidential and proprietary to MediaTek Inc. and/or its licensors. Without * the prior written permission of MediaTek inc. and...
Java
# Copyright (C) 2005, Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # 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...
Java
/************************************************************************* * * FILE NAME : ifxmips_pci.c * PROJECT : IFX UEIP * MODULES : PCI * * DATE : 29 June 2009 * AUTHOR : Lei Chuanhua * * DESCRIPTION : PCI Host Controller Driver * COPYRIGHT : Copyright (c) 2009 * ...
Java
#ifndef AnalysisTool_h #define AnalysisTool_h 1 #include "StackingTool.hh" #include <sstream> // stringstream using namespace std; class AnalysisTool { public: AnalysisTool(); virtual ~AnalysisTool(); virtual void PrintTool(); virtual bool getInterest(); virtual bool getInterest(int partic...
Java
body{ font-family: 'open_sansregular'; } .header { background: url(../images/bgo.jpg); min-height: 600px; } .header-right { background: url(../images/handpico.png) no-repeat 100% 101%; height: 600px; } .pricing-grid ul li a:hover,.footer ul li a:hover, .copy-right a:hover { color:#DB7734; } /*----*/ .apple{ bac...
Java
<?php /** * The header template file. * @package PaperCuts * @since PaperCuts 1.0.0 */ ?><!DOCTYPE html> <!--[if IE 7]> <html class="ie ie7" <?php language_attributes(); ?>> <![endif]--> <!--[if IE 8]> <html class="ie ie8" <?php language_attributes(); ?>> <![endif]--> <!--[if !(IE 7) | !(IE 8) ]><!--> <html <?php l...
Java
<?php session_start(); $exercise = $_SESSION['exercise']; if($_POST){ unset($exercise[$_POST['id']]); $_SESSION['exercise'] = $exercise; header('Location: ./'); } $workout = $exercise[$_REQUEST['id']]; ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X...
Java
<?php /** * Validate form * * @param array $form definition * @param array $data filtered * @return boolean | array ('fildname'=>'error message') */ function validateForm($form, $datafiltered) { $validatedata = null; foreach ($form as $key => $form_field) { // if ($form[$key]['validation'] != nul...
Java
# woyuchengying.github.io * [语言无关类](#语言无关类) * [操作系统](#操作系统) * [智能系统](#智能系统) * [分布式系统](#分布式系统) * [编译原理](#编译原理) * [函数式概念](#函数式概念) * [计算机图形学](#计算机图形学) * [WEB服务器](#web服务器) * [版本控制](#版本控制) * [编辑器](#编辑器) * [NoSQL](#nosql) * [PostgreSQL](#postgresql) * [MySQL](#mysql) * [管理和监控](#管理和监控) * [项目相关](#项目...
Java
<?php module_head("The KDevelop $k_series_version Team");?> <h4>Main Developers: <a href="mailto:team at kdevelop.org">team at kdevelop.org</a></h4> <a href="mailto:bernd at physik.hu-berlin.de">Bernd Gehrmann</a> Initial idea and architecture, much initial source code <br> <a href="mailto:caleb at aei-tech.com">Caleb...
Java
#!/usr/bin/env python3 import sys import os sys.path.append(os.path.realpath(".")) import unittest import cleanstream import tagger import pretransfer import transfer import interchunk import postchunk import adaptdocx if __name__ == "__main__": os.chdir(os.path.dirname(__file__)) failures = 0 for modul...
Java
/* * Copyright (c) 2010, Google, Inc. * * This file is part of Libav. * * Libav 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.1 of the License, or (at your option) any later...
Java
// // ReadEntityBodyMode.cs // // Author: Martin Thwaites (github@my2cents.co.uk) // // Copyright (C) 2014 Martin Thwaites // // 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 restri...
Java
#!/usr/bin/python3 # @begin:license # # Copyright (c) 2015-2019, Benjamin Niemann <pink@odahoda.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 version 2 of the License, or # (at y...
Java
VERSION = 1.0.1 all: smistrip -d MIB src-mib/nagios*.mib test: smilint -p ./MIB/NAGIOS-ROOT-MIB ./MIB/NAGIOS-NOTIFY-MIB tarball: tar cvzf nagiosmib-${VERSION}.tar.gz README CHANGES LEGAL LICENSE ./MIB/*MIB md5sum nagiosmib-${VERSION}.tar.gz > nagiosmib-${VERSION}.tar.gz.md5sum
Java
#ifndef INC_FMTLexer_hpp_ #define INC_FMTLexer_hpp_ #include <antlr/config.hpp> /* $ANTLR 2.7.7 (20130428): "format.g" -> "FMTLexer.hpp"$ */ #include <antlr/CommonToken.hpp> #include <antlr/InputBuffer.hpp> #include <antlr/BitSet.hpp> #include "FMTTokenTypes.hpp" #include <antlr/CharScanner.hpp> #include <fstream> #...
Java
#include "db/db.h" Database::Database() { this->records_tree_ = nullptr; } void Database::Read(DatabaseReader &reader) { this->records_tree_ = reader.ReadIndex(); } Record *Database::GetRecordsTree() const { return this->records_tree_; } void Database::SetRecordsTree(Record *records_tree) { this->records_tree_...
Java
import glob import fnmatch import itertools import logging import os import re import six import sys import yaml from .dockerfile import Dockerfile from .image import ImageBuilder from .config import Config class Builder(object) : def __init__(self, config=None, **kwds) : self.logger = logging.getLogger...
Java
<?php global $lang; global $languages; $l_top_lang_visited_pages="Najczęściej {$languages[$lang]} odwiedzane strony"; $l_page="Strona"; $l_last_update="ostatnio aktualizowane"; $l_last_visited="ostatnio odwiedzane"; $l_average_daily_visits="średnio dziennych wizyt"; $l_global_website_statistics="Całkowite statystyki...
Java
<?php /** * * You may not change or alter any portion of this comment or credits * of supporting developers from this source code or any supporting source code * which is considered copyrighted (c) material of the original comment or credit authors. * This program is distributed in the hope that it will be useful,...
Java
#ifndef GAP_HPC_MISC_H #define GAP_HPC_MISC_H #include "system.h" #ifndef HPCGAP #error This header is only meant to be used with HPC-GAP #endif /**************************************************************************** ** *V ThreadUI . . . . . . . . . . . . . . . . . . . . support UI for threads ** */ extern ...
Java
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_FRAME_EXTRA_SYSTEM_APIS_H_ #define CHROME_FRAME_EXTRA_SYSTEM_APIS_H_ #include <mshtml.h> #include <shdeprecated.h> class __declspec(u...
Java
<?php /** * @package Expose * @version 3.0.1 * @author ThemeXpert http://www.themexpert.com * @copyright Copyright (C) 2010 - 2011 ThemeXpert * @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPLv3 * @file layout.php **/ //prevent direct access defined ('EXPOSE_VERSION') or die (...
Java
<!doctype html> <html> <head> <meta charset="UTF-8"> <title>首页-灰绿色主题</title> <link href="../css/style.css" rel="stylesheet" type="text/css"> <script src="../js/jQuery.js" type="text/javascript"></script> <script src="../js/common.js" type="text/javascript"></script> <...
Java
<?php /* Plugin Name: Social Likes Description: Wordpress plugin for Social Likes library by Artem Sapegin (http://sapegin.me/projects/social-likes) Version: 5.5.7 Author: TS Soft Author URI: http://ts-soft.ru/en/ License: MIT Copyright 2014 TS Soft LLC (email: dev@ts-soft.ru ) Permission is hereby granted, free of c...
Java
// // LVKDefaultMessageStickerItem.h // VKMessenger // // Created by Eliah Nikans on 6/9/14. // Copyright (c) 2014 Levelab. All rights reserved. // #import "LVKMessageItemProtocol.h" @interface LVKDefaultMessageStickerItem : UICollectionViewCell <LVKMessageItemProtocol> @property (weak, nonatomic) IBOutlet UIIma...
Java
<?php /** * VuFind Statistics Class for Record Views * * PHP version 5 * * Copyright (C) Villanova University 2009. * * 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 Foundation. * * Th...
Java
<?php /** * @copyright Copyright (C) eZ Systems AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. */ namespace eZ\Publish\Core\Base\Container\Compiler\Search\Legacy; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInte...
Java