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/MoonCutter2B/Millenaire/blob/master/MillOLD/mill/org/millenaire/common/pathing/atomicstryker/AStarPathPlanner.java
Github Open Source
Open Source
MIT
2,021
Millenaire
MoonCutter2B
Java
Code
350
1,081
package org.millenaire.common.pathing.atomicstryker; import java.util.ArrayList; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import net.minecraft.world.World; import org.millenaire.common.MLN; /** * Control Class for AstarPath, creates workers and manages returns * * @aut...
32,079
https://github.com/UN-OCHA/hpc-api/blob/master/src/domain-services/plans/graphql/types.ts
Github Open Source
Open Source
Apache-2.0
2,022
hpc-api
UN-OCHA
TypeScript
Code
191
563
import { MaxLength } from 'class-validator'; import { Field, ObjectType, ID, Int } from 'type-graphql'; import { Brand } from '../../../common-utils/branding'; @ObjectType() export class PlanCaseload { @Field(() => ID) id: number; @Field() name: string; @Field({ nullable: true }) population?: number; ...
11,958
https://github.com/daanbreur/AdventofCode2019/blob/master/2020/04/main.py
Github Open Source
Open Source
MIT
2,021
AdventofCode2019
daanbreur
Python
Code
259
782
# EXPECTED: byr, iyr, eyr, hgt, hcl, ecl, pid, cid from functools import reduce from re import match import time with open('input.txt') as file: passports = file.read().split('\n\n') def validate(data): if not "byr" in data: return False if not "iyr" in data: return False if not "eyr" in data: return False ...
2,720
https://github.com/TaihuLight/libxsmm/blob/master/.env/pcl-tiergarten/pgi.env
Github Open Source
Open Source
BSD-3-Clause
2,023
libxsmm
TaihuLight
Shell
Code
19
93
#!/usr/bin/env bash # shellcheck disable=SC1090,SC1091 ENVDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P) source /swtools/nvidia/enable-pgi source "${ENVDIR}/base.env" export CXX=pgc++ CC=pgcc FC=pgfortran
6,219
https://github.com/emmaus-5v/webshop-5vin2-gavin-jawad/blob/master/db/create.sql
Github Open Source
Open Source
MIT
null
webshop-5vin2-gavin-jawad
emmaus-5v
SQL
Code
275
712
-- -- create tables -- DROP TABLE IF EXISTS products; CREATE TABLE products ( id INTEGER PRIMARY KEY AUTOINCREMENT, code VARCHAR(15), name VARCHAR(255), description TEXT, price NUMERIC(10, 2), type_id INTEGER, merk_id INTEGER ); DROP TABLE IF EXISTS type; CREATE TABLE type ( id INTEGER PRIMARY KEY A...
50,963
https://github.com/apollolee/com.apollo.demos/blob/master/code/osgi/event/com.apollo.demos.osgi.event.api/src/main/java/com/apollo/demos/osgi/event/api/SiriEvent.java
Github Open Source
Open Source
Apache-2.0
2,022
com.apollo.demos
apollolee
Java
Code
81
282
/* * 此代码创建于 2015年8月28日 下午3:14:18。 */ package com.apollo.demos.osgi.event.api; import java.util.Map; import java.util.Random; import org.osgi.service.event.Event; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class SiriEvent extends Event { public static final String TOPIC = "com/apollo/demos...
28,945
https://github.com/qfj313659953/www.zfw.com/blob/master/app/Http/Requests/FangOwnerRequest.php
Github Open Source
Open Source
MIT
2,019
www.zfw.com
qfj313659953
PHP
Code
116
394
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; //引入验证 use Validator; class FangOwnerRequest extends FormRequest { /** * 开启验证 */ public function authorize() { return true; } /** * Get the validation rules that apply to the request. * ...
9,161
https://github.com/itdove/multicloud-operators-subscription-release/blob/master/pkg/utils/helmrelease_test.go
Github Open Source
Open Source
Apache-2.0
null
multicloud-operators-subscription-release
itdove
Go
Code
125
396
/* Copyright 2019 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, ...
14,727
https://github.com/hungkinghsi/layaair/blob/master/src/plugins/debugtool/src/laya/debug/view/nodeInfo/nodetree/Profile.as
Github Open Source
Open Source
MIT
2,021
layaair
hungkinghsi
null
Spoken
62
302
package laya.debug.view.nodeInfo.nodetree { import laya.debug.data.Base64AtlasManager; import laya.events.Event; import laya.debug.tools.DisControlTool; import laya.debug.ui.debugui.ProfileUI; /** * ... * @author ww */ public class Profile extends ProfileUI { private var views:Array; public funct...
35,071
https://github.com/YuriAlessandro/gerador-ficha-tormenta20/blob/master/src/data/races/trog.ts
Github Open Source
Open Source
MIT
2,022
gerador-ficha-tormenta20
YuriAlessandro
TypeScript
Code
300
800
import { cloneDeep, merge } from 'lodash'; import CharacterSheet, { SubStep } from '../../interfaces/CharacterSheet'; import Equipment from '../../interfaces/Equipment'; import Race from '../../interfaces/Race'; import { Atributo } from '../atributos'; const mordida: Equipment = { group: 'Arma', nome: 'Mordida', ...
43,541
https://github.com/onlybrains/WebSite-EcoBrains/blob/master/app/Views/premium/premium.php
Github Open Source
Open Source
MIT
2,020
WebSite-EcoBrains
onlybrains
PHP
Code
123
463
<div class="container"> <div class="row mt-5 text-align-center"> <h1 class="text-center">Seja Premium!</h1> </div> <div class="row"> <p>Contribua para a revolução ecológica! Pensando cada vez mais em atender as suas necessidades da melhor forma possível, desenvolvemos os serviços premium. Nossos serviço...
11,982
https://github.com/rsuite/rsuite/blob/master/docs/less/pages/resources/templates.less
Github Open Source
Open Source
MIT
2,023
rsuite
rsuite
Less
Code
49
170
.tpl-card { display: block; height: 346px; text-decoration: none; margin-bottom: 10px; position: relative; .preview-actions { align-items: center; justify-content: center; gap: 6px; position: absolute; top: 0px; width: 100%; height: 100%; background: rgba(17, 17, 17, 0.125);...
28,844
https://github.com/donaldyan/ESP8266/blob/master/MacOS/esptools/nodemcu-firmware/app/u8glib/.output/eagle/debug/obj/u8g_font.d
Github Open Source
Open Source
MIT
2,015
ESP8266
donaldyan
Makefile
Code
9
112
.output/eagle/debug/obj/u8g_font.o .output/eagle/debug/obj/u8g_font.d : u8g_font.c u8g.h \ /Volumes/ESPTools/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/stddef.h \ ../../include/c_types.h
13,096
https://github.com/tszielin/q-lab-editor/blob/master/src/main/java/org/openide/awt/Toolbar.java
Github Open Source
Open Source
Apache-2.0
2,016
q-lab-editor
tszielin
Java
Code
2,499
5,772
/* * Sun Public License Notice * * The contents of this file are subject to the Sun Public License * Version 1.0 (the "License"). You may not use this file except in * compliance with the License. A copy of the License is available at * http://www.sun.com/ * * The Original Code is NetBeans. Th...
31,566
https://github.com/iuriimattos2/POC/blob/master/reactive-mongodb-redis-integration/src/test/java/com/mongodb/redis/integration/utils/MockObjectUtils.java
Github Open Source
Open Source
Apache-2.0
2,021
POC
iuriimattos2
Java
Code
245
797
package com.mongodb.redis.integration.utils; import com.mongodb.redis.integration.document.Book; import com.mongodb.redis.integration.document.Item; import java.util.Collection; import java.util.List; import java.util.Map; import org.springframework.data.redis.core.ReactiveHashOperations; import org.springframework.da...
5,880
https://github.com/Loganou974/TestLD/blob/master/Data/Tree/GreetingRaceLightfoot/Tree.pbt
Github Open Source
Open Source
MIT
2,020
TestLD
Loganou974
Protocol Buffer Text Format
Code
4
27
Name: "GreetingRaceLightfoot" RootId: 6772316509877100573
30,639
https://github.com/robin-raymond/zsLib/blob/master/zsLib/cpp/zsLib_XMLParserWarningTypes.cpp
Github Open Source
Open Source
BSD-2-Clause
2,018
zsLib
robin-raymond
C++
Code
825
2,180
/* Copyright (c) 2014, Robin Raymond 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 the foll...
30,349
https://github.com/xonoer/tssc/blob/master/ssc/network/network_unset.sthlp
Github Open Source
Open Source
MIT
2,022
tssc
xonoer
null
Spoken
72
209
{smcl} {* *! version 1.1 27may2015}{...} {vieweralsosee "Main network help page" "network"}{...} {title:Title} {phang} {bf:network unset} {hline 2} delete network settings {marker syntax}{...} {title:Syntax} {p 8 17 2} {cmdab:network unset} {marker description}{...} {title:Description} {pstd} {cmd:network unset}...
52,383
https://github.com/nivkeren/computational-methods/blob/master/old-course/classWorkS3_solution.m
Github Open Source
Open Source
MIT
2,020
computational-methods
nivkeren
MATLAB
Code
114
229
% class work 2 % open: doc if % try the live script option to learn about 'if' % loop over the cell array 'inputs' % and perform a different operation each time, % depending on the type of the contents of the cell % % - if it's a double, write in a new cell array: 'output' the variable*100 % - if it's a char, write...
18,357
https://github.com/mrkaato/joplin/blob/master/packages/server/src/utils/csrf.ts
Github Open Source
Open Source
MIT, ISC, LicenseRef-scancode-free-unknown, LicenseRef-scancode-proprietary-license
2,021
joplin
mrkaato
TypeScript
Code
155
484
import { User } from '../services/database/types'; import { Models } from '../models/factory'; import { ErrorForbidden } from './errors'; import { escapeHtml } from './htmlUtils'; import { bodyFields, isApiRequest } from './requestUtils'; import { AppContext } from './types'; interface BodyWithCsrfToken { _csrf: stri...
3,687
https://github.com/Algeneralo/KickScraper/blob/master/KickScraper.php
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,018
KickScraper
Algeneralo
PHP
Code
1,169
4,322
<?php include __DIR__.'/config.php'; /** * Class KickScraper v0.1 */ class KickScraper { public $pdo; public $totProject; public $liveProject; public $endedProject; public $fullSet; /** * Array of eligible sorting type * @var array */ private $availSort = ['magic','popul...
34,121
https://github.com/aws-samples/amazon-eks-machine-learning-with-terraform-and-kubeflow/blob/master/run.sh
Github Open Source
Open Source
Apache-2.0
2,023
amazon-eks-machine-learning-with-terraform-and-kubeflow
aws-samples
Shell
Code
118
707
#!/bin/bash DEEPLEARNING_WORKERS_COUNT=1 DEEPLEARNING_WORKER_GPU_COUNT=8 NUM_PARALLEL=$( expr "$DEEPLEARNING_WORKERS_COUNT" '*' "$DEEPLEARNING_WORKER_GPU_COUNT") DATA_DIR="/efs/data" FILE_SYS="efs" LOG_DIR=/efs SRC_DIR=/tensorpack DATE=`date '+%Y-%m-%d-%H-%M-%S'` RUN_ID=mask-rcnn-coco-$NUM_PARALLEL-$FILE_SYS-$DATE ...
34,992
https://github.com/poohmandu/ebike/blob/master/microservice/station-center/src/main/java/com/qdigo/ebike/stationcenter/mapper/BikeStationMapper.java
Github Open Source
Open Source
Apache-2.0
null
ebike
poohmandu
Java
Code
185
539
/* * Copyright 2020 聂钊 nz@qdigo.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 to of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
27,618
https://github.com/lishuoz/demo/blob/master/app/Http/Controllers/LocationController.php
Github Open Source
Open Source
MIT
null
demo
lishuoz
PHP
Code
107
350
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use \Torann\GeoIP\Facades\GeoIP; class LocationController extends Controller { public function welcome(Request $request){ $location = geoip($ip = $request->ip()); $locationString = $location->city.', '.$location->state.', '.$location->country;...
8,900
https://github.com/aencinaz/invet/blob/master/application/views/prefabricado/links.php
Github Open Source
Open Source
MIT
null
invet
aencinaz
PHP
Code
30
149
<nav class="col-sm-3 col-md-1 d-none d-sm-block bg-light sidebar"> <ul class="nav nav-pills flex-column"> <li class="nav-item"> <a class="nav-link" href="#">Ingresar Muestra<span class="sr-only">(current)</span></a> </li> <li class="nav-item"> <a class="nav-link" href="<?php echo base_url();?>...
9,244
https://github.com/wuxuehai/route/blob/master/Application/Home/Common/function.php
Github Open Source
Open Source
BSD-2-Clause
null
route
wuxuehai
PHP
Code
34
146
<?php /** * Created by PhpStorm. * User: wuxuehai * Date: 15-1-7 * Time: 下午6:03 */ /*获取门店名称*/ function getStoreName($id){ $store = D('store'); return $store->where(array('id'=>$id))->getField('store_name'); } /*获取管理分组名称*/ function getRoleName($id){ $role = D('role'); return $role->where(array('i...
19,788
https://github.com/zimmydev/elm-compression/blob/master/src/Compression/FrequencyTable.elm
Github Open Source
Open Source
MIT
2,019
elm-compression
zimmydev
null
Spoken
226
524
module Compression.FrequencyTable exposing (FrequencyTable, frequencyOf, generate, generateFromString, numberOfSymbolsIn, toList) import Array exposing (Array) import Bytes exposing (Bytes) import Bytes.Encode as BEncode import Compression exposing (Symbol, Weight, decodeBytesAsArray) import Dict exposing (Dict) --...
6,901
https://github.com/viknedus/codeclannigeria-frontend/blob/master/src/components/common/DashboardLayout.js
Github Open Source
Open Source
MIT
2,021
codeclannigeria-frontend
viknedus
JavaScript
Code
258
890
import React, { useState, useEffect } from 'react'; import DashboardSidebar from './DashboardSidebar'; import DashboardHeader from './DashboardHeader'; import { useStore, useDispatch, useSelector } from 'react-redux'; import { getUserProfileApi, getUserMentorProfileApi, } from '../../state/user/userActionCreator';...
1,513
https://github.com/dickschoeller/gedbrowser/blob/master/gedbrowserng/src/main/java/org/schoellerfamily/gedbrowser/api/crud/SourceCrud.java
Github Open Source
Open Source
Apache-2.0
2,021
gedbrowser
dickschoeller
Java
Code
386
1,111
package org.schoellerfamily.gedbrowser.api.crud; import java.util.List; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.schoellerfamily.gedbrowser.api.datamodel.ApiAttribute; import org.schoellerfamily.gedbrowser.api.datamodel.ApiSource; import org.schoellerfamily.gedbr...
25,892
https://github.com/pip-services3-gox/pip-services-components-gox/blob/master/config/MemoryConfigReader.go
Github Open Source
Open Source
MIT
null
pip-services-components-gox
pip-services3-gox
Go
Code
241
687
package config import ( "github.com/aymerick/raymond" cconfig "github.com/pip-services3-go/pip-services3-commons-go/config" ) /* Config reader that stores configuration in memory. The reader supports parameterization using Handlebars template engine: https://handlebarsjs.com Configuration parameters The configura...
34,954
https://github.com/akumuli/Akumuli/blob/master/functests/CMakeLists.txt
Github Open Source
Open Source
Apache-2.0
2,020
Akumuli
akumuli
CMake
Code
38
333
add_executable(storage_test storage_test.cpp) include_directories(../libakumuli) target_link_libraries(storage_test akumuli "${SQLITE3_LIBRARY}" "${APRUTIL_LIBRARY}" "${APR_LIBRARY}" ${Boost_LIBRARIES} pthread ) file(COPY akumulid_test_tools.py test_data_ingestion.py test_data...
27,368
https://github.com/duanbaihong/Medis/blob/master/client/windows/MainWindow/components/InstanceContent/components/DatabaseContainer/components/Content/index.jsx
Github Open Source
Open Source
MIT
2,018
Medis
duanbaihong
null
Spoken
248
1,181
'use strict' import React from 'react' import TabBar from './components/TabBar' import KeyContent from './components/KeyContent' import Terminal from './components/Terminal' import Config from './components/Config' import Status from './components/Status' import Footer from './components/Footer' import ReactCSSTransit...
40,289
https://github.com/twigkit/aws-sdk-java/blob/master/aws-java-sdk-swf-libraries/src/main/java/com/amazonaws/services/simpleworkflow/flow/spring/SpringWorkflowDefinitionFactoryFactory.java
Github Open Source
Open Source
Apache-2.0
2,020
aws-sdk-java
twigkit
Java
Code
243
809
/* * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. 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 is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
18,443
https://github.com/chocopirate/react_ui5_compoments/blob/master/src/Detail.jsx
Github Open Source
Open Source
CC0-1.0
null
react_ui5_compoments
chocopirate
null
Spoken
19
45
import React from "react"; import { Title } from "@ui5/webcomponents-react"; export function Detail() { return <Title>Hello code monkeys</Title>; }
22,160
https://github.com/briandfoy/task-mojolearningenvironment/blob/master/vagrant-provision.sh
Github Open Source
Open Source
Artistic-2.0
2,021
task-mojolearningenvironment
briandfoy
Shell
Code
91
247
# run this on a fresh image to setup everything sudo apt-get update sudo apt-get install -y openssl sudo apt-get install -y git sudo apt-get install -y perl sudo apt-get install -y perl-doc sudo apt-get install -y liblocal-lib-perl perl -Mlocal::lib >> ~/.bashrc source ~/.bashrc sudo apt-get install -y cpanminus s...
54,254
https://github.com/everyoneGeeks/yesminStore/blob/master/apps/app/Http/Controllers/website/productConroller.php
Github Open Source
Open Source
MIT
null
yesminStore
everyoneGeeks
PHP
Code
359
2,329
<?php namespace App\Http\Controllers\website; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\product; use App\subCategory; use Carbon\Carbon; use App\Party_Theme; use App\characters; use App\occasion; use App\occasionProduct; use App\rateProduct; /* |----------------------------------------...
49,259
https://github.com/saandre15/librecommerce-ui-core/blob/master/src/components/dropdown/index.ts
Github Open Source
Open Source
MIT
null
librecommerce-ui-core
saandre15
TypeScript
Code
8
21
export * from "./Dropdown.component"; export * from "./Dropdown.interface";
2,179
https://github.com/appotry/cosmopolitan/blob/master/test/libc/fmt/formathex64_test.c
Github Open Source
Open Source
ISC
null
cosmopolitan
appotry
C
Code
341
1,258
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2022 Justine Alexandra Roberts Tunney ...
36,867
https://github.com/leeohalloran/encog-dotnet-core/blob/master/encog-core-test/ML/HMM/TestHMM.cs
Github Open Source
Open Source
BSD-3-Clause
2,022
encog-dotnet-core
leeohalloran
C#
Code
529
1,883
// // Encog(tm) Core v3.3 - .Net Version (unit test) // http://www.heatonresearch.com/encog/ // // Copyright 2008-2014 Heaton Research, 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 a...
34,206
https://github.com/IgnacioN99/labsIS/blob/master/laboratorio4/node_modules/@popperjs/core/src/modifiers/computeStyles.js
Github Open Source
Open Source
MIT
2,021
labsIS
IgnacioN99
JavaScript
Code
304
765
// @flow import type { PositioningStrategy, Offsets, Modifier, ModifierArguments, } from '../types'; // This modifier takes the Popper state and prepares some StyleSheet properties // that can be applied to the popper element to make it render in the expected position. type Options = { gpuAcceleration?: boo...
837
https://github.com/saudexgpt/i-log-inventory/blob/master/app/Http/Controllers/Setting/CurrenciesController.php
Github Open Source
Open Source
MIT
2,021
i-log-inventory
saudexgpt
PHP
Code
177
579
<?php namespace App\Http\Controllers\Setting; use App\Http\Controllers\Controller; use App\Models\Setting\Currency; use Illuminate\Http\Request; class CurrenciesController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public functio...
6,587
https://github.com/Sourav692/FAANG-Interview-Preparation/blob/master/Algo and DSA/LeetCode-Solutions-master/Python/design-circular-queue.py
Github Open Source
Open Source
Unlicense
2,022
FAANG-Interview-Preparation
Sourav692
Python
Code
191
479
# Time: O(1) # Space: O(k) class MyCircularQueue(object): def __init__(self, k): """ Initialize your data structure here. Set the size of the queue to be k. :type k: int """ self.__start = 0 self.__size = 0 self.__buffer = [0] * k def enQueue(self, val...
11,668
https://github.com/demol9x/meter/blob/master/common/models/FilterChar.php
Github Open Source
Open Source
BSD-3-Clause
null
meter
demol9x
PHP
Code
126
366
<?php namespace common\models; use yii\db\Query; use Yii; /** * This is the model class for table "{{%filter_char}}". * * @property string $id * @property string $characters */ class FilterChar extends \common\components\ClaActiveRecord { /** * @inheritdoc */ public static function tableName() ...
37,109
https://github.com/jborrel00/changesjs/blob/master/test/index.js
Github Open Source
Open Source
MIT
2,016
changesjs
jborrel00
JavaScript
Code
279
1,315
;'use strict'; (function() { String.prototype.replaceAll = function(search, replacement) { var target = this; return target.replace(new RegExp(search, 'g'), replacement); }; var _ctx; var _stave; var _width = 800; var _selectedChord; function _reset() { var canva...
29,252
https://github.com/SableCC/sablecc/blob/master/regression-tests/ticket20/MergeBug.java
Github Open Source
Open Source
Apache-2.0
2,018
sablecc
SableCC
Java
Code
190
463
/* This file is part of SableCC ( http://sablecc.org ). * * See the NOTICE file distributed with this work for copyright information. * * 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 * ...
50,718
https://github.com/mr-ndrw/Android.Cassette/blob/master/app/src/main/java/andrewtorski/casette/app/model/mapper/RecordingModelDataMapper.java
Github Open Source
Open Source
Apache-2.0
2,016
Android.Cassette
mr-ndrw
Java
Code
105
442
package andrewtorski.casette.app.model.mapper; import java.util.Collection; import java.util.LinkedList; import java.util.List; import andrewtorski.casette.app.model.RecordingModel; import andrewtorski.cassette.domain.entity.Recording; public class RecordingModelDataMapper { public Recording transform(Recording...
45,048
https://github.com/laxdog/pyxel/blob/master/pyxel/editor/sound_editor.py
Github Open Source
Open Source
MIT
2,019
pyxel
laxdog
Python
Code
452
2,151
import pyxel from pyxel.constants import AUDIO_SOUND_COUNT from pyxel.ui import ImageButton, ImageToggleButton, NumberPicker from .constants import EDITOR_IMAGE_X, EDITOR_IMAGE_Y, SOUND_MAX_LENGTH from .editor import Editor from .field_cursor import FieldCursor from .octave_bar import OctaveBar from .piano_keyboard im...
54,611
https://github.com/lim1985/MyApp/blob/master/src/views/list/modules/PhoneMsg/Phone.vue
Github Open Source
Open Source
MIT
null
MyApp
lim1985
Vue
Code
841
3,555
<template> <div> <a-modal :title="`${telmsg}` + '信息'" :width="400" @cancel="telHookon" v-model="Phonevisible" :footer="null" :keyboard="false" :maskClosable="false" :confirmLoading="confirmLoading" > <a-spin :spinning="confirmLoading"> <a-form :for...
25,510
https://github.com/wersling/manaca/blob/master/src/net/manaca/application/config/ApplicationInitHelper.as
Github Open Source
Open Source
MIT
2,021
manaca
wersling
null
Spoken
288
1,051
package net.manaca.application.config { import flash.display.Stage; import flash.events.EventDispatcher; import flash.system.Security; import net.manaca.errors.IllegalArgumentError; import net.manaca.logging.LogLevel; import net.manaca.logging.Tracer; import net.manaca.logging.publishers.Output; import net.manaca.logg...
30,380
https://github.com/JoshuaFox/beautiful-jekyll/blob/master/googledocs/fix-googledocs-html.py
Github Open Source
Open Source
MIT
null
beautiful-jekyll
JoshuaFox
Python
Code
614
2,366
# coding utf-8 import os import re import urllib.parse from pathlib import Path from bs4 import BeautifulSoup def out_folder(): return os.path.abspath("./yiddish") def folder_in(): return os.path.abspath("./_yiddish_from_google_docs") def clean_missing_font_link(filename): if "הײַנט בין" in filename: ...
38,814
https://github.com/sinankeskin/ember-oauther/blob/master/addon/providers/instagram.js
Github Open Source
Open Source
MIT
2,021
ember-oauther
sinankeskin
JavaScript
Code
75
256
import OAuth2CodeProvider from './oauth2-code'; import { capitalize } from '@ember/string'; export default class InstagramProvider extends OAuth2CodeProvider { get name() { return 'instagram'; } get displayName() { return capitalize(this.name); } get _authorizationEndpoint() { return 'https://a...
3,975
https://github.com/libero/eLife-style-content-adapter/blob/master/dags/js/tasks/update-tiff-references-to-jpeg-in-article.js
Github Open Source
Open Source
MIT
null
eLife-style-content-adapter
libero
JavaScript
Code
140
515
const libxmljs = require('libxmljs'); const jatsXpaths = require('../xml/jats-xpaths'); const namespaces = require('../xml/namespaces'); const xpaths = require('../xml/xpaths'); function updateTiffReferencesToJPEGInArticle(xmlStringBuffer) { let xmlDoc = libxmljs.parseXml(xmlStringBuffer.toString()); xmlDoc.fin...
6,370
https://github.com/Quang7hong81/Blockchair-PHP-API/blob/master/src/Endpoints/BaseEndpoint.php
Github Open Source
Open Source
MIT
2,021
Blockchair-PHP-API
Quang7hong81
PHP
Code
191
675
<?php namespace BlockChair\Endpoints; use Composer\CaBundle\CaBundle; use GuzzleHttp\Client; use GuzzleHttp\Exception\GuzzleException; use GuzzleHttp\RequestOptions; use Psr\Http\Message\ResponseInterface; class BaseEndpoint { private $client; public static $API_ROUTE = 'https://api.blockchair.com/'; ...
35,835
https://github.com/ministryofjustice/cloud-platform-environments/blob/master/namespaces/live.cloud-platform.service.justice.gov.uk/hmpps-prisoner-from-nomis-migration-prod/resources/migration-allocations-queue.tf
Github Open Source
Open Source
MIT
2,023
cloud-platform-environments
ministryofjustice
HCL
Code
125
616
module "migration_allocations_queue" { source = "github.com/ministryofjustice/cloud-platform-terraform-sqs?ref=4.11.0" environment-name = var.environment_name team_name = var.team_name infrastructure-support = var.infrastructure_support application = var.applicat...
7,489
https://github.com/ckrause/loda/blob/master/programs/oeis/169/A169597.asm
Github Open Source
Open Source
Apache-2.0
2,021
loda
ckrause
Assembly
Code
29
284
; A169597: Numbers that are congruent to {2, 15} mod 19. ; 2,15,21,34,40,53,59,72,78,91,97,110,116,129,135,148,154,167,173,186,192,205,211,224,230,243,249,262,268,281,287,300,306,319,325,338,344,357,363,376,382,395,401,414,420,433,439,452,458,471,477,490,496,509,515,528,534,547,553,566,572,585,591,604,610,623,629,642,6...
2,709
https://github.com/quangdvn/go-n-share/blob/master/vehicle/src/app.service.ts
Github Open Source
Open Source
MIT
2,021
go-n-share
quangdvn
TypeScript
Code
48
134
import { Injectable } from '@nestjs/common'; @Injectable() export class AppService { getHello(): string { // const res = await getRepository(Route) // .createQueryBuilder('route') // .innerJoinAndSelect('route.departure', 'terminal') // .where('terminal.locationId = :id', { id: 1 }) // .ge...
51,918
https://github.com/Rockvole/rockvole_db_replicator/blob/master/lib/src/transactions/warden/Warden.dart
Github Open Source
Open Source
MS-PL
null
rockvole_db_replicator
Rockvole
Dart
Code
176
638
enum WardenType { WRITE_SERVER, READ_SERVER, ADMIN, USER, NULL } class Warden { static int? getWardenValue(WardenType? wardenType) { switch (wardenType) { case WardenType.WRITE_SERVER: return 1; case WardenType.READ_SERVER: return 3; case WardenType.ADMIN: return 5; ...
10,291
https://github.com/ctmcisco/Super-Duper-Linter/blob/master/SuperDuperLinter/Public/Out-LinterGithubAction.ps1
Github Open Source
Open Source
MIT
2,020
Super-Duper-Linter
ctmcisco
PowerShell
Code
261
786
using namespace System.Collections.Generic using namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic function Out-LinterGithubAction { <# .SYNOPSIS Outputs in Github Action annotated format .DESCRIPTION This enables Github problem matchers as well as applies special formatting to optimize...
42,508
https://github.com/venelin-mihaylov/osnova15/blob/master/universal/model/schema/UserSchema.js
Github Open Source
Open Source
MIT
null
osnova15
venelin-mihaylov
JavaScript
Code
33
90
const UserSchema = { type: 'object', required: ['email', 'password'], properties: { id: {type: 'integer'}, email: {type: 'string', minLength: 1, maxLength: 255}, password: {type: 'string', minLength: 1, maxLength: 255}, } } export default UserSchema
15,804
https://github.com/lopezautosales/Lopez-POS/blob/master/Lopez_POS/Code/Static/Extensions.cs
Github Open Source
Open Source
MIT
2,019
Lopez-POS
lopezautosales
C#
Code
20
68
namespace Lopez_POS { public static class Extensions { public static string ToCapital(this string message) { return System.Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(message.ToLower()); } } }
19,317
https://github.com/sindresorhus/has-emoji/blob/master/index.d.ts
Github Open Source
Open Source
MIT
2,022
has-emoji
sindresorhus
TypeScript
Code
29
82
/** Check whether a string has any emoji. @example ``` import hasEmoji from 'has-emoji'; hasEmoji('Unicorn 🦄'); //=> true hasEmoji('Cat'); //=> false ``` */ export default function hasEmoji(string: string): boolean;
13,541
https://github.com/yilifangteam/ng-zorro-antd-mobile/blob/master/publish/core/util/position.d.ts
Github Open Source
Open Source
MIT
null
ng-zorro-antd-mobile
yilifangteam
TypeScript
Code
76
193
export declare function getAllStyles(element: any): CSSStyleDeclaration; export declare function getStyle(element: any, prop: any): string; export declare function isStaticPositioned(element: any): boolean; export declare function getOffsetParent(element: any): any; export declare function getOffset(element: any): { ...
15,699
https://github.com/master-q/ATS-blockchain/blob/master/Makefile
Github Open Source
Open Source
BSD-3-Clause
2,018
ATS-blockchain
master-q
Makefile
Code
103
331
###### # # Makefile # ###### PATSCC=$(PATSHOME)/bin/patscc PATSOPT=$(PATSHOME)/bin/patsopt PATSLIB=$(PATSHOME)/ccomp/atslib MAKE=make ###### pre:: \ lambda lambda:: ; \ $(MAKE) -C lambda -f Makefile compile ###### all:: pre all:: run_cli_dats regress:: all regress:: run_cli_dats; ./$< cleanall:: ; rm -f run_cli_...
41,713
https://github.com/1998moye/vueblog/blob/master/myblog-vue/node_modules/ant-design-vue/lib/list/Item.js
Github Open Source
Open Source
MIT
2,021
vueblog
1998moye
JavaScript
Code
569
1,796
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exports.ListItemProps = void 0; var _vue = require("vue"); var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helper...
14,833
https://github.com/max-wilkinson/birthdaybash-azure/blob/master/BirthdayBashTimerTrigger/index.ts
Github Open Source
Open Source
Apache-2.0
null
birthdaybash-azure
max-wilkinson
TypeScript
Code
189
415
/* * Copyright (c) 2019 Ford Motor Company * 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 r...
41,512
https://github.com/andilau/advent-of-code/blob/master/src/test/kotlin/days/Day5Test.kt
Github Open Source
Open Source
CC0-1.0
2,021
advent-of-code
andilau
Kotlin
Code
30
145
package days import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.DisplayName import org.junit.jupiter.api.Test @DisplayName("Day 5") class Day5Test { val input = listOf( "BFFFBBFRRR", "FFFBBBFRRR", "BBFFBBFRLL" ) @Test @DisplayName("Part 1") fun ...
42,077
https://github.com/TheMoon2000/SurveyLex-ios-Framework/blob/master/SurveyLex/Data Types/SurveyData.swift
Github Open Source
Open Source
Apache-2.0
2,019
SurveyLex-ios-Framework
TheMoon2000
Swift
Code
360
794
// // SurveyData.swift // SurveyLex // // Created by Jia Rui Shan on 2019/5/9. // Copyright © 2019 UC Berkeley. All rights reserved. // import UIKit import SwiftyJSON /// The root class of survey elements, which encapsulates the data for an entire survey form. A `SurveyData` object contains a list of `Fragment`s....
7,606
https://github.com/smcguire56/DistributedSystemsProject/blob/master/CarHireProject/SpringWebClient/src/main/java/ie/gmit/sw/services/carService.java
Github Open Source
Open Source
MIT
null
DistributedSystemsProject
smcguire56
Java
Code
126
531
package ie.gmit.sw.services; import java.util.Date; import java.util.List; import org.springframework.stereotype.Service; import com.sun.jersey.api.client.Client; import com.sun.jersey.api.client.ClientResponse; import com.sun.jersey.api.client.GenericType; import com.sun.jersey.api.client.WebResource; import ie.gm...
47,354
https://github.com/Br4ggs/DungeonGenerator/blob/master/DungeonGenerator/Assets/scripts/GridGenerator.cs.meta
Github Open Source
Open Source
MIT
2,018
DungeonGenerator
Br4ggs
Unity3D Asset
Code
28
136
fileFormatVersion: 2 guid: a15255faca442194fb43f3ff9eeb3ebd timeCreated: 1493843128 licenseType: Free MonoImporter: serializedVersion: 2 defaultReferences: - roomtl: {fileID: 1803746423477842, guid: 953b521233a999d428e47212b55f6d43, type: 2} executionOrder: 0 icon: {instanceID: 0} userData: assetBundleNa...
21,943
https://github.com/pcesarmx/unity-test2d/blob/master/Assets/Prefabs/LevelBlocks/LevelBlock2.prefab
Github Open Source
Open Source
MIT
2,018
unity-test2d
pcesarmx
Unity3D Asset
Code
7,235
31,874
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1001 &100100000 Prefab: m_ObjectHideFlags: 1 serializedVersion: 2 m_Modification: m_TransformParent: {fileID: 0} m_Modifications: [] m_RemovedComponents: [] m_SourcePrefab: {fileID: 0} m_RootGameObject: {fileID: 1271483511239398} m_IsPrefabAsset: 1...
211
https://github.com/ok7-eleven/ftimes/blob/master/src/cmpmode.c
Github Open Source
Open Source
BSD-3-Clause, Apache-1.0, LicenseRef-scancode-unknown-license-reference, NTP, Apache-2.0, BSD-2-Clause, MIT
2,015
ftimes
ok7-eleven
C
Code
1,060
4,278
/*- *********************************************************************** * * $Id: cmpmode.c,v 1.36 2014/07/18 06:40:44 mavrik Exp $ * *********************************************************************** * * Copyright 2000-2014 The FTimes Project, All Rights Reserved. * ***********************************...
55,896
https://github.com/lechium/tvOS145Headers/blob/master/System/Library/Frameworks/HealthKit.framework/HKDateIntervalTree.h
Github Open Source
Open Source
MIT
2,021
tvOS145Headers
lechium
C
Code
67
221
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 28, 2021 at 9:06:07 PM Mountain Standard Time * Operating System: Version 14.5 (Build 18L204) * Image Source: /System/Library/Frameworks/HealthKit.framewo...
9,728
https://github.com/yoginitiate/ki_penilaian/blob/master/application/views/salt/user/create.php
Github Open Source
Open Source
MIT
null
ki_penilaian
yoginitiate
PHP
Code
101
491
<div style="margin: 30px;"> <?php echo validation_errors(); ?> <form method="post" action="<?php echo base_url('index.php/user/insert/');?>"> <label>NIP : </label><br> <input type="text" name="nip" value="<?php echo set_value('nip');?>"/><br><br> <label>Nama Depan : </label><br> <i...
6,351
https://github.com/dulton/reSipServer/blob/master/repro/php/template.php
Github Open Source
Open Source
Apache-2.0
2,019
reSipServer
dulton
PHP
Code
42
188
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- System: Repro File: Purpose: Author: --> <html> <head> <link rel="stylesheet" type="text/css" href="repro_style.css" /> <title></title> </head> <body> <h1 class="title">Repro</h1> <h1></h1>...
38,468
https://github.com/jdozierezell/afsp/blob/master/src/components/Forms/FormClockLoader.js
Github Open Source
Open Source
MIT
null
afsp
jdozierezell
JavaScript
Code
79
264
import React from 'react' import { css } from '@emotion/react' import ClockLoader from 'react-spinners/ClockLoader' import { styles } from '../../css/css' const loaderWrapperCSS = css` position: fixed; top: 0; bottom: 0; left: 0; right: 0; padding: calc(50vh - ${styles.scale.px50}) calc(50vw - ${styles.scale.px...
22,209
https://github.com/jordankanter/acme-storybook-sample-project/blob/master/ui.apps/.gitignore
Github Open Source
Open Source
Apache-2.0
2,020
acme-storybook-sample-project
jordankanter
Ignore List
Code
2
50
src/main/content/jcr_root/apps/bas/clientlibs/clientlib-site src/main/content/jcr_root/apps/bas/clientlibs/clientlib-dependencies
48,844
https://github.com/chippyash/db-plantuml/blob/master/src/Schema/PumlTriggers.php
Github Open Source
Open Source
BSD-3-Clause
2,022
db-plantuml
chippyash
PHP
Code
60
187
<?php /** * PlantUml Db Support * * @author Ashley Kitson * @license BSD-2 Clause * @copyright Ashley Kitson, UK, 2020 */ namespace Chippyash\Schema; class PumlTriggers { /** * @var PumlTrigger[] */ protected $triggers; public function addTrigger(PumlTrigger $trigger): PumlTriggers ...
44,402
https://github.com/lslog/org.openwms.common_fork/blob/master/src/main/java/org/openwms/common/transport/api/messages/TransportUnitTypeMO.java
Github Open Source
Open Source
Apache-2.0
2,022
org.openwms.common_fork
lslog
Java
Code
504
1,230
/* * Copyright 2005-2021 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...
22,456
https://github.com/juliepaul/LaboTop/blob/master/tables/mise_en_page.php
Github Open Source
Open Source
Apache-2.0
null
LaboTop
juliepaul
PHP
Code
257
1,355
<?php session_start(); include("./../scripts/connexion_BD.php"); //connexion à la base de données if(!isset($_SESSION['LOGIN'])){ header('Location: index.php'); //si on ne rentre pas de pseudo, ni le mot de passe correspondant, } //alors on ne peut pas accéder à la page de l'intranet ...
3,489
https://github.com/davideperozzi/nextform-security/blob/master/src/Nextform/Security/Csrf/Exception/GenerationFailedException.php
Github Open Source
Open Source
MIT
null
nextform-security
davideperozzi
PHP
Code
9
30
<?php namespace Nextform\Security\Csrf\Exception; class GenerationFailedException extends \Exception { }
26,615
https://github.com/xyxiaoyou/snappy-store/blob/master/gemfire-core/src/main/java/com/gemstone/gemfire/internal/SocketCreator.java
Github Open Source
Open Source
Apache-2.0
2,020
snappy-store
xyxiaoyou
Java
Code
5,173
13,731
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
4,908
https://github.com/jackmabis/Learn-Project/blob/master/src/background.ts
Github Open Source
Open Source
MIT
2,019
Learn-Project
jackmabis
TypeScript
Code
16
75
const clickListener = () => { chrome.tabs.create({ url: 'index.html', }); }; if (!chrome.browserAction.onClicked.hasListener(clickListener)) { chrome.browserAction.onClicked.addListener(clickListener); }
38,542
https://github.com/vaginessa/yandex-translate-client/blob/master/app/src/main/java/rx/Observable.java
Github Open Source
Open Source
Apache-2.0
2,017
yandex-translate-client
vaginessa
Java
Code
17
59
package rx; /** * Dummy class. * * See <a href='https://realm.io/docs/java/latest/#jackson-databind'>details</a> */ public class Observable { }
35,482
https://github.com/rooseveltlai/conniption4s/blob/master/src/test/scala/com/celexus/conniption/ConniptionConstantsTest.scala
Github Open Source
Open Source
Apache-2.0
null
conniption4s
rooseveltlai
Scala
Code
46
195
package com.celexus.conniption import org.scalatest.junit.AssertionsForJUnit import org.junit.Assert._ import org.junit._ /** * Created by cam on 3/17/14. */ class ConniptionConstantsTest extends AssertionsForJUnit { @Test def test = { assertTrue("Constant Empty:ACCESS_TOKEN_SECRET", ConniptionConstants.ACCE...
2,895
https://github.com/muqhc/skolloble/blob/master/skolloble-test/build.gradle.kts
Github Open Source
Open Source
Unlicense
null
skolloble
muqhc
Kotlin
Code
6
59
dependencies { implementation("org.antlr:antlr4-runtime:4.9.3") implementation(project(":${rootProject.name}-parser")) implementation(project(":${rootProject.name}-to-xml")) }
55,955
https://github.com/sagarpawardev/spartacus/blob/master/feature-libs/organization/administration/core/services/organization-page-meta.resolver.ts
Github Open Source
Open Source
Apache-2.0
2,021
spartacus
sagarpawardev
TypeScript
Code
415
1,293
import { Injectable, Optional } from '@angular/core'; import { BasePageMetaResolver, BreadcrumbMeta, ContentPageMetaResolver, PageBreadcrumbResolver, PageMetaResolver, PageRobotsMeta, PageRobotsResolver, PageTitleResolver, PageType, RoutingService, SemanticPathService, TranslationService, } from...
11,755
https://github.com/tryturned/webserver/blob/master/base/CurrentThread.h
Github Open Source
Open Source
MulanPSL-1.0
null
webserver
tryturned
C
Code
119
418
/* * @Autor: taobo * @Date: 2020-05-28 22:13:25 * @LastEditTime: 2020-05-31 23:43:06 * @Description: 定义一个有意思的命名空间CurrentThread ,期间使用了一个GCC * 变量__thread * 对于该类型变量创建线程时会使得每一个线程都有一份独立的实体,当然其只能修饰POD类型变量 */ #pragma once #include <stdio.h> #include <sys/types.h> #include <unistd.h> #include "noncopyable.h" using na...
10,035
https://github.com/codencoding/4chan-image-analysis/blob/master/src/scraping/scraping.py
Github Open Source
Open Source
MIT
null
4chan-image-analysis
codencoding
Python
Code
351
1,043
import pandas as pd import numpy as np import urllib, json, os, datetime, time, requests from unidecode import unidecode import unicodecsv as csv def get_threads(data): threads = [] for page in data: for thread in page["threads"]: threads.append(thread) return threads def ...
56,941
https://github.com/Saranya13/ej2-javascript-samples/blob/master/src/schedule/cell-dimension.js
Github Open Source
Open Source
FSFAP
2,020
ej2-javascript-samples
Saranya13
JavaScript
Code
60
191
/** * Schedule cell dimension sample */ this.default = function () { var data = new ej.base.extend([], window.employeeEventData, null, true); var scheduleObj = new ej.schedule.Schedule({ width: '100%', height: '650px', views: ['Day', 'Week', 'WorkWeek', 'Month', 'TimelineWeek', 'Timeli...
4,630
https://github.com/delay-tolerant-networking/oasys/blob/master/util/Singleton.h
Github Open Source
Open Source
Apache-2.0
2,016
oasys
delay-tolerant-networking
C++
Code
646
1,394
/* * Copyright 2004-2006 Intel Corporation * * 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...
11,084
https://github.com/wiseflat/manager/blob/master/packages/manager/modules/anthos/src/dashboard/general-information/upgrade-pack/upgrade-pack.constants.js
Github Open Source
Open Source
BSD-3-Clause
2,023
manager
wiseflat
JavaScript
Code
16
81
export const SUCCESS_KEY = 'anthos_tenant_dashboard_general_information_upgrade_pack_success'; export const UPGRADE_TRACKING_PREFIX = 'hpc-anthos-upgrade'; export default { SUCCESS_KEY, UPGRADE_TRACKING_PREFIX, };
39,390
https://github.com/shyaken/svnmanager/blob/master/prado-2.0.3/framework/Web/UI/WebControls/THtmlArea.php
Github Open Source
Open Source
BSD-3-Clause
2,021
svnmanager
shyaken
PHP
Code
911
2,756
<?php /** * THtmlArea class file * * This program is free software; you can redistribute it and/or modify * it under the terms of the BSD License. * * Copyright(c) 2004 by Qiang Xue. All rights reserved. * * To contact the author write to {@link mailto:qiang.xue@gmail.com Qiang Xue} * The latest version of PRA...
28,829
https://github.com/phoolhbti/mi17/blob/master/rpgm/modules/repository/src/main/java/org/yarlithub/yschool/repository/model/dao/yschool/SectionHasStaffHasRolePKDao.java
Github Open Source
Open Source
Apache-2.0
null
mi17
phoolhbti
Java
Code
30
148
package org.yarlithub.yschool.repository.model.dao.yschool; import com.felees.hbnpojogen.persistence.GenericDAO; import org.yarlithub.yschool.repository.model.obj.yschool.SectionHasStaffHasRolePK; import java.io.Serializable; /** * DAO interface for table: SectionHasStaffHasRolePK. * @author autogenerated */ public...
27,020
https://github.com/lnanek/accompany/blob/master/VRUnityProject/Accompany/Assets/FrenchPostOffice/Mod/com/Materials/box_P03_pub05.mat.meta
Github Open Source
Open Source
Apache-2.0
2,016
accompany
lnanek
Unity3D Asset
Code
6
39
fileFormatVersion: 2 guid: f26045bd595b8ab45a8ecc43fb91140f NativeFormatImporter: userData:
11,122
https://github.com/bigfootproject/OSMEF/blob/master/backend/tests/test_ssh.py
Github Open Source
Open Source
Apache-2.0
2,014
OSMEF
bigfootproject
Python
Code
43
244
import unittest import osmef.ssh as ssh class SshTest(unittest.TestCase): def setUp(self): pass def test_init(self): ret = ssh.SshConnection("127.0.0.1") self.assertIsNotNone(ret) def test_connect_local(self): ret = ssh.SshConnection("127.0.0.1") ret.connect() ...
43,699
https://github.com/kushvr7/High-On-DSA/blob/master/binarySearch/validPerfectSquare.java
Github Open Source
Open Source
MIT
2,022
High-On-DSA
kushvr7
Java
Code
78
209
package binarySearch; public class validPerfectSquare { public static void main(String[] args) { SolutionIPS solution = new SolutionIPS(); System.out.println(solution.isPerfectSquare(16)); System.out.println(solution.isPerfectSquare(14)); } } class SolutionIPS { public boolean...
21,628
https://github.com/vikrammoule-redislabs/lettucemod/blob/master/subprojects/lettucemod/src/main/java/com/redis/lettucemod/cluster/RedisModulesClusterClient.java
Github Open Source
Open Source
Apache-2.0
2,022
lettucemod
vikrammoule-redislabs
Java
Code
805
2,264
package com.redis.lettucemod.cluster; import java.net.URI; import java.time.Duration; import java.util.Collections; import com.redis.lettucemod.StatefulRedisModulesConnectionImpl; import com.redis.lettucemod.cluster.api.StatefulRedisModulesClusterConnection; import io.lettuce.core.RedisChannelWriter; import io.lettu...
23,349
https://github.com/brettdavidson3/eclipselink.runtime/blob/master/foundation/eclipselink.core.test/src/org/eclipse/persistence/testing/tests/validation/SecurityOnInitializingAttributeMethodTest.java
Github Open Source
Open Source
BSD-3-Clause
null
eclipselink.runtime
brettdavidson3
Java
Code
166
550
/******************************************************************************* * Copyright (c) 1998, 2013 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0...
34,843
https://github.com/wzy6432/ClassWebsite/blob/master/src/main/java/com/yangyang/utils/DBUtil.java
Github Open Source
Open Source
MIT
2,021
ClassWebsite
wzy6432
Java
Code
121
473
package com.yangyang.utils; import java.sql.*; public class DBUtil { private static final String URL="jdbc:mysql://localhost:3306/design?serverTimezone=GMT%2B8&useUnicode=true"; private static final String DRIVER="com.mysql.jdbc.Driver"; private static final String USER_NAME="root"; private static fin...
23,790
https://github.com/Vernalhav/python-metaprogramming/blob/master/examples/6_myabc.py
Github Open Source
Open Source
Apache-2.0
2,021
python-metaprogramming
Vernalhav
Python
Code
63
236
from metademo.myabc import AbstractClassInstantiationException, MyABC, myabstractmethod from typing import List, Dict class DataReader(MyABC): @myabstractmethod def read_input(self, data_path: str) -> List[Dict]: pass class CSVReader(DataReader): def read_input(self, data_path: str) -> List[Dict]: p...
29,378