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/asd1355215911/Routing/blob/master/src/Microsoft.AspNet.Routing/RouterMiddleware.cs
Github Open Source
Open Source
Apache-2.0
2,014
Routing
asd1355215911
C#
Code
155
514
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; using Microsoft.AspNet.Http; using Microsoft.AspNet.RequestContainer; using Microsoft.AspNet.Routing; usi...
18,705
https://github.com/JohanEngelen/SDC/blob/master/libd/src/d/ir/statement.d
Github Open Source
Open Source
MIT
2,015
SDC
JohanEngelen
D
Code
245
758
module d.ir.statement; import d.ir.expression; import d.ast.statement; import d.context.location; class Statement : AstStatement { this(Location location) { super(location); } } alias BlockStatement = d.ast.statement.BlockStatement!Statement; alias ExpressionStatement = d.ast.statement.ExpressionStatement!(Exp...
25,138
https://github.com/vickyleu/flutter_tim/blob/master/lib/models/v2_tim_face_elem.dart
Github Open Source
Open Source
Apache-2.0
null
flutter_tim
vickyleu
Dart
Code
61
192
/// V2TimFaceElem /// /// {@category Models} /// class V2TimFaceElem { late int? index; late String? data; V2TimFaceElem({ this.index, this.data, }); V2TimFaceElem.fromJson(Map<String, dynamic> json) { index = json['index']; data = json['data']; } Map<String, dynamic> toJson() { fin...
46,388
https://github.com/six-face/deno-toy/blob/master/handlers/updateUser.ts
Github Open Source
Open Source
MIT
null
deno-toy
six-face
TypeScript
Code
84
198
import { updateUser } from '../services/users.ts' export default async ({ params, request, response, }: { [propName: string]: any }) => { const userId = params.userId if (!userId) { response.status = 400 response.body = { msg: 'Invalid user id' } return } if (!request.hasBody) { respo...
25,683
https://github.com/PeteLow-13/Portfolio/blob/master/server.js
Github Open Source
Open Source
ISC
null
Portfolio
PeteLow-13
JavaScript
Code
79
252
const path = require('path'); const express =require('express'); const app = express(); // const publicPath = path.join(__dirname, 'public'); const port = process.env.PORT || 3000; // Define middleware here app.use(express.urlencoded({ extended: true })); app.use(express.json()); // Serve up static assets (usually on ...
8,966
https://github.com/firojkabir/lsg/blob/master/node_modules/is-valid-glob/index.js
Github Open Source
Open Source
MIT
2,021
lsg
firojkabir
JavaScript
Code
60
148
'use strict'; module.exports = function isValidGlob(glob) { if (typeof glob === 'string' && glob.length > 0) { return true; } if (Array.isArray(glob)) { return glob.length !== 0 && every(glob); } return false; }; function every(arr) { var len = arr.length; while (len--) { if (typeof arr[len]...
3,613
https://github.com/tbodt/sourcegraph/blob/master/client/shared/src/search/parser/tokens.test.ts
Github Open Source
Open Source
Apache-2.0
2,020
sourcegraph
tbodt
TypeScript
Code
166
577
import { getMonacoTokens } from './tokens' import { parseSearchQuery, ParseSuccess, Sequence } from './parser' describe('getMonacoTokens()', () => { test('returns the tokens for a parsed search query', () => { expect( getMonacoTokens( (parseSearchQuery('r:^github.com/sourcegraph...
29,404
https://github.com/amands97/R-C3D-1/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,018
R-C3D-1
amands97
Ignore List
Code
12
124
**/*.mp4 caffe3d/ caffe3d/**/* lib/setup.py pretrain/activitynet_iter_30000_3fps.caffemodel preprocess/activityNet/videos/ snapshot/activitynet_iter_135000.caffemodel preprocess/activityNet/videos/ cudnn-8.0-linux-x64-v5.1.tgz cuda/ cuda/**/* preprocess/activityNet/frames/**/*
29,121
https://github.com/qcubed-4/i18n/blob/master/src/TranslatorInterface.php
Github Open Source
Open Source
MIT
null
i18n
qcubed-4
PHP
Code
513
985
<?php /** * Part of the QCubed I18n framework. Designed to operate standalone without the framework as well. * * MIT Licensed * * Copyright (c) 2017 Shannon Pekary * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided t...
25,790
https://github.com/andriichuk/php-curl-cookbook/blob/master/01_Basics/01_Request_Methods/01_Get/console.sh
Github Open Source
Open Source
MIT
2,022
php-curl-cookbook
andriichuk
Shell
Code
6
32
#!/usr/bin/env bash curl --request GET "https://postman-echo.com/get?foo=bar"
41,789
https://github.com/akatakritos/Glass.Sitecore.Mapper/blob/master/Source/Glass.Sitecore.Mapper.Tests/Data/SitecoreFieldRulesHandlerFixture.cs
Github Open Source
Open Source
Apache-2.0
2,015
Glass.Sitecore.Mapper
akatakritos
C#
Code
212
729
/* Copyright 2011 Michael Edwards Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to ...
37,054
https://github.com/DanielaBuryova/CooKit/blob/master/CooKit/CooKit/Services/Impl/SQLite/SQLitePictogramStoreBuilder.cs
Github Open Source
Open Source
MIT
2,022
CooKit
DanielaBuryova
C#
Code
83
326
using System; using System.Threading.Tasks; using CooKit.Models; using CooKit.Models.Impl; using CooKit.Services.SQLite; using SQLite; namespace CooKit.Services.Impl.SQLite { public sealed class SQLitePictogramStoreBuilder : ISQLitePictogramStoreBuilder { public IBuilderProperty<ISQLitePictogramStoreB...
27,939
https://github.com/zhangwenlong8911/chartmuseum/blob/master/go.mod
Github Open Source
Open Source
Apache-2.0
2,022
chartmuseum
zhangwenlong8911
Go Module
Code
658
4,077
module helm.sh/chartmuseum go 1.17 require ( github.com/alicebob/miniredis v2.5.0+incompatible github.com/chartmuseum/auth v0.5.0 github.com/chartmuseum/storage v0.12.4 github.com/ghodss/yaml v1.0.0 github.com/gin-contrib/size v0.0.0-20220102055520-f75bacbc2df3 github.com/gin-gonic/gin v1.8.1 github.com/go-red...
17,470
https://github.com/juanes30/desktop-app/blob/master/appstore/src/components/common/Search/AppStoreSearch.tsx
Github Open Source
Open Source
Apache-2.0
2,021
desktop-app
juanes30
TSX
Code
182
589
import * as React from 'react'; import { createUseStyles } from 'react-jss'; import Search from '@src/components/common/Search/Search'; import SearchResults from '@src/components/common/Search/SearchResults'; import { colors } from '@src/theme'; import { Application } from '../Application.type'; const useStyles = cre...
7,183
https://github.com/greenwoodms/TRANSFORM-Library/blob/master/TRANSFORM/PeriodicTable/Elements/Mo.mo
Github Open Source
Open Source
Apache-2.0
2,021
TRANSFORM-Library
greenwoodms
Modelica
Code
8
39
within TRANSFORM.PeriodicTable.Elements; record Mo extends TRANSFORM.PeriodicTable.Elements.PartialElement(symbol="Mo"); end Mo;
25,610
https://github.com/Ohtu-project-Eficode/Amandus/blob/master/frontend/src/types.ts
Github Open Source
Open Source
MIT
2,022
Amandus
Ohtu-project-Eficode
TypeScript
Code
288
738
export interface File { name: string content: string status: string | null } export interface FileListQueryResult { files: File[] } export interface IsGithubConnectedResult { isGithubConnected: boolean } export interface GithubLoginURLQueryResult { githubLoginUrl: string } export interface IsBitbucketCo...
43,973
https://github.com/gigliovale/h2o/blob/master/src/main/java/water/api/DeleteHDFSDir.java
Github Open Source
Open Source
Apache-2.0
2,022
h2o
gigliovale
Java
Code
124
412
package water.api; import static water.util.FSUtils.isHdfs; import static water.util.FSUtils.isS3N; import java.io.File; import java.io.IOException; import hex.glm.GLMModel; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import water.*; import water.persist.PersistHdfs; import water.seria...
36,849
https://github.com/acronis/acronis-cyber-platform-python-examples/blob/master/authorization/issue_access_token.py
Github Open Source
Open Source
MIT
2,021
acronis-cyber-platform-python-examples
acronis
Python
Code
126
414
#!/usr/bin/python # -*- coding: utf-8 -*- # ************************************************************ # Copyright © 2019-2021 Acronis International GmbH. # This source code is distributed under MIT software license. # ************************************************************ import requests # used for sending ...
1,704
https://github.com/rablack/LightBox/blob/master/Sequence.cpp
Github Open Source
Open Source
MIT
null
LightBox
rablack
C++
Code
894
2,127
#include "Sequence.h" void Sequence::addEffect(Effect* effect) { EffectNode* newNode = new EffectNode; newNode->effect = effect; newNode->next = 0; if (effectList == 0) { state = STOP; effectList = newNode; newNode->startTime = 0; } else { EffectNode* node = effectList; while (node->ne...
45,075
https://github.com/atpyatt/aws-sdk-net/blob/master/sdk/src/Services/Lightsail/Generated/Model/LoadBalancer.cs
Github Open Source
Open Source
Apache-2.0
2,020
aws-sdk-net
atpyatt
C#
Code
1,322
2,898
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
48,970
https://github.com/hjc851/Dataset2-HowToDetectAdvancedSourceCodePlagiarism/blob/master/Variant Programs/3-3/29/Pitcairn.java
Github Open Source
Open Source
MIT
null
Dataset2-HowToDetectAdvancedSourceCodePlagiarism
hjc851
Java
Code
64
198
public class Pitcairn { public synchronized void inaugurate() { String minimalSlot; minimalSlot = "ZohN1BtETC5j8nJh"; for (int i = 0; i < caseloadPlanters; i++) { new Thread(new Farm(islaCite + "_Farmer" + (i + 1))).start(); } } static double appoint = 0.955551942891227; public Pitcair...
21,505
https://github.com/schiebel/dVO/blob/master/include/rxcpp/operators/Where.hpp
Github Open Source
Open Source
Apache-2.0
null
dVO
schiebel
C++
Code
194
759
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. #pragma once #include "../rx-operators.hpp" #if !defined(CPPRX_RX_OPERATORS_WHERE_HPP) #define CPPRX_RX_OPERATORS_WHERE_HPP namespace rxcpp { namespace detail { templa...
46,984
https://github.com/kenyasue/mdshare/blob/master/test/global.js
Github Open Source
Open Source
MIT
null
mdshare
kenyasue
JavaScript
Code
7
16
module.exports = { documentIdToDelete : 0 }
27,089
https://github.com/MWSE/morrowind-nexus-lua-dump/blob/master/lua/Ashfall - A Camping Survival and Needs Mod/Ashfall-49057-v3-11-2-1690139298/Data Files/MWSE/mods/mer/ashfall/integrations/init.lua
Github Open Source
Open Source
Unlicense
2,023
morrowind-nexus-lua-dump
MWSE
Lua
Code
48
169
local common = require("mer.ashfall.common.common") local logger = common.createLogger("Integrations") local function isLuaFile(file) return file:sub(-4, -1) == ".lua" end local function isInitFile(file) return file == "init.lua" end for file in lfs.dir("Data Files/MWSE/mods/mer/ashfall/integrations/") do if isLu...
34,771
https://github.com/tomitribe/securing-b2b-with-jwt-and-signatures/blob/master/entitlement-service/README.adoc
Github Open Source
Open Source
Apache-2.0
null
securing-b2b-with-jwt-and-signatures
tomitribe
AsciiDoc
Code
235
570
# Entitlement Service In the previous architecture all services would connect to the Entitlement service and verify the customer's license, permissions and abilities. This would happen every business request. In the new architecture this data has been turned into claims and is available in the customer's JWT so ther...
11,277
https://github.com/CarolinaIgnites/javascript-sandbox-console/blob/master/src/entry.js
Github Open Source
Open Source
MIT
null
javascript-sandbox-console
CarolinaIgnites
JavaScript
Code
34
94
require("./index.js"); jQuery(document).ready(function($) { // Create the sandbox: window.sandbox = new Sandbox.View({ el : $('#sandbox'), model : new Sandbox.Model({ fallback : true // use global eval if iframe isn't available (default: true) }) }); });
7,494
https://github.com/bzh2610/Chatbot-dashboard/blob/master/src/views/examples/Orders.js
Github Open Source
Open Source
MIT
null
Chatbot-dashboard
bzh2610
JavaScript
Code
678
2,751
/*! ========================================================= * Argon Dashboard React - v1.1.0 ========================================================= * Product Page: https://www.creative-tim.com/product/argon-dashboard-react * Copyright 2019 Creative Tim (https://www.creative-tim.com) * Licensed under MIT (https:/...
34,788
https://github.com/prakhunov/slick/blob/master/slick/src/main/scala/slick/collection/package.scala
Github Open Source
Open Source
BSD-2-Clause
2,022
slick
prakhunov
Scala
Code
9
15
package slick /** HList implementation */ package object collection
20,129
https://github.com/bitmovin/analytics-live-monitoring-dashboard/blob/master/src/components/ErrorChart.js
Github Open Source
Open Source
MIT
2,020
analytics-live-monitoring-dashboard
bitmovin
JavaScript
Code
227
618
import React from 'react'; import Chart from './Chart.js'; import './ErrorChart.css'; export default function ErrorChart({ loading, data, from, to, onSelectTimestamp, onSelectSeriesName, selectedSeriesName, selectedTimestamp }) { const seriesArray = []; data.forEach(([timestamp, errorCode, count]) => { const ...
37,444
https://github.com/Sanjay-Ganeshan/AudiobookMaker/blob/master/OCRTest/Extras/Tesseract-OCR/tesseract-ocr/doc/html/search/files_75.js
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,015
AudiobookMaker
Sanjay-Ganeshan
JavaScript
Code
16
390
var searchData= [ ['underlin_2ecpp',['underlin.cpp',['../a00919.html',1,'']]], ['underlin_2eh',['underlin.h',['../a00920.html',1,'']]], ['unichar_2ecpp',['unichar.cpp',['../a00609.html',1,'']]], ['unichar_2eh',['unichar.h',['../a00610.html',1,'']]], ['unicharmap_2ecpp',['unicharmap.cpp',['../a00611.html',1,''...
43,211
https://github.com/Doikor/odin/blob/master/extras/src/main/scala/io/odin/extras/loggers/ConditionalLogger.scala
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-warranty-disclaimer
2,022
odin
Doikor
Scala
Code
380
1,018
package io.odin.extras.loggers import cats.MonadError import cats.effect.kernel.{Async, Clock, Resource} import cats.effect.kernel.Resource.ExitCase import cats.effect.std.Queue import cats.syntax.applicativeError._ import cats.syntax.flatMap._ import cats.syntax.functor._ import io.odin.loggers.DefaultLogger import i...
50,987
https://github.com/MichalCab/IMS/blob/master/simlib/examples/rc.plt
Github Open Source
Open Source
MIT
null
IMS
MichalCab
Gnuplot
Code
77
180
############################################################################ # Model: RC # #reset #set output "rc.png"; set term png #set output "rc.ps"; set term postscript landscape color set grid set style data lines set title "RC circuit" set key set xlabel "Time [s]" set ylabel "U [V]" plot [][0:6] "rc.dat" u...
37,715
https://github.com/fdagosti/zenigmes/blob/master/app_client/src/app/mesDefis/mesDefis.controller.js
Github Open Source
Open Source
Apache-2.0
null
zenigmes
fdagosti
JavaScript
Code
293
974
((function(){ angular.module('zenigmesApp').controller('mesDefisCtrl', function($scope, sessionsData, zenigmeData, authentication) { var vm = this; sessionsData.participations().then(function(res){ vm.sessionsForUser = res; }).then(function(err){ vm.error = err; }); vm.getSessionEndDate = function...
39,927
https://github.com/EngLyada/bio_connect/blob/master/resources/views/main/contact.blade.php
Github Open Source
Open Source
MIT
null
bio_connect
EngLyada
PHP
Code
46
104
@extends('layout.man-layout') @section('title','Contact Us') @section('heading','Get BIO-Connect System Support') @section('content') <p>A web-based and mobile platform providing consultancy, training, and guidance to the public about waste management, making of digesters, biogas production, and how it is used. As wel...
50,321
https://github.com/mathworks-ref-arch/matlab-azure-cli/blob/master/Software/MATLAB/app/system/generated/+az/+vm/+host/help.m
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT, BSD-2-Clause
2,022
matlab-azure-cli
mathworks-ref-arch
MATLAB
Code
109
297
function help() % Copyright 2020, The MathWorks Inc. fprintf('%s\n', 'Group') fprintf('%s\n', ' az vm host : Manage Dedicated Hosts for Virtual Machines.') fprintf('%s\n', 'Subgroups:') fprintf('%s\n', ' group : Manage Dedicated Host Groups.') fprintf('%s\n', 'Commands:') ...
7,259
https://github.com/o2e/Triton/blob/master/src/libtriton/includes/triton/callbacksEnums.hpp
Github Open Source
Open Source
Apache-2.0
2,022
Triton
o2e
C++
Code
125
333
//! \file /* ** Copyright (C) - Triton ** ** This program is under the terms of the Apache License 2.0. */ #ifndef TRITON_CALLBACKSENUMS_HPP #define TRITON_CALLBACKSENUMS_HPP //! The Triton namespace namespace triton { /*! * \addtogroup triton * @{ */ //! The Callbacks namespace namespace callbacks { ...
41,617
https://github.com/MarcusWichelmann/Avalonia/blob/master/src/Avalonia.Visuals/Media/TextFormatting/Unicode/UnicodeTrieBuilder.cs
Github Open Source
Open Source
MIT
2,022
Avalonia
MarcusWichelmann
C#
Code
3,416
8,564
// RichTextKit // Copyright © 2019 Topten Software. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); you may // not use this product except in compliance with the License. You may obtain // a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Un...
40,397
https://github.com/choonho/vpp/blob/master/src/vpp-api/java/jvpp-core/io/fd/vpp/jvpp/core/test/CreateSubInterfaceTest.java
Github Open Source
Open Source
Apache-2.0
2,018
vpp
choonho
Java
Code
396
1,369
/* * Copyright (c) 2016 Cisco and/or its affiliates. * * 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 applic...
13,812
https://github.com/beatfactor/cbs/blob/master/Source/Navigation/Web.Common/src/views/Application.js
Github Open Source
Open Source
MIT
2,019
cbs
beatfactor
JavaScript
Code
64
197
import React from 'react'; import Helmet from 'react-helmet'; import Header from './Header'; import Main from './Main'; import Footer from './Footer'; export default class Application extends React.Component { render() { let maybeGraphURL = null; if (window.location.href) { maybeGraphURL = ( <...
22,500
https://github.com/decaun/easy-python-study/blob/master/data_structures/red_black_tree.py
Github Open Source
Open Source
Apache-2.0
2,019
easy-python-study
decaun
Python
Code
2,810
7,596
from __future__ import print_function # https://en.wikipedia.org/wiki/Red%E2%80%93black_tree # https://github.com/noporpoise/pyRBT/blob/master/pyrbt.py # https://www.youtube.com/watch?v=5IBxA-bZZH8 # https://www.youtube.com/watch?v=95s3ndZRGbk # Invariants: # 1. A node is either red or black. # 2. The root is black. #...
31,070
https://github.com/falian-lawchain/DNA/blob/master/core/transaction/payload/Record.go
Github Open Source
Open Source
Apache-2.0
2,018
DNA
falian-lawchain
Go
Code
206
580
package payload import ( . "DNA/common" "DNA/common/serialization" . "DNA/errors" "errors" "io" ) const RecordPayloadVersion byte = 0x00 type Record struct { RecordType string RecordData []byte } func (a *Record) Data(version byte) []byte { //TODO: implement RegisterRecord.Data() return []byte{0} } // Ser...
25,121
https://github.com/guoci/limelight-core/blob/master/limelight_webapp/src/main/java/org/yeastrc/limelight/limelight_webapp/searchers/Project_Note_List_ForProjectIdSearcherIF.java
Github Open Source
Open Source
Apache-2.0
2,021
limelight-core
guoci
Java
Code
18
133
package org.yeastrc.limelight.limelight_webapp.searchers; import java.sql.SQLException; import java.util.List; import org.yeastrc.limelight.limelight_webapp.searchers_results.Project_Note_List_ForProjectId_Item; public interface Project_Note_List_ForProjectIdSearcherIF { List<Project_Note_List_ForProjectId_Item> g...
13,069
https://github.com/jmarkos/infinispan/blob/master/server/integration/security/src/test/java/org/jboss/as/security/SecurityDomainModelv12UnitTestCase.java
Github Open Source
Open Source
Apache-2.0
2,016
infinispan
jmarkos
Java
Code
905
3,902
/* * * JBoss, Home of Professional Open Source. * Copyright 2013, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it...
3,969
https://github.com/BWITS/xcode-projects/blob/master/Time Tables/Time Tables/ViewController.swift
Github Open Source
Open Source
Apache-2.0
null
xcode-projects
BWITS
Swift
Code
122
353
// // ViewController.swift // Time Tables // // Created by Bill W on 15/01/2016. // Copyright © 2016 AppFish. All rights reserved. // import UIKit class ViewController: UIViewController, UITableViewDelegate { @IBOutlet weak var slideValue: UISlider! @IBAction func slideMove(sender: AnyObject) { t...
27,569
https://github.com/MasterDavood08/job_finder/blob/master/src/seekers/seeker.repository.ts
Github Open Source
Open Source
MIT
null
job_finder
MasterDavood08
TypeScript
Code
21
53
import { EntityRepository, Repository } from 'typeorm'; import { Seeker } from './seeker.entity'; @EntityRepository(Seeker) export class SeekerRepository extends Repository<Seeker> { }
41,238
https://github.com/ezw21/RecreationServicesMap/blob/master/client/jimu-ui/advanced/lib/map/components/jimu-map/layout/pc-layout-json.d.ts
Github Open Source
Open Source
Apache-2.0, MIT-0, MIT
null
RecreationServicesMap
ezw21
TypeScript
Code
13
31
import { LayoutJson } from './config'; declare const layoutJsons: LayoutJson[]; export default layoutJsons;
48,543
https://github.com/SapphireDb/SapphireDb/blob/master/WebUI/Data/Models/Test.cs
Github Open Source
Open Source
MIT
2,021
SapphireDb
SapphireDb
C#
Code
18
38
namespace WebUI.Data.Models { public class Test : Base { public string Content { get; set; } } }
11,338
https://github.com/renavigation2/renavigation2/blob/master/scripts/upgrade.sh
Github Open Source
Open Source
MIT
2,021
renavigation2
renavigation2
Shell
Code
51
156
#!/bin/sh update () { ncu --packageManager npm --packageFile "$1/package.json" -u -x path-to-regexp ncu --packageManager npm --packageFile "$1/package.json" -u --dep dev -x path-to-regexp } yarn workspaces list --json | while read package; do package="${package/\{\"location\":\"/}" package=$(sed "s/\"...
15,150
https://github.com/mendoncalf/meu1pacote/blob/master/R/dados.R
Github Open Source
Open Source
MIT
2,021
meu1pacote
mendoncalf
R
Code
40
109
#' Titulo da base #' #' Descricao da base #' #' @format Uma lista que descreve as colunas: #' \describe{ #' \item{col1}{Descricao da coluna 1} #' \item{col2}{Descricao da coluna 2} #' ... #' } #' @source Origem dos dados "partidas_brasileirao"
113
https://github.com/Imandev744/cms/blob/master/resources/views/post/list.blade.php
Github Open Source
Open Source
MIT
2,020
cms
Imandev744
Blade
Code
68
375
@extends('layouts.interface') @section('container') <div class="container" style="margin-top: 50px"> <h2> All the posts</h2> <table class="table" style="text-align: center"> <thead class="thead-dark"> <tr> <th>ID</th> <th>Title</th> <th>Author</th> ...
12,178
https://github.com/GraphQL-Portal/graphql-portal-dashboard/blob/master/packages/backend/src/modules/source/dto/source-validator.ts
Github Open Source
Open Source
MIT
2,021
graphql-portal-dashboard
GraphQL-Portal
TypeScript
Code
52
138
import { validateSourceConfig } from '@graphql-portal/types'; import { ValidationError } from 'apollo-server-express'; import { ValidatorConstraint, ValidatorConstraintInterface, } from 'class-validator'; @ValidatorConstraint({ name: 'source', async: false }) export default class SourceValidator implements Validat...
25,041
https://github.com/uk-gov-mirror/SkillsFundingAgency.das-employer-incentives/blob/master/src/SFA.DAS.EmployerIncentives.Commands/SendEmail/SendBankDetailsReminderEmailCommandValidator.cs
Github Open Source
Open Source
MIT
2,021
SkillsFundingAgency.das-employer-incentives
uk-gov-mirror
C#
Code
74
270
using SFA.DAS.EmployerIncentives.Abstractions.Commands; using System.Threading.Tasks; namespace SFA.DAS.EmployerIncentives.Commands.SendEmail { public class SendBankDetailsReminderEmailCommandValidator : IValidator<SendBankDetailsReminderEmailCommand> { public Task<ValidationResult> Validate(SendBankD...
43,875
https://github.com/arangodb/arangodb/blob/master/tests/js/server/aql/aql-queries-optimizer-ref.js
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause, ICU, Zlib, GPL-1.0-or-later, OpenSSL, ISC, LicenseRef-scancode-gutenberg-2020, MIT, GPL-2.0-only, CC0-1.0, BSL-1.0, LicenseRef-scancode-autoconf-simple-exception, LicenseRef-scancode-pcre, Bison-exception-2.2, LicenseRef-scancode-public-domain, JSON, BSD-2-Clause, LicenseRef-scancode-unknown-l...
2,023
arangodb
arangodb
JavaScript
Code
1,432
3,025
/*jshint globalstrict:false, strict:false, maxlen: 500 */ /*global assertEqual, AQL_EXPLAIN */ //////////////////////////////////////////////////////////////////////////////// /// @brief tests for query language, reference optimizer /// /// DISCLAIMER /// /// Copyright 2010-2012 triagens GmbH, Cologne, Germany /// ///...
5,063
https://github.com/TomShacham/http4js/blob/master/src/test/filters/DeterministicIdGenerator.ts
Github Open Source
Open Source
MIT
2,019
http4js
TomShacham
TypeScript
Code
29
78
import {IdGenerator} from "../../main/zipkin/Zipkin"; export class DeterministicIdGenerator implements IdGenerator { private counter: number = 0; newId(): string { const counter = this.counter; this.counter += 1; return counter.toString(); } }
6,152
https://github.com/bashofmann/dashboard-1/blob/master/components/nav/WorkspaceSwitcher.vue
Github Open Source
Open Source
Apache-2.0
null
dashboard-1
bashofmann
Vue
Code
169
633
<script> import { WORKSPACE } from '@/store/prefs'; import { mapState } from 'vuex'; import Select from '@/components/form/Select'; export default { components: { Select }, computed: { ...mapState(['allWorkspaces', 'workspace']), value: { get() { return this.workspace; }, set(v...
33,197
https://github.com/emmanuelbernard/hibernate-validator/blob/master/hibernate-validator-legacy/src/main/java/org/hibernate/validator/Digits.java
Github Open Source
Open Source
Apache-2.0
null
hibernate-validator
emmanuelbernard
Java
Code
65
214
package org.hibernate.validator; import java.lang.annotation.ElementType; import java.lang.annotation.Target; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; /** * Check that a given number has <code>integerDigits</code> integer digits * an...
8,308
https://github.com/jmcguire/learning/blob/master/misc_code/monkey_patching_class/test.py
Github Open Source
Open Source
MIT
null
learning
jmcguire
Python
Code
9
35
import alpha import patch_alpha patch_alpha.patch() me = alpha.Alpha('justin') me.speak()
43,703
https://github.com/Atiladanvi/octo/blob/master/src/Billing/Http/Controllers/InvoiceController.php
Github Open Source
Open Source
MIT
null
octo
Atiladanvi
PHP
Code
72
276
<?php namespace Octo\Billing\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use Octo\Billing\Billing; class InvoiceController extends Controller { /** * Display a listing of the resource. * * @param \Illuminate\Http\Request $request * @return \Illuminate\H...
9,600
https://github.com/IQ-tech/firebolt/blob/master/packages/validators/src/validators/date/index.ts
Github Open Source
Open Source
Apache-2.0
2,022
firebolt
IQ-tech
TypeScript
Code
194
485
import { ValidationResult, Validator } from '../../classes'; import isDayValid from '../day'; interface ValidationProp { partialDate?: boolean; } function isDate( value: string, { partialDate = false }: ValidationProp = {}, ): ValidationResult { if (!value) return new ValidationResult(true); const parms = v...
6,520
https://github.com/hlongjuice/stseafood/blob/master/app/Http/Controllers/Api/Eng/CondensController.php
Github Open Source
Open Source
MIT
null
stseafood
hlongjuice
PHP
Code
485
2,915
<?php namespace App\Http\Controllers\Api\Eng; use App\Models\Eng\Condens; use Carbon\Carbon; use Illuminate\Http\Request; use App\Http\Controllers\Controller; class CondensController extends Controller { //Get Record public function getRecordByDate($date) { $con2_w_meter_used = 0; $con3_w...
3,897
https://github.com/Barthak/voodoo/blob/master/spellbook/Wiki/Potions/WikiImage.php
Github Open Source
Open Source
BSD-3-Clause
2,018
voodoo
Barthak
PHP
Code
190
613
<?php /** * This can display an image within a wiki context * * <p>Usage: * * [[WikiImage(/images/chatzone2.gif,border:0;wiki:TheChatZone)]] * * This will display the chatzone2.gif image located in /images/ * Options set are a 0px border and a link to the wiki page TheChatZone * * Available options are: ...
48,948
https://github.com/ejpcmac/confkit/blob/master/zsh/freebsd.zsh
Github Open Source
Open Source
WTFPL
2,022
confkit
ejpcmac
Shell
Code
152
430
############################### # FreeBSD Aliases & Functions # ############################### # System update alias upsnap='zfs snapshot -r tank/root@before-update' alias unsnap='zfs destroy -r tank/root@before-update' alias bsdu='freebsd-update fetch' alias bsdi='freebsd-update install' # Ports alias pfu='portsnap...
5,108
https://github.com/xionghuiCoder/db4o-jdk/blob/master/src/main/java/com/jd/o2o/db4o/exception/Db4oConfigException.java
Github Open Source
Open Source
Apache-2.0
null
db4o-jdk
xionghuiCoder
Java
Code
57
203
package com.jd.o2o.db4o.exception; /** * Db4o配置错误 * * @author xionghui * @email xionghui@jd.com * @date 2015年11月26日 下午12:40:33 */ public class Db4oConfigException extends RuntimeException { private static final long serialVersionUID = -7708204606496000029L; public Db4oConfigException() { super(); } ...
20,998
https://github.com/tligodsp/quan-ly-khoa-luan/blob/master/client/src/App.js
Github Open Source
Open Source
MIT
null
quan-ly-khoa-luan
tligodsp
JavaScript
Code
198
735
import React, { useEffect, useState } from "react"; import { BrowserRouter as Router, Route } from "react-router-dom"; import axios from 'axios'; import routes from "./routes"; import withTracker from "./withTracker"; import { RecoilRoot } from 'recoil'; import { gapi } from 'gapi-script'; import moment from 'moment';...
5,221
https://github.com/baselaly/e-commerce/blob/master/app/Repositories/Review/ReviewRepository.php
Github Open Source
Open Source
MIT
null
e-commerce
baselaly
PHP
Code
149
499
<?php namespace App\Repositories\Review; use App\Models\Review; use App\QueryFilters\Review\ReviewableIdFilter; use App\QueryFilters\Review\ReviewableTypeFilter; use App\QueryFilters\Review\UserFilter; use Illuminate\Pipeline\Pipeline; class ReviewRepository implements ReviewInterfaceRepository { /** * revi...
40,225
https://github.com/luomor-web/qiwen-file/blob/master/src/main/java/com/qiwenshare/file/util/FileModel.java
Github Open Source
Open Source
MIT
2,022
qiwen-file
luomor-web
Java
Code
958
2,953
/** * * (c) Copyright Ascensio System SIA 2021 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
46,530
https://github.com/sonatype-nexus-community/nancy-github-action/blob/master/install-nancy.sh
Github Open Source
Open Source
Apache-2.0
2,023
nancy-github-action
sonatype-nexus-community
Shell
Code
211
556
#!/bin/sh # Copyright (c) 2019-present Sonatype, 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 la...
7,219
https://github.com/sungyeon/drake/blob/master/source/streams/a-sustio.adb
Github Open Source
Open Source
MIT
2,020
drake
sungyeon
Ada
Code
1,372
4,709
with Ada.Exception_Identification.From_Here; with Ada.Unchecked_Conversion; with Ada.Unchecked_Deallocation; with System.Address_To_Named_Access_Conversions; with System.Growth; with System.Standard_Allocators; with System.System_Allocators.Allocated_Size; package body Ada.Streams.Unbounded_Storage_IO is use Excepti...
11,592
https://github.com/staceymck/volunteer-log/blob/master/app/controllers/application_controller.rb
Github Open Source
Open Source
MIT
null
volunteer-log
staceymck
Ruby
Code
36
143
class ApplicationController < ActionController::Base helper_method :current_user before_action :require_login private def current_user @current_user ||= User.find_by_id(session[:user_id]) if session[:user_id] end def logged_in? !!current_user end def require_login redirect_to root_path if...
15,970
https://github.com/broccolirob/audit-sandbox/blob/master/contracts/uniswap-v3/periphery/interfaces/IQuoterV2.sol
Github Open Source
Open Source
MIT
null
audit-sandbox
broccolirob
Solidity
Code
663
1,211
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.7.5; pragma abicoder v2; /// @title QuoterV2 Interface /// @notice Supports quoting the calculated amounts from exact input or exact output swaps. /// @notice For each pool also tells you the number of initialized ticks crossed and the sqrt price of the ...
47,525
https://github.com/henrikfroehling/Trakt.NET/blob/master/Source/Lib/Trakt.NET/Enums/TraktListItemType.cs
Github Open Source
Open Source
MIT
2,022
Trakt.NET
henrikfroehling
C#
Code
303
792
namespace TraktNet.Enums { /// <summary>Determines the type of an object in a list item.</summary> public sealed class TraktListItemType : TraktEnumeration { /// <summary>An invalid object type.</summary> public static TraktListItemType Unspecified { get; } = new TraktListItemType(); ...
12,611
https://github.com/india-rose/old-indiarose/blob/master/GradleWS/IndiaRoseTimer/src/main/java/org/indiarose/indiarosetimer/activity/MainActivity.java
Github Open Source
Open Source
MIT
null
old-indiarose
india-rose
Java
Code
64
306
package org.indiarose.indiarosetimer.activity; import org.indiarose.api.activity.IndiaRoseFragmentActivity; import android.content.Context; import android.media.AudioManager; import android.support.v4.app.Fragment; import org.indiarose.indiarosetimer.fragment.Home; public class MainActivity extends IndiaRoseFragment...
5,721
https://github.com/abchain/fabric/blob/master/core/ledger/ledger_test_exports.go
Github Open Source
Open Source
Apache-2.0
2,019
fabric
abchain
Go
Code
354
1,088
/* Copyright IBM Corp. 2016 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 law or agreed to in wri...
165
https://github.com/sshyran/beemo/blob/master/packages/driver-flow/integration/pass-untyped.js
Github Open Source
Open Source
MIT
2,020
beemo
sshyran
JavaScript
Code
4
14
function foo(value) {} foo(123);
30,458
https://github.com/wargamer/SignShop/blob/master/src/main/java/org/wargamer2010/signshop/listeners/sslisteners/StockChecker.java
Github Open Source
Open Source
MIT
2,022
SignShop
wargamer
Java
Code
107
500
package org.wargamer2010.signshop.listeners.sslisteners; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.Listener; import org.bukkit.event.block.Action; import org.bukkit.inventory.ItemStack; import org.wargamer2010.signshop.configuration.SignShopConfig; import org...
36,616
https://github.com/vaillancourt/truckAiPrototype/blob/master/src/test.lua
Github Open Source
Open Source
MIT
null
truckAiPrototype
vaillancourt
Lua
Code
157
559
local Common = require("Common") local function test(value, expected, function_to_test) local result = function_to_test(value) local pass = Common.equivalent(expected, result) print("Input: " .. value .. " Result: " .. result .. " Expected: " .. expected .. " Pass: " .. ((pass and "...
23,246
https://github.com/gregorschatz/DataTablesSrc/blob/master/test/api/core/i18n().js
Github Open Source
Open Source
MIT
2,022
DataTablesSrc
gregorschatz
JavaScript
Code
290
1,159
describe('core - i18n()', function() { dt.libs({ js: ['jquery', 'datatables'], css: ['datatables'] }); let table; describe('Check the defaults', function() { dt.html('basic'); it('Exists and is a function', function() { expect(typeof $('#example').DataTable().i18n).toBe('function'); }); it('Return...
22,837
https://github.com/coscx/GeekServer/blob/master/GeekServer.Core/Net/Udp/LogEventDecoder.cs
Github Open Source
Open Source
MIT
2,021
GeekServer
coscx
C#
Code
77
353
using DotNetty.Buffers; using DotNetty.Codecs; using DotNetty.Transport.Channels; using DotNetty.Transport.Channels.Sockets; using System; using System.Collections.Generic; using System.Text; namespace Geek.Server.Net.Udp { public class LogEventDecoder : MessageToMessageDecoder<DatagramPacket> { prot...
8,041
https://github.com/ngs-doo/revenj/blob/master/csharp/Core/Revenj.Core/Utility/ConfigurationErrorsException.cs
Github Open Source
Open Source
BSD-3-Clause
2,023
revenj
ngs-doo
C#
Code
33
90
#if NETSTANDARD2_0 using System; namespace Revenj { internal class ConfigurationErrorsException : Exception { public ConfigurationErrorsException(string message) : base(message) { } public ConfigurationErrorsException(string message, Exception inner) : base(message, inner) { } } } #endif
9,945
https://github.com/DiegoContrerasA/nextui/blob/master/packages/docs/src/layouts/header.tsx
Github Open Source
Open Source
MIT
2,021
nextui
DiegoContrerasA
TSX
Code
240
930
import React from 'react'; import Head from 'next/head'; import withDefaults from '@utils/with-defaults'; import { toCapitalize } from '@utils/index'; import { isProd } from '@utils/index'; import { TWITTER_USER_NAME, SITE_URL } from '@lib/constants'; export interface HeaderProps { title?: string; description?: st...
3,416
https://github.com/dkharrat/NexusData/blob/master/nexusdata/src/androidTest/java/com/github/dkharrat/nexusdata/test/Address.java
Github Open Source
Open Source
Apache-2.0
2,021
NexusData
dkharrat
Java
Code
13
40
package com.github.dkharrat.nexusdata.test; public class Address extends _Address { public Address() { } }
521
https://github.com/MenkaChaugule/hospital-management-emr/blob/master/Code/Websites/DanpheEMR/wwwroot/DanpheApp/src/app/inventory/shared/vendor-master.model.ts
Github Open Source
Open Source
MIT
2,022
hospital-management-emr
MenkaChaugule
TypeScript
Code
66
143
export class VendorMaster { public VendorId: number = 0; public VendorName: string = null; public ContactAddress: string = null; public ContactNo: string = null; public Email: string = null; public CreatedBy: number = null; public CreatedOn: string = null; public IsActive: boolean = false; public Def...
39,504
https://github.com/HeroOnline/TakinSpider/blob/master/takinspider-spider/src/main/java/us/codecraft/webmagic/pipeline/MultiPagePipeline.java
Github Open Source
Open Source
Apache-2.0
null
TakinSpider
HeroOnline
Java
Code
298
1,119
package us.codecraft.webmagic.pipeline; import us.codecraft.webmagic.MultiPageModel; import us.codecraft.webmagic.ResultItems; import us.codecraft.webmagic.Task; import us.codecraft.webmagic.utils.Experimental; import us.codecraft.webmagic.utils.DoubleKeyMap; import java.util.*; import java.util.concurrent.Concurrent...
18,109
https://github.com/csaboka/spacechempatch/blob/master/SpacechemPatch/Patches/RunState.cs
Github Open Source
Open Source
MIT
2,019
spacechempatch
csaboka
C#
Code
29
121
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SpacechemPatch.Patches { [Decoy("#=qemlibnROmcyhIxcbT6K1ryf3zk0HbkC8fGl_FK$lJyA=")] internal enum RunState : byte { Stopped = 0, Running = 1, Paused = 2 } }
15,197
https://github.com/ScalablyTyped/SlinkyTyped/blob/master/s/square-connect/src/main/scala/typingsSlinky/squareConnect/mod/InventoryCount.scala
Github Open Source
Open Source
MIT
2,021
SlinkyTyped
ScalablyTyped
Scala
Code
176
442
package typingsSlinky.squareConnect.mod import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} @JSImport("square-connect", "InventoryCount") @js.native class InventoryCount () extends...
7,582
https://github.com/alicebibaud/Graf/blob/master/Vue/graf/src/components/Load.vue
Github Open Source
Open Source
MIT
2,021
Graf
alicebibaud
Vue
Code
171
5,553
<template> <div class> <sui-modal v-model='open'> <sui-modal-header>Load Options</sui-modal-header> <sui-modal-content> <sui-button @click ='onLoadFromFile()' icon="file">From File</sui-button> <br><br> <sui-dropdown class="labeled icon" icon="connectdev...
16,022
https://github.com/tub-elastest/epm-client-java/blob/master/gradle/gradle/nexus.upload.plugin.gradle
Github Open Source
Open Source
Apache-2.0
2,019
epm-client-java
tub-elastest
Gradle
Code
223
681
gradle.taskGraph.whenReady { taskGraph -> if (taskGraph.allTasks.any { it.name == 'uploadArchives' }) { java.io.Console console = System.console() console.printf "\n\nWe have to sign some things in this build." + "\n\nPlease enter your signing details.\n\n" def id def fi...
21,537
https://github.com/wariox3/brasa/blob/master/src/Brasa/RecursoHumanoBundle/Resources/views/Movimientos/Seleccion/detalle.html.twig
Github Open Source
Open Source
MIT
null
brasa
wariox3
Twig
Code
1,102
5,768
{% extends '::base.html.twig' %} {% block title %}Proceso selección detalle - Soga App{% endblock %} {% block content %} <script> $('#myTab a').click(function(e) { e.preventDefault(); $(this).tab('show'); }) </script> {{ form_start(form, { 'attr': {'class': 'form-horizontal', 'novalidate': 'nova...
33,772
https://github.com/evansaboo/digital-design/blob/master/MAXwork/simulation/modelsim/codelock.vho
Github Open Source
Open Source
MIT
null
digital-design
evansaboo
VHDL
Code
20,000
38,061
-- Copyright (C) 1991-2013 Altera Corporation -- Your use of Altera Corporation's design tools, logic functions -- and other software and tools, and its AMPP partner logic -- functions, and any output files from any of the foregoing -- (including device programming or simulation files), and any -- associated documentat...
33,102
https://github.com/hmrc/customs-movements-frontend/blob/master/test/unit/controllers/summary/AssociateUcrSummaryControllerSpec.scala
Github Open Source
Open Source
Apache-2.0
2,023
customs-movements-frontend
hmrc
Scala
Code
610
2,499
/* * Copyright 2023 HM Revenue & Customs * * 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 a...
9,938
https://github.com/vadimlvov71/karpaty/blob/master/app/Http/Controllers/DostController.php
Github Open Source
Open Source
MIT
null
karpaty
vadimlvov71
PHP
Code
467
2,000
<?php namespace App\Http\Controllers; use App\Models\Catalogs; use App; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\Helpers\Helper; use Illuminate\Support\Facades\Route; use Session; use URL; class DostController extends Controller { public function __construct(Request $request) { ...
20,892
https://github.com/QazCetelic/HexMod/blob/master/src/main/java/at/petrak/hexcasting/common/items/magic/ItemTrinket.java
Github Open Source
Open Source
MIT
null
HexMod
QazCetelic
Java
Code
34
125
package at.petrak.hexcasting.common.items.magic; import net.minecraft.world.item.ItemStack; public class ItemTrinket extends ItemPackagedSpell { public ItemTrinket(Properties pProperties) { super(pProperties); } @Override public boolean canDrawManaFromInventory(ItemStack stack) { retu...
36,261
https://github.com/Tok3n/tok3nsdkgo_demoAE/blob/master/paypal/PaypalInterface/build/web/packages/Tok3nAPI_Dart/SQRL.dart
Github Open Source
Open Source
Apache-2.0
null
tok3nsdkgo_demoAE
Tok3n
Dart
Code
110
488
part of tok3napi_dart; class SQRL{ bool ready = false; String publicKey,userKey,kind,transactionID; Future get init_done => init_doneC.future; Future get qr_conected => qr_conectedC.future; Completer init_doneC,qr_conectedC; bool cancelQR; SQRL(this.publicKey,this.userKey,this.kind){ init_do...
6,713
https://github.com/ademuanthony/surebank/blob/master/internal/postgres/models/profit_test.go
Github Open Source
Open Source
Apache-2.0
null
surebank
ademuanthony
Go
Code
1,980
5,630
// Code generated by SQLBoiler 4.6.0 (https://github.com/volatiletech/sqlboiler). DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models import ( "bytes" "context" "reflect" "testing" "github.com/volatiletech/randomize" "github.com/volatiletech/sqlboiler/v4/bo...
37,749
https://github.com/eddings/teraslice/blob/master/packages/xlucene-parser/src/context.ts
Github Open Source
Open Source
MIT, Apache-2.0
2,020
teraslice
eddings
TypeScript
Code
710
2,088
import { Logger, TSError, getTypeOf, parseGeoDistance, parseGeoPoint, isRegExpLike, isWildCardString } from '@terascope/utils'; import { xLuceneFieldType, xLuceneVariables, xLuceneTypeConfig, } from '@terascope/types'; import * as i from './interfaces'; import * as utils from './...
18,329
https://github.com/dnwick/editor/blob/master/modules/web/js/ballerina/utils/ace-mode.js
Github Open Source
Open Source
Apache-2.0
null
editor
dnwick
JavaScript
Code
333
1,432
/** * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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.o...
33,995
https://github.com/Explorer1092/pyzeebe/blob/master/pyzeebe/grpc_internals/zeebe_job_adapter.py
Github Open Source
Open Source
MIT
null
pyzeebe
Explorer1092
Python
Code
223
1,281
import json import logging from typing import AsyncGenerator, Dict, List import grpc from zeebe_grpc.gateway_pb2 import (ActivateJobsRequest, CompleteJobRequest, CompleteJobResponse, FailJobRequest, FailJobResponse, ThrowErrorRequest, ...
10,756
https://github.com/magic8421/StopApp/blob/master/app/src/main/java/com/sscience/stopapp/presenter/DisableAppsContract.java
Github Open Source
Open Source
Apache-2.0
2,021
StopApp
magic8421
Java
Code
170
709
package com.sscience.stopapp.presenter; import android.graphics.Bitmap; import com.sscience.stopapp.base.BasePresenter; import com.sscience.stopapp.base.BaseView; import com.sscience.stopapp.bean.AppInfo; import java.util.List; /** * @author SScience * @description * @email chentushen.science@gmail.com * @data ...
38,180
https://github.com/safiza-web/ru-gpts/blob/master/src/fp16/fp16util.py
Github Open Source
Open Source
Apache-2.0
2,022
ru-gpts
safiza-web
Python
Code
732
2,237
# coding=utf-8 # Copyright (c) 2020, Sber. 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 appl...
22,175
https://github.com/shenwei356/bio_scripts/blob/master/sequence/fasta_reset_start_position_for_circular_genome.pl
Github Open Source
Open Source
MIT
2,022
bio_scripts
shenwei356
Perl
Code
258
640
#!/usr/bin/env perl use strict; my $usage = <<USAGE; Function: Reset start position for circular genome. Usage: reset_start_position_for_circular_genome <fasta file> <new start> Example: 1. Set the 100th base as the new start position reset_start_position_for_circular_genome seq.fa 100 Author: Wei S...
15,344