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/lexey111/lx-starter/blob/master/src/app/pages/examples-related/custom/custom.less
Github Open Source
Open Source
MIT
2,021
lx-starter
lexey111
Less
Code
443
1,871
.custom-menu-dropdown { padding: 0 16px; .custom-menu-dropdown-list { width: 200px !important; background-color: var(--app-menu-current-background) !important; font-size: var(--app-menu-small-font-size); * > { color: var(--app-menu-color) !important; } p > { font-size: var(--app-menu-small-font-s...
38,067
https://github.com/TGuoW/awesome-lab/blob/master/src/renderer/mainBrowserWindow/router/index.ts
Github Open Source
Open Source
Apache-2.0
null
awesome-lab
TGuoW
TypeScript
Code
83
301
import Vue from 'vue' import Router from 'vue-router' import editor from '../components/editor.vue' import toDoList from '../components/toDoList/index.vue' import ts2048 from '../components/2048/index.vue' // import BrowserMainView from '../components/LandingPage.vue'; Vue.use(Router) export default new Router({ ro...
48,182
https://github.com/MartinHartmannJensen/TwitchNotifier/blob/master/HelixObjects.cs
Github Open Source
Open Source
MIT
null
TwitchNotifier
MartinHartmannJensen
C#
Code
359
885
using System; using System.Collections.Generic; using Newtonsoft.Json; using System.Linq; using System.Text; namespace ArethruNotifier.Helix { public class Token { [JsonProperty("access_token")] public string Access_Token { get; set; } } public class Users { public bool IsOk { get...
38,020
https://github.com/shihaipeng03/Walldraw/blob/master/NC/帽子120x90.nc
Github Open Source
Open Source
MIT
2,022
Walldraw
shihaipeng03
null
Spoken
5,312
74,044
G0Z20.3200 G0X-41.0700Y-22.9347Z5 G1 z0 G1X-41.0701Y-22.9349 G1X-41.0705Y-22.9353 G1X-41.0712Y-22.9359 G1X-41.0721Y-22.9368 G1X-41.0734Y-22.9380 G1X-41.0748Y-22.9394 G1X-41.0766Y-22.9411 G1X-41.0786Y-22.9430 G1X-41.0809Y-22.9452 G1X-41.0834Y-22.9477 G1X-41.0862Y-22.9504 G1X-41.0893Y-22.9533 G1X-41.0926Y-22.9565 G1X-41...
994
https://github.com/kai2k9/eraft-rs/blob/master/src/raft.rs
Github Open Source
Open Source
Apache-2.0
2,020
eraft-rs
kai2k9
Rust
Code
8,614
23,623
// Copyright 2015 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
16,649
https://github.com/wd1/React_Graphql/blob/master/src/data/queries/me.js
Github Open Source
Open Source
MIT
2,017
React_Graphql
wd1
JavaScript
Code
116
241
/** -*- mode: react; -*- * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import { GraphQLInt as IntType, } f...
14,293
https://github.com/kehindealade/radiant-minds-schools/blob/master/database/seeders/ADTypeSeeder.php
Github Open Source
Open Source
MIT
2,021
radiant-minds-schools
kehindealade
PHP
Code
32
114
<?php namespace Database\Seeders; use App\Models\ADType; use Database\Factories\ADTypeFactory; use Illuminate\Database\Seeder; class ADTypeSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { ADType::factory()->times(count(ADTypeFac...
45,100
https://github.com/digitaldiy/client-mpt-version-5/blob/master/src/components/customWidget/CustomWidgetControl.js
Github Open Source
Open Source
MIT
null
client-mpt-version-5
digitaldiy
JavaScript
Code
119
383
import { SketchPicker } from "react-color" import { h, createClass } from "React" const DEFAULT_FORMAT = "hex" const DEFAULT_COLOR = "#ffffff" export default createClass({ handleChangeComplete(color) { const format = this.props.field.get("format") || DEFAULT_FORMAT const alpha = !this.props.field.get("alpha"...
35,949
https://github.com/lepy/conx/blob/master/conx/datasets/_cifar100.py
Github Open Source
Open Source
MIT
2,018
conx
lepy
Python
Code
49
176
import numpy as np from keras.utils import to_categorical def cifar100(dataset): from keras.datasets import cifar100 (x_train, y_train), (x_test, y_test) = cifar100.load_data() inputs = np.concatenate((x_train, x_test)) labels = np.concatenate((y_train, y_test)) targets = to_categorical(labels, 100...
8,604
https://github.com/deardenchris/psycloned_nemo_CDe/blob/master/lbcnfd.f90
Github Open Source
Open Source
BSD-3-Clause
null
psycloned_nemo_CDe
deardenchris
null
Spoken
6,352
16,671
MODULE lbcnfd USE dom_oce USE in_out_manager IMPLICIT NONE PRIVATE INTERFACE lbc_nfd MODULE PROCEDURE lbc_nfd_2d, lbc_nfd_3d, lbc_nfd_4d MODULE PROCEDURE lbc_nfd_2d_ptr, lbc_nfd_3d_ptr, lbc_nfd_4d_ptr MODULE PROCEDURE lbc_nfd_2d_ext END INTERFACE INTERFACE lbc_nfd_nogather MODULE PROCEDURE...
6,254
https://github.com/deton/bjd5/blob/master/BJD/log/TmpLogger.cs
Github Open Source
Open Source
Apache-2.0
2,018
bjd5
deton
C#
Code
120
360
using System; using System.Collections.Generic; using Bjd.sock; namespace Bjd.log{ public class TmpLogger : Logger{ private readonly List<LogTemporary> _ar = new List<LogTemporary>(); public new void Set(LogKind logKind, SockObj sockObj, int messageNo, String detailInfomation){ _ar.A...
23,546
https://github.com/sabithuraira/tekone/blob/master/views/nilaimuatkaltim/_form.php
Github Open Source
Open Source
BSD-3-Clause
null
tekone
sabithuraira
PHP
Code
125
580
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\Nilaimuatkaltim */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="nilaimuatkaltim-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'bontang')->textInput() ?> <?=...
35,558
https://github.com/muh10afif/pariwisata/blob/master/application/modules/Master/models/M_dtw.php
Github Open Source
Open Source
MIT
null
pariwisata
muh10afif
PHP
Code
501
2,696
<?php if (! defined('BASEPATH')) { exit('No direct script access allowed'); } class M_dtw extends CI_Model { public function get_dtw($kota) { $this->db->select('id_dtw,nama_kota,nama_dtw,alamat,lat,long,email,no_hp,status'); $this->db->from('dtw'); $this->db->join('kota', 'kota.id_...
53,843
https://github.com/ebruchez/saxon.scala.js/blob/master/xpath/src/org/orbeon/darius/xpath/functions/Sum.scala
Github Open Source
Open Source
Apache-2.0
2,020
saxon.scala.js
ebruchez
Scala
Code
471
1,275
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. // If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. // This Source Code Form is “Incompatible With Secondary Licenses”, as defined by the Mozilla Public License, v. 2.0. pac...
28,074
https://github.com/asaharan/react-native-navigation-bug-report/blob/master/playground/src/components/example/SessionList.js
Github Open Source
Open Source
MIT
null
react-native-navigation-bug-report
asaharan
JavaScript
Code
289
881
import React, { useCallback, useEffect, useState } from "react"; import { ScrollView, StyleSheet, Text, TouchableOpacity, View } from "react-native"; import ListItem from "./ListItem"; const Button = TouchableOpacity; const Spinner = Text; const Dimensions = { unit: 8 }; const Colors = { primary: "#4300...
18,431
https://github.com/kii-dev-jenkins/KiiiOSSampleApps/blob/master/KiiBoard/KiiSDK.framework/Versions/A/Headers/KiiRequest.h
Github Open Source
Open Source
Apache-2.0
2,012
KiiiOSSampleApps
kii-dev-jenkins
Objective-C
Code
145
494
// // KiiRequest.h // KiiSDK-Private // // Created by Chris Beauchamp on 12/21/11. // Copyright (c) 2011 Chris Beauchamp. All rights reserved. // #import <Foundation/Foundation.h> @class KiiCoreObject, KiiCallback, KiiFile, KiiError; typedef enum { GET, PUT, POST, FORMPOST, DELETE } HttpMethods; @interface KiiR...
24,427
https://github.com/CSID-DGU/2020-1-OSSP2-SEOULLO-3/blob/master/Seoullo/app/src/main/java/com/seoullo/seoullotour/Recommend/RecommendSecondFragment.java
Github Open Source
Open Source
Apache-2.0
2,021
2020-1-OSSP2-SEOULLO-3
CSID-DGU
Java
Code
385
1,629
package com.seoullo.seoullotour.Recommend; import android.content.Context; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.text.Html; import android.text.method.Scrolling...
45,111
https://github.com/janmalec/openmc/blob/master/include/openmc/bremsstrahlung.h
Github Open Source
Open Source
MIT
2,019
openmc
janmalec
C
Code
106
350
#ifndef OPENMC_BREMSSTRAHLUNG_H #define OPENMC_BREMSSTRAHLUNG_H #include "openmc/particle.h" #include "xtensor/xtensor.hpp" namespace openmc { //============================================================================== // Bremsstrahlung classes //================================================================...
27,117
https://github.com/stephenmurya/SIWES-Management-System-/blob/master/staff/supervisor_profile.php
Github Open Source
Open Source
MIT
null
SIWES-Management-System-
stephenmurya
PHP
Code
624
2,729
<?php include("../connect.php"); session_start(); if(!isset($_SESSION['sms_super_id'])){ header("location:index.php"); } $mum=mysqli_query($con,"select * from supervisor where id='".$_SESSION['sms_super_id']."'"); $me=mysqli_fetch_assoc($mum); $mus=mysqli_query($con,"select * from admin order by id limit 1"); $adm=m...
29,912
https://github.com/luanruisong/sak/blob/master/mathx/mathx_test.go
Github Open Source
Open Source
Apache-2.0
2,021
sak
luanruisong
Go
Code
49
197
package mathx import "testing" func TestSum(t *testing.T) { t.Log(Sum(1, 2, 3, 4.4, 5.5, 6.6)) } func TestMax(t *testing.T) { t.Log(Max(1, 2, 3, 4.4, 5.5, 6.6)) t.Log(Max(-1, -2, -3, -4.4, -5.5, -6.6)) } func TestMin(t *testing.T) { t.Log(Min(1, 2, 3, 4.4, 5.5, 6.6)) t.Log(Min(-1, -2, -3, -4.4, -5.5, -6.6)) }...
11,517
https://github.com/Darklight-03/boss-rush-game/blob/master/unity-project/Assets/Scripts/DaoGuangAnimation.cs
Github Open Source
Open Source
MIT
2,018
boss-rush-game
Darklight-03
C#
Code
147
515
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DaoGuangAnimation : MonoBehaviour { private LineRenderer renderer; public Material rendererMaterial; private List<Vector3> pointLists; private bool isDrawing = false; public Transform wepon; public boo...
30,439
https://github.com/annefou/IoT_introduction/blob/master/code/blink_LED.ino
Github Open Source
Open Source
CC-BY-4.0
2,021
IoT_introduction
annefou
null
Spoken
94
173
// LED_PIN is connect to GPIO5 (D1) int LED_PIN = 5; // the setup function runs once when you press reset or power the board void setup() { // initialize digital pin LED_PIN as an output. Do not use LED_BUILTIN variable! pinMode(LED_PIN, OUTPUT); } // the loop function runs over and over again forever void loop(...
44,760
https://github.com/quasarframework/quasar/blob/master/app-webpack/lib/cache/module.hasTypescript.js
Github Open Source
Open Source
MIT
2,023
quasar
quasarframework
JavaScript
Code
21
75
const { existsSync } = require('node:fs') module.exports.createInstance = function createInstance ({ appPaths }) { return ( appPaths.quasarConfigFilename.endsWith('.ts') && existsSync(appPaths.resolve.app('tsconfig.json')) ) }
44,099
https://github.com/pentaho/pentaho-kettle/blob/master/core/src/main/java/org/pentaho/di/core/metrics/MetricsUtil.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,023
pentaho-kettle
pentaho
Java
Code
777
2,031
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
17,884
https://github.com/ivan-abc/mongoose/blob/master/api/model/src/main/java/com/emc/mongoose/api/model/item/CsvFileItemOutput.java
Github Open Source
Open Source
MIT
null
mongoose
ivan-abc
Java
Code
111
424
package com.emc.mongoose.api.model.item; import com.github.akurilov.commons.io.file.FileOutput; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.StandardOpenOption; /** Created by kurila on 30.06.15. */ public class CsvFileItemOutput<I extends Item> extends Cs...
44,889
https://github.com/chromium/chromium/blob/master/content/browser/sms/sms_queue.cc
Github Open Source
Open Source
BSD-3-Clause
2,023
chromium
chromium
C++
Code
310
809
// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/sms/sms_queue.h" #include "base/functional/callback.h" #include "base/metrics/histogram_macros.h" #include "base/observer_list.h" #include "third_par...
16,368
https://github.com/YujiEda/cke/blob/master/op/clusterdns/create_configmap.go
Github Open Source
Open Source
MIT
2,019
cke
YujiEda
Go
Code
304
1,088
package clusterdns import ( "context" "github.com/cybozu-go/cke" "github.com/cybozu-go/cke/op" "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) type createConfigMapOp struct { apiserver *cke.Node domain string dnsServers []string finished bool...
2,171
https://github.com/hasclass/core-lib/blob/master/spec/lib/corelib/array/map_spec.coffee
Github Open Source
Open Source
MIT
2,021
core-lib
hasclass
CoffeeScript
Code
727
1,819
describe "Array#map", -> it "checks array hasn't changed", -> x = R([1, 2, 3]) a = x.map((item) -> x.clear(); item ) expect( a.to_native() ).toEqual([1]) it "checks array hasn't changed from outside", -> b = [1, 2, 3] x = R(b) a = x.map((item) -> b.length = 0; item) expect( a.to_native...
17,846
https://github.com/eloquia/dalechang-me/blob/master/src/components/landing/work/stack/stack-group.component.tsx
Github Open Source
Open Source
MIT
null
dalechang-me
eloquia
TypeScript
Code
60
195
import React from 'react'; // eslint-disable-next-line no-unused-vars import { StackGroupData } from '../../../../models/stack.models'; import StackItem from './stack-item.component'; import { H2 } from '../../../styles'; const StackGroup = (props: StackGroupData) => { const { name, children } = props; return ( ...
44,267
https://github.com/limscoder/predator/blob/master/metrics/lstm/io.js
Github Open Source
Open Source
MIT
2,020
predator
limscoder
JavaScript
Code
314
904
// UGH... adapted from: https://github.com/tensorflow/tfjs-node/blob/master/src/io/file_system.ts const fs = require("fs"); const { dirname, join, resolve } = require("path"); const util = require("util"); const stat = util.promisify(fs.stat); const writeFile = util.promisify(fs.writeFile); const readFile = util.prom...
46,061
https://github.com/blambeau/veritas/blob/master/lib/veritas/function/numeric/multiplication.rb
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,011
veritas
blambeau
Ruby
Code
141
346
# encoding: utf-8 module Veritas class Function class Numeric # A class representing a multiplication function class Multiplication < Numeric include Binary, Comparable # Return the Multiplication operation # # @example # Multiplication.operation # => :* ...
48,478
https://github.com/thomasxnguy/slpbot/blob/master/src/commands/index.ts
Github Open Source
Open Source
MIT
null
slpbot
thomasxnguy
TypeScript
Code
170
529
import {Telegraf} from 'telegraf'; import { BotContext, CommandHandler } from '../types'; import tipCommandHandler from './tip'; import tipReplyCommandHandler from './tipReply'; import balanceCommandHandler from './balance'; import startCommandHandler from './start'; import withdrawCommandHandler from './withdraw'; imp...
32,180
https://github.com/laki3824/node-slack-sdk/blob/master/packages/web-api/src/response/AdminAuthPolicyGetEntitiesResponse.ts
Github Open Source
Open Source
MIT
2,021
node-slack-sdk
laki3824
TypeScript
Code
40
122
/* tslint:disable */ import { WebAPICallResult } from '../WebClient'; export type AdminAuthPolicyGetEntitiesResponse = WebAPICallResult & { ok?: boolean; error?: string; entities?: Entity[]; entity_total_count?: number; needed?: string; provided?: ...
15,467
https://github.com/mmccarty/legion/blob/master/tools/legion_prof_rs/src/main.rs
Github Open Source
Open Source
Apache-2.0
2,022
legion
mmccarty
Rust
Code
205
932
use std::io; use rayon::prelude::*; use legion_prof::analyze::print_statistics; use legion_prof::serialize::deserialize; use legion_prof::state::{State, Timestamp}; use legion_prof::trace_viewer::emit_trace; use legion_prof::visualize::emit_interactive_visualization; fn main() -> io::Result<()> { let matches = c...
16,436
https://github.com/shohi/ruttle/blob/master/src/lib.rs
Github Open Source
Open Source
MIT
null
ruttle
shohi
Rust
Code
29
78
extern crate toml; #[macro_use] extern crate try_opt; #[macro_use] extern crate serde_derive; extern crate serde_json; extern crate rusoto_ec2; extern crate rusoto_core; extern crate regex; pub mod shuttle; pub mod aws;
51,062
https://github.com/kriegfrj/ical4j/blob/master/src/main/java/net/fortuna/ical4j/validate/component/VAlarmITIPValidator.java
Github Open Source
Open Source
2,018
ical4j
kriegfrj
Java
Code
144
494
package net.fortuna.ical4j.validate.component; import net.fortuna.ical4j.model.Property; import net.fortuna.ical4j.model.component.VAlarm; import net.fortuna.ical4j.validate.PropertyValidator; import net.fortuna.ical4j.validate.ValidationException; import net.fortuna.ical4j.validate.Validator; import org.apache.common...
35,606
https://github.com/alb-i986/BootstraPHPed/blob/master/public/security.php
Github Open Source
Open Source
MIT
2,013
BootstraPHPed
alb-i986
PHP
Code
256
594
<?php /** * * @author Alberto 'alb-i986' Scotto */ /* Questo script raccoglie le chiamate ai comportamenti inibitori comuni. Facendo la require (non require_once!) di questo script, si "ereditano" gratis tali comportamenti. N.B: require instead of require_once since we want to execute the security functions i...
37,807
https://github.com/bradzacher/eslint-config-brad/blob/master/src/types/import/extensions.ts
Github Open Source
Open Source
MIT
2,022
eslint-config-brad
bradzacher
TypeScript
Code
242
609
// this file is auto-generated. Run `make regenerate-types` to regenerate it. type Extensions0 = | ['off' | 'error' | 'warn'] | ['off' | 'error' | 'warn', 'always' | 'ignorePackages' | 'never'] | ['off' | 'error' | 'warn'] | ['off' | 'error' | 'warn', 'always' | 'ignorePackages' | 'never'] | [ 'off' | ...
5,311
https://github.com/jariche1/ReaLocate/blob/master/ReaLocate.Source/Web/ReaLocate.Web/ViewModels/Invoice/AgencyInvoiceViewModel.cs
Github Open Source
Open Source
MIT
2,021
ReaLocate
jariche1
C#
Code
24
96
namespace ReaLocate.Web.ViewModels { using ReaLocate.Data.Models; using ReaLocate.Web.Infrastructure.Mapping; using ReaLocate.Web.ViewModels; public class AgencyInvoiceViewModel : UserInvoiceViewModel { public AgencyAsInvoiceRecepientViewModel AgencyRecepient { get; set; } } }
32,017
https://github.com/2BAB/ScratchPaper/blob/master/scratchpaper/src/main/kotlin/me/xx2bab/scratchpaper/ScratchPaperPlugin.kt
Github Open Source
Open Source
Apache-2.0
2,022
ScratchPaper
2BAB
Kotlin
Code
186
731
package me.xx2bab.scratchpaper import com.android.build.api.variant.ApplicationAndroidComponentsExtension import com.android.build.api.variant.VariantOutput import me.xx2bab.polyfill.* import me.xx2bab.scratchpaper.icon.AddIconOverlayTaskAction import me.xx2bab.scratchpaper.utils.CacheLocation import me.xx2bab.scratch...
43,580
https://github.com/Amatsagu/discordeno/blob/master/src/handlers/misc/TYPING_START.ts
Github Open Source
Open Source
Apache-2.0
2,020
discordeno
Amatsagu
TypeScript
Code
72
271
import { Bot } from "../../bot.ts"; import type { DiscordGatewayPayload } from "../../types/gateway/gatewayPayload.ts"; import type { TypingStart } from "../../types/misc/typingStart.ts"; import { SnakeCasedPropertiesDeep } from "../../types/util.ts"; export function handleTypingStart(bot: Bot, data: DiscordGatewayPay...
50,112
https://github.com/ideaplexus/server/blob/master/test/commons/TestHelper.java
Github Open Source
Open Source
MIT
2,016
server
ideaplexus
Java
Code
645
2,762
package service; import ch.helin.messages.dto.state.DroneState; import ch.helin.messages.dto.way.Position; import com.google.inject.Inject; import service.gis.GisHelper; import dao.*; import models.*; import org.geolatte.geom.Polygon; import play.db.jpa.JPAApi; import java.util.Date; import java.util.HashSet; import ...
23,119
https://github.com/zettadb/zettalib/blob/master/src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/writeengine/bulk/we_colextinf.h
Github Open Source
Open Source
Apache-2.0
null
zettalib
zettadb
C
Code
1,140
2,755
/* Copyright (C) 2014 InfiniDB, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but W...
18,083
https://github.com/bhishp/bhishp-cv/blob/master/src/components/CVArticle/HeadingIcon/HeadingIcon.tsx
Github Open Source
Open Source
MIT
null
bhishp-cv
bhishp
TypeScript
Code
92
381
import React from 'react'; import './HeadingIcon.css'; import { HeadingIcon as HeadingIconType } from '../../../types/data'; import atosIcon from './img/atos.jpeg'; import shellIcon from './img/shell.png'; import sailmetrixIcon from './img/sailmetrix.svg'; import yldIcon from './img/yld.jpg'; import trainlineIcon fro...
16,641
https://github.com/MikuSugar/LeetCode/blob/master/JavaCode/random_records/N601_700/N609_find_duplicate_file_in_system.java
Github Open Source
Open Source
Apache-2.0
2,020
LeetCode
MikuSugar
Java
Code
182
1,383
package JavaCode.random_records.N601_700; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class N609_find_duplicate_file_in_system { public List<List<String>> findDuplicate(String[] paths) { Map<String,List<String>> map=new HashMap<>(); fo...
36,919
https://github.com/vtslab/sensafety-midterm/blob/master/CEPengine/ilpstandalone.sh
Github Open Source
Open Source
Apache-2.0
2,014
sensafety-midterm
vtslab
Shell
Code
15
116
#!/bin/sh CLASSPATH=../lib/*:$CLASSPATH CLASSPATH="../../Noldus-NCF-0.10/NCF/0.10/Java/Lib/Noldus Communication Framework.jar":$CLASSPATH export CLASSPATH java -Dpython.cachedir.skip=false -Dpython.cachedir=/tmp \ org.python.util.jython ilpstandalone.py exit 0
27,621
https://github.com/ehuss/sublime-rust/blob/master/tests/error-tests/tests/macro-expansion.rs
Github Open Source
Open Source
MIT
2,021
sublime-rust
ehuss
Rust
Code
56
189
#[macro_use] extern crate dcrate; fn main() { // This ensures that the expansion of nested macros works correctly. example!(inner!(b" ")); // ^^^^^^^^^^^^^^^^^^^^^^^ERR(<1.44.0-beta) no method named `missing` // ^^^^^^^^^^^^^^^^^^^^^^^ERR(<1.44.0-beta) this error originates in a macro outside of the current...
37,287
https://github.com/adved85/nco-fjan-crm/blob/master/resources/views/components/forms/checkbox-radio.blade.php
Github Open Source
Open Source
MIT
null
nco-fjan-crm
adved85
PHP
Code
49
186
{{-- incommings: $isInline = true|false, $id(for), $type="radio(default)"|"checkbox", $name, $value, $label, $oldDefault (comes from db) --}} {{-- @dump($check) --}} <div class="form-check {{$variant}} mr-1"> <input class="form-check-input" id="{{$id}}" {{$form ? "form=$form" : ''}} type="{{$type}}"...
36,997
https://github.com/kzu/cloudy/blob/master/Core/ICustomAttributeProviderExtensions.cs
Github Open Source
Open Source
MIT
2,021
cloudy
kzu
C#
Code
38
128
using System.Linq; namespace System.Reflection { public static class ICustomAttributeProviderExtensions { public static T? GetCustomAttribute<T>(this ICustomAttributeProvider element, bool inherit) where T : Attribute => element.GetCustomAttributes(inherit).OfType<T>().FirstOrDefault(); ...
33,083
https://github.com/altseed/OpenSoundMixer/blob/master/scripts/GenerateProjectsWithSanitize.sh
Github Open Source
Open Source
BSD-3-Clause, MIT
2,021
OpenSoundMixer
altseed
Shell
Code
13
43
cd `dirname $0` mkdir ../build cd ../build cmake -D BUILD_TEST=ON -D SANITIZE_ENABLED=ON ..
35,457
https://github.com/HanyangLiu/partial-encoder-decoder/blob/master/image/mnist_pbigan.py
Github Open Source
Open Source
MIT
2,020
partial-encoder-decoder
HanyangLiu
Python
Code
1,016
3,873
from collections import defaultdict import torch import torch.nn as nn from torch.autograd import grad import torch.nn.functional as F import torch.optim as optim from torch.utils.data import DataLoader import sys import logging from pathlib import Path from datetime import datetime import pprint import argparse from m...
18,618
https://github.com/HidalgoRides/intersect-web/blob/master/src/Controllers/StatusController.php
Github Open Source
Open Source
MIT
null
intersect-web
HidalgoRides
PHP
Code
31
104
<?php namespace Intersect\Controllers; use Intersect\Utils\ComposerUtils; use Intersect\Http\Response\JsonResponse; class StatusController extends AbstractController { public function version() { return new JsonResponse(ComposerUtils::getVersions()); } public function healthCheck() { ...
50,156
https://github.com/WeilerWebServices/Time-To-Learn/blob/master/Trivia/Simple-Quiz-Maker/simple-quiz-maker-v0-60.py
Github Open Source
Open Source
LicenseRef-scancode-other-permissive
2,021
Time-To-Learn
WeilerWebServices
Python
Code
1,454
6,075
"""Simple Quiz Maker V.060 By Steve Shambles July 2020. stevepython.wordpress.com Module Dependencies: -------------------- pip3 install opencv-python ttips.py in current dir. File dependencies: ------------------ quiz-runner-v0-60.exe quiz-help.txt help.txt Must be found in same d...
8,949
https://github.com/micmelesse/pytorch/blob/master/torch/csrc/jit/codegen/cuda/python_frontend/fusion_definition.h
Github Open Source
Open Source
BSD-3-Clause, BSD-2-Clause, LicenseRef-scancode-generic-cla, BSL-1.0, Apache-2.0
2,022
pytorch
micmelesse
C++
Code
614
1,393
#pragma once #include <torch/csrc/jit/codegen/cuda/ir_all_nodes.h> #include <torch/csrc/jit/codegen/cuda/kernel_cache.h> #include <torch/csrc/jit/codegen/cuda/python_frontend/fusion_owner.h> //! nvFuser Fusion IR Types using NvfDataType = torch::jit::fuser::cuda::DataType; using NvfFusion = torch::jit::fuser::cuda::Fu...
35,797
https://github.com/freemo/AetherMUD-coffee/blob/master/src/main/java/com/syncleus/aethermud/game/Abilities/Thief/Thief_DeepCut.java
Github Open Source
Open Source
Apache-2.0
2,017
AetherMUD-coffee
freemo
Java
Code
920
3,037
/** * Copyright 2017 Syncleus, Inc. * with portions copyright 2004-2017 Bo Zimmerman * * 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...
18,926
https://github.com/yinchinan010/code-generator-winform/blob/master/XSLTTemplate/All/Output/BLL/Topmenu.cs
Github Open Source
Open Source
MIT
2,019
code-generator-winform
yinchinan010
C#
Code
160
479
using System.Collections.Generic; using Johnny.CMS.OM; using Johnny.CMS.DAL; namespace Johnny.EEE.BLL.Admin { /// <summary> /// A business component to manage Topmenu /// </summary> public class Topmenu { // Get an instance of the Topmenu DAL // Making this static will cache the DAL instance after the in...
19,025
https://github.com/khoakomlem/gunsurvival-dedicated-server/blob/master/main/public/js/helpers/QuadTree.js
Github Open Source
Open Source
MIT
null
gunsurvival-dedicated-server
khoakomlem
JavaScript
Code
1,075
3,117
export class Point { constructor(t, e, i) { (this.x = t), (this.y = e), (this.userData = i); } } export class Rectangle { constructor(t, e, i, s) { (this.x = t), (this.y = e), (this.w = i), (this.h = s); } get left() { return this.x - this.w / 2; } get right() { return this.x + this.w / 2; } get top()...
41,320
https://github.com/Aosmolovsky/interop-test-platform/blob/master/src/app/Http/Controllers/MessageLogController.php
Github Open Source
Open Source
MIT
2,021
interop-test-platform
Aosmolovsky
PHP
Code
125
509
<?php declare(strict_types=1); namespace App\Http\Controllers; use App\Http\Resources\SessionResource; use App\Http\Resources\MessageLogResource; use App\Http\Resources\UseCaseResource; use App\Models\Session; use App\Models\MessageLog; use App\Models\UseCase; use Illuminate\Auth\Access\AuthorizationException; use In...
33,565
https://github.com/Narmada96/project2/blob/master/resources/views/admin/allocation/create.blade.php
Github Open Source
Open Source
MIT
null
project2
Narmada96
PHP
Code
338
1,706
@extends('layouts.admin') @section('content') <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1 class="m-0 text-dark">Edit Employee Details</h1> </div><!-- /.col --> <div class="col-sm-6"> <o...
19,921
https://github.com/aardee/apigateway-nest/blob/master/src/app.service.ts
Github Open Source
Open Source
MIT
null
apigateway-nest
aardee
TypeScript
Code
58
162
import { map } from 'rxjs/operators' import { Injectable, Inject, HttpService, Dependencies, Logger } from '@nestjs/common' import * as httpProxy from 'express-http-proxy' const logger = new Logger() const userServiceProxy = httpProxy('http://localhost:3001') @Injectable() @Dependencies(HttpService) export class AppS...
18,052
https://github.com/smoia/EuskalIBUR_atlases/blob/master/masked_atlas/rand-112p-14s-2r_vx.1D
Github Open Source
Open Source
Apache-2.0
2,020
EuskalIBUR_atlases
smoia
null
Spoken
227
531
6500 101562.500000 4394 68656.250000 3759 58734.375000 4212 65812.500000 3796 59312.500000 1579 24671.875000 305 4765.625000 5520 86250.000000 1351 21109.375000 1157 18078.125000 6100 95312.500000 1588 24812.500000 1415 22109.375000 749 11703.125000 404 6312.500000 1480 23125.000000 missing label: 17 in...
23,811
https://github.com/Will-Copeland/portfolio/blob/master/src/components/Work.js
Github Open Source
Open Source
MIT
null
portfolio
Will-Copeland
JavaScript
Code
163
492
import React, { PureComponent } from 'react'; import { withStyles, GridList } from '@material-ui/core'; import { StaticQuery, graphql } from 'gatsby'; import { Trail } from 'react-spring'; import WorkItem from './WorkItem'; const styles = ({ breakpoints }) => ({ root: { display: 'flex', flexWrap: 'wrap', ...
51,028
https://github.com/schatterjee4/springy-boxy/blob/master/src/main/java/hm/binkley/boxfuse/HelloWorldConfiguration.java
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain-disclaimer, Unlicense
2,015
springy-boxy
schatterjee4
Java
Code
36
136
package hm.binkley.boxfuse; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * @author <a href="mailto:binkley@alumni.rice.edu">B. K. Oxley (binkley)</a> * @todo Do something useful */ @SpringBootApplication public class HelloWorldConfigura...
33,371
https://github.com/JaySmyth/JaySmyth/blob/master/app/Jobs/UploadFedExCommercialInvoice.php
Github Open Source
Open Source
MIT
null
JaySmyth
JaySmyth
PHP
Code
299
1,139
<?php namespace App\Jobs; use App\CarrierAPI\Fedex\FedexAPI; use App\CarrierAPI\Pdf; use App\Models\EtdLog; use App\Models\Shipment; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Queue\SerializesModels; use League\Flysystem\Filesystem...
36,745
https://github.com/willgos/kraken/blob/master/kraken/lib/src/module/performance_timing.dart
Github Open Source
Open Source
Apache-2.0
2,021
kraken
willgos
Dart
Code
451
1,860
import 'dart:collection'; import 'dart:ffi'; import 'dart:typed_data'; import 'package:ffi/ffi.dart'; import 'package:kraken/bridge.dart'; final String PERF_CONTROLLER_INIT_START = 'controller_init_start'; final String PERF_CONTROLLER_INIT_END = 'controller_init_end'; final String PERF_CONTROLLER_PROPERTY_INIT = 'cont...
10,026
https://github.com/SuRisheng/SuperCoolWeather/blob/master/app/src/main/java/com/srs/supercoolweather/util/Httputil.java
Github Open Source
Open Source
Apache-2.0
2,017
SuperCoolWeather
SuRisheng
Java
Code
59
226
package com.srs.supercoolweather.util; import okhttp3.OkHttpClient; import okhttp3.Request; /* * @项目名: SuperCoolWeather * @包名: com.srs.supercoolweather.util * @文件名: Httputil * @创建者: srs0116 * @创建时间: 2017/6/2 14:29 * @描述: 网络请求工具 */ public class Httputil { private static final String TAG =...
15,639
https://github.com/AlanHowlett/jupyter-dash/blob/master/extensions/jupyterlab/lib/index.d.ts
Github Open Source
Open Source
MIT
2,022
jupyter-dash
AlanHowlett
TypeScript
Code
24
72
import { JupyterFrontEndPlugin } from '@jupyterlab/application'; import '../style/index.css'; /** * Initialization data for the jupyterlab-dash extension. */ declare const extension: JupyterFrontEndPlugin<void>; export default extension;
9,094
https://github.com/ElenaOroSil/avaluos/blob/master/src/app/theme/style/_widgets.scss
Github Open Source
Open Source
MIT
null
avaluos
ElenaOroSil
SCSS
Code
6
31
@import 'widgets/badge'; @import 'widgets/clearfix'; @import 'widgets/scrollbar';
41,844
https://github.com/ccce/nixpkgs/blob/master/pkgs/all-pkgs/c/colm/default.nix
Github Open Source
Open Source
MIT
2,022
nixpkgs
ccce
null
Spoken
185
737
{ stdenv , fetchurl , lib , channel }: let inherit (lib) optionals optionalString; channels = { "0.12" = { version = "0.12.0"; multihash = "QmW3NUbTM5Ymzyw74hBDr2NmJdbPtyb7xh5eHBBvJkcQCK"; sha256 = "7b545d74bd139f5c622975d243c575310af1e4985059a1427b6fdbb1fb8d6e4d"; }; "0.13"...
49,111
https://github.com/mewbak/rpg/blob/master/color_test.go
Github Open Source
Open Source
MIT
2,021
rpg
mewbak
Go
Code
35
177
package rpg import ( "log" "testing" "github.com/faiface/pixel" "golang.org/x/image/colornames" ) func init() { log.SetFlags(0) } func TestAlpha(t *testing.T) { color := pixel.ToRGBA(colornames.Red) log.Println(color) color = color.Mul(pixel.Alpha(0.2)) log.Println(color) color = color.Scaled((0.2)) log.P...
42,891
https://github.com/locaweb/leela/blob/master/src/libs/poly1305aes/src/poly1305aes/poly1305aes-20050218/aes_athlon.s
Github Open Source
Open Source
Apache-2.0
2,016
leela
locaweb
Unix Assembly
Code
20,000
38,472
# aes_athlon.s version 20050218 # D. J. Bernstein # Public domain. ## input line 1: temporary mem32 r4 ## input line 2: temporary mem32 r5 ## input line 3: temporary mem32 r6 ## input line 4: temporary mem32 r7 ## input line 5: temporary mem32 r8 ## input line 6: temporary mem32 r9 ## input line 7: temporary mem32 r10 ...
18,276
https://github.com/szgabsz91/oauth2-authorization-proxy-client/blob/master/packages/angularjs/google/src/index.scss
Github Open Source
Open Source
MIT
2,019
oauth2-authorization-proxy-client
szgabsz91
SCSS
Code
5
27
.oauth2-authorization-proxy-google-logo { max-height: 50px; }
31,165
https://github.com/dmcong/sen-os/blob/master/src/helpers/pdb.js
Github Open Source
Open Source
MIT
null
sen-os
dmcong
JavaScript
Code
261
704
import localForage from 'localforage'; import IPFS from 'ipfs-core'; import util from 'helpers/util'; /** * Persistent Database */ class PDB { constructor(walletAddress) { this.dbName = walletAddress; } _IPFS = async () => { if (!window.senos?.ipfs) window.senos.ipfs = await IPFS.create(); retur...
25,861
https://github.com/dotMortis/beat-saver-client/blob/master/app/models/helpers/mapHelpers.ts
Github Open Source
Open Source
MIT
2,022
beat-saver-client
dotMortis
TypeScript
Code
128
428
import { createHash } from 'crypto'; import { readFileSync } from 'fs'; import { join } from 'path'; import { LocalMapInfo } from '../../../src/models/maps/localMapInfo.model'; import { TRawMapInfo } from '../../../src/models/maps/rawMapInfo.model'; export default class MapHelpers { public static getLocalMapInfo( ...
41,822
https://github.com/CameraBroke/JRGSS/blob/master/libmspack-0.4alpha/doc/search/all_67.js
Github Open Source
Open Source
MIT, LGPL-2.1-only, LGPL-2.0-or-later
2,021
JRGSS
CameraBroke
JavaScript
Code
5
63
var searchData= [ ['generate',['generate',['../structmschm__compressor.html#a1d2f3746c1573c1bc174bf6caca77312',1,'mschm_compressor']]] ];
45,204
https://github.com/csf-dev/rxjs-observable-collections/blob/master/karma.conf.js
Github Open Source
Open Source
MIT
2,019
rxjs-observable-collections
csf-dev
JavaScript
Code
116
403
module.exports = function(config) { const testFilePattern = ['src/**/*.spec.js']; const extraFiles = ['node_modules/@babel/polyfill/dist/polyfill.js']; config.set({ basePath: '', frameworks: ['jasmine'], files: (getTestFiles)(testFilePattern, extraFiles), preprocessors: testFilePattern.reduce(red...
46,113
https://github.com/JulesMarcil/Twinkler1.2/blob/master/src/Tk/UserBundle/Resources/views/frame.html.twig
Github Open Source
Open Source
MIT
2,013
Twinkler1.2
JulesMarcil
Twig
Code
198
798
{% extends '::base.html.twig' %} {% block head %} {% block title %} <title>Twinkler - Manage social events</title> {% endblock %} {% block stylesheets %} <link href="{{ asset('css/frame.css') }}" rel="stylesheet" type="text/css"> <link href="{{ asset('css/navbar.css') }}" rel="stylesheet" t...
34,737
https://github.com/astridndamayanti/kp/blob/master/resources/views/siswa/includes/_navbar.blade.php
Github Open Source
Open Source
MIT
null
kp
astridndamayanti
PHP
Code
262
1,193
<!-- navbar --> <nav class="navbar navbar-expand-sm navbar-dark bg-primary shadow p-3 mb-5 fixed-top"> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo03" aria-controls="navbarTogglerDemo03" aria-expanded="false" aria-label="Toggle navigation"> ...
50,192
https://github.com/SENERGY-Platform/client-connector-lib/blob/master/cc_lib/client/_auth/openid.py
Github Open Source
Open Source
Apache-2.0
2,022
client-connector-lib
SENERGY-Platform
Python
Code
352
1,135
""" Copyright 2019 InfAI (CC SES) 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...
21,065
https://github.com/liangyue87/yzsfwxt1/blob/master/yzsfwxt_ui/src/components/yswt/yszlDownload.vue
Github Open Source
Open Source
MIT
2,019
yzsfwxt1
liangyue87
Vue
Code
29
172
<template> <el-row> <el-col :span="24"> <el-card class="box-card"> <div slot="header" class="clearfix"><span>预算资料下载</span></div> <div class="text item"></div> <div class="text item" id="yszy"></div> </el-card> </el-col> <el-col :span="24" style="text-align: center;margin-top: 35px;"></el-col> ...
38,322
https://github.com/jeyavelnkl/jel_apps/blob/master/Sample_apps/sample_ruby_prg.rb
Github Open Source
Open Source
MIT
2,017
jel_apps
jeyavelnkl
Ruby
Code
11
36
code = '' 3.times do code << (10..99).to_a.sample.to_s end puts code.inspect
4,144
https://github.com/colinrtwhite/compose-samples/blob/master/Jetchat/app/src/main/java/com/example/compose/jetchat/data/FakeData.kt
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference, OFL-1.1
2,022
compose-samples
colinrtwhite
Kotlin
Code
363
864
/* * Copyright 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
31,992
https://github.com/morrow/css-reference/blob/master/assets/app.coffee
Github Open Source
Open Source
MIT
2,020
css-reference
morrow
CoffeeScript
Code
840
2,171
class App constructor:(element)-> # load htmlify object @htmlify = new Htmlify() # set base directory @dir = "/css-reference" # query history @history = [] # initialize current position in query history @history_pos = -1 # paths object @paths = window.paths # write to ro...
46,161
https://github.com/mfkiwl/autobern/blob/master/pybern/pybern/products/formats/igs_log_file.py
Github Open Source
Open Source
MIT
null
autobern
mfkiwl
Python
Code
1,493
4,452
#! /usr/bin/python3 #-*- coding: utf-8 -*- from __future__ import print_function import datetime import os import re import sys bernp_dir = (os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) + '/bernparsers/') sys.path.append(bernp_dir) #from bernsta_station import StationRecord from bernsta_...
12,944
https://github.com/mmadhuhasa/llaravel_eeflight/blob/master/vendor/bugsnag/bugsnag/src/HttpClient.php
Github Open Source
Open Source
MIT
null
llaravel_eeflight
mmadhuhasa
PHP
Code
533
1,404
<?php namespace Bugsnag; use Exception; use GuzzleHttp\ClientInterface; use RuntimeException; class HttpClient { /** * The config instance. * * @var \Bugsnag\Configuration */ protected $config; /** * The guzzle client instance. * * @var \GuzzleHttp\ClientInterface ...
30,786
https://github.com/overline-mining/gool/blob/master/src/protos/db.pb.go
Github Open Source
Open Source
BSD-3-Clause
null
gool
overline-mining
Go
Code
595
2,236
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 // protoc v3.6.1 // source: db.proto package protos import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) cons...
29,115
https://github.com/soda-framework/cms/blob/master/resources/lang/zh_CN/terminology.php
Github Open Source
Open Source
MIT
2,018
cms
soda-framework
PHP
Code
31
135
<?php return [ 'home' => '主页', 'dashboard' => '仪表板', 'settings' => '设置', 'user' => '用户', 'user_plural' => '用户', 'role' => '角色', 'role_plural' => '角色', 'quicklink' => '快速链接', 'quicklink_plural' => '快速链接', ];...
12,352
https://github.com/isotrope/wcmtl2015/blob/master/js/jquery.iso.js
Github Open Source
Open Source
MIT
null
wcmtl2015
isotrope
JavaScript
Code
703
1,879
ISO = {}; ISO.startReveal = function () { var currLocation = window.location, rootUrl = currLocation.host, backgroundUrl = rootUrl == 'localhost' ? 'http://localhost/wcmtl2015/img/crumpled_white_paper_texture_by_melemel2.jpg' : 'http://isotrope.net/talks/wcmtl2015/img/crumpled_white_paper_texture_by_melemel2.jpg...
21,780
https://github.com/jcordes73/weaviate/blob/master/usecases/network/p2p/schema/download_changed.go
Github Open Source
Open Source
BSD-3-Clause
null
weaviate
jcordes73
Go
Code
235
611
// _ _ // __ _____ __ ___ ___ __ _| |_ ___ // \ \ /\ / / _ \/ _` \ \ / / |/ _` | __/ _ \ // \ V V / __/ (_| |\ V /| | (_| | || __/ // \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___| // // Copyright © 2016 - 2019 SeMI Holding B.V. (registered @ Dutch Chamber of Commerce no 752216...
23,556
https://github.com/tanishq1g/cp_codes/blob/master/old_codes/sum_of_ 2_ele_is_const_binarysearch.cpp
Github Open Source
Open Source
MIT
null
cp_codes
tanishq1g
C++
Code
213
966
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <cstring> #include <algorithm> #include <ctime> #include <cstdlib> using namespace std; int binarysearch(int * a,int first,int last,int key){ int mid; while(first<=last){ mid=(first+last)/2; if (a[mid]==key) return mid; else i...
18,877
https://github.com/aaronleopold/stump/blob/master/frontend/src/components/Card.tsx
Github Open Source
Open Source
MIT
2,022
stump
aaronleopold
TypeScript
Code
108
431
import { Box, Text } from '@chakra-ui/react'; import React from 'react'; import { Link } from 'react-router-dom'; export interface CardProps { to: string; imageAlt: string; imageSrc: string; title: string; subtitle?: string; onMouseEnter?: () => void; } export default function Card({ to, imageAlt, imageSrc, tit...
49,177
https://github.com/vbogatyrov/tdi-studio-se/blob/master/main/plugins/org.talend.designer.runtime.visualization/src/org/talend/designer/runtime/visualization/internal/ui/properties/thread/ThreadContentProvider.java
Github Open Source
Open Source
Apache-2.0
2,022
tdi-studio-se
vbogatyrov
Java
Code
189
578
/******************************************************************************* * Copyright (c) 2010 JVM Monitor project. All rights reserved. * * This code is distributed under the terms of the Eclipse Public License v1.0 * which is available at http://www.eclipse.org/legal/epl-v10.html ***********************...
5,539
https://github.com/mattlandrews/modbusTCPjs/blob/master/main.js
Github Open Source
Open Source
MIT
2,018
modbusTCPjs
mattlandrews
JavaScript
Code
125
471
'use strict'; const mbtcp = require("./src/modbusTCP"); let mbClient = new mbtcp.Client(); (async () => { mbClient.host = "192.168.1.190"; try { while (true) { let d = await mbClient.deviceIdentification(1,1,5); console.log(d); await (() => { return new Promise...
41,843
https://github.com/swlynch99/gcp-bigquery-client/blob/master/src/model/job_list_jobs.rs
Github Open Source
Open Source
Apache-2.0, MIT
2,022
gcp-bigquery-client
swlynch99
Rust
Code
125
464
use crate::model::error_proto::ErrorProto; use crate::model::job_configuration::JobConfiguration; use crate::model::job_reference::JobReference; use crate::model::job_statistics::JobStatistics; use crate::model::job_status::JobStatus; use serde::{Deserialize, Serialize}; #[derive(Debug, Default, Clone, Serialize, Dese...
45,388
https://github.com/geekevent/tools/blob/master/src/Controller/QrCodeController.php
Github Open Source
Open Source
MIT
null
tools
geekevent
PHP
Code
75
437
<?php namespace App\Controller; use Endroid\QrCode\Builder\BuilderInterface; use Endroid\QrCode\Color\Color; use Endroid\QrCode\ErrorCorrectionLevel\ErrorCorrectionLevelHigh; use Endroid\QrCode\RoundBlockSizeMode\RoundBlockSizeModeEnlarge; use Endroid\QrCode\RoundBlockSizeMode\RoundBlockSizeModeMargin; use Endroid\Q...
4,817
https://github.com/strigazi/athena/blob/master/Reconstruction/tauRecTools/tauRecTools/HelperFunctions.h
Github Open Source
Open Source
Apache-2.0
2,020
athena
strigazi
C++
Code
207
840
#/* Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration */ #ifndef TAURECTOOLS_HELPERFUNCTIONS_H #define TAURECTOOLS_HELPERFUNCTIONS_H #include "MVAUtils/BDT.h" #include "AsgMessaging/MessageCheck.h" #include <vector> #include <map> // ROOT include(s) #include "TLorentzVector.h" #include "TStr...
33,450
https://github.com/quintel/etsource/blob/master/gqueries/general/converter_groups/time_resolved_system_perspective_hydrogen_demand_flexible_converters.gql
Github Open Source
Open Source
MIT
2,023
etsource
quintel
null
Spoken
67
195
# Nodes that constitute flexible hydrogen demand. Includes nodes which participate as time-resolved dispatchable consumption and storage. - query = V( INTERSECTION( FILTER( ALL(), "hydrogen && (hydrogen.type == :consumer)" ), FILTER( ALL(), "mer...
44,787
https://github.com/anteczko/pssp/blob/master/app/Views/Forms/AddPageView.php
Github Open Source
Open Source
MIT
null
pssp
anteczko
PHP
Code
87
466
<?php echo view('BootstrapView'); ?> <div class="container-fluid"> <form method="post" enctype="multipart/form-data" action="/pages/addAction"> <div class="form-group"> <label class="form-label" for="name">name</label> <input class="form-control" type="text" name="name"> </di...
13,281
https://github.com/gimelbrantlab/QCumber/blob/master/R/MixBetaBinomialFit.R
Github Open Source
Open Source
GPL-3.0-only
2,020
QCumber
gimelbrantlab
R
Code
171
475
#' MixBetaBinomialFit #' #' Fitting beta-binomial mixture distribution of AI in particular bin. #' #' @param initials Initials for EM algm: initials = c(w1, alpha1, alpha2), weight of first component and alphas for both beta-binomial distributions in a mixture #' @param coverage A number, that represents the coverage b...
5,567
https://github.com/carolina-silvag/ripley/blob/master/app/home/conexion_firebase.js
Github Open Source
Open Source
MIT
null
ripley
carolina-silvag
JavaScript
Code
82
442
// Initialize Firebase var config = { apiKey: "AIzaSyAQeRh2IKGHJMlW--scfgycYBQvHKyWjy8", authDomain: "ripleylabs-f9425.firebaseapp.com", databaseURL: "https://ripleylabs-f9425.firebaseio.com", projectId: "ripleylabs-f9425", storageBucket: "ripleylabs-f9425.appspot.com", messagingSenderId: "542394243494" }; ...
31,849