code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
// Diamond-in-the-Rough // Code Wars program written in JavaScript for the RingoJS environment // // The MIT License (MIT) // // Copyright (c) 2015 Lee Jenkins // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software...
p473lr/i-urge-mafia-gear
HP Code Wars Documents/2015/Solutions/prob11_DiamondInTheRough-lee.js
JavaScript
apache-2.0
3,164
package apple.uikit; import java.io.*; import java.nio.*; import java.util.*; import com.google.j2objc.annotations.*; import com.google.j2objc.runtime.*; import com.google.j2objc.runtime.block.*; import apple.audiotoolbox.*; import apple.corefoundation.*; import apple.coregraphics.*; import apple.coreservices.*; impo...
Sellegit/j2objc
runtime/src/main/java/apple/uikit/UIMenuControllerArrowDirection.java
Java
apache-2.0
1,076
/** * @private * @providesModule CustomTabsAndroid * @flow */ 'use strict'; import { NativeModules } from 'react-native'; import type { TabOption } from './TabOption'; const CustomTabsManager = NativeModules.CustomTabsManager; /** * To open the URL of the http or https in Chrome Custom Tabs. * If Chrome is not...
droibit/react-native-custom-tabs
src/CustomTabsAndroid.js
JavaScript
apache-2.0
701
package com.swifts.frame.modules.wx.fastweixin.company.message.req; /** * 微信企业号异步任务类型 * ==================================================================== * * -------------------------------------------------------------------- * @author Nottyjay * @version 1.0.beta * @since 1.3.6 * ===================...
hanyahui88/swifts
src/main/java/com/swifts/frame/modules/wx/fastweixin/company/message/req/QYBatchJobType.java
Java
apache-2.0
754
/* * Copyright (c) 2010-2017 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...
Pardus-Engerek/engerek
model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/rbac/TestRbacDeprecated.java
Java
apache-2.0
1,603
/* * Copyright 2010-2020 Alfresco Software, Ltd. * * 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 ...
Activiti/Activiti
activiti-core/activiti-bpmn-model/src/main/java/org/activiti/bpmn/model/EventGateway.java
Java
apache-2.0
912
// Originally submitted to OSEHRA 2/21/2017 by DSS, Inc. // Authored by DSS, Inc. 2014-2017 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VA.Gov.Artemis.Vista.Broker { internal enum RpcMessageStatus { Uknown, Ready, Error } }
VHAINNOVATIONS/Maternity-Tracker
Dashboard/va.gov.artemis.vista/Broker/RpcMessageStatus.cs
C#
apache-2.0
316
/* * Copyright 2017-present Facebook, 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...
shybovycha/buck
src/com/facebook/buck/skylark/io/impl/SimpleGlobber.java
Java
apache-2.0
3,622
using System; using Microsoft.SPOT; namespace WeatherStation.WebServer { /// <summary> /// Base class for HTTP object (request/response) /// </summary> public class HttpBase { #region Constants ... // const string separator protected const char CR = '\r'; protected ...
ppatierno/mfweatherstation
WeatherStation/WebServer/HttpBase.cs
C#
apache-2.0
1,574
// 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...
jcshen007/cloudstack
api/src/org/apache/cloudstack/api/command/user/loadbalancer/UploadSslCertCmd.java
Java
apache-2.0
5,159
package info.cyanac.plugin.bukkit; import java.util.ArrayList; import java.util.List; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.command.TabCompleter; public class CyanACTabCompleter implements TabCompleter { @Override public List<String> onTabComplete(CommandSen...
Moritz30-Projects/CyanAC-Plugin
src/info/cyanac/plugin/bukkit/CyanACTabCompleter.java
Java
apache-2.0
675
<?php /** * This file is part of the SevenShores/NetSuite library * AND originally from the NetSuite PHP Toolkit. * * New content: * @package ryanwinchester/netsuite-php * @copyright Copyright (c) Ryan Winchester * @license http://www.apache.org/licenses/LICENSE-2.0 Apache-2.0 * @link https://githu...
RyanWinchester/netsuite-php
src/Classes/FolderFolderType.php
PHP
apache-2.0
1,641
<?php /** * Menu Module * * @author Bálint Horváth <balint@snett.net> */ namespace Franklin\Component; class Menu extends \Franklin\System\Object{ public $Id; public $Name; public $Status; public $CleanURL; public function __construct($Parent) { parent::__construct($Parent); ...
snett/Franklin
Modules/Component/Menu.php
PHP
apache-2.0
375
package pe.com.ccpl.siconc.web.service; import pe.com.ccpl.siconc.web.model.Role; public interface RoleService { public Role getRole(int id); }
JR-CCPL87/ccpl-affirmation
src/main/java/pe/com/ccpl/siconc/web/service/RoleService.java
Java
apache-2.0
150
/* * Copyright (c) 2011, 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 * * Un...
prabushi/devstudio-tooling-esb
plugins/org.wso2.developerstudio.eclipse.artifact.proxyservice/src/org/wso2/developerstudio/eclipse/artifact/proxyservice/validators/ProxyServiceProjectFieldController.java
Java
apache-2.0
8,585
/* * Copyright (C) 2008 ZXing 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 l...
WindFromFarEast/SmartButler
libzxing/src/main/java/com/xys/libzxing/zxing/activity/CaptureActivity.java
Java
apache-2.0
10,672
/** \file parse_options.cpp \author michael.zohner@ec-spride.de \copyright ABY - A Framework for Efficient Mixed-protocol Secure Two-party Computation Copyright (C) 2015 Engineering Cryptographic Protocols Group, TU Darmstadt This program is free software: you can redistribute it and/or modify it under t...
huxh10/iSDX
aby/src/abycore/util/parse_options.cpp
C++
apache-2.0
4,288
"""heroku_blog URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Clas...
barbossa/django-heroku-blog
heroku_blog/urls.py
Python
apache-2.0
1,004
/** * Copyright (c) 2005-2012 https://github.com/zhangkaitao Licensed under the Apache License, Version 2.0 (the * "License"); */ package com.yang.spinach.common.utils.spring; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.List; impo...
yangb0/spinach
spinach/spinach-web/src/main/java/com/yang/spinach/common/utils/spring/SpringCacheManagerWrapper.java
Java
apache-2.0
3,363
package org.javacore.io.zip; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import ...
tzpBingo/java-example
src/main/java/org/javacore/io/zip/ZipCompress.java
Java
apache-2.0
4,471
/** * * Copyright 2014-2017 Florian Schmaus * * 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 ...
Flowdalic/java-pinning
java-pinning-core/src/main/java/eu/geekplace/javapinning/pin/Pin.java
Java
apache-2.0
3,689
/* * Copyright 2014 Richard Thurston. * * 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...
Jukkorsis/Hadrian
src/main/java/com/northernwall/hadrian/handlers/service/dao/GetAuditData.java
Java
apache-2.0
840
<?php /** * NewExten listener, will capture extensions as channels step by them. * * PHP Version 5 * * @category AsterTrace * @package EventHandlers * @author Marcelo Gornstein <marcelog@gmail.com> * @license http://marcelog.github.com/ Apache License 2.0 * @version SVN: $Id$ * @link http://marcelog....
marcelog/AsterTrace
src/mg/AsterTrace/EventHandlers/NewExtenListener.php
PHP
apache-2.0
1,505
<?php namespace Elastica\Filter; use Elastica\Exception\InvalidException; /** * Geo distance filter * * @category Xodoa * @package Elastica * @author Nicolas Ruflin <spam@ruflin.com> * @link http://www.elasticsearch.org/guide/reference/query-dsl/geo-distance-filter.html */ abstract class Abstrac...
ramanna/elastica
lib/Elastica/Filter/AbstractGeoDistance.php
PHP
apache-2.0
5,209
/** * Copyright (C) 2015 Red Hat, 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...
fabric8io/kubernetes-client
kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/WatchHTTPManager.java
Java
apache-2.0
4,143
<?php declare(strict_types=1); /** * DO NOT EDIT THIS FILE as it will be overwritten by the Pbj compiler. * @link https://github.com/gdbots/pbjc-php * * Returns an array of curies using mixin "triniti:curator:mixin:has-related-teasers:v1" * @link http://schemas.triniti.io/json-schema/triniti/curator/mixin/has-rel...
triniti/schemas
build/php/src/manifests/triniti/curator/mixin/has-related-teasers/v1.php
PHP
apache-2.0
362
package com.google.api.ads.adwords.jaxws.v201406.cm; import java.util.List; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebResult; import javax.jws.WebService; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.ws.RequestWrapper; import javax.xml.ws.ResponseWrapper; /** * *...
nafae/developer
modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201406/cm/CampaignFeedServiceInterface.java
Java
apache-2.0
4,521
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
pdeva/druid
processing/src/main/java/io/druid/query/extraction/MatchingDimExtractionFn.java
Java
apache-2.0
2,777
/* * Copyright 2009-2020 Aarhus 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 applicab...
cs-au-dk/TAJS
src/dk/brics/tajs/analysis/dom/event/EventException.java
Java
apache-2.0
2,982
package com.svcet.cashportal.service; import com.svcet.cashportal.web.beans.UserRequest; import com.svcet.cashportal.web.beans.UserRolesScreenRequest; import com.svcet.cashportal.web.beans.UserRolesScreenResponse; public interface UserRoleService { UserRolesScreenResponse editUserRoles(UserRequest userRequest); v...
blessonkavala/cp
cashportal/src/main/java/com/svcet/cashportal/service/UserRoleService.java
Java
apache-2.0
391
package com.igoldin.qa.school.appmanager; import com.igoldin.qa.school.model.ContactData; import com.igoldin.qa.school.model.Contacts; import com.igoldin.qa.school.model.GroupData; import com.igoldin.qa.school.model.Groups; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.boot.Me...
igoldin74/java_for_testers
addressbook_tests/src/test/java/com/igoldin/qa/school/appmanager/DbHelper.java
Java
apache-2.0
1,614
package org.netbeans.modules.manifestsupport.dataobject; import org.openide.loaders.DataNode; import org.openide.nodes.Children; public class ManifestDataNode extends DataNode { private static final String IMAGE_ICON_BASE = "SET/PATH/TO/ICON/HERE"; public ManifestDataNode(ManifestDataObject obj) { ...
bernhardhuber/netbeansplugins
nb-manifest-support/zip/ManifestSupport/src/org/netbeans/modules/manifestsupport/dataobject/ManifestDataNode.java
Java
apache-2.0
805
<?php session_start(); if(isset($_SESSION['id'])) { $zoubouboubou=$_SESSION['mail']; $id_etudiant=$_SESSION['id']; require_once("includes/connexion.php"); $sql="SELECT id, mail FROM compte_etudiant WHERE id='$id_etudiant'"; $req=mysql_query($sql); $ligne=mysql_fetch_assoc($req); if($id_etudiant...
r0mdau/espelette
effUser.php
PHP
apache-2.0
880
using Aggregator.Core.Monitoring; namespace Aggregator.Core.Configuration { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Xml; using System.Xml.Linq; using System.Xml.Schema; #pragma warning disable S101 // Types should be named i...
tfsaggregator/tfsaggregator
Aggregator.Core/Aggregator.Core/Configuration/TFSAggregatorSettings.cs
C#
apache-2.0
3,073
/** * Copyright [2009-2010] [dennis zhuang(killme2008@gmail.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 * applicable la...
killme2008/xmemcached
src/main/java/net/rubyeye/xmemcached/command/text/TextGetOneCommand.java
Java
apache-2.0
2,662
package com.gbaldera.yts.fragments; import android.content.Loader; import com.gbaldera.yts.loaders.PopularMoviesLoader; import com.jakewharton.trakt.entities.Movie; import java.util.List; public class PopularMoviesFragment extends BaseMovieFragment { @Override protected int getLoaderId() { return B...
gbaldera/Yts
app/src/main/java/com/gbaldera/yts/fragments/PopularMoviesFragment.java
Java
apache-2.0
495
using System.Collections.Generic; using System.Windows.Forms; using System.Xml; using System.Xml.XPath; namespace PlaylistEditor { class HTMLHandler { public static string XPathHTML(HtmlElement elem) { string elemXPath = ""; string children = ""; List<string...
jeborgesm/PlaylistEditor
PlaylistEditor/Objects/HTMLHandler.cs
C#
apache-2.0
9,234
/* * Copyright 2003-2019 Dave Griffith, Bas Leijdekkers * * 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 applicab...
leafclick/intellij-community
plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/javadoc/MissingDeprecatedAnnotationInspection.java
Java
apache-2.0
8,667
#!/usr/bin/env ruby # Encoding: utf-8 # # Author:: api.davidtorres@gmail.com (David Torres) # # Copyright:: Copyright 2013, Google Inc. All Rights Reserved. # # License:: Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # ...
pngarland/google-api-ads-ruby
dfp_api/examples/v201405/contact_service/get_uninvited_contacts.rb
Ruby
apache-2.0
2,965
package com.google.api.ads.adwords.jaxws.v201406.video; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; import com.google.api.ads.adwords.jaxws.v201406.cm.Money; /** * * Class representing the various summary ...
nafae/developer
modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201406/video/SummaryBudgets.java
Java
apache-2.0
3,027
var assert = require("assert"), expect = require('expect.js'), cda = require("../utils/xml.js").cda, DOMParser = require('xmldom').DOMParser, XmlSerializer = require('xmldom').XMLSerializer, xmlUtils = require("../utils/xml.js").xml, FunctionalStatusSectionCreator = require("../Model/Functional...
lantanagroup/SEE-Tool
test/functionalStatus.js
JavaScript
apache-2.0
2,525
# -*- cpy-indent-level: 4; indent-tabs-mode: nil -*- # ex: set expandtab softtabstop=4 shiftwidth=4: # # Copyright (C) 2008,2009,2010,2011,2012,2013,2014,2018 Contributor # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obt...
quattor/aquilon
lib/aquilon/worker/commands/add_rack_bunker.py
Python
apache-2.0
1,006
package com.rodbate.httpserver.nioserver.old; public interface WriterChannel { }
rodbate/httpserver
src/main/java/com/rodbate/httpserver/nioserver/old/WriterChannel.java
Java
apache-2.0
86
package com.glaf.base.modules.sys.model; import java.io.Serializable; import java.util.Date; public class Dictory implements Serializable { private static final long serialVersionUID = 2756737871937885934L; private long id; private long typeId; private String code; private String name; private int sort; privat...
jior/glaf-gac
glaf-base/src/main/java/com/glaf/base/modules/sys/model/Dictory.java
Java
apache-2.0
1,856
# Copyright 2018 Red Hat, 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, ...
openvswitch/ovn-scale-test
rally_ovs/plugins/ovs/ovnclients.py
Python
apache-2.0
5,955
<?php // Check for empty fields if(empty($_POST['name']) || empty($_POST['email']) || empty($_POST['phone']) || empty($_POST['message']) || !filter_var($_POST['email'],FILTER_VALIDATE_EMAIL)) { echo "No arguments Provided!"; return false; } $name = $_POST['name']; $email_address = $_POST['em...
seanwash/sharay.com
mail/contact_me.php
PHP
apache-2.0
1,091
'use strict'; goog.provide('Blockly.JavaScript.serial'); goog.require('Blockly.JavaScript'); Blockly.JavaScript.serial_print = function() { var content = Blockly.JavaScript.valueToCode(this, 'CONTENT', Blockly.JavaScript.ORDER_ATOMIC) || '\"\"' var code = 'serial.writeString(\'\' + '+content+');\n'; return code...
xbed/Mixly_Arduino
mixly_arduino/blockly/generators/microbit_js/serial.js
JavaScript
apache-2.0
2,128
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc from google.cloud.spanner_v1.proto import ( result_set_pb2 as google_dot_cloud_dot_spanner__v1_dot_proto_dot_result__set__pb2, ) from google.cloud.spanner_v1.proto import ( spanner_pb2 as google_dot_cloud_dot_spanner__v1_dot_prot...
tseaver/google-cloud-python
spanner/google/cloud/spanner_v1/proto/spanner_pb2_grpc.py
Python
apache-2.0
22,552
package com.comps.util; import com.google.gson.Gson; public class GsonManager { private static Gson instance; public static Gson getInstance(){ if (instance == null){ instance = new Gson(); } return instance; } }
diogocs1/comps
mobile/src/com/comps/util/GsonManager.java
Java
apache-2.0
231
import { IInjectable } from "../common/common"; import { TypedMap } from "../common/common"; import { StateProvider } from "./stateProvider"; import { ResolveContext } from "../resolve/resolveContext"; import * as angular from 'angular'; import IScope = angular.IScope; /** * Annotates a controller expression (m...
sztymelq/sztymelscy-webpack
node_modules/angular-ui-router/release/ng1/services.d.ts
TypeScript
apache-2.0
1,103
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs // 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: 2012.09.17 at 0...
OpenSourceConsulting/athena-chameleon
src/main/java/com/athena/chameleon/engine/entity/xml/application/jeus/v5_0/VendorType.java
Java
apache-2.0
1,969
package it.unibz.inf.ontop.renderer; /* * #%L * ontop-obdalib-core * %% * Copyright (C) 2009 - 2014 Free University of Bozen-Bolzano * %% * 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 a...
srapisarda/ontop
obdalib-core/src/main/java/it/unibz/inf/ontop/renderer/TargetQueryRenderer.java
Java
apache-2.0
9,391
#define SQLITE_ASCII #define SQLITE_DISABLE_LFS #define SQLITE_ENABLE_OVERSIZE_CELL_CHECK #define SQLITE_MUTEX_OMIT #define SQLITE_OMIT_AUTHORIZATION #define SQLITE_OMIT_DEPRECATED #define SQLITE_OMIT_GET_TABLE #define SQLITE_OMIT_INCRBLOB #define SQLITE_OMIT_LOOKASIDE #define SQLITE_OMIT_SHARED_CACHE #define SQLITE_OM...
hsu1994/Terminator
Client/Assets/Scripts/Air2000/Utility/Sqlite/Sqlite3/source/src/attach_c.cs
C#
apache-2.0
19,135
/* * ****************************************************************************** * Copyright 2014-2017 Spectra Logic Corporation. 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. A copy of the License i...
DenverM80/ds3_java_sdk
ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/parsers/ModifyUserSpectraS3ResponseParser.java
Java
apache-2.0
2,377
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2016 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ // Provides control sap.m.MessagePopover. sap.ui.define(["jquery.sap.global", "./ResponsivePopover", "./Button", "./Toolbar", "./Tool...
pro100den/openui5-bundle
Resources/public/sap/m/MessagePopover-dbg.js
JavaScript
apache-2.0
37,700
using BdlIBMS.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BdlIBMS.Repositories { public interface IUserRepository : IRepository<string, User> { User FindByUserNameAndPassword(string userName, string password); ...
chengliangkaka/PazhouBanghua_BMS
BdlIBMS/Repositories/IUserRepository.cs
C#
apache-2.0
328
package com.github.particlesystem.modifiers; import com.github.particlesystem.Particle; public interface ParticleModifier { /** * modifies the specific value of a particle given the current miliseconds * * @param particle * @param miliseconds */ void apply(Particle particle, long mi...
rohitiskul/ParticleSystem
particlesystem/src/main/java/com/github/particlesystem/modifiers/ParticleModifier.java
Java
apache-2.0
335
package com.ftfl.icare; import java.util.List; import com.ftfl.icare.adapter.CustomAppointmentAdapter; import com.ftfl.icare.adapter.CustomDoctorAdapter; import com.ftfl.icare.helper.AppointmentDataSource; import com.ftfl.icare.helper.DoctorProfileDataSource; import com.ftfl.icare.model.Appointment; import com.ftfl.i...
FTFL02-ANDROID/julkarnine
ICare/src/com/ftfl/icare/FragmentAppointmentList.java
Java
apache-2.0
3,803
package com.ymsino.water.service.manager.manager; import java.util.List; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebResult; import javax.jws.WebService; import javax.xml.ws.RequestWrapper; import javax.xml.ws.ResponseWrapper; /** * This class was generated by the JAX-WS RI....
xcjava/ymWaterWeb
manager_ws_client/com/ymsino/water/service/manager/manager/ManagerService.java
Java
apache-2.0
6,070
# -*- coding: utf-8 -*- import allure from selenium.webdriver.common.by import By from .base import BasePage from .elements import SimpleInput, SimpleText from .blocks.nav import NavBlock class BrowseMoviePageLocators(object): """Локаторы страницы просмотра информации о фильме""" TITLE_LOCATOR = (By.CSS_SE...
adv-tsk/Course-Se-Python
php4dvd/pages/movie.py
Python
apache-2.0
5,067
package app.yweather.com.yweather.util; import android.annotation.TargetApi; import android.content.Context; import android.content.SharedPreferences; import android.os.Build; import android.preference.PreferenceManager; import org.json.JSONArray; import org.json.JSONObject; import java.text.SimpleDateFormat; import...
llxyhuang/YWeather
app/src/main/java/app/yweather/com/yweather/util/Utility.java
Java
apache-2.0
2,845
/* * Copyright (C) 2017 grandcentrix GmbH * 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 agree...
grandcentrix/ThirtyInch
thirtyinch/src/main/java/net/grandcentrix/thirtyinch/TiActivity.java
Java
apache-2.0
7,692
/*jslint browser: true*/ /*global $, jQuery, alert*/ (function ($) { "use strict"; $(document).ready(function () { $("input[name=dob]").datepicker({ dateFormat: 'yy-mm-dd', inline: true, showOtherMonths: true }); }); $(document).ready(functi...
manoj2509/Sensa
js/logIn.js
JavaScript
apache-2.0
1,018
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V. licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. // // Code generated from specification version 7.7.0: DO NOT EDIT package esapi import ( "context" "io" "ne...
control-center/serviced
vendor/github.com/elastic/go-elasticsearch/v7/esapi/api.xpack.autoscaling.put_autoscaling_policy.go
GO
apache-2.0
4,902
""" Copyright 2015-2018 IBM 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, software di...
ibm-messaging/message-hub-samples
kafka-python-console-sample/producertask.py
Python
apache-2.0
1,944
/* * Copyright 2012 International Business Machines Corp. * * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. Licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except in compliance * with the License. You ...
papegaaij/jsr-352
JSR352.JobXML.Model/src/main/java/com/ibm/jbatch/jsl/util/JSLValidationEventHandler.java
Java
apache-2.0
2,107
# -*- coding: utf-8 -*- import unittest import pykintone from pykintone.model import kintoneModel import tests.envs as envs class TestAppModelSimple(kintoneModel): def __init__(self): super(TestAppModelSimple, self).__init__() self.my_key = "" self.stringField = "" class TestComment(uni...
icoxfog417/pykintone
tests/test_comment.py
Python
apache-2.0
1,667
/* Copyright 2017 The Kubernetes 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 to in writing, ...
kargakis/test-infra
prow/plugins/buildifier/buildifier.go
GO
apache-2.0
6,914
package com.scicrop.se.commons.utils; import java.io.IOException; import org.apache.commons.logging.Log; import org.apache.log4j.ConsoleAppender; import org.apache.log4j.Level; import org.apache.log4j.Logger; import org.apache.log4j.PatternLayout; import org.apache.log4j.RollingFileAppender; public class LogHelper...
Scicrop/sentinel-extractor
source-code/sentinel-extractor-commons/src/com/scicrop/se/commons/utils/LogHelper.java
Java
apache-2.0
1,743
# -*- coding: utf-8 -*- ''' The Salt Key backend API and interface used by the CLI. The Key class can be used to manage salt keys directly without interfacing with the CLI. ''' # Import python libs from __future__ import absolute_import, print_function import os import copy import json import stat import shutil import...
smallyear/linuxLearn
salt/salt/key.py
Python
apache-2.0
48,988
require_relative '../lib/rails_stub' require_relative 'lib/pb_core_ingester' require_relative '../lib/has_logger' require 'rake' require_relative '../app/models/collection' require_relative '../app/models/exhibit' class Exception def short message + "\n" + backtrace[0..2].join("\n") end end class ParamsError...
WGBH/openvault3
scripts/ingest.rb
Ruby
apache-2.0
5,618
/* * 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 ...
salyh/jm14specsvn
src/main/java/javax/mail/search/AddressTerm.java
Java
apache-2.0
2,071
// (c) Jean Fabre, 2011-2013 All rights reserved. // http://www.fabrejean.net // contact: http://www.fabrejean.net/contact.htm // // Version Alpha 0.92 // INSTRUCTIONS // Drop a PlayMakerArrayList script onto a GameObject, and define a unique name for reference if several PlayMakerArrayList coexists on that GameObjec...
maxbottega/wheelie
Assets/PlayMaker ArrayMaker/Actions/ArrayList/ArrayListSet.cs
C#
artistic-2.0
2,041
// Convert DMD CodeView debug information to PDB files // Copyright (c) 2009-2010 by Rainer Schuetze, All Rights Reserved // // License for redistribution is given by the Artistic License 2.0 // see file LICENSE for further details #include "mspdb.h" #include <windows.h> #pragma comment(lib, "rpcrt4.lib") ...
MartinNowak/cv2pdb
src/mspdb.cpp
C++
artistic-2.0
2,441
public class Lab4_2 { public static void main(String[] arg) { System.out.print(" * |"); for(int x=1;x<=12;x++) { if (x<10) System.out.print(' '); if (x<100) System.out.print(' '); System.out.print(x+" "); } System.out.println(); for(int x=1;x<=21;x++) { if (x<10) System....
Seven-and-Nine/example-code-for-nine
Java/normal code/Java I/Lab4/Lab4_2.java
Java
artistic-2.0
1,401
var HLSP = { /* set squareness to 0 for a flat land */ // intensità colore land audioreattivab più bassa mizu: { cameraPositionY: 10, seaLevel: 0, displayText: '<b>CHAPTER ONE, MIZU</b><br/><i>TO BE TRAPPED INTO THE MORNING UNDERTOW</i>', speed: 10, modelsParams...
stmaccarelli/HYPERLAND
src/sceneParams_0.js
JavaScript
artistic-2.0
9,148
/******************************************************************************* * Copyright 2011, 2012 Chris Banes. * * 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.apac...
cocolove2/LISDemo
library-lis/src/main/java/uk/co/senab/photoview/PhotoView.java
Java
artistic-2.0
6,686
""" WSGI config for brp project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/ """ import os from dj_static import Cling from django.core.wsgi import get_wsgi_application os.environ....
chop-dbhi/biorepo-portal
brp/wsgi.py
Python
bsd-2-clause
471
class Imagemagick < Formula desc "Tools and libraries to manipulate images in many formats" homepage "https://www.imagemagick.org/" # Please always keep the Homebrew mirror as the primary URL as the # ImageMagick site removes tarballs regularly which means we get issues # unnecessarily and older versions of t...
bfontaine/homebrew-core
Formula/imagemagick.rb
Ruby
bsd-2-clause
4,820
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.Reflection; using CSScriptLibrary; using System.Windows.Controls; using Mono.CSharp; namespace RobinhoodDesktop.Script { /// <summary> /// Specifies...
Terohnon/RobinhoodDesktop
RobinhoodDesktop/RobinhoodDesktop/Script/StockSession.cs
C#
bsd-2-clause
12,086
<?php $bbcode["code"] = array( 'callback' => 'bbcodeCodeHighlight', 'pre' => TRUE, ); $bbcode["source"] = array( 'callback' => 'bbcodeCodeHighlight', 'pre' => TRUE, ); function bbcodeCodeHighlight($dom, $contents, $arg) { // in <pre> style $contents = preg_replace('/^\n|\n$/', "", $contents); inclu...
RoseyDreamy/ABXD-Omega
plugins/sourcetag/bbcode.php
PHP
bsd-2-clause
834
/* +------------------------------------------------------------------------+ | Phalcon Framework | +------------------------------------------------------------------------+ | Copyright (c) 2011-2014 Phalcon Team (http://www.phalconphp.com) | +-----...
unisys12/phalcon-hhvm
ext/mvc/view/engine.cpp
C++
bsd-2-clause
4,384
""" recursely """ __version__ = "0.1" __description__ = "Recursive importer for Python submodules" __author__ = "Karol Kuczmarski" __license__ = "Simplified BSD" import sys from recursely._compat import IS_PY3 from recursely.importer import RecursiveImporter from recursely.utils import SentinelList __all__ = ['ins...
Xion/recursely
recursely/__init__.py
Python
bsd-2-clause
1,663
// This file was procedurally generated from the following sources: // - src/dstr-binding/obj-ptrn-id-init-unresolvable.case // - src/dstr-binding/error/for-of-let.template /*--- description: Destructuring initializer is an unresolvable reference (for-of statement) esid: sec-for-in-and-for-of-statements-runtime-semanti...
sebastienros/jint
Jint.Tests.Test262/test/language/statements/for-of/dstr-let-obj-ptrn-id-init-unresolvable.js
JavaScript
bsd-2-clause
1,939
import {Component, OnInit} from '@angular/core'; import {MarketCard} from '../market-card'; import {MarketCardType} from '../market-card-type'; import {MarketService} from '../market.service'; import {Expansion} from '../expansion'; import { GameModeService } from '../game-mode.service'; import { GameMode } from '../ga...
kbarnes3/AeonsEnd
aeons-end/src/app/market-selection/market-selection.component.ts
TypeScript
bsd-2-clause
1,716
/** * Copyright (c) 2013, Jens Hohmuth * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of co...
bgroenks96/coregl
coregl-utils/src/main/java/com/lessvoid/coregl/CoreRender.java
Java
bsd-2-clause
7,233
# coding: utf-8 import sys from setuptools import setup, find_packages NAME = "pollster" VERSION = "2.0.2" # To install the library, run the following # # python setup.py install # # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools REQUIRES = ["urllib3 >= 1.15", "six >= 1.10", "certifi", "python-da...
huffpostdata/python-pollster
setup.py
Python
bsd-2-clause
756
import requests import logging import redis from requests.packages.urllib3.exceptions import ConnectionError from core.serialisers import json from dss import localsettings # TODO(fergal.moran@gmail.com): refactor these out to # classes to avoid duplicating constants below HEADERS = { 'content-type': 'application/j...
fergalmoran/dss
core/realtime/notification.py
Python
bsd-2-clause
928
unless ENV["HOMEBREW_BREW_FILE"] raise "HOMEBREW_BREW_FILE was not exported! Please call bin/brew directly!" end require "constants" require "tmpdir" require "pathname" HOMEBREW_BREW_FILE = Pathname.new(ENV["HOMEBREW_BREW_FILE"]) TEST_TMPDIR = ENV.fetch("HOMEBREW_TEST_TMPDIR") do |k| dir = Dir.mktmpdir("homebre...
rwhogg/brew
Library/Homebrew/test/support/lib/config.rb
Ruby
bsd-2-clause
2,216
# Copyright (c) 2021, DjaoDjin 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: # # 1. Redistributions of source code must retain the above copyright notice, # this list of conditions and t...
djaodjin/djaodjin-deployutils
deployutils/__init__.py
Python
bsd-2-clause
1,370
// -------------------------------------------------------------------------------- // SharpDisasm (File: SharpDisasm\ud_operand_code.cs) // Copyright (c) 2014-2015 Justin Stenning // http://spazzarama.com // https://github.com/spazzarama/SharpDisasm // https://sharpdisasm.codeplex.com/ // // SharpDisasm is distribute...
Raptur/SharpDisasmGUI
SharpDisasm/Udis86/ud_operand_code.cs
C#
bsd-2-clause
3,187
# Copyright 2014 Dev in Cachu authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. from django.conf import settings from django.conf.urls import include, patterns, url from django.views.decorators import csrf from django.views.generic impor...
devincachu/devincachu-2014
devincachu/urls.py
Python
bsd-2-clause
2,555
# -*- coding: utf-8 -*- class Pkg @pkgDir @jailDir def self.init() @pkgDir = System.getConf("pkgDir") @jailDir = System.getConf("jailDir") end def self.main(data) if (data["control"] == "search") then search(data["name"]).each_line do |pname| pname = pname.chomp SendMsg.machine("pkg","search...
shutingrz/gvitocha
bin/pkg.rb
Ruby
bsd-2-clause
3,178
#!/usr/bin/env python #********************************************************************* # Software License Agreement (BSD License) # # Copyright (c) 2011 andrewtron3000 # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the ...
andrewtron3000/hacdc-ros-pkg
face_detection/src/detector.py
Python
bsd-2-clause
5,077
#! /usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function import urllib from OpenGL.GL import * from OpenGL.GLU import * from OpenGL.GLUT import * from jp.ac.kyoto_su.aokilab.dragon.mvc.model import OpenGLModel from jp.ac.kyoto_su.aokilab.dragon.mvc.view import * from jp.ac.kyoto_su.aokil...
frederica07/Dragon_Programming_Process
jp/ac/kyoto_su/aokilab/dragon/example_model/example.py
Python
bsd-2-clause
7,196
# Copyright 2015-2017 Rumma & Ko Ltd # License: BSD (see file COPYING for details) from lino.core.roles import UserRole class SimpleContactsUser(UserRole): pass class ContactsUser(SimpleContactsUser): pass class ContactsStaff(ContactsUser): pass
khchine5/xl
lino_xl/lib/contacts/roles.py
Python
bsd-2-clause
269
from django.db.models import Transform from django.db.models import DateTimeField, TimeField from django.utils.functional import cached_property class TimeValue(Transform): lookup_name = 'time' function = 'time' def as_sql(self, compiler, connection): lhs, params = compiler.compile(self.lhs) ...
mivanov-utwente/t4proj
t4proj/apps/stats/models.py
Python
bsd-2-clause
481
<?php header('Content-Type: text/html; charset=utf-8'); require_once 'Akna.php'; $user = ''; $pass = ''; $akna = new Akna( $user, $pass ); $contacts = $akna->emailMarketing->contacts; $messages = $akna->emailMarketing->messages; $campaigns = $akna->emailMarketing->campaigns; try { // $result_1 = $contact...
danielantunes/php-akna
index.php
PHP
bsd-2-clause
1,452
/* * Copyright 2009 the original author or 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 applica...
tkmnet/RCRS-ADF
gradle/gradle-2.1/src/core/org/gradle/initialization/ProjectDirectoryProjectSpec.java
Java
bsd-2-clause
2,457
// Copyright 2014 David Miller. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package sequtil import ( "errors" "github.com/dmiller/go-seq/iseq" "github.com/dmiller/go-seq/murmur3" //"fmt" "math" "reflect" ) // Hash returns a hash c...
dmiller/go-seq
sequtil/hash.go
GO
bsd-2-clause
3,082