code
stringlengths
4
1.01M
language
stringclasses
2 values
/* * Template Name: devAid - Responsive Website Template for developers * Version: 1.1 * Author: Xiaoying Riley * Twitter: @3rdwave_themes * License: Creative Commons Attribution 3.0 License * Website: http://themes.3rdwavemedia.com/ */ /* style-4.css */ /* ======= Base ======= */ body { font-family: 'Lato',...
Java
using UnityEngine; using System.Collections; public class Intro : MonoBehaviour { public GameObject martin; public GameObject mrsStrump; public GameObject strumpFire; public Sprite sadMartin, slinkton, police, candles, houses, strumps; public Camera cam; // Use this for initialization void Start () { strum...
Java
module Parsers module Edi class IncomingTransaction attr_reader :errors def self.from_etf(etf, i_cache) incoming_transaction = new(etf) subscriber_policy_loop = etf.subscriber_loop.policy_loops.first find_policy = FindPolicy.new(incoming_transaction) policy = find_po...
Java
<!doctype html> <html> <head> <meta charset="utf-8" /> <meta content="IE=edge;chrome=1" http-equiv="X-UA-Compatible" /> <title>dognews</title> <meta content="width=device-width, initial-scale=1" name="viewport" /> <link rel="alternate" type="application/atom+xml" title="Atom Feed" href="/feed.xml...
Java
geoserver ========= PostGI server and probably more for the Cologne Open Data community. The goal is to provide a unified, dynamic geodata access point for some important geographical datasets. At some point, there might be a tile server or some other visualization layer as well. We'll see. ## Contents ### `postgi...
Java
// // EBBannerView+Categories.h // demo // // Created by pikacode@qq.com on 2017/10/20. // Copyright © 2017年 pikacode@qq.com. All rights reserved. // #import "EBBannerView.h" #define WEAK_SELF(weakSelf) __weak __typeof(&*self)weakSelf = self; #define ScreenWidth [UIScreen mainScreen].bounds.size.width #define Sc...
Java
exports._buildExclamationKeyObject = function (tuples) { var valueMap = {}; tuples.forEach(function (tuple) { valueMap['!' + tuple.value0] = tuple.value1; }); return valueMap; }; var templatePattern = /\$\{([^}]+)\}/g; exports._getTemplateVars = function (str) { return (str.match(templatePattern) || []...
Java
#CodeQuiz _CodeQuiz is a game made with Kivy framework._ _He is a Quiz consists of four options, Ruby, Python, Javascript and C#._ _Where he will approach curiosities and specificities of each language._ ##Install and Run 1.Clone this repo ``` git clone git@github.com:GuiCarneiro/CodeQuiz.git ``` 2.Install Kivy o...
Java
/** * @overview * API handler action creator * Takes a key-value -pair representing the event to handle as key and its respective * handler function as the value. * * Event-to-URL mapping is done in {@link ApiEventPaths}. * * @since 0.2.0 * @version 0.3.0 */ import { Seq, Map } from 'immutable'; import { ...
Java
# Fire Keeper ## Introduction Fire Keeper is a bot designed for the *Praise the Place* Dark Souls Discord server. Please do not use this bot in your server without adapation of the code, or else things will not work correctly.
Java
--- title: Prepare paperwork contexts: office365,microsoft365 source: Microsoft public sites translation: en tools: --- To kick off the employee onboarding checklist, you need to__ prepare the relevant paperwork and information__prior to the employee's first day\. Start by __recording__ the employee's __basic informa...
Java
# Doxx [![Build Status](https://travis-ci.org/FGRibreau/doxx.png)](https://travis-ci.org/FGRibreau/doxx) [![Gittip](http://badgr.co/gittip/fgribreau.png)](https://www.gittip.com/fgribreau/) [![Deps](https://david-dm.org/FGRibreau/doxx.png)](https://david-dm.org/FGRibreau/doxx) Use [dox](https://github.com/visionmedia/...
Java
<div class="title"> <img class="icon" src="./res/img/interface.svg" /> <p class="interface">IStudentInfo.IYear</p> </div> <p> Describes school year. Contains year id and register id which are needed in order to use the the API. </p> <br /> <p class="section-title">Fields</p> <p>name: <span class="class">s...
Java
// xParentN 2, Copyright 2005-2007 Olivier Spinelli // Part of X, a Cross-Browser Javascript Library, Distributed under the terms of the GNU LGPL function xParentN(e, n) { while (e && n--) e = e.parentNode; return e; }
Java
<?php /** * @file include/zot.php * @brief Hubzilla implementation of zot protocol. * * https://github.com/friendica/red/wiki/zot * https://github.com/friendica/red/wiki/Zot---A-High-Level-Overview * */ require_once('include/crypto.php'); require_once('include/items.php'); require_once('include/hubloc.php'); re...
Java
/** * */ package org.edtoktay.dynamic.compiler; /** * @author deniz.toktay * */ public interface ExampleInterface { void addObject(String arg1, String arg2); Object getObject(String arg1); }
Java
import React, { Component } from 'react'; import { StyleSheet, Text, View, Navigator, ScrollView, ListView, } from 'react-native' import NavigationBar from 'react-native-navbar'; var REQUEST_URL = 'https://calm-garden-29993.herokuapp.com/index/groupsinfo/?'; class GroupDetails extends Component { con...
Java
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>W28677_text</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div style="margin-left: auto; margin-right: auto; width: 800px; overflow: hidden;"> ...
Java
class User < ActiveRecord::Base # Include default devise modules. Others available are: # :token_authenticatable, :encryptable, :confirmable, :lockable, :timeoutable and :omniauthable devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable # Setup accessi...
Java
process.stderr.write('Test');
Java
# README SportzBall is a community driven application used to bring people together for intramural sports. From football to quidditch we want you to SPORTZ! To set up repository on your local machine clone and set up database (instructions below) Rails 5.0.1 Ruby ~> 2.3.0 * Configuration * Database creation and ini...
Java
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "wellspring.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
Java
package org.squirrel; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.Timer; import org.squirrel.managers.PrisonerControllor; import org.squirrel.managers.input...
Java
/* jqModal base Styling courtesy of; Brice Burgess <bhb@iceburg.net> */ /* The Window's CSS z-index value is respected (takes priority). If none is supplied, the Window's z-index value will be set to 3000 by default (via jqModal.js). */ .jqmWrap { display: none; position: fixed; top: 20%; left: 50%...
Java
(function () { 'use strict'; angular .module('app') .service('UploadUserLogoService', UploadUserLogoService); function UploadUserLogoService($http, $log, TokenService, UserService, $rootScope) { this.uploadImage = uploadImage; //// /** * Upload Image ...
Java
<?php include 'vendor/autoload.php'; ini_set('error_reporting', E_ALL); ini_set('display_errors', '1'); ini_set('display_startup_errors', '1');
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>simple-io: 27 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="s...
Java
class Sprite(object): def __init__(self, xPos, yPos): self.x = xPos self.y = yPos self.th = 32 self.tw = 32 def checkCollision(self, otherSprite): if (self.x < otherSprite.x + otherSprite.tw and otherSprite.x < self.x + self.tw and self.y < otherSpri...
Java
<?php /** * This file is part of the Carrot framework. * * Copyright (c) 2011 Ricky Christie <seven.rchristie@gmail.com>. * * Licensed under the MIT License. * */ /** * Docs storage. * * Represents a documents storage and provides ways to access * the documents inside the storage. This class reads folder...
Java
<div class="panel panel-primary"> <div ng-show="error" class="alert alert-danger">{{ error }}</div> <div class="panel-heading"> <p class="panel-title">Neuer Gig</p> </div> <div class="panel-body"> <form name="addGig" class="form-horizontal" ng-submit="insertGig(gig)"> <fieldset> <div class="form-group"> ...
Java
class CreateTeams < ActiveRecord::Migration def self.up create_table :teams do |t| t.string :name t.string :abbreviation t.string :hometown t.timestamps end end def self.down drop_table :teams end end
Java
/***************************************************************************** * x264: h264 encoder ***************************************************************************** * Copyright (C) 2005 Tuukka Toivonen <tuukkat@ee.oulu.fi> * * This program is free software; you can redistribute it and/or modify * it ...
Java
angular.module('tips.tips').controller('TipsController', ['$scope', '$routeParams', '$location', 'Global', 'Tips', function ($scope, $routeParams, $location, Global, Tips) { $scope.global = Global; $scope.createTip = function () { var tips = new Tips({ text: this.text, likes: th...
Java
--- layout: post title: Log č. 5 - Áčkové předměty v 2.semestru --- ## Průchod 1. semestrem Těšíte se na 1. semestr? Vážně?! A víte, na co se musíte připravit? <img src="/images/radost.gif" alt="CO"> <h2>VIKBA06 Informační věda 2</h2> <p><i>Oficiální popis:</i>Přímo navazuje na předmět VIKBA01 Informační věda 1. O...
Java
# Get Single Promotion This gets an XML document with the specific promotion by the ID. ## Single Promotion Options [MadMimi's Promotion Documentation](https://madmimi.com/developer/api/promotions) should give you an idea of what you need to send to the API. This options object makes some of the methods easier. ...
Java
# Laravel Favorite (Laravel 5, 6, 7, 8 Package) [![Latest Version on Packagist][ico-version]][link-packagist] [![Packagist Downloads][ico-downloads]][link-packagist] [![Software License][ico-license]](LICENSE.md) [![Build Status][ico-travis]][link-travis] **Allows Laravel Eloquent models to implement a 'favorite' or ...
Java
package com.xeiam.xchange.cryptotrade.dto; import java.io.IOException; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.ObjectCodec; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.data...
Java
module Mailplug class Plugin::Example < Mailplug::Middleware # Message Envelope Methods def return_path end def recipients end def message # returns Mail::Message end # Hash of state and inter-stack data memo[classname][key]=value def memo end # SMTP State Changes ...
Java
import apiConfig from './MovieDBConfig'; import TmdbApi from 'moviedb-api'; var api = new TmdbApi({ consume: false, apiKey: apiConfig.apiKey }); const makeAndList = (list) => { return list.map(item => item.value).join(); }; export const getGenres = (input='', callback) => { api.request('/genre/movie/list', ...
Java
const excludedTables = ["blacklist", "musicCache", "timedEvents"]; const statPoster = require("../../modules/statPoster.js"); module.exports = async guild => { let tables = await r.tableList().run(); for(let table of tables) { let indexes = await r.table(table).indexList().run(); if(~indexes.indexOf("guildID")) r...
Java
using System.Collections.Generic; using System.IO; using System.Reflection; using IDI.Core.Common.Extensions; namespace IDI.Core.Localization { public abstract class Package { public List<PackageItem> Items { get; private set; } = new List<PackageItem>(); public Package(string assemblyName, s...
Java
--- layout: page title: Twoer Summit Electronics Award Ceremony date: 2016-05-24 author: Hannah Shah tags: weekly links, java status: published summary: Morbi feugiat purus a risus. banner: images/banner/leisure-02.jpg booking: startDate: 10/11/2017 endDate: 10/13/2017 ctyhocn: PHXCNHX groupCode: TSEAC publishe...
Java
// // UIView+BluredSnapshot.h // CustomTransitionAndBlur // // Created by Gao Song on 11/1/15. // Copyright © 2015 Gao Song. All rights reserved. // #import <UIKit/UIKit.h> @interface UIView (BluredSnapshot) -(UIImage *)blurredSnapshot; @end
Java
-- collate4.test -- -- execsql { -- CREATE TABLE collate4t3(a COLLATE NOCASE, b COLLATE TEXT); -- INSERT INTO collate4t3 VALUES( 'a', 'a' ); -- INSERT INTO collate4t3 VALUES( 'b', 'b' ); -- INSERT INTO collate4t3 VALUES( NULL, NULL ); -- INSERT INTO collate4t3 VALUES( 'B', 'B' ); -- INSERT INTO...
Java
import { computed, get } from '@ember/object'; import { getOwner } from '@ember/application'; import { deprecate } from '@ember/debug'; export function ability(abilityName, resourceName) { deprecate( 'Using ability() computed property is deprecated. Use getters and Can service directly.', false, { ...
Java
# encoding: UTF-8 # This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. # # Note that this schema.rb definition is the authoritative sou...
Java
/* global requirejs, require */ /*jslint node: true */ 'use strict'; import Ember from 'ember'; import _keys from 'lodash/object/keys'; /* This function looks through all files that have been loaded by Ember CLI and finds the ones under /mirage/[factories, fixtures, scenarios, models]/, and exports a hash cont...
Java
/* tslint:disable:no-unused-variable */ import { TestBed, async } from '@angular/core/testing'; import { DpsBarChartComponent } from './dps-bar-chart.component'; describe('Component: DpsBarChart', () => { it('should create an instance', () => { let component = new DpsBarChartComponent(); expect(component).t...
Java
<?php /** * @author tshirtecommerce - www.tshirtecommerce.com * @date: 2015-01-10 * * @copyright Copyright (C) 2015 tshirtecommerce.com. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE * */ if ( ! defined('BASEPATH')) exit('No direct script access allowed'...
Java
# Botfather configs [BotFather](https://telegram.me/botfather) allows you to create Telegram bots, and instanciates authentication tokens. But it does more than that. To get the same settings as FiddleGram, follow this: * Go to Botfather, use `/start` and follow the instructions to create your bot. Put the auth token...
Java
<?php declare(strict_types=1); namespace AlphaVantageTest\Api; use AlphaVantage\Api\ForeignExchange; class ForeignExchangeTest extends TestCase { public function testCurrencyExchangeRate() { $actual = (new ForeignExchange($this->option))->currencyExchangeRate('BTC', 'CNY'); $this->assertIsAr...
Java
local u = require "lib/util" local Node = require "lib/espalier/node" local Section = require "Orbit/section" local own = require "Orbit/own" local D = setmetatable({}, { __index = Node }) D.id = "doc" D.__tostring = function (doc) local phrase = "" for _,v in ipairs(doc) do ...
Java
package com.github.aureliano.evtbridge.output.file; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import java.util.Set; import org.junit.Test; import com.github.aureliano.evtbridge.annota...
Java
// THIS CODE IS MACHINE-GENERATED, DO NOT EDIT! package fallk.jfunktion; /** * Represents a predicate (boolean-valued function) of a {@code float}-valued and a generic argument. * This is the primitive type specialization of * {@link java.util.function.BiPredicate} for {@code float}/{@code char}. * * @see java.u...
Java
#<%= taskname %> <%= description %> ##Usage
Java
console.log("VS: loading content_script.js..." + new Date()); // Check if the communication between page and background.js has broken. var last_message_time = new Date().getTime(); new Promise((resolve) => setTimeout(resolve, 1000000)).then(() => { var now = new Date().getTime(); if (now - last_message_time >...
Java
Flappy_Flyer ============ A Flappy Birds clone for iOS. Raw XCode project along with original artwork.
Java
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Books extends Model { protected $table = 'books'; protected $fillable = [ 'guid', 'author', 'title', 'description', 'abstract', 'edition', 'publish_date', 'status']; }
Java
--- author: ejames categories: - Essay comments: true date: 2011-04-16T00:00:00.000Z title: Motivations url: /2011/04/motivations/ aliases: - /2011/04/16/motivations/ --- Over the past couple months or so we've had a number of non-programmers contacting us, looking for hackers to hire for their startup/project/ide...
Java
namespace gView.Plugins.DbTools.Relates { partial class TableRelationsDialog { /// <summary> /// Erforderliche Designervariable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Verwendete Ressourcen bereinigen. ...
Java
<?php /* * This file is part of the Schemer package. * * Copyright © 2013 Erin Millard * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Eloquent\Schemer\Constraint; interface SchemaInterface extends ConstraintInterface ...
Java
collectd-network-bandwidth-usage ================================ Collectd exec plugin for monitoring the network bandwitdh usage. Installation ----------- Uncomment exec plugin in your collectd.conf: ```bash LoadPlugin exec ``` Configure plugin: ```bash <Plugin exec> Exec username "/path/to/exec-network-bandwidt...
Java
/* header bar */ .navbar { margin-bottom:0; } /* aside */ .content,aside { margin-top:20px; margin-bottom:30px; margin-left:0px; margin-right:0px; } .home { background: url(/images/home.jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-backgr...
Java
<!DOCTYPE html> <html lang="en"> <head> <title>Basic Demo</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no;"/> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar...
Java
package com.carbon108.tilde; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import java.util.Collection; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; /** * @author K Moroz * @version 1.0 */ public class P...
Java
var namespace_kluster_kite_1_1_large_objects_1_1_tests = [ [ "ParcelsTest", "class_kluster_kite_1_1_large_objects_1_1_tests_1_1_parcels_test.html", "class_kluster_kite_1_1_large_objects_1_1_tests_1_1_parcels_test" ] ];
Java
namespace QuanLySinhVien_GUI { partial class frmtimkiemdiemsinhvientheomasv { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. //...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>cantor: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" re...
Java
// Copyright (c) 2012 The Eurobit developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef CHECKQUEUE_H #define CHECKQUEUE_H #include <boost/thread/mutex.hpp> #include <boost/thread/locks.hpp> #include <boost/threa...
Java
## [Section 1.2 - Procedures and the Processes They Generate](https://mitpress.mit.edu/sicp/full-text/book/book-Z-H-11.html#%_sec_1.2) ## Exercises ```scheme ;; ====================================================== ;; Load definitions and functions from earlier chapters ;; ============================================...
Java
# beautiful-components A collection of webcomponents, inspired by the design work at http://tympanus.net/codrops/
Java
// // BallVC.h // KenshinPro // // Created by apple on 2019/1/31. // Copyright © 2019 Kenshin. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface BallVC : UIViewController @end NS_ASSUME_NONNULL_END
Java
## Your Names # 1) Michael Yao # 2) Benjamin Heidebrink # We spent [1.25] hours on this challenge. # Bakery Serving Size portion calculator. def serving_size_calc(item_to_make, num_of_ingredients) library = {"cookie" => 1, "cake" => 5, "pie" => 7} raise ArgumentError.new("#{item_to_make} is not a valid inpu...
Java
module PalmTasksHelper end
Java
import 'css.escape' import { createFootnote, FootnoteElements } from './footnote' import { bindScrollHandler } from './scroll' import { Adapter } from '../core' import { addClass, removeClass, unmount } from './element' export const CLASS_CONTENT = 'littlefoot__content' export const CLASS_WRAPPER = 'littlefoot__wrappe...
Java
require File.expand_path("spec_helper", File.dirname(File.dirname(__FILE__))) describe 'response.cache_control' do it 'sets the Cache-Control header' do app(:caching) do |r| response.cache_control :public=>true, :no_cache=>true, :max_age => 60 end header('Cache-Control').split(', ').sort.should == ...
Java
{% extends '__base__.html' %} {% block title %}创建账户{% endblock %} {% block beforehead %} <script> var action = '{{ action }}'; function initVM(account) { var vm = new Vue({ el: '#vm', data: account, methods: { submit: function (event) { this.$data.date = $...
Java
class RemoveOdTokenFromUsers < ActiveRecord::Migration def change remove_column :users, :od_token end end
Java
(function() { angular.module('starter.controllers').controller('DetailController', DetailController); DetailController.$inject = ['CarService', '$stateParams']; function DetailController (CarService, $stateParams) { var vm = this; CarService.getCar($stateParams.id).$promise.then(function(data) { ...
Java
# Deploying Development Office 365 Sites to Microsoft Azure # ### Summary ### When developing any type a web application, most development is done locally using http://localhost. Some projects use local resources or a mix of local and remote resources. Taking these projects from local development environments involve...
Java
# -*- coding: utf-8 -*- import unittest from hanspell import spell_checker from hanspell.constants import CheckResult from textwrap import dedent as trim class SpellCheckerTests(unittest.TestCase): def setUp(self): pass def test_basic_check(self): result = spell_checker.check(u'안녕 하세요. 저는 한국인...
Java
<?php declare(strict_types=1); /* * This file is part of Composer. * * (c) Nils Adermann <naderman@naderman.de> * Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Composer\Depende...
Java
package spider.cli import command._ import spider.Util.errorExit import com.typesafe.scalalogging.Logger object CLI { lazy val logger = Logger("spider.cli") def go(args: Array[String]): Unit = args.toSeq match { case e if args.isEmpty ⇒ Help(args) case "scrape" +: tail ⇒ Scrape(tail) case "wait" +:...
Java
/** * @author alteredq / http://alteredqualia.com/ */ THREE.DepthPassPlugin = function () { this.enabled = false; this.renderTarget = null; var _gl, _renderer, _lights, _webglObjects, _webglObjectsImmediate, _depthMaterial, _depthMaterialMorph, _depthMaterialSkin, _depthMaterialMorphSkin, _frustum = new TH...
Java
import path from 'path' let { context, file, mocha, options } = module.parent.context let { it } = context context.it = function (name, callback) { if (callback) { return it(...arguments); } else { callback = name name = path.basename(file, '.js') } }
Java
/** * @copyright Copyright (C) DocuSign, Inc. All rights reserved. * * This source code is intended only as a supplement to DocuSign SDK * and/or on-line documentation. * * This sample is designed to demonstrate DocuSign features and is not intended * for production use. Code and policy for a production applic...
Java
# # MIT License # # Copyright (c) 2016 Paul Taylor # # 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...
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 Mon Aug 31 23:15:52 CEST 2015 --> <title>Uses of Interface starkcoder.failfast.fails.objects.floats.IObjectFloatNullFail (FailFa...
Java
using System.Linq; using EspaceClient.FrontOffice.Business.Depots; using EspaceClient.FrontOffice.Domaine; namespace EspaceClient.FrontOffice.Data.Depots { public partial class DepotTypeRenduBloc : Depot<TypeRenduBloc>, IDepotTypeRenduBloc { public TypeRenduBloc GetByCode(string code, string codeTypeBl...
Java
# lnet update 2015-03-28 Now multi-httpserver supported! See 'httpserver.lua'. # lnet update 2015-03-25 Now cosocket supported! What is cosocket? 'cosocket' is a socket API wapper for http handlers in lnet httpserver. It provides tcp/udp block operations but actually non-block in lnet httpserver thread. Yes, the name...
Java
'use strict' const { EventEmitter } = require('events') const { Multiaddr } = require('multiaddr') /** * @typedef {import('libp2p-interfaces/src/transport/types').Listener} Listener */ /** * @param {import('../')} libp2p * @returns {Listener} a transport listener */ module.exports = (libp2p) => { const listen...
Java
using System.Collections.Generic; namespace BlobTransfer { public class TransferResult { public List<string> Succeeded { get; set; } = new List<string>(); public List<string> Skipped { get; set; } = new List<string>(); public List<string> Failed { get; set; } = new List<string>(); ...
Java
<H1>CARDS LIST</h1> <div ng-repeat="card in CardCtrl.cardlist" ng-bind="card.title"></div>
Java
using System.Reflection; 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("Twainsoft.FHDO.Compiler.App")] [assembly:...
Java
(function() { $(function() { $('.tooltip-examples a, .tooltip-paragraph-examples a').tooltip({ animation: false }); $('.top-sign-in').on("click", function(e) { $('.login-box').fadeIn("fast"); return false; }); $('.login-box-close').on("click", function(e) { $(this).closest...
Java
# # Testing rufus-sixjo # # jmettraux at gmail.org # # Fri Aug 8 15:14:45 JST 2008 # require 'test/unit' require 'testmixins' # # the "test" app # module HeadApp extend Rufus::Sixjo get '/toto' do "toto" end end class HeadTest < Test::Unit::TestCase include SixjoTestMixin def setup @app = HeadA...
Java
/* Generated by Font Squirrel (http://www.fontsquirrel.com) on April 1, 2011 08:28:28 AM America/New_York */ @font-face { font-family: 'UbuntuRegular'; src: url('Ubuntu-Regular-webfont.eot'); src: url('Ubuntu-Regular-webfont.eot?iefix') format('eot'), url('Ubuntu-Regular-webfont.woff') format('w...
Java
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script> <!-- [Dependencies[ --> <script src="transform.js"></script> <!-- ]] --> <style type="text/css"> body { backgro...
Java
using Owin; using SimpleInjector; using SimpleInjector.Extensions.ExecutionContextScoping; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Reporter.WebAPI.Infrastructure.Owin { public static class OwinContextExecutionScopeMiddleware { public static void U...
Java
# heppyplot A package for plotting histogrammed data with special support for high energy physics applications. ![Scale variation example](examples/scales/scales.png) ![PDF variation example](examples/pdf/H_pT_nojet_j30.png) ## Installation Currently we use a custom fork of the excellent [seaborn](http://stanford.ed...
Java