code
stringlengths
4
1.01M
language
stringclasses
2 values
# Contributing Contributions to Respect\Validation are always welcome. You make our lives easier by sending us your contributions through [GitHub pull requests](http://help.github.com/pull-requests). Pull requests for bug fixes must be based on the current stable branch whereas pull requests for new features must be ...
Java
/* PIED DE PAGE*/ #nom_ input[type="text"] { /*le input ou le textarea*/ background-color: #fffffa; /*la couleur du champ*/ height: 25px; /*la hauteur du champ input*/ width: 100%; /* la largeur du champ input*/ } #prenom_ input[type="text"] { /*le input ou le textarea*/ background-color: #fffffa; /*la couleur du...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <META HTTP-EQUIV="Refresh" CONTENT="0;URL=Home.action"> </head> <body> <p>Loading ...</p> </body> </html>
Java
// // Copyright 2015 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // texture_format_util: // Contains helper functions for texture_format_table // #include "libANGLE/renderer/d3d/d3d11/texture_format_util.h"...
Java
#include "atlas_misc.h" #include "camm_strat1.h" void ATL_USET(int len, const SCALAR alpha, TYPE *X, const int incX) { NO_INLINE; #ifndef SREAL len+=len; #endif #ifdef DCPLX len+=len; #endif #define VERS 3 #define N Mjoin(set_,VERS) #ifndef BITS #define BITS 4 #endif #ifndef CL #define CL 24 #endif #ifdef SR...
Java
![wordmark](static/images/wordmark.png) ### Free peer-to-peer file transfers in your browser Cooked up by [Alex Kern](http://kern.io) & [Neeraj Baid](http://neeraj.io) while eating *Sliver* @ UC Berkeley. [![XKCD 949](http://imgs.xkcd.com/comics/file_transfer.png)](https://xkcd.com/949/) ## Overview FilePizza enab...
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/html; charset=utf-8" /> <title>tools &mdash; Translate Toolkit 1.11.0 documentatio...
Java
// // IMAPFetchNamespaceOperation.h // mailcore2 // // Created by DINH Viêt Hoà on 1/12/13. // Copyright (c) 2013 MailCore. All rights reserved. // #ifndef __MAILCORE_MCIMAPFETCHNAMESPACEOPERATION_H_ #define __MAILCORE_MCIMAPFETCHNAMESPACEOPERATION_H_ #include <MailCore/MCIMAPOperation.h> #ifdef __cplusplus na...
Java
// Copyright 2014 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. #include "ui/events/platform/x11/hotplug_event_handler_x11.h" #include <X11/extensions/XInput.h> #include <X11/extensions/XInput2.h> #include <cmath> #i...
Java
<?php /** * ALIPAY API: alipay.pass.instance.update request * * @author auto create * @since 1.0, 2015-07-23 11:37:35 */ class AlipayPassInstanceUpdateRequest { /** * 需要更新的券实例变量和状态信息 **/ private $bizContent; private $apiParas = array(); private $terminalType; private $terminalInfo; private $prodCode; ...
Java
"""Univariate features selection.""" # Authors: V. Michel, B. Thirion, G. Varoquaux, A. Gramfort, E. Duchesnay. # L. Buitinck, A. Joly # License: BSD 3 clause import numpy as np import warnings from scipy import special, stats from scipy.sparse import issparse from ..base import BaseEstimator from ..prepr...
Java
/* * graph.h * PHD Guiding * * Created by Craig Stark. * Copyright (c) 2006-2010 Craig Stark. * All rights reserved. * * This source code is distributed under the following "BSD" license * Redistribution and use in source and binary forms, with or without * modification, are permitted provid...
Java
# coding=utf-8 from __future__ import absolute_import from .base import * # ######### IN-MEMORY TEST DATABASE DATABASES = { "default": { "ENGINE": "django.db.backends.sqlite3", "NAME": ":memory:", }, }
Java
// Copyright 2015 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. #include "ios/chrome/browser/search_engines/template_url_service_factory.h" #include "base/bind.h" #include "base/callback.h" #include "base/no_destructo...
Java
#!/bin/bash -ex # Copyright (c) 2012 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. # # Buildbot annotator script for the main waterfall. Tester only. BB_DIR="$(dirname $0)" BB_SRC_ROOT="$(cd "$BB_DIR/../../.."; pwd)" ....
Java
// Copyright 2014 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. #include "base/threading/platform_thread.h" #include <errno.h> #include <sched.h> #include <stddef.h> #include "base/lazy_instance.h" #include "base/log...
Java
/* * Copyright (c) 2013, Michael Lehn, Klaus Pototzky * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1) Redistributions of source code must retain the above copyright...
Java
# - Try to find the CHECK libraries # Once done this will define # # CHECK_FOUND - system has check # CHECK_INCLUDE_DIR - the check include directory # CHECK_LIBRARIES - check library # # This configuration file for finding libcheck is originally from # the opensync project. The originally was downloaded from her...
Java
<?php error_reporting(E_ALL); trait THello { public abstract function hello(); } class TraitsTest { use THello; public function hello() { echo 'Hello'; } } $test = new TraitsTest(); $test->hello(); ?>
Java
// Copyright 2015, ARM Limited // 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 source code must retain the above copyright notice, // this list of conditions a...
Java
package org.broadinstitute.hellbender.tools.spark.pathseq; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.io.Output; import htsjdk.samtools.SAMSequenceRecord; import org.apache.commons.compress.archivers.tar.TarArchiveEntry; import org.apache.commons.compress.archivers.tar.TarArchiveInputStrea...
Java
// Copyright 2015 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. #include "chrome/browser/banners/app_banner_debug_log.h" #include "content/public/browser/render_frame_host.h" #include "content/public/browser/web_conte...
Java
--- layout: data_model title: ActionPertinentObjectPropertiesType this_version: 1.1.1 --- <div class="alert alert-danger bs-alert-old-docs"> <strong>Heads up!</strong> These docs are for STIX 1.1.1, which is not the latest version (1.2). <a href="/data-model/1.2/cybox/ActionPertinentObjectPropertiesType">View the l...
Java
using Microsoft.Extensions.DependencyInjection; namespace OrchardCore.Liquid { public static class ServiceCollectionExtensions { public static IServiceCollection AddLiquidFilter<T>(this IServiceCollection services, string name) where T : class, ILiquidFilter { services.Configure<Liq...
Java
// Copyright 2013 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. package org.chromium.content.browser.input; import android.os.SystemClock; import android.text.Editable; import android.text.InputType; import android.te...
Java
/* * Copyright (c) 2006, Ondrej Danek (www.ondrej-danek.net) * 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 source code must retain the above copyright * notice, ...
Java
VERSION = (1, 0, 0,) __version__ = '.'.join(map(str, VERSION)) default_app_config = 'admin_sso.apps.AdminSSOConfig' # Do not use Django settings at module level as recommended try: from django.utils.functional import LazyObject except ImportError: pass else: class LazySettings(LazyObject): def _se...
Java
// Copyright 2020 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. #include "third_party/blink/renderer/core/layout/ng/mathml/ng_math_under_over_layout_algorithm.h" #include "third_party/blink/renderer/core/layout/ng/mat...
Java
/// @ref simd /// @file glm/simd/platform.h #pragma once /////////////////////////////////////////////////////////////////////////////////// // Platform #define GLM_PLATFORM_UNKNOWN 0x00000000 #define GLM_PLATFORM_WINDOWS 0x00010000 #define GLM_PLATFORM_LINUX 0x00020000 #define GLM_PLATFORM_APPLE 0x00040000 //...
Java
# Copyright 2009 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. include $(GOROOT)/src/Make.$(GOARCH) TARG=encoding/hex GOFILES=\ hex.go\ include $(GOROOT)/src/Make.pkg
Java
/* * * Copyright 2015, Google Inc. * 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 source code must retain the above copyright * notice, this list of condi...
Java
/**************************************************************************** * * Copyright (C) 2012-2019 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redi...
Java
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2010, Ajax.org B.V. * 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
/* * Copyright 2020 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "include/core/SkFont.h" #include "include/core/SkTypeface.h" #include "src/core/SkScalerCache.h" #include "src/core/SkStrikeSpec.h" #include "src/core/SkTaskGroup.h" ...
Java
// Copyright 2016 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. #include "third_party/blink/renderer/core/fetch/multipart_parser.h" #include "base/cxx17_backports.h" #include "third_party/blink/public/platform/platfor...
Java
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const chalk = require("chalk"); const cli_utils_1 = require("@ionic/cli-utils"); const command_1 = require("@ionic/cli-utils/lib/command"); const validators_1 = require("@ionic/cli-utils/lib/validators"); cons...
Java
/**************************************************************************** * * Copyright (C) 2012 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistri...
Java
//===- PDBExtras.h - helper functions and classes for PDBs ------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Java
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import (absolute_import, division, print_function, unicode_literals) from builtins import * import versioneer __author__ = 'Chia-Jung, Yang' __email__ = 'jeroyang@gmail.com' __version__ = versioneer.get_version() from ._version imp...
Java
<?php /* Prototype : string basename(string path [, string suffix]) * Description: Returns the filename component of the path * Source code: ext/standard/string.c * Alias to functions: */ echo "*** Testing basename() : usage variation ***\n"; // Define error handler function test_error_handler($err_no, $err_ms...
Java
#!/bin/sh bindir=/usr/bin sbindir=/usr/bin libdir=/usr/lib [ -n "$gearman_db_type" ] && db_type=$gearman_db_type if [ "$db_type" = "mysql" ]; then persistence="-q libdrizzle --libdrizzle-user=%{gearman.db_user} --libdrizzle-password=\\\"\$(pw=\\\"%{gearman.db_pass}\\\" && [ \\\"\${pw:0:8}\\\" = \\\"keydb://\\\" ]...
Java
define( [ { "value": 40, "name": "Accessibility", "path": "Accessibility" }, { "value": 180, "name": "Accounts", "path": "Accounts", "children": [ { "value": 76, "name": "Access", "path": "Acc...
Java
// Copyright 2019 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/torque/torque-compiler.h" #include <fstream> #include "src/torque/declarable.h" #include "src/torque/declaration-visitor.h" #include "src...
Java
# -*- coding: utf-8 -*- # Copyright (C) 2012, Almar Klein # # Visvis is distributed under the terms of the (new) BSD License. # The full license can be found in 'license.txt'. import visvis as vv import numpy as np import os # Try importing imageio imageio = None try: import imageio except ImportError: pass ...
Java
/* * Copyright (c) 2012, Michael Lehn, Klaus Pototzky * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1) Redistributions of source code must retain the above copyright...
Java
<!doctype html> <html> <head> <style> iframe { position: fixed; top: 0px; bottom: 0px; left: 0px; right: 0px; width: 100%; height: 100%; border: none; margin: 0; } </style> </head> <body> <iframe src="test_web_input_ed...
Java
""" test positional based indexing with iloc """ from datetime import datetime import re from warnings import ( catch_warnings, simplefilter, ) import numpy as np import pytest import pandas.util._test_decorators as td from pandas import ( NA, Categorical, CategoricalDtype, DataFrame, In...
Java
// Copyright 2018 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. #include "chrome/browser/usb/usb_policy_allowed_devices.h" #include <string> #include <vector> #include "base/bind.h" #include "base/strings/string_spli...
Java
#pragma once #include "scbwdata.h" #include <algorithm> namespace scbw { /// The UnitFinder class is used to efficiently search for units in a certain /// area using StarCraft's internal data structures. class UnitFinder { public: /// Default constructor. UnitFinder(); /// Constructs and...
Java
#ifndef HEATSHRINK_H #define HEATSHRINK_H #define HEATSHRINK_AUTHOR "Scott Vokes <scott.vokes@atomicobject.com>" #define HEATSHRINK_URL "https://github.com/atomicobject/heatshrink" /* Version 0.4.0 */ #define HEATSHRINK_VERSION_MAJOR 0 #define HEATSHRINK_VERSION_MINOR 4 #define HEATSHRINK_VERSION_PATCH 0 #define HEA...
Java
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
Java
<div ng-controller="EditableFormCtrl" id="EditableFormCtrl"> <form editable-form name="editableForm" onaftersave="saveUser()"> <div> <!-- editable username (text with validation) --> <span class="title">User name: </span> <span editable-text="user.name" e-name="name" onbeforesave="checkName($dat...
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"/> <title>sd-reader: partitio...
Java
/* * Copyright (c) 2012-2014 The Khronos Group Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and/or associated documentation files (the * "Materials"), to deal in the Materials without restriction, including * without limitation the rights to use, copy, m...
Java
# frozen_string_literal: true require 'csv' class CourseStudentsCsvBuilder def initialize(course) @course = course end def generate_csv csv_data = [CSV_HEADERS] courses_users.each do |courses_user| csv_data << row(courses_user) end CSV.generate { |csv| csv_data.each { |line| csv << li...
Java
<?php class Typography_test extends CI_TestCase { public function set_up() { $this->type = new Mock_Libraries_Typography(); $this->ci_instance('type', $this->type); } // -------------------------------------------------------------------- /** * Tests the format_characters() function. * * this can and...
Java
/* Copyright (c) 2009-2013 Dovecot authors, see the included COPYING file */ #include "lib.h" #include "net.h" #include "ioloop.h" #include "hash.h" #include "strescape.h" #include "fd-set-nonblock.h" #include "login-proxy-state.h" #include <unistd.h> #include <fcntl.h> #define NOTIFY_RETRY_REOPEN_MSECS (60*1000) s...
Java
/** * window.c.ProjectSuggestedContributions component * A Project-show page helper to show suggested amounts of contributions * * Example of use: * view: () => { * ... * m.component(c.ProjectSuggestedContributions, {project: project}) * ... * } */ import m from 'mithril'; import _ from 'underscore'; c...
Java
""" Copyright (c) 2012-2016 Ben Croston Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribut...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html" charset="iso-8859-1"> <title>org.apache.commons.net.pop3 (Commons Net 3.3 API)</title> <link rel="stylesheet" type="te...
Java
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Threading; namespace GSoft.Dynamite.Collections { /// <summary> /// A list that supports synchronized reading and writing. /// </summary> /// <typeparam name="T">The type of ob...
Java
<?php namespace Oro\Bundle\IntegrationBundle\Provider; use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; interface SyncProcessorInterface { /** * @param Integration $integration * @param $connector * @param array $connectorParameters * * @return bool */ public func...
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 Sun Nov 03 15:35:48 CET 2013 --> <title>Uses of Class com.badlogic.gdx.utils.ObjectFloatMap.Values (libgdx API)</title> <meta na...
Java
import { get } from '../get' export function getSearchData(page, cityName, category, keyword) { const keywordStr = keyword ? '/' + keyword : '' const result = get('/api/search/' + page + '/' + cityName + '/' + category + keywordStr) return result }
Java
/*global define*/ /*jslint white:true,browser:true*/ define([ 'bluebird', // CDN 'kb_common/html', // LOCAL 'common/ui', 'common/runtime', 'common/events', 'common/props', // Wrapper for inputs './inputWrapperWidget', 'widgets/appWidgets/fieldWidget', // Display widgets ...
Java
#!/bin/bash FN="ALL_1.32.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.12/data/experiment/src/contrib/ALL_1.32.0.tar.gz" "https://bioarchive.galaxyproject.org/ALL_1.32.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-all/bioconductor-all_1.32.0_src_all.tar.gz" ) MD5="a7181423086d1ea752a3e4...
Java
/* css Zen Garden submission 145 - 'Paravion', by Emiliano Pennisi, http://www.peamarte.it/01/metro.html */ /* css released under Creative Commons License - http://creativecommons.org/licenses/by-nc-sa/1.0/ */ /* All associated graphics copyright 2004, Emiliano Pennisi */ /* Added: Dec. 16th, 2004 */ /* IMPORTAN...
Java
package com.hearthsim.card.basic.spell; import com.hearthsim.card.spellcard.SpellTargetableCard; import com.hearthsim.event.effect.EffectCharacter; import com.hearthsim.event.effect.EffectCharacterBuffTemp; import com.hearthsim.event.filter.FilterCharacter; import com.hearthsim.event.filter.FilterCharacterTargetedSpel...
Java
module SS::Reference::Site extend ActiveSupport::Concern extend SS::Translation included do cattr_accessor :site_required, instance_accessor: false self.site_required = true attr_accessor :cur_site belongs_to :site, class_name: "SS::Site" validates :site_id, presence: true, if: ->{ self.cl...
Java
#! /bin/sh # SPDX-License-Identifier: BSD-3-Clause # Copyright 2015 6WIND S.A. # Do some basic checks in MAINTAINERS file cd $(dirname $0)/.. # speed up by ignoring Unicode details export LC_ALL=C # Get files matching paths with wildcards and / meaning recursing files () # <path> [<path> ...] { if [ -z "$1" ] ; th...
Java
<!DOCTYPE html> <html> <head> <title>NEJ实例 - 计数器</title> <meta charset="utf-8" /> <script> function log(msg){ var div = document.createElement('div'); div.innerHTML = msg; document.body.appendChild(div); } </script> </head> <body> <textarea id="abc" st...
Java
TARGET?=tests .PHONY: docs flake8 example test coverage docs: cd docs; make html open docs/_build/html/index.html flake8: flake8 --ignore=W999 two_factor example tests example: DJANGO_SETTINGS_MODULE=example.settings PYTHONPATH=. \ django-admin.py runserver test: DJANGO_SETTINGS_MODULE=tests.settings PYTHON...
Java
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using Mindscape.Raygun4Net.Messages; using System.Threading; using System.Reflection; using Mindscape.Raygun4Net.Builders; namespace Mindscape.Raygun4Net { public class RaygunClient : RaygunClientBase {...
Java
// Copyright (c) Microsoft Corporation // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "pch.h" #include "ProfileService_winrt.h" #include "Utils_WinRT.h" using namespace pplx; using namespace Windows::Foundation; using namespace Windows::Foundation::Colle...
Java
// Copyright 2011 Splunk, 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://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
Java
/* * MP3 muxer * Copyright (c) 2003 Fabrice Bellard * * This file is part of FFmpeg. * * FFmpeg 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 ...
Java
// Copyright (c) 2011-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "optionsdialog.h" #include "ui_optionsdialog.h" #include "bitcoinunits.h" #include "monitoreddatamapper.h" #include ...
Java
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" #endif #include "i...
Java
<?php namespace esperanto\UserBundle\Entity; use Doctrine\ORM\Mapping as ORM; use FOS\UserBundle\Model\Group as BaseGroup; /** * Group */ class Group extends BaseGroup { /** * @var integer */ protected $id; /** * @var \Doctrine\Common\Collections\Collection */ private $users; ...
Java
@extends('admin.layouts.modal') {{-- Content --}} @section('content') <!-- Tabs --> <ul class="nav nav-tabs"> <li class="active"><a href="#tab-general" data-toggle="tab">General</a></li> </ul> <!-- ./ tabs --> {{-- Delete User Form --}} <form class="form-horizontal" method=...
Java
package org.multibit.hd.core.events; /** * <p>Signature interface to provide the following to Core Event API:</p> * <ul> * <li>Identification of core events</li> * </ul> * <p>A core event should be named using a noun as the first part of the name (e.g. ExchangeRateChangedEvent)</p> * <p>A core event can occur at...
Java
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; namespace Azure.Media.Analytics.Edge.Models { /// <summary> Http header service credentials. </summary> public partial class MediaGraphHttpHeaderCredentials : ...
Java
var fs = require('fs'); var PNG = require('../lib/png').PNG; var test = require('tape'); var noLargeOption = process.argv.indexOf("nolarge") >= 0; fs.readdir(__dirname + '/in/', function (err, files) { if (err) throw err; files = files.filter(function (file) { return (!noLargeOption || !file.match(/large/i))...
Java
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>make_vector</title> <link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../../../index.html" title...
Java
/*************************************************************************************** Extended WPF Toolkit Copyright (C) 2007-2014 Xceed Software Inc. This program is provided to you under the terms of the Microsoft Public License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license ...
Java
var assert = require('assert'); var Q = require('q'); var R = require('..'); describe('pipeP', function() { function a(x) {return x + 'A';} function b(x) {return x + 'B';} it('handles promises', function() { var plusOne = function(a) {return a + 1;}; var multAsync = function(a, b) {return Q.when(a * ...
Java
<?php namespace Illuminate\Tests\Support; use DateTime; use DateTimeInterface; use BadMethodCallException; use Carbon\CarbonImmutable; use Illuminate\Support\Carbon; use PHPUnit\Framework\TestCase; use Carbon\Carbon as BaseCarbon; class SupportCarbonTest extends TestCase { /** * @var \Illuminate\Support\Car...
Java
local yui_path = (...):match('(.-)[^%.]+$') local Object = require(yui_path .. 'UI.classic.classic') local FlatDropdown = Object:extend('FlatDropdown') function FlatDropdown:new(yui, settings) self.yui = yui self.x, self.y = 0, 0 self.name = settings.name self.size = settings.size or 20 self.option...
Java
// // MTFontMathTable.h // iosMath // // Created by Kostub Deshmukh on 8/28/13. // Copyright (C) 2013 MathChat // // This software may be modified and distributed under the terms of the // MIT license. See the LICENSE file for details. // @import Foundation; @import CoreText; @class MTFont; /** MTGlyphPart ...
Java
from __future__ import print_function from .patchpipette import PatchPipette
Java
# Acknowledgements This application makes use of the following third party libraries: ## TFBubbleItUp Copyright (c) 2015 Ales Kocur <ales@thefuntasty.com> 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 ...
Java
// // LOTPlatformCompat.h // Lottie // // Created by Oleksii Pavlovskyi on 2/2/17. // Copyright (c) 2017 Airbnb. All rights reserved. // #ifndef LOTPlatformCompat_h #define LOTPlatformCompat_h #import "TargetConditionals.h" #if TARGET_OS_IPHONE || TARGET_OS_SIMULATOR #import <UIKit/UIKit.h> #else #import <App...
Java
<?php /** * Subclass for representing a row from the 'sf_simple_forum_category' table. * * * * @package plugins.sfSimpleForumPlugin.lib.model */ class sfSimpleForumCategory extends PluginsfSimpleForumCategory { }
Java
var _ = require('underscore'); /* A rule should contain explain and rule methods */ // TODO explain explain // TODO explain missing // TODO explain assert function assert (options, password) { return !!password && options.minLength <= password.length; } function explain(options) { if (options.minLength === 1) { ...
Java
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>placeholders::signal_number</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="../../boost_asio.html"...
Java
// // RZTCustomErrorViewController.h // RaisinToast // // Created by Adam Howitt on 1/7/15. // Copyright (c) 2015 adamhrz. All rights reserved. // #import "RZErrorMessagingViewController.h" @interface RZTCustomErrorViewController : UIViewController <RZMessagingViewController> @end
Java
<?php /** * @package CleverStyle CMS * @author Nazar Mokrynskyi <nazar@mokrynskyi.com> * @copyright Copyright (c) 2011-2014, Nazar Mokrynskyi * @license MIT License, see license.txt */ namespace cs; use ArrayAccess, SimpleXMLElement; /** * False_class is used for chained calling, when some method may retu...
Java
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
Java
$hidden=true This is a sticky notice that should appear on the homepage!
Java
/* * Farseer Physics Engine: * Copyright (c) 2012 Ian Qvist * * Original source Box2D: * Copyright (c) 2006-2011 Erin Catto http://www.box2d.org * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of t...
Java