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/adamchainz/aleph/blob/master/aleph/static/js/directives/metadataSidebar.js
Github Open Source
Open Source
MIT
2,016
aleph
adamchainz
JavaScript
Code
64
197
aleph.directive('metadataSidebar', ['Collection', function(Collection) { return { restrict: 'E', scope: { 'doc': '=' }, templateUrl: 'templates/metadata_sidebar.html', link: function (scope, element, attrs, model) { Collection.index().then(function(data) { var collections = []...
19,357
https://github.com/jrmykolyn/quickstart-java/blob/master/src/main/webapp/WEB-INF/jsp/includes/record.jsp
Github Open Source
Open Source
Apache-2.0
null
quickstart-java
jrmykolyn
null
Spoken
139
909
<c:forEach items="${results.records}" var="record" varStatus="i"> <c:set var="excludes"> id, title, ${!empty cookie.imageField.value ? cookie.imageField.value : ''}${!empty cookie.imageField.value ? ',' : ''}</c:set> <li class="record highlightCorresponding h${record.id}" data-id="row${b.index}.h${record.id...
23,361
https://github.com/wangtt03/raspberryjammod/blob/master/mccolors/opaquecolors.py
Github Open Source
Open Source
MIT
2,022
raspberryjammod
wangtt03
Python
Code
370
1,667
from blocks import * palette=( (BONE_BLOCK, (225, 221, 201)), (BRICK, (147, 100, 87)), (CLAY, (159, 164, 177)), (COAL_BLOCK, (19, 19, 19)), (COAL_ORE, (115, 115, 115)), (COARSE_DIRT, (119, 86, 59)), (COBBLESTONE, (123, 123, 123)), (COBBLESTONE_MOSSY, (104, 121, 104)), (DIAMOND_BLOCK, (98, 219, 214))...
43,189
https://github.com/gatehill/imposter-cli/blob/master/openapi/parser.go
Github Open Source
Open Source
Apache-2.0
2,022
imposter-cli
gatehill
Go
Code
169
410
/* Copyright © 2021 Pete Cornish <outofcoffee@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed ...
24,418
https://github.com/fitzsim/video_si21xx_superset/blob/master/SILABS_SUPERSET/TER/Si2144/Si2144_L1_Commands.c
Github Open Source
Open Source
Apache-2.0
2,020
video_si21xx_superset
fitzsim
C
Code
8,568
48,210
/************************************************************************************************************* Copyright 2015-2019, Silicon Laboratories, 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 Li...
24,478
https://github.com/ZQ330093887/GankIOSProgect/blob/master/GankIOS/GankIOS/vo/BaseVO.h
Github Open Source
Open Source
MIT
2,019
GankIOSProgect
ZQ330093887
Objective-C
Code
50
136
// // BaseVO.h // GankIOS // // Created by 周琼 on 2018/5/15. // Copyright © 2018年 周琼. All rights reserved. // #import <Foundation/Foundation.h> @interface BaseVO : NSObject @property (assign, nonatomic) unsigned int count; @property (assign, nonatomic) unsigned int error; @property (strong, nonatomic) NSMutableArr...
39,976
https://github.com/clabroche/ngx-callisto/blob/master/dist/app/modules/core/directives/stopPropagation.directive.d.ts
Github Open Source
Open Source
MIT
2,018
ngx-callisto
clabroche
TypeScript
Code
25
54
/** * Prevent bubbling of events */ export declare class CltClickStopPropagationDirective { /** * Trigger click event to stop propagation */ onClick(event: any): void; }
1,147
https://github.com/krlls/Nodejs-TypeScript-koa-boilerplate/blob/master/src/validators/postsSchemes.ts
Github Open Source
Open Source
MIT
null
Nodejs-TypeScript-koa-boilerplate
krlls
TypeScript
Code
14
47
import * as Joi from '@hapi/joi'; export const postsListReq = Joi.object({ id: Joi.number().integer().max(2).required() })
1,955
https://github.com/fadi-alkhoury/coin-or-cbc-with-cmake/blob/master/Cbc/ThirdParty/CbcTests.cmake
Github Open Source
Open Source
MIT
null
coin-or-cbc-with-cmake
fadi-alkhoury
CMake
Code
3,496
29,646
include(coin-macros) set(CBC_INSTANCES_DIR "${EP_InstallDir}/DATA_TEST/src/EP_DATA_TEST") set(TEST_LIST_INFEAS ${CBC_INSTANCES_DIR}/Infeas/chemcom.mps ${CBC_INSTANCES_DIR}/Infeas/pilot4i.mps ${CBC_INSTANCES_DIR}/Infeas/reactor.mps ${CBC_INSTANCES_DIR}/Infeas/bgetam.mps ${CBC_...
17,673
https://github.com/eustasy/gorgon/blob/master/_functions/core/load_page_variables.php
Github Open Source
Open Source
MIT
2,018
gorgon
eustasy
PHP
Code
175
639
<?php function get_page_variable($Line) { $Line = explode('=', $Line, 2)[1]; $Line = trim($Line); $Line = str_replace("\'", "'", $Line); $Line = trim($Line, '\'";'); return $Line; } function load_page_variables($Sitewide, $File, $Date_Format) { $Page['Type'] = false; $Page['Title'] = false; $Page['T...
925
https://github.com/littlenag/swakka/blob/master/library/src/test/scala/net/jtownson/swakka/openapijson/OpenApiJsonProtocolSpec.scala
Github Open Source
Open Source
Apache-2.0
2,021
swakka
littlenag
Scala
Code
418
1,444
package net.jtownson.swakka.openapijson import akka.http.scaladsl.model.HttpMethods.GET import akka.http.scaladsl.server.Directives.complete import akka.http.scaladsl.server.Route import akka.http.scaladsl.marshallers.sprayjson.SprayJsonSupport._ import spray.json.{JsArray, JsObject, JsString, JsTrue, _} import net.j...
13,176
https://github.com/jindrichsamec/pagerduty-slack/blob/master/src/slackCommand.ts
Github Open Source
Open Source
MIT
null
pagerduty-slack
jindrichsamec
TypeScript
Code
289
992
import * as Koa from "koa"; import * as Debug from "debug"; import { fetchSlackUserProfile, UserProfile } from "./slackUser"; import { parsePhoneNumber } from "./phoneNumber"; import { setPhoneNumber, removeActivePhoneNumber } from "./pagerduty/phoneNumberManagement"; const debug = Debug("app:command"); const SLA...
26,296
https://github.com/anderley/professor-virtual/blob/master/adm_novo_portal/app/routes.php
Github Open Source
Open Source
MIT
2,015
professor-virtual
anderley
PHP
Code
136
719
<?php /* |-------------------------------------------------------------------------- | Application Routes |-------------------------------------------------------------------------- | | Here is where you can register all of the routes for an application. | It's a breeze. Simply tell Laravel the URIs it should respond ...
29,137
https://github.com/daverodal/wargaming/blob/master/Wargame/Mollwitz/Zorndorf/victoryConditions.php
Github Open Source
Open Source
MIT
2,016
wargaming
daverodal
PHP
Code
346
611
<?php /** * * Copyright 2012-2015 David Rodal * User: David Markarian Rodal * Date: 3/8/15 * Time: 5:48 PM * * 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; * either version 2 of t...
24,744
https://github.com/vany152/FilesHash/blob/master/console/src/boost_1_78_0/libs/hana/doc/html/fwd_2type_8hpp.js
Github Open Source
Open Source
MIT
2,020
FilesHash
vany152
JavaScript
Code
35
257
var fwd_2type_8hpp = [ [ "type_tag", "structboost_1_1hana_1_1type__tag.html", null ], [ "template_", "fwd_2type_8hpp.html#ga246419f6c3263b648412f346106e6543", null ], [ "metafunction", "fwd_2type_8hpp.html#gaaa4f85cb8cbce21f5c04ef40ca35cc6a", null ], [ "metafunction_class", "fwd_2type_8hpp.html#gacec153...
52,738
https://github.com/baddwin/sinaudev-laravel/blob/master/config/google.php
Github Open Source
Open Source
MIT
null
sinaudev-laravel
baddwin
PHP
Code
162
424
<?php return [ /* * Application Name * * Name of your project in `https://console.developers.google.com/`. */ 'applicationName' => env('GSUITE_PROJECT_NAME','MyProject'), /* * Json Auth File Path * * After creating a project, go to `APIs & auth` and choose `Credentials`...
24,465
https://github.com/Termi1878/teamOrder/blob/master/teamOrder_server/food_schedule.py
Github Open Source
Open Source
Unlicense
null
teamOrder
Termi1878
Python
Code
121
489
from flask import Flask, redirect, jsonify, request, current_app from flask_pymongo import PyMongo from flask import Blueprint from db import mongo import string, random from flask_jwt_extended import ( JWTManager, jwt_required, create_access_token, get_jwt_identity ) food_schedule = Blueprint('food_schedule',...
24,142
https://github.com/Sowmik23/All-Codes/blob/master/LeetCode/Daily-Challenge/N-Queens II.cpp
Github Open Source
Open Source
MIT
2,022
All-Codes
Sowmik23
C++
Code
116
452
class Solution { public: int ans=0; int totalNQueens(int n) { vector<string> grid; string str; for(int i=0;i<n;i++){ str += "."; } for(int i=0; i<n;i++){ grid.push_back(str); } backtrack(grid, 0, n);...
46,530
https://github.com/KimiSaki/Laravel_Tutorial/blob/master/database/migrations/2019_04_26_085029_change_rename_user_profile.php
Github Open Source
Open Source
MIT
2,019
Laravel_Tutorial
KimiSaki
PHP
Code
45
146
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class ChangeRenameUserProfile extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::rename('user_profile', 'user_profiles'); } /** ...
8,440
https://github.com/miguelleonmarti/MyWebIOT/blob/master/app/Http/Controllers/WebServiceController.php
Github Open Source
Open Source
MIT
2,020
MyWebIOT
miguelleonmarti
PHP
Code
52
213
<?php namespace App\Http\Controllers; use App\Canal; use App\Sugerencia; use Illuminate\Http\Request; class WebServiceController extends Controller { public function index() { $canales = Canal::all(); header('Content-type: application/json'); return json_encode($canales); } publi...
13,859
https://github.com/martinkauppinen/gibberish/blob/master/src/cpu/opcodes/ret.rs
Github Open Source
Open Source
MIT
2,022
gibberish
martinkauppinen
Rust
Code
339
1,290
/// Return from subroutine unconditionally /// - - - - pub fn ret(cpu: &mut crate::cpu::Cpu) { cpu.registers.pc = cpu.pop(); cpu.inhibit_pc = true; } /// Return from subroutine on condition /// - - -_- fn ret_cond(cpu: &mut crate::cpu::Cpu, condition: bool) { if !condition { return; } cpu....
32,382
https://github.com/jaydroid1024/CountdownView/blob/master/app/src/main/java/cn/iwgang/countdownviewdemo/CountUpTimer.java
Github Open Source
Open Source
MIT
null
CountdownView
jaydroid1024
Java
Code
82
245
package cn.iwgang.countdownviewdemo; /** * @author jaydroid * @version 1.0 * @date 2/27/21 */ import android.os.CountDownTimer; import android.util.Log; public abstract class CountUpTimer extends CountDownTimer { private static final long INTERVAL_MS = 1000; private final long duration; protected Co...
54,402
https://github.com/lexplua/sacraldeerbot/blob/master/Procfile
Github Open Source
Open Source
Apache-2.0
2,016
sacraldeerbot
lexplua
null
Spoken
3
14
worker: python sacraldeerbot/main.py
52,424
https://github.com/i-gaven/Just_a_dumper/blob/master/all_headers/UC浏览器-新闻头条智能浏览器-11.9.2(越狱应用)_headers/NBReadingProgressHandler.h
Github Open Source
Open Source
MIT
2,018
Just_a_dumper
i-gaven
Objective-C
Code
125
564
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <Foundation/NSObject.h> @class NBBookDataProvider, NBBookItem, NSTimer; @protocol NBReadingProgressHandlerDelegate; @interfac...
34,827
https://github.com/christian-schilling/fnpp/blob/master/example.cpp
Github Open Source
Open Source
MIT
2,019
fnpp
christian-schilling
C++
Code
163
415
/* * Usage example for optional<T> with C++1y. * * As C++1y will support generic lambdas, we don't need * macros anymore to use optional<T> in a compact way. * * compile with: * clang++ -o example -std=c++1y example.cpp -I./src */ #define _GLIBCXX_HAVE_GETS // Hack arround bug in libstdc++ with -std=c++1y...
38,865
https://github.com/NicusorN5/3D_Rad_Space/blob/master/3DRadSpace/3DRadSpaceDll/Vector2.hpp
Github Open Source
Open Source
CC0-1.0
2,021
3D_Rad_Space
NicusorN5
C++
Code
337
1,017
#pragma once #include "Globals.hpp" #include "Matrix.hpp" #include "ComplexNumber.hpp" namespace Engine3DRadSpace { /// <summary> /// Represents a 2D vector /// </summary> struct DLLEXPORT Vector2 { /// <summary> /// The vector X component /// </summary> float X; /// <summary> /// The vector Y compone...
42,393
https://github.com/codingedward/book-a-meal-ui/blob/master/src/components/common/AuthPage/index.js
Github Open Source
Open Source
MIT
2,018
book-a-meal-ui
codingedward
TypeScript
Code
6
11
export { default } from './AuthPage'
32,710
https://github.com/dmanims/AndroidClient/blob/master/src/org/missionassetfund/apps/android/adapters/InputItemAdapter.java
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,014
AndroidClient
dmanims
Java
Code
77
328
package org.missionassetfund.apps.android.adapters; import java.util.ArrayList; import org.missionassetfund.apps.android.R; import org.missionassetfund.apps.android.models.Input; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import andro...
1,235
https://github.com/lukexorz/angband/blob/master/src/player-util.c
Github Open Source
Open Source
CC-BY-3.0
null
angband
lukexorz
C
Code
3,495
9,283
/** * \file player-util.c * \brief Player utility functions * * Copyright (c) 2011 The Angband Developers. See COPYING. * * This work is free software; you can redistribute it and/or modify it * under the terms of either: * * a) the GNU General Public License as published by the Free Software * Foundation,...
18,777
https://github.com/Dimitrie78/esp-idf/blob/master/components/esp_http_client/test/test_http_client.c
Github Open Source
Open Source
Apache-2.0
2,020
esp-idf
Dimitrie78
C
Code
167
485
// Copyright 2018 Espressif Systems (Shanghai) PTE LTD // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applic...
14,164
https://github.com/wittylion/PipelinesGenerator/blob/master/src/feature/ChooseProgramFlow/ChooseProgramFlowExecutor.ts
Github Open Source
Open Source
Apache-2.0
2,018
PipelinesGenerator
wittylion
TypeScript
Code
53
160
import { IPipeline, PipelineRunner } from "solid-pipelines"; import { ChooseProgramFlowArguments } from './ChooseProgramFlowArguments' import { ChooseProgramFlowPipeline } from './ChooseProgramFlowPipeline' export class ChooseProgramFlowExecutor { public static Instance: ChooseProgramFlowExecutor = new ChooseProgr...
39,662
https://github.com/nbp/nixpkgs-2/blob/master/pkgs/development/libraries/nlopt/default.nix
Github Open Source
Open Source
MIT
2,021
nixpkgs-2
nbp
null
Spoken
30
156
{ fetchurl, stdenv }: stdenv.mkDerivation rec { name = "nlopt-2.2.1"; src = fetchurl { url = "http://ab-initio.mit.edu/nlopt/${name}.tar.gz"; sha256 = "0p7ri7dcp6vga7jwng7wj9bf2ixk6p5ldxp76r93xkrdixqfngaq"; }; configureFlags = "--with-cxx --with-pic --without-guile --without-python --without-octave -...
31,122
https://github.com/mikel-egana-aranguren/EHU-SGSSI-01/blob/master/.gitmodules
Github Open Source
Open Source
CC-BY-4.0
2,023
EHU-SGSSI-01
mikel-egana-aranguren
Git Config
Code
8
42
[submodule "ShowerTemplate"] path = ShowerTemplate url = https://github.com/mikel-egana-aranguren/ShowerTemplate.git
32,113
https://github.com/zta6/eventkit-cloud/blob/master/eventkit_cloud/ui/static/ui/app/tests/actions/notificationsActions.spec.js
Github Open Source
Open Source
BSD-3-Clause
2,021
eventkit-cloud
zta6
JavaScript
Code
478
1,612
import sinon from 'sinon'; import * as actions from '../../actions/notificationsActions'; import * as utils from '../../utils/generic'; describe('notificationsActions', () => { describe('getNotifications action', () => { it('should return the correct types', () => { expect(actions.getNotificati...
9,667
https://github.com/KamilVDono/Sparkler/blob/master/Assets/Sparkler/Scripts/Examples/Sample2_SimpleBots/Graph/SimpleBots.asset
Github Open Source
Open Source
MIT
2,020
Sparkler
KamilVDono
Unity3D Asset
Code
2,189
10,259
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!114 &-7772316986144386499 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 0} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: d...
18,442
https://github.com/FrannyZhao/LeetCode/blob/master/src/arrays/LC163MissingRanges.java
Github Open Source
Open Source
MIT
null
LeetCode
FrannyZhao
Java
Code
237
699
package arrays; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class LC163MissingRanges { public List<String> findMissingRanges(int[] nums, int lower, int upper) { List<String> result = new ArrayList<>(); if (nums == null || nums.length == 0) { resul...
34,636
https://github.com/byronfichardt/bookingApp/blob/master/app/V1/Domain/BookingReminders.php
Github Open Source
Open Source
MIT
null
bookingApp
byronfichardt
PHP
Code
22
95
<?php namespace App\V1\Domain; use App\V1\Application\Models\Booking; use Carbon\Carbon; class BookingReminders { public function fetch() { return Booking::where('status', 'active') ->whereDate('start_time', now()->addDays(2)) ->get(); } }
24,090
https://github.com/richard-parry/testing-introduction/blob/master/testingexamples/src/test/java/org/daisonp/testingexamples/ExceptionTestWithRules.java
Github Open Source
Open Source
Unlicense
2,017
testing-introduction
richard-parry
Java
Code
82
236
package org.daisonp.testingexamples; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import org.junit.Test; public class ExceptionTestWithRules { @Test public void throwsNothing() { assertTrue(true); } @Test public void throwsExceptionWithSpecificType() { try { throw new...
2,475
https://github.com/t-9/vinet-the-spirit/blob/master/docker/go/balance/balance.go
Github Open Source
Open Source
MIT
null
vinet-the-spirit
t-9
Go
Code
68
197
package balance import ( "encoding/json" "log" "vinet/auth" ) // Balance represents the asset balance. type Balance struct { CurrencyCode string `json:"currency_code"` Amount float64 `json:"amount"` Available float64 `json:"available"` } func getBalances() ([]Balance, error) { var balances []Balanc...
18,030
https://github.com/karashily/PDP-11/blob/master/src/assembler/main_without_variables.cpp
Github Open Source
Open Source
MIT
null
PDP-11
karashily
C++
Code
1,931
5,387
#include <iostream> #include <fstream> #include <string> #include <sstream> #include <vector> #include <map> #include <cassert> #include <bitset> using namespace std; #define rep(i, a, b) for(int i = a; i<b; i++) #define all(v) v.begin(), v.end() #define PB push_back map<string, int> labels; vector<string> program; ...
52,702
https://github.com/SJaffa/Q_plus/blob/master/AllStars/D1.58C1G5R28.star
Github Open Source
Open Source
MIT
2,021
Q_plus
SJaffa
Starlark
Code
5,598
31,497
# 1865 # 0.41327 0.20776 -0.50271 -0.79867 0.10332 -0.57063 0.63602 0.35593 0.33982 0.57600 -0.69026 -0.22118 -0.38320 0.80794 -0.12770 0.08970 -0.53895 -0.73990 0.08121 0.76131 -0.60111 -0.73120 -0.30182 0.23276 -0.85312 0.12148 -0.24093 -0.15580 0.21912 0.21145 -0.18633 -0.06537 0.42597 -0.56716 0.2...
15,177
https://github.com/ISISComputingGroup/EPICS-DeviceEmulator/blob/master/lewis_emulators/tpg300/interfaces/stream_interface.py
Github Open Source
Open Source
BSD-3-Clause
2,021
EPICS-DeviceEmulator
ISISComputingGroup
Python
Code
357
1,122
from lewis.adapters.stream import StreamInterface from lewis.utils.command_builder import CmdBuilder from ..device import ReadState, Units from lewis.utils.replies import conditional_reply from lewis.utils.constants import ACK class Tpg300StreamInterface(StreamInterface): """ Stream interface for the serial p...
7,565
https://github.com/lemueldls/discordo/blob/master/types/api.d.ts
Github Open Source
Open Source
MIT
null
discordo
lemueldls
TypeScript
Code
452
856
// eslint-disable-next-line import/no-unresolved import type { BdApiModule } from "@bandagedbd/bdapi"; import type React from "react"; import type { DisplayNames } from "./modules"; type BdApiModuleType = typeof BdApiModule; interface BdApiType extends BdApiModuleType { findModuleByDisplayName<P = unknown, C = unkn...
25,857
https://github.com/lxqfirst/bi-platform/blob/master/model/src/main/java/com/baidu/rigel/biplatform/ac/query/model/node/CalculateNode.java
Github Open Source
Open Source
Apache-2.0
2,015
bi-platform
lxqfirst
Java
Code
295
693
/** * Copyright (c) 2014 Baidu, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
21,894
https://github.com/sathi23/office-ui-fabric-react/blob/master/packages/office-ui-fabric-react/src/components/Nav/Nav.scss
Github Open Source
Open Source
MIT
null
office-ui-fabric-react
sathi23
SCSS
Code
312
1,263
@import '../../common/common'; $navnode-height: 36px; $hasExpandButtonLinkLeftPadding: 28px; $noExpandButtonLinkLeftPadding: 20px; $linkRightPadding: 20px; .root { overflow-y: auto; -webkit-overflow-scrolling: touch; user-select: none; } .rootIsOnTop { position: absolute; } .navItems { list-style-type: no...
25,243
https://github.com/coutamg/mongodb/blob/master/mongo/sysbench-mongodb/libbson_libmongo/libmongoc/CMakeFiles/example-sdam-monitoring.dir/cmake_clean.cmake
Github Open Source
Open Source
Apache-2.0
2,021
mongodb
coutamg
CMake
Code
17
122
file(REMOVE_RECURSE "CMakeFiles/example-sdam-monitoring.dir/examples/example-sdam-monitoring.c.o" "example-sdam-monitoring.pdb" "example-sdam-monitoring" ) # Per-language clean rules from dependency scanning. foreach(lang C) include(CMakeFiles/example-sdam-monitoring.dir/cmake_clean_${lang}.cmake OPTIONAL) end...
19,225
https://github.com/iotbusters/assistant.net/blob/master/src/Storage.Sqlite/HealthChecksBuilderExtensions.cs
Github Open Source
Open Source
Apache-2.0
2,023
assistant.net
iotbusters
C#
Code
112
319
using Assistant.Net.Storage.HealthChecks; using Assistant.Net.Storage.Options; using Microsoft.Extensions.DependencyInjection; using System; namespace Assistant.Net.Storage; /// <summary> /// SQLite health check builder extensions. /// </summary> public static class HealthChecksBuilderExtensions { /// <summa...
14,399
https://github.com/EndPointCorp/interactivespaces/blob/master/examples/activity/basics/comm/interactivespaces.example.activity.routable.input.speech/src/main/java/interactivespaces/activity/routable/input/speech/RoutableInputSpeechExampleActivity.java
Github Open Source
Open Source
ECL-2.0, Apache-2.0
2,016
interactivespaces
EndPointCorp
Java
Code
193
503
/* * Copyright (C) 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
35,084
https://github.com/weihaocomeon/ycsl_ui/blob/master/src/views/notice/index.vue
Github Open Source
Open Source
MIT
2,019
ycsl_ui
weihaocomeon
Vue
Code
776
4,125
<template> <div class='app-container'> <el-form :inline='true' ref='form2' :model='listQuery' label-width='70px'> <el-form-item label="公告时间"> <el-date-picker type='date' placeholder='日期' v-model='listQuery.nDate' style='width:100%;' value-format="yyyy-MM-dd"></el-date-picker> </el-form-item>...
25,173
https://github.com/Marcussacapuces91/Water-Level-Telemeter/blob/master/telemeter.ino
Github Open Source
Open Source
MIT
null
Water-Level-Telemeter
Marcussacapuces91
null
Spoken
150
425
/** * @file telemeter.ino * @author Marc Sibert * @date 09/2017 * @version 1.0 * * @brief Main file for MKRFOX1200 telemeter application. * * @section DESCRIPTION * * Cette application permet de surveiller un niveau et * de déclencher des alertes vers le réseau SigFox en * cas de dép...
2,381
https://github.com/BLACKFISHLABS/fiscal4j/blob/master/src/main/java/br/indie/fiscal4j/nfe400/classes/nota/NFNotaInfoItemProdutoDetalhamento.java
Github Open Source
Open Source
Apache-2.0
2,023
fiscal4j
BLACKFISHLABS
Java
Code
64
296
package br.indie.fiscal4j.nfe400.classes.nota; import br.indie.fiscal4j.DFBase; import org.simpleframework.xml.Element; public class NFNotaInfoItemProdutoDetalhamento extends DFBase { private static final long serialVersionUID = 4756407184060968887L; @Element(name = "cProdFisco") private String codigoFis...
14,014
https://github.com/arangodb/arangodb/blob/master/scripts/test/arangosh.py
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause, ICU, Zlib, GPL-1.0-or-later, OpenSSL, ISC, LicenseRef-scancode-gutenberg-2020, MIT, GPL-2.0-only, CC0-1.0, BSL-1.0, LicenseRef-scancode-autoconf-simple-exception, LicenseRef-scancode-pcre, Bison-exception-2.2, LicenseRef-scancode-public-domain, JSON, BSD-2-Clause, LicenseRef-scancode-unknown-l...
2,023
arangodb
arangodb
Python
Code
161
667
#!/bin/env python3 """ launch a testing.js instance with given testsuite and arguments """ import logging import os from async_client import ( ArangoCLIprogressiveTimeoutExecutor, make_logfile_params, logfile_line_result, delete_logfile_params, ) class ArangoshExecutor(ArangoCLIprogressiveTimeoutExecu...
34,349
https://github.com/2Clutch/labelflow/blob/master/typescript/web/src/components/datasets/new-dataset-card.tsx
Github Open Source
Open Source
OML
null
labelflow
2Clutch
TypeScript
Code
99
329
import { Flex, Text, chakra, Box } from "@chakra-ui/react"; import { FaPlus } from "react-icons/fa"; const PlusIcon = chakra(FaPlus); export const NewDatasetCard = (props: { addDataset: () => void }) => { const { addDataset } = props; // This card is flexible, so its width will depend on the width of its parent ...
49,800
https://github.com/dan7800/Research/blob/master/Research_Bucket/Completed_Archived/ArchitecturalClones/old/data/raw/Audit/46.633-DoCustCompanyAdd.java
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,018
Research
dan7800
Java
Code
2,452
7,625
package com.vlee.servlet.customer; import javax.servlet.*; import javax.servlet.http.*; import java.util.*; import java.text.*; import java.sql.*; import com.vlee.servlet.main.*; import com.vlee.util.*; import com.vlee.ejb.customer.*; import com.vlee.ejb.user.*; public class DoCustCompanyAdd implements Action { Stri...
5,879
https://github.com/Coderx7/pylearn2/blob/master/pylearn2/utils/tests/test_serial.py
Github Open Source
Open Source
BSD-3-Clause
2,017
pylearn2
Coderx7
Python
Code
510
1,577
""" Tests for the pylearn2.utils.serial module. Currently only tests read_bin_lush_matrix and load_train_file methods. """ from theano.compat.six.moves import xrange import pylearn2 from pylearn2.utils.serial import read_bin_lush_matrix, load_train_file import numpy as np pylearn2_path = pylearn2.__path__[0] example_b...
50,896
https://github.com/NYSUG/NYSULerp/blob/master/NYSULerp.cs
Github Open Source
Open Source
MIT
null
NYSULerp
NYSUG
C#
Code
661
1,860
/****************** The MIT License (MIT) Copyright (c) 2015 No, You Shut Up Inc. 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 ...
37,273
https://github.com/georgegillams/georgegillams.co.uk/blob/master/src/components/footer2/footer.js
Github Open Source
Open Source
MIT
2,023
georgegillams.co.uk
georgegillams
JavaScript
Code
76
246
import React from 'react'; import PropTypes from 'prop-types'; import { StyledThemeProvider, STYLED_THEMES } from '@george-gillams/components/styled-theming'; import { Container, StyledFooterNav, StyledLogo, StyledTechSpecs } from './footer.styles'; const Footer = props => { const date = new Date(); const isPride...
52,504
https://github.com/naiyuh95/spring-boot-movie-booking-backend/blob/master/src/main/java/com/booking/ny/model/CustomerDTO.java
Github Open Source
Open Source
MIT
null
spring-boot-movie-booking-backend
naiyuh95
Java
Code
98
306
package com.booking.ny.model; import java.util.Date; import java.util.List; import javax.validation.constraints.Min; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; public class CustomerDTO { @NotBlank(mess...
20,662
https://github.com/platiagro/deploy-gcp/blob/master/backend/platiagro/api.py
Github Open Source
Open Source
Apache-2.0
null
deploy-gcp
platiagro
Python
Code
108
422
"""WSGI server.""" import os import sys from flask import Flask, request, jsonify, send_from_directory from .deployment import create_deployment, get_deployment_status from .utils import create_logger # Use the BaseApp, override the POST Notebook Endpoint app = Flask(__name__, static_folder="build") logger = create_...
444
https://github.com/leiousky/LollipopGo_Server_Client/blob/master/Proxy/src/tmain.go
Github Open Source
Open Source
BSD-3-Clause
2,021
LollipopGo_Server_Client
leiousky
Go
Code
76
389
package main import ( "LollipopGo/network" "LollipopGo2.8x/conf" "github.com/Golangltd/cache2go" concurrent "github.com/fanliao/go-concurrentMap" "github.com/golang/glog" "golang.org/x/net/websocket" "net/http" "runtime" ) type ProxyServer struct { Connection *websocket.Conn StrMD5 string MapSafe *c...
36,138
https://github.com/RobLoach/raylib-cpp/blob/master/examples/textures/textures_image_drawing.cpp
Github Open Source
Open Source
Zlib, LicenseRef-scancode-other-permissive, LicenseRef-scancode-unknown-license-reference
2,023
raylib-cpp
RobLoach
C++
Code
322
854
/******************************************************************************************* * * raylib [textures] example - Image loading and drawing on it * * NOTE: Images are loaded in CPU memory (RAM); textures are loaded in GPU memory (VRAM) * * This example has been created using raylib 1.4 (www.raylib.com)...
987
https://github.com/pentium10/google-cloud-php/blob/master/Retail/src/V2/ImportProductsRequest.php
Github Open Source
Open Source
Apache-2.0
2,021
google-cloud-php
pentium10
PHP
Code
678
2,060
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/retail/v2/import_config.proto namespace Google\Cloud\Retail\V2; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Request message for Import methods. *...
49,675
https://github.com/liyijiadou2020/EasyQQ/blob/master/plane_sprites.py
Github Open Source
Open Source
Apache-2.0
null
EasyQQ
liyijiadou2020
Python
Code
18
120
""" 1. 封装游戏中所有需要使用的精灵子类 2. 提供游戏的 相关工具 """ import pygame class GameSprite(pygame.sprite.Sprite): """飞机大战游戏精灵""" def update(self): """更新位置""" def set_info(self): """更新信息"""
20,559
https://github.com/hechao66/Magnesium/blob/master/sso-sdk/src/main/java/net/onebean/sso/sdk/core/SsoService.java
Github Open Source
Open Source
Apache-2.0
2,020
Magnesium
hechao66
Java
Code
758
3,598
package net.onebean.sso.sdk.core; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.TypeReference; import net.onebean.sso.sdk.common.ConstantEnum; import net.onebean.component.SpringUtil; import net.onebean.core.base.BaseResponse; import net.onebean.core.model.UagLoginSessionInfo; import net.onebean.sso.sd...
31,325
https://github.com/mbheinen/bpa-ipf-tsp/blob/master/libtsp/tspinc/nwgntn.inc
Github Open Source
Open Source
MIT
2,022
bpa-ipf-tsp
mbheinen
SQL
Code
8
57
*BEGIN NWGNTN COMMON/NWGNTN/ NWGNTN(MAXGEN) COMMON/NWGNTC/ NWGNTC(2,MAXGEN) CHARACTER*8 NWGNTC
2,392
https://github.com/kpfefferle/ember-cli-mirage/blob/master/test-projects/01-basic-app/tests/acceptance/ember-data-test.js
Github Open Source
Open Source
MIT
null
ember-cli-mirage
kpfefferle
JavaScript
Code
332
884
import { module, test } from 'qunit'; import { createServer } from 'miragejs'; import { Model } from 'miragejs'; import { modelFor } from 'ember-cli-mirage/ember-data'; import { discoverEmberDataModels } from 'ember-cli-mirage'; const CustomTag = Model.extend(); CustomTag.__isCustom__ = true; module('Acceptance | Emb...
18,206
https://github.com/qeedquan/challenges/blob/master/codegolf/all-together-now.c
Github Open Source
Open Source
MIT
2,023
challenges
qeedquan
C
Code
202
516
/* Given a list of digits 1 through 9, output whether each digit is grouped together as a single contiguous block. In other words, no two of the same digit are separated by different digits. It's OK if a digit doesn't appear at all. Fewest bytes wins. Input: A non-empty list of digits 1 through 9. This can be as a de...
22,985
https://github.com/PhucVD/TicketDesk/blob/master/TicketDesk-2/TicketDesk.Web.Client/Views/Home/About.aspx
Github Open Source
Open Source
MS-PL
2,015
TicketDesk
PhucVD
null
Spoken
209
742
<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %> <asp:Content ID="aboutTitle" ContentPlaceHolderID="TitleContent" runat="server"> About Us </asp:Content> <asp:Content ID="head" runat="server" ContentPlaceHolderID="CustomHeadContent"> <script type="text/j...
9,600
https://github.com/alanda-io/alanda/blob/master/backend/alanda-base/src/main/java/io/alanda/base/dao/PmcCommentDao.java
Github Open Source
Open Source
MIT
2,021
alanda
alanda-io
Java
Code
24
122
package io.alanda.base.dao; import java.util.List; import io.alanda.base.entity.PmcComment; public interface PmcCommentDao extends Dao<PmcComment> { List<PmcComment> getAllForProcessInstanceId(String processInstanceId); void insert(PmcComment pmcComment); List<PmcComment> getAllForProcessInstanceIdAndRe...
42,998
https://github.com/christian-bromann/wdio-demo/blob/master/solid/src/Login.C.test.tsx
Github Open Source
Open Source
MIT
2,023
wdio-demo
christian-bromann
TSX
Code
126
478
import { $, expect } from '@wdio/globals' import { fn, mocked, mock } from '@wdio/browser-runner' import { cleanup, render } from '@solidjs/testing-library' import LoginComponent from './Login.jsx' import { login } from './api.js' import './Login.css' mock('./api.js', () => ({ login: fn() })) describe('LoginCom...
27,070
https://github.com/ty888/t-ui/blob/master/less/index.less
Github Open Source
Open Source
MIT
2,017
t-ui
ty888
Less
Code
112
494
/* 初始化 */ body{ background: #fff; font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans G","Microsoft YaHei","微软雅黑",Arial,sans-serif; } ul,li{list-style: none;margin: 0;padding:0;} a,a:link,a:hover{text-decoration: none;} *{box-sizing: border-box;} // 主题色 @themeColor: #F7523F; // 导航栏 .navbar{ height...
281
https://github.com/Somainer/ray-tracing-rust/blob/master/src/hittable.rs
Github Open Source
Open Source
MIT
null
ray-tracing-rust
Somainer
Rust
Code
174
548
use crate::vec3::{Point3d, Vec3, Vec3d}; use crate::ray::Ray; use crate::material::Material; use crate::acceleration::aabb::AABB; use std::rc::Rc; use crate::hittable_list::HittableList; #[derive(Clone)] pub struct HitRecord<'a> { pub point: Point3d, pub normal: Vec3d, pub t: f64, pub u: f64, pub v: f6...
11,663
https://github.com/authgear/authgear-server/blob/master/pkg/lib/interaction/nodes/authn_login_link_trigger.go
Github Open Source
Open Source
Apache-2.0
2,023
authgear-server
authgear
Go
Code
333
1,355
package nodes import ( "github.com/authgear/authgear-server/pkg/api/model" "github.com/authgear/authgear-server/pkg/lib/authn" "github.com/authgear/authgear-server/pkg/lib/authn/authenticator" "github.com/authgear/authgear-server/pkg/lib/authn/otp" "github.com/authgear/authgear-server/pkg/lib/interaction" ) func...
51,377
https://github.com/devrabbititsol/DEI/blob/master/backups/views-A-2017-sep-27-538pm/backup/admin-A-2017-sep-26-1044pm/underimplementation.php
Github Open Source
Open Source
BSD-3-Clause
null
DEI
devrabbititsol
PHP
Code
10
41
<section role="main" class="content-body"> <center><h4>Under Implementation</h4></center> <!-- end: page --> </section>
7,948
https://github.com/arturo-ojeda/actor-scraper/blob/master/docs/cheerio-scraper/code/run-count.js
Github Open Source
Open Source
Apache-2.0
2,021
actor-scraper
arturo-ojeda
JavaScript
Code
27
132
return { title: $('header h1').text(), description: $('header span.actor-description').text(), modifiedDate: new Date( Number( $('ul.ActorHeader-stats time').attr('datetime'), ), ), runCount: Number( $('ul.ActorHeader-stats > li:nth-of-type(3)') .text(...
12,531
https://github.com/Lanayx/fsharp/blob/master/tests/service/data/SyntaxTree/Expression/Record - Field 03.fs.bsl
Github Open Source
Open Source
MIT
2,023
fsharp
Lanayx
null
Spoken
62
215
ImplFile (ParsedImplFileInput ("/root/Expression/Record - Field 03.fs", false, QualifiedNameOfFile Record - Field 03, [], [], [SynModuleOrNamespace ([Record - Field 03], false, AnonModule, [Expr (Record (None, None, [SynExprRecordField ...
40,866
https://github.com/rakaar/Narmada/blob/master/src/app/google-places.directive.ts
Github Open Source
Open Source
MIT
2,021
Narmada
rakaar
TypeScript
Code
85
222
// / <reference types="@types/googlemaps" /> import { Directive, ElementRef, OnInit } from '@angular/core'; // const google = require('@types/googlemaps'); // import { maps } from '@types/googlemaps'; // import { } from 'googlemaps'; import { } from "googlemaps"; import { } from "@types/googlemaps"; @Directive({ se...
23,716
https://github.com/apache/tvm/blob/master/src/relay/op/contrib/ethosu/common.h
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause, MIT, LicenseRef-scancode-unknown-license-reference, Unlicense, Zlib, LLVM-exception, BSD-2-Clause
2,023
tvm
apache
C++
Code
763
1,578
/* * 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 ...
27,538
https://github.com/Tangmore/equipmentLoc/blob/master/src/assets/css/mini/miniUserManager.scss
Github Open Source
Open Source
MIT
null
equipmentLoc
Tangmore
SCSS
Code
349
1,444
.main { width: 100%; height: 100%; .content { width: 100%; height: 100%; display: flex; position: relative; overflow: hidden; flex-direction: column; .topM{ background-color: rgba(255,255,255,.2); } .search-box{ .date{ background: transparent; out...
4,436
https://github.com/fqkw6/RewriteFrame/blob/master/other/Scripts/View/Starmap/StarPlantElement.cs
Github Open Source
Open Source
Apache-2.0
null
RewriteFrame
fqkw6
C#
Code
112
481
using UnityEngine; /// <summary> /// 行星item /// </summary> public class StarPlantElement : StarmapPointElementBase { /// <summary> /// 行星模型显示 /// </summary> private Starmap3DViewer m_3DViewer; /// <summary> /// 行星数据 /// </summary> private EditorPlanet m_Data; /// <summary> /// 设置行星数据 /// </summary> /// <p...
43,900
https://github.com/teja-rvs/geektrust-water-management/blob/master/src/main/java/com/example/geektrust/Prices.java
Github Open Source
Open Source
MIT
null
geektrust-water-management
teja-rvs
Java
Code
53
207
package com.example.geektrust; import com.example.geektrust.model.TankWaterSlab; import java.util.Arrays; import java.util.List; public class Prices { public static final double CORPORATION_WATER = 1.0d; public static final double BOREWELL_WATER = 1.5d; public static final List<TankWaterSlab> tankWaterS...
41,867
https://github.com/roblesterjr04/dealer-track/blob/master/laravel/resources/views/auth/register.blade.php
Github Open Source
Open Source
MIT
2,016
dealer-track
roblesterjr04
Blade
Code
70
354
@extends('app') @section('body') <div class="row"> <div class="col-md-4 col-md-offset-4"> <form class="form" action="/auth/register" method="POST"> {{ csrf_field() }} <div class="form-group"> <label for="name">Name</label> <input type="text" class="form-control" id="name" name="name" placeholder="Ful...
9,340
https://github.com/bunnybunbun37204/Thainnumber_Converter/blob/master/src/IntegerToThaiLang.js
Github Open Source
Open Source
MIT
null
Thainnumber_Converter
bunnybunbun37204
JavaScript
Code
518
1,507
/* eslint-disable require-jsdoc */ 'use strict'; const THAILANG_DICT = { 0: 'ศูนย์', 1: 'หนึ่ง', 2: 'สอง', 3: 'สาม', 4: 'สี่', 5: 'ห้า', 6: 'หก', 7: 'เจ็ด', 8: 'แปด', 9: 'เก้า', }; function repeatStringNumTimes(string, times) { let repeatedString = ''; while (times > 0) { repeatedString +...
26,097
https://github.com/PureStorage-OpenConnect/terraform-provider-cbs/blob/master/cbs/internal/array/faclient/2.4/client/administrators/delete_api_24_admins_cache_responses.go
Github Open Source
Open Source
Apache-2.0
2,021
terraform-provider-cbs
PureStorage-OpenConnect
Go
Code
283
912
// Code generated by go-swagger; DO NOT EDIT. package administrators // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "fmt" "io" "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" "github.dev.purestorage.c...
16,753
https://github.com/AngryBirdsFighting/car/blob/master/src/views/sysmgr/RoleManage.vue
Github Open Source
Open Source
MIT
2,018
car
AngryBirdsFighting
Vue
Code
1,233
6,615
/** * @Author: dousp * * @DateTime: 2018-03-26 * @Description: 角色管理 */ <template> <div class="app-container"> <!-- 搜索条件 --> <div class="filter-container"> <el-form :inline="true" :model="listQuery" class="demo-form-inline"> <el-form-item label="角色名称"> <el-input v-model="listQuery.roleName" placehold...
4,289
https://github.com/hammer-io/tyr/blob/master/templates/mocha/test.js
Github Open Source
Open Source
MIT
2,018
tyr
hammer-io
JavaScript
Code
24
48
const assert = require('assert'); describe('A sample test', () => { it('Assert false is the opposite of true', () => { assert(true, !false); }) });
35,392
https://github.com/tett23/ckusro/blob/master/packages/ckusro-web/src/components/MainView/RepositoryView/CloneOrPullButton/PullButton.tsx
Github Open Source
Open Source
MIT
2,019
ckusro
tett23
TypeScript
Code
106
272
import React from 'react'; import { Button } from '@material-ui/core'; import { useSelector, useDispatch } from 'react-redux'; import { State } from '../../../../modules'; import { pullRepository } from '../../../../modules/thunkActions'; type DispatchProps = { onClick: () => void; }; export type PullButtonProps = ...
53,243
https://github.com/pjsteam/pjs/blob/master/test/context.tests.js
Github Open Source
Open Source
MIT
2,015
pjs
pjsteam
JavaScript
Code
488
2,171
describe('context tests', function(){ var context = require('../src/context'); describe('serialize', function(){ it('should work on object with only one property of type number', function(){ var serialized = context.serializeFunctions({ prop: 10 }); expect(serialized.prop).to.equal(1...
24,895
https://github.com/wmadfaa/gatsby-cms/blob/master/src/components/HeroBanner/HeroBanner.tsx
Github Open Source
Open Source
RSA-MD
2,021
gatsby-cms
wmadfaa
TypeScript
Code
43
126
import React from 'react'; import Banner from '../Base/Banner/Banner'; export interface HeroBannerProps { role: string; greeting: string; bio: string; } const HeroBanner: React.FC<HeroBannerProps> = ({ role, greeting, bio }) => { return <Banner title={role} subtitle={greeting} content={bio} linkTo="/resume/"...
14,670
https://github.com/backmeupplz/controlio-ios/blob/master/Controlio/EditProfileCell.swift
Github Open Source
Open Source
MIT
2,019
controlio-ios
backmeupplz
Swift
Code
698
2,172
// // EditProfileCell.swift // Controlio // // Created by Nikita Kolmogorov on 23/09/2016. // Copyright © 2016 Nikita Kolmogorov. All rights reserved. // import UIKit import Material protocol EditProfileCellDelegate: class { func editPhotoTouched(sender: UIView) func saveTouched() } enum Codes: Int { ...
40,351
https://github.com/Inglory/IngloryBD/blob/master/yeexs/src/main/java/com/yee/yide/llas/jcxx/web/XsLineHisController.java
Github Open Source
Open Source
Apache-2.0
2,017
IngloryBD
Inglory
Java
Code
186
994
/** * Copyright &copy; 2012-2016 <a href="https://github.com/yee/yide">yide</a> All rights reserved. */ package com.yee.yide.llas.jcxx.web; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springfram...
17,088
https://github.com/bmbove/i3pybar/blob/master/plugins/weather.py
Github Open Source
Open Source
MIT
null
i3pybar
bmbove
Python
Code
96
386
""" @author David Brenner https://github.com/davidbrenner """ import re from .base import PluginBase class WeatherPlugin(PluginBase): def configure(self): defaults = { 'metric': False, 'location': '10001', 'cache_time': '600', 'format': '{conditions} {tem...
11,773
https://github.com/i-a-n/eui/blob/master/src-docs/src/views/tables/in_memory/in_memory_custom_sorting.js
Github Open Source
Open Source
Apache-2.0
null
eui
i-a-n
JavaScript
Code
129
332
import React from 'react'; import { EuiInMemoryTable } from '../../../../../src/components'; const data = [ { animal: 'snail', weight: 25 }, { animal: 'peregrine falcon', weight: 900 }, { animal: 'small dog', weight: 4500 }, { animal: 'brown bear', weight: 180000 }, { animal: 'elephant', weight: 5440000 }, ...
6,480
https://github.com/Bznkxs/OpenNE/blob/master/src/openne/models/lle.py
Github Open Source
Open Source
MIT
2,021
OpenNE
Bznkxs
Python
Code
130
421
from time import time import networkx as nx import numpy as np import torch import scipy.io as sio import scipy.sparse as sp import scipy.sparse.linalg as lg from ..utils import * from .models import * from sklearn.preprocessing import normalize __author__ = "Alan WANG" __email__ = "alan1995wang@outlook.com" class L...
23,469
https://github.com/isdzulqor/cakcuk/blob/master/utils/errors/error.go
Github Open Source
Open Source
MIT
2,021
cakcuk
isdzulqor
Go
Code
138
343
package errors import ( "fmt" "strings" ) type Error struct { Code string `json:"code"` Message string `json:"message"` Data interface{} `json:"data"` } func (e Error) Error() (out string) { return e.Code + ": " + e.Message } func WithMessage(code, message string) Error { return Error{ Code...
34,654
https://github.com/georgievaja/extensive-pipeline/blob/master/src/Extensive.Pipeline.CacheControl/Providers/DefaultCacheControlKeyProvider.cs
Github Open Source
Open Source
MIT
null
extensive-pipeline
georgievaja
C#
Code
92
485
using System; using System.Collections.Generic; using System.Text; using System.Diagnostics.CodeAnalysis; using Microsoft.AspNetCore.Http; namespace Extensive.Pipeline.CacheControl.Providers { public sealed class DefaultCacheControlKeyProvider : ICacheControlKeyProvider { private readonly IHttpContext...
40,676
https://github.com/trungnt13/fasta-game/blob/master/TNTEngine/src/org/tntstudio/box2d/LuaBody.java
Github Open Source
Open Source
MIT
2,014
fasta-game
trungnt13
Java
Code
39
121
package org.tntstudio.box2d; import com.badlogic.gdx.physics.box2d.Body; import com.badlogic.gdx.physics.box2d.World; /** * {@link Body} with setter support for Lua script * @author trungnt13 * */ public final class LuaBody extends Body { protected LuaBody (World world, long addr) { super(world, addr); } }
7,586
https://github.com/n3integration/IPLookup/blob/master/src/main/scala/org/n3integration/lookup/geoip/GeoIPDataStore.scala
Github Open Source
Open Source
Apache-2.0
null
IPLookup
n3integration
Scala
Code
441
1,424
/* * Copyright 2015 n3integration * * 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 ag...
9,537
https://github.com/kagwicharles/Seniorproject-ui/blob/master/node_modules/@iconify/icons-ic/speaker-phone.js
Github Open Source
Open Source
MIT
null
Seniorproject-ui
kagwicharles
JavaScript
Code
68
298
var data = { "body": "<path d=\"M7 7.07L8.43 8.5c.91-.91 2.18-1.48 3.57-1.48s2.66.57 3.57 1.48L17 7.07C15.72 5.79 13.95 5 12 5s-3.72.79-5 2.07zM12 1C8.98 1 6.24 2.23 4.25 4.21l1.41 1.41C7.28 4 9.53 3 12 3s4.72 1 6.34 2.62l1.41-1.41A10.963 10.963 0 0 0 12 1zm2.86 9.01L9.14 10C8.51 10 8 10.51 8 11.14v9.71c0 .63.51 1.14 ...
16,265
https://github.com/Jagerente/GucciGangMod/blob/master/Source/EanFrame.cs
Github Open Source
Open Source
MIT
2,022
GucciGangMod
Jagerente
C#
Code
20
64
using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential)] public struct EanFrame { public ushort X; public ushort Y; public ushort Width; public ushort Height; }
28,920