code
stringlengths
4
1.01M
language
stringclasses
2 values
import * as React from "react"; import { CarbonIconProps } from "../../"; declare const Laptop24: React.ForwardRefExoticComponent< CarbonIconProps & React.RefAttributes<SVGSVGElement> >; export default Laptop24;
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"> <title> Singapore Gurkhas 070216 Gcspf Gurkha Contingent Archives Kkg 23</title> <!-- URL Structures --> <link rel="canonical" hr...
Java
<!DOCTYPE html> <!--[if IE 7]> <html class="ie ie7" lang="en"> <![endif]--> <!--[if IE 8]> <html class="ie ie8" lang="en"> <![endif]--> <!--[if !(IE 7) | !(IE 8) ]><!--> <html> <head lang="en"> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scal...
Java
/* @flow */ "use strict"; var _inherits = require("babel-runtime/helpers/inherits")["default"]; var _classCallCheck = require("babel-runtime/helpers/class-call-check")["default"]; var _getIterator = require("babel-runtime/core-js/get-iterator")["default"]; var _Object$assign = require("babel-runtime/core-js/object...
Java
using System; using System.ComponentModel; using System.Web; using System.Web.Security; using System.Xml.Linq; using System.Xml.XPath; using Umbraco.Core; using Umbraco.Core.Dictionary; using Umbraco.Core.Dynamics; using Umbraco.Core.Models; using Umbraco.Core.Security; using Umbraco.Core.Services; using U...
Java
* { margin: 0px; padding: 0px; } body{ overflow:hidden; background-color: black; } @font-face { font-family: Bang; src: url('bang.ttf'); } @media screen and (max-height: 650px) { #clouds{ height: 220px; } } } #wrapper { width: 100%; height: 100%; } #score { c...
Java
use std::str::FromStr; fn read_line() -> String { let mut input = String::new(); std::io::stdin().read_line(&mut input).expect("Could not read stdin!"); input } fn read_multiple<F>(sep: &str) -> Vec<F> where F: FromStr { read_line().trim().split(sep).map(|token| token.parse().ok().unwrap()).collect() } fn ...
Java
--- layout: page status: publish published: true title: 'MPC IN THE NEWS: Where We Came From and Where We Went, State by State' author: mpcit teaser: 'The folks at the NYT''s Upshot recently did a piece charting how Americans have moved between states since 1900, using Census microdata obtained from ipums.org, the ...
Java
/** * Gulp tasks for wrapping Browserify modules. */ const browserify = require("browserify"); const gulp = require("gulp"); const sourcemaps = require("gulp-sourcemaps"); const uglify = require("gulp-uglify"); const path = require("path"); const through2 = require("through2"); const buffer = require("vinyl-buffer");...
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"/> <title>GLM_GTX_string_cast: String cast</title> <link href="tabs.css" rel="sty...
Java
/* * Special implementations of built-in functions and methods. * * Optional optimisations for builtins are in Optimize.c. * * General object operations and protocols are in ObjectHandling.c. */ //////////////////// Globals.proto //////////////////// static PyObject* __Pyx_Globals(void); /*proto*/ ////////////...
Java
// Commom Plugins (function($) { 'use strict'; // Scroll to Top Button. if (typeof theme.PluginScrollToTop !== 'undefined') { theme.PluginScrollToTop.initialize(); } // Tooltips if ($.isFunction($.fn['tooltip'])) { $('[data-tooltip]:not(.manual), [data-plugin-tooltip]:not(.manual)').tooltip(); } // Popo...
Java
package main import ( "encoding/json" "fmt" "io/ioutil" "log" "net/http" "net/url" "os" "os/user" "path/filepath" "strings" "golang.org/x/net/context" "golang.org/x/oauth2" "golang.org/x/oauth2/google" gmail "google.golang.org/api/gmail/v1" "github.com/code...
Java
// This file contains source that originates from: // http://code.google.com/p/leveldbwin/source/browse/trunk/win32_impl_src/env_win32.h // http://code.google.com/p/leveldbwin/source/browse/trunk/win32_impl_src/port_win32.cc // Those files dont' have any explict license headers but the // project (http://code.google.c...
Java
<!DOCTYPE html> <html> <head> <title>ECOSOC</title> <base href="../../"> <!--Import Google Icon Font--> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet'> <link rel='shortcut ic...
Java
'use strict'; const BitcrusherProps = { bits: { type: 'number', bounds: [1, 16], defaultValue: 4 }, normfreq: { type: 'number', bounds: [0, 1], step: 0.1, defaultValue: 0.1 }, bufferSize: { type: 'number', bounds: [256, 16384],...
Java
wherzcroc ========= Using hidden markov models to find a crocodile in a graph. Assignment for AI course (Fall 2014) at Uppsala University Setup ----- 1. Clone the repository 2. Unzip files from the webpage on studentportalen into two folders: *Debug* and *Release* (in the repo directory). 3. The setup should work ou...
Java
/*********************************************************************************** ** MIT License ** ** ** ** Copyright (c) 2018 Victor DENIS (victordenis01@gmail.com) ...
Java
import os import sys from Bio import SeqIO f = open(sys.argv[1], 'rU') out = open(sys.argv[2], 'w') for records in SeqIO.parse(f, 'fastq'): SeqIO.write(records, out, 'fasta')
Java
require 'strscan' ## # Parses a gem.deps.rb.lock file and constructs a LockSet containing the # dependencies found inside. If the lock file is missing no LockSet is # constructed. class Gem::RequestSet::Lockfile ## # Raised when a lockfile cannot be parsed class ParseError < Gem::Exception ## # The ...
Java
define({ "_widgetLabel": "Tra cứu Địa lý", "description": "Duyệt đến hoặc Kéo <a href='./widgets/GeoLookup/data/sample.csv' tooltip='Download an example sheet' target='_blank'> trang tính </a> tại đây để mô phỏng và thêm các dữ liệu bản đồ vào trang tính đó.", "selectCSV": "Chọn một CSV", "loadingCSV": "Đang tả...
Java
<html> <head> <title>Member List - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link type="text/css" rel="stylesheet" href="doxygen.css"> <link type="text/css" rel="stylesheet" href="tabs.css"> </head> <body> <!-- Generated by Doxygen 1.7.6.1 --> <div id="navr...
Java
var chai = require("chai") var should = chai.should(); chai.use(require("chai-http")); var request = chai.request(require("./server")) var db = require("mongojs")("test") describe("CRUD Handler", () => { before(done => { done() }) beforeEach(done => { db.dropDatabase(done); }) af...
Java
{-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE Arrows #-} module Main where import Opaleye import Data.Profunctor.Product import Data.Profunctor.Product.Default import Data.Profunctor...
Java
"use strict"; devdiv.directive('devDiv', [function () { return { restrict: 'E', link: function (scope, iElement, iAttrs) { iElement.addClass("dev-div"); iElement.addClass("row"); } }; }]) devdiv.controller('NameCtrl', function ($scope, $watch) { });
Java
(function() { 'use strict'; /* Filters */ var md5 = function (s) { if (!s) return ''; function L(k, d) { return (k << d) | (k >>> (32 - d)); } function K(G, k) { var I, d, F, H, x; F = (G & 2147483648); H = (k & 2147483648); I = (G & 1073741824); d = (k & 107...
Java
#!/usr/bin/env python # # GrovePi Example for using the Grove Electricity Sensor (http://www.seeedstudio.com/wiki/Grove_-_Electricity_Sensor) # # The GrovePi connects the Raspberry Pi and Grove sensors. You can learn more about GrovePi here: http://www.dexterindustries.com/GrovePi # # Have a question about this examp...
Java
// Copyright (c) 2015 ZZZ Projects. All rights reserved // Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods) // Website: http://www.zzzprojects.com/ // Feedback / Feature Requests / Issues : http://zzzprojects.uservoice.com/forums/283927 // All ZZZ Projects products: Entity Framework ...
Java
require 'openssl' require_relative 'app' module Spaceship module Portal # Represents a certificate from the Apple Developer Portal. # # This can either be a code signing identity or a push profile class Certificate < PortalBase # @return (String) The ID given from the developer portal. You'll ...
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("Co...
Java
/*globals describe, before, beforeEach, afterEach, it */ /*jshint expr:true*/ var testUtils = require('../../utils'), should = require('should'), // Stuff we are testing dbAPI = require('../../../server/api/db'), ModelTag = require('../../../server/models/tag'), ModelPost = r...
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Struct template reverse_fold_tree</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> <meta...
Java
<?php defined('BASEPATH') OR exit('No direct script access allowed.'); $config['useragent'] = 'PHPMailer'; // Mail engine switcher: 'CodeIgniter' or 'PHPMailer' $config['protocol'] = IS_WINDOWS_OS ? 'smtp' : 'mail'; // 'mail', 'sendmail', or 'smtp' $config['mailpath'] = '/usr/sbin/...
Java
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
Java
package net.ontrack.core.security; import lombok.Data; import net.ontrack.core.model.AccountSummary; @Data public class ProjectAuthorization { private final int project; private final AccountSummary account; private final ProjectRole role; }
Java
require 'set' require 'sprockets/http_utils' require 'sprockets/path_dependency_utils' require 'sprockets/uri_utils' module Sprockets module Resolve include HTTPUtils, PathDependencyUtils, URIUtils # Public: Find Asset URI for given a logical path by searching the # environment's load paths. # #...
Java
(function (subdivision) { 'use strict'; var count = 0; var builders; var defaultBuilder; function buildInternal(type, addin, options, meta) { var builder = subdivision.getBuilder(type); if (builder.preBuildTarget) { addin = buildInternal(builder.preBuildTarget, addin, o...
Java
// This file is automatically generated. // Please do not change this file! interface CssExports { 'button': string; 'buttonItemCount': string; 'checked': string; 'level': string; 'selector': string; } export const cssExports: CssExports; export default cssExports;
Java
import argparse import asyncio import gc import os.path import pathlib import socket import ssl PRINT = 0 async def echo_server(loop, address, unix): if unix: sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) else: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock....
Java
<?php /* * This file is part of the PHPExifTool package. * * (c) Alchemy <support@alchemy.fr> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\MXF; use JMS\Serializer\Annotation\ExclusionPolicy; u...
Java
<?php namespace Soda\Cms\Database\Repositories\Contracts; use Illuminate\Http\Request; use Soda\Cms\Database\Models\Contracts\ContentInterface; interface ContentRepositoryInterface extends BaseRepositoryInterface { public function findBySlug($slug); public function listFolder(Request $request, ContentInterf...
Java
/*! * reveal.js * http://lab.hakim.se/reveal-js * MIT licensed * * Copyright (C) 2016 Hakim El Hattab, http://hakim.se */ (function( root, factory ) { if( typeof define === 'function' && define.amd ) { // AMD. Register as an anonymous module. define( function() { root.Reveal = factory(); return root.Re...
Java
#!/usr/bin/python # -*- coding: utf-8 -*- # 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 3 of the License, or # (at your option) any later version. # # This progra...
Java
class Base { public: Resource *p; Base() { p = createResource(); } virtual void f() { //has virtual function //... } //... ~Base() { //wrong: is non-virtual freeResource(p); } }; class Derived: public Base { public: Resource *dp; Derived() { dp = createResource2(); } ~Derived() { freeResource2(dp...
Java
#region Copyright (c) 2003, newtelligence AG. All rights reserved. /* // Copyright (c) 2003, newtelligence AG. (http://www.newtelligence.com) // Original BlogX Source Code: Copyright (c) 2003, Chris Anderson (http://simplegeek.com) // All rights reserved. // // Redistribution and use in source and binary forms, with ...
Java
/** \file * \brief Scintilla control: Cursor and Zooming * * See Copyright Notice in "iup.h" */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #undef SCI_NAMESPACE #include <Scintilla.h> #include "iup.h" #include "iup_object.h" #include "iup_attrib.h" #include "iup_str.h" #include...
Java
var Example = Example || {}; Example.staticFriction = function() { var Engine = Matter.Engine, Render = Matter.Render, Runner = Matter.Runner, Body = Matter.Body, Composites = Matter.Composites, Events = Matter.Events, MouseConstraint = Matter.MouseConstraint, ...
Java
require File.dirname(__FILE__) + "/../spec_helper.rb"
Java
{% if isTopPage() %} {% set unportalizedPath = '/top-' + Date.now() %} {% else %} {% set unportalizedPath = page.path|replace('(\/)$', '') %} {% endif %} <div class="modal" id="unportalize"> <div class="modal-dialog"> <div class="modal-content"> <form role="form" id="unportalize-form" onsubmit="r...
Java
package com.softserve.app.repository; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.mockito.Mockito.when; import java.util.ArrayList; import java.util.List; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mocki...
Java
##Search in Rotated Sorted Array II Total Accepted: 60092 Total Submissions: 188639 Difficulty: Medium Follow up for "Search in Rotated Sorted Array": What if duplicates are allowed? Would this affect the run-time complexity? How and why? Write a function to determine if a given target is in the array. ####思路 ...
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 obtain...
Java
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2015.07....
Java
var searchData= [ ['vertical_5fline',['vertical_line',['../class_abstract_board.html#a78c4d43cc32d9dc74d73156497db6d3f',1,'AbstractBoard']]] ];
Java
--[=[ TR_INFO: request information about an active transaction this is the aux. library to encode the request buffer and decode the reply buffer. encode(options_t) -> encoded options string decode(info_buf, info_buf_len) -> decoded info table USAGE: - use it with isc_transaction_info() to encode the info reques...
Java
package runner import ( "strings" "testing" "gopkg.in/stretchr/testify.v1/assert" ) // https://wfuzz.googlecode.com/svn/trunk/wordlist/Injections/SQL.txt var fuzzList = ` ' " # - -- '%20-- --'; '%20; =%20' =%20; =%20-- \x23 \x27 \x3D%20\x3B' \x3D%20\x27 \x27\x4F\x52 SELECT * \x27\x6F\x72 SELECT * 'or%20select * a...
Java
ColorFrameReference.RelativeTime Property ========================================= Gets the timestamp of the referenced color frame. <span id="syntaxSection"></span> Syntax ====== <table> <colgroup> <col width="100%" /> </colgroup> <thead> <tr class="header"> <th align="left">C++</th> </tr> </thead> <tbody>...
Java
import flask from donut import auth_utils from donut.modules.account import blueprint, helpers @blueprint.route("/request") def request_account(): """Provides a form to request an account.""" return flask.render_template("request_account.html") @blueprint.route("/request/submit", methods=["POST"]) def requ...
Java
<!DOCTYPE html> <html ng-app="recoveryApp" lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="bower_components/angular/angular.js"></script> <script type="text/javascript" src="bower_components/sjcl/sjcl.js"><...
Java
package org.ominidi.api.controller; import org.ominidi.api.exception.ConnectionException; import org.ominidi.api.exception.NotFoundException; import org.ominidi.api.model.Errors; import org.ominidi.domain.model.Feed; import org.ominidi.domain.model.Post; import org.ominidi.facebook.service.PageFeedService; imp...
Java
#include "jsonobject.h" #include "jsonparser.h" namespace amgcommon { namespace json { JsonObject::JsonObject(string rawJson) { this->originalJson = rawJson; this->root = JsonNode(); } JsonObject::JsonObject(const JsonObject &a) { ...
Java
default rel %define XMMWORD %define YMMWORD %define ZMMWORD section .text code align=64 EXTERN OPENSSL_ia32cap_P global sha1_block_data_order ALIGN 16 sha1_block_data_order: mov QWORD[8+rsp],rdi ;WIN64 prologue mov QWORD[16+rsp],rsi mov rax,rsp $L$SEH_begin_sha1_block_data_order: mov rdi,rcx mov rsi,rdx mov rd...
Java
/* * FILE: RDDSampleUtilsTest * Copyright (c) 2015 - 2018 GeoSpark Development Team * * MIT License * * 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 wi...
Java
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** * Class for axis handling. * * PHP versions 4 and 5 * * LICENSE: This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Founda...
Java
/** * Created by huangyao on 14-10-1. */ var _ = require('lodash'); var color =require('colors'); var fs =require('fs'); var config = require('../config.js'); var path = require('path'); var mongoose = require("mongoose"); var lcommon = require('lush').common; console.log(config.db); mongoose.connect(config.db,functi...
Java
namespace SalesDatabase.Models { using System.Collections.Generic; public class StoreLocation { public StoreLocation() { this.SalesInStore = new HashSet<Sale>(); } public int Id { get; set; } public string LocationName { get; set; } public ICo...
Java
# -*- coding:utf-8 -*- from re import sub from itertools import islice ''' 如何调整字符串的文本格式 ''' # 将日志文件中的日期格式转变为美国日期格式mm/dd/yyyy # 使用正则表达式模块中的sub函数进行替换字符串 with open("./log.log","r") as f: for line in islice(f,0,None): #print sub("(\d{4})-(\d{2})-(\d{2})",r"\2/\3/\1",line) # 可以为每个匹配组起一个别名 print...
Java
#============================================================================== # Copyright (c) 2013 Urusov Andrey <drobus@gmail.com> #============================================================================== MACRO(ADD_PCH SOURCE_FILES NO_PCH_FILES PROJECT_PATH PCH_PATH_LOCAL PCH_FILE_NAME) SET(PCH_PATH_LOCA...
Java
version https://git-lfs.github.com/spec/v1 oid sha256:054dbc79bbfc64911008a1e140813a8705dfc5cff35cbffd8bf7bc1f74c446b6 size 5257
Java
/* form elements */ input[type="submit"], input[type="text"], input[type="password"], input[type="submit"], input[type="tel"], button[type="button"], button[type="submit"], textarea { -webkit-appearance: none; -moz-appearance: none; -o-appearance: none; border-radius: 0 !important; } input[type="text"]...
Java
module Supa class Builder COMMANDS_WITH_DEFAULT_INTERFACE = %w(attribute virtual object namespace collection append).freeze def initialize(subject, representer:, tree:) @subject = subject @representer = representer @tree = tree end COMMANDS_WITH_DEFAULT_INTERFACE.each do |command| ...
Java
import org.scalatest.{Matchers, FunSuite} class SeriesTest extends FunSuite with Matchers { test("slices of one") { Series.slices(1, "") should be (List()) Series.slices(1, "01234") should be (List(List(0), List(1), List(2), List(3), List(4))) } test("slices of two") { Series.slices(2, "") sh...
Java
/**************************************************************************//** * Copyright (c) 2016 by Silicon Laboratories Inc. All rights reserved. * * http://developer.silabs.com/legal/version/v11/Silicon_Labs_Software_License_Agreement.txt ***********************************************************************...
Java
define(["widgetjs/widgetjs", "lodash", "jquery", "prettify", "code", "bootstrap"], function(widgetjs, lodash, jQuery, prettify, code) { var examples = {}; examples.modals = code({ group: "Modals", label: "Modals", links: ["http://getbootstrap.com/javascript/#modals"], example :...
Java
class AddCorrectAnswerToQuestions < ActiveRecord::Migration def change add_column :questions, :correct_answer, :integer, :default => nil end end
Java
module.exports = require('./lib/dustjs-browserify');
Java
namespace GE.WebUI.ViewModels { public sealed class VMGameMenuEmptyGame { public string IconPath { get; set; } public string GoodImagePath { get; set; } public string BadImagePath { get; set; } } }
Java
version https://git-lfs.github.com/spec/v1 oid sha256:94e212e6fc0c837cd9fff7fca8feff0187a0a22a97c7bd4c6d8f05c5cc358519 size 3077
Java
/* orconfig.h. Generated from orconfig.h.in by configure. */ /* orconfig.h.in. Generated from configure.ac by autoheader. */ #include <openssl/opensslv.h> /* Define if building universal (internal helper macro) */ /* #undef AC_APPLE_UNIVERSAL_BUILD */ /* tor's configuration directory */ #define CONFDIR "/usr/loc...
Java
// // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited // Copyright (c) 2014-2017 Francois Beaune, The appleseedhq Organization // ...
Java
# ----------------------------------------------------------------------------- # Copyright (c) 2014 GarageGames, LLC # # 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, in...
Java
#ifndef BOOST_NETWORK_PROTOCOL_HTTP_IMPL_HTTP_SYNC_CONNECTION_20100601 #define BOOST_NETWORK_PROTOCOL_HTTP_IMPL_HTTP_SYNC_CONNECTION_20100601 // Copyright 2013 Google, Inc. // Copyright 2010 (C) Dean Michael Berris // Copyright 2010 (C) Sinefunc, Inc. // Distributed under the Boost Software License, Version 1.0. // (S...
Java
import React from 'react' import Icon from 'react-icon-base' const IoTshirtOutline = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m11.4 6.7l-8.1 2.4 0.8 2.5 3.1-0.3 3-0.4-0.2 3-1.1 19.9h17.2l-1.1-19.9-0.2-3 3 0.4 3.1 0.3 0.8-2.5-8.1-2.4c-0.5 0.6-1 1.1-1.6 1.5-1.2 0.8-2.7 1.2-4.5 1.2-2.7-0....
Java
import {NgbCalendarIslamicCivil} from './ngb-calendar-islamic-civil'; import {NgbDate} from '../ngb-date'; import {Injectable} from '@angular/core'; /** * Umalqura calendar is one type of Hijri calendars used in islamic countries. * This Calendar is used by Saudi Arabia for administrative purpose. * Unlike tabular ...
Java
# Supported tags and respective `Dockerfile` links - [`3.1.23`, `3.1`, `3`, `latest` (*Dockerfile*)](https://github.com/docker-library/celery/blob/0652407560f353e749cbe001e8bdbb5db86c2291/Dockerfile) [![](https://badge.imagelayers.io/celery:latest.svg)](https://imagelayers.io/?images=celery:3.1.23) For more informat...
Java
declare module "react-apollo" { declare function graphql(query: Object, options: Object): Function; }
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Permalinks</title> <link rel="stylesheet" href="../assets/css/ghost.min.css"> <!-- Styles not needed for this. Just to get around various bits that Ember handles for us. --> <style> @media (max-width: 900px) { ...
Java
<?php namespace Chamilo\Application\Weblcms\Tool\Implementation\ExamAssignment\Ajax\Component; use Chamilo\Application\Weblcms\Tool\Implementation\ExamAssignment\Ajax\Manager; use Symfony\Component\HttpFoundation\JsonResponse; /** * @package Chamilo\Application\Weblcms\Tool\Implementation\ExamAssignment\Ajax\Compone...
Java
/* * Copyright (c) 2000-2018 Apple Computer, Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use thi...
Java
/* * deferred.js * * Copyright 2011, HeavyLifters Network Ltd. All rights reserved. */ ;(function() { var DeferredAPI = { deferred: deferred, all: all, Deferred: Deferred, DeferredList: DeferredList, wrapResult: wrapResult, wrapFailure: wrapFailure, Failure: Failure ...
Java
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Beatmaps; using osu.Game.Rulesets; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Objects; namespace osu.Game.Tests.Visual { public abstract cl...
Java
/***************************************************************************/ /* */ /* pshinter.c */ /* */ /* ...
Java
'use strict'; var request = require('request'); var querystring = require('querystring'); var FirebaseError = require('./error'); var RSVP = require('rsvp'); var _ = require('lodash'); var logger = require('./logger'); var utils = require('./utils'); var responseToError = require('./responseToError'); var refreshToken...
Java
/**! * urllib - test/fixtures/server.js * * Copyright(c) 2011 - 2014 fengmk2 and other contributors. * MIT Licensed * * Authors: * fengmk2 <fengmk2@gmail.com> (http://fengmk2.github.com) */ "use strict"; /** * Module dependencies. */ var should = require('should'); var http = require('http'); var queryst...
Java
/* A small frog wants to get to the other side of the road. The frog is currently located at position X and wants to get to a position greater than or equal to Y. The small frog always jumps a fixed distance, D. Count the minimal number of jumps that the small frog must perform to reach its target. Write a function: in...
Java
// Type definitions for @ag-grid-community/core v25.0.1 // Project: http://www.ag-grid.com/ // Definitions by: Niall Crosby <https://github.com/ag-grid/> export declare function convertToSet<T>(list: T[]): Set<T>;
Java
package com.dubture.twig.core.model; public interface IFunction extends ITwigCallable { }
Java
#!/usr/bin/env python # # GrovePi Example for using the Grove Slide Potentiometer (http://www.seeedstudio.com/wiki/Grove_-_Slide_Potentiometer) # # The GrovePi connects the Raspberry Pi and Grove sensors. You can learn more about GrovePi here: http://www.dexterindustries.com/GrovePi # # Have a question about this exa...
Java
package maritech.nei; import mariculture.core.lib.Modules; import mariculture.factory.Factory; import net.minecraft.item.ItemStack; import net.minecraftforge.oredict.OreDictionary; import codechicken.nei.api.API; import codechicken.nei.api.IConfigureNEI; public class MTNEIConfig implements IConfigureNEI { @Overri...
Java
# Aufgabe: `super` und `extends` einsetzen ## Lernziel Methoden unter Verwendung von `super` und `extends` gestalten, sodass sie flexibel auch mit Sub- bzw. Supertypen umgehen können. ## Umgebung * Eclipse ## Aufgabe In dieser Aufgabe sollen Sie die Klasse `Liste` aus der zweiten Aufgabe dieses Kapitels erweit...
Java