code
stringlengths
4
1.01M
language
stringclasses
2 values
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>monae: Black list 🏴‍☠️</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" r...
Java
<?php /** * Created by PhpStorm. * User: GuoHao * Date: 2016/1/10 * Time: 14:32 */ class BeauticianRestModel extends BaseModel { public function setTable() { $this->table = 'beautician_rest'; } public function rules() { $validate = new ValidateUtil(); ...
Java
package com.java.group34; import java.util.ArrayList; /** * Created by dell-pc on 2017/9/11. */ public class NewsPictures { private Value[] value; private static class Value { String contentUrl; } public ArrayList<String> getFirstNthPictures(int n) { ArrayList<String> ans=ne...
Java
<!DOCTYPE html> <!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" dir="ltr"> <!--<![endif]--> <!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open...
Java
# cpu A simple but interactive design of CPU I hand-wired with logic gates back in college. It was fun :) Sample programs included! # to view samples in interactive editor 1. Download and install Digital Works (Demo version is enough), i.e. from following url http://electronics-lab.com/downloads/schematic/002/index.ht...
Java
module.exports = { // Token you get from discord "token": "", // Prefix before your commands "prefix": "", // Port for webserver (Not working) "port": 8080, // Mongodb stuff "mongodb": { // Mongodb uri "uri": "" }, // Channel IDs "channelIDs": { // Where to announce the events in A...
Java
# Docker image list ## Build Base - k11e/build-base:alpine-3.4 - k11e/build-base:alpine-3.5 ## Apps - k11e/ffmpeg:3.1.2-alpine - k11e/strongswan:5.3 - k11e/megahit:v1.1.1 - k11e/metaphlan2:2.6.0
Java
Object.prototype.getKeyByValue = function( value ) { for( var prop in this ) { if( this.hasOwnProperty( prop ) ) { if( this[ prop ] === value ) return prop; } } }
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>square-matrices: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap...
Java
# grunt-phpmd-runner > A phpmd runner that works ## Getting Started This plugin requires Grunt `~0.4.5` If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-g...
Java
require('./ramda-mori')
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ruler-compass-geometry: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boots...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ptsf: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" r...
Java
### Indentation When writing any block of code that is logically subordinate to the line immediately before and after it, that block should be indented two spaces more than the surrounding lines * Do not put any tab characters anywhere in your code. You would do best to stop pressing the tab key entirely. * Increase ...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - Mozilla/5.0 (Linux; U; Android 2.3.6; zh-cn; SHV-E160L Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1</title> <link rel="stylesheet" href="https://cdnj...
Java
<?php use Squarely\Setup; use Squarely\Wrapper; ?> <?php get_template_part('templates/head'); ?> <body <?php body_class('main-body'); ?>> <!--[if IE]> <div class="alert alert-warning"> <?php _e('You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade y...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>founify: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css...
Java
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ach" version="2.0"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About CoinsBazar Core</source> <translation type="unfinished"/> </message> <message> <locati...
Java
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; namespace DND.AspNetCore.Web.Models.ManageViewModels { public class IndexViewModel { public bool HasPassword { get; set; } public IList<UserLoginInfo> Logins {...
Java
/** * Programmer: Minhas Kamal (BSSE0509,IIT,DU) * Date: 30-Mar-2014 **/ #include <iostream> #include <stdio.h> #include <stdlib.h> using namespace std; #define X 3 struct node{ int value; int depth; node *previous; node *next[X]; } nullNode; int main(){ ///input array ...
Java
<?php namespace PlaceFinder\APIBundle\DependencyInjection; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; /** * This is the class that validates and merges configuration from your app/config files * * To learn more see {@link http://sym...
Java
# tuxedoneko tuxedoneko is a minimal blog theme for [hugo](http://gohugo.io). The theme is based on [Hemingway2](https://github.com/beli3ver/hemingway2.git). ## Getting Started Clone this repository to your hugo theme directory. ``` mkdir themes cd themes git clone https://github.com/tuxedocat/tuxedoneko.git ``` #...
Java
/*istanbul ignore next*/'use strict'; var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable =...
Java
<?php $i++; ++$j; $k--; --$l; $a['a']++; $a['a']--;
Java
// shexmap-simple - Simple ShEx2 validator for HTML. // Copyright 2017 Eric Prud'hommeux // Release under MIT License. const ShEx = ShExWebApp; // @@ rename globally const ShExJsUrl = 'https://github.com/shexSpec/shex.js' const RdfJs = N3js; const ShExApi = ShEx.Api({ fetch: window.fetch.bind(window), rdfjs: RdfJs, ...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-analysis: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstr...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>msets-extra: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min...
Java
var Branch = function (origin, baseRadius, baseSegment, maxSegments, depth, tree) { this.gid = Math.round(Math.random() * maxSegments); this.topPoint = origin; this.radius = baseRadius; this.maxSegments = maxSegments; this.lenghtSubbranch = tree.genes.pSubBranch !== 0 ? Math.floor(maxSegments * tree.gene...
Java
/// <reference path="../../config/config.ts" /> /// <reference path="../interfaces/directives/IDirective.ts" /> declare var angular:any; //Directive responsible for manipulating left (top) menu icons area when available size change module Directives { 'use strict'; export class LeftMenuAutosize implements Di...
Java
.select2-container { box-sizing: border-box; display: inline-block; margin: 0; position: relative; vertical-align: middle; font-size: 13px; } .select2-container .select2-selection--single { box-sizing: border-box; cursor: pointer; display: block; height: 28px; user-select: no...
Java
package org.craft.client.render.blocks; import java.util.*; import java.util.Map.Entry; import com.google.common.collect.*; import org.craft.blocks.*; import org.craft.blocks.states.*; import org.craft.client.*; import org.craft.client.models.*; import org.craft.client.render.*; import org.craft.client.render.textur...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mini-compiler: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.m...
Java
// Copyright 2015 XLGAMES Inc. // // Distributed under the MIT License (See // accompanying file "LICENSE" or the website // http://www.opensource.org/licenses/mit-license.php) using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.ComponentModel.Composition.Hosting; usi...
Java
{% extends "base.html" %} {% block title -%}S'up &mdash; Log in{%- endblock %} {% block content %} <div class="container signup"> {% if errors or form.errors %} <span class="form-error"><strong>Errors:</strong></span> {% if errors %} {% for error in errors %} <span cla...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>geocoq: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>metacoq-template: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstra...
Java
<html><body> <h4>Windows 10 x64 (19041.388)</h4><br> <h2>_DBGKD_MANIPULATE_STATE32</h2> <font face="arial"> +0x000 ApiNumber : Uint4B<br> +0x004 ProcessorLevel : Uint2B<br> +0x006 Processor : Uint2B<br> +0x008 ReturnStatus : Int4B<br> +0x00c u : <a href="./<anonym...
Java
# encoding: utf-8 module Eij class Translator def initialize(key) @src = File.dirname(__FILE__) + "/func.sh" @func = File.dirname(__FILE__) + "/../../data/kanjidicks.txt" @col = %x{bash -lic 'echo $COLUMNS'} @msg = key @res = Hash.new { |h,k| h[k] = Hash.new(&h.default_proc) } ...
Java
using System; using System.Collections.Generic; using System.Linq; using Moq; using NUnit.Framework; using Ploeh.AutoFixture; using RememBeer.Models.Contracts; using RememBeer.Models.Dtos; using RememBeer.Models.Factories; using RememBeer.Services.RankingStrategies; using RememBeer.Tests.Utils; namespace RememBee...
Java
/** * @file sdram.c * @brief SDRAM configuration * * @section License * * Copyright (C) 2010-2015 Oryx Embedded SARL. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundat...
Java
using CreativeMinds.CQS.Commands; using NForum.Core.Dtos; using NForum.Datastores; using NForum.Domain; using NForum.Infrastructure; using System; using System.Security.Principal; namespace NForum.CQS.Commands.Topics { public class CreateTopicCommandHandler : CommandWithStatusHandler<CreateTopicCommand> { protect...
Java
CREATE OR REPLACE FUNCTION ts.updatechroncontrolage(_chroncontrolid integer, _age double precision DEFAULT NULL::double precision) RETURNS void LANGUAGE sql AS $function$ UPDATE ndb.chroncontrols SET age = _age WHERE chroncontrolid = _chroncontrolid $function$
Java
<?php namespace js4php5; /** * Blatantly stolen from Yii2 for debug use, as it's much better than var_dump() or print_r() (but not as good as * the one included in some other frameworks). */ class VarDumper { private static $_output; private static $_depth; private static $_objects; /** * Dis...
Java
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import <iWorkImport/GQDBGPlaceholder.h> #import "GQDNameMappable-Protocol.h" @class GQDWPLayoutFrame; // Not exported @interface GQDBGTitlePlaceholder : GQDBGPlaceholder <GQD...
Java
/** * Logback: the reliable, generic, fast and flexible logging framework. * Copyright (C) 1999-2015, QOS.ch. All rights reserved. * * This program and the accompanying materials are dual-licensed under * either the terms of the Eclipse Public License v1.0 as published by * the Eclipse Foundation * * ...
Java
s3backup ======== A simple folder backup solution to AWS S3. * Central configuration - Job configuration is downloaded from S3 allowing easy changes from a central location instead of separate config files on each machine. * S3 Cache - File metadata is cached initially to avoid hitting S3 for each file. Author: Bri...
Java
--- title: Argo Contribution category: technology tags: [Argo,Kubernetes,Github,PullRequest] author: JackyWu comments: true --- ## Contact me ![](/assets/images/weixin-pic-jackywu.jpg) 或者用邮件交流 <a href="mailto:jacky.wucheng@foxmail.com">jacky.wucheng@foxmail.com</a> ## Argo Contribution Argo Workflows is an open ...
Java
<?php namespace OroCRM\Bundle\ContactBundle\Tests\Unit\Twig; use OroCRM\Bundle\ContactBundle\Twig\SocialUrlExtension; use OroCRM\Bundle\ContactBundle\Model\Social; class SocialUrlExtensionTest extends \PHPUnit_Framework_TestCase { /** * @var SocialUrlExtension */ protected $twigExtension; /** ...
Java
**Repel Vermin** **School** abjuration; **Level** bard 4, cleric 4, druid 4, ranger 3 **Casting Time** 1 standard action **Components** V, S, DF **Range** 10 ft. **Area** 10-ft.-radius emanation centered on you **Duration** 10 min./level (D) **Saving Throw** none or [Will](../combat#_will) negates; see text; **...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-field: 17 m 57 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-character: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootst...
Java
<!doctype html> <html class="default no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>PathHandler | Orange</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="../assets/css/...
Java
'use strict'; var assert = require('assert') , TestEvents = require('../lib/TestEvents'); var wasCalled = false; var FN = function (ev) { wasCalled = true; }; describe('TestEvents', function () { beforeEach(function () { wasCalled = false; }); describe('#on', function () { it('Should bind a funct...
Java
<?php /** * @author rugk * @copyright Copyright (c) 2015-2016 rugk * @license MIT */ // set end of line $eol = PHP_EOL; if (php_sapi_name() != 'cli') { $eol .= '<br>'; } //list all functions $functions = get_extension_funcs('libsodium'); foreach ($functions as $func) { echo $func . $eol; } echo $eol;
Java
require 'doorkeeper/oauth/assertion_access_token_request' module Doorkeeper module Request class Assertion def self.build(server) new(server) end attr_reader :server def initialize(server) @server = server end def request @request ||= OAuth::AssertionAccessTokenRequest.new(server, ...
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" /> <meta name="GENERATOR" content="VSdocman - documentation generator; htt...
Java
//process.argv.forEach(function (val, index, array) { console.log(index + ': ' + val); }); var fs = require('fs'); (function () { function slugify(text) { text = text.replace(/[^-a-zA-Z0-9,&\s]+/ig, ''); text = text.replace(/-/gi, "_"); text = text.replace(/\s/gi, "-"); return text; } var DocGen = { ...
Java
require 'rest_client' module WebHook # Makes a http request to the target endpoint passing contents as data def self.send_message(endpoint, content) # TODO: # - Make webrequest # - If success return success # - If error, return error response = RestClient.post endpoint, content.to_json, :conten...
Java
# -*- coding:utf-8 -*- # This code is automatically transpiled by Saklient Translator import six from ..client import Client from .model import Model from ..resources.resource import Resource from ..resources.licenseinfo import LicenseInfo from ...util import Util import saklient str = six.text_type # module saklien...
Java
'use strict'; exports.name = '/activation';
Java
--- layout: default --- <section class="collection-head small geopattern" data-pattern-id="{{ page.title | truncate: 15, ''}}"> <div class="container"> <div class="columns"> <div class="column three-fourths"> <div class="collection-title"> <h1 class="collection-header">{{ page.title }}</h1> ...
Java
<?php use Symfony\Component\Routing\RequestContext; use Symfony\Component\Routing\Exception\RouteNotFoundException; /** * appdevUrlGenerator * * This class has been auto-generated * by the Symfony Routing Component. */ class appdevUrlGenerator extends Symfony\Component\Routing\Generator\UrlGenerator { stati...
Java
const _ = require('lodash') const Joi = require('joi') module.exports = { name: 'href', params: { href: Joi.array().items( Joi.string(), Joi.func().ref() ).min(1) }, setup (params) { params.href = [''].concat(params.href) this._flags.href = params.href }, validate (params, value...
Java
using System; using System.Windows.Input; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using Neo.Gui.Base.Dialogs.Interfaces; using Neo.Gui.Base.Dialogs.Results.Wallets; using Neo.Gui.Base.Managers.Interfaces; using Neo.Gui.Base.Services.Interfaces; namespace Neo.Gui.ViewModels.Wallets { public c...
Java
// Mucking with different levels let currentLevel = { cells: undefined, dims: undefined }; if (0) { currentLevel.cells = level; currentLevel.dims = level_dims; } else { currentLevel.cells = LEVEL_ONE; currentLevel.dims = LEVEL_ONE_DIMS; } // Return a reference to the (logical) cell's unique object const _getCel...
Java
\hypertarget{group___u_a_r_t___word___length}{}\section{U\+A\+RT Word Length} \label{group___u_a_r_t___word___length}\index{U\+A\+R\+T Word Length@{U\+A\+R\+T Word Length}} \subsection*{Macros} \begin{DoxyCompactItemize} \item \#define {\bfseries U\+A\+R\+T\+\_\+\+W\+O\+R\+D\+L\+E\+N\+G\+T\+H\+\_\+8B}~((uint32\+\_\+t)...
Java
var fastn = require('fastn')({ _generic: require('fastn/genericComponent'), list: require('fastn/listComponent'), templater: require('fastn/templaterComponent'), text: require('fastn/textComponent'), ratingControl: require('./ratingControlComponent') }); module.exports = function(settings){ ret...
Java
import os import logging from jsub.util import safe_mkdir from jsub.util import safe_rmdir class Submit(object): def __init__(self, manager, task_id, sub_ids=None, dry_run=False, resubmit=False): self.__manager = manager self.__task = self.__manager.load_task(task_id) self.__sub_ids = sub_ids self.__dry_run ...
Java
# tree [![Build Status](https://travis-ci.org/ryanfowler/tree.svg?branch=master)](https://travis-ci.org/ryanfowler/tree) [![Go Report Card](https://goreportcard.com/badge/github.com/ryanfowler/tree)](https://goreportcard.com/report/github.com/ryanfowler/tree) [![GoDoc](https://godoc.org/github.com/ryanfowler/tree?statu...
Java
<?php namespace rg\injektor; class InjectionLoopException extends InjectionException { }
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:49 CEST 2015 --> <title>IObjectStringEmptyCheck (FailFast v.1.3)</title> <meta name="date" content="2015-08-31"...
Java
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - Mozilla/5.0 (Linux; Android 4.2.1; ZTE V965 Build/JOP40D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19</title> <link rel="stylesheet" href="https://cdnjs.clo...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - Mozilla/5.0 (Linux; Android 4.0.4; Karbonn A30 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19</title> <link rel="stylesheet" href="https://cdnjs....
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>demos: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>hammer: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
Java
#!/usr/bin/env node 'use strict'; var assert = require('assert'); var depRep = require('../../lib/depRep'); var oldJson = require('../fixtures/old.json'); var newJson = require('../fixtures/new.json'); var unsupported = require('../fixtures/unsupported.json'); function key(number, dev) { var prefix = "/dependen...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>string: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
Java
/* * The MIT License (MIT) * * Copyright (c) 2015 Microsoft Corporation * * -=- Robust Distributed System Nucleus (rDSN) -=- * * 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...
Java
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由Codesmith工具生成。 // 此文件的更改可能会导致不正确的行为,如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //------------------------------------------------------------------------------ using System; using ProtoBuf; using ZyGam...
Java
=begin = TeamDecorator - version: 6.002 - author: Leega Decorator for the Team model. Contains all presentation-logic centered methods. =end class TeamDecorator < Draper::Decorator delegate_all include Rails.application.routes.url_helpers # Retrieves the team complete name # with link to team ra...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>fssec-model: 49 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel=...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>tarski-geometry: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap...
Java
<span class="hljs-keyword">import</span> {NgModule} <span class="hljs-keyword">from</span> <span class="hljs-string">&#x27;@angular/core&#x27;</span>; <span class="hljs-keyword">import</span> {FormsModule} <span class="hljs-keyword">from</span> <span class="hljs-string">&#x27;@angular/forms&#x27;</span>; <span class="h...
Java
using System; using System.Runtime.InteropServices; using System.Text; namespace Akkomation.TelldusCore.Utils { internal enum MarshalDirection { In, Out } internal class TelldusUtf8Marshaler : ICustomMarshaler { private static readonly TelldusUtf8Marshaler InputInstance = ...
Java
<?php namespace MicroCMS\Controller; use Silex\Application; use Symfony\Component\HttpFoundation\Request; use MicroCMS\Domain\Article; use MicroCMS\Domain\Experience; use MicroCMS\Domain\User; use MicroCMS\Domain\Perso; use MicroCMS\Domain\Portfolio; use MicroCMS\Domain\Loisir; use MicroCMS\Form\Type\ArticleType; use...
Java
<script src="../../bower_components/moment/moment.js"></script> <script src="../../bower_components/moment/locale/fr.js"></script>
Java
# encoding: utf-8 require 'test_helper' require 'earth_tools' require 'earth_tools/result/time_zone' require 'mock_lookup' ## # Tests for Time Zone lookups. class TimeZoneTest < MiniTest::Unit::TestCase def setup @result = EarthTools.time_zone(40.71417, -74.00639) @result2 = EarthTools.tim...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>compcert: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
Java
/** * Angular Paginate * @homepage https://github.com/darthwade/angular-paginate * @author Vadym Petrychenko https://github.com/darthwade * @license The MIT License (http://www.opensource.org/licenses/mit-license.php) * @copyright 2014 Vadym Petrychenko */ (function (factory) { if (typeof define === 'function' ...
Java
<?php namespace InoOicClient\Oic\Authorization\State\Exception; class StateMismatchException extends \RuntimeException { }
Java
# 9fs file server FROM debian:sid MAINTAINER jordi collell <j@tmpo.io> RUN apt-get update && apt-get install -y \ diod VOLUME /data CMD [ "diod", "--export=/data", "-n", "-f", "-l", "0.0.0.0:5640" ] EXPOSE 5640
Java
<?php umask(0000); // Définit une permission 0777 use Symfony\Component\ClassLoader\ApcClassLoader; use Symfony\Component\HttpFoundation\Request; $loader = require_once __DIR__.'/../app/bootstrap.php.cache'; // Enable APC for autoloading to improve performance. // You should change the ApcClassLoader first argument t...
Java
watch: clean NODE_ENV=development `npm bin`/webpack -w package: build mkdir -p dist zip -x\*.DS_Store dist/linkgrabber.zip -r css html images js vendor manifest.json build: clean NODE_ENV=production `npm bin`/webpack lint: node_modules/.bin/eslint src clean: rm -rf js rm -rf dist
Java
<?php namespace Leezy\PheanstalkBundle\Tests\Command; use Leezy\PheanstalkBundle\Command\PutCommand; use Pheanstalk\Job; use Symfony\Component\Console\Tester\CommandTester; class PutCommandTest extends AbstractPheanstalkCommandTest { public function testExecute() { $args = $this->getCommandArgs()...
Java
<?php namespace PlaygroundDesign\Service; use PlaygroundDesign\Entity\Theme as ThemeEntity; use Laminas\Form\Form; use Laminas\ServiceManager\ServiceManager; use Laminas\Validator\NotEmpty; use Laminas\EventManager\EventManagerAwareTrait; use PlaygroundDesign\Options\ModuleOptions; use DoctrineModule\Validator\NoObje...
Java
var express = require('express') var braintree = require('braintree') var router = express.Router() // eslint-disable-line new-cap var gateway = require('../lib/gateway') var TRANSACTION_SUCCESS_STATUSES = [ braintree.Transaction.Status.Authorizing, braintree.Transaction.Status.Authorized, braintree.Transaction....
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-analysis: 9 m 50 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min...
Java
<div class="body-bg"></div> <main ng-if="$pageFinishedLoading" ng-class="{ 'menu-collapsed': $baSidebarService.isMenuCollapsed() }"> <ba-sidebar></ba-sidebar> <page-top></page-top> <div class="al-main"> <div class="al-content"> <content-top></content-top> <div ba-panel ba-p...
Java
/* Copyright (c) 2017-2018 Tom Hancocks 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, dis...
Java