code
stringlengths
4
1.01M
language
stringclasses
2 values
#------------------------------------------------------------------------------ # Copyright (c) 2013 The University of Manchester, UK. # # BSD Licenced. See LICENCE.rdoc for details. # # Taverna Player was developed in the BioVeL project, funded by the European # Commission 7th Framework Programme (FP7), through grant ...
Java
package com.pablodomingos.classes.rps.servicos; import java.io.IOException; import org.apache.commons.io.IOUtils; import org.junit.Assert; import org.junit.Test; import com.pablodomingos.classes.FabricaDeObjetosFake; public class LoteRpsConsultaTest { @Test public void xmlDeveSerGeradoCorretamen...
Java
var common = require('../common'); var connection = common.createConnection({port: common.fakeServerPort}); var assert = require('assert'); var server = common.createFakeServer(); var connectErr; server.listen(common.fakeServerPort, function(err) { if (err) throw err; connection.connect(function(err) { ...
Java
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET NAMES utf8mb4 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; -- Export de la structure de la base pour chacal CREATE DATABA...
Java
/*! * @license MIT * Copyright (c) 2017 Bernhard Grünewaldt - codeclou.io * https://github.com/cloukit/legal */ import { Component, Input } from '@angular/core'; import * as _ from 'lodash'; @Component({ selector: 'app-component-info-header', template: ` <div class="info-header"> <div class="info-header-...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>elpi: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" r...
Java
using System; using System.Collections.Generic; using System.Linq; using System.Security.AccessControl; using System.Text; using System.Threading.Tasks; namespace DynamicSerializer.Test { public class IX { public int IP { get; set; } } [Serializable] public class A { public A() { ...
Java
#ifndef _HC_EXCEPTION_HPP_ #define _HC_EXCEPTION_HPP_ ////////////// // Includes // #include <exception> #include <string> ////////// // Code // // To distinguish between different HCExceptions. enum HCType { // When the game cannot open the SDL window. HC_WINDOW_EXCEPTION, // When the game cannot load ...
Java
<?php namespace Proxies\__CG__\Cabinet\PatientBundle\Entity; /** * THIS CLASS WAS GENERATED BY THE DOCTRINE ORM. DO NOT EDIT THIS FILE. */ class Patient extends \Cabinet\PatientBundle\Entity\Patient implements \Doctrine\ORM\Proxy\Proxy { private $_entityPersister; private $_identifier; public $__isIniti...
Java
//package sgl.scene //package ui // ///** SceneElement that is part of a layout // * // * This is the root class providing logic for // * how to render widgets in a hierarchical user // * interface. // */ //abstract class Widget(_x: Float, _y: Float) extends SceneElement(_x, _y) { // // def minWidth: Float // de...
Java
ul { list-style-type: none; margin: 0; padding: 0; overflow: hidden; background-color: #333; box-shadow: 0 6px 25px 0 rgba(0,0,0,.25); } li { float: left; } li a { display: block; color: white; text-align: center; padding: 14px 16px; text-decoration: none; cursor:po...
Java
export default { // 购物车的商品数量 cartCommodityCount: state => { const totalCount = state.cartList.reduce((total, commodity) => { return total + Number(commodity.count) }, 0) return totalCount }, removeCommodityCount: state => { const totalCount = state.removeCartList.reduce((total, commodity) ...
Java
<template name="odd-one-out"> <!-- Template for odd-one-out exercise --> <section class="mainSection"> <form> <input name=exercisesID type="hidden" value={{_id}}> <input name=type type="hidden" value={{type}}> {{#each options}} <div class="checkbo...
Java
require "uri" require "net/http" module JingdongFu module Rest class << self def get(url, hashed_vars) res = request(url, 'GET', hashed_vars) process_result(res, url) end def post(url, hashed_vars) res = request(url, 'POST', hashed_vars) process_res...
Java
package source import ( log "github.com/Sirupsen/logrus" "github.com/howardplus/lirest/describe" "github.com/howardplus/lirest/util" "os" "strconv" "strings" "time" ) // Extractor returns a generic data based // on the converter. // An object that implements the Extractor interface needs // to know where to ge...
Java
using System.Collections.Generic; using System.Linq; using System.Management.Automation; using Cognifide.PowerShell.Core.Extensions; using Sitecore.Data.Items; using Sitecore.Layouts; namespace Cognifide.PowerShell.Commandlets.Presentation { [Cmdlet(VerbsCommon.Get, "Rendering")] [OutputType(typeof (Rendering...
Java
/** * Copyright 2017, 2018, 2019, 2020 Stephen Powis https://github.com/Crim/pardot-java-client * * 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 limi...
Java
<?php namespace App\Controller; use Core\http; use Core\view; use Core\db; class main { protected $http; protected $view; protected $db; public function __construct() { $this->http = new http(); $this->view = new view(); $this->db = new db(); } }
Java
<?php /** * The MIT License * * Copyright (c) 2016, Coding Matters, Inc. (Gab Amba <gamba@gabbydgab.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 Software without restriction, includ...
Java
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double NSObject_SerializeVersionNumber; FOUNDATION_EXPORT const unsigned char NSObject_SerializeVersionString[];
Java
//this controller simply tells the dialogs service to open a mediaPicker window //with a specified callback, this callback will receive an object with a selection on it angular.module('umbraco') .controller("Umbraco.PropertyEditors.ImageCropperController", function ($rootScope, $routeParams, $scope, $log, media...
Java
+++ author = "飞狐" categories = ["Java编程","翻译"] tags = ["Java","Java Concurrency"] date = "2017-08-05T00:10:11+08:00" description = "Blog of Rosen Lu" keywords = ["java concurrency"] title = "4. [译]并发的模型" +++ 本文翻译自**[Java Concurrency / Concurrency Models](http://tutorials.jenkov.com/java-concurrency/concurrency-models...
Java
package data_struct.in_class.d10_02; /** * A class to test basic 'Object' methods * * @author Eddie Gurnee * @version 10/02/13 * @see TestingSam * */ public class Sam { public int mikesplan = 8; /** * No argument constructor for the Sam class * */ public Sam() { } /** * Indicates if some other...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>URI.js - URI-Template</title> <meta name="description" content="URI.js is a Javascript library for working with URLs." /> <script src="jquery-3.6.0.min.js" t...
Java
--[[ DVScrollBar Usage: Place this control in your panel. You will ideally have another panel or control which is bigger than the original panel. This is the Canvas. scrollbar:SetUp( _barsize_, _canvassize_ ) should be called whenever the size of your 'canvas' changes. scrollbar:GetOffset() can be called ...
Java
__author__ = 'brianoneill' from log_calls import log_calls global_settings = dict( log_call_numbers=True, log_exit=False, log_retval=True, ) log_calls.set_defaults(global_settings, args_sep=' $ ')
Java
angular.module('phonebook') .config(['$urlRouterProvider','$stateProvider',function($urlRouterProvider,$stateProvider){ $stateProvider // Greeting State .state('user.main',{ url : '/', templateUrl : 'user/view/welcome.html', controller : 'welcomeCtrl' }) // Phonebook Display State ...
Java
<!DOCTYPE html> <html ng-app="myapp"> <head> <title>TODO supply a title</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="<?php echo base_url() ?>css/bootstrap.min.css"> <style> </styl...
Java
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PineTree.Language.Syntax { public abstract class ExpressionTerminal : Expression { } }
Java
<script> var detail = $("#cb_post_title_url"); if (detail.text() !== ""){$("div#sideBar").hide();var mainArticleArea = $("div#mainContent");mainArticleArea.width("100%");mainArticleArea.css("margin-left","0"); $("div.forFlow #comment_form").css("margin-left","40px"); $("div.post h1.postTitle").after("<div id='mycpright...
Java
<!doctype html> <html class="default no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>KeyExportOptions | picturepark-sdk-v1-pickers API</title> <meta name="description" content="Documentation for picturepark-sdk-v1-pickers API"> <meta name="viewport" content="width...
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
#include "Common.h" #include "Script.h" #include <atlimage.h> #include <hidsdi.h> #include <SetupAPI.h> #define HID_SFIP 'SFIP' #define HID_X52P 'X52P' #define HID_UNKN 'UNKN' // CHECKME : Do we still need all this code since we now have a GetSerialNumber() in the DO API? DeviceManager *DevMan = DeviceManager::G...
Java
game.TitleScreen = me.ScreenObject.extend({ init: function(){ this.font = null; }, onResetEvent: function() { me.audio.stop("theme"); game.data.newHiScore = false; me.game.world.addChild(new BackgroundLayer('bg', 1)); me.input.bindKey(me.input.KEY.ENTER, "enter", true); me.input.bind...
Java
# Extensions A collection of useful, generic extensions.
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>First Steps Into PHP</title> </head> <body> <form> X: <input type="text" name="num1" /> Y: <input type="text" name="num2" /> Z: <input type="text" name="num3" /> <input type="submit" /> </form> <?php if (!...
Java
'use strict'; var _ = require('underscore'), Util = require('../../shared/util'), Base = require('./base'), Action = require('../../action'), Types = require('./types'); var _parent = Base.prototype; var RandomWalk = Util.extend(Base, { properties: ['walkPropability'], ...
Java
<?php /* SRVDVServerBundle:ChangePassword:changePassword.html.twig */ class __TwigTemplate_e5da0f0553fed635f2774271a2ef3982b389e99e651b1a8527dd0c0b6ca90bd7 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $t...
Java
// // Created by root on 07.05.17. // #ifndef BASICMODEL_BASEMANAGER_H #define BASICMODEL_BASEMANAGER_H #include <mysql++.h> #include <vector> #include "dbConfig.h" namespace model { namespace manager { template<class ModelName> class baseManager { public: baseManager() { ...
Java
<?php declare(strict_types=1); /* * This file is part of eelly package. * * (c) eelly.com * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Eelly\SDK\Order\Api; use Eelly\SDK\Order\Service\OfflineInterface; /** * @aut...
Java
#!/bin/sh set -e echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" install_framework() { if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then local source="${BUILT_PRO...
Java
--- title: Consuming a Moodle webservice categories: - Moodle - dev - webservices tags: --- This post describes how to consume a Moodle core webservice. ##Set up Moodle ### Enable REST protocol In `Dashboard / ► Site administration / ► Plugins / ► Web services / ► Manage protocols` - enable RES...
Java
<!DOCTYPE html> <html lang="en"> <head> <title>Rice Diseases</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="static/bootstrap.min.css"> <script src="static/jquery.min.js"></script> <script src="static/bootstrap.min.js"></script...
Java
import_module('Athena.Math'); m1 = new Athena.Math.Matrix3(1, 2, 3, 4, 5, 6, 7, 8, 9); for (var row = 0; row < 3; ++row) { for (var col = 0; col < 3; ++col) CHECK_CLOSE(row * 3 + col + 1, m1.get(row, col)); }
Java
version https://git-lfs.github.com/spec/v1 oid sha256:27606576bf3cd46c15755bdec387cc97145a4a0c0a5b3933c11d30ab8c6c5ec7 size 1825
Java
<?php /** * The default template for displaying content * * Used for both single and index/archive/search. * * @package FoundationPress * @since FoundationPress 1.0.0 */ ?> <div id="post-<?php the_ID(); ?>" <?php post_class('blogpost-entry'); ?>> <header> <h2><a href="<?php the_permalink(); ?>"><?php the_ti...
Java
# Users With the **Enterprise Edition** there are two categories of users which have different roles and permissions. ## General Users General users of the **Enterprise Edition** have the same permissions and features at hand as compared to users of the **Community Edition**. The only difference is, that new users n...
Java
class EnsureNoLimitOnUserDataField < ActiveRecord::Migration def up change_column :users, :user_data, :text, :limit => nil end def down end end
Java
<?php /* * Gallery - a web based photo album viewer and editor * Copyright (C) 2000-2004 Bharat Mediratta * * 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...
Java
module MuhrTable VERSION = "1.0.22" end
Java
import Objective from '../objective'; export default class KillShipsObjective extends Objective { constructor (game, ships) { super(game); if (!Array.isArray(ships)) { ships = [ships]; } this.bots = _.filter(ships, ship => { return ship.alive; }); ...
Java
body { background-color:#948664; font-size:16px; font-family:Georgia, "Times New Roman", Times, serif; color:#F4ECD3; text-shadow:-1px -1px 5px #000; padding:0; margin:0; } a { color:#fbfcef; } a:visited { color:#eed69b; } a:hover { color:#d7bc7b; } a:active { color:#eed69b; } h1 { font-size:11px; text-tra...
Java
module Storegine class Category include Mongoid::Document field :title, type: String has_many :products end end
Java
export * from './privacy.component';
Java
<!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title></title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="appl...
Java
// Calendar SK language // Author: Peter Valach (pvalach@gmx.net) // Encoding: utf-8 // Last update: 2003/10/29 // full day names Calendar._DN = new Array ("NedeÄľa", "Pondelok", "Utorok", "Streda", "Ĺ tvrtok", "Piatok", "Sobota", "NedeÄľa"); // short day names Calendar._SDN = new Array ("Ned", "Pon", "Uto",...
Java
@charset "utf-8"; body { color: #7d7d7d; /*background: #f5f4f2;*/ font-size: .875rem; line-height: 24px; background: #eeede8; } h1, h2, h3, h4, h5, h6, ul, li, ol, p { margin: 0; padding: 0; } a { color: #7d7d7d; text-decoration: none; cursor: pointer; } a:hover { color: #54a...
Java
.highlight { padding: 1px 3px; font-weight: bold; background-color: #fff34d; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); box-shadow: 0 2px 4px rgba(0, 0, 0, ...
Java
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("03...
Java
module Jdt class GeneratorCLI < Thor desc "library NAME", "generate library with NAME" def library(name) LibraryGenerator.new.generate(name) end end end
Java
/* * Hibernate, Relational Persistence for Idiomatic Java * * Copyright (c) 2011, Red Hat Inc. or third-party contributors as * indicated by the @author tags or express copyright attribution * statements applied by the authors. All third-party contributions are * distributed under license by Red Hat Inc. * * T...
Java
System.config({ baseURL: ".", defaultJSExtensions: true, transpiler: "babel", babelOptions: { "optional": [ "runtime", "optimisation.modules.system" ] }, paths: { "github:*": "jspm_packages/github/*", "npm:*": "jspm_packages/npm/*" }, bundles: { "build.js": [ "lib/m...
Java
// languages index var localeIndex = { "en" : 0, "ja" : 1, "es" : 2, "hu" : 3, "lt" : 4, "ru" : 5, "it" : 6, "pt" : 7, "sp_ch" : 8, "fr" : 9, "ge" : 10, "ua" : 11, "lv" : 12, "no" : 13, "pt_br" : 14 };
Java
<?php /** * This file is part of gh-dashboard. * * (c) Daniel Londero <daniel.londero@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ function includeIfExists($file) { return file_exists($file) ? include $file : fa...
Java
<html><body> <h4>Windows 10 x64 (18363.836)</h4><br> <h2>_LUID</h2> <font face="arial"> +0x000 LowPart : Uint4B<br> +0x004 HighPart : Int4B<br> </font></body></html>
Java
/******************************************************************************* * Filename: irc_comm.h * * These are functions and definitions that can be used for both the client * and the server programs. * * Written by: James Ross *****************************************************************************...
Java
import React, { PropTypes, Component } from 'react'; import { Breadcrumb, Table, Button, Col } from 'react-bootstrap'; import cx from 'classnames'; import _ from 'lodash'; import withStyles from 'isomorphic-style-loader/lib/withStyles'; import s from './ProductList.css'; import Link from '../Link'; class ProductList ...
Java
# Scala Documentation * [Command Line Input](command-line-input/command-line-input.md) * [String](string/string.md) * [Array](array/array.md) * [List](list/list.md) * [Vector](vector/vector.md) * [Iterator](iterator/iterator.md) * [HashMap](hashmap/hashmap.md) * [Math](math/math.md)
Java
define(['exports'], function (exports) { 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var globalExtraOptions = exports.globalExtraOptions = { mappingDataStructure: { class: 'class', content: 'content', disabled: 'disabled', divider: 'divider', ...
Java
//================================================================================================= /*! // \file blaze/math/views/subvector/SubvectorData.h // \brief Header file for the implementation of the SubvectorData class template // // Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved // // This ...
Java
# frozen_string_literal: true require 'sunrise/config/base' require 'sunrise/config/has_fields' module Sunrise module Config class Form < Base include Sunrise::Config::HasFields include Sunrise::Config::HasGroups # List of permissible attributes register_instance_option :permited_attrib...
Java
""" Given a string that contains only digits 0-9 and a target value, return all possibilities to add binary operators (not unary) +, -, or * between the digits so they evaluate to the target value. Examples: "123", 6 -> ["1+2+3", "1*2*3"] "232", 8 -> ["2*3+2", "2+3*2"] "105", 5 -> ["1*0+5","10-5"] "00", 0 -> ["0+0", "...
Java
package softuni.io; import org.springframework.stereotype.Component; import java.io.*; @Component public class FileParser { public String readFile(String path) throws IOException { StringBuilder stringBuilder = new StringBuilder(); try (InputStream is = this.getClass().getResourceAsStream(path);...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>bignums: 2 m 35 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel=...
Java
<# .SYNOPSIS Automated unit test for MSFT_SqlServerSecureConnection DSC resource. .NOTES To run this script locally, please make sure to first run the bootstrap script. Read more at https://github.com/PowerShell/SqlServerDsc/blob/dev/CONTRIBUTING.md#bootstrap-script-assert-teste...
Java
{ test.ok( thrown instanceof axios.Cancel, "Promise must be rejected with a Cancel obejct" ); test.equal(thrown.message, "Operation has been canceled."); test.done(); }
Java
using System; namespace EasyNetQ { public class EasyNetQException : Exception { public EasyNetQException() {} public EasyNetQException(string message) : base(message) {} public EasyNetQException(string format, params string[] args) : base(string.Format(format, args)) {} public ...
Java
# frozen_string_literal: true module ReviewBot class Notification def initialize(pull_request:, suggested_reviewers:) @pull_request = pull_request @suggested_reviewers = suggested_reviewers end attr_reader :pull_request, :suggested_reviewers def message [ %(• ##{pull_reques...
Java
function closeObject(id) { document.getElementById(id).style.display = 'none'; } function openObject(id) { document.getElementById(id).style.display = 'block'; } function openClose(id){ if (document.getElementById(id).style.display == 'block'){ console.log('intenta cerrar'); closeOb...
Java
<!DOCTYPE html> <html lang='en' dir='auto'><head> <meta charset='utf-8'> <meta name='viewport' content='width=device-width, initial-scale=1'> <meta name='description' content='The last weekend my colleagues and I had a nice time moving an existing application from a bare-metal infrastructure to AWS. I would like to s...
Java
import {Component, OnInit, ElementRef,} from '@angular/core'; import {FileSelect} from './file.select'; import {NgIf} from '@angular/common'; import {NgForm} from '@angular/common'; import {CostImport, CostImportService} from '../../../services/cost-import-service'; import {FourcastService} from '../../../services/f...
Java
#include <iostream> #include <string> #include<iomanip> using namespace std; int main() { string a; double h,m,x; while(cin>>a) { if(a=="0:00")break; if(a[1]==':') { h=a[0]-'0'; m=(a[2]-'0')*10+(a[3]-'0'); ...
Java
<?php namespace HealthCareAbroad\LogBundle\Repository; use Doctrine\ORM\EntityRepository; /** * ErrorLogRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class ErrorLogRepository extends EntityRepository { }
Java
# SilkSlider [![Build Status](https://secure.travis-ci.org/wwood/bioruby-SilkSlider.png)](http://travis-ci.org/wwood/bioruby-SilkSlider) A bioinformatic program for predicting whether proteins are 'silk-like' or not. This program was developed by Carmel McDougall and Ben Woodcroft at the [Degnan Laboratory](http://w...
Java
<?php /* * This file is part of the MopaBootstrapBundle. * * (c) Philipp A. Mohrenweiser <phiamo@googlemail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Mopa\Bundle\BootstrapBundle\Menu\Factory; use Knp\Menu\Fa...
Java
<?php require_once "class_db.php"; class qly_pages extends db{ public function LayTieuDeKD($idPa){ $sql="SELECT TieuDeKD FROM mk_pages WHERE idPa = '$idPa'"; $kq = mysql_query($sql,$this->conn); $row_trang = mysql_fetch_assoc($kq); return $row_trang['TieuDeKD']; } public function LayTieuDe($idPa){...
Java
--- layout: page title: Rain Tech Award Ceremony date: 2016-05-24 author: Harold Yang tags: weekly links, java status: published summary: Quisque sit amet posuere eros. Ut malesuada pharetra. banner: images/banner/leisure-03.jpg booking: startDate: 09/17/2017 endDate: 09/18/2017 ctyhocn: MBGINHX groupCode: RTAC...
Java
/* eslint-env node*/ var gutil = require('gulp-util') var paths = { layouts: { componentsDir: './app/components/**/*.jade', src: './app/views/**/*.jade', dest: './app/public/assets/html/' }, styles: { componentsDir: './app/lib/stylesheets/**/*.styl', src: './app/lib/stylesheets...
Java
//*************************************************************************** // Copyright (C) 2009 Realmac Software Ltd // // These coded instructions, statements, and computer programs contain // unpublished proprietary information of Realmac Software Ltd // and are protected by copyright law. They may not be disclo...
Java
/* Copyright (c) 2012 Jess VanDerwalker <washu@sonic.net> * All rights reserved. * * data.h * * 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 ...
Java
# Lecture 1: Mathematical background This lecture aims at introducing the mathematical concepts we will be using throughout the course (linear algebra, calculus, statistics, numerical optimization). Note that this does not serve as a mathematics course in itself. The students interested in a more formal and academic...
Java
from django.contrib import admin from .models import Question # Register your models here. admin.site.register(Question)
Java
<!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" lang="es"> <!--<![endif]--> <head> <meta char...
Java
/** * * app.js * * This is the entry file for the application * */ import FilmLocationSearchComponent from '../MovieSearchApp/Containers/FilmSearchContainer/FilmSearchComponent'; import AppComponent from '../CommonComponent/app.js'; import React from 'react'; import { Router, Route, IndexRoute, browserHistory } fr...
Java
/* Accordion directive */ app.directive('vmfAccordionContainer', ['$compile', function($compile) { return { restrict: 'EA', scope: { type: '@', headers: '=', accData: '=', selAcc: '=', customClass:'=' }, link: function(scop...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package de.comci.bigbib; import com.mongodb.BasicDBObject; import com.mongodb.DBObject; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import javax.xml.bind.annotation.XmlAccessType; import ...
Java
module Admin::BaseHelper include ActionView::Helpers::DateHelper def subtabs_for(current_module) output = [] AccessControl.project_module(current_user.profile.label, current_module).submenus.each_with_index do |m,i| current = (m.url[:controller] == params[:controller] && m.url[:action] == params[:ac...
Java
<?php namespace Editionista\WebsiteBundle\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configura...
Java
package io.questions.model.questionnaire import io.questions.model.questionnaire.Element.{ Parent, Primitive } trait ElementValues { implicit class ElementValuesSyntax(e: Element) { def parent: Element.Parent = e match { case p: Parent => p case x => throw new IllegalArgumentException(s"Expe...
Java
using System; using System.Reflection; namespace Light.DataCore { abstract class DynamicFieldMapping : FieldMapping { public static DynamicFieldMapping CreateDynmaicFieldMapping (PropertyInfo property, DynamicCustomMapping mapping) { DynamicFieldMapping fieldMapping; Type type = property.PropertyType; ...
Java