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>compcert: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
Java
/** * */ package com.kant.datastructure.stacks; import com.kant.sortingnsearching.MyUtil; /** * http://www.geeksforgeeks.org/the-stock-span-problem/ <br/> * * * The stock span problem is a financial problem where we have a series of n * daily price quotes for a stock and we need to calculate spa...
Java
static void cnrom_switchchr(int bank) { int size = 8192; backend_read(romfn, 16 + (16384 * header.prgromsize) + (bank * size), size, ppu_memory); } static void cnrom_access(unsigned int address, unsigned char data) { if (address > 0x7fff && address < 0x10000) cnrom_switchchr(data & (header.chrr...
Java
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using CommonCache.Test.Common; using Microso...
Java
<?php namespace Eggbe\Helper; use \Eggbe\Helper\Abstractions\AHelper; class Hash extends AHelper { /** * @param int $length * @return string * @throws \Exception */ public final static function solt($length){ if ((int)$length > 62){ throw new \Exception('Max solt length can not be more that 62 charact...
Java
//****************************************************************************************************** // FrequencyValue.cs - Gbtc // // Copyright © 2012, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See // ...
Java
<ul class="context_menu"> <li><a href="?module=menu">Retour aux menus</a></li> </ul> <form action="?module=menu&action=edit" method="post"> <input type="hidden" name="menuId" value="<?php echo $menu->getId(); ?>" /> <label class="mandatory">Titre</label> <input type="text" name="title" value="<?php echo stripslas...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>fourcolor: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
Java
import { Component } from 'react'; import Router from 'next/router'; import io from 'socket.io-client'; import fetch from 'isomorphic-fetch'; import Page from '../../layouts/page.js'; import Slide from '../../components/slide.js'; import Code from '../../components/code.js' import Emojis from '../../components/emojis....
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("Ex...
Java
![preview Long Haul](/preview.jpg) Long Haul is a minimal jekyll theme built with SASS / GULP / BROWSERSYNC / AUTOPREFIXER and focuses on long form blog posts. It is meant to be used as a starting point for a jekyll blog/website. If you really enjoy Long Haul and want to give me credit somewhere on the internet send ...
Java
/* eslint-disable promise/always-return */ import { runAuthenticatedQuery } from "schema/v2/test/utils" import gql from "lib/gql" describe("Me", () => { describe("ShowsByFollowedArtists", () => { it("returns shows by followed artists", async () => { const query = gql` { me { s...
Java
<?php namespace scriptorium\UserBundle\Entity; use FOS\UserBundle\Entity\User as BaseUser; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Validator\Constraints as Assert; use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; use Symfony\Component\HttpFoundation\File\UploadedFile; use Symfony\Compone...
Java
/* Copyright (c) 2015 Mathias Panzenböck * * 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, pub...
Java
package com.jasonlam604.stocktechnicals.indicators; import com.jasonlam604.stocktechnicals.util.NumberFormatter; /** * Moving Average Convergence/Divergence Oscillator */ public class MovingAverageConvergenceDivergence { private static final int CROSSOVER_NONE = 0; private static final int CROSSOVER_POSITIVE = 1...
Java
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person ...
Java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package consolealiensgame; import alieninterfaces.*; import java.lang.reflect.Constructor; /** * * @author guberti */ public clas...
Java
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href='https://fonts.googleapis.com/css?family=Roboto:400,300,100,700|Source Sans:400,300,100' rel='st...
Java
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), Example = mongoose.model('Example'), _ = require('lodash'), upload = require('./upload'); /** * Find example by id */ exports.example = function(req, res, next, id) { Example.load(id, function(err, example) { ...
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"...
Java
class ApplicationMailer < ActionMailer::Base helper Common::PageHelper end
Java
import { fireShuffleTasks } from 'src/model/ModelBase'; import { REFERENCE } from 'config/types'; import { rebindMatch } from 'shared/rebind'; import { isArray, isString } from 'utils/is'; import { escapeKey } from 'shared/keypaths'; import ExpressionProxy from './ExpressionProxy'; import resolveReference from './resol...
Java
'use strict'; const config = require('config'); const esdoc = require('gulp-esdoc'); const gulp = require('gulp'); module.exports = function documentationBuilder() { return gulp.src('./src') .pipe(esdoc({ destination: config.get('build.documentation.outputPath'), unexportIdentifier: config.get('buil...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ceres: 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>ltl: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" re...
Java
--- layout: single title: Thanks comments: false share: false permalink: /thanks/ --- I’m truly grateful to all the wonderful humans and companies supporting my open source work on [GitHub Sponsors](https://github.com/sponsors/chrismacnaughton). ## 🦄 Sponsor <p class="small">$1000/month</p> ## Silver Sponsor <p c...
Java
package model.question; import model.enums.QuestionTypes; public class ImageQuestion implements QuestionIF { private String imagePath; private char[] answer; private QuestionTypes type; public ImageQuestion(String imagePath, char[] answer, QuestionTypes type){ this.setType(type); this.setImage...
Java
**Houdini** allows easy hotswapping of Python code. The snippet is currently at ALPHA stage, but should soon be top notch. ### Basic usage example Create the files **swapped.py**: ```python from houdini import hotswap @hotswap def foo(): return '0x0' ``` and **client.py**: ```python import time import swapped ...
Java
// Copyright 2015, Google Inc. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package queryservice contains the interface for the service definition // of the Query Service. package queryservice import ( "io" "golang.org/x/net/context...
Java
import os from typing import List, Tuple from raiden.network.blockchain_service import BlockChainService from raiden.network.pathfinding import get_random_service from raiden.network.proxies.service_registry import ServiceRegistry from raiden.network.rpc.client import JSONRPCClient from raiden.network.rpc.smartcontrac...
Java
<md-tab-group> <md-tab label="Example"> <div class="page-content"> <div fxLayout="row" fxLayout.xs="column" fxLayout.sm="column" fxFlex> <md-card fxFlex class="page-card"> <md-card-title>Menu</md-card-title> <md-card-subtitle>Default material menu</md-card-subtitle> <md...
Java
// // SettingVCPopAnimator.h // BlackNoise // // Created by 李金 on 2016/11/24. // Copyright © 2016年 kingandyoga. All rights reserved. // #import <Foundation/Foundation.h> @interface SettingVCPopAnimator : NSObject<UIViewControllerAnimatedTransitioning> @end
Java
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <style> .country { fill: lightgray; stroke: darkgrey; stroke-width: 1px; } .country:hover { fill: darkgrey; } div.tooltipDestination { position: absolute; ...
Java
require 'test_helper' describe Subcheat do it 'should report version number' do Subcheat::VERSION.must_be_instance_of String end end
Java
using System.Reflection; [assembly: AssemblyTitle("Querify.Nh")]
Java
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> <p>isElement</p> <p><a href="isElement.html"></a>isElement</p> <form><input><input></form> <select><option></option><option></option></select> <script></script> <svg> <g id="elmG"/> <text id="elmText"/> <rect id="elmRect"/> ...
Java
#!/bin/bash set -x set -e source "/tools/common_rc/functions.sh" apt-get update # install SSHD apt-get install -y --no-install-recommends ssh # let root logins, disable password logins sed -i \ -e 's/^#?UsePAM.*$/UsePAM no/g' \ -e 's/^#?PasswordAuthentication.*$/PasswordAuthentication yes/g' \ -e 's/^#?PermitRoot...
Java
// // TuneFightAppDelegate.h // TuneFight // // Created by Pit Garbe on 14.01.11. // Copyright 2011 __MyCompanyName__. All rights reserved. // #import <UIKit/UIKit.h> @class RootViewController; @interface TuneFightAppDelegate : NSObject <UIApplicationDelegate> @property (nonatomic, strong) UIWindow *window; @...
Java
class Network < ApplicationRecord end
Java
using FluentValidation; using MediatR; using Shop.Infrastructure.Data; using System.Linq; using System.Threading.Tasks; using AutoMapper; using Microsoft.EntityFrameworkCore; using Shop.Core.Interfaces; using Shop.Infrastructure.Data.Extensions; namespace Shop.Features.Product { public class ProductEdit { ...
Java
using System; using System.Collections.Concurrent; using System.Threading; namespace Napack.Server { /// <summary> /// Holds statistics for the Napack Framework Server system as a whole. /// </summary> /// <remarks> /// This class and its contents is stored in memory. /// </remarks> public...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>extructures: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min...
Java
'use strict' var test = require('tape') var createDate = require('./') test(function (t) { t.ok(createDate('1-1-2000') instanceof Date) t.end() })
Java
<html><body> <h4>Windows 10 x64 (18362.116)</h4><br> <h2>HAL_PRIVATE_DISPATCH</h2> <font face="arial"> +0x000 Version : Uint4B<br> +0x008 HalHandlerForBus : Ptr64 _<a href="./_BUS_HANDLER.html">_BUS_HANDLER</a><br> +0x010 HalHandlerForConfigSpace : Ptr64 _<a href="./_BUS_HANDLER.html">_BUS_HAND...
Java
<?php /* * This file is part of PHPExifTool. * * (c) 2012 Romain Neutron <imprec@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\Microsoft; use JMS\Serializer\Annotation\ExclusionPolic...
Java
# This file is part of Indico. # Copyright (C) 2002 - 2022 CERN # # Indico is free software; you can redistribute it and/or # modify it under the terms of the MIT License; see the # LICENSE file for more details. import os from indico.core import signals from indico.core.db import db from .logger import logger from ...
Java
<!-- Latest statistical bulletins --> <section class="panel wrapper box box--padded--med panel--bottom-mar box--teal--separated-left solid border"> <header class="actionable-header__title"> <h2 class="actionable-header__title table-inline ">Latest statistical bulletins</h2> <a class="actionable-heade...
Java
<!DOCTYPE html> <?xml version="1.0" encoding="UTF-8"?> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Earth Negotiations Bulletin: AWGs</title> <link href="../assets/style/bulletin.css" rel="stylesheet" /> </head> <body> <h1>Earth Negotiations ...
Java
<?php /** * Created by PhpStorm. * User: Josh Houghtelin <josh@findsomehelp.com> * Date: 12/19/14 * Time: 6:08 PM */ require __DIR__.'/../vendor/autoload.php'; require __DIR__.'/api_key.php'; $vrp = new \Gueststream\Vrp($api_key); print_r($vrp->isOnline());
Java
using FlaUI.Core.AutomationElements.Infrastructure; using FlaUI.Core.Patterns; namespace FlaUI.Core.AutomationElements.PatternElements { /// <summary> /// An element which supports the <see cref="ISelectionItemPattern" />. /// </summary> public class SelectionItemAutomationElement : AutomationElement ...
Java
#ifndef __SEQ_HPP__ #define __SEQ_HPP__ #include <string> #include <vector> #include <memory> #include <iostream> class SeqNode; typedef std::shared_ptr<SeqNode> SeqNodeSP; class SeqNode { public: enum E_CallType { E_UNKNOWN, E_SYNC, E_ASYNC, E_ASYNC_WAIT }; SeqNode(); void printTree(std::ostream...
Java
<?php class Upload { private $error = array(); private $name; private $ext; private $orgWidth; private $orgHeight; private $width; private $height; private $maxWidth = 0; private $maxHeight = 0; private $prefix; private $suffix; private $uploadedFile; private $sourc...
Java
using System; using System.Collections.Generic; namespace RefinId.Specs { public class TestStorage : ILongIdStorage { private List<long> _values; public TestStorage(params long[] values) { _values = new List<long>(values); } public List<long> Values { get { return _values; } } public List<l...
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
<!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" re...
Java
using SMSServices.Models; using System; using System.Collections.Generic; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Data.Entity.Validation; using System.Data.SqlClient; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Web.Http; using WebA...
Java
<?php namespace QnNguyen\EdtUbxNS\Condition; /** * Class MatchInArray * Check if an element exists in an array * @package QnNguyen\EdtUbxNS\Condition */ class MatchInArray extends PropertyCondition { /** * @param $value * @return bool */ function typeCheck($value) { return is_ar...
Java
// Week 5 - Task 7 import java.io.PrintWriter; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import java.io.*; public class TCPSerServer { private static ServerSocket servSock; private static final int PORT = 1...
Java
<?php namespace Easybill\ZUGFeRD211\Model; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; use JMS\Serializer\Annotation\XmlElement; class DocumentLineDocument { /** * @Type("string") * @XmlElement(cdata = false, namespace = "urn:un:unece:uncefact:data:standard:Reusabl...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>menhirlib: 43 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="s...
Java
--- layout: attachment title: pic_md date: type: attachment published: false status: inherit categories: [] tags: [] meta: _wp_attached_file: 2013/05/pic_md-1p2ic7x.png _wp_attachment_metadata: a:6:{s:5:"width";s:3:"343";s:6:"height";s:3:"412";s:14:"hwstring_small";s:22:"height='96' width='79'";s:4:"file";s:26...
Java
#include "nofx_ofSetOrientation.h" #include "ofAppRunner.h" namespace nofx { namespace AppRunner { NAN_METHOD(nofx_ofSetOrientation) { ofSetOrientation((ofOrientation) args[0]->Uint32Value()); NanReturnUndefined(); } // !nofx_ofSetOrientation ...
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("6....
Java
#Active Projects
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>relation-extraction: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boots...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_15) on Thu Mar 10 09:38:24 BRT 2011 --> <TITLE> DAO.exception </TITLE> <META NAME="date" CONTENT="2011-03-10"> <LINK REL ="stylesheet" T...
Java
package top.cardone.func.vx.usercenter.userDepartment; import com.google.common.base.Charsets; import lombok.extern.log4j.Log4j2; import lombok.val; import org.apache.commons.io.FileUtils; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotati...
Java
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using InvoiceProcessing.Messages.Commands; using NServiceBus; using Shared; namespace Client { class Program { static void Main(string[] args) { MainAsync().GetAwaite...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>minic: 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>presburger: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css...
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"/> <meta name="generator" con...
Java
'use strict'; // Configuring the Articles module angular.module('categories').run(['Menus', function(Menus) { // Set top bar menu items // Menus.addMenuItem('topbar', 'Categories', 'categories', 'item', '/categories(?:/[^/]+)?', null, null, 9); // Set admin menu items Menus.addMenuItem('admin', 'Categories',...
Java
# Angular HTML Window AngularJS module that provides a draggable and resizable window directive. Based on https://github.com/rlamana/Ventus **This project is no longer maintained! However, feel free to fork and PR.** ## How to use ### Install via npm Install the package over npm. ``` npm i angular-html-window ``` ...
Java
<html> <title>代客訂位訂餐</title> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script> </head> <body> <div><form> 姓名 : <input type="text" id="name"> <br> 電話:<input type="text" id="phonenum"> <br> 日期:<select name="date_" id="date_"> <?php for($i=0; $i<7; $i++){ ...
Java
/** * Created by zhang on 16/5/19. */ $.myjq = function () { alert("hello my jQuery") }; //js的扩展 $.fn.myjq=function(){ $(this).text("hello") };
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-generate...
Java
<?xml version="1.0" encoding="ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Module Hierarchy</title> <link rel="stylesheet" href="epydoc.css" type="text/css" /> <scr...
Java
// Generated by CoffeeScript 1.10.0 var Graphics; Graphics = (function() { function Graphics(ctx, viewport1) { this.ctx = ctx; this.viewport = viewport1; this.transform = { x: 0, y: 0, rotation: 0, scale: 1 }; } Graphics.prototype.translate = function(dx, dy) { this.t...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><HTML> <HEAD> <TITLE></TITLE> </HEAD> <BODY> <A href="W29357.pdfs.html#outline" target="contents">Outline</a><br><A href="W29357.pdfs.html#1" target="contents" >Page 1</a><br> <A href="W29357.pdfs.html#2" target="contents" >Page 2</a><br> <A href="W29357.pd...
Java
<?php // Autoload the library using Composer, if you're using a framework you shouldn't need to do this!! require_once '../vendor/autoload.php'; use Ballen\Dodns\CredentialManager; use Ballen\Dodns\Dodns; /** * Example of deleting a domain */ // We now create an instance of the DigitalOcean DNS client passi...
Java
const strip_patterns = @compat(UInt32(0)) const strip_corrupt_utf8 = @compat(UInt32(0x1)) << 0 const strip_case = @compat(UInt32(0x1)) << 1 const stem_words = @compat(UInt32(0x1)) << 2 const tag_part_of_speech = @compat(UInt32(0x1)) << 3 const...
Java
<?php namespace MB\Bundle\OptimizationBundle\DependencyInjection; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\Config\FileLocator; use Symfony\Component\HttpKernel\DependencyInjection\Extension; use Symfony\Component\DependencyInjection\Loader; /** * This is the class that loads...
Java
<?php /* Plugin Name: FramePress Plugin URI: http://framepress.co Description: Boost your plugins with extra power! Author: Ivan Lansky (@perecedero) Author URI: http://about.me/ivan.lansky */ //init framework require 'bootstrap.php';
Java
using System; using DogeNews.Web.Mvp.UserControls.ArticleComments.EventArguments; using WebFormsMvp; namespace DogeNews.Web.Mvp.UserControls.ArticleComments { public interface IArticleCommentsView : IView<ArticleCommentsViewModel> { event EventHandler<ArticleCommetnsPageLoadEventArgs> PageLoad; ...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mtac2: 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"> <title>Document</title> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1, maximum-scale=1, user-scalable=no"> <style> .btn-block { ...
Java
/* * Copyright (c) 2013 - 2015, Freescale Semiconductor, 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: * * o Redistributions of source code must retain the above copyright not...
Java
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Latihan extends CI_Controller{ public function __construct(){ parent::__construct(); //Codeigniter : Write Less Do More } function index(){ $this->load->view('mhs/latihan'); // $this->load->view('sample'); ...
Java
package tabular import ( "bufio" "bytes" "io" "testing" "github.com/stretchr/testify/suite" ) var ( testHeaders = []struct { Key string Title string }{ { Key: "name", Title: "First name", }, { Key: "surname", Title: "Last name", }, { Key: "age", Title: "Age", }, } t...
Java
<?php use Symfony\Component\HttpKernel\Kernel; use Symfony\Component\Config\Loader\LoaderInterface; class AppKernel extends Kernel { public function registerBundles() { $bundles = array( new Symfony\Bundle\FrameworkBundle\FrameworkBundle(), new Symfony\Bundle\SecurityBundle\Sec...
Java
<section data-ng-controller="ArticlesController" data-ng-init="findOne()"> <div class="page-header"> <h1>Edit Post</h1> </div> <div class="col-md-12"> <form name="articleForm" class="form-horizontal" data-ng-submit="update()" novalidate> <fieldset> <div class="form-group"> <label c...
Java
#PPP-QuestionParsing-ML-standalone [![Build Status](https://travis-ci.org/ProjetPP/PPP-QuestionParsing-ML-Standalone.svg?branch=master)](https://travis-ci.org/ProjetPP/PPP-QuestionParsing-ML-Standalone) [![Code Coverage](https://scrutinizer-ci.com/g/ProjetPP/PPP-QuestionParsing-ML-standalone/badges/coverage.png?b=mast...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>stalmarck: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
Java
-- a simple telnet server -- https://github.com/nodemcu/nodemcu-firmware/blob/master/lua_examples/telnet.lua tport = tport or 2323 _telnet_srv = net.createServer(net.TCP, 180) print("Telnet port: " .. (tport)) _telnet_srv:listen(tport, function(socket) local fifo = {} local fifo_drained = true local funct...
Java
"use strict"; var EventEmitter = require ('events'); module.exports = new EventEmitter ();
Java
'use strict' const tap = require('tap') const ActiveDirectory = require('../index') const config = require('./config') const serverFactory = require('./mockServer') const settings = require('./settings').getGroupMembershipForUser tap.beforeEach((done, t) => { serverFactory(function (err, server) { if (err) retu...
Java
package com.github.lg198.codefray.jfx; import com.github.lg198.codefray.api.game.Team; import com.github.lg198.codefray.game.GameEndReason; import com.github.lg198.codefray.game.GameStatistics; import com.github.lg198.codefray.util.TimeFormatter; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx...
Java
<?php namespace Flatmate\UtilitiesBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Validator\Constraints as Assert; /** * Consumption * * @ORM\Table() * @ORM\Entity * @ORM\HasLifecycleCallbacks() */ class Consumption { /** * @var integer * * @ORM\Column(name="id", type="...
Java
<!--<?php # MetInfo Enterprise Content Management System # Copyright (C) MetInfo Co.,Ltd (http://www.metinfo.cn). All rights reserved. require_once template('head'); echo <<<EOT --> </head> <body> <!-- EOT; $title="<a href='index.php?anyid={$anyid}&lang={$lang}&class1={$class1}'>{$met_class[$class1][name]}</a>"; $clas...
Java
<? include('dbconnect.php'); $headerOptions = array( "title" => "Edit Stats" ); require_once "header.php"; ?> <?php $tn = $_GET['tn']; $played = $_GET['played']; $wins = $_GET['wins']; $losses = $_GET['losses']; $draws = $_GET['draws']; $ncs = $_GET['ncs']; $sql = "SELECT team_id FROM Te...
Java