code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
class Category < ActiveRecord::Base
has_and_belongs_to_many :item
end
| montehoover/homeventory | app/models/category.rb | Ruby | apache-2.0 | 73 |
<?php
/**
* Layer slider config.
*
* @package the7
* @since 1.0.0
*/
// File Security Check
if ( ! defined( 'ABSPATH' ) ) { exit; }
if ( ! class_exists( 'Presscore_Modules_Compatibility_LayerSlider', false ) ) :
class Presscore_Modules_Compatibility_LayerSlider {
public static function execute() {
if ( !... | ZloVolk/TQ | wp-content/themes/dt-the7/inc/mods/compatibility/class-compatibility-layerslider.php | PHP | apache-2.0 | 870 |
/*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | cfieber/clouddriver | cats/cats-redis/src/main/java/com/netflix/spinnaker/cats/redis/cluster/ClusteredAgentScheduler.java | Java | apache-2.0 | 11,353 |
/*
* The MIT License
*
* Copyright (c) 2011 Takahiro Hashimoto
*
* 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
... | exercisecode/alidayu_demo | alidayu/src/main/java/com/taobao/api/internal/toplink/embedded/websocket/auth/Authenticator.java | Java | apache-2.0 | 2,469 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | nikhilvibhav/camel | components/camel-seda/src/main/java/org/apache/camel/component/seda/SedaProducer.java | Java | apache-2.0 | 10,784 |
package org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination;
import org.apache.pdfbox.cos.COSArray;
import org.apache.pdfbox.cos.COSBase;
/**
* This represents a destination to a page at an x,y coordinate with a zoom setting.
* The default x,y,z will be whatever is the current value in the v... | mdamt/PdfBox-Android | library/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDPageXYZDestination.java | Java | apache-2.0 | 2,967 |
<!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_45) on Thu Oct 13 19:29:17 UTC 2016 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class liquibase.diff.outp... | ErpMicroServices/party-database | liquibase-3.5.3-bin/sdk/javadoc/liquibase/diff/output/changelog/core/class-use/UnexpectedSequenceChangeGenerator.html | HTML | apache-2.0 | 6,525 |
package checkpoints_test
import (
"context"
"path/filepath"
"sort"
"testing"
. "github.com/pingcap/check"
"github.com/pingcap/errors"
"github.com/pingcap/tidb/br/pkg/lightning/checkpoints"
"github.com/pingcap/tidb/br/pkg/lightning/config"
"github.com/pingcap/tidb/br/pkg/lightning/mydump"
"github.com/pingcap... | coocood/tidb | br/pkg/lightning/checkpoints/checkpoints_file_test.go | GO | apache-2.0 | 8,239 |
// Copyright 2010 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writ... | rcari/google-api-cpp-client | service_apis/youtube/google/youtube_api/video_conversion_pings.h | C | apache-2.0 | 3,536 |
/*
* Copyright [2005] [University Corporation for Advanced Internet Development, Inc.]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*... | danpal/OpenSAML | src/main/java/org/opensaml/saml2/metadata/validator/AdditionalMetadataLocationSchemaValidator.java | Java | apache-2.0 | 2,113 |
<?php
final class ReleephIntentFieldSpecification
extends ReleephFieldSpecification {
public function getName() {
return 'Intent';
}
public function renderValueForHeaderView() {
return id(new ReleephRequestIntentsView())
->setReleephRequest($this->getReleephRequest())
->setReleephProject(... | apexstudios/phabricator | src/applications/releeph/field/specification/ReleephIntentFieldSpecification.php | PHP | apache-2.0 | 2,090 |
package com.ai.st.at;
public class DemoProviderbClientApplication {
public static void main(String[] args) {
}
}
| 01Studios/traffic | demo-providerb/demo-providerb-client/src/main/java/com/ai/st/at/DemoProviderbClientApplication.java | Java | apache-2.0 | 117 |
from __future__ import absolute_import
from collections import namedtuple
# Other useful structs
TopicPartition = namedtuple("TopicPartition",
["topic", "partition"])
BrokerMetadata = namedtuple("BrokerMetadata",
["nodeId", "host", "port", "rack"])
PartitionMetadata = namedtuple("PartitionMetadata",
["... | mumrah/kafka-python | kafka/structs.py | Python | apache-2.0 | 801 |
package Paws::OpsWorks::ListTagsResult;
use Moose;
has NextToken => (is => 'ro', isa => 'Str');
has Tags => (is => 'ro', isa => 'Paws::OpsWorks::Tags');
has _request_id => (is => 'ro', isa => 'Str');
### main pod documentation begin ###
=head1 NAME
Paws::OpsWorks::ListTagsResult
=head1 ATTRIBUTES
=head2... | ioanrogers/aws-sdk-perl | auto-lib/Paws/OpsWorks/ListTagsResult.pm | Perl | apache-2.0 | 828 |
require 'rails_helper'
RSpec.describe GooddataProject, :type => :model do
before { @gooddata_project = FactoryGirl.create(:gooddata_project) }
subject { @gooddata_project }
it { should respond_to(:name) }
it { should validate_uniqueness_of(:name) }
it { should validate_presence_of(:name) }
it { should res... | greatvines/amylase | spec/models/gooddata_project_spec.rb | Ruby | apache-2.0 | 800 |
/**
* @ngdoc directive
* @memberof ngMap
* @name ng-map
* @param Attr2Options {service}
* convert html attribute to Gogole map api options
* @description
* Implementation of {@link __MapController}
* Initialize a Google map within a `<div>` tag
* with given options and register events
*
* @attr {Expressio... | alejandromartincruz/codingtogether | vendor/assets/bower_components/ngmap/directives/map.js | JavaScript | apache-2.0 | 2,327 |
<!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_26) on Wed Oct 03 05:15:38 UTC 2012 -->
<TITLE>
Uses of Class org.apache.hadoop.record.compiler.JFile (Hadoop 1.0.4 API)
</TITLE>
<META NAME="date" ... | jrnz/hadoop | docs/api/org/apache/hadoop/record/compiler/class-use/JFile.html | HTML | apache-2.0 | 11,047 |
---
layout: vakit_dashboard
title: NEW_BRUNSWICK, KANADA için iftar, namaz vakitleri ve hava durumu - ilçe/eyalet seç
permalink: /KANADA/NEW_BRUNSWICK/MONCTON
---
<script type="text/javascript">
var GLOBAL_COUNTRY = 'KANADA';
var GLOBAL_CITY = 'NEW_BRUNSWICK';
var GLOBAL_STATE = 'MONCTON';
var lat = 72;
var ... | hakanu/iftar | _posts_/vakit/KANADA/NEW_BRUNSWICK/MONCTON/2017-02-01-MONCTON.markdown | Markdown | apache-2.0 | 343 |
// Copyright 2013-2016 Stanford University
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ... | jyi/abc | src/transform/weighted.h | C | apache-2.0 | 2,669 |
define(
({
loadingInfo: "جاري التحميل...",
emptyInfo: "لا توجد بنود ليتم عرضها",
loadFailInfo: "لم تنجح عملية تحميل البيانات!",
loadMore: "المزيد من التحميل",
loadMoreLoading: "جاري التحميل...",
loadPrevious: "تحميل السابق",
loadPreviousLoading: "جاري التحميل..."
})
);
| abssi/poc-tijari | dojoLib/toolkit/dojo/gridx/nls/ar/Body.js | JavaScript | apache-2.0 | 379 |
# Orlando-Labao
| Labao/Orlando-Labao | README.md | Markdown | apache-2.0 | 16 |
// Copyright 2011 Splunk, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"): you may
// not use this file except in compliance with the License. You may obtain
// a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | adamryman/splunk-sdk-javascript | examples/node/helloworld/search_normal.js | JavaScript | apache-2.0 | 3,563 |
// Copyright 2013 <chaishushan{AT}gmail.com>. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package codec
import (
"errors"
"net"
"net/rpc"
"testing"
// can not import xxx.pb with rpc stub here,
// because it will cause import cycle... | Kevin-GuanJian/cockroach | rpc/codec/rpc_test.go | GO | apache-2.0 | 6,115 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... | jdeppe-pivotal/geode | geode-core/src/main/java/org/apache/geode/distributed/internal/locks/GrantorInfo.java | Java | apache-2.0 | 2,614 |
<!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_29) on Mon Nov 26 17:21:13 MSK 2012 -->
<TITLE>
RoundTripHFPlaceholder12 (POI API Documentation)
</TITLE>
<META NAME="date" CONTENT="2012-1... | brenthand/Panda | poi-3.9/docs/apidocs/org/apache/poi/hslf/record/RoundTripHFPlaceholder12.html | HTML | apache-2.0 | 18,097 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Index of new symbols in 2.2</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="GLib Reference Manual">... | minixalpha/SourceLearning | glib/src/glib-2.37.93/docs/reference/glib/html/api-index-2-2.html | HTML | apache-2.0 | 7,138 |
.htmlarea { background: #fff; border: 1px solid #7f9db9; }
.htmlarea iframe { border: none; padding: 0; margin: 0; }
.htmlarea textarea { border: none; padding: 0; margin: 0; }
.htmlarea .toolbar {
cursor: default;
background: ButtonFace;
padding: 4px;
border: 1px solid;
border-color: ButtonHighlight ButtonH... | Pavel-Teplitsky/htmlarea-groupdocs-comparison-source | htmlarea/htmlarea/public/htmlarea.css | CSS | apache-2.0 | 4,555 |
# Akkaships
Battleship game implemented in Akka. Training project for Codemotion 2015
Slides from the workshop are available at [Slideshare](http://www.slideshare.net/miguel0afd/akkaships-primeros-pasos-con-akka-olvdate-de-los-threads)
## Requirements ##
[Apache Cassandra](http://www.apache.org/dyn/closer.lua/cassand... | jjlopezm/Akkaships-Exercise | README.md | Markdown | apache-2.0 | 1,950 |
/*
* Copyright (c) 2010-2013 Evolveum
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | rpudil/midpoint | infra/schema/src/test/java/com/evolveum/midpoint/schema/TestJaxbConstruction.java | Java | apache-2.0 | 23,746 |
<!--/*
This is a helper fragment that renders components and pages.
*/-->
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<body>
<!--/* render components */-->
<div th:fragment="component(this)">
<div th:if="${this}">
<div th:replace="${'components/' + this.typeCode}" th:with="this = ${this}">
... | mojo2012/spot-framework | spot-cms-base/src/main/resources/templates/cms.html | HTML | apache-2.0 | 612 |
/*
* Copyright 2016 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | wangcy6/storm_app | frame/storm-master/external/storm-kafka-client/src/test/java/org/apache/storm/kafka/spout/KafkaSpoutRebalanceTest.java | Java | apache-2.0 | 13,176 |
<!--
Copyright JS Foundation and other contributors, http://js.foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by ... | btsimonh/node-red | packages/node_modules/@node-red/nodes/core/network/22-websocket.html | HTML | apache-2.0 | 11,290 |
//
// Licensed to Green Energy Corp (www.greenenergycorp.com) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. Green Enery Corp licenses this file
// to you under the Apache License, Version 2.0 (the
// "... | cverges/dnp3 | opendnp3/DNP3/APDUConstants.cpp | C++ | apache-2.0 | 2,823 |
# Copyright (c) 2014 Mirantis Inc.
#
# Licensed under the Apache License, Version 2.0 (the License);
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, so... | japaniel/CloudFerry | cloudferrylib/os/actions/deploy_snapshots.py | Python | apache-2.0 | 4,490 |
// Copyright 2016 PingCAP, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | XuHuaiyu/tidb | types/mydecimal_test.go | GO | apache-2.0 | 31,514 |
alter table SYS_CATEGORY_ATTR add column LOOKUP boolean;
| dimone-kun/cuba | modules/core/db/update/postgres/01/01-440-addDropdownToCategoryAttribute.sql | SQL | apache-2.0 | 58 |
"""
mbed SDK
Copyright (c) 2011-2017 ARM Limited
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wr... | adustm/mbed | tools/export/gnuarmeclipse/__init__.py | Python | apache-2.0 | 40,515 |
/**
* Copyright 2016 The AMP HTML Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | adup-tech/amphtml | extensions/amp-ad/0.1/amp-ad-xorigin-iframe-handler.js | JavaScript | apache-2.0 | 19,018 |
Scalaz support for json4s
=========================
This project adds a type class to parse JSON:
trait JSON[A] {
def read(json: JValue): Result[A]
def write(value: A): JValue
}
type Result[A] = ValidationNEL[Error, A]
Function 'read' returns an Applicative Functor, enabling parsing in an ap... | nornagon/json4s | scalaz/README.md | Markdown | apache-2.0 | 2,987 |
<?php
/**************************************************************************
Copyright 2017 Benato Denis
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-... | NeroReflex/Gishiki | tests/Security/Encryption/Symmetric/CryptographyTest.php | PHP | apache-2.0 | 6,228 |
<html>
<!-- $Id: tools.html,v 1.49 2009/10/13 11:42:05 andy_seaborne Exp $ -->
<!-- (c) Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company LP -->
<head>
<title>Jena Semantic Web Framework - Command Line Utilities</title>
<meta name="author" content="The Jena Team" />
<meta name... | BiGCAT-UM/wp2lod | lib/Jena-2.6.4/doc/tools.html | HTML | apache-2.0 | 5,358 |
<?php
final class PhortuneSubscriptionEditController extends PhortuneController {
public function handleRequest(AphrontRequest $request) {
$viewer = $this->getViewer();
$subscription = id(new PhortuneSubscriptionQuery())
->setViewer($viewer)
->withIDs(array($request->getURIData('id')))
->... | hach-que/unearth-phabricator | src/applications/phortune/controller/PhortuneSubscriptionEditController.php | PHP | apache-2.0 | 4,179 |
/*
* Copyright (c) 2014-2018 by The Monix Project Developers.
* See the project homepage at: https://monix.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache... | Wogan/monix | monix-reactive/shared/src/main/scala/monix/reactive/internal/builders/ExecuteWithModelObservable.scala | Scala | apache-2.0 | 1,679 |
<!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 (1.8.0_45-internal) on Fri Sep 18 20:29:05 UTC 2015 -->
<title>fi.vincit.multiusertest.annotation (core 0.3.0-beta4 API)</title>
<meta name="date" con... | juhasipo/multi-user-test-runner | latest/javadocs/fi/vincit/multiusertest/annotation/package-summary.html | HTML | apache-2.0 | 5,251 |
package com.opzoon.xos.env;
public class UnxCommandResultAnalysor {
}
| github-hai/DemoCode | xOS/src/main/java/com/opzoon/xos/env/UnxCommandResultAnalysor.java | Java | apache-2.0 | 72 |
/*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | robovm/robovm-studio | plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/psi/impl/statements/typedef/GrTypeDefinitionMembersCache.java | Java | apache-2.0 | 14,114 |
class Post(object):
def __init__(self, **kwargs):
self.__dict__.update(kwargs)
def __iter__(self):
return iter(self.__dict__)
| emitrom/integra-openstack-ui | workflows/post/post.py | Python | apache-2.0 | 151 |
/*
* Copyright (c) 2005-2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apach... | pamod/andes | modules/andes-core/broker/src/main/java/org/wso2/andes/server/information/management/SubscriptionManagementInformationMBean.java | Java | apache-2.0 | 6,688 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>zebkit.io - zebkit</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
<link rel="stylesheet" href="../ass... | barmalei/zebkit | apidoc/dark/classes/zebkit.io.html | HTML | apache-2.0 | 105,825 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | acartapanis/camel | platforms/spring-boot/components-starter/camel-kafka-starter/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentAutoConfiguration.java | Java | apache-2.0 | 5,636 |
import { Reflection, Type } from "../models";
import type { Serializer } from "./serializer";
import type { ModelToObject } from "./schema";
/**
* Represents Serializer plugin component.
*
* Like {@link Converter} plugins each {@link Serializer} plugin defines a predicate that instructs if an
* object can be seri... | TypeStrong/typedoc | src/lib/serialization/components.ts | TypeScript | apache-2.0 | 2,894 |
/*
* Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com>
*/
package dotty.runtime.function;
@FunctionalInterface
public interface JFunction2$mcDDI$sp extends JFunction2<Object, Object, Object> {
abstract double apply$mcDDI$sp(double v1, int v2);
default Object apply(Object v1, Object v2) { ret... | som-snytt/dotty | library/src/dotty/runtime/function/JFunction2$mcDDI$sp.java | Java | apache-2.0 | 442 |
package tv.floe.metronome.io.records;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License,... | jpatanooga/Metronome | src/main/java/tv/floe/metronome/io/records/RecordFactory.java | Java | apache-2.0 | 2,223 |
'use strict';
const expect = require('chai').use(require('dirty-chai')).expect;
const Promise = require('bluebird');
const testHelpers = require('../test-helpers');
describe('PasswordResetController', () => {
let agent;
beforeEach(async () => {
agent = await testHelpers.getAgent();
});
describe('requesting... | porybox/porybox | test/controller/passwordReset.js | JavaScript | apache-2.0 | 10,711 |
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); ... | apache/flex-sdk | modules/swfutils/src/java/flash/swf/TagDecoder.java | Java | apache-2.0 | 84,326 |
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.uiDesigner.propertyInspector.properties;
import com.intellij.openapi.project.Project;
import com.intellij.uiDesigner.core.AbstractLayout;
import com.intellij... | ingokegel/intellij-community | plugins/ui-designer/src/com/intellij/uiDesigner/propertyInspector/properties/HGapProperty.java | Java | apache-2.0 | 2,599 |
/**
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); ... | machristie/airavata | modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/Script.java | Java | apache-2.0 | 2,796 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>BaseTen Reference Manual</title>
<link href="documentation.css" rel="stylesheet" type="text/css">
</head>
<body>
<di... | gservera/baseten | Documentation/html/interface_b_x_object_status_info.html | HTML | apache-2.0 | 3,601 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks... | khyperia/roslyn | src/VisualStudio/Core/Def/Implementation/ProjectSystem/DocumentProvider.cs | C# | apache-2.0 | 35,471 |
//*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,... | munyirik/nodejstools | Nodejs/Product/Profiling/Profiling/LaunchProfiling.xaml.cs | C# | apache-2.0 | 3,041 |
# Copyright 2017-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | opencord/xos | xos/core/migrations/0012_backupoperation_decl_uuid.py | Python | apache-2.0 | 1,124 |
#!/usr/bin/env python
"""
conference.py -- Udacity conference server-side Python App Engine API;
uses Google Cloud Endpoints
$Id: conference.py,v 1.25 2014/05/24 23:42:19 wesc Exp wesc $
created by wesc on 2014 apr 21
"""
__author__ = 'wesc+api@google.com (Wesley Chun)'
from datetime import datetime
import js... | kirklink/udacity-fullstack-p4 | conference.py | Python | apache-2.0 | 40,994 |
package io.advantageous.qbit.metrics.support;
import io.advantageous.qbit.metrics.StatReplicator;
import io.advantageous.qbit.queue.QueueCallBackHandler;
import io.advantageous.qbit.util.Timer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.net.*;
import java.nio.Byte... | bsa01/qbit | qbit/admin/src/main/java/io/advantageous/qbit/metrics/support/StatsDReplicator.java | Java | apache-2.0 | 12,140 |
package uk.ac.ox.oucs.vle.resources;
/**
* These are marker classes that are used in JSON serialisation to limit the properties and nested objects
* that are returned.
*/
public class Views {
static public class Flat {}
}
| ox-it/wl-course-signup | tool/src/main/java/uk/ac/ox/oucs/vle/resources/Views.java | Java | apache-2.0 | 230 |
require "logstash/agent"
require "logstash/pipeline"
require "logstash/event"
require "stud/try"
require "rspec/expectations"
require "thread"
module LogStashHelper
DEFAULT_NUMBER_OF_TRY = 5
DEFAULT_EXCEPTIONS_FOR_TRY = [RSpec::Expectations::ExpectationNotMetError]
def try(number_of_try = DEFAULT_NUMBER_OF_TRY,... | svanschalkwyk/datafari | debian7/elk/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-beats-0.9.2/vendor/jruby/1.9/gems/logstash-devutils-0.0.18-java/lib/logstash/devutils/rspec/logstash_helpers.rb | Ruby | apache-2.0 | 2,809 |
/*
* Title: GridSim Toolkit
* Description: GridSim (Grid Simulation) Toolkit for Modeling and Simulation
* of Parallel and Distributed Systems such as Clusters and Grids
* License: GPL - http://www.gnu.org/copyleft/gpl.html
*/
package gridsim.parallel.scheduler;
import java.util.Collec... | mzuhri/salam | salam/salam-external-lib/src/main/java/gridsim/parallel/scheduler/ConservativeBackfill.java | Java | apache-2.0 | 23,347 |
/*
* Copyright © 2014 - 2018 Leipzig University (Database Research Group)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | niklasteichmann/gradoop | gradoop-flink/src/main/java/org/gradoop/flink/algorithms/fsm/dimspan/functions/mining/ExpandFrequentPatterns.java | Java | apache-2.0 | 1,600 |
package router
import (
"sync/atomic"
"github.com/AsynkronIT/protoactor-go/actor"
)
type roundRobinGroupRouter struct {
GroupRouter
}
type roundRobinPoolRouter struct {
PoolRouter
}
type roundRobinState struct {
index int32
routees *actor.PIDSet
values []actor.PID
}
func (state *roundRobinState) SetRout... | martinyunify/qingcloud-cni | vendor/github.com/AsynkronIT/protoactor-go/router/roundrobin_router.go | GO | apache-2.0 | 1,384 |
html, body {
font-weight: 300;
height: 100%;
}
main.container {
min-height: 100vh;
padding: 15px 15px;
padding-bottom: 45px; /* prevents the content to be hidden by the gitter sidecar */
}
.container img {
width: 100%;
height: auto;
}
/* headers */
main header {
border-bottom: 1px solid rgba(0,0,0,.1... | lampepfl/dotty | docs/_assets/css/dottydoc.css | CSS | apache-2.0 | 3,989 |
/*
* Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | mesutcelik/hazelcast | hazelcast/src/main/java/com/hazelcast/internal/diagnostics/MemberHeartbeatPlugin.java | Java | apache-2.0 | 5,971 |
/*
* Copyright 2014 Hippo B.V. (http://www.onehippo.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | onehippo/essentials | plugins/tagging/src/main/java/org/onehippo/cms7/essentials/plugins/tagging/TaggingInstructionPackage.java | Java | apache-2.0 | 2,473 |
/**
* Copyright 2011-2015 Quickstep Technologies LLC.
* Copyright 2015 Pivotal Software, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org... | pivotalsoftware/quickstep | utility/BitManipulation.hpp | C++ | apache-2.0 | 4,813 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License")... | alexryndin/ambari | contrib/views/wfmanager/src/main/resources/ui/app/domain/workflow-importer.js | JavaScript | apache-2.0 | 7,530 |
<!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_111) on Thu Aug 18 01:51:18 UTC 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.a... | TK-TarunW/ecosystem | hadoop-2.7.3/share/doc/hadoop/api/org/apache/hadoop/mapreduce/lib/db/class-use/DataDrivenDBRecordReader.html | HTML | apache-2.0 | 7,724 |
package at.jku.sea.cloud.rest.client.stream.provider.implementation;
import at.jku.sea.cloud.CollectionArtifact;
import at.jku.sea.cloud.rest.client.stream.provider.RestProvider;
import at.jku.sea.cloud.rest.pojo.factory.PojoFactory;
import at.jku.sea.cloud.rest.pojo.stream.provider.PojoCollectionArtifactProvider;
imp... | OnurKirkizoglu/master_thesis | at.jku.sea.cloud.rest.client/src/main/java/at/jku/sea/cloud/rest/client/stream/provider/implementation/CollectionArtifactProvider.java | Java | apache-2.0 | 1,020 |
# Copyright (c) 2015 Hewlett-Packard Development Company, L.P.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICEN... | ekosareva/vmware-dvs | networking_vsphere/tests/unit/drivers/test_ovs_firewall.py | Python | apache-2.0 | 28,260 |
/*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | gnudeep/app-cloud | modules/components/org.wso2.appcloud.provisioning.runtime/src/main/java/org/wso2/appcloud/provisioning/runtime/beans/VolumeMountInfo.java | Java | apache-2.0 | 1,968 |
class Post < ActiveRecord::Base
belongs_to :user
has_many :comments, dependent: :destroy
validates :user_id, presence: true
validates :image, presence: true
validates :caption, length: { minimum: 3, maximum: 300 }
has_attached_file :image, styles: { :medium => "640x" }
validates_attachment_content_type ... | dstroppa/ecs-cd-demo-app | web/app/models/post.rb | Ruby | apache-2.0 | 365 |
/* $Id: hash.h 840 2007-09-09 12:17:42Z michael $
* $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/hash.h $
*
* hashes (associative arrays)
*
* Copyright (C) 2003 Michael Reinelt <michael@reinelt.co.at>
* Copyright (C) 2004 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>
*
* This file is part of LCD... | Johny-C/smartwatch-repo | lcd4linux/hash.h | C | apache-2.0 | 2,159 |
<?php
/*
* This file is part of the League\Fractal package.
*
* (c) Phil Sturgeon <me@philsturgeon.uk>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
**/
namespace League\Fractal;
use InvalidArgumentException;
use League\Fractal\R... | MasDeny/jwt-laravel-auth | vendor/league/fractal/src/Scope.php | PHP | apache-2.0 | 14,502 |
/*
* (c) Copyright 2020 Palantir Technologies Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | palantir/atlasdb | timelock-agent/src/main/java/com/palantir/atlasdb/timelock/paxos/TimeLockCorruptionComponents.java | Java | apache-2.0 | 1,294 |
# Install script for directory: C:/Users/petit/Documents/Reflect_build123/llvm/tools/lto
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/LLVM")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install config... | Enseed/Reflect_build | build-clang/msvc/generated/tools/lto/cmake_install.cmake | CMake | apache-2.0 | 2,325 |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>class_options (Thor::Base::ClassMethods)</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859... | ThoughtWorksStudios/excel-2010-mingle-addin | tools/ironruby/lib/ironruby/gems/1.8/doc/bundler-1.0.15/rdoc/classes/Thor/Base/ClassMethods.src/M000078.html | HTML | apache-2.0 | 1,302 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<meta name="description" content="Point cloud of the city of Montr... | jasonbeverage/cesium | Apps/Sandcastle/gallery/Montreal Point Cloud.html | HTML | apache-2.0 | 10,388 |
<!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_60-ea) on Thu Jul 09 21:02:09 CEST 2015 -->
<title>Grapes (Groovy 2.4.4)</title>
<meta name="date" content="2015-07-09">
<link rel="sty... | OpenBEL/kam-nav | tools/groovy/doc/html/api/groovy/lang/Grapes.html | HTML | apache-2.0 | 9,570 |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... | begoldsm/azure-sdk-for-node | lib/services/resourceManagement/lib/resource/models/provider.js | JavaScript | apache-2.0 | 2,219 |
# frozen_string_literal: true
class SessionsController < Devise::SessionsController
before_action :load_game, :load_message_count, except: %i[new destroy]
before_action :load_game_for_login, only: %i[new]
def load_game_for_login
@game = Game.instance
end
def new
super
end
end
| mitre-cyber-academy/ctf-scoreboard | app/controllers/sessions_controller.rb | Ruby | apache-2.0 | 300 |
#!/usr/bin/env node
/**
* So we need two builds of sp-frontend with marginal changes for electron. The one for deployment at https://stream.place/ uses a root of "/" and the one for Electon uses a root of ".". This does
* that.
*/
/* eslint-disable no-console */
const child = require("child_process");
const fs = ... | streamkitchen/streamkitchen | packages/sp-frontend/src/double-build.js | JavaScript | apache-2.0 | 1,191 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | shakamunyi/beam | sdks/java/core/src/main/java/com/google/cloud/dataflow/sdk/util/MonitoringUtil.java | Java | apache-2.0 | 8,343 |
function validate() {
$("#app-form").bootstrapValidator({
message: "This value is not valid",
feedbackIcons: {
valid: "glyphicon glyphicon-ok",
invalid: "glyphicon glyphicon-remove",
validating: "glyphicon glyphicon-refresh"
},
fields: {
... | Esjob-Cloud-DevOps/elastic-job | elastic-job-cloud/elastic-job-cloud-scheduler/src/main/resources/console/js/app/app_common.js | JavaScript | apache-2.0 | 4,039 |
# Copyright (c) 2014 OpenStack Foundation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | KoreaCloudObjectStorage/swift3 | swift3/subresource.py | Python | apache-2.0 | 16,885 |
package jef.orm.multitable2;
import java.io.Serializable;
import javax.persistence.Entity;
@Entity
public class TextValuePair implements Comparable<TextValuePair>,Serializable{
private static final long serialVersionUID = -2213222495346597158L;
private String text;
private String value;
public TextValuePair()... | xuse/ef-orm | orm-test/src/test/java/jef/orm/multitable2/TextValuePair.java | Java | apache-2.0 | 1,320 |
// Copyright 2015 The Serviced Authors.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... | control-center/serviced | volume/btrfs/btrfs_unit_test.go | GO | apache-2.0 | 8,237 |
---
layout: vakit_dashboard
title: MORINGEN, ALMANYA için iftar, namaz vakitleri ve hava durumu - ilçe/eyalet seç
permalink: /ALMANYA/MORINGEN
---
## MORINGEN (ALMANYA) için iftar, namaz vakitleri ve hava durumu görmek için bir ilçe/eyalet seç
Aşağıdaki listeden bir şehir ya da semt seçin
* [ (MORINGEN, ALMANYA) iç... | hakanu/iftar | _posts_/vakit/ALMANYA/MORINGEN/2017-02-01-MORINGEN.markdown | Markdown | apache-2.0 | 525 |
import gdb
# This is not quite right, as local vars may override symname
def read_global_var (symname):
return gdb.selected_frame().read_var(symname)
def g_quark_to_string (quark):
if quark == None:
return None
quark = long(quark)
if quark == 0:
return None
try:
val = read_... | jonnyniv/boost_converter | host/gui/GTK+/share/glib-2.0/gdb/glib.py | Python | apache-2.0 | 7,426 |
#----------------------------------------------------------------
# Generated CMake target import file for configuration "".
#----------------------------------------------------------------
# Commands may need to know the format version.
set(CMAKE_IMPORT_FILE_VERSION 1)
# Import target "childproject" for configurati... | hughperkins/pub-prototyping | cmake/testextinc/install/lib/childproject-noconfig.cmake | CMake | apache-2.0 | 821 |
/*
* Copyright 2018 Red Hat, Inc, and individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | wildfly-swarm/wildfly-swarm | fractions/microprofile/microprofile-fault-tolerance/src/main/java/org/wildfly/swarm/microprofile/faulttolerance/deployment/MicroProfileFaultToleranceExtension.java | Java | apache-2.0 | 4,158 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apurtell/phoenix | phoenix-core/src/main/java/org/apache/phoenix/util/UpsertExecutor.java | Java | apache-2.0 | 5,876 |
<?php
include_once(dirname(dirname(dirname(__FILE__))).DIRECTORY_SEPARATOR."modules.php");
include_once(dirname(__FILE__).DIRECTORY_SEPARATOR."config.php");
?>
var chatScroll, lobbyScroll, chatroomScroll, woScroll, cruserScroll, baseurl = "<?php echo BASE_URL; ?>";
var cookie_prefix = '<?php echo $cookiePrefix; ?>';
<?... | networksoft/erp.roshlife | cometchat/extensions/mobilewebapp/mobilewebapp.js | JavaScript | apache-2.0 | 77,592 |
/*
* Copyright 2016 The BigDL Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | qiuxin2012/BigDL | spark/dl/src/main/scala/com/intel/analytics/bigdl/nn/ops/ModuleToOperation.scala | Scala | apache-2.0 | 1,518 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.