identifier
stringlengths
42
383
collection
stringclasses
1 value
open_type
stringclasses
1 value
license
stringlengths
0
1.81k
date
float64
1.99k
2.02k
title
stringlengths
0
100
creator
stringlengths
1
39
language
stringclasses
157 values
language_type
stringclasses
2 values
word_count
int64
1
20k
token_count
int64
4
1.32M
text
stringlengths
5
1.53M
__index_level_0__
int64
0
57.5k
https://github.com/suicvne/DiscordSharp/blob/master/DiscordSharpTestApplication/Modules/Voice.cs
Github Open Source
Open Source
MIT
2,022
DiscordSharp
suicvne
C#
Code
666
2,176
using DiscordSharp; using DiscordSharp.Commands; using DiscordSharp.Objects; using NAudio.Wave; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using VideoLibrary; namespace Luigibot.Modules { public class Voice : IModule { ...
49,671
https://github.com/ArnoVanDerVegt/wheel/blob/master/js/backend/DirectoryWatcher.js
Github Open Source
Open Source
MIT
2,022
wheel
ArnoVanDerVegt
JavaScript
Code
101
319
/** * Wheel, copyright (c) 2019 - present by Arno van der Vegt * Distributed under an MIT license: https://arnovandervegt.github.io/wheel/license.txt **/ const fs = require('fs'); const path = require('path'); exports.DirectoryWatcher = class { constructor(directory) { this._changes = []; thi...
3,179
https://github.com/CodeIsRunning/spring-boot-starter-pay/blob/master/src/main/java/org/pay/boot/dto/req/AliPayEasyQueryReq.java
Github Open Source
Open Source
Apache-2.0
2,020
spring-boot-starter-pay
CodeIsRunning
Java
Code
90
277
package org.pay.boot.dto.req; /** * @author liuxf * @version 1.0 * @date 2020/11/23 16:17 * 查单参数 */ public class AliPayEasyQueryReq { /** * 商户订单号 */ private String outTradeNo; /** * 支付宝订单号 */ private String orderNo; public String getOutTradeNo() { return outTrad...
47,308
https://github.com/mojocorp/gtl/blob/master/gtl/vec4.hpp
Github Open Source
Open Source
MIT
2,019
gtl
mojocorp
C++
Code
1,012
2,717
#pragma once #include <gtl/gtl.hpp> namespace gtl { /*! \class vec4 vec4.hpp geometry/vec4.hpp \brief 4 dimensional vector. \ingroup base This class is used by many other classes. \sa vec3 */ template <typename Type> struct vec4 { union { struct { ...
40,819
https://github.com/Sizzl/LeagueAS140/blob/master/Classes/Teamsupershockbeam.uc
Github Open Source
Open Source
CC0-1.0
2,022
LeagueAS140
Sizzl
null
Spoken
37
105
//================================================================================ // Teamsupershockbeam. //================================================================================ class Teamsupershockbeam extends supershockbeam; var int TeamInfo; replication { unreliable if ( Role == 4 ) TeamInfo; } simu...
27,287
https://github.com/108225693/alainComponent/blob/master/src/app/routes/pages/xmind/xmind.module.ts
Github Open Source
Open Source
MIT
null
alainComponent
108225693
TypeScript
Code
61
167
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule } from '@angular/router'; import { SharedModule } from '../../../shared/shared.module'; import { XmindComponent } from './xmind.page'; import { StringDataComponent } from './xmind.pipe'; @NgModule({ import...
26,329
https://github.com/wkwtbabgd/StarForce/blob/master/Assets/GameMain/Materials/part_blast_mat.mat.meta
Github Open Source
Open Source
MIT
2,021
StarForce
wkwtbabgd
Unity3D Asset
Code
12
68
fileFormatVersion: 2 guid: 1cfe02ffd0b74854ea5bcd1a3c63ac3c timeCreated: 1528026130 licenseType: Pro NativeFormatImporter: userData: assetBundleName: assetBundleVariant:
33,661
https://github.com/nelsonmiew/gatsby-starter-netlify-cms/blob/master/src/redux/reducers/vehicles/vehicles.actions.js
Github Open Source
Open Source
MIT
null
gatsby-starter-netlify-cms
nelsonmiew
JavaScript
Code
806
2,745
/*eslint eqeqeq: "off"*/ import constants from "./vehicles.constants"; import theService from "clientServices/vehicle"; import { FINANCE_MODES } from "src/components/GlobalConstants"; function getById(id, initialDeposit, financeMode, financeTypeId, numberOfMonths, annualMileage, recoveryValue) { function request(id...
6,676
https://github.com/Intey/OhMyBank/blob/master/src/ombs/db/payment.clj
Github Open Source
Open Source
MIT
2,016
OhMyBank
Intey
null
Spoken
421
1,374
(ns ombs.db.payment (:require [korma.db :as kdb] [korma.core :as sql] [ombs.db.old :refer :all] [ombs.db.partial :as partial-event] [ombs.funcs :as f] )) (defn participated? "Check participation in event. If user have some payment action on event - he i...
13,196
https://github.com/NathanYee/QEAFall2016Homework/blob/master/communications/inClass/class1/tone.m
Github Open Source
Open Source
MIT
2,016
QEAFall2016Homework
NathanYee
MATLAB
Code
483
1,177
%% Visualizing tones disp('We start with visualizing what a single sinusoid looks like in time and in frequency') close all clear % set a nominal sampling frequency % this one is convenient because we were able to obtain an audio sample % of a piano with the appropriate frequency which we will use shortly samp_fr...
12,127
https://github.com/ETLang/Gluon/blob/master/GluonTestResults/cs/NoiseEngine.cs
Github Open Source
Open Source
MIT
2,023
Gluon
ETLang
C#
Code
332
1,170
/* This file is automatically maintained by Gluon. * Do not attempt to modify, as any modifications will be overwritten. */ using Gluon; using System; using System.Runtime.InteropServices; using ABI.GluonTest; using ABI.Gluon; using GluonTest; namespace GluonTest { [Guid("75bd50e1-daa1-3983-dd16-0d2f3b260ee0")]...
10,717
https://github.com/woodgern/ricochet/blob/master/rust/src/main.rs
Github Open Source
Open Source
MIT
null
ricochet
woodgern
Rust
Code
1,263
3,793
mod board; use std::cmp::Ordering; use std::cmp::Reverse; use std::collections::BinaryHeap; use std::collections::HashSet; use std::time::SystemTime; use itertools::Itertools; use rand::Rng; use hashbrown::HashMap; use thincollections::thin_vec::ThinVec; use board::Board; use board::Colour; use board::Direction; use...
14,627
https://github.com/r00ster91/serenity/blob/master/Ports/SDL2_mixer/patches/dont-build-utilities.patch
Github Open Source
Open Source
BSD-2-Clause
2,022
serenity
r00ster91
null
Spoken
302
1,520
diff -ru SDL2_mixer-2.0.4/Makefile.in SDL2_mixer-2.0.4-patched/Makefile.in --- SDL2_mixer-2.0.4/Makefile.in 2018-10-31 15:58:59.000000000 +0100 +++ SDL2_mixer-2.0.4-patched/Makefile.in 2021-03-08 13:11:59.083146376 +0100 @@ -38,7 +38,7 @@ PLAYWAVE_OBJECTS = @PLAYWAVE_OBJECTS@ PLAYMUS_OBJECTS = @PLAYMUS_OBJECTS@ -DI...
31,246
https://github.com/ctripcorp/zeus/blob/master/slb/src/main/java/com/ctrip/zeus/service/task/TaskTableSwitchConstants.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,020
zeus
ctripcorp
Java
Code
53
168
package com.ctrip.zeus.service.task; /** * @Discription **/ public class TaskTableSwitchConstants { public static final String WRITE_OLD_ENABLED = "db.refactor.task.write.old"; public static final String WRITE_NEW_ENABLED = "db.refactor.task.write.new"; public static final String READ_OLD_ENABLED = "db.r...
16,417
https://github.com/karim1king/kasparov/blob/master/kasparovsyncd/sync/block_parent.go
Github Open Source
Open Source
0BSD
null
kasparov
karim1king
Go
Code
158
583
package sync import ( rpcmodel "github.com/kaspanet/kaspad/rpc/model" "github.com/kaspanet/kasparov/database" "github.com/kaspanet/kasparov/dbaccess" "github.com/kaspanet/kasparov/dbmodels" "github.com/pkg/errors" ) func insertBlockParents(dbTx *database.TxContext, blocks []*rawAndVerboseBlock, blockHashesToIDs...
53,286
https://github.com/digitaljudaica/store/blob/master/util/src/main/scala/org/opentorah/files/GoogleCloudStorageSynchronizer.scala
Github Open Source
Open Source
Apache-2.0
null
store
digitaljudaica
Scala
Code
601
2,226
package org.opentorah.files import com.google.api.gax.paging.Page import com.google.auth.oauth2.ServiceAccountCredentials import com.google.cloud.WriteChannel import com.google.cloud.storage.{Blob, BlobId, BlobInfo, Storage, StorageOptions} import com.google.common.hash.Hashing import org.opentorah.service.Credentials...
12,010
https://github.com/echoprotocol/echojs-lib/blob/master/src/serializers/chain/asset.js
Github Open Source
Open Source
MIT
2,021
echojs-lib
echoprotocol
JavaScript
Code
30
68
import { assetId } from './id/protocol'; import { struct } from '../collections'; import { int64 } from '../basic/integers'; const assetSerializer = struct({ amount: int64, asset_id: assetId, }); export default assetSerializer;
46,975
https://github.com/vvekic/serve/blob/master/serving-sdk/src/main/java/org/pytorch/serve/servingsdk/annotations/Endpoint.java
Github Open Source
Open Source
Apache-2.0
2,021
serve
vvekic
Java
Code
65
224
package org.pytorch.serve.servingsdk.annotations; import org.pytorch.serve.servingsdk.annotations.helpers.EndpointTypes; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Tar...
14,889
https://github.com/BLACK-ARCHIVERS/SHUer.link/blob/master/src/components/Login.vue
Github Open Source
Open Source
MIT
2,018
SHUer.link
BLACK-ARCHIVERS
Vue
Code
116
539
<template lang="pug"> div my-card.card div(slot="title") 登录 div(slot="content") vs-input( vs-label-placeholder="请输入一卡通账号", v-model="cardID", :vs-color="error" style="margin:40px auto; width:40%") vs-input( :vs-label-plac...
32,903
https://github.com/nishadg246/GreenComputing/blob/master/GreenComputing/finalproject/paper/is.py
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,017
GreenComputing
nishadg246
Python
Code
19
57
s=db.find() s=[i["data"] for i in s] for instruct in s: print instruct i=[ins.lower() for ins in instruct] execute(i) db3.delete_many({})
8,151
https://github.com/Urotea/next-template/blob/master/src/pages/main/[id].tsx
Github Open Source
Open Source
MIT
null
next-template
Urotea
TypeScript
Code
81
234
import { Box } from '@material-ui/core'; import { NextPage } from 'next'; import { useRouter } from 'next/router'; import React from 'react'; import MenuAppBar from '../../presentation/organisms/MenuAppBar'; import ServerPaginationGrid from '../../presentation/pages/main/ServerPaginationGrid'; import MainTemplate from ...
5,859
https://github.com/ezocher/seeotoo/blob/master/ProjectSettings/TagManager.asset
Github Open Source
Open Source
MIT
2,020
seeotoo
ezocher
Unity3D Asset
Code
99
284
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!78 &1 TagManager: serializedVersion: 2 tags: - Clear - Step1 - Step2 - Step3 - Step4 - Step5 - Step0 - Step6 - Step7 - Step8 - Step9 - Step10 - Step11 - Step12 - Step13 - Step14 - Step15 - Step16 - Step17 - Step18 layers: - ...
39,936
https://github.com/Vignesh-Sankaranarayanan/Geethamandalam/blob/master/test/Github/Tests/Api/Organization/HooksTest.php
Github Open Source
Open Source
MIT
null
Geethamandalam
Vignesh-Sankaranarayanan
PHP
Code
249
1,196
<?php namespace Github\Tests\Api\Organization; use Github\Tests\Api\TestCase; class HooksTest extends TestCase { /** * @test */ public function shouldGetAllOrganizationsHooks() { $expectedValue = array(array('name' => 'hook')); $api = $this->getApiMock(); $api->expects(...
35,426
https://github.com/funkfinger/ttjs/blob/master/src/server/routes/index.js
Github Open Source
Open Source
Unlicense
null
ttjs
funkfinger
JavaScript
Code
11
52
module.exports = function(app) { app.use('/', require('./home')); app.use('/api/v1/', require('./api')); app.use('/admin/', require('./admin')); }
13,971
https://github.com/tony-tran/en-marche.fr/blob/master/src/Entity/VotingPlatform/ElectionPoolCodeEnum.php
Github Open Source
Open Source
GPL-3.0-only, Apache-2.0
2,022
en-marche.fr
tony-tran
PHP
Code
54
322
<?php namespace App\Entity\VotingPlatform; use App\Entity\TerritorialCouncil\TerritorialCouncilQualityEnum; use App\ValueObject\Genders; use App\VotingPlatform\Designation\DesignationTypeEnum; use MyCLabs\Enum\Enum; class ElectionPoolCodeEnum extends Enum { public const FEMALE = Genders::FEMALE; public const...
37,747
https://github.com/niyasrahman/flexbox_xyz/blob/master/src/components/Playground.scss
Github Open Source
Open Source
MIT
2,020
flexbox_xyz
niyasrahman
SCSS
Code
31
98
.dragger { &__container { float: left; text-align: center; width: 100%; margin: 40px 0; } &__text { font-family: "Gochi Hand", cursive; float: left; width: 100%; font-size: 21px; margin: 8px 0; } }
14,087
https://github.com/patravishek/LtiPlatform/blob/master/src/Data/ApplicationDbContext.cs
Github Open Source
Open Source
MIT
2,020
LtiPlatform
patravishek
C#
Code
1,003
3,010
using System; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; namespace AdvantagePlatform.Data { public class ApplicationDbContext : IdentityDbContext<AdvantagePlatformUser> { /...
16,128
https://github.com/p-g-krish/deepmac-tracker/blob/master/data/js/40/f3/85/30/00/00.28.js
Github Open Source
Open Source
CC-BY-4.0, MIT
null
deepmac-tracker
p-g-krish
JavaScript
Code
11
66
deepmacDetailCallback("40f385300000/28",[{"a":"99 Bluestone Circuit Seventeen Mile Rocks Qld AU 4073","o":"IntelliDesign Pty Ltd","d":"2016-11-13","t":"add","s":"ieee","c":"AU"}]);
38,237
https://github.com/ArcherCraftStore/ArcherVMPeridot/blob/master/apps/mediawiki/htdocs/extensions/ConfirmEdit/ReCaptcha.php
Github Open Source
Open Source
LicenseRef-scancode-free-unknown, GPL-2.0-or-later, LGPL-2.0-or-later, CC-BY-NC-4.0, LicenseRef-scancode-other-copyleft, LicenseRef-scancode-generic-exception, CC-BY-SA-3.0, GPL-1.0-or-later, LicenseRef-scancode-proprietary-license, GPL-2.0-only, LicenseRef-scancode-warranty-disclaimer, LicenseRef-scancode-public-domai...
2,014
ArcherVMPeridot
ArcherCraftStore
PHP
Code
207
683
<?php /** * Captcha class using the reCAPTCHA widget. * Stop Spam. Read Books. * * @addtogroup Extensions * @author Mike Crawford <mike.crawford@gmail.com> * @copyright Copyright (c) 2007 reCAPTCHA -- http://recaptcha.net * @licence MIT/X11 */ if ( !defined( 'MEDIAWIKI' ) ) { exit; } $dir = __DIR__; require...
51,250
https://github.com/AutomotiveDevOps/mdf4-converters/blob/master/Tools/Shared/Source/ConverterInterface.cpp
Github Open Source
Open Source
MIT
null
mdf4-converters
AutomotiveDevOps
C++
Code
66
278
#include "ConverterInterface.h" namespace mdf::tools::shared { ConverterInterface::ConverterInterface(std::string programName, bool usesConfigurationFile) : programNameData(std::move(programName)), readConfigurationFile(usesConfigurationFile) { this->programName = programNameData; } ConverterInterf...
19,626
https://github.com/bssheetal/Mo-Betta/blob/master/client/src/components/Chat/MessageList.js
Github Open Source
Open Source
MIT
2,019
Mo-Betta
bssheetal
JavaScript
Code
184
411
import React from 'react' import ReactDOM from 'react-dom' import Message from './Message' class MessageList extends React.Component { componentWillUpdate() { // Grabbing reference to this component on the dom? const node = ReactDOM.findDOMNode(this) // Setting scroll settings based on inc...
37,798
https://github.com/AleDaVeiga/motoboy/blob/master/src/main/java/com/wgsistemas/motoboy/service/PaymentMethodService.java
Github Open Source
Open Source
Apache-2.0
null
motoboy
AleDaVeiga
Java
Code
11
55
package com.wgsistemas.motoboy.service; import com.wgsistemas.motoboy.model.PaymentMethod; public interface PaymentMethodService { Iterable<PaymentMethod> findAll(); }
625
https://github.com/Zsombi55/Homework_02/blob/master/QuizSystem/QuizSystem.Client/Quiz.cs
Github Open Source
Open Source
MIT
null
Homework_02
Zsombi55
C#
Code
198
453
using System; namespace QuizSystem.Client { public class Quiz { /// <summary> /// Constructor allowing the creation of a Quiz, a set of Questions to be used. /// </summary> /// <param name="questions">Question array: Possibly different types of "Question" objects.</param> ///...
8,144
https://github.com/project-ncl/pnc/blob/master/rest/src/main/java/org/jboss/pnc/rest/endpoints/BuildEndpointImpl.java
Github Open Source
Open Source
Apache-2.0
2,023
pnc
project-ncl
Java
Code
913
3,622
/** * JBoss, Home of Professional Open Source. * Copyright 2014-2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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...
45,012
https://github.com/ccli0709/dancing/blob/master/app/controllers/Api.java
Github Open Source
Open Source
Apache-2.0
2,016
dancing
ccli0709
Java
Code
109
509
package controllers; import java.util.List; import org.joda.time.format.DateTimeFormat; import org.joda.time.format.DateTimeFormatter; import com.google.common.collect.Lists; import play.libs.Json; import play.mvc.Controller; import play.mvc.Result; public class Api extends Controller { public Result CoursesV1()...
19,229
https://github.com/afoolsbag/rrGo/blob/master/src/rrgo/func_test.go
Github Open Source
Open Source
Unlicense
null
rrGo
afoolsbag
Go
Code
129
308
package rrgo // Basic func niladic() { return } // Call func callByValue(val int) { val++ } func callByReference(ref *int) { *ref++ } // Return func returnError() error { return nil } func returnMulti() (int, int) { return 0, 0 } func returnNamed() (r1 int, r2 int) { r1, r2 = 0, 0 return } // More typ...
53,319
https://github.com/st4ll1/dust3d/blob/master/thirdparty/cgal/CGAL-4.13/include/CGAL/Nef_3/Volume.h
Github Open Source
Open Source
MIT
null
dust3d
st4ll1
C
Code
365
1,131
// Copyright (c) 1997-2002 Max-Planck-Institute Saarbruecken (Germany). // All rights reserved. // // This file is part of CGAL (www.cgal.org). // 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 Licen...
41,126
https://github.com/rhizomik/usocial/blob/master/packages/client/src/connect/ConnectFacebook.js
Github Open Source
Open Source
MIT
2,020
usocial
rhizomik
JavaScript
Code
376
1,103
import React, { useState, useEffect, useContext } from 'react'; import { withRouter } from 'react-router-dom'; import styled from 'styled-components'; import { currentAttestation } from 'usocial'; import { connect } from '../utils/react-context'; import { generateState, validateState, clearQueryParams } from '../utils/...
17,734
https://github.com/facugaich/proposal-temporal/blob/master/polyfill/test/Instant/prototype/round/options-wrong-type.js
Github Open Source
Open Source
ISC, BSD-3-Clause
2,021
proposal-temporal
facugaich
JavaScript
Code
66
175
// Copyright (C) 2021 Igalia, S.L. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-temporal.instant.prototype.round features: [Symbol, Temporal] ---*/ const values = [ undefined, null, true, "string", Symbol(), 1, 2n, ]; const instance = new T...
11,725
https://github.com/dchallenger/workpad/blob/master/apps/modules/career_stream/config/list_cached_query.php
Github Open Source
Open Source
MIT
null
workpad
dchallenger
PHP
Code
62
368
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $config["list_cached_query"] = 'SELECT `ww_users_job_class`.`job_class_id` as record_id, IF(ww_users_job_class.status_id = 1, "Active", "Inactive") as "users_job_class_status_id", ww_users_job_class.can_delete as "can_delete", ww_users_job_clas...
52,942
https://github.com/ajaypratap003/enmasse/blob/master/pkg/controller/iotconfig/utils_test.go
Github Open Source
Open Source
Apache-2.0
null
enmasse
ajaypratap003
Go
Code
109
475
/* * Copyright 2019, EnMasse authors. * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). */ package iotconfig import ( "testing" "github.com/enmasseproject/enmasse/pkg/apis/iot/v1alpha1" ) func TestDeviceRegistryEval(t *testing.T) { if deviceRegistryImplement...
34,330
https://github.com/arslantalib3/algo_ds_101/blob/master/Algorithms/Cryptography_Algorithm/RSA_Cipher/RSA_cipher.java
Github Open Source
Open Source
MIT
2,021
algo_ds_101
arslantalib3
Java
Code
318
922
/* * RSA algorithm is asymmetric cryptography algorithm. * Asymmetric actually means that it works on two different keys i.e. Public Key and Private Key. * As the name describes that the Public Key is given to everyone and Private key is kept private. */ import java.io.DataInputStream; import java.io.IOExceptio...
40,777
https://github.com/npruehs/hostile-worlds/blob/master/src/Hostile Worlds/Development/Src/Engine/Classes/ParticleModuleTrailSource.uc
Github Open Source
Open Source
Unlicense
2,022
hostile-worlds
npruehs
null
Spoken
443
1,276
/** * ParticleModuleTrailSource * * This module implements a single source for a Trail emitter. * * Copyright 1998-2010 Epic Games, Inc. All Rights Reserved. */ class ParticleModuleTrailSource extends ParticleModuleTrailBase native(Particle) editinlinenew hidecategories(Object); enum ETrail2SourceMethod { /...
47,115
https://github.com/zerotwooneone/Loveletter/blob/master/ConsoleApp1/ConsoleApp1/Card/IShufflableCardState.cs
Github Open Source
Open Source
MIT
null
Loveletter
zerotwooneone
C#
Code
18
46
namespace ConsoleApp1.Card { public interface IShufflableCardState : ICardState { new int SuffledIndex { get; set; } } }
22,030
https://github.com/ruiaa/toolpck/blob/master/app/proguard-rules.pro
Github Open Source
Open Source
Apache-2.0
2,017
toolpck
ruiaa
null
Spoken
628
2,414
# Add project specific ProGuard rules here. # By default, the flags in this file are appended to flags specified # in E:\androidstudio\SDK/tools/proguard/proguard-android.txt # You can edit the include path and order by changing the proguardFiles # directive in build.gradle. # # For more details, see # http://develop...
23,464
https://github.com/thisHermit/ganon/blob/master/lib/flattenNestedObject.js
Github Open Source
Open Source
MIT
2,017
ganon
thisHermit
JavaScript
Code
136
346
const flattenArray = require("./flattenArray"); const getKeyValuePairs = require("./getKeyValuePairs"); const hasNestedProperties = require("./hasNestedProperties"); const isObject = require("./isObject"); // Write function which takes a nested object and flattens it // // flattenNestedObject({ "a" : 1, "b" : { "c" : ...
8,357
https://github.com/TroyonGuillaume/ara/blob/master/client/src/views/functionality-coverage.vue
Github Open Source
Open Source
Apache-2.0
2,022
ara
TroyonGuillaume
Vue
Code
1,367
4,232
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ Copyright (C) 2019 by the ARA 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 ~ ~...
1,014
https://github.com/oboehm/gdv.xport/blob/master/lib/src/main/java/gdv/xport/util/SimpleConstraintViolation.java
Github Open Source
Open Source
Apache-2.0, MIT
2,023
gdv.xport
oboehm
Java
Code
327
942
/* * Copyright (c) 2018 by Oliver Boehm * * 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...
14,016
https://github.com/simonecollier/lizardHMM/blob/master/man/norm_hist_ci.Rd
Github Open Source
Open Source
MIT
2,021
lizardHMM
simonecollier
R
Code
292
676
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/norm_ci_functions.R \name{norm_hist_ci} \alias{norm_hist_ci} \title{Plot histograms with confidence intervals} \usage{ norm_hist_ci( x, viterbi, num_states, num_subjects, num_variables, hmm, state_dep_dist_pooled = FALSE, vari...
38,042
https://github.com/vedad/olio/blob/master/olio/orbit.py
Github Open Source
Open Source
MIT
null
olio
vedad
Python
Code
319
996
#!/usr/bin/env python import numpy as np #import sys #import warnings # #if not sys.warnoptions: # warnings.simplefilter("ignore") __all__ = ["Orbit"] class Orbit: def __init__(self, roa=None, ror=None, i_pl=None, aor=None): if roa is not None and aor is None: self.roa = roa s...
27,875
https://github.com/hydercps/php-fbmgw/blob/master/.env.example
Github Open Source
Open Source
MIT
2,016
php-fbmgw
hydercps
Shell
Code
32
337
APP_ENV=local APP_KEY= APP_DEBUG=true APP_LOG_LEVEL=debug APP_URL=http://localhost COT_API_URL=http://localhost/cot/emit GOOGLE_PID=__YOUR_GOOGLE_PROJECT_ID__ GOOGLE_API_KEY=__YOUR_GOOGLE_API_KEY_STRING__ IMG_TURN_ON=__IMAGE_NAME_TUEN_ON__ IMG_TURN_OFF=__IMAGE_NAME_TUEN_OFF__ DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_P...
6,962
https://github.com/bububa/opentaobao/blob/master/model/tmallgeniescp/AlibabaTmallgenieScpPlanInventorQtyGetAPIResponse.go
Github Open Source
Open Source
Apache-2.0
2,023
opentaobao
bububa
Go
Code
48
341
package tmallgeniescp import ( "encoding/xml" "github.com/bububa/opentaobao/model" ) // AlibabaTmallgenieScpPlanInventorQtyGetAPIResponse 10-同步库存现有量 API返回值 // alibaba.tmallgenie.scp.plan.inventor.qty.get // // 同步库存现有量 type AlibabaTmallgenieScpPlanInventorQtyGetAPIResponse struct { model.CommonResponse AlibabaTma...
23,110
https://github.com/Kidand/algorithms-and-data-structures/blob/master/src/main/java/com/kidand/algorithms/and/data/structures/algorithms/search/linearsearch/LinearSearch.java
Github Open Source
Open Source
Apache-2.0
2,021
algorithms-and-data-structures
Kidand
Java
Code
160
708
package com.kidand.algorithms.and.data.structures.algorithms.search.linearsearch; /** * ██╗ ██╗██╗██████╗ █████╗ ███╗ ██╗██████╗ * ██║ ██╔╝██║██╔══██╗██╔══██╗████╗ ██║██╔══██╗ * █████╔╝ ██║██║ ██║███████║██╔██╗ ██║██║ ██║ * ██╔═██╗ ██║██║ ██║██╔══██║██║╚██╗██║██║ ██║ * ██║ ██╗██║██████╔╝██║ ██║██║ ╚███...
23,600
https://github.com/iimog/fennec/blob/master/src/AppBundle/Command/ImportTraitEntriesCommand.php
Github Open Source
Open Source
MIT
2,017
fennec
iimog
PHP
Code
977
3,962
<?php namespace AppBundle\Command; use AppBundle\Entity\TraitCategoricalEntry; use AppBundle\Entity\TraitCategoricalValue; use AppBundle\Entity\TraitCitation; use AppBundle\Entity\TraitNumericalEntry; use AppBundle\Entity\TraitType; use AppBundle\Entity\Webuser; use Doctrine\ORM\EntityManager; use Symfony\Bundle\Fra...
27,082
https://github.com/ellcorey/tiy_assignments/blob/master/day_09/css/_mediaquery_1040px.scss
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,015
tiy_assignments
ellcorey
SCSS
Code
41
146
@media screen and (min-width: 1040px) { main { width:82%; padding: 0 1%; float: right; } .side_nav { display: block; } .hidden_lg { display: none; } .pocket_logo { display: inline-block; margin-right: 2em; } section { &.section_md { @include grid_lg(2); } } }
20,519
https://github.com/JanghyunJK/PAT_SwitchGlaze/blob/master/SG_v12_PropertyCalculating/measures/a_inject_window_specific_idf_objects/measure.rb
Github Open Source
Open Source
BSD-2-Clause
2,021
PAT_SwitchGlaze
JanghyunJK
Ruby
Code
1,361
5,894
#see the URL below for information on how to write OpenStudio measures # http://openstudio.nrel.gov/openstudio-measure-writing-guide #see your EnergyPlus installation or the URL below for information on EnergyPlus objects # http://apps1.eere.energy.gov/buildings/energyplus/pdfs/inputoutputreference.pdf #see the URL b...
28,393
https://github.com/github/codeql/blob/master/java/ql/test/library-tests/dataflow/stream-collect/A.java
Github Open Source
Open Source
MIT
2,023
codeql
github
Java
Code
99
427
import java.util.*; import java.util.stream.*; public class A { String source() { return "source"; } void sink(Object o) { } void m() { String[] xs = new String[] { source() }; Stream<String> s = Arrays.stream(xs); sink(s.collect(Collectors.maxBy(null)).get()); // $ hasValueFlow sink(s.collect...
30,969
https://github.com/nikolaymikhaltsov/GreenCity/blob/master/core/src/main/java/greencity/entity/HabitStatus.java
Github Open Source
Open Source
MIT
2,021
GreenCity
nikolaymikhaltsov
Java
Code
83
298
package greencity.entity; import java.time.LocalDateTime; import java.time.ZonedDateTime; import java.util.List; import javax.persistence.*; import lombok.*; @NoArgsConstructor @AllArgsConstructor @Getter @Setter @Builder @Table(name = "habit_status") @Entity public class HabitStatus { @Id @GeneratedValue(str...
28,062
https://github.com/SimonClark/OpenJSCAD.org/blob/master/packages/web/src/sideEffects/dat/index.js
Github Open Source
Open Source
MIT
null
OpenJSCAD.org
SimonClark
JavaScript
Code
486
1,229
const { callbackToObservable } = require('@jscad/core').observableUtils const { getFileExtensionFromString } = require('@jscad/core').utils const makeLogger = require('../../utils/logger') const makeDatSideEffect = async (params) => { const commandResponses = callbackToObservable() const defaults = { logging: fal...
12,425
https://github.com/deklungel/iRulez/blob/master/old/radiomodule.php
Github Open Source
Open Source
MIT
2,018
iRulez
deklungel
PHP
Code
303
1,718
<?PHP if (mysqli_num_rows($qry2) != 0) { $sql_statement = "SELECT * FROM html_Radio_zenders where soort = 'fa-music'"; $qry = $mysqli->query($sql_statement); $sql_statement = "SELECT * FROM html_Radio_zenders where soort = 'fa-youtube'"; $qry3 = $mysqli->query($sql_statement); ...
39,616
https://github.com/ukmo-ccbunney/geovista/blob/master/lib/geovista/bridge.py
Github Open Source
Open Source
BSD-3-Clause
null
geovista
ukmo-ccbunney
Python
Code
2,379
6,160
from typing import Optional, Tuple, Union import numpy as np from numpy.typing import ArrayLike import pyvista as pv from .common import nan_mask, to_xyz, wrap from .log import get_logger __all__ = ["Transform"] # Configure the logger. logger = get_logger(__name__) # type aliases Shape = Tuple[int] #: Default arr...
3,762
https://github.com/jos-b/aoc-2019/blob/master/day-12/rust/src/moon.rs
Github Open Source
Open Source
MIT
null
aoc-2019
jos-b
Rust
Code
177
540
use std::ops::{Add, AddAssign}; #[derive(Debug, PartialEq, Copy, Clone, Eq, Hash)] pub struct Vector3 { pub x: i64, pub y: i64, pub z: i64 } impl Add for Vector3 { type Output = Vector3; fn add(self, other: Vector3) -> Vector3 { Vector3 { x: self.x + other.x, y: se...
44,171
https://github.com/quano1/util/blob/master/.gitmodules
Github Open Source
Open Source
MIT
2,021
util
quano1
Git Config
Code
136
786
[submodule "tests/third-party/concurrentqueue"] path = tests/third-party/concurrentqueue url = https://github.com/cameron314/concurrentqueue [submodule "tests/third-party/cxxopts"] path = tests/third-party/cxxopts url = https://github.com/jarro2783/cxxopts [submodule "tests/third-party/boostorg/lockfree"] path = t...
31,462
https://github.com/randytarampi/me/blob/master/packages/jsx/test/unit/src/lib/actions/emoji/instantiateEmoji.js
Github Open Source
Open Source
MIT
2,022
me
randytarampi
JavaScript
Code
128
512
import {Emoji} from "@randy.tarampi/js"; import {expect} from "chai"; import {Map} from "immutable"; import configureStore from "redux-mock-store"; import thunk from "redux-thunk"; import instantiateEmoji, {INSTANTIATE_EMOJI} from "../../../../../../src/lib/actions/emoji/instantiateEmoji"; describe("instantiateEmoji",...
4,534
https://github.com/Unimmy/5941shopweb/blob/master/assets/js/JS5941/dianpuguishu.js
Github Open Source
Open Source
MIT
2,019
5941shopweb
Unimmy
JavaScript
Code
473
3,228
var uid = localStorage.getItem("uid"); var uname = localStorage.getItem("userName"); var pds; var typesuzi =1; function setdcshuju(){ $("#dctouname").val(uname); $("#dctoUID").val(uid); } function changetype(){ var typenum = 1; var typevalue = document.getElementById("selecttypexiala").value;...
46,634
https://github.com/ppak10/audius-client/blob/master/src/containers/sign-on/components/desktop/PasswordPage.js
Github Open Source
Open Source
Apache-2.0
2,021
audius-client
ppak10
JavaScript
Code
791
2,630
import React, { Component } from 'react' import cn from 'classnames' import PropTypes from 'prop-types' import commonPasswordList from 'fxa-common-password-list' import { Button, ButtonType, IconArrow } from '@audius/stems' import styles from './PasswordPage.module.css' import Input from 'components/data-entry/Input' ...
47,831
https://github.com/tiagocostapt/20486-DevelopingASPNETMVCWebApplications/blob/master/Allfiles/20486B/Mod16/LabFiles/Starter/PhotoSharingApplication/LocationCheckerWebRole/Service References/GeocodeService/Reference.cs
Github Open Source
Open Source
MIT
2,020
20486-DevelopingASPNETMVCWebApplications
tiagocostapt
C#
Code
2,956
15,564
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.17929 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
24,344
https://github.com/benoit-development/BadPlayerChecker/blob/master/utils/utils.php
Github Open Source
Open Source
MIT
null
BadPlayerChecker
benoit-development
PHP
Code
964
3,213
<?php session_start(); $baseURL = 'http://localhost/ffbad/'; /** * Search for player details from poona & verybad to a certain week * <ul> * <li>license</li> * <li>name</li> * <li>age</li> * <li>rankings : s/d/m : points/ranking</li> * </ul> * * @param string $search player name or license * @param string...
7,991
https://github.com/defi-ventures/breadwallet-android/blob/master/app/src/main/java/com/platform/jsbridge/LocationJs.kt
Github Open Source
Open Source
MIT
2,020
breadwallet-android
defi-ventures
Kotlin
Code
450
1,333
/** * BreadWallet * * Created by Drew Carlson <drew.carlson@breadwallet.com> on 4/14/20. * Copyright (c) 2020 breadwallet 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...
45,758
https://github.com/YeGuangjun/eagle-oj-api/blob/master/eagle-oj-web/src/main/java/com/eagleoj/web/data/status/RoleStatus.java
Github Open Source
Open Source
Apache-2.0
null
eagle-oj-api
YeGuangjun
Java
Code
41
116
package com.eagleoj.web.data.status; /** * @author Smith **/ public enum RoleStatus { ROOT(9), ADMIN(8); private int number; private RoleStatus(int number) { this.number = number; } public int getNumber() { return number; } public void setNumber(int number) { ...
14,989
https://github.com/mong98/namcheong/blob/master/src/app/pages/admin_module/imono.component.ts
Github Open Source
Open Source
MIT
2,021
namcheong
mong98
TypeScript
Code
491
1,630
import { Component, OnDestroy, OnInit } from '@angular/core' import { ImoNoService } from '../../services/imono.service' import { LocalDataSource } from 'ng2-smart-table' import { Injectable } from '@angular/core' import { Subscription } from 'rxjs' import { ImoNo } from '../../interfaces/imono' @Injectable({ provi...
24,671
https://github.com/turgu1/PIano/blob/master/src/main.cpp
Github Open Source
Open Source
Unlicense
null
PIano
turgu1
C++
Code
972
2,764
#include "copyright.h" #include <csignal> #include <pthread.h> #include <fenv.h> #define PIANO #include "PIano.h" #include "interactive_mode.h" // Configuration parameter table initialization static int defaultVolume = 50; static float defaultRoomSize = 0.84f; static float defaultDamping = ...
53,385
https://github.com/BearerPipelineTest/quilt/blob/master/catalog/app/model/graphql/schema.generated.ts
Github Open Source
Open Source
Apache-2.0
null
quilt
BearerPipelineTest
TypeScript
Code
4,132
14,008
import type { IntrospectionQuery } from 'graphql' export default { __schema: { queryType: { name: 'Query', }, mutationType: { name: 'Mutation', }, subscriptionType: null, types: [ { kind: 'OBJECT', name: 'AccessCountForDate', fields: [ { ...
19,045
https://github.com/fmaturel/angular-nuxeo/blob/master/test/karma.conf.js
Github Open Source
Open Source
MIT
null
angular-nuxeo
fmaturel
JavaScript
Code
177
692
module.exports = function (config) { 'use strict'; config.set({ basePath: '../', files: [ 'node_modules/angular/angular.js', 'node_modules/angular-route/angular-route.js', 'node_modules/angular-resource/angular-resource.js', 'node_modules/angular-cookies/angular-cookies.js', ...
36,805
https://github.com/bellhop-rs/bellhop/blob/master/bellhop-client/src/models/pages.rs
Github Open Source
Open Source
Apache-2.0
2,021
bellhop
bellhop-rs
Rust
Code
72
204
/* * Bellhop * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 0.0.0 * * Generated by: https://openapi-generator.tech */ #[allow(unused_imports)] use serde_json::Value; #[derive(Debug, Serialize, Deserialize)...
23,499
https://github.com/rexxars/react-components/blob/master/cron/fetch-components.js
Github Open Source
Open Source
MIT
2,021
react-components
rexxars
JavaScript
Code
41
140
'use strict'; var _ = require('lodash'); var NpmApi = require('app/api/npm-api'); var db = require('app/database'); NpmApi.getModules(function(err, modules) { if (err) { console.error('Module fetching failed: ', err); return; } var done = _.after(modules.length, function() { db.qu...
8,372
https://github.com/rockerbacon/asgard-api/blob/master/asgard/models/job.py
Github Open Source
Open Source
MIT
2,020
asgard-api
rockerbacon
Python
Code
257
805
import abc import re from typing import List, Optional from pydantic import validator from asgard.models.account import Account from asgard.models.base import BaseModel from asgard.models.spec.constraint import ConstraintSpec, ConstraintSpecItem from asgard.models.spec.container import ContainerSpec from asgard.model...
29,877
https://github.com/bugbounty-jbtronics/grimtofu/blob/master/webroot/app/Http/Controllers/HomeController.php
Github Open Source
Open Source
MIT
2,017
grimtofu
bugbounty-jbtronics
PHP
Code
130
522
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Contracts\Cache\Repository as Cache; use GrahamCampbell\GitHub\GitHubManager; use Session; class HomeController extends BaseController { /** * Laravel Request Repository * * @var object */ protected $reques...
21,078
https://github.com/BrunoBastos97/wikizeusteste/blob/master/Dockerfile
Github Open Source
Open Source
MIT
2,021
wikizeusteste
BrunoBastos97
Dockerfile
Code
16
42
FROM requarks/wiki:2 WORKDIR /wiki ENV DB_TYPE postgres ENV DB_SSL 1 ENV HEROKU 1 CMD ["node", "server"]
45,794
https://github.com/Mariat28/Blade-CRMS/blob/master/resources/views/manager/administrators.blade.php
Github Open Source
Open Source
MIT
2,021
Blade-CRMS
Mariat28
Blade
Code
153
762
@extends('layouts.manager') @section('content') <div class="content-body"> <div class="container-fluid"> <div class="row"> <div class="col-lg-12"> @if(count($admins) > 0) <div class="table-responsive table-hover fs-14"> ...
36,461
https://github.com/phiotr/PiggyDB-Science/blob/master/src/main/java/marubinotto/piggydb/model/FragmentList.java
Github Open Source
Open Source
Apache-2.0
2,015
PiggyDB-Science
phiotr
Java
Code
206
856
package marubinotto.piggydb.model; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import marubinotto.util.Assert; import marubinotto.util.CollectionUtils; public class FragmentList<F extends Fragment> implements Iter...
42,845
https://github.com/Raigasm/csio/blob/master/src/components/Header/Header.module.scss
Github Open Source
Open Source
MIT
2,020
csio
Raigasm
SCSS
Code
40
128
.header { background: #000; margin-bottom: 1.45rem; } .inner { margin: 0 auto; max-width: 960px; padding: 1.45rem 1.0875rem; } .link { color: white; text-decoration: none; &:hover { color: white; } } .h1 { display: inline; } .latest-version { display: inline; }
37,219
https://github.com/daranguizml/px-ios/blob/master/MercadoPagoSDK/MercadoPagoSDK/Core/PXPropertyStoring.swift
Github Open Source
Open Source
MIT
null
px-ios
daranguizml
Swift
Code
48
125
import Foundation // Stored properties protocol PXPropertyStoring { associatedtype CustomT func getAssociatedObject(_ key: UnsafeRawPointer, defaultValue: CustomT) -> CustomT } extension PXPropertyStoring { func getAssociatedObject(_ key: UnsafeRawPointer, defaultValue: CustomT) -> CustomT { guard...
51,888
https://github.com/hshimo/blockchain-ts/blob/master/lib/src/blockchain/blockchainApp.d.ts
Github Open Source
Open Source
MIT
2,019
blockchain-ts
hshimo
TypeScript
Code
68
186
import BlockChain, { ITransaction, ITransactionData, IBlock } from "./blockchain"; import Multisig from "./multisig"; import Responder, { RPC, IcallbackResponder } from "./responder"; import Contract from "../contract/contract"; interface IcallbackBlockchain extends IcallbackResponder { } export default class BlockChai...
32,507
https://github.com/matiboy/generator-astrogenerator/blob/master/modal/templates/_modalLogic.js
Github Open Source
Open Source
MIT
2,013
generator-astrogenerator
matiboy
JavaScript
Code
16
79
$scope.$on(<%= serviceName %>.Events.OPEN_MODAL, function(e){ $scope.showModals = true; }); $scope.$on(<%= serviceName %>.Events.CLOSE_MODAL, function(e){ $scope.showModals = false; });
4,161
https://github.com/objective-audio/playing/blob/master/.gitmodules
Github Open Source
Open Source
MIT
2,023
playing
objective-audio
Git Config
Code
40
200
[submodule "submodules/objc_utils"] path = submodules/objc_utils url = https://github.com/objective-audio/objc_utils.git [submodule "submodules/cpp_utils"] path = submodules/cpp_utils url = https://github.com/objective-audio/cpp_utils.git [submodule "submodules/processing"] path = submodules/processing url = http...
14,574
https://github.com/jimas95/rigid2D/blob/master/search/functions_10.js
Github Open Source
Open Source
BSD-2-Clause
null
rigid2D
jimas95
JavaScript
Code
5
69
var searchData= [ ['x_93',['x',['../classrigid2d_1_1Transform2D.html#a2bd267660a3c53af155239a7c55215de',1,'rigid2d::Transform2D']]] ];
53,495
https://github.com/BMedison/ThirtyDaysOfCode/blob/master/src/CS/TwentySecondDay/BST/binarysearchtree.cs
Github Open Source
Open Source
MIT
null
ThirtyDaysOfCode
BMedison
C#
Code
153
439
using System; using System.Collections.Generic; namespace BST { public class BinarySearchTree { private Node _root = null; private Node Insert(Node root, int data) { if(root == null) { return new Node(data); } Node cur; ...
26,953
https://github.com/tsfosnz/react-native-umeng-analystic-android/blob/master/index.js
Github Open Source
Open Source
MIT
2,017
react-native-umeng-analystic-android
tsfosnz
JavaScript
Code
10
31
import { NativeModules } from 'react-native'; const UMNative = NativeModules.UmengNativeModule;
42,946
https://github.com/vatbub/hangman-solver/blob/master/src/main/resources/mergedLanguages/wn-merged-kyh.tab
Github Open Source
Open Source
LicenseRef-scancode-public-domain, CC-BY-SA-3.0, Apache-2.0
2,021
hangman-solver
vatbub
SQL
Code
9
39
# Wiktionary kyh http://wiktionary.org/ CC BY-SA 02274259-n kyh:lemma xatimniim
26,288
https://github.com/pgrigoro/training/blob/master/ee-patterns/src/main/java/victor/training/eepatterns/legacypojo/LegacyPOJOTest.java
Github Open Source
Open Source
MIT
2,020
training
pgrigoro
Java
Code
65
347
package victor.training.eepatterns.legacypojo; import static org.junit.Assert.assertNotNull; import javax.annotation.PostConstruct; import javax.ejb.EJB; import javax.ejb.Startup; import javax.ejb.Stateless; import javax.inject.Inject; @Stateless @Startup public class LegacyPOJOTest{ @EJB private POJOAsEJB asEJB;...
29,606
https://github.com/ibluerose/STIX-Interoperability-Runner/blob/master/src/test/kotlin/com/github/stephenott/stix/interop/glue/CompleterSupport.kt
Github Open Source
Open Source
MIT
2,020
STIX-Interoperability-Runner
ibluerose
Kotlin
Code
128
481
package com.github.stephenott.stix.interop.glue import com.fasterxml.jackson.annotation.JsonProperty import com.github.tomakehurst.wiremock.core.Admin import com.github.tomakehurst.wiremock.extension.Parameters import com.github.tomakehurst.wiremock.extension.PostServeAction import com.github.tomakehurst.wiremock.stub...
27,446
https://github.com/yopachara/health_android/blob/master/app/src/main/java/com/yopachara/health/demo/ChartFragment.java
Github Open Source
Open Source
Apache-2.0
null
health_android
yopachara
Java
Code
1,133
4,633
package com.yopachara.health.demo; import android.app.Activity; import android.graphics.Color; import android.graphics.Typeface; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.widget.SwipeRefreshLayout; impo...
51,559
https://github.com/minorg/cidoc-crm-types/blob/master/py/cidoc_crm_types/properties/p22_transferred_title_to.py
Github Open Source
Open Source
Apache-2.0
null
cidoc-crm-types
minorg
Python
Code
130
291
from .p14_carried_out_by import P14CarriedOutBy from dataclasses import dataclass @dataclass class P22TransferredTitleTo(P14CarriedOutBy): """ Scope note: This property identifies the instance of E39 Actor that acquires the legal ownership of an object as a result of an instance of E8 Acquisition. The property w...
11,553
https://github.com/wolfwarriorvn/vtViewPrime/blob/master/CmdLineParser/CmdLineParser.cpp
Github Open Source
Open Source
MIT
null
vtViewPrime
wolfwarriorvn
C++
Code
466
1,256
/* DISKSPD Copyright(c) Microsoft Corporation All rights reserved. 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 without limitation the rights to us...
5,810
https://github.com/ifleeyo180/moodle1/blob/master/perl/vendor/lib/DateTime/Locale/ia_001.pod
Github Open Source
Open Source
Apache-2.0
2,021
moodle1
ifleeyo180
null
Spoken
1,488
5,597
########################################################################### # # This file is partially auto-generated by the DateTime::Locale generator # tools (v0.10). This code generator comes with the DateTime::Locale # distribution in the tools/ directory, and is called generate-modules. # # This file was generated...
33,907
https://github.com/laroi/ptest/blob/master/backend/server.js
Github Open Source
Open Source
MIT
null
ptest
laroi
JavaScript
Code
84
226
const express = require('express'); const app = express(); const port = process.env.PORT || 3000; const bodyParser = require('body-parser'); const dbConnect = require('./mongo'); app.use(bodyParser.json()); let init = (url, db) => { dbConnect(url, db) .then((db) => { // Db object will be used i...
37,775
https://github.com/joaedwar/Tella-Android/blob/master/mobile/src/main/java/rs/readahead/washington/mobile/media/MediaFileHandler.java
Github Open Source
Open Source
Apache-2.0
null
Tella-Android
joaedwar
Java
Code
1,986
7,661
package rs.readahead.washington.mobile.media; import android.app.Activity; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Matrix; import android.media.MediaMe...
26,271
https://github.com/OneHalf3544/Japan-crossword/blob/master/src/test/scala/ru/onehalf/japancrossword/solver/LineSplitterTest.scala
Github Open Source
Open Source
Apache-2.0
null
Japan-crossword
OneHalf3544
Scala
Code
451
1,681
package ru.onehalf.japancrossword.solver import org.scalamock.scalatest.MockFactory import org.scalatest.FlatSpec import ru.onehalf.japancrossword.CrosswordLoader._ import ru.onehalf.japancrossword.model.line._ import ru.onehalf.japancrossword.model.{Cell, JapanCrosswordModel, Metadata, Orientation} import ru.onehalf....
23,622
https://github.com/fluidsonic/fluid-graphql/blob/master/modules/execution/sources/conversion/LeafTypeNodeInputCoercerExtensionKey.kt
Github Open Source
Open Source
Apache-2.0
2,023
fluid-graphql
fluidsonic
Kotlin
Code
26
161
package io.fluidsonic.graphql internal object LeafTypeNodeInputCoercerExtensionKey : GNodeExtensionKey<GNodeInputCoercer<GValue>> public val GLeafType.nodeInputCoercer: GNodeInputCoercer<GValue>? get() = extensions[LeafTypeNodeInputCoercerExtensionKey] public var GNodeExtensionSet.Builder<GLeafType>.nodeInputCoe...
12,832