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/bwlee/quickfix/blob/master/fix50sp2/strmasgnrptinstrmtgrp/StrmAsgnRptInstrmtGrp.go
Github Open Source
Open Source
BSD-2-Clause
2,016
quickfix
bwlee
Go
Code
239
757
package strmasgnrptinstrmtgrp import ( "github.com/quickfixgo/quickfix/fix50sp2/instrument" ) //New returns an initialized StrmAsgnRptInstrmtGrp instance func New() *StrmAsgnRptInstrmtGrp { var m StrmAsgnRptInstrmtGrp return &m } //NoRelatedSym is a repeating group in StrmAsgnRptInstrmtGrp type NoRelatedSym struc...
10,691
https://github.com/ChaosCoder/Ports/blob/master/Ports/Helpers/Localized.swift
Github Open Source
Open Source
MIT
null
Ports
ChaosCoder
Swift
Code
60
137
// // Localized.swift // Ports // // Created by Andreas Ganske on 02.06.21. // import Foundation func localizedString(_ key: String, comment: String? = nil, bundle: Bundle = Bundle.main) -> String { return NSLocalizedString(key, bundle: bundle, comment: comment ?? "") } func localizedFormattedString(_ key: St...
36,446
https://github.com/sharad-24/SilverSpoonBakers/blob/master/app/containers/Admin/Products/Add/notCakes.js
Github Open Source
Open Source
Apache-2.0, MIT
2,021
SilverSpoonBakers
sharad-24
JavaScript
Code
907
3,498
/* * Admin Login * * This is the first thing users see of our App, at the '/' route */ import React, { useState, useRef } from 'react'; import Autocomplete from '@material-ui/lab/Autocomplete'; import { Formik, Form, Field } from 'formik'; import { CircularProgress, Grid, Divider, Button, Backdrop, Tex...
28,832
https://github.com/pownjs/cdb/blob/master/commands/cdb/sub/network/handlers/log/index.js
Github Open Source
Open Source
MIT
2,021
cdb
pownjs
JavaScript
Code
139
405
module.exports = (argv, sink, tool) => { const colors = require('@pown/cli/lib/colors') const responseCodeColorFuncs = [colors.gray, colors.blue, colors.green, colors.yellow, colors.magenta, colors.red, colors.gray, colors.gray, colors.gray, colors.gray] const getHeader = (headers, header) => { he...
34,768
https://github.com/pokemonstone/tt-openbmc-new/blob/master/meta-mct/meta-s8030/recipes-phosphor/configuration/entity-manager/0007-add-tmp411-to-sensor-types.patch
Github Open Source
Open Source
MIT, Apache-2.0
2,020
tt-openbmc-new
pokemonstone
null
Spoken
89
415
From da49b1c51eec20ee6a4f2bbca62283cd6ba9246c Mon Sep 17 00:00:00 2001 From: "wendy.shi" <wendy.shi@mic.com.tw> Date: Wed, 24 Jun 2020 11:11:28 +0800 Subject: [PATCH] add tmp411 to sensor types --- include/devices.hpp | 4 ++++ 1 file changed, 4 insertions(+) mode change 100644 => 100755 include/devices.hpp diff --...
52,239
https://github.com/airbnb/honeypot/blob/master/honeypot_plugin/hive_log_parser.py
Github Open Source
Open Source
Apache-2.0
2,021
honeypot
airbnb
Python
Code
309
1,002
""" HIVE LOG PARSER --------------- This module is used to parse Hive logs. USE: 1 - Create a HiveLog object and pass the log filepath to the initializer. Then access the parsed data from HiveLog.data 2 - Alternatively, just call the class method HiveLog.parselog(filepath) to return the parsed d...
6,767
https://github.com/uxb2bralph/IFS-EIVO03/blob/master/Business/Helper/Validation/CaptchaValidationAttribute.cs
Github Open Source
Open Source
MIT
null
IFS-EIVO03
uxb2bralph
C#
Code
91
326
using Model.Helper; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Web; namespace Business.Helper.Validation { public class CaptchaValidationAttribute : ValidationAttribute { private readonly string _encry...
48,135
https://github.com/Ilyushquette/scape2d/blob/master/scape2d/scape2d-graphics/src/main/scala/scape/scape2d/graphics/raster/ViewportRaster.scala
Github Open Source
Open Source
MIT
2,020
scape2d
Ilyushquette
Scala
Code
70
289
package scape.scape2d.graphics.raster import scape.scape2d.engine.geom.shape.AxisAlignedRectangleInteger import scape.scape2d.engine.geom.shape.Point class ViewportRaster(val parentRaster:Raster, val bounds:AxisAlignedRectangleInteger) extends Raster { if(!parentRaster.bounds.contains(bounds)) throw new Illegal...
45,603
https://github.com/Veil-Project/veil/blob/master/src/test/zerocoin_implementation_tests.cpp
Github Open Source
Open Source
MIT
2,023
veil
Veil-Project
C++
Code
2,068
9,957
// Copyright (c) 2019-2022 The Veil developers // Copyright (c) 2017-2019 The PIVX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "libzerocoin/Denominations.h" #include "amount.h" #include "chainparams.h" //...
45,914
https://github.com/criteo-forks/scylla-operator/blob/master/pkg/scyllaclient/config.go
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause
2,021
scylla-operator
criteo-forks
Go
Code
298
727
package scyllaclient import ( "net/http" "time" "github.com/pkg/errors" "go.uber.org/multierr" ) // Config specifies the Client configuration. type Config struct { // Hosts specifies all the cluster hosts that for a pool of hosts for the // client. Hosts []string // Port specifies the default Scylla Manager ...
13,719
https://github.com/dukenst2006/SmartAccountant/blob/master/resources/lang/ar/Models/User.php
Github Open Source
Open Source
MIT
2,021
SmartAccountant
dukenst2006
PHP
Code
15
62
<?php use Yajra\DataTables\Html\Column; return [ 'Name' => 'الأسم', 'Email' => 'الأيميل', 'Password' => 'الباسورد' ];
36,339
https://github.com/nyusuppliers/suppliers/blob/master/tests/test_routes.py
Github Open Source
Open Source
Apache-2.0
2,021
suppliers
nyusuppliers
Python
Code
863
3,642
""" Test cases for Supplier Service Test cases can be run with the following: nosetests """ import os import logging from typing import SupportsRound from unittest import TestCase from unittest.mock import MagicMock, patch from flask_api import status # HTTP Status Codes from service.models import db from service....
9,437
https://github.com/ISKU/Algorithm/blob/master/BOJ/15916/Main.java
Github Open Source
Open Source
MIT
2,021
Algorithm
ISKU
Java
Code
175
435
/* * Author: Minho Kim (ISKU) * Date: July 20, 2018 * E-mail: minho.kim093@gmail.com * * https://github.com/ISKU/Algorithm * https://www.acmicpc.net/problem/15916 */ import java.util.*; import java.io.*; public class Main { public static void main(String... args) throws Exception { BufferedReader br = new B...
39,378
https://github.com/deadsnakes/python3.1/blob/master/Lib/xml/dom/minidom.py
Github Open Source
Open Source
PSF-2.0
null
python3.1
deadsnakes
Python
Code
5,701
18,321
"""\ minidom.py -- a lightweight DOM implementation. parse("foo.xml") parseString("<foo><bar/></foo>") Todo: ===== * convenience methods for getting elements and text. * more testing * bring some of the writer and linearizer code into conformance with this interface * SAX 2 namespaces """ import codecs ...
1,087
https://github.com/JaehoonShin/RLTaskController_simulation/blob/master/pg.py
Github Open Source
Open Source
MIT
null
RLTaskController_simulation
JaehoonShin
Python
Code
578
2,416
'''ref : https://github.com/hermesdt/reinforcement-learning/blob/master/a2c/pendulum_a2c_online.ipynb''' import numpy as np import torch import gym from torch import nn from torch.nn import functional as F import matplotlib.pyplot as plt from torch.utils.tensorboard import SummaryWriter from gym import spaces def mis...
18,334
https://github.com/ynixt/shared-finances/blob/master/frontend/src/app/components/transactions-table/transactions-table.component.ts
Github Open Source
Open Source
MIT
2,023
shared-finances
ynixt
TypeScript
Code
637
2,452
import { Component, EventEmitter, Input, OnInit, Output, ViewEncapsulation } from "@angular/core"; import { TdDialogService } from "@covalent/core/dialogs"; import { HotToastService } from "@ngneat/hot-toast"; import { TranslocoService } from "@ngneat/transloco"; import { UntilDestroy, untilDestroyed } from "@ngneat/un...
11,641
https://github.com/hanbellgp/Hanbell-EAP/blob/master/EAP-ejb/src/java/cn/hanbell/eap/ejb/ShipmentScheduleBean.java
Github Open Source
Open Source
Apache-2.0
null
Hanbell-EAP
hanbellgp
Java
Code
524
1,712
/* * To change this license header, choose License Headers in Project Properties. To change this template file, choose * Tools | Templates and open the template in the editor. */ package cn.hanbell.eap.ejb; import cn.hanbell.eap.comm.SuperEJBForEAP; import cn.hanbell.eap.entity.ShipmentSchedule; import java.util.Da...
20,656
https://github.com/Param-Harrison/rx-player/blob/master/src/manifest/indexes/timeline.js
Github Open Source
Open Source
Apache-2.0
2,017
rx-player
Param-Harrison
JavaScript
Code
930
2,083
import Segment from "../segment.js"; import { normalizeRange, getTimelineRangeEnd, getInitSegment, setTimescale, scale, } from "./helpers.js"; const getSegmentIndex = (index, ts) => { const { timeline } = index; let low = 0; let high = timeline.length; while (low < high) { const mid = (low + hi...
3,679
https://github.com/koraa/heapfree/blob/master/include/hardwave/heapfree/iterator_range.hpp
Github Open Source
Open Source
MIT
2,021
heapfree
koraa
C++
Code
351
880
#pragma once #include <cstddef> #include <iterator> namespace hardwave { namespace heapfree { /// The iterator range can be used wrap any pair of iterators into a /// range/container like interface. /// /// Bidirectional and random access iterators are supported (Input & Output). /// Forward and Input iterators might...
9,671
https://github.com/plasticrake/tplink-smarthome-api/blob/master/src/plug/schedule.ts
Github Open Source
Open Source
MIT
2,023
tplink-smarthome-api
plasticrake
TypeScript
Code
315
865
import type Plug from '.'; import Schedule, { createScheduleRule } from '../shared/schedule'; import type { ScheduleRule, ScheduleRuleInputTime } from '../shared/schedule'; import type { SendOptions } from '../client'; import { isDefinedAndNotNull } from '../utils'; export type PlugScheduleRule = Omit<ScheduleRule, 'e...
32,211
https://github.com/donnior/reactor/blob/master/reactor-stream/src/main/java/reactor/rx/action/support/TapAndControls.java
Github Open Source
Open Source
Apache-2.0
2,015
reactor
donnior
Java
Code
197
451
/* * Copyright (c) 2011-2015 Pivotal Software Inc., 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 * *...
132
https://github.com/wanghongxing/fabric-sdk-go/blob/master/test/apiServer/controllers/block.go
Github Open Source
Open Source
Apache-2.0
2,017
fabric-sdk-go
wanghongxing
Go
Code
156
430
package controllers import ( "fmt" "strconv" "github.com/astaxie/beego" "github.com/hyperledger/fabric-sdk-go/test/apiServer/models" ) // Operations about Blocks type BlockController struct { beego.Controller } // @Title GetAll // @Description get all Blocks // @Success 200 {object} models.Block // @router / [...
4,844
https://github.com/harry0102/jianshushe/blob/master/target/jfinal_demo_for_maven/js/common.js
Github Open Source
Open Source
MIT
2,017
jianshushe
harry0102
JavaScript
Code
651
1,500
var jsonChilds = []; function getFieldType(t) { var slt = "string"; switch (t) { case "i": slt = "int"; break; case "s": slt = "string"; break; case "d": slt = "DateTime"; break; case "b": slt = ...
45,892
https://github.com/JoelSanRam/SoloDesarrollos/blob/master/BD/Bi07 - alter planta.sql
Github Open Source
Open Source
MIT
null
SoloDesarrollos
JoelSanRam
SQL
Code
95
323
ALTER TABLE `bi07`.`planta` CHANGE `numero` `nombre` VARCHAR(50) CHARSET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL; CREATE TABLE IF NOT EXISTS `bi07`.`galeria_desarrollo` ( `id` INT NOT NULL AUTO_INCREMENT, `imagen` VARCHAR(200) NOT NULL, `activo` INT(11) NOT NULL, `desarrollo_id` INT(11) NOT NULL, ...
25,585
https://github.com/xiezhenye/harp/blob/master/src/arp/arp.go
Github Open Source
Open Source
Apache-2.0
null
harp
xiezhenye
Go
Code
380
1,531
package arp import ( "syscall" "unsafe" "net" // "fmt" ) type ArpListener struct { sock int } func NewListener() (ret ArpListener, err error) { ret.sock, err = syscall.Socket(syscall.AF_PACKET, syscall.SOCK_RAW, int(htons(syscall.ETH_P_ARP))) return } func (self *ArpListener) Close() { syscall.Clos...
36,957
https://github.com/jaschenk/Your-Microservice/blob/master/your-microservice-core/src/main/java/your/microservice/core/system/scheduling/package-info.java
Github Open Source
Open Source
Apache-2.0
2,021
Your-Microservice
jaschenk
Java
Code
9
41
/** * @author jeff.a.schenk@gmail.com on 8/25/15. */ package your.microservice.core.system.scheduling;
48,706
https://github.com/intel/zephyr/blob/master/tests/bluetooth/host/id/bt_id_set_adv_private_addr/src/main.c
Github Open Source
Open Source
Apache-2.0
2,023
zephyr
intel
C
Code
490
2,199
/* * Copyright (c) 2022 Nordic Semiconductor ASA * * SPDX-License-Identifier: Apache-2.0 */ #include "mocks/crypto.h" #include "mocks/crypto_expects.h" #include "mocks/hci_core.h" #include "mocks/rpa.h" #include "mocks/rpa_expects.h" #include "testing_common_defs.h" #include <zephyr/bluetooth/hci.h> #include <zep...
6,180
https://github.com/grncdr/js-shell-parse/blob/master/tests/fixtures/shellcheck-tests/braced6/source.sh
Github Open Source
Open Source
MIT
2,018
js-shell-parse
grncdr
Shell
Code
2
14
echo {foo,bar,$((${var}))}
30,611
https://github.com/adi6496/iot-dev/blob/master/cmd/utils/download-tools.go
Github Open Source
Open Source
Apache-2.0
2,021
iot-dev
adi6496
Go
Code
381
1,029
package utils import ( "archive/tar" "compress/gzip" "io" "log" "net/http" "os" "path/filepath" ) var ( ocUrl = "https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-client-linux-4.3.5.tar.gz" enmasseUrl = "https://github.com/EnMasseProject/enmasse/releases/download/0.30.2/enmasse-...
30,350
https://github.com/avelinogv/PruebaGoogle/blob/master/Assets/Scripts/LevelManager.cs
Github Open Source
Open Source
Unlicense
null
PruebaGoogle
avelinogv
C#
Code
404
987
/* * Copyright (C) 2015 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
50,750
https://github.com/aws/amazon-ecs-agent/blob/master/agent/go.mod
Github Open Source
Open Source
Apache-2.0, MIT
2,023
amazon-ecs-agent
aws
Go Module
Code
216
1,501
module github.com/aws/amazon-ecs-agent/agent go 1.19 require ( github.com/aws/amazon-ecs-agent/ecs-agent v0.0.0 github.com/aws/aws-sdk-go v1.36.0 github.com/awslabs/go-config-generator-for-fluentd-and-fluentbit v0.0.0-20210308162251-8959c62cb8f9 github.com/cihub/seelog v0.0.0-20170130134532-f561c5e57575 github.c...
51,599
https://github.com/andreinitescu/HotReloading/blob/master/Core/HotReloading.Core/Statements/MemberAccess/StaticPropertyMemberStatement.cs
Github Open Source
Open Source
MIT
2,019
HotReloading
andreinitescu
C#
Code
25
59
namespace HotReloading.Core.Statements { public class StaticPropertyMemberStatement : MemberAccessStatement { public ClassType ParentType { get; set; } public string Name { get; set; } } }
36,308
https://github.com/zhangjiquan1/phpsourcecode/blob/master/ruojianll/AliceSPA/client/dev/js/app/service/ICODE.js
Github Open Source
Open Source
BSD-2-Clause
2,020
phpsourcecode
zhangjiquan1
JavaScript
Code
59
219
/** * Created by kunono on 2015/2/1. */ app.service('ICODE',['base','$q','common',function(base,$q,common){ return{ generateUrl:generateUrl, check:check }; function generateUrl(){ return common.generateAPI('/ICODE/generate' + '?time=' + Date.parse(new Date())); } function ...
11,831
https://github.com/bhargavat/AW-iOS-Pods/blob/master/Pods/AWEncryptedStoreKit/AWEncryptedStoreKit/AWEncryptedStore.swift
Github Open Source
Open Source
Apache-2.0
null
AW-iOS-Pods
bhargavat
Swift
Code
403
1,267
// // AWEncryptedStore.swift // AWEncryptedStoreKit // // Copyright © 2017 vmware. All rights reserved. // import Foundation import EncryptedCoreData import CoreData public final class AWEncryptedStoreOptions : NSObject { public static let StoreType = "AWEncryptedStore" public static let MigrateDataFromSto...
38,131
https://github.com/inductor69/Aditya-s-Blog/blob/master/src/icons/HeroMask.js
Github Open Source
Open Source
MIT
2,021
Aditya-s-Blog
inductor69
JavaScript
Code
72
294
import React from 'react' import styled from 'styled-components' const Path = styled.svg` position: relative; left: -3%; right: -3%; width: 106%; bottom: 0%; min-width: 600px; ` const HeroMask = () => ( <Path preserveAspectRatio='none' width='1440' height='46' viewBox='0 0 1440 46' f...
12,565
https://github.com/sing-group/compi/blob/master/dk/src/main/java/org/sing_group/compi/dk/hub/CompiHub.java
Github Open Source
Open Source
Apache-2.0
2,021
compi
sing-group
Java
Code
331
1,063
/*- * #%L * Compi Development Kit * %% * Copyright (C) 2016 - 2019 Daniel Glez-Peña, Osvaldo Graña-Castro, Hugo * López-Fernández, Jesús Álvarez Casanova * %% * 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...
36,292
https://github.com/boogie-org/corral/blob/master/test/av-regressions/run.sh
Github Open Source
Open Source
MIT
2,023
corral
boogie-org
Shell
Code
32
77
#!/bin/bash rm -f Output ./runtest.sh $1 >> Output diff Output Answer > /dev/null 2>&1 error=$? if [ $error -eq 0 ] then echo "Succeeded" exit 0 else echo "FAILED" exit 1 fi
7,450
https://github.com/charliecloud/brailleblaster/blob/master/src/main/org/brailleblaster/archiver/NimasArchiver.java
Github Open Source
Open Source
Apache-2.0
2,016
brailleblaster
charliecloud
Java
Code
1,703
5,202
/* BrailleBlaster Braille Transcription Application * * Copyright (C) 2014 * American Printing House for the Blind, Inc. www.aph.org * and * ViewPlus Technologies, Inc. www.viewplus.com * and * Abilitiessoft, Inc. www.abilitiessoft.com * All rights reserved * * This file may contain code borrowed from files pro...
15,638
https://github.com/gdb/active_merchant/blob/master/test/unit/gateways/braintree_blue_test.rb
Github Open Source
Open Source
MIT
2,011
active_merchant
gdb
Ruby
Code
174
1,000
require 'test_helper' class BraintreeBlueTest < Test::Unit::TestCase def setup @gateway = BraintreeBlueGateway.new( :merchant_id => 'test', :public_key => 'test', :private_key => 'test' ) end def test_refund_legacy_method_signature Braintree::Transaction.expects(:refund). wi...
10,917
https://github.com/mrcnpdlk/grandstream-xmlapp/blob/master/src/Application/Model/Event.php
Github Open Source
Open Source
MIT
2,017
grandstream-xmlapp
mrcnpdlk
PHP
Code
185
566
<?php /** * Grandstream-XMLApp * * Copyright (c) 2017 pudelek.org.pl * * @license MIT License (MIT) * * For the full copyright and license information, please view source file * that is bundled with this package in the file LICENSE * * @author Marcin Pudełek <marcin@pudelek.org.pl> */ namespace mrcnpdlk\G...
22,195
https://github.com/xiebruce/PicUploader/blob/master/vendor/qcloud/cos-sdk-v5/sample/imageRepairProcess.php
Github Open Source
Open Source
MIT
2,023
PicUploader
xiebruce
PHP
Code
246
1,278
<?php require dirname(__FILE__, 2) . '/vendor/autoload.php'; $secretId = "SECRETID"; //替换为用户的 secretId,请登录访问管理控制台进行查看和管理,https://console.cloud.tencent.com/cam/capi $secretKey = "SECRETKEY"; //替换为用户的 secretKey,请登录访问管理控制台进行查看和管理,https://console.cloud.tencent.com/cam/capi $region = "ap-beijing"; //替换为用户的 region,已创建桶归属的r...
13,496
https://github.com/savelee/tvguide-dialogflow-apigee/blob/master/views/layout.jade
Github Open Source
Open Source
Apache-2.0
null
tvguide-dialogflow-apigee
savelee
null
Spoken
27
109
doctype html html head title= title link(rel='stylesheet', href='/stylesheets/style.css') body ul li a(href="/myshows") My Shows li a(href="/newshows") New Shows li a(href="/shows") All Shows li a(href=url) Authenticate block content
14,066
https://github.com/fossabot/pwa/blob/master/libraries/commerce/scanner/streams/index.spec.js
Github Open Source
Open Source
Apache-2.0
2,021
pwa
fossabot
JavaScript
Code
214
811
/* eslint-disable extra-rules/no-single-line-objects */ import { mainSubject } from '@shopgate/pwa-common/store/middelwares/streams'; import { ROUTE_DID_ENTER } from '@shopgate/pwa-common/constants/ActionTypes'; import { scannerDidEnter$, startScanner$, scannerStarted$, scannerCancelled$, scannerFinished$, ...
8,191
https://github.com/colinbdclark/signaletic/blob/master/hosts/daisy/vendor/libDaisy/src/hid/audio.cpp
Github Open Source
Open Source
MIT
2,022
signaletic
colinbdclark
C++
Code
1,554
5,396
#include "hid/audio.h" namespace daisy { // ================================================================ // Static Globals // ================================================================ // Ordinarily the user would be required to provide their own buffer, but // in the interest in encourage newcomers, and th...
40,161
https://github.com/w181496/OJ/blob/master/TIOJ/1196.cpp
Github Open Source
Open Source
MIT
2,021
OJ
w181496
C++
Code
125
362
#include <iostream> using namespace std; int main() { ios_base::sync_with_stdio(0); int n; char mx[13][13]; int dp[13][13]; cin >> n; for(int i = 1; i <= n; ++i) for(int j = 1; j <= n; ++j) cin >> mx[j][i]; for(int i = 0; i <= n; ++i) dp[0][i] = dp[i][0] = -1e8; ...
46,825
https://github.com/JohnnyZhang917/hybrid_learning/blob/master/docs/Makefile
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,020
hybrid_learning
JohnnyZhang917
Makefile
Code
121
305
# Minimal makefile for Sphinx documentation # Usage: # - Call from project root via `make -f "docs/Makefile"` # - To add further sphinx arguments, append SPHINXOPTS="some arguments" to the make call # # You can set these variables from the command line, and also # from the environment for the first two. SPHINXOPTS ...
36,241
https://github.com/codybutz/lazy-trader/blob/master/app/Services/Coins/CoinRankingService.php
Github Open Source
Open Source
MIT
2,020
lazy-trader
codybutz
PHP
Code
37
124
<?php namespace App\Services\Coins; use App\Models\Coin; class CoinRankingService { public static function rank(Coin $coin) { return self::coinIdsByRank()->search(function ($id) use ($coin) { return $id === $coin->id; }) + 1; } public static function coinIdsByRank() {...
51,322
https://github.com/alefnula/newreleases/blob/master/newreleases/utils.py
Github Open Source
Open Source
Apache-2.0
2,021
newreleases
alefnula
Python
Code
114
377
import click import tabulate from functools import wraps from newreleases.errors import HttpClientError def handle_client_errors(m404=None): def decorator(func): @wraps(func) def wrapper(*args, **kwargs): try: return func(*args, **kwargs) except HttpClientEr...
17,290
https://github.com/kagwicharles/Seniorproject-ui/blob/master/node_modules/@iconify/icons-ant-design/step-forward.js
Github Open Source
Open Source
MIT
2,021
Seniorproject-ui
kagwicharles
JavaScript
Code
53
185
var data = { "body": "<path d=\"M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 0 1 0 33.9M694 864h64a8 8 0 0 0 8-8V168a8 8 0 0 0-8-8h-64a8 8 0 0 0-8 8v688a8 8 0 0 0 8 8\" fill=\"currentColor\"/>", "width": 1024, "height": 1024 }; exports.__...
35,087
https://github.com/nukuwodao/SysPro/blob/master/public/MinGW/include/bdatypes.h
Github Open Source
Open Source
MIT
2,022
SysPro
nukuwodao
C
Code
68
236
#ifndef _BDATYPES_H #define _BDATYPES_H #if __GNUC__ >= 3 #pragma GCC system_header #endif #ifdef __cplusplus extern "C" { #endif /*--- DirectShow Reference - DirectShow Enumerated Types */ typedef enum { MEDIA_TRANSPORT_PACKET, MEDIA_ELEMENTARY_STREAM, MEDIA_MPEG2_PSI, MEDIA_TRANSPORT_PAYLOAD } MEDIA_SAMPLE_CONT...
21,889
https://github.com/friedrith/rvn/blob/master/src/rvn.js
Github Open Source
Open Source
MIT
null
rvn
friedrith
JavaScript
Code
362
978
#!/usr/bin/env node const yargs = require('yargs/yargs') const ora = require('ora') const chalk = require('chalk') const open = require('open') const inquirer = require('inquirer') const terminalLink = require('terminal-link') require('dotenv').config() const promptForSearch = require('./prompt') const db = require('....
26,897
https://github.com/vishalbelsare/PySyft/blob/master/packages/syft/src/syft/lib/torch/tensor_util.py
Github Open Source
Open Source
Apache-1.1
2,022
PySyft
vishalbelsare
Python
Code
307
1,414
# third party import pyarrow as pa import torch as th # relative from ...experimental_flags import flags from ...proto.lib.torch.tensor_pb2 import ProtobufContent from ...proto.lib.torch.tensor_pb2 import TensorData # Torch dtypes to string (and back) mappers TORCH_DTYPE_STR = { th.uint8: "uint8", th.int8: "i...
28,747
https://github.com/tshewang-rinzin/dzongkha-typing-tutor/blob/master/src/assets/scss/hands.scss
Github Open Source
Open Source
MIT
null
dzongkha-typing-tutor
tshewang-rinzin
SCSS
Code
25
115
.hands-container{ position: relative; text-align:center; margin-top:100px; height: 200px; overflow: hidden; .left-hand{ height: 300px; width: 300px; margin-left: -70px; opacity: 1; } .right-hand{ height:300px; width:300px; opacity:...
10,301
https://github.com/littletomatodonkey/models/blob/master/PaddleCV/tracking/pytracking/parameter/atom/default_vot.py
Github Open Source
Open Source
GPL-3.0-only, Apache-2.0
2,020
models
littletomatodonkey
Python
Code
775
1,758
import numpy as np from pytracking.features.deep import ResNet18, ResNet50 from pytracking.features.extractor import MultiResolutionExtractor from pytracking.utils import TrackerParams, FeatureParams def parameters(): params = TrackerParams() # These are usually set from outside params.debug = 0 # Debu...
23,487
https://github.com/AgaKasia/new/blob/master/Add.cshtml.cs
Github Open Source
Open Source
Apache-2.0, MIT
null
new
AgaKasia
C#
Code
168
469
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using PrepForOnSite.Models; using System.ComponentModel.DataAnnotations; using Microsoft.EntityFrameworkCore; namespace PrepForOnSite.Pages { ...
49,347
https://github.com/acampesino/deeplearning4j/blob/master/libnd4j/include/ops/declarable/helpers/cpu/unique.cpp
Github Open Source
Open Source
Apache-2.0
2,019
deeplearning4j
acampesino
C++
Code
303
853
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
46,743
https://github.com/nosh/blip/blob/master/app/components/authorizations/authorization.js
Github Open Source
Open Source
BSD-2-Clause
2,015
blip
nosh
JavaScript
Code
219
550
/** @jsx React.DOM */ /* * == BSD2 LICENSE == * Copyright (c) 2014, Tidepool Project * * This program is free software; you can redistribute it and/or modify it under * the terms of the associated License, which is identical to the BSD 2-Clause * License as published by the Open Source Initiative at opensource....
44,352
https://github.com/smwesten-usgs/recharge/blob/master/man/bf_chem_mass_balance.Rd
Github Open Source
Open Source
LicenseRef-scancode-public-domain-disclaimer, LicenseRef-scancode-warranty-disclaimer
2,021
recharge
smwesten-usgs
R
Code
156
357
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/chemical_mass_balance.R \name{bf_chem_mass_balance} \alias{bf_chem_mass_balance} \title{Baseflow Separation by use of a chemical mass balance} \usage{ bf_chem_mass_balance(date, discharge, C, C_baseflow = max(C), C_runoff = min(C), STAID = ...
9,893
https://github.com/semaifour/dbexplorer/blob/master/WebToolkit/src/com/silrais/webtoolkit/servlet/SimpleDispatcherServlet.java
Github Open Source
Open Source
Apache-2.0
null
dbexplorer
semaifour
Java
Code
280
1,020
package com.silrais.webtoolkit.servlet; import java.util.ArrayList; import java.util.logging.Level; import java.util.logging.Logger; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.web.servlet.DispatcherSer...
12,353
https://github.com/ayende/Subtext/blob/master/SubtextSolution/Subtext.Web/Skins/origami/Controls/SyndicationLinks.ascx
Github Open Source
Open Source
BSD-3-Clause, MIT
2,010
Subtext
ayende
null
Spoken
24
116
<%@ Control Language="c#" Inherits="Subtext.Web.UI.Controls.MyLinks" %> <ul id="syndicate-list"> <li class="RSS"><asp:hyperlink id="XMLLink" runat="server" text="RSS 2.0 Feed" /></li> <li class="RSS"><asp:hyperlink id="AtomLink" runat="server" text="Atom 1.0 Feed" /></li> </ul>
41,925
https://github.com/XanderHung/Project1/blob/master/resources/views/category/edit.blade.php
Github Open Source
Open Source
MIT
2,020
Project1
XanderHung
Blade
Code
188
998
@extends('viewdef') @section('category') @foreach($category as $cat) @if(\Illuminate\Support\Facades\Auth::guest() || $user->rolename == 'User') <a class="dropdown-item" href="/viewflower/{{$cat->categoryname}}">{{$cat->categoryname}}</a> @else <a class="dropdown-item" href="...
7,765
https://github.com/uk-gov-mirror/hmcts.ia-case-api/blob/master/src/test/java/uk/gov/hmcts/reform/iacaseapi/domain/handlers/presubmit/FeePaymentStateHandlerTest.java
Github Open Source
Open Source
MIT
null
hmcts.ia-case-api
uk-gov-mirror
Java
Code
790
6,447
package uk.gov.hmcts.reform.iacaseapi.domain.handlers.presubmit; import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; impor...
40,554
https://github.com/utsavmajhi/Ashokafarmer/blob/master/app/src/main/java/com/example/ashokafarmer/digitiselandmodels/Sendnewlandformat.java
Github Open Source
Open Source
MIT
2,020
Ashokafarmer
utsavmajhi
Java
Code
118
366
package com.example.ashokafarmer.digitiselandmodels; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class Sendnewlandformat { @SerializedName("area") @Expose private String area; @SerializedName("location") @Expose private String location...
18,901
https://github.com/dAck2cC2/m3e/blob/master/src/frameworks/wilhelm/src/itf/IVibra.cpp
Github Open Source
Open Source
Apache-2.0
2,020
m3e
dAck2cC2
C++
Code
421
1,448
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
7,654
https://github.com/Daschi1/updated-java-sql-generator/blob/master/src/main/java/org/sql/generation/api/vendor/internal/package-info.java
Github Open Source
Open Source
MIT
2,021
updated-java-sql-generator
Daschi1
Java
Code
36
65
/** * This is package for internal use of vendor loading. It provides class with same functionality as java.util.ServiceLoader class, and is included here instead so that the framework would be Java 1.5-compatible. */ package org.sql.generation.api.vendor.internal;
51,577
https://github.com/cantte/Kaizen/blob/master/Kaizen/Models/ProductInvoice/ProductInvoiceDetailInputModel.cs
Github Open Source
Open Source
MIT
2,021
Kaizen
cantte
C#
Code
41
102
using System.ComponentModel.DataAnnotations; namespace Kaizen.Models.ProductInvoice { public class ProductInvoiceDetailInputModel { [Required(ErrorMessage = "El código del producto es requerido")] public string ProductCode { get; set; } [Required(ErrorMessage = "La cantidad de producto...
32,710
https://github.com/GiveNGo/GiveNGo/blob/master/src/client/containers/CodeOfConductPage.tsx
Github Open Source
Open Source
MIT
2,020
GiveNGo
GiveNGo
TSX
Code
318
818
import React from 'react'; import { StyleSheet } from 'react-native'; import { Layout, Card, Text, Button } from '@ui-kitten/components'; import * as types from '../Reducer/actionsTypes'; import { useDispatch, useSelector } from 'react-redux'; import { setUserId, setUserName, setAnonymous, setEmail, setAddres...
27,637
https://github.com/mengxy/swc/blob/master/crates/swc/tests/tsc-references/everyTypeWithAnnotationAndInvalidInitializer_es2015.2.minified.js
Github Open Source
Open Source
Apache-2.0
2,022
swc
mengxy
JavaScript
Code
59
139
var M, N; class C { } class D { } (function(M1) { M1.A = class { }, M1.F2 = function(x) { return x.toString(); }; })(M || (M = {})), (function(N1) { N1.A = class { }, N1.F2 = function(x) { return x.toString(); }; })(N || (N = {})), new D(), new D(), new C(), new C(), new N.A();
3,502
https://github.com/khalidabuhakmeh/templating/blob/master/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithValueForms/IdentityForms/Param1TestValue.cs
Github Open Source
Open Source
MIT
2,022
templating
khalidabuhakmeh
C#
Code
11
30
namespace Test { class ContentReplacementTest { private string Param1TestValue; } }
45,705
https://github.com/zhfeng20108/NBNetRequest/blob/master/NBNetRequestDemo/NBNetRequestDemo/ZFNetRequest.m
Github Open Source
Open Source
MIT
2,018
NBNetRequest
zhfeng20108
Objective-C
Code
26
79
// // ZFNetRequest.m // NBNetRequestDemo // // Created by ios_feng on 15/10/8. // Copyright © 2015年 feng. All rights reserved. // #import "ZFNetRequest.h" @implementation ZFNetRequest @end
31,271
https://github.com/baoxqw/econtral/blob/master/src/pages/EcProjectManagement/OngoingProject/OngoingProjectICM.js
Github Open Source
Open Source
MIT
null
econtral
baoxqw
JavaScript
Code
1,295
5,599
import React, { Fragment, PureComponent } from 'react'; import { connect } from 'dva'; import router from 'umi/router'; import { formatMessage, FormattedMessage } from 'umi/locale'; import { Form, Input, Table, DatePicker, Select, Button, Popconfirm, Card, InputNumber, Col, Row, Radio, Icon, ...
39,934
https://github.com/gnosis/powersoftau/blob/master/.gitignore
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT, Apache-2.0
2,019
powersoftau
gnosis
Ignore List
Code
7
34
/target/ **/*.rs.bk transcript* challenge* response* new_challenge* variables.sh
18,567
https://github.com/ntiendat/BTVN2/blob/master/database/migrations/2020_12_12_030656_create_loaisanpham_sanpham_table.php
Github Open Source
Open Source
MIT
2,020
BTVN2
ntiendat
PHP
Code
53
215
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateLoaisanphamSanphamTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('loai...
9,863
https://github.com/SotirisKot/Schedule_Generator_Genetic_Algorithm/blob/master/code/Population.java
Github Open Source
Open Source
MIT
null
Schedule_Generator_Genetic_Algorithm
SotirisKot
Java
Code
119
428
//KOTITSAS SOTIRIS : p3150077 //ANASTASIOS LEPIPAS: p3150091 //GEORGIOS CHATZOPOULOS: p3150196 import java.util.ArrayList; import java.util.Arrays; public class Population { private State[] states; public Population(int capacity) {//creates a new "population" array. states = new State[capacity]; } //we ...
49,876
https://github.com/encosoftware/ifps/blob/master/ButorRevolutionWebAPI/src/frontend/web/projects/factory/src/app/stock/cargo/pages/cargo.page.component.scss
Github Open Source
Open Source
MIT
null
ifps
encosoftware
SCSS
Code
26
91
.order-status { font-size: 10px; color: #4D41FF; border: 0.5px solid #4D41FF; border-radius: 10px; padding: 5px 10px; display: inline-block; } :host /deep/ .table-standard tbody tr{ cursor: default; }
35,987
https://github.com/nist-ionstorage/ionizer/blob/master/aluminizer/RemoteFrequencySource.h
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,010
ionizer
nist-ionstorage
C++
Code
118
418
#pragma once #include "FrequencySource.h" #include "freq_control_packet.h" class RemoteFrequencySource : public QThread, public SweepingFrequencySource { Q_OBJECT public: RemoteFrequencySource(double dMinFrequency, double dMaxFrequency, double dMaxRampRate, const std::string& name, ...
37,591
https://github.com/RodolfoFigueroa/DCELs.jl/blob/master/test/connecting.jl
Github Open Source
Open Source
MIT
null
DCELs.jl
RodolfoFigueroa
Julia
Code
899
2,824
import DCELs._connect_vertices!, DCELs._split_face! import DCELs._connect_manual!, DCELs._connect_automatic! @testset "Connecting - primitive" begin u, v, w = Vertex(1, 0), Vertex(0, 1), Vertex(-1, 0) a1, a2, b1, b2, c1, c2 = [Edge() for _ in 1:6] f1, f2 = Face(), Face() u.edge, v.edge, w.edge = a1, b...
42,082
https://github.com/Xilinx/DPU-PYNQ/blob/master/setup.py
Github Open Source
Open Source
Apache-2.0, MIT
2,022
DPU-PYNQ
Xilinx
Python
Code
265
1,111
# Copyright (C) 2021 Xilinx, Inc # # SPDX-License-Identifier: Apache-2.0 from setuptools import setup, find_packages, Distribution from setuptools.command.build_ext import build_ext import shutil import os import platform import re import warnings from pynqutils.setup_utils import build_py, extend_package # global ...
47,651
https://github.com/Mediatek-Cloud/babel/blob/master/packages/babel-plugin-transform-es2015-template-literals/test/fixtures/normal/tag/actual.js
Github Open Source
Open Source
MIT
2,016
babel
Mediatek-Cloud
JavaScript
Code
7
22
var foo = bar`wow\na${ 42 }b ${_.foobar()}`;
43,476
https://github.com/jpbruyere/vkvg/blob/master/tests/arcs.c
Github Open Source
Open Source
MIT
2,023
vkvg
jpbruyere
C
Code
231
1,177
#include "test.h" void draw_growing_circles (VkvgContext ctx, float y, int count) { float x = 2; for (int i=1; i<count; i++) { x += 0.5f*i; //vkvg_set_source_rgb (ctx, 1,0,1); vkvg_arc(ctx, x + 2, y, 0.5f * i, 0, M_PIF*1.5f); //vkvg_set_source_rgb (ctx, 0,1,1); //vkvg_arc_negative(ctx, x + 2, y, 0.5 * ...
51,142
https://github.com/growse/Feedling/blob/master/RDFFeed/Feed.cs
Github Open Source
Open Source
BSD-3-Clause
2,021
Feedling
growse
C#
Code
657
2,192
/* Copyright © 2008-2012, Andrew Rowson All rights reserved. See LICENSE file for license details. */ using System; using System.Collections.ObjectModel; using System.Globalization; using System.IO; using System.Linq; using System.Net; using System.Threading; using System.Xml; using System.Xml.XPath; using FeedHander...
34,274
https://github.com/russgove/typescript-react-redux-example/blob/master/src/containers/list-page.tsx
Github Open Source
Open Source
MIT
2,016
typescript-react-redux-example
russgove
TSX
Code
132
440
import * as React from 'react'; const connect = require('react-redux').connect; import { addList, removeList } from '../actions/listActions'; import List from '../model/List'; import Container from '../components/container'; import ListView from '../components/Listview'; interface IListViewPageProps extends React.Pro...
30,879
https://github.com/achillesrasquinha/deeply/blob/master/src/deeply/ops/integrations/azure_ml.py
Github Open Source
Open Source
MIT
2,021
deeply
achillesrasquinha
Python
Code
28
96
from deeply.ops.integrations.base import BaseService class AzureML(BaseService): module = "azureml" def init(self, name): module = self.module Workspace = module.core.workspace.Workspace self._ws = Workspace( name = name ) def upload(self): p...
17,851
https://github.com/bencoman/pharo-vm/blob/master/mc/CMakeVMMaker.package/CogUnixConfig.class/instance/preferredIncludes.st
Github Open Source
Open Source
MIT
2,021
pharo-vm
bencoman
null
Spoken
6
30
source files preferredIncludes ^ #( '${targetPlatform}/plugins/B3DAcceleratorPlugin')
7,639
https://github.com/grizeldi/Archer-Game-Template2/blob/master/src/main/java/com/capdevon/physx/Physics.java
Github Open Source
Open Source
Unlicense
null
Archer-Game-Template2
grizeldi
Java
Code
648
2,263
package com.capdevon.physx; import java.util.List; import com.jme3.bounding.BoundingBox; import com.jme3.bounding.BoundingSphere; import com.jme3.bullet.PhysicsSpace; import com.jme3.bullet.PhysicsTickListener; import com.jme3.bullet.collision.PhysicsCollisionListener; import com.jme3.bullet.collision.PhysicsCollisio...
10,566
https://github.com/PedroSoaresMadetech/evidence-api/blob/master/EvidenceApi/V1/UseCase/Interfaces/IGetEvidenceRequestsUseCase.cs
Github Open Source
Open Source
MIT
2,022
evidence-api
PedroSoaresMadetech
C#
Code
18
91
using EvidenceApi.V1.Boundary.Response; using System.Collections.Generic; using EvidenceApi.V1.Boundary.Request; namespace EvidenceApi.V1.UseCase.Interfaces { public interface IFindEvidenceRequestsUseCase { List<EvidenceRequestResponse> Execute(EvidenceRequestsSearchQuery request); } }
38,747
https://github.com/Axel186/Sport-app-for-school/blob/master/src/middleware/index.js
Github Open Source
Open Source
MIT
null
Sport-app-for-school
Axel186
JavaScript
Code
79
206
'use strict'; const handler = require('feathers-errors/handler'); const notFound = require('./not-found-handler'); const logger = require('./logger'); module.exports = function() { // Add your custom middleware here. Remember, that // just like Express the order matters, so error // handling middleware should g...
33,451
https://github.com/ocondon/Greenpepper/blob/master/greenpepper/core/src/test/java/com/greenpepper/converter/DateConverterTest.java
Github Open Source
Open Source
Apache-2.0
null
Greenpepper
ocondon
Java
Code
215
500
/* * Copyright (c) 2006 Pyxis Technologies inc. * * This is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This software is d...
33,663
https://github.com/evanlwj/WireMock.Net/blob/master/test/WireMock.Net.Tests/Serialization/MatcherModelMapperTests.cs
Github Open Source
Open Source
Apache-2.0
null
WireMock.Net
evanlwj
C#
Code
294
1,127
using System; using NFluent; using WireMock.Admin.Mappings; using WireMock.Matchers; using WireMock.Serialization; using Xunit; namespace WireMock.Net.Tests.Serialization { public class MatcherModelMapperTests { [Fact] public void MatcherModelMapper_Map_Null() { // Act ...
43,215
https://github.com/peterdsharpe/AeroSandbox/blob/master/aerosandbox/numpy/test_numpy/test_linalg.py
Github Open Source
Open Source
MIT, LicenseRef-scancode-proprietary-license, LicenseRef-scancode-other-permissive
2,023
AeroSandbox
peterdsharpe
Python
Code
58
263
import pytest import aerosandbox.numpy as np import casadi as cas def test_norm_vector(): a = np.array([1, 2, 3]) cas_a = cas.DM(a) assert np.linalg.norm(a) == np.linalg.norm(cas_a) def test_norm_2D(): a = np.arange(9).reshape(3, 3) cas_a = cas.DM(a) assert np.linalg.norm(cas_a) == np.lina...
29,170
https://github.com/lambdaxymox/DragonFlyBSD/blob/master/usr.sbin/jail/jail.c
Github Open Source
Open Source
BSD-3-Clause
2,022
DragonFlyBSD
lambdaxymox
C
Code
559
1,894
/* * ---------------------------------------------------------------------------- * "THE BEER-WARE LICENSE" (Revision 42): * <phk@FreeBSD.ORG> wrote this file. As long as you retain this notice you * can do whatever you want with this stuff. If we meet some day, and you think * this stuff is worth it, you can buy...
25,044
https://github.com/Sproff/refine/blob/master/packages/react-location/jest.config.js
Github Open Source
Open Source
MIT
2,021
refine
Sproff
JavaScript
Code
12
44
module.exports = { preset: "ts-jest", rootDir: "./", name: "react-location", displayName: "react-location", };
7,565
https://github.com/SimonCropp/elasticsearch-net/blob/master/src/Elastic.Clients.Elasticsearch/_Generated/Types/Slm/Statistics.g.cs
Github Open Source
Open Source
Apache-2.0
null
elasticsearch-net
SimonCropp
C#
Code
202
905
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. // // ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ // ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ // ██╔██╗...
51,052
https://github.com/androididentification/android/blob/master/com.tum.ident/src/com/tum/ident/vibration/VibrationData.java
Github Open Source
Open Source
MIT
null
android
androididentification
Java
Code
7
23
package com.tum.ident.vibration; public class VibrationData { }
42,226
https://github.com/gitter-badger/Pomona/blob/master/app/Pomona.Common/ClientTypeMapper.cs
Github Open Source
Open Source
MIT
2,016
Pomona
gitter-badger
C#
Code
838
3,417
#region License // Pomona is open source software released under the terms of the LICENSE specified in the // project's repository, or alternatively at http://pomona.io/ #endregion using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.ObjectModel; using System...
32,876
https://github.com/thepurpleblob/srpsbooking/blob/master/src/SRPS/BookingBundle/Form/PricebandType.php
Github Open Source
Open Source
MIT
null
srpsbooking
thepurpleblob
PHP
Code
67
284
<?php namespace SRPS\BookingBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class PricebandType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options) ...
40,185
https://github.com/shakenfist/shakenfist/blob/master/shakenfist/daemons/external_api.py
Github Open Source
Open Source
Apache-2.0
2,022
shakenfist
shakenfist
Python
Code
110
436
import os import signal from shakenfist.config import config from shakenfist.daemons import daemon from shakenfist import logutil from shakenfist.util import libvirt as util_libvirt from shakenfist.util import process as util_process LOG, _ = logutil.setup(__name__) class Monitor(daemon.Daemon): def run(self):...
42,052
https://github.com/SiChiTong/Mechanical-arm-3d-simulator-for-education/blob/master/3D-Physic-Simulating-Platform, Unity3D/Assets/Robot3DModel/Front 1/tinker.obj
Github Open Source
Open Source
MIT
2,021
Mechanical-arm-3d-simulator-for-education
SiChiTong
Wavefront Object
Code
8,446
24,632
# Object Export From Tinkercad Server 2015 mtllib obj.mtl o obj_0 v -14.583 -84.867 305.798 v -1.143 -112.552 283.075 v 1.273 -126.288 268.272 v 10.338 -132.905 260.483 v -8.657 -92.426 303.378 v -2.143 -106.238 288.45 v -2.143 -111.98 282.657 v -0.733 -118.705 276.867 v -11.012 -92....
44,640
https://github.com/intelligent-environments-lab/utx000/blob/master/src/analysis/activity_and_sleep.py
Github Open Source
Open Source
MIT
null
utx000
intelligent-environments-lab
Python
Code
842
4,709
# General import os import logging import warnings warnings.filterwarnings('ignore') # Data Science import pandas as pd import numpy as np # Stats from scipy import stats from scipy.stats import linregress from sklearn.metrics import r2_score # Plotting import matplotlib.pyplot as plt import seaborn as sns class b...
50,876
https://github.com/shiiinji/kotlin-graphql-sample/blob/master/src/main/resources/db/migration/V2__recreate_drug_table.sql
Github Open Source
Open Source
Apache-2.0
2,021
kotlin-graphql-sample
shiiinji
SQL
Code
51
166
CREATE EXTENSION IF NOT EXISTS pgcrypto; DROP TABLE IF EXISTS drug; CREATE TABLE drug ( id UUID PRIMARY KEY DEFAULT gen_random_uuid(), name TEXT NOT NULL, description TEXT, yj_code TEXT ); INSERT INTO drug (name, description, yj_code) VALUES ('風邪薬1', '説明', '1111'), ('風邪薬2', '説明', '1111'), ('風邪薬3', NULL, '11...
42,729