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/Corvia/django-tenant-users/blob/master/django_test_app/companies/migrations/0001_initial.py
Github Open Source
Open Source
MIT
2,023
django-tenant-users
Corvia
Python
Code
119
573
from django.db import migrations, models from django_tenants.postgresql_backend.base import ( # noqa: WPS433, WPS450 _check_schema_name as check_schema_name, ) class Migration(migrations.Migration): """Initial migration for test_django_tenants.companies app.""" initial = True dependencies = [] ...
44,968
https://github.com/stuartleyland/mssngvwls/blob/master/src/main/java/com/mssngvwls/model/Phrase.java
Github Open Source
Open Source
MIT
null
mssngvwls
stuartleyland
Java
Code
178
483
package com.mssngvwls.model; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.ManyToOne; @Entity public class Phrase { @Id @GeneratedValue(strategy = Gen...
46,782
https://github.com/h12w/stats/blob/master/db/influx/influx_test.go
Github Open Source
Open Source
BSD-2-Clause
null
stats
h12w
Go
Code
9
27
package influx import "testing" func TestInflux(t *testing.T) { }
6,490
https://github.com/645561618/yii2-blog/blob/master/common/config/main.php
Github Open Source
Open Source
BSD-3-Clause
2,020
yii2-blog
645561618
PHP
Code
46
216
<?php return [ 'vendorPath' => dirname(dirname(__DIR__)) . '/vendor', 'components' => [ 'db' => [ 'class' => 'yii\db\Connection', 'charset' => 'utf8', ], 'backenddb' => [ 'class' => 'yii\db\Connection', 'charset' => 'utf8', ], 'PublicService'=>[ ...
22,009
https://github.com/beppe9000/CodeConverter/blob/master/CodeConverter/CSharp/AdditionalAssignment.cs
Github Open Source
Open Source
MIT
2,020
CodeConverter
beppe9000
C#
Code
47
141
using Microsoft.CodeAnalysis.CSharp.Syntax; namespace ICSharpCode.CodeConverter.CSharp { internal class AdditionalAssignment : IHoistedNode { public AdditionalAssignment(ExpressionSyntax lhs, ExpressionSyntax rhs) { RightHandSide = rhs ?? throw new System.ArgumentNullException(name...
2,046
https://github.com/EdutechSRL/Adevico_DSS/blob/master/3-Business/2-Core/lm.Comol.Core.DomainModel/Helpers/EnumExtensions.cs
Github Open Source
Open Source
MIT
2,020
Adevico_DSS
EdutechSRL
C#
Code
269
800
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; using System.ComponentModel; namespace lm.Comol.Core.DomainModel.Helpers { public static class EnumExtensions { private static void CheckIsEnum<T>(bool withFlags) { if (!t...
6,607
https://github.com/bububa/opentaobao/blob/master/model/simba/TaobaoSimbaSearchtagtemplateGetResult.go
Github Open Source
Open Source
Apache-2.0
2,023
opentaobao
bububa
Go
Code
34
159
package simba // TaobaoSimbaSearchtagtemplateGetResult 结构体 type TaobaoSimbaSearchtagtemplateGetResult struct { // DimDtOs DimList []DimDtOs `json:"dim_list,omitempty" xml:"dim_list>dim_dt_os,omitempty"` // 人群模版名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 人群模版id Id int64 `json:"id,omitempty" xml...
16,531
https://github.com/shinoyuki222/torch-light/blob/master/pair-ranking-cnn/utils.py
Github Open Source
Open Source
MIT
2,022
torch-light
shinoyuki222
Python
Code
21
52
import const def corpora2idx(sents, ind2idx): return [[ind2idx[w] if w in ind2idx else const.UNK for w in s] for s in sents]
37,714
https://github.com/ElLucioVpe/uytube/blob/master/uyTube - Parte 2/uytube - Estacion de Trabajo/src/presentacion/consultarCategorias.java
Github Open Source
Open Source
MIT
2,021
uytube
ElLucioVpe
Java
Code
338
1,894
package presentacion; import java.util.List; import javax.swing.table.DefaultTableModel; import logica.ListaDeReproduccion; import logica.Video; import logica.controladores.Fabrica; import logica.controladores.IControladorCategoria; import logica.controladores.IControladorUsuario; public class consultarCategorias ext...
30,325
https://github.com/iBelieve/this/blob/master/tests/test_python.py
Github Open Source
Open Source
MIT
2,021
this
iBelieve
Python
Code
54
261
import pytest from thiscli.project import Project from thiscli.project.python import PythonProject from . import setup_dir, runs_commands @pytest.fixture def python_project(mocker): setup_dir(mocker, 'setup.py', 'my_package', 'my_package/__init__.py') return Project.find() def test_find_python_project(pyth...
21,453
https://github.com/eunji2183/proj/blob/master/sh/scRNA/count.sh
Github Open Source
Open Source
MIT
null
proj
eunji2183
Shell
Code
36
148
## trim_galore.sh cat config | while read id do fq1=./raw_fq/${id}_1.fastq.gz fq2=./raw_fq/${id}_2.fastq.gz echo "start trim_galore for ${id}" `date` trim_galore --nextera --gzip --cores 8 -o ./trim_fq $fq1 $fq2 >> ./trim_fq/${id}_trim.log 2>&1 echo "end trim_galore for ${id}"...
44,462
https://github.com/open-home-iot/hint/blob/master/frontend/src/app/features/device/device-list/device-list.component.scss
Github Open Source
Open Source
MIT
null
hint
open-home-iot
SCSS
Code
19
81
:host { display: flex; flex-direction: row; flex-wrap: wrap; app-device-detail:not(:last-child) { margin-right: 0.5em; } app-device-detail { margin-bottom: 0.5em; } }
28,763
https://github.com/2757571500/sdk/blob/master/jme3-core/src/com/jme3/gde/core/filters/actions/NewFilterPopup.java
Github Open Source
Open Source
BSD-3-Clause
2,022
sdk
2757571500
Java
Code
408
1,033
/* * Copyright (c) 2009-2010 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this...
21,079
https://github.com/yuanjianking/auction-system/blob/master/shoucangquan/database/migrations/2016_08_01_000001_create_sc_product_type_table.php
Github Open Source
Open Source
MIT
2,021
auction-system
yuanjianking
PHP
Code
54
270
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateScProductTypeTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { //商品类型表 Schema::create('sc_product_type',function(Bluepr...
36,940
https://github.com/chenyan19209219/gitlab-ce/blob/master/app/workers/todos_destroyer/confidential_issue_worker.rb
Github Open Source
Open Source
MIT, CC-BY-SA-4.0, LicenseRef-scancode-unknown-license-reference
2,023
gitlab-ce
chenyan19209219
Ruby
Code
17
77
# frozen_string_literal: true module TodosDestroyer class ConfidentialIssueWorker include ApplicationWorker include TodosDestroyerQueue def perform(issue_id) ::Todos::Destroy::ConfidentialIssueService.new(issue_id).execute end end end
34,246
https://github.com/cxl12/gcc-builtin-study/blob/master/src/sync-excludes.py
Github Open Source
Open Source
UPL-1.0
2,019
gcc-builtin-study
cxl12
Python
Code
378
1,326
#!/usr/bin/env python3 from common import * import re def regexp(expr, item): reg = re.compile(expr) return reg.search(item) is not None conn.create_function("REGEXP", 2, regexp) # delete automatically-identified excludes c.execute(""" DELETE FROM ExcludedFragments WHERE CATEGORY IS NOT "MANUAL" """) # ex...
22,811
https://github.com/panxuepeng/lnmp/blob/master/script/tengine.sh
Github Open Source
Open Source
Apache-2.0
2,016
lnmp
panxuepeng
Shell
Code
313
1,548
#!/bin/bash tengine_install_dir=$install_dir/tengine/$tengine_version Install_Nginx() { cd $lnmp_src src_url=http://mirrors.linuxeye.com/oneinstack/src/pcre-$pcre_version.tar.gz && Download_src src_url=http://tengine.taobao.org/download/tengine-$tengine_version.tar.gz && Download_src tar xzf pcre-$pcre_version.tar.g...
7,289
https://github.com/fransvanderlek/acplt-rte/blob/master/misc/legacy/dbparse/source/db_lex.lex
Github Open Source
Open Source
Apache-2.0
2,021
acplt-rte
fransvanderlek
Lex
Code
456
1,812
/* * Copyright (c) 1996 * Lehrstuhl fuer Prozessleittechnik, * D-52064 Aachen, Germany. * All rights reserved. * * This file is part of the ACPLT/KS Package * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obta...
1,484
https://github.com/ExpLife0011/kys-cpp/blob/master/src/Util.h
Github Open Source
Open Source
FTL
2,021
kys-cpp
ExpLife0011
C
Code
65
199
#pragma once #include <vector> #include <initializer_list> class Util { public: Util(); ~Util(); template <class T> static void safe_delete(T*& pointer) { if (pointer) { delete pointer; } pointer = nullptr; } template <class T> static void safe_delete(std::vector<T*>& pointer_v...
7,225
https://github.com/ministryofjustice/manchester_traffic_offences_pleas/blob/master/api/api_test_v0_case.py
Github Open Source
Open Source
MIT
2,022
manchester_traffic_offences_pleas
ministryofjustice
Python
Code
517
2,703
from copy import deepcopy import json from django.contrib.auth.models import User from rest_framework.reverse import reverse from rest_framework.test import (APITestCase, APIRequestFactory, force_authenticate) from apps.plea.models import AuditEvent, Case, Court, CaseOffenceFilter from api.v0.views import CaseViewSe...
29,909
https://github.com/pixl70/Blog/blob/master/application/views/includes/footer.php
Github Open Source
Open Source
MIT
null
Blog
pixl70
PHP
Code
178
964
<footer> <style> .footer { color: snow } </style> <div class="grid-x grid-padding-x align-center text-center" style="background-color:#000;margin-top:16px"> <div class="cell small-3 medium-3 large-3 footer" style="margin-top: 16px;"> <h5>Menu</h5> <ul class="menu vertical"> <li><a href="<?php echo...
36,509
https://github.com/NaN-xyz/Glyph-Filters/blob/master/NaNGlyphFilters/NaNGFSpacePartition.py
Github Open Source
Open Source
Apache-2.0
2,022
Glyph-Filters
NaN-xyz
Python
Code
785
2,799
from NaNGFGraphikshared import * import math import random # strip out colour list item [2] def SimplifyTriangleList(triangle): newtri = [] for node in triangle: newtri.append([node[0], node[1]]) return newtri def PathToNodeList(path): np = [] for node in path.nodes: np.append( [node.position.x, node.position...
23,789
https://github.com/Veynes/servertest/blob/master/JavaInstallScripts/FabricInstall
Github Open Source
Open Source
MIT
2,021
servertest
Veynes
Shell
Code
175
518
#!/bin/bash sudo apt update -qq sudo apt install -y -qq curl jq unzip dos2unix wget cd .. mkdir -p server cd server echo -e 'Please check if your mc version is available: https://meta.fabricmc.net/v2/versions/game' echo -e '\n> Enter Minecraft version: ' read MC_VERSION if [ -z "$MC_VERSION" ]; then $MC_VERSION=...
39,189
https://github.com/VitorVeector/Aprendendo-Ao-Front/blob/master/Funções/parametroPadrao.js
Github Open Source
Open Source
MIT
null
Aprendendo-Ao-Front
VitorVeector
JavaScript
Code
132
343
// Primeira estrategia para criar parametros padrao function soma(a, b, c) { a = a || 1 b = b || 1 c = c || 1 return a + b + c } console.log(soma()) console.log(soma(0, 0, 0)) console.log(soma(1, 1, 1)) console.log(soma(3, 3)) console.log(`--------//--------`) // Estrategia 2, 3 e 4 para gerar valor ...
10,457
https://github.com/sea129/kbay/blob/master/common/widgets/barcode/GenBarCode.php
Github Open Source
Open Source
BSD-3-Clause
null
kbay
sea129
PHP
Code
114
580
<?php namespace common\widgets\barcode; use Yii; use yii\helpers\Html; use BCGColor; use BCGDrawing; use BCGcode128; use BCGFontFile; //use frontend\widgets\barcode\BCGColor; //require_once('class'. DIRECTORY_SEPARATOR .'BCGFontFile.php'); //require_once('class'. DIRECTORY_SEPARATOR .'BCGColor.php'); //require_once(...
41,530
https://github.com/kuno-framework/kuno/blob/master/Akka.NET/Kuno.Akka/EndPoints/GetInventoryCommand.cs
Github Open Source
Open Source
MIT
2,018
kuno
kuno-framework
C#
Code
55
113
/* * Copyright (c) Kuno Contributors * * This file is subject to the terms and conditions defined in * the LICENSE file, which is part of this source code package. */ namespace Kuno.Akka.EndPoints { public class GetInventoryCommand { public GetInventoryCommand(string remotePath) { ...
19,569
https://github.com/Qiaozhi94/Python-Projects/blob/master/Python-Study/Study/Day1/guess for.py
Github Open Source
Open Source
MIT
null
Python-Projects
Qiaozhi94
Python
Code
32
110
age_of_george = 25 for i in range(3): guess_age = int(input("Guess Age:")) if guess_age == age_of_george: print("yes, you got it") break elif guess_age > age_of_george: print("think smaller!") else: print("think bigger!") else: print("You Lose!")
28,385
https://github.com/yasenm/Freeriders/blob/master/FreeRiders.Web/Areas/Administration/ViewModels/Album/AlbumDetailsModel.cs
Github Open Source
Open Source
MIT
2,016
Freeriders
yasenm
C#
Code
75
175
namespace FreeRiders.Web.Areas.Administration.ViewModels { using System; using System.Collections.Generic; using System.Linq.Expressions; using FreeRiders.Models; public class AlbumDetailsModel { public int ID { get; set; } public string Title { get; set; } public st...
8,479
https://github.com/eXpandFramework/eXpand/blob/master/Xpand/Xpand.ExpressApp.Modules/TreeListEditors.Win/Model/TreeListModelAdapterController.cs
Github Open Source
Open Source
LicenseRef-scancode-unknown, MS-PL, LicenseRef-scancode-unknown-license-reference
2,023
eXpand
eXpandFramework
C#
Code
171
552
//using System; //using System.Collections.Generic; //using System.Reflection; //using DevExpress.ExpressApp; //using DevExpress.ExpressApp.Model; //using DevExpress.ExpressApp.TreeListEditors.Win; //using DevExpress.ExpressApp.Win.Controls; //using DevExpress.Utils.Controls; //using DevExpress.XtraTreeList; //using D...
24,571
https://github.com/Zequez/ggfilter-client/blob/master/src/shared/style/common/breakpoints.sass
Github Open Source
Open Source
MIT
null
ggfilter-client
Zequez
Sass
Code
17
71
$breakpoint-phone: 320px $breakpoint-tablet: 768px $breakpoint-desktop: 1024px $breakpoint-big-desktop: 1600px $breakpoints: (phone: 320px, tablet: 768px, desktop: 1024px, big-desktop: 1600px)
8,643
https://github.com/asfaltboy/cibuildwheel/blob/master/bin/run_example_ci_configs.py
Github Open Source
Open Source
MIT, BSD-2-Clause
2,020
cibuildwheel
asfaltboy
Python
Code
294
1,744
#!/usr/bin/env python3 import os from pathlib import Path import shutil from subprocess import run import sys import textwrap import time import click from collections import namedtuple from urllib.parse import quote def shell(cmd, **kwargs): return run([cmd], shell=True, **kwargs) def git_repo_has_changes(): ...
49,286
https://github.com/kousen/Making-Java-Groovy/blob/master/ch05/weather_gmaven/build.gradle
Github Open Source
Open Source
MIT, Apache-2.0
2,023
Making-Java-Groovy
kousen
Gradle
Code
45
155
apply plugin: 'java' apply plugin: 'maven' group = 'mjg' version = '1.0-SNAPSHOT' description = """weather project""" sourceCompatibility = 1.5 targetCompatibility = 1.5 repositories { maven { url "http://repo.maven.apache.org/maven2" } } dependencies { compile group: 'org.codehaus.groovy', name...
3,370
https://github.com/nestaulrich/cms/blob/master/resources/views/post.blade.php
Github Open Source
Open Source
MIT
null
cms
nestaulrich
PHP
Code
29
144
@extends('layouts.app') @section('content') <h1>Post ID:{{$id}}, <br>name:{{$name}}, <br>login:{{$login}}</h1> <h2></h2> @endsection @section('footer') <script>document.body.style.backgroundColor = "honeydew" let x = document.getElementsByTagName('h2'); console.log(x) for (let i of x) { i.textContent = `Hell...
4,792
https://github.com/ceostevenjrogers/armory/blob/master/Shaders/std/conetrace.glsl
Github Open Source
Open Source
Zlib
2,018
armory
ceostevenjrogers
GLSL
Code
1,068
3,304
// References // https://github.com/Friduric/voxel-cone-tracing // https://github.com/Cigg/Voxel-Cone-Tracing // https://github.com/GreatBlambo/voxel_cone_tracing/ // http://simonstechblog.blogspot.com/2013/01/implementing-voxel-cone-tracing.html // http://leifnode.com/2015/05/voxel-cone-traced-global-illumination/ // ...
12,670
https://github.com/bianjieai/tibc-solidity/blob/master/contracts/light-clients/07-tendermint/Verifier.sol
Github Open Source
Open Source
Apache-2.0
2,022
tibc-solidity
bianjieai
Solidity
Code
613
1,812
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.6.8; pragma experimental ABIEncoderV2; import "../../libraries/23-commitment/Merkle.sol"; import "../../libraries/24-host/Host.sol"; import "../../proto/Tendermint.sol"; import "../../proto/Proofs.sol"; import "./Codec.sol"; library Verifier { /** * @...
7,743
https://github.com/T4MVC/R4MVC/blob/master/src/R4Mvc/ModelUnbinders/DefaultModelUnbinder.cs
Github Open Source
Open Source
Apache-2.0
2,021
R4MVC
T4MVC
C#
Code
26
92
using Microsoft.AspNetCore.Routing; namespace R4Mvc.ModelUnbinders { public class DefaultModelUnbinder : IModelUnbinder { public void UnbindModel(RouteValueDictionary routeValueDictionary, string routeName, object routeValue) { routeValueDictionary[routeName] = routeValue; ...
20,511
https://github.com/yongs2/golang-exercise/blob/master/10.go-redis/22.fsm/example_ryanfaerman.go
Github Open Source
Open Source
MIT
null
golang-exercise
yongs2
Go
Code
146
495
package main import ( "log" "time" "github.com/ryanfaerman/fsm" ) type Thing struct { State fsm.State machine *fsm.Machine } func (t *Thing) CurrentState() fsm.State { return t.State } func (t *Thing) SetState(s fsm.State) { t.State = s } func (t *Thing) Apply(r *fsm.Ruleset) *fsm.Machine { if t.machine =...
28,944
https://github.com/rbabari/blender/blob/master/source/blender/gpu/shaders/gpu_shader_3D_smooth_color_frag.glsl
Github Open Source
Open Source
Naumen, Condor-1.1, MS-PL
2,021
blender
rbabari
GLSL
Code
13
33
in vec4 finalColor; out vec4 fragColor; void main() { fragColor = finalColor; }
8,918
https://github.com/LoyolaChicagoCode/shapes-java-sbt/blob/master/src/main/java/shapes/ExtendedShapeVisitor.java
Github Open Source
Open Source
MIT
null
shapes-java-sbt
LoyolaChicagoCode
Java
Code
27
65
package shapes; /** An extended shape visitor that handles outline and polygon shapes. */ public interface ExtendedShapeVisitor<Result> extends ShapeVisitor<Result> { Result visitOutline(Outline o); Result visitPolygon(Polygon p); }
49,988
https://github.com/fordaj/Ender-3/blob/master/Upgrades/V-Slot Covers/143mm.gcode
Github Open Source
Open Source
MIT
2,021
Ender-3
fordaj
G-code
Code
20,000
76,982
; generated by PrusaSlicer 2.3.0-rc2+ on 2021-01-10 at 19:37:00 UTC ; ; external perimeters extrusion width = 0.45mm ; perimeters extrusion width = 0.45mm ; infill extrusion width = 0.45mm ; solid infill extrusion width = 0.45mm ; top infill extrusion width = 0.40mm ; support material extrusion width = 0.38mm ; first l...
38,405
https://github.com/oweson/flash-waimai/blob/master/flash-waimai-core/src/test/java/cn/enilu/flash/service/demo/MainTest.java
Github Open Source
Open Source
MIT
null
flash-waimai
oweson
Java
Code
47
188
package cn.enilu.flash.service.demo; import cn.enilu.flash.service.BaseApplicationStartTest; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.mongodb.core.MongoTemplate; /** * the class is create by @Author:oweson * * @Date:2020/2/11 12:08 */ pu...
43,072
https://github.com/GalaxyWebsite/Galaxy_webSite/blob/master/src/main/java/net/javaguides/galaxy/entities/Groups.java
Github Open Source
Open Source
MIT
null
Galaxy_webSite
GalaxyWebsite
Java
Code
117
372
package net.javaguides.galaxy.entities; import javax.persistence.*; import java.util.List; @Entity public class Groups { @Id @GeneratedValue(strategy =GenerationType.AUTO) private Integer id ; private String instructorName; @ManyToMany(mappedBy = "groups") private List < User > users; @O...
13,949
https://github.com/ssrg-vt/Luce-src/blob/master/safecomp2019_artifact/current_work/examples/hermitcore/syscall/sys_write_mem.thy
Github Open Source
Open Source
Apache-2.0
2,020
Luce-src
ssrg-vt
Isabelle
Code
4,035
17,388
(* Copyright 2018 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed und...
47,889
https://github.com/dxc-labs/dxc-soteria-dashboards/blob/master/packages/webroot/src/views/Checkpoints/Configuration/VisitorNotice/VisitorQR.js
Github Open Source
Open Source
Apache-2.0
null
dxc-soteria-dashboards
dxc-labs
JavaScript
Code
225
706
// To generate PDF content for Visitor Notice import { PDFDocument, StandardFonts, rgb } from 'pdf-lib' import QRCode from 'qrcode' import pdfBase from '../../../../assets/files/Checkpoints/TemplateVisitor.pdf' export default async function (data) { //var region = data["region"]; //var country = data["country"]; //v...
45,308
https://github.com/ChuaPingChan/MultiTasky/blob/master/docs/DeveloperGuide.adoc
Github Open Source
Open Source
MIT
2,019
MultiTasky
ChuaPingChan
AsciiDoc
Code
5,179
9,391
= Team 2 Main Project - Developer Guide :toc: :toc-title: :toc-placement: preamble :sectnums: :imagesDir: images ifdef::env-github[] :tip-caption: :bulb: :note-caption: :information_source: endif::[] ifdef::env-github,env-browser[:outfilesuffix: .adoc] :repoURL: https://github.com/CS2103JUN2017-T2/main/tree/master By:...
3,298
https://github.com/mateusz28011/photography-client/blob/master/src/components/pages/Vendor/Vendor.js
Github Open Source
Open Source
MIT
2,021
photography-client
mateusz28011
JavaScript
Code
779
2,776
import React, { useEffect, useState } from 'react'; import { useParams, useHistory } from 'react-router-dom'; import { connect } from 'react-redux'; import { getVendor, editVendor, editVendorClearError, } from '../../../actions/vendor'; import { createLoadingSelector, createErrorMessageSelector, } from '../.....
13,611
https://github.com/krknight/littlescar/blob/master/src/com/painless/pc/cfg/ConfigButtonHelper.java
Github Open Source
Open Source
MIT
2,021
littlescar
krknight
Java
Code
1,148
4,790
package com.painless.pc.cfg; import java.util.ArrayList; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.text.InputType; import android.view.Gravity; import android.view.KeyEvent; import android.view.LayoutIn...
37,364
https://github.com/SKCraft/Plume/blob/master/src/main/java/com/skcraft/plume/module/exporter/Exporter.java
Github Open Source
Open Source
BSD-3-Clause
2,021
Plume
SKCraft
Java
Code
221
954
package com.skcraft.plume.module.exporter; import au.com.bytecode.opencsv.CSVWriter; import com.google.common.base.Joiner; import com.google.common.collect.Maps; import com.google.common.io.CharSource; import com.google.common.util.concurrent.ListeningExecutorService; import com.google.common.util.concurrent.MoreExecu...
32,983
https://github.com/Adriusse/touist/blob/master/touist-translator/src/parser.mly
Github Open Source
Open Source
MIT
2,015
touist
Adriusse
OCaml
Code
887
1,981
%{ open Syntax %} %token <int> INT %token <float> FLOAT %token <bool> BOOL %token <string> VAR %token <string> TERM %token ADD SUB MUL DIV MOD SQRT TOINT TOFLOAT %token AND OR XOR IMPLIES EQUIV NOT %token EQUAL NOTEQUAL LE LT GE GT %token IN WHEN %token UNION INTER DIFF SUBSET RANGE %token EMPTY CARD %token LBRACK R...
22,235
https://github.com/Bhaskers-Blu-Org2/healthvault-java-sdk/blob/master/android-sdk-simplexml/src/main/java/com/microsoft/hsg/android/simplexml/things/types/base/GeneralMeasurement.java
Github Open Source
Open Source
MIT
2,019
healthvault-java-sdk
Bhaskers-Blu-Org2
Java
Code
322
1,003
package com.microsoft.hsg.android.simplexml.things.types.base; import java.util.ArrayList; import java.util.List; import org.simpleframework.xml.Element; import org.simpleframework.xml.ElementList; import org.simpleframework.xml.Order; /** * * <pre> * &lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;summary xmlns...
32,447
https://github.com/tusikalanse/acm-icpc/blob/master/2019/nowcoder/0801/data.cpp
Github Open Source
Open Source
MIT
2,021
acm-icpc
tusikalanse
C++
Code
83
169
#include <bits/stdc++.h> using namespace std; int main() { cout << 4 << endl; for(int i = 1; i <= 4; ++i) { cout << 1000000000000000000LL << endl; cout << 19260817 << " " << 3333 << " " << 342234 << " " << (int)(1e9 + 9) << endl; int Q = 1000; cout << Q << endl; for(int i = 1; i <= Q; ++i) cout << rand...
18,455
https://github.com/inspiraller/create-css-vars/blob/master/src/popCss/createSelectorsFromObjCss.ts
Github Open Source
Open Source
MIT
null
create-css-vars
inspiraller
TypeScript
Code
46
178
import { ObjCssAll, Selectors } from 'src/types'; import popAllVarCss from 'src/popCss/popAllSelectors'; type TcreateSelectorsFromObjCss = (objCssAll: ObjCssAll) => Selectors; const createSelectorsFromObjCss: TcreateSelectorsFromObjCss = objCssAll => Object.keys(objCssAll.single).reduce( (accum, cur) => ({ ...
20,350
https://github.com/10088/dbeaver/blob/master/plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/edit/PostgreJobScheduleManager.java
Github Open Source
Open Source
Apache-2.0
null
dbeaver
10088
Java
Code
522
2,030
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2021 DBeaver Corp and others * * 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/LICE...
1,065
https://github.com/WadeBarnes/Forester-Job-Placement/blob/master/fpo-web/src/app/general-data.service.ts
Github Open Source
Open Source
Apache-2.0
null
Forester-Job-Placement
WadeBarnes
TypeScript
Code
867
2,837
import { PlatformLocation } from '@angular/common'; import { Injectable } from '@angular/core'; import { Http, Headers } from '@angular/http'; import { Observable } from 'rxjs'; import { BehaviorSubject } from 'rxjs/BehaviorSubject'; import 'rxjs/add/operator/map'; import 'rxjs/add/operator/catch'; import 'rxjs/add/ope...
31,753
https://github.com/duonghuan2122000/shopping-shoe/blob/master/shopping-front-end/components/SlideShow.tsx
Github Open Source
Open Source
MIT
2,021
shopping-shoe
duonghuan2122000
TSX
Code
137
405
import React from 'react'; import styles from '../styles/SlideShow.module.css'; interface SlideShowProps { data: string[]; duration?: number; } const SlideShow: React.FC<SlideShowProps> = (props: SlideShowProps) => { const [currentIndex, setCurrentIndex] = React.useState(0); const showSlide = (i: num...
43,186
https://github.com/IanMeyers/amazon-redshift-udfs/blob/master/example/data_masking_example.sql
Github Open Source
Open Source
Apache-2.0
2,015
amazon-redshift-udfs
IanMeyers
SQL
Code
115
413
// please ensure that you have installed data masking with ../scalar-udfs/DataMasking/install_data_masking.sql create table test_substitution_masking ( id integer not null, value_to_mask varchar(25) not null ) diststyle even; insert into test_substitution_masking (id, value_to_mask) values (1, 'Value 1'); insert in...
49,174
https://github.com/tarnover/tencentcloud-cli/blob/master/tccli/services/clb/v20180317/help.py
Github Open Source
Open Source
Apache-2.0
null
tencentcloud-cli
tarnover
Python
Code
960
7,795
# -*- coding: utf-8 -*- DESC = "clb-2018-03-17" INFO = { "RegisterTargets": { "params": [ { "name": "LoadBalancerId", "desc": "负载均衡实例 ID" }, { "name": "ListenerId", "desc": "负载均衡监听器 ID" }, { "name": "Targets", "desc": "要注册的后端机器列表" ...
50,216
https://github.com/jdonosocoding/angular-wewb3/blob/master/src/ng-add/files/demos/components/notifier/notifier/notifier.component.ts
Github Open Source
Open Source
MIT
2,022
angular-wewb3
jdonosocoding
TypeScript
Code
111
427
import { AfterViewInit, Component, Inject, OnInit } from '@angular/core'; import { MAT_SNACK_BAR_DATA, MatSnackBarRef, } from '@angular/material/snack-bar'; const styles_snack = `.green-snackbar { background:rgb(150 241 184); color: white; } .green-snackbar button { background-color: rgb(65, 252, 134); co...
40,956
https://github.com/KDE/granatier/blob/master/src/characteritem.h
Github Open Source
Open Source
BSD-3-Clause
2,023
granatier
KDE
C++
Code
164
426
/* SPDX-FileCopyrightText: 2009 Mathias Kraus <k.hias@gmx.de> SPDX-FileCopyrightText: 2007-2008 Thomas Gallinari <tg8187@yahoo.fr> SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef CHARACTERITEM_H #define CHARACTERITEM_H #include "elementitem.h" class Character; class KGameRenderer; /** * @brief Th...
2,625
https://github.com/OpenEarthDemo/Genie/blob/master/genie-agent/src/main/java/com/netflix/genie/agent/execution/services/impl/NaiveFetchingCacheService.java
Github Open Source
Open Source
Apache-2.0
null
Genie
OpenEarthDemo
Java
Code
520
1,373
/* * * Copyright 2018 Netflix, 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 ap...
41,030
https://github.com/HelpingHandzDS/amexio.github.io/blob/master/src/styles/def/component/datapoint-visual.scss
Github Open Source
Open Source
Apache-2.0
2,021
amexio.github.io
HelpingHandzDS
SCSS
Code
26
141
.datapoints{ .datapoints-north{ color: $datapointColor; } .datapoint-south{ background-color: $datapointsBGColorS; color: $datapointsColorS; } .datapoint-west{ padding: 5px; } .datapoint-east{ padding: 5px; } } .datapoint{ background: $datapointBGColor; color: $datap...
9,834
https://github.com/gobars/httplog/blob/master/src/main/java/com/github/gobars/httplog/Const.java
Github Open Source
Open Source
MIT
2,022
httplog
gobars
Java
Code
27
104
package com.github.gobars.httplog; public interface Const { String REQ = "HTTPLOG_REQ"; String RSP = "HTTPLOG_RSP"; String PROCESSOR = "HTTPLOG_PROCESSOR"; String INTERCEPTOR = "HTTPLOG_INTERCEPTOR"; String CUSTOM = "HTTPLOG_CUSTOM"; }
19,060
https://github.com/miaokii/MiaoKiit/blob/master/MiaoKiit_p/MiaoKitExample/MiaoKitExample/ViewController.swift
Github Open Source
Open Source
MIT
null
MiaoKiit
miaokii
Swift
Code
28
89
// // ViewController.swift // MiaoKitExample // // Created by miaokii on 2021/5/19. // import UIKit import MiaoKiit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() } }
49,711
https://github.com/RapidsAtHKUST/SimRank/blob/master/python_experiments/run_vldbj_experiments/run_local_push_dynamic_update.py
Github Open Source
Open Source
MIT
2,021
SimRank
RapidsAtHKUST
Python
Code
158
690
import datetime from exec_utilities import time_out_util from exec_utilities.exec_utils import * def run_exp(): our_exec_path = '/homes/ywangby/workspace/yche/git-repos/SimRank/APS/build' data_set_lst = [ # 'ca-GrQc', 'ca-HepTh', 'p2p-Gnutella06', 'wiki-Vote', # 'email-Enron', 'email-EuAll',...
25,684
https://github.com/yrlu/Teaism/blob/master/datasets/cifar10/convert_lst.py
Github Open Source
Open Source
MIT
2,019
Teaism
yrlu
Python
Code
39
116
import numpy as np import scipy.misc as scimi with open('test.txt') as f: lines = f.readlines() with open('test.txt', 'w') as f: for line in lines: filename = line.split()[0][:-4] print filename f.write('datasets/cifar10/bmp_imgs/' + filename + '.bmp ' + line.split()[1] + '\n')
25,015
https://github.com/pyfsi/Kratos/blob/master/applications/FluidDynamicsApplication/python_scripts/trilinos_navier_stokes_solver_fractionalstep.py
Github Open Source
Open Source
BSD-3-Clause
2,019
Kratos
pyfsi
Python
Code
449
2,551
from __future__ import absolute_import, division # makes KratosMultiphysics backward compatible with python 2.6 and 2.7 # Importing the Kratos Library import KratosMultiphysics import KratosMultiphysics.mpi as KratosMPI # MPI-python interface # Import applications import KratosMultiphysics.T...
10,748
https://github.com/brown-ccv/paraview-scalable/blob/master/VTK/ThirdParty/vtkm/vtk-m/vtkm/cont/ArrayHandle.cxx
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause
2,021
paraview-scalable
brown-ccv
C++
Code
174
616
//============================================================================ // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
50,962
https://github.com/LiberatorUSA/GUCEF/blob/master/dependencies/tolua/Makefile
Github Open Source
Open Source
Apache-2.0
2,023
GUCEF
LiberatorUSA
Makefile
Code
39
97
# makefile for tolua hierarchy tolua: cd src/lib; make all cd src/bin; make all tests: cd src/tests; make all all clean klean: cd src/lib; make $@ cd src/bin; make $@ cd src/tests; make $@ debug: cd src/bin; make debug
14,444
https://github.com/OSUrobotics/rob599/blob/master/rob599_basic/src/paramaters.py
Github Open Source
Open Source
BSD-3-Clause
2,021
rob599
OSUrobotics
Python
Code
98
262
#!/usr/bin/env python3 # Example of the use of ROS parameters. # # parameters.py # # Bill Smart # # This shows how to get and set parameters in ROS. import rospy import sys if __name__ == '__main__': # Initialize the node rospy.init_node('parameters', argv=sys.argv) # Set a parameter in a relative namespace r...
40,754
https://github.com/tjhancocks/vboot/blob/master/stage2/bios/vesa.s
Github Open Source
Open Source
MIT
2,020
vboot
tjhancocks
GAS
Code
1,252
3,406
; Copyright (c) 2019 Tom Hancocks ; ; Permission is hereby granted, free of charge, to any person obtaining a copy ; of this software and associated documentation files (the "Software"), to deal ; in the Software without restriction, including without limitation the rights ; to use, copy, modify, merge, publish, distr...
40,128
https://github.com/ssseasonnn/PermissionX/blob/master/permissionx/src/main/java/zlc/season/permissionx/Util.kt
Github Open Source
Open Source
Apache-2.0
2,021
PermissionX
ssseasonnn
Kotlin
Code
151
575
package zlc.season.permissionx import android.content.pm.ActivityInfo import android.content.res.Configuration import androidx.core.content.PermissionChecker.PERMISSION_GRANTED import androidx.core.content.PermissionChecker.checkSelfPermission import androidx.fragment.app.FragmentActivity import kotlinx.coroutines.flo...
27,728
https://github.com/victorhgoli/hifood-api/blob/master/src/main/java/com/hifood/domain/service/VendaReportService.java
Github Open Source
Open Source
MIT
null
hifood-api
victorhgoli
Java
Code
14
66
package com.hifood.domain.service; import com.hifood.domain.filter.VendaDiariaFilter; public interface VendaReportService { byte[] emitirVendasDiarias(VendaDiariaFilter filtro, String userOffset); }
35,823
https://github.com/penteleq/redux-form-document/blob/master/src/js/components/FormDocument.js
Github Open Source
Open Source
MIT
2,016
redux-form-document
penteleq
JavaScript
Code
122
330
import React, { Component, PropTypes } from 'react'; import { applyMiddleware, combineReducers, createStore, compose, bindActionCreators } from 'redux'; import { Provider, connect } from 'react-redux'; import thunk from 'redux-thunk'; export default function document(state = {}, action) { switch(action.type) ...
18,262
https://github.com/takjn/LiMoRo/blob/master/src/gr_common/arduino/cores/HardwareSerial.h
Github Open Source
Open Source
MIT
null
LiMoRo
takjn
C
Code
733
2,033
/* HardwareSerial.h - Hardware serial library for Wiring Copyright (c) 2006 Nicholas Zambetti. All right reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2...
51,049
https://github.com/zseti/raptorjs/blob/master/lib/raptor/widgets/Widget.js
Github Open Source
Open Source
Apache-2.0
2,014
raptorjs
zseti
JavaScript
Code
1,321
3,156
/* * Copyright 2011 eBay Software Foundation * * 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 o...
24,776
https://github.com/gitee2008/jbpm/blob/master/src/main/java/com/glaf/matrix/adjust/bean/TreeComponentAdjustBean.java
Github Open Source
Open Source
Apache-2.0
null
jbpm
gitee2008
Java
Code
1,233
5,112
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
28,091
https://github.com/cihuang123/Next-simulation/blob/master/models/cad/src/env/atmosphere_nasa2002.cpp
Github Open Source
Open Source
BSD-3-Clause
null
Next-simulation
cihuang123
C++
Code
1,065
2,981
#include "env/atmosphere_nasa2002.hh" #include <cassert> #include <cstdio> #include <cstring> #include <cmath> cad::Atmosphere_nasa2002::Atmosphere_nasa2002() { snprintf(name, sizeof(name), "Atmosphere US 1976, NASA Marshell"); altitude = 0; assert(update_values() != 1); vwind = 0; dwind = 0; } ...
9,759
https://github.com/Tau-Coin/dhtTAU/blob/master/taucoin-android/src/main/java/io/taucoin/torrent/publishing/ui/customviews/MyMarkerView.java
Github Open Source
Open Source
MIT
2,021
dhtTAU
Tau-Coin
Java
Code
168
707
package io.taucoin.torrent.publishing.ui.customviews; import android.annotation.SuppressLint; import android.content.Context; import android.widget.TextView; import com.github.mikephil.charting.components.MarkerView; import com.github.mikephil.charting.data.CandleEntry; import com.github.mikephil.charting.data.Entry;...
17,628
https://github.com/codewithkyle/brixi-ui/blob/master/src/framework/components/steps/steps.ts
Github Open Source
Open Source
MIT
2,020
brixi-ui
codewithkyle
TypeScript
Code
395
1,349
import { html, render } from "lit-html"; import SuperComponent from "@codewithkyle/supercomponent"; import env from "~brixi/controllers/env"; import { noop, parseDataset } from "~brixi/utils/general"; import { calcPercent } from "~brixi/utils/numpy"; export interface Step { label: string; description?: string;...
48,171
https://github.com/tdicks/LogicMonitor.Api/blob/master/LogicMonitor.Api.Test/Settings/SingleSignOnTests.cs
Github Open Source
Open Source
MIT
null
LogicMonitor.Api
tdicks
C#
Code
42
172
using LogicMonitor.Api.Settings; using Xunit; using Xunit.Abstractions; namespace LogicMonitor.Api.Test.Settings { public class SingleSignOnTests : TestWithOutput { public SingleSignOnTests(ITestOutputHelper iTestOutputHelper) : base(iTestOutputHelper) { } [Fact] public async void GetSingleSignOnData() ...
6,563
https://github.com/BlazesRus/PoESkillTree_BlazesRus.Engine/blob/master/PoESkillTree.Engine.GameModel/DefinitionsBase.cs
Github Open Source
Open Source
MIT
2,021
PoESkillTree_BlazesRus.Engine
BlazesRus
C#
Code
56
201
using System; using System.Collections.Generic; using System.Linq; namespace PoESkillTree.Engine.GameModel { public abstract class DefinitionsBase<TId, TDefinition> where TDefinition : IDefinition<TId> { private readonly Lazy<IReadOnlyDictionary<TId, TDefinition>> _definitionDict; pro...
23,094
https://github.com/wizzardo/bt/blob/master/bt-tests/src/main/java/bt/it/fixture/TestExecutorServiceProvider.java
Github Open Source
Open Source
Apache-2.0
2,021
bt
wizzardo
Java
Code
150
343
/* * Copyright (c) 2016—2017 Andrei Tomashpolskiy and individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
20,304
https://github.com/ideatosrl/react-redux-onsen-stub/blob/master/src/sagas/index.js
Github Open Source
Open Source
MIT
2,017
react-redux-onsen-stub
ideatosrl
JavaScript
Code
42
127
import { call, put, takeLatest } from 'redux-saga/effects'; import exers from '../model/exers'; import * as actions from '../actions/index'; function * fetchExers(action) { const exersList = yield call(exers.list); yield put(actions.requestExersSuccess(exersList)); } export default function * () { yield [ t...
28,315
https://github.com/KrisToe4/thinkful/blob/master/Web-Dev-001v1/Unit 2/Lesson 6-1/ObjectCreator.js
Github Open Source
Open Source
MIT
null
thinkful
KrisToe4
JavaScript
Code
196
496
function createMyObject() { const newObject = { foo: 'bar', answerToUniverse: 42 }; newObject['olly olly'] = "oxen free"; newObject.sayHello = function() { return "hello"; }; return newObject; } /* From here down, you are not expected to understand.... for now :) ...
47,168
https://github.com/uk-gov-mirror/ONSdigital.babbage/blob/master/src/main/java/com/github/onsdigital/babbage/util/json/InvalidJsonException.java
Github Open Source
Open Source
MIT
null
ONSdigital.babbage
uk-gov-mirror
Java
Code
57
175
package com.github.onsdigital.babbage.util.json; /** * Created by bren on 14/08/15. */ public class InvalidJsonException extends RuntimeException { public InvalidJsonException() { } public InvalidJsonException(String message) { super(message); } public InvalidJsonException(String mess...
40,483
https://github.com/slu12/sh/blob/master/ShenHai/src/viewDevelop/system/system-video/index.vue
Github Open Source
Open Source
MIT
2,021
sh
slu12
Vue
Code
525
2,462
<style lang="less"> @import '../../../styles/common.less'; </style> <!--查询统计--> <template> <div class="box_col"> <div class="box_row rowBetween colItemCenter boxMar_B"> <pager-tit></pager-tit> <div class="box_row rowRight"> <div class="body-r-1 inputSty"> <!--<Input v-model="param...
38,721
https://github.com/1690296356/jdk/blob/master/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Entity.java
Github Open Source
Open Source
Apache-2.0
null
jdk
1690296356
Java
Code
509
1,020
/* * Copyright (c) 2019, 2021, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
39,892
https://github.com/ZacharyChang/lintcode/blob/master/problem/372.Delete Node in a Linked List/Solution.java
Github Open Source
Open Source
MIT
null
lintcode
ZacharyChang
Java
Code
33
76
public class Solution { /* * @param node: the node in the list should be deletedt * @return: nothing */ public void deleteNode(ListNode node) { node.val = node.next.val; node.next = node.next.next; } }
43,854
https://github.com/nickbedner/cstorage/blob/master/include/cstorage/priorityqueue.h
Github Open Source
Open Source
MIT
2,020
cstorage
nickbedner
C
Code
277
1,021
#pragma once #ifndef PRIORITY_QUEUE_H #define PRIORITY_QUEUE_H #include <stdlib.h> #include <string.h> struct PriorityQueueNode { void* data; size_t priority; struct PriorityQueueNode* next; }; struct PriorityQueue { size_t size; struct PriorityQueueNode* head; struct PriorityQueueNode* tail; }; static ...
7,773
https://github.com/DrTr/Supportilla/blob/master/app/models/supportilla/staff.rb
Github Open Source
Open Source
MIT
2,013
Supportilla
DrTr
Ruby
Code
49
134
module Supportilla class Staff < ActiveRecord::Base attr_accessible :admin, :password, :password_confirmation, :username validates :username, presence: true, uniqueness: true, length: { maximum: 15 } validates :password, presence: true validates :password_confirmation, presence: true validat...
23,832
https://github.com/philip-sultanescu/ng-aquila/blob/master/projects/ng-aquila/src/button/button-base.ts
Github Open Source
Open Source
MIT
null
ng-aquila
philip-sultanescu
TypeScript
Code
425
1,231
import { FocusMonitor } from '@angular/cdk/a11y'; import { ElementRef, ChangeDetectorRef, HostBinding, Directive, OnDestroy } from '@angular/core'; import { NxTriggerButton } from '@aposin/ng-aquila/overlay'; /** Type of a button. */ export type NxButtonType = 'primary' | 'secondary' | 'tertiary' | 'cta' | 'emphasis';...
23,732
https://github.com/poemp/droolsjbpm-build-bootstrap/blob/master/script/release/update-versions-build-chain.sh
Github Open Source
Open Source
LGPL-2.0-or-later, GPL-1.0-or-later, LicenseRef-scancode-proprietary-license, Apache-2.0, AGPL-3.0-or-later, MIT
2,023
droolsjbpm-build-bootstrap
poemp
Shell
Code
308
1,065
#!/bin/bash set -e newVersion=$1 repository=$(basename -s .git $(git config --get remote.origin.url)) mvnVersionsSet() { mvn -B -N -e versions:set -Dfull -DnewVersion="$newVersion" -DallowSnapshots=true -DgenerateBackupPoms=false } mvnVersionsUpdateParent() { mvn -B -N -e versions:update-parent -Dfull -Dpar...
7,552
https://github.com/aceslick911/xstate/blob/master/packages/xstate-react/test/useSelector.test.tsx
Github Open Source
Open Source
MIT
2,021
xstate
aceslick911
TypeScript
Code
1,080
3,154
import * as React from 'react'; import { assign, createMachine, spawn } from 'xstate'; import { toActorRef } from 'xstate/lib/Actor'; import { render, cleanup, fireEvent } from '@testing-library/react'; import { useInterpret, useMachine, useSelector } from '../src'; afterEach(cleanup); describe('useSelector', () => {...
24,702
https://github.com/lxlyh/iTalker/blob/master/App/ITalker/factory/src/main/java/com/example/ggxiaozhi/factory/data/BaseDbRepository.java
Github Open Source
Open Source
Apache-2.0
2,018
iTalker
lxlyh
Java
Code
388
1,629
package com.example.ggxiaozhi.factory.data; import android.support.annotation.NonNull; import com.example.ggxiaozhi.factory.data.helper.DbHelper; import com.example.ggxiaozhi.factory.model.db.base.BaseDbModel; import com.example.ggxiaozhi.utils.CollectionUtil; import com.raizlabs.android.dbflow.structure.database.tra...
24,657
https://github.com/Esri/WAB-Image-Services-Widgets/blob/master/theme/FoldableWrapperTheme/widgets/HeaderController/setting/nls/it/strings.js
Github Open Source
Open Source
Apache-2.0
2,022
WAB-Image-Services-Widgets
Esri
JavaScript
Code
30
82
define( ({ group: "Nome", openAll: "Apri tutto nel pannello", dropDown: "Mostra nel menu a discesa", noGroup: "Nessun gruppo di widget impostato.", groupSetLabel: "Imposta proprietà per gruppi di widget" }) );
42,826
https://github.com/objectionary/eo/blob/master/eo-maven-plugin/src/test/java/org/eolang/maven/name/OnUnversionedTest.java
Github Open Source
Open Source
MIT
2,023
eo
objectionary
Java
Code
265
530
/* * The MIT License (MIT) * * Copyright (c) 2016-2023 Objectionary.com * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
6,511
https://github.com/motion-canvas/motion-canvas/blob/master/packages/docs/src/components/Api/Type/LiteralType.tsx
Github Open Source
Open Source
MIT
2,023
motion-canvas
motion-canvas
TSX
Code
78
244
import React, {useMemo} from 'react'; import type {JSONOutput} from 'typedoc'; import Token from '@site/src/components/Api/Code/Token'; export default function LiteralType({type}: {type: JSONOutput.LiteralType}) { const [value, token] = useMemo(() => { if (type.value === null) { return ['null', 'keyword']...
11,160
https://github.com/osedok/geopackage-core-java/blob/master/src/main/java/mil/nga/geopackage/extension/nga/index/FeatureTableCoreIndex.java
Github Open Source
Open Source
MIT, LicenseRef-scancode-free-unknown, LicenseRef-scancode-public-domain
2,021
geopackage-core-java
osedok
Java
Code
3,011
8,477
package mil.nga.geopackage.extension.nga.index; import java.io.IOException; import java.sql.SQLException; import java.util.Date; import java.util.logging.Level; import java.util.logging.Logger; import com.j256.ormlite.dao.CloseableIterator; import com.j256.ormlite.dao.GenericRawResults; import com.j256.ormlite.field....
12,617
https://github.com/ericgio/react-bootstrap-typeahead/blob/master/example/src/sections/BehaviorsSection.tsx
Github Open Source
Open Source
MIT
2,023
react-bootstrap-typeahead
ericgio
TSX
Code
348
1,003
/* eslint-disable import/no-unresolved */ import React from 'react'; import BasicBehaviorsExample from '../examples/BasicBehaviorsExample'; import FormExample from '../examples/FormExample'; import InputSizeExample from '../examples/InputSizeExample'; import MenuAlignExample from '../examples/MenuAlignExample'; impor...
1,475
https://github.com/brimoo/OOP/blob/master/Lab08/sortingCircles.cpp
Github Open Source
Open Source
BSD-2-Clause
null
OOP
brimoo
C++
Code
32
143
#include <iostream> #include "Data.h" #include "Circle.h" int main(int argc, const char * argv[]) { Data myData; myData.add(new Circle()); myData.add(new Circle(3)); myData.add(new Circle(2)); myData.add(new Circle(4)); myData.add(new Circle(1)); myData.print(); myData.s...
20,699