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/D-Wing-Devs/Waitlisted/blob/master/src/views/TableList.jsx
Github Open Source
Open Source
MIT
null
Waitlisted
D-Wing-Devs
null
Spoken
170
682
import React, { Fragment, Component } from 'react'; // reactstrap components import { Card, CardBody, CardHeader, CardTitle, Table, Row, Col } from 'reactstrap'; import { connect } from 'react-redux'; // core components import PanelHeader from 'components/PanelHeader/PanelHeader.jsx'; import { thead, tbody } from 'v...
14,937
https://github.com/ScalablyTyped/Distribution/blob/master/m/maxim_mazurok__gapi_dot_client_dot_vectortile/src/main/scala/typings/maximMazurokGapiClientVectortile/gapi/client/vectortile/Line.scala
Github Open Source
Open Source
MIT
2,023
Distribution
ScalablyTyped
Scala
Code
304
722
package typings.maximMazurokGapiClientVectortile.gapi.client.vectortile import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} trait Line extends StObject { /** * The z-order of this geometry when rende...
20,151
https://github.com/fatemezahralotfi/SCM-frontend/blob/master/node_modules/react-cosmos-shared2/dist/fixtureState/extendWithValues.d.ts
Github Open Source
Open Source
MIT
2,021
SCM-frontend
fatemezahralotfi
TypeScript
Code
24
65
import { FixtureStateValue, FixtureStateValues, ObjectData } from './shared'; export declare function extendWithValues(obj: ObjectData, values: FixtureStateValues): ObjectData; export declare function extendWithValue(data: unknown, value: FixtureStateValue): unknown;
17,723
https://github.com/Cingozzz/Distribution/blob/master/c/cypress/src/main/scala/typings/cypress/anon/Duration.scala
Github Open Source
Open Source
MIT
2,021
Distribution
Cingozzz
Scala
Code
52
181
package typings.cypress.anon import typings.cypress.JQuery._SpeedSettings import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation._ trait Duration extends _SpeedSettings[js.Any] { /** * A string or number determining how long the animation will run. */ var duration: typing...
33,817
https://github.com/JoseAurelianoJR/MyTest/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,014
MyTest
JoseAurelianoJR
Ignore List
Code
7
35
.DS_Store node_modules bower_components reports dist/_bower.js /vendor/ /.idea/
54,150
https://github.com/q269384828/svg-slimming/blob/master/src/slimming/const/syntax.ts
Github Open Source
Open Source
MIT
2,019
svg-slimming
q269384828
TypeScript
Code
604
4,128
import { eventAttributes } from './definitions'; import { colorKeywords, systemColor, x11Colors } from './enum'; // 符合官方定义的 token // https://drafts.csswg.org/css-syntax-3 // 是否支持 unicode let supportUnicode = true; try { supportUnicode = /\u{20BB7}/u.test('𠮷'); } catch (e) { supportUnicode = false; } const uModifi...
9,387
https://github.com/andrew2020wit/online-lite-store/blob/master/lite-store-nest/src/auth/utils/getPassWordHash.ts
Github Open Source
Open Source
MIT
2,021
online-lite-store
andrew2020wit
TypeScript
Code
18
46
import * as bcrypt from 'bcrypt'; export async function getPassWordHash(password: string): Promise<string> { return await bcrypt.hash(password, 10); }
53,853
https://github.com/Team-Nifty-GmbH/flux-core/blob/master/src/Http/Controllers/ContactOptionController.php
Github Open Source
Open Source
MIT
2,023
flux-core
Team-Nifty-GmbH
PHP
Code
95
401
<?php namespace FluxErp\Http\Controllers; use FluxErp\Helpers\ResponseHelper; use FluxErp\Http\Requests\CreateContactOptionRequest; use FluxErp\Models\ContactOption; use FluxErp\Services\ContactOptionService; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; class ContactOptionController extends Control...
23,956
https://github.com/mivek/MetarParser/blob/master/metarParser-parsers/src/test/java/io/github/mivek/command/remark/PrecipitationAmount36HourCommandTest.java
Github Open Source
Open Source
MIT
2,023
MetarParser
mivek
Java
Code
102
423
package io.github.mivek.command.remark; import io.github.mivek.internationalization.Messages; import org.hamcrest.CoreMatchers; import org.hamcrest.MatcherAssert; import org.hamcrest.Matchers; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import java.util.Locale; import static org.junit...
31,985
https://github.com/RexSheng/mybatis-extension/blob/master/src/main/java/com/github/rexsheng/mybatis/util/ReflectUtil.java
Github Open Source
Open Source
Apache-2.0
2,021
mybatis-extension
RexSheng
Java
Code
624
2,546
package com.github.rexsheng.mybatis.util; import java.beans.Introspector; import java.lang.invoke.SerializedLambda; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.lang.reflect.ParameterizedType; import java.lang.refl...
45,945
https://github.com/THATDONFC/ledfx-docker/blob/master/ledfx-dev/frontend/src/components/SceneCard/index.jsx
Github Open Source
Open Source
MIT
null
ledfx-docker
THATDONFC
null
Spoken
158
586
import React from 'react'; import PropTypes from 'prop-types'; import { makeStyles } from '@material-ui/core/styles'; import Card from '@material-ui/core/Card'; import CardHeader from '@material-ui/core/CardHeader'; import CardContent from '@material-ui/core/CardContent'; import CardActions from '@material-ui/core/Card...
7,302
https://github.com/osmarbraz/prolog/blob/master/plantasfalantes.pl
Github Open Source
Open Source
MIT
2,023
prolog
osmarbraz
Prolog
Code
534
1,407
/* Para ganhar pontos extras após tirar nota baixa na prova de Biologia, cinco alunos, se vestiram de plantas e fizeram uma apresentaçào oral sobre árvores e flores. A partir das dicas fornecidas, descubra o nome completo de cada aluno, bem como o tipo de árvore e flor que cada um falou. (a) Érica falou sobre petunias...
54,418
https://github.com/Yaqiang/smile/blob/master/kotlin/src/main/kotlin/smile/manifold.kt
Github Open Source
Open Source
LicenseRef-scancode-commercial-license, GPL-1.0-or-later, LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-free-unknown, LGPL-3.0-only, GPL-3.0-only
2,022
smile
Yaqiang
Kotlin
Code
2,923
4,661
/* * Copyright (c) 2010-2021 Haifeng Li. All rights reserved. * * Smile 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 3 of the License, or * (at your option) any later version. * * Smi...
42,989
https://github.com/kumar2411sanjaygithub/master/blob/master/app/Http/Controllers/LeadController.php
Github Open Source
Open Source
MIT
null
master
kumar2411sanjaygithub
PHP
Code
969
4,702
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Gate; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Hash; use Datatables; use App\PermissionList; use App\Lead; use App\LeadSource; use App\Industry; use App\Produ...
34,365
https://github.com/Milos5611/ZurichHackathon/blob/master/src/app/services/notification.js
Github Open Source
Open Source
MIT
2,017
ZurichHackathon
Milos5611
JavaScript
Code
352
1,258
import { TYPE_KEY } from "../common/constant"; const DEFAULT_DURATION = 2000; const OPEN_NOTIFICATION = "OPEN_NOTIFICATION"; const CLOSE_NOTIFICATION = "CLOSE_NOTIFICATION"; const SET_AUTO_HIDE_DURATION = "AUTO_HIDE_DURATION"; const SET_NOTIFICATION_MESSAGE = "SET_NOTIFICATION_MESSAGE"; const SET_ACTION_MESSAGE = "SE...
9,825
https://github.com/WorkGurin/rex-rates/blob/master/src/components/Graph/Meta/BaseComponent.jsx
Github Open Source
Open Source
MIT
null
rex-rates
WorkGurin
null
Spoken
73
264
import React, {Component} from 'react'; import d3 from 'd3'; import _ from 'lodash'; export default class Meta extends Component { getYears(data) { data || (data = this.props.data); // return _.keys(_.groupBy(this.props.data, // (d) => d.submit_date.getFullYear()) // ); ...
7,200
https://github.com/NianZheChao/digital-image-processing/blob/master/Functions/finished/txfg.m
Github Open Source
Open Source
MIT
2,021
digital-image-processing
NianZheChao
MATLAB
Code
25
186
%最大类间方差法 clear; I=imread('1.jpg'); subplot(211),imshow(uint8(I)),title('原图'); if( ~( size(I,3)-3))%判断是否为彩色图 I=rgb2gray(I); end I=double(I); [m,n]=size(I); J=Otsu(I); for i=1:m for j=1:n if I(i,j)>=J I(i,j)=255; else I(i,j)=0; end end end subplot(2,1,2),imshow(I...
24,040
https://github.com/nguyenphuocnhatthanh/test/blob/master/vendor/laracasts/testdummy/spec/Laracasts/TestDummy/FactoriesFinderSpec.php
Github Open Source
Open Source
MIT
2,016
test
nguyenphuocnhatthanh
PHP
Code
53
290
<?php namespace spec\Laracasts\TestDummy; use PhpSpec\ObjectBehavior; use Prophecy\Argument; class FactoriesFinderSpec extends ObjectBehavior { function let() { $this->beConstructedWith(__DIR__.'/helpers'); } function it_is_initializable() { $this->shouldHaveType('Laracasts\TestDummy\FactoriesFinder'); } ...
56,067
https://github.com/Jeraldy/JeddyJs/blob/master/types/layouts/Center.d.ts
Github Open Source
Open Source
MIT
2,020
JeddyJs
Jeraldy
TypeScript
Code
19
37
declare const _default: ({ child }: { child: HTMLElement | Text; }) => HTMLElement | Text; export default _default;
16,338
https://github.com/regier/TelegramForLinuxInstaller/blob/master/telegramforlinux.deb.source/usr/local/lib/TelegramForLinuxInstaller/Set-Up_Telegram.sh
Github Open Source
Open Source
CC0-1.0
null
TelegramForLinuxInstaller
regier
Shell
Code
92
334
#!/bin/bash # The purpouse of this script is to generate desktop entry, nothing else. # Following KISS. # Telegram will be/was download here DownloadDir="/dev/shm/Telegram" # From here DownloadURL="https://telegram.org/dl/desktop/linux" # Named as TelegramCompressed="Telegram.tar.xz" # DownloadURL + TelegramCompresse...
52,787
https://github.com/ibolton336/lib-ui/blob/master/src/components/ValidatedTextInput/ValidatedTextInput.stories.tsx
Github Open Source
Open Source
Apache-2.0
null
lib-ui
ibolton336
TypeScript
Code
84
308
import * as React from 'react'; import * as yup from 'yup'; import { Form, TextArea, Flex, Button } from '@patternfly/react-core'; import { useFormState, useFormField } from '../..'; import { ValidatedTextInput } from './ValidatedTextInput'; export const PatternFlyTextFields: React.FunctionComponent = () => { const...
14,218
https://github.com/ishmandoo/ishmandoo.github.io/blob/master/node_modules/jekyll/test/test_layout_reader.rb
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,022
ishmandoo.github.io
ishmandoo
Ruby
Code
103
316
require 'helper' class TestLayoutReader < Test::Unit::TestCase context "reading layouts" do setup do stub(Jekyll).configuration do Jekyll::Configuration::DEFAULTS.merge({'source' => source_dir, 'destination' => dest_dir}) end @site = Site.new(Jekyll.configuration) end should "r...
24,157
https://github.com/gruter/tajo-elasticsearch/blob/master/tajo-core/src/test/resources/queries/TestInsertQuery/testInsertOverwriteLocationWithUnion.sql
Github Open Source
Open Source
Apache-2.0, PostgreSQL, BSD-3-Clause, MIT
2,020
tajo-elasticsearch
gruter
SQL
Code
31
82
insert overwrite into location '/tajo-data/testInsertOverwriteLocationWithUnion' select l_orderkey as col1, l_partkey as col2, l_quantity as col3 from default.lineitem union all select o_orderkey as col1, o_custkey as col2, o_totalprice as col3 from default.orders
20,624
https://github.com/Sunfocus/Utradia-Catlog-/blob/master/paywithmobilemoney/src/main/java/com/apps/sancorp/paywithmobilemoney/ui/MMDialog.java
Github Open Source
Open Source
Apache-2.0
2,019
Utradia-Catlog-
Sunfocus
Java
Code
461
2,067
package com.apps.sancorp.paywithmobilemoney.ui; import android.annotation.SuppressLint; import android.app.Dialog; import android.content.Context; import android.os.Bundle; import androidx.annotation.NonNull; import com.google.android.material.textfield.TextInputLayout; import android.text.Editable; import android.tex...
26,142
https://github.com/ganeshn2/Loanset_ML_Predictive_Analytics/blob/master/scripts/loanSet_ML_Predictive_Analytics.py
Github Open Source
Open Source
MIT
null
Loanset_ML_Predictive_Analytics
ganeshn2
Python
Code
426
2,068
import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns from sklearn.preprocessing import StandardScaler from sklearn.linear_model import LogisticRegression from sklearn.neighbors import KNeighborsClassifier from sklearn.tree import DecisionTreeClassifier from sklearn.svm import SVC...
26,485
https://github.com/KateLychova/Java_test/blob/master/mantis-tests/src/test/java/ru/stqa/pft/mantis/tests/ChangePasswordTest.java
Github Open Source
Open Source
Apache-2.0
null
Java_test
KateLychova
Java
Code
84
412
package ru.stqa.pft.mantis.tests; import org.testng.Assert; import org.testng.annotations.Test; import ru.stqa.pft.mantis.appmanager.HttpSession; import ru.stqa.pft.mantis.model.MailMessage; import ru.stqa.pft.mantis.model.UserData; import ru.stqa.pft.mantis.model.Users; import javax.mail.MessagingException; import j...
53,892
https://github.com/kelknightly/scifibot/blob/master/sentences/sentence19.py
Github Open Source
Open Source
MIT
2,020
scifibot
kelknightly
Python
Code
50
117
from sentences.base_sentence import base_sentence import random class sentence19(base_sentence): def get_sentence(self, components): sentence = 'Your crew has stranded you on ' + components['a__planet_article'] sentence += ' ' + components['a__planet'] + ' planet named ' sentence += co...
15,511
https://github.com/ym6/outreaderjs/blob/master/packages/outreader-pkpm/src/concrete-steel/concrete-steel.test.ts
Github Open Source
Open Source
Apache-2.0
2,020
outreaderjs
ym6
TypeScript
Code
192
954
import { readConcreteSteelOutput } from './concrete-steel'; import { IConcreteSteel } from '@outreader/core'; import * as path from 'path'; import { concreteSteel as concreteSteel1 } from '../../../../fixtures/test-result/pkpm-1/concrete-steel'; import { concreteSteel as concreteSteel2 } from '../../../../fixtures/test...
34,295
https://github.com/Andrean/lemon.apple/blob/master/server/routes/agent_interface.py
Github Open Source
Open Source
MIT
2,014
lemon.apple
Andrean
Python
Code
26
98
__author__ = 'Andrean' import controllers.agent as agentsController ROUTES = [ [ 'GET', r'^/commands$', agentsController.commands.get ], [ 'POST', r'^/commands$', agentsController.commands.send ], [ 'POST', r'^/data$', agentsController.data_chunk.push ...
44,545
https://github.com/okki23/pp_meikarta/blob/master/application/modules/front/views/front_view.php
Github Open Source
Open Source
MIT
null
pp_meikarta
okki23
PHP
Code
1,910
9,201
<?php defined('BASEPATH') OR exit('No direct script access allowed'); date_default_timezone_set("Asia/Jakarta"); ?> <!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="...
47,211
https://github.com/gsnedders/presto-testo/blob/master/core/standards/xslt_xpath/OASIS-XSLT/xalan/attribset/attribset18.xsl
Github Open Source
Open Source
BSD-3-Clause
null
presto-testo
gsnedders
null
Spoken
78
396
<?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:ped="http://www.ped.com" xmlns:bdd="http://www.bdd.com"> <!-- FileName: attribset18 --> <!-- Document: http://www.w3.org/TR/xslt --> <!-- DocVersion: 19991116 --> <!-- Sect...
31,072
https://github.com/phamhac178/nodeJs_baitap/blob/master/src/services/index.js
Github Open Source
Open Source
MIT
null
nodeJs_baitap
phamhac178
JavaScript
Code
30
177
module.exports.authService = require('./auth.service'); module.exports.emailService = require('./email.service'); module.exports.tokenService = require('./token.service'); module.exports.userService = require('./user.service'); module.exports.detai_hac_4Service = require('./detai_hac_4.service'); module.exports.khoaSer...
11,372
https://github.com/hczyh888/hydeviceVue/blob/master/device-admin/device-service/src/main/java/com/gz/common/LanmuService.java
Github Open Source
Open Source
MIT
null
hydeviceVue
hczyh888
Java
Code
391
1,723
package com.gz.common; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import com.gz.common.model.Lanmu; /** * Created by gongzhen on 2017/7/12. */ public class LanmuService { private static LanmuService lanmuService; private Lanm...
30,263
https://github.com/sonvt1710/CPP-Game-Development-By-Example/blob/master/Chapter05/5.SFMLProject/SFMLProject/Hero.h
Github Open Source
Open Source
MIT
2,022
CPP-Game-Development-By-Example
sonvt1710
C
Code
60
228
#pragma once #include "SFML-2.5.1\include\SFML\Graphics.hpp" class Hero { public: Hero(); ~Hero(); void init(std::string textureName, int frameCount, float animDuration, sf::Vector2f position, float mass); void update(float dt); void jump(float velocity); sf::Sprite getSprite(); private: int jumpCount = 0...
43,397
https://github.com/WPAUL2020/AppTransaccional-v4.2rc/blob/master/storage/framework/views/ae0158621eb74f2de721e1f7125bcae7da098f06.php
Github Open Source
Open Source
MIT
2,020
AppTransaccional-v4.2rc
WPAUL2020
PHP
Code
1,140
5,189
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="description" content="Neon Admin Panel" /> <meta name="author" content="" /> <link rel="icon" href="assets/image...
41,697
https://github.com/wxmclub/frostmourne/blob/master/frostmourne-monitor/src/main/java/com/autohome/frostmourne/monitor/dao/mybatis/frostmourne/mapper/dynamic/AlertDynamicSqlSupport.java
Github Open Source
Open Source
MIT
2,022
frostmourne
wxmclub
Java
Code
259
1,406
package com.autohome.frostmourne.monitor.dao.mybatis.frostmourne.mapper.dynamic; import java.sql.JDBCType; import java.util.Date; import javax.annotation.Generated; import org.mybatis.dynamic.sql.SqlColumn; import org.mybatis.dynamic.sql.SqlTable; public final class AlertDynamicSqlSupport { @Generated(value="org....
47,511
https://github.com/buchiGO/tcle/blob/master/ShareConsumption/app/src/main/java/org/blogsite/youngsoft/piggybank/parser/Categorizer.java
Github Open Source
Open Source
Apache-2.0
null
tcle
buchiGO
Java
Code
510
1,827
package org.blogsite.youngsoft.piggybank.parser; import com.google.firebase.database.DatabaseReference; import com.google.firebase.database.FirebaseDatabase; import org.blogsite.youngsoft.piggybank.R; import org.blogsite.youngsoft.piggybank.crypt.Crypt; import org.blogsite.youngsoft.piggybank.logs.PGLog; import org.b...
46,732
https://github.com/KEVINBARRIOS458/EJERCIOAPI/blob/master/app/Models/Peliculas.php
Github Open Source
Open Source
MIT
null
EJERCIOAPI
KEVINBARRIOS458
PHP
Code
44
189
<?php namespace App\Models; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Notifications\Notifiable; use Laravel\Passport\HasApiTokens; class Peliculas extends Authenticatable { use HasApiTokens,...
40,291
https://github.com/szlsay/flutter-day-by-day/blob/master/Day-22/day22/lib/main.dart
Github Open Source
Open Source
MIT
2,019
flutter-day-by-day
szlsay
Dart
Code
125
476
import 'package:flutter/material.dart'; void main(){ runApp(MaterialApp( title: '页面跳转返回数据', home: FirstPage(), )); } class FirstPage extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: Text('Call Phone'),), body: Center( ...
28,032
https://github.com/fshch/ebay-sdk-php/blob/master/src/PostOrder/Types/CaseDetailsResponse.php
Github Open Source
Open Source
Apache-2.0, MIT
2,019
ebay-sdk-php
fshch
PHP
Code
688
2,410
<?php /** * DO NOT EDIT THIS FILE! * * This file was automatically generated from external sources. * * Any manual change here will be lost the next time the SDK * is updated. You've been warned! */ namespace DTS\eBaySDK\PostOrder\Types; /** * * @property \DTS\eBaySDK\PostOrder\Types\ActionDeadlines $actionD...
30,560
https://github.com/ThibaultReuille/raindance-samples/blob/master/Stereo.cc
Github Open Source
Open Source
BSD-2-Clause
null
raindance-samples
ThibaultReuille
C++
Code
441
1,912
#include <raindance/Raindance.hh> #include <raindance/Core/Camera/Camera.hh> #include <raindance/Core/Transformation.hh> #include <raindance/Core/Primitives/Axis.hh> #include <raindance/Core/Primitives/Grid.hh> #include <raindance/Core/Primitives/Cube.hh> #include <raindance/Core/FS.hh> #include <raindance/Core/Clock.h...
22,243
https://github.com/olivierlacan/SidewalkWebpage/blob/master/public/javascripts/Gallery/src/filter/RibbonMenu.js
Github Open Source
Open Source
MIT
2,021
SidewalkWebpage
olivierlacan
JavaScript
Code
176
462
/** * Ribbon Menu module. * This is responsible for holding the buttons allowing users to filter labels by label type. * * @param uiRibbonMenu UI element corresponding to RibbonMenu. * @returns {RibbonMenu} * @constructor */ function RibbonMenu(uiRibbonMenu) { let self = this; let status = { cur...
27,427
https://github.com/Freysi21/integreat/blob/master/lib/actions/getUnmapped.js
Github Open Source
Open Source
ISC
2,018
integreat
Freysi21
JavaScript
Code
179
409
const debug = require('debug')('great') /** * Get several items from a source, based on the given action object. * The items will be normalized, but not mapped. Any `path` on the endpoint * will be followed, though. * @param {Object} payload - Payload from action object * @param {Object} resources - Object with g...
56,402
https://github.com/CodeLingoBot/dockyard/blob/master/tests/unit/updateservice_storage_local_repo_test.go
Github Open Source
Open Source
Apache-2.0
2,022
dockyard
CodeLingoBot
Go
Code
497
1,383
/* Copyright 2014 Huawei Technologies Co., Ltd. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable la...
35,781
https://github.com/wblakecaldwell/Chess-Puzzles/blob/master/ChessPuzzlesLibrary/ChessPuzzlesLibrary/ChessBoard_BlackBishopTests.cpp
Github Open Source
Open Source
MIT
2,014
Chess-Puzzles
wblakecaldwell
C++
Code
2,997
7,901
// // ChessBoard_BlackBishopTests.cpp // ChessPuzzlesLibrary // // Created by Blake Caldwell on 2/16/14. // Copyright (c) 2014 Blake Caldwell. All rights reserved. // #include <stdio.h> #include <gtest/gtest.h> #include "ChessBoardTestHelpers.h" extern "C" { #include "ChessBoard.h" } // test validMoves for left b...
34,200
https://github.com/michaeldtm/totalitylms-breaking-bad-test/blob/master/database/migrations/2022_01_30_202707_create_deaths_table.php
Github Open Source
Open Source
MIT
null
totalitylms-breaking-bad-test
michaeldtm
PHP
Code
61
271
<?php use App\Models\Character; use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateDeathsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema...
36,795
https://github.com/circoatomico/vue-material-design/blob/master/node_modules/eslint-config-alloy/test/index/no-unexpected-multiline/bad.js
Github Open Source
Open Source
MIT
null
vue-material-design
circoatomico
JavaScript
Code
10
37
// bad 出现了难以理解的多行表达式 let foo = bar [1, 2, 3].forEach(baz);
2,521
https://github.com/IterRoboticsClub/Codes/blob/master/DD/lm35_temperature_sensor/lm35_temperature_sensor.ino
Github Open Source
Open Source
MIT
2,020
Codes
IterRoboticsClub
null
Spoken
66
214
/* Connections(From LM35):-Left to 5V :-Middle to A1 :-Right to GND */ int val; int tempPin = 1; void setup() { Serial.begin(9600); } void loop() { val = analogRead(tempPin); float mv = (val/1024.0)*5000; float cel = mv/10; float farh = (cel*9)/5 + 32; S...
51,157
https://github.com/philmui/polling/blob/master/polls/views.py
Github Open Source
Open Source
MIT
2,015
polling
philmui
Python
Code
105
458
from django.shortcuts import get_object_or_404, render from django.http import HttpResponseRedirect, HttpResponse from django.core.urlresolvers import reverse from django.db.models import F from django.views import generic from django.utils import timezone from .models import Choice, Question class IndexView(generic....
2,088
https://github.com/TaSouha/proj_auto_ecole/blob/master/app/Http/Controllers/AccueilController.php
Github Open Source
Open Source
MIT
null
proj_auto_ecole
TaSouha
PHP
Code
216
880
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\personne; use App\candidat; use App\Http\Requests; use DB; use DateTime; class AccueilController extends Controller { /** * Display a listing of the resource. * * @return Response */ public function index() { $auto_ec...
48,216
https://github.com/reb2020/5no-global/blob/master/test/index.js
Github Open Source
Open Source
MIT
null
5no-global
reb2020
JavaScript
Code
73
263
const chai = require('chai') const Global = require('../compiled')('test') const expect = chai.expect describe('Global', () => { beforeEach(() => { }) afterEach(() => { }) describe('Variables', () => { it('set data', async () => { Global.set('newV1', '100') expect(Global.get(...
31,153
https://github.com/nlibjs/changelog/blob/master/src/walkCommitHistory.ts
Github Open Source
Open Source
Apache-2.0
null
changelog
nlibjs
TypeScript
Code
41
111
import {getCommit} from './getCommit'; import type {Commit} from './is/Commit'; export const walkCommitHistory = async function* ( startCommitish = 'HEAD', ): AsyncGenerator<Commit> { let commitish = startCommitish; while (commitish) { const commit = await getCommit(commitish); yield commit...
30,555
https://github.com/Cavalia/Cavalia/blob/master/scripts/tpcc-populate.sh
Github Open Source
Open Source
Apache-2.0
2,018
Cavalia
Cavalia
Shell
Code
20
58
if [ "$#" -ne 3 ]; then echo "usage: $0 num_warehouse scale_factor dir_name"; else ./tpcc_benchmark -a0 -sf$1 -sf$2 -p$3 fi
52,022
https://github.com/mave007/scripts/blob/master/git-revlist
Github Open Source
Open Source
Apache-2.0
2,023
scripts
mave007
Shell
Code
93
232
#!/bin/bash # # Print latest file modifications # Receives 1 parameter (number) to see latest commits # if [ -z $1 ] ; then NUM=5 elif [ $1 -gt 0 ] ; then NUM=$1 else echo "Error: $0 needs a number (int) as parameter" exit 1 fi git status -b -s 2>/dev/null || ( echo "Error: ${PWD} not a git repo" && exit ...
4,707
https://github.com/pmotyka/tymly/blob/master/plugins/tymly-etl-plugin/lib/components/state-resources/processing-csv-files/index.js
Github Open Source
Open Source
MIT
null
tymly
pmotyka
JavaScript
Code
88
305
'use strict' const smithereens = require('smithereens') const debug = require('debug')('processingCsvFiles') class ProcessingCsvFiles { init (resourceConfig, env, callback) { this.parser = resourceConfig.parser this.dirSplits = resourceConfig.dirSplits this.fileSplits = resourceConfig.fileSplits call...
3,205
https://github.com/senkz/HUSACCT/blob/master/testprojects/java/benchmark/infrastructure/database/derby/UserDerbyDAO.java
Github Open Source
Open Source
MIT
null
HUSACCT
senkz
Java
Code
49
123
package infrastructure.database.derby; import java.util.Collections; import java.util.List; //Functional requirement 2.3 //Test case 3: Only the classes in package infrastructure.socialmedia (including all subpackages and subclasses) are allowed to use the JDBC library //Result: FALSE public class UserDerbyDAO extends...
18,455
https://github.com/arnaudleclerc/ng-azure-maps/blob/master/projects/sample-traffic/src/app/app.component.ts
Github Open Source
Open Source
MIT
2,023
ng-azure-maps
arnaudleclerc
TypeScript
Code
39
151
import { Component } from '@angular/core'; import * as atlas from 'azure-maps-control'; @Component({ selector: 'app-root', template: '<azure-map [center]="[11.47, 48.18]" [zoom]="10" mapStyle="grayscale_light" [trafficOptions]="trafficOptions"></azure-map>', styleUrls: ['./app.component.scss'] }) export class Ap...
53,645
https://github.com/liangxiegame/QFramework/blob/master/QFramework.NetworkExtension/Assets/Photon/PhotonVoice/PhotonVoiceApi/Platforms/Windows/WindowsAudioIn.cs
Github Open Source
Open Source
MIT
2,023
QFramework
liangxiegame
C#
Code
407
1,197
#if PHOTON_VOICE_WINDOWS || UNITY_STANDALONE_WIN || UNITY_EDITOR_WIN using System; using System.Collections.Generic; using System.Runtime.InteropServices; namespace Photon.Voice.Windows { #pragma warning disable 0414 public class MonoPInvokeCallbackAttribute : System.Attribute { private Type type; ...
54,069
https://github.com/nafergo/my-ubuntu-touch-apps/blob/master/apps/bhagavad-gita/app.desktop
Github Open Source
Open Source
MIT
2,015
my-ubuntu-touch-apps
nafergo
null
Spoken
11
67
[Desktop Entry] Name=Bhagavad-Gita Comment=Bhagavad-Gita Exec=webapp-container $@ www/index.html Terminal=false Type=Application X-Ubuntu-Touch=true Icon=./icon.png
21,575
https://github.com/mono/SkiaSharp.Extended/blob/master/source/SkiaSharp.Extended/PathInterpolation/SKPathInterpolation.cs
Github Open Source
Open Source
MIT
2,023
SkiaSharp.Extended
mono
C#
Code
819
2,356
using System; using System.Collections.Generic; using System.Linq; namespace SkiaSharp.Extended { public class SKPathInterpolation { private List<SKPoint>? pointsFrom; private List<SKPoint>? pointsTo; public SKPathInterpolation(SKPath from, SKPath to, float maxSegmentLength = 5f) { if (from == null) ...
35,825
https://github.com/dormao/restgo_foodmanage/blob/master/models/data.go
Github Open Source
Open Source
MIT
null
restgo_foodmanage
dormao
Go
Code
25
86
package models import "github.com/dormao/chaincode_foodmanage/models" type DataProductSnapshot struct { *models.ProductSnapshot } type DataTransactionSnapshot struct { *models.TransactionOrder *models.TransportOrder } type DataUser struct { *models.DataModel Description string }
27,806
https://github.com/attila-sim/attila-sim/blob/master/src/trace/GLLib/GPULibInternals.cpp
Github Open Source
Open Source
BSD-3-Clause
2,022
attila-sim
attila-sim
C++
Code
225
592
/************************************************************************** * * Copyright (c) 2002 - 2011 by Computer Architecture Department, * Universitat Politecnica de Catalunya. * All rights reserved. * * The contents of this file may not be disclosed to third parties, * copied or duplicated in any form, in...
53,271
https://github.com/decal/zap-attack/blob/master/bin/cookie-samesite
Github Open Source
Open Source
Apache-2.0
2,019
zap-attack
decal
Ruby
Code
128
443
#!/usr/bin/env ruby # coding: utf-8 # # Detect cookies with the SameSite flag as specified in the IETF draft: # https://tools.ietf.org/html/draft-west-first-party-cookies-07 # require 'zap_attack' include ZapAttack::API cflags, cookie = [], Params.new cookie.select! do |p| p['type'] == 'cookie' end cookie.each...
44
https://github.com/openssl/openssl/blob/master/doc/man3/SSL_do_handshake.pod
Github Open Source
Open Source
Apache-2.0, OpenSSL, LicenseRef-scancode-proprietary-license
2,023
openssl
openssl
null
Spoken
372
805
=pod =head1 NAME SSL_do_handshake - perform a TLS/SSL handshake =head1 SYNOPSIS #include <openssl/ssl.h> int SSL_do_handshake(SSL *ssl); =head1 DESCRIPTION SSL_do_handshake() will wait for a SSL/TLS handshake to take place. If the connection is in client mode, the handshake will be started. The handshake routi...
22,246
https://github.com/ivaylokenov/MyTested.AspNetCore.Mvc/blob/master/src/MyTested.AspNetCore.Mvc.Abstractions/Builders/Contracts/Data/IAndDataProviderEntryDetailsTestBuilder.cs
Github Open Source
Open Source
Apache-2.0, MS-PL
2,023
MyTested.AspNetCore.Mvc
ivaylokenov
C#
Code
60
185
namespace MyTested.AspNetCore.Mvc.Builders.Contracts.Data { /// <summary> /// Used for adding AndAlso() method to the data provider entry details tests. /// </summary> /// <typeparam name="TValue">Type of data provider entry value.</typeparam> public interface IAndDataProviderEntryDetailsTestBuilde...
1,711
https://github.com/Litres/FB3Editor/blob/master/Frontend/ext/classic/theme-base/sass/src/button/Segmented.scss
Github Open Source
Open Source
BSD-2-Clause
2,023
FB3Editor
Litres
SCSS
Code
188
930
.#{$prefix}segmented-button { display: table; table-layout: fixed; } .#{$prefix}segmented-button-item { display: table-cell; vertical-align: top; @if $include-slicer-border-radius { > .#{$prefix}frame { width: 100%; height: 100%; } } @if $include...
50,458
https://github.com/SwagSoftware/Kisak-Strike/blob/master/common/simplecodec.h
Github Open Source
Open Source
LicenseRef-scancode-public-domain, LicenseRef-scancode-unknown-license-reference
2,022
Kisak-Strike
SwagSoftware
C++
Code
340
719
//===== Copyright c 1996-2008, Valve Corporation, All rights reserved. ======// // // Purpose: Simple encoder/decoder // //===========================================================================// #ifndef COMMON_SIMPLE_CODEC #define COMMON_SIMPLE_CODEC #include <stdlib.h> namespace SimpleCodec { // // Encodes t...
27,583
https://github.com/ignatiusreza/activejob-trackable/blob/master/activejob-trackable.gemspec
Github Open Source
Open Source
MIT
2,019
activejob-trackable
ignatiusreza
Ruby
Code
92
362
# frozen_string_literal: true $LOAD_PATH.push File.expand_path('lib', __dir__) # Maintain your gem's version: require 'activejob/trackable/version' # Describe your gem and declare its dependencies: Gem::Specification.new do |spec| spec.name = 'activejob-trackable' spec.version = ActiveJob::Trackable::...
56,030
https://github.com/PuZhiweizuishuai/HomeworkEvaluation/blob/master/evaluation/src/main/java/com/buguagaoshu/homework/evaluation/advice/EvaluationControllerAdvice.java
Github Open Source
Open Source
MIT
2,020
HomeworkEvaluation
PuZhiweizuishuai
Java
Code
100
564
package com.buguagaoshu.homework.evaluation.advice; import com.buguagaoshu.homework.common.domain.ResponseDetails; import com.buguagaoshu.homework.common.enums.ReturnCodeEnum; import com.buguagaoshu.homework.evaluation.controller.HomeworkController; import com.buguagaoshu.homework.evaluation.exception.UserDataFormatEx...
31,770
https://github.com/zenhack/docker-spk/blob/master/build-release-binaries.sh
Github Open Source
Open Source
Apache-2.0
2,022
docker-spk
zenhack
Shell
Code
42
163
#!/usr/bin/env sh set -ex output_dir=docker-spk-binaries for os in darwin linux; do export GOOS=$os export GOARCH=amd64 mkdir -p $output_dir/$GOOS/$GOARCH CGO_ENABLED=0 go build -ldflags '-w -s' -o $output_dir/$GOOS/$GOARCH/docker-spk done ( cd $output_dir && sha256sum */*/* > sha256sums.txt ) tar -cvvf $output...
25,194
https://github.com/itislab/CoreSampleAnnotation/blob/master/Application/Reports/RTF/TableDocument.cs
Github Open Source
Open Source
MIT
2,018
CoreSampleAnnotation
itislab
C#
Code
549
1,802
using Net.Sgoliver.NRtfTree.Core; using Net.Sgoliver.NRtfTree.Util; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; /// <summary> /// Composing RTF content. Using https://www.safaribooksonline.com/library/view/rtf-pocket-guide/9781449302047/ch01.html...
23,081
https://github.com/bollu/hugs/blob/master/fptools/libraries/GLUT/examples/RedBook/Feedback.hs
Github Open Source
Open Source
BSD-3-Clause
2,020
hugs
bollu
Haskell
Code
353
722
{- Feedback.hs (adapted from feedback.c which is (c) Silicon Graphics, Inc.) Copyright (c) Sven Panne 2003 <sven_panne@yahoo.com> This file is part of HOpenGL and distributed under a BSD-style license See the file libraries/GLUT/LICENSE This program demonstrates use of OpenGL feedback. First, a lighting...
15,939
https://github.com/jkicmal/MemoryForKids/blob/master/Assets/Scripts/GearRotationg.cs
Github Open Source
Open Source
Apache-2.0
null
MemoryForKids
jkicmal
C#
Code
42
90
using UnityEngine; using System.Collections; public class GearRotationg : MonoBehaviour { public int director = 2; // Use this for initialization void Start () { } // Update is called once per frame void Update () { transform.Rotate (0, 0, director); } }
42,146
https://github.com/TMLOpenSource/flume-s3-sink/blob/master/src/main/java/com/tml/sinks/WriterLinkedHashMap.java
Github Open Source
Open Source
Apache-2.0
2,021
flume-s3-sink
TMLOpenSource
Java
Code
159
452
package com.tml.sinks; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.BufferedOutputStream; import java.io.File; import java.io.IOException; import java.io.OutputStream; import java.util.LinkedHashMap; import java.util.Map.Entry; /* * Extended Java LinkedHashMap for open file handle LRU que...
17,898
https://github.com/WhiteBrownBottle/TeachingSecretarySystem/blob/master/TSSystem/apps/teacher/migrations/0001_initial.py
Github Open Source
Open Source
MIT
2,020
TeachingSecretarySystem
WhiteBrownBottle
Python
Code
75
504
# Generated by Django 2.0.5 on 2018-06-05 20:50 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Teacher', fields=[ ('id', models.AutoField(...
21,205
https://github.com/evolvedlight/dottylogs/blob/master/DottyLogs.Ui/client-app/src/models/serverdisconnectedevent.ts
Github Open Source
Open Source
MIT
null
dottylogs
evolvedlight
TypeScript
Code
15
42
export default class ServerDisconnectedEvent { traceIdentifier: string; constructor(traceIdentifier: string) { this.traceIdentifier = traceIdentifier; } }
1,788
https://github.com/lunacys/lunge/blob/master/src/lunge.Library.Scripting/TsDeclarations/Generator/TsMembers/TsConstructor.cs
Github Open Source
Open Source
MIT
2,023
lunge
lunacys
C#
Code
52
169
using System.Text; namespace lunge.Library.Scripting.TsDeclarations.Generator.TsMembers; public class TsConstructor : IMemberWritable { public string[]? Parameters { get; } internal TsConstructor(string[]? parameters) { // constructor(<parameters>); Parameters = parameters; } pu...
5,688
https://github.com/tysos/V4L2GB28181Client/blob/master/3rdpart/media-server/libmpeg/debug.linux/mpeg-ts-h264.d
Github Open Source
Open Source
MIT
2,021
V4L2GB28181Client
tysos
Makefile
Code
7
65
source/mpeg-ts-h264.o: source/mpeg-ts-h264.c include/mpeg-types.h \ source/mpeg-util.h include/mpeg-types.h: source/mpeg-util.h:
17,702
https://github.com/leoliberti/DistanceGeometry/blob/master/Mathematica/testAR.m.sh
Github Open Source
Open Source
Apache-2.0
2,020
DistanceGeometry
leoliberti
Shell
Code
465
1,375
#!/usr/local/bin/MathematicaScript -script Get["ApproxRealize.m"]; Get["ProjectionTools.m"]; Get["Projection.m"]; (* G = Graph[{1 <-> 2, 1 <-> 3, 2 <-> 3, 2 <-> 4, 3 <-> 4}, VertexLabels -> "Name", EdgeWeight -> {2, 2, 1, 1, 1}]; *) (* n = 20; m = Round[N[0.5*n (n-1)/2]]; G = RandomGraph[{n,m}, EdgeWeight ->...
19,719
https://github.com/ebnibrahem/m5/blob/master/app/_m/records_model.php
Github Open Source
Open Source
MIT
2,021
m5
ebnibrahem
PHP
Code
91
377
<?php namespace M5\Models; use M5\MVC\Model as BaseModel; class Records_Model extends BaseModel { private $tbl = "records"; function __construct($tbl='') { // $this->model = BaseModel::getInst($this->tbl); parent::getInst($this->tbl); } /** * All records * * @param string $cond * @param array $pa...
27,375
https://github.com/secondsun/mobile-developer-console/blob/master/pkg/web/serverConfigHandler_test.go
Github Open Source
Open Source
Apache-2.0
2,019
mobile-developer-console
secondsun
Go
Code
183
671
package web import ( "fmt" "github.com/aerogear/mobile-developer-console/pkg/config" "io/ioutil" "net/http" "net/http/httptest" "strings" "testing" ) func setupServerConfigHandler(apiPrefix string, config config.Config) *httptest.Server { h := NewServerConfigHandler(config) r := NewRouter("", apiPrefix) ap...
43,825
https://github.com/Deer-Spangle/sticker_counter/blob/master/sticker_counter.py
Github Open Source
Open Source
MIT
null
sticker_counter
Deer-Spangle
Python
Code
239
974
from collections import Counter from typing import List import telethon from telethon import TelegramClient from telethon.hints import Entity from stickers import Sticker, get_sticker_set, StickerMessage from util import sync, api_id, api_hash, chat_id async def scrape_chat(c: TelegramClient, chat: Entity) -> List...
39,325
https://github.com/bdmostafa/simply-laravel/blob/master/app/Http/Controllers/peoplentechController.php
Github Open Source
Open Source
MIT
null
simply-laravel
bdmostafa
PHP
Code
127
403
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use DB; class peoplentechController extends Controller { public function index(){ $title = 'PNT Home'; return view('peoplentech', compact('title')); } public function about(){ $title = 'About PNT'; $detail...
16,212
https://github.com/baidu-research/hydra-xeye/blob/master/xcore/basic_devkit/starter/Makefile
Github Open Source
Open Source
Apache-2.0
2,021
hydra-xeye
baidu-research
Makefile
Code
807
4,438
# ------------------------------[ App ]--------------------------------------------# # Default application name is the same as the folder it is in. # This can be overridden here if something different is required #APPNAME ?= $(notdir $(shell pwd)) # Verbose or not, common out for more verbosity #ECHO ?=@ #ECHO = #RUN_...
35,331
https://github.com/PippoRaimondi/rekt-prevent/blob/master/src/server.ts
Github Open Source
Open Source
MIT
null
rekt-prevent
PippoRaimondi
TypeScript
Code
71
278
import { json, urlencoded } from 'body-parser'; import cors from 'cors'; import express, { Application } from 'express'; import passport from 'passport'; import { adminPassportMiddleware, userPassportMiddleware, } from './app'; import { v1 as v1Routes } from './interfaces/routes'; const server: Application...
10,101
https://github.com/msleprosy/cloud-pipeline/blob/master/vm-monitor/src/main/java/com/epam/pipeline/vmmonitor/model/vm/VMTag.java
Github Open Source
Open Source
Apache-2.0
2,022
cloud-pipeline
msleprosy
Java
Code
152
341
/* * Copyright 2017-2019 EPAM Systems, Inc. (https://www.epam.com/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
3,789
https://github.com/AaronOS0/Time-series-Cross-validation/blob/master/tsCrossValidation.py
Github Open Source
Open Source
MIT
2,022
Time-series-Cross-validation
AaronOS0
Python
Code
349
832
# Time Series Cross Validation import numpy as np import pandas as pd ''' Description: Multiple Splits Cross Validation on Time Series data Args: num: Number of DataSet n_splits: Split times Return: split_position_df: All set of splits position in a Pandas dataframe ''' def mulTsCrossValidation(num, n_sp...
40,324
https://github.com/funeralzone/valueobject-extensions/blob/master/src/ComplexScalars/RFC3339TraitTest.php
Github Open Source
Open Source
MIT
2,021
valueobject-extensions
funeralzone
PHP
Code
162
948
<?php // @codingStandardsIgnoreFile declare(strict_types=1); namespace Funeralzone\ValueObjectExtensions\ComplexScalars; use const DATE_RFC3339; use DateTimeImmutable; use Funeralzone\ValueObjects\ValueObject; use PHPUnit\Framework\TestCase; final class RFC3339TraitTest extends TestCase { public function test_...
34,074
https://github.com/geofffranks/cloud_controller_ng/blob/master/spec/unit/actions/space_diff_manifest_spec.rb
Github Open Source
Open Source
Apache-2.0
2,022
cloud_controller_ng
geofffranks
Ruby
Code
1,123
3,505
require 'spec_helper' require 'actions/space_diff_manifest' module VCAP::CloudController RSpec.describe SpaceDiffManifest do describe 'generate_diff' do let(:default_manifest) { { 'applications' => [ { 'name' => app1_model.name, 'stack' => process1....
11,634
https://github.com/SUSE/cf-suse-stacks/blob/master/cflinuxfs2/build/install-packages.sh
Github Open Source
Open Source
Ruby, Apache-2.0
2,020
cf-suse-stacks
SUSE
Shell
Code
332
1,227
set -e -x # source /etc/lsb-release # function apt_get() { # apt-get -y --force-yes --no-install-recommends "$@" # } packages=" # Additional packages needed on openSUSE tar gcc gcc-c++ util-linux-systemd sudo netcat-openbsd which glibc-locale # ---------- zypper-aptitude autoconf bind-utils bison patterns-openSUSE...
32,851
https://github.com/FlymeOS5/device-cancro/blob/master/core-libart.jar.out/smali/java/security/cert/X509CertSelector.smali
Github Open Source
Open Source
Apache-2.0
null
device-cancro
FlymeOS5
Smali
Code
7,727
40,380
.class public Ljava/security/cert/X509CertSelector; .super Ljava/lang/Object; .source "X509CertSelector.java" # interfaces .implements Ljava/security/cert/CertSelector; # instance fields .field private authorityKeyIdentifier:[B .field private certificateEquals:Ljava/security/cert/X509Certificate; .field private ce...
54,824
https://github.com/microsoft/onnxruntime/blob/master/tools/ci_build/github/pai/pai_huggingface_bert_large_test.sh
Github Open Source
Open Source
MIT
2,023
onnxruntime
microsoft
Shell
Code
94
454
#!/bin/bash set -ex usage() { echo "Usage: $0 [-v <ROCm version>]" 1>&2; exit 1; } while getopts "v:" parameter_Option do case "${parameter_Option}" in v) ROCM_VERSION=${OPTARG};; *) usage ;; esac done MI200_DEVICE_NUMBERS=$(rocm-smi --showproductname | grep -c "MI250" | xargs) if [ "$MI200_DEVICE_NUMBERS" -gt "0"...
5,247
https://github.com/AntonioT-M/Aplicaci-n-para-control-de-cursos-de-capacitaci-n-IECA-Tarandacuao/blob/master/04_JAMA/Sitio Web/ci_ieca/app/Views/admin/horario/guardarHorario.php
Github Open Source
Open Source
MIT
2,020
Aplicaci-n-para-control-de-cursos-de-capacitaci-n-IECA-Tarandacuao
AntonioT-M
PHP
Code
295
1,455
<?php require_once '../class/Horario.php'; include('../template/Header.php'); $idHorario = (isset($_REQUEST['idHorario'])) ? $_REQUEST['idHorario']: null; if($idHorario){ $horario = Horario::buscarPorId($idHorario); }else{ $horario = new Horario(); } if($_SERVER['REQUEST_ME...
13,437
https://github.com/sedurCode/MoSQITo/blob/master/mosqito/functions/loudness_zwicker/loudness_zwicker_lowpass_intp.py
Github Open Source
Open Source
Apache-2.0
2,022
MoSQITo
sedurCode
Python
Code
167
412
# -*- coding: utf-8 -*- """ @date Created on Fri May 22 2020 @author martin_g for Eomys """ # Standard library imports import math import numpy as np def loudness_zwicker_lowpass_intp(loudness, tau, sample_rate): """1st order low-pass with linear interpolation of signal for increased precision Parameter...
36,378
https://github.com/UM-ARM-Lab/mab_ms/blob/master/deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgSim/DOFTransform.cpp
Github Open Source
Open Source
BSD-2-Clause
2,021
mab_ms
UM-ARM-Lab
C++
Code
1,245
5,740
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * included with ...
48,908
https://github.com/swj0418/Java_Course_Project/blob/master/Statistical_Analysis/GUISource/generalInfoFrame/GeneralInfoFramePanel_LatestData.java
Github Open Source
Open Source
MIT
2,017
Java_Course_Project
swj0418
Java
Code
10
31
package generalInfoFrame; import javax.swing.*; public class GeneralInfoFramePanel_LatestData extends JPanel{ }
35,972
https://github.com/WalkerDogW/runbardese/blob/master/runbardese-system/src/main/java/com/runbardese/system/domain/PrintDataMsg.java
Github Open Source
Open Source
MIT
null
runbardese
WalkerDogW
Java
Code
88
313
package com.runbardese.system.domain; import io.swagger.annotations.ApiModel; import java.util.List; @ApiModel("打印标签返回结果实体") public class PrintDataMsg { //返回消息实体 private CodeMsg codeMsg; //打印标签结果实体 private List<PrintData> printData; public PrintDataMsg() { } public PrintDataMsg(CodeMsg ...
37,273
https://github.com/fucora/DistributedOrderNumber/blob/master/ordernumber-service/src/main/resources/application.properties
Github Open Source
Open Source
Apache-2.0
2,018
DistributedOrderNumber
fucora
null
Spoken
25
69
spring.application.name = shys-ordernumber apollo.env = DEV apollo.cacheRoot = / apollo.bootstrap.enabled = true # will inject 'application' and 'FX.apollo' namespaces in bootstrap phase apollo.bootstrap.namespaces = application
37,932
https://github.com/csb6/libtcod-ada/blob/master/demo/tutorial/components-ais.adb
Github Open Source
Open Source
BSD-3-Clause
null
libtcod-ada
csb6
Ada
Code
455
1,395
with Libtcod.Maps, Libtcod.Input; with Actors, Engines, Ada.Numerics.Elementary_Functions; use Libtcod; package body Components.AIs is package Float_Math renames Ada.Numerics.Elementary_Functions; --------------------------- -- player_move_or_attack -- --------------------------- function player_move...
24,647
https://github.com/mbrodala/Rocket.Chat/blob/master/packages/rocketchat-lib/server/methods/checkRegistrationSecretURL.js
Github Open Source
Open Source
MIT
null
Rocket.Chat
mbrodala
JavaScript
Code
17
70
import { Meteor } from 'meteor/meteor'; Meteor.methods({ checkRegistrationSecretURL(hash) { check(hash, String); return hash === RocketChat.settings.get('Accounts_RegistrationForm_SecretURL'); }, });
46,822