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/Ralphkay/django-private-chat/blob/master/django_private_chat/management/commands/run_chat_server.py
Github Open Source
Open Source
ISC
2,017
django-private-chat
Ralphkay
Python
Code
55
335
import asyncio import websockets from django.conf import settings from django.core.management.base import BaseCommand from django_private_chat import channels, handlers from django_private_chat.utils import logger class Command(BaseCommand): help = 'Starts message center chat engine' def handle(self, *args, **...
12,303
https://github.com/ALyman/pears-ts/blob/master/parsers/index.ts
Github Open Source
Open Source
MIT
null
pears-ts
ALyman
TypeScript
Code
36
73
export * from "./parser-base"; export * from "./alternative"; export * from "./equal"; export * from "./lookahead"; export * from "./match"; export * from "./noop"; export * from "./sequence"; export * from "./map"; export * from "./many";
8,268
https://github.com/imjonos/laravel-blog/blob/master/app/Providers/AppServiceProvider.php
Github Open Source
Open Source
MIT
2,023
laravel-blog
imjonos
PHP
Code
78
318
<?php namespace App\Providers; use App\Interfaces\Repositories\CategoryRepositoryInterface; use App\Interfaces\Repositories\CommentRepositoryInterface; use App\Interfaces\Repositories\PostRepositoryInterface; use App\Repositories\CategoryRepository; use App\Repositories\CommentRepository; use App\Repositories\PostRep...
2,769
https://github.com/nawarissa/apistore/blob/master/routes/api.php
Github Open Source
Open Source
MIT
null
apistore
nawarissa
PHP
Code
67
237
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; use App\Booking; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your appli...
4,385
https://github.com/xcorshinex/python-http-enum/blob/master/http-enum.py
Github Open Source
Open Source
MIT
null
python-http-enum
xcorshinex
Python
Code
272
1,019
#!/usr/bin/python import os, sys, argparse, datetime def scan(cmd, ip, dir, log, name, tool): print("[%s / %s] %s starting...." % (ip, name, tool)) os.system(cmd) print("\tLog: %s" % log) print("\tResults: %s" % dir) print("[%s / %s] %s complete." % (ip, name, tool)) def main(): # binaries _gob...
34,756
https://github.com/pmarino84/react-store/blob/master/examples/todo-app/src/store/todos/reducer.js
Github Open Source
Open Source
MIT
null
react-store
pmarino84
JavaScript
Code
80
260
import handleActions from "@pietro-marino/reactjs-store/handleActions"; import { ADD_TODO, COMPLETE_TODO, REMOVE_TODO } from "./actions"; function addTodo(state, action) { return [...state, action.payload]; } function removeTodo(state, action) { return state.filter((todo) => todo.id !== action.payload); } functi...
37,528
https://github.com/psaile/ngeo/blob/master/examples/control.js
Github Open Source
Open Source
MIT
2,015
ngeo
psaile
JavaScript
Code
102
361
goog.provide('control'); goog.require('ngeo.controlDirective'); goog.require('ngeo.mapDirective'); goog.require('ol.Map'); goog.require('ol.View'); goog.require('ol.control.MousePosition'); goog.require('ol.layer.Tile'); goog.require('ol.source.OSM'); /** @const **/ var app = {}; /** @type {!angular.Module} **/ ap...
36,121
https://github.com/tomcamp0228/ibeo_ros2/blob/master/src/ibeo_8l_sdk/src/ibeosdk/devices/IbeoTcpIpAcceptorBase.hpp
Github Open Source
Open Source
MIT
2,020
ibeo_ros2
tomcamp0228
C++
Code
1,349
4,051
//====================================================================== /*! \file IbeoTcpIpAcceptorBase.hpp * * \copydoc Copyright * \author Julia Nitsch (jn) * \date May 17, 2016 *///------------------------------------------------------------------- //===========================================================...
35,291
https://github.com/talsewell/cerberus/blob/master/tests/examples/6.2.5-30.c
Github Open Source
Open Source
BSD-2-Clause
2,022
cerberus
talsewell
C
Code
15
35
/* STD §6.2.5#30, Example 2 */ /* check types of struct tag (*[5]) (float) */
11,073
https://github.com/UbuntuEvangelist/OG-Platform/blob/master/projects/OG-Core/src/main/java/com/opengamma/core/marketdatasnapshot/NamedSnapshot.java
Github Open Source
Open Source
Apache-2.0
2,021
OG-Platform
UbuntuEvangelist
Java
Code
151
298
/** * Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.core.marketdatasnapshot; import com.opengamma.id.UniqueId; import com.opengamma.id.UniqueIdentifiable; /** * A common interface to support handling both the ...
50,009
https://github.com/lestor/kohana/blob/master/system/config/encrypt.php
Github Open Source
Open Source
BSD-3-Clause
2,018
kohana
lestor
PHP
Code
47
117
<?php return array( 'default' => array( /** * The following options must be set: * * string key The secret key (must be 32 chars long!) * integer cipher The encryption cipher, one of the Sodium cipher constants */ 'key' => NULL, 'cipher' => Encrypt::CIPHER_XCHACHA20_POLY1305_IETF ) ...
42,440
https://github.com/phimuemue/openschafkopf/blob/master/main/build.rs
Github Open Source
Open Source
MIT
2,022
openschafkopf
phimuemue
Rust
Code
194
1,051
use openschafkopf_util::*; use image::GenericImageView; use as_num::*; use std::{env, fs::File, io::Write, path::Path, process::Command}; fn main() { // adapted from https://doc.rust-lang.org/cargo/reference/build-scripts.html#case-study-code-generation let execute_external = |path_in: &Path, cmd: &mut Comman...
31,568
https://github.com/alex-davidson/clrspy/blob/master/ClrSpy/Native/PointerUtils.cs
Github Open Source
Open Source
Unlicense, Apache-2.0, MIT
2,021
clrspy
alex-davidson
C#
Code
39
132
using System; using System.Diagnostics; namespace ClrSpy.Native { public static class PointerUtils { public static IntPtr CastLongToIntPtr(long longValue) { if (IntPtr.Size == 4) { Debug.Assert(longValue <= UInt32.MaxValue); Debug.Assert(...
15,716
https://github.com/ScalablyTyped/SlinkyTyped/blob/master/k/kendo-ui/src/main/scala/typingsSlinky/kendoUi/kendo/dataviz/ChartPoint.scala
Github Open Source
Open Source
MIT
2,021
SlinkyTyped
ScalablyTyped
Scala
Code
69
232
package typingsSlinky.kendoUi.kendo.dataviz import typingsSlinky.kendoUi.kendo.Observable import typingsSlinky.kendoUi.kendo.drawing.Element import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBra...
23,813
https://github.com/Jarlyk/Rain-of-Stages/blob/master/Assets/RainOfStages/RoR2/GeneratedProxies/RoR2/OrbitalLaserController.cs
Github Open Source
Open Source
MIT
null
Rain-of-Stages
Jarlyk
C#
Code
16
69
#if THUNDERKIT_CONFIGURED using global::RoR2; namespace PassivePicasso.ThunderKit.Proxy.RoR2 { public partial class OrbitalLaserController : global::RoR2.OrbitalLaserController {} } #endif
7,532
https://github.com/honorarac/core-framework/blob/master/UIComponents/Dashboard/Search/Groups.php
Github Open Source
Open Source
MIT, BSD-3-Clause
2,019
core-framework
honorarac
PHP
Code
68
590
<?php namespace Webkul\UVDesk\CoreFrameworkBundle\UIComponents\Dashboard\Search; use Webkul\UVDesk\CoreFrameworkBundle\Dashboard\Segments\SearchItemInterface; class Groups implements SearchItemInterface { CONST SVG = <<<SVG <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width=...
25,003
https://github.com/elear-solutions/kibana/blob/master/x-pack/legacy/plugins/security/public/views/management/edit_user/components/edit_user_page.test.tsx
Github Open Source
Open Source
LicenseRef-scancode-proprietary-license, LicenseRef-scancode-other-permissive, Apache-2.0, BSD-3-Clause, MIT, OFL-1.1, Elastic-2.0, LicenseRef-scancode-elastic-license-2018
2,023
kibana
elear-solutions
TSX
Code
319
1,080
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import { mountWithIntl } from 'test_utils/enzyme_helpers'; import { EditUserP...
34,648
https://github.com/fcollonval/beakerx_tabledisplay/blob/master/beakerx_tabledisplay/js/src/dataGrid/cell/DataGridCell.ts
Github Open Source
Open Source
Apache-2.0
2,021
beakerx_tabledisplay
fcollonval
TypeScript
Code
479
1,315
/* * Copyright 2017 TWO SIGMA OPEN SOURCE, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
36,803
https://github.com/Patrick64/vscode-kirby-ftp/blob/master/src/models/ftpModel.ts
Github Open Source
Open Source
CC-BY-3.0
null
vscode-kirby-ftp
Patrick64
TypeScript
Code
616
2,199
import { ExtensionContext, TreeDataProvider, EventEmitter, TreeItem, Event, window, TreeItemCollapsibleState, Uri, commands, workspace, TextDocumentContentProvider, CancellationToken, ProviderResult, WorkspaceFolder } from 'vscode'; import * as Client from 'ftp'; import * as path from 'path'; import { IEntry } from '....
34,896
https://github.com/dense-analysis/ale/blob/master/autoload/ale/handlers/cspell.vim
Github Open Source
Open Source
BSD-2-Clause
2,023
ale
dense-analysis
Vim Script
Code
172
724
scriptencoding utf-8 " Author: David Houston <houstdav000> " Description: Define a handler function for cspell's output function! ale#handlers#cspell#GetExecutable(buffer) abort return ale#path#FindExecutable(a:buffer, \ 'cspell', [ \ 'node_modules/.bin/cspell', \ 'node_modules/cspell/...
50,282
https://github.com/ProkopHapala/SimpleSimulationEngine/blob/master/cpp/common/molecular/AtomTypes.cpp
Github Open Source
Open Source
MIT
2,022
SimpleSimulationEngine
ProkopHapala
C++
Code
131
399
#include <cstdio> #include <cstdlib> #include "AtomTypes.h" // THE HEADER bool AtomTypes::loadFromFile( char const* filename ){ printf(" loading AtomTypes from: >>%s<< \n", filename ); FILE * pFile; pFile = fopen (filename,"r"); fscanf (pFile, "%i", &ntypes); //printf("ntypes %i \n", ntypes ); ...
27,814
https://github.com/Indexical-Metrics-Measure-Advisory/watchmen-web-client/blob/master/src/admin/pipelines/pipelines-loading.tsx
Github Open Source
Open Source
MIT
2,022
watchmen-web-client
Indexical-Metrics-Measure-Advisory
TSX
Code
145
461
import {Logo} from '@/widgets/basic/logo'; import React from 'react'; import styled, {keyframes} from 'styled-components'; const Container = styled.div.attrs({'data-widget': 'pipelines-loading'})` display : grid; position : absolute; grid-template-columns : 1fr; grid-template-rows : 7...
21,440
https://github.com/xaviguasch/collab-backend/blob/master/db/sequelize.js
Github Open Source
Open Source
MIT
2,020
collab-backend
xaviguasch
JavaScript
Code
65
221
'use strict'; const Sequelize = require('sequelize'); const sequelize = new Sequelize( process.env.DB_NAME, process.env.DB_USER, process.env.DB_PASS, { host: process.env.DB_HOST, dialect: 'mysql', operatorsAliases: false, pool: { max: 5, min: 0, acquire: 30000, idle: 10000 }, }); sequelize ...
17,928
https://github.com/HariKishoreP/MahendraFoundationWebsite/blob/master/application/views/admin/listAllReports.php
Github Open Source
Open Source
Apache-2.0
null
MahendraFoundationWebsite
HariKishoreP
PHP
Code
487
2,472
<style> .spanform{min-height:250px !important;} </style> <div id="content" class="span9 spanform"> <ul class="breadcrumb"> <li> <i class="icon-home"></i> <a href="<?php echo base_url();?>admin_dashboard">Home</a> <i class="icon-angle-right"></i> </li> <li><a href="">Reports for Ads</a></li> </ul> <?...
48,892
https://github.com/kaoecoito/odoo-brasil/blob/master/l10n_br_sale/models/account_move.py
Github Open Source
Open Source
MIT
2,021
odoo-brasil
kaoecoito
Python
Code
50
215
from odoo import fields, models class AccountMove(models.Model): _inherit = 'account.move' carrier_partner_id = fields.Many2one('res.partner', string='Transportadora') num_volumes = fields.Integer('Quant. total de volumes') quant_peso = fields.Float('Peso') # peso_uom = fields.Many2one('uom.uom')...
8,364
https://github.com/yeoggc/FlinkUserBehaviorAnalysisProject/blob/master/MarketAnalysis/src/main/scala/com/ggc/ma/AdClickStatisticsByGeo.scala
Github Open Source
Open Source
Apache-2.0
null
FlinkUserBehaviorAnalysisProject
yeoggc
Scala
Code
347
1,590
package com.ggc.ma import java.sql.Timestamp import org.apache.flink.api.common.functions.AggregateFunction import org.apache.flink.api.common.state.{ValueState, ValueStateDescriptor} import org.apache.flink.streaming.api.TimeCharacteristic import org.apache.flink.streaming.api.functions.KeyedProcessFunction import o...
33,815
https://github.com/shayasmk1/Video/blob/master/config/module.php
Github Open Source
Open Source
MIT
2,018
Video
shayasmk1
PHP
Code
18
68
<?php # config/module.php return [ 'modules' => [ 'Auth', 'Managers', 'User', 'Video', 'Channel', 'Admin', 'Category', 'Settings' ] ];
31,017
https://github.com/dogukanyldz/FastCommerce/blob/master/FastCommerce.DAL/Migrations/20200830181517_ProductPlacementIds.cs
Github Open Source
Open Source
Apache-2.0
2,020
FastCommerce
dogukanyldz
C#
Code
56
219
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace FastCommerce.DAL.Migrations { public partial class ProductPlacementIds : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.RenameColumn( name: "Product...
22,745
https://github.com/rainner/biscuit-php/blob/master/src/Data/Import.php
Github Open Source
Open Source
MIT
2,017
biscuit-php
rainner
PHP
Code
493
1,302
<?php /** * Import class for processing a file and extracting values to be inserted to the db * * @package Biscuit * @author Rainner Lins <rainnerlins@gmail.com> * @copyright 2016 Rainner Lins */ namespace Biscuit\Data; use Biscuit\Utils\Sanitize; use Biscuit\Utils\Utils; class Import { // props protec...
40,248
https://github.com/9tee/beego/blob/master/adapter/migration/migration.go
Github Open Source
Open Source
Apache-2.0
null
beego
9tee
Go
Code
451
969
// Copyright 2014 beego Author. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applica...
33,717
https://github.com/zstars/booledeusto/blob/master/include/antlr/CharScanner.hpp
Github Open Source
Open Source
BSD-3-Clause
2,021
booledeusto
zstars
C++
Code
1,751
4,712
#ifndef INC_CharScanner_hpp__ #define INC_CharScanner_hpp__ /* * <b>SOFTWARE RIGHTS</b> * <p> * ANTLR 2.7.1 MageLang Insitute, 1999, 2000, 2001 * <p> * $Id: //depot/code/org.antlr/main/main/lib/cpp/antlr/CharScanner.hpp#11 $ * <p> * We reserve no legal rights to the ANTLR--it is fully in the * public domain. A...
46,298
https://github.com/ProteoWizard/pwiz/blob/master/pwiz_tools/Bumbershoot/idpicker/Qonverter/waffles/GOptimizer.cpp
Github Open Source
Open Source
LicenseRef-scancode-free-unknown, Apache-2.0
2,023
pwiz
ProteoWizard
C++
Code
444
1,714
/* Copyright (C) 2006, Mike Gashler This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. see http://www.gnu.org/copy...
27,421
https://github.com/janehmueller/trufflesqueak/blob/master/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/tools/SqueakMessageInterceptor.java
Github Open Source
Open Source
MIT
2,020
trufflesqueak
janehmueller
Java
Code
249
914
/* * Copyright (c) 2017-2022 Software Architecture Group, Hasso Plattner Institute * Copyright (c) 2021-2022 Oracle and/or its affiliates * * Licensed under the MIT License. */ package de.hpi.swa.trufflesqueak.tools; import org.graalvm.polyglot.Context; import com.oracle.truffle.api.CompilerDirectives.TruffleBou...
26,230
https://github.com/5ulas/shop/blob/master/app/Models/Employee.php
Github Open Source
Open Source
MIT
2,020
shop
5ulas
PHP
Code
58
197
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Employee extends Model { use HasFactory; protected $table = 'employees'; public $timestamps = false; /** * The attributes that are mass assignable. * * @var...
50,721
https://github.com/ClapeyronThermo/Clapeyron.jl/blob/master/src/modules/solvers/nanmath.jl
Github Open Source
Open Source
MIT
2,023
Clapeyron.jl
ClapeyronThermo
Julia
Code
156
549
const BigNaN = big"NaN" @inline nan(::T) where T = nan(T) @inline nan(::Type{Float16}) = NaN16 @inline nan(::Type{Float32}) = NaN32 @inline nan(::Type{Float64}) = NaN64 #TODO: define nan for integer types @inline nan(::Type{BigFloat}) = BigNaN @inline nan(::Type{BigInt}) = BigNaN @inline nan(::Type{T}) where T<:Real = ...
36,721
https://github.com/ohxh/warpspace/blob/master/src/components/OverviewTab/OverviewTabContextMenu.tsx
Github Open Source
Open Source
MIT
null
warpspace
ohxh
TypeScript
Code
20
52
import React from "react"; export const OverviewTabContextMenu: React.FC<{}> = ({ children }) => { //useTabSelection return <div> {children} </div> }
4,404
https://github.com/keithtan/main/blob/master/src/test/java/seedu/superta/logic/parser/MarkAttendanceCommandParserTest.java
Github Open Source
Open Source
MIT
null
main
keithtan
Java
Code
182
728
package seedu.superta.logic.parser; import static seedu.superta.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.superta.logic.commands.CommandTestUtil.VALID_STUDENT_ID_AMY; import static seedu.superta.logic.parser.CliSyntax.PREFIX_GENERAL_STUDENT_ID; import static seedu.superta.logic.parser.C...
48,855
https://github.com/DominikDitoIvosevic/Fusky/blob/master/front-ps/src/App/Components/RadioDescr.purs
Github Open Source
Open Source
MIT
2,016
Fusky
DominikDitoIvosevic
PureScript
Code
94
319
module App.Components.RadioDescr where import Angular.Common (commonDirectives) import Angular.Core (Component, createComponent) import Utilities.Angular (Decorator, toNgClass, DecoratedNgClass, decorateNgClass, NgClassProto, Directive) type RadioDescrScope = { } radioDescrScope :: RadioDescrScope radioDescrScope = ...
17,393
https://github.com/andreiciortea/thingsnet/blob/master/public/scenario/jane.ttl
Github Open Source
Open Source
Apache-2.0
null
thingsnet
andreiciortea
Turtle
Code
43
358
@prefix stn: <http://purl.org/stn/core#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # Jane's profile <http://localhost:9003/users/f6359041-4b7d-43b4-aa98-b1a79d11ae8d#Jane> a stn:Person ; stn:holds <http://localhost:9003/users/f6359041-4b7d-43b4-aa98-b1a79d11ae8d> ; stn:owns <http://localhost:9...
4,714
https://github.com/NobukazuHanada/creatives/blob/master/purescript/second/src/Main.purs
Github Open Source
Open Source
MIT
null
creatives
NobukazuHanada
PureScript
Code
400
892
module Main where import Prelude import qualified Math as M import qualified Data.Vector2 as V import qualified Data.Vector as V import Control.Monad.Eff import Control.Monad.Eff.Console import Control.Monad.ST import Control.Monad.Eff.Random import Control.Apply import Data.Array.ST import Graphics.Canvas import Data...
26,763
https://github.com/JetBrains/teamcity-s3-artifact-storage-plugin/blob/master/s3-artifact-storage-ui/src/contexts/AwsConnectionsContext.tsx
Github Open Source
Open Source
Apache-2.0
2,023
teamcity-s3-artifact-storage-plugin
JetBrains
TSX
Code
200
628
import { React } from '@jetbrains/teamcity-api'; import { ReactNode, useContext, useEffect, useMemo, useState } from 'react'; import { Option } from '@jetbrains-internal/tcci-react-ui-components'; import useAwsConnections from '../hooks/useAwsConnections'; import { AwsConnection } from '../App/AwsConnection/Available...
22,087
https://github.com/JiangJibo/pinpoint/blob/master/web/src/main/angular/src/app/core/components/chart-layout/index.ts
Github Open Source
Open Source
Apache-2.0
2,022
pinpoint
JiangJibo
TypeScript
Code
68
203
import { NgModule } from '@angular/core'; import { DragDropModule } from '@angular/cdk/drag-drop'; import { MatGridListModule } from '@angular/material/grid-list'; import { SharedModule } from 'app/shared'; import { ChartLayoutContainerComponent } from './chart-layout-container.component'; import { ChartLayoutComponen...
36,449
https://github.com/sanic-org/sanic/blob/master/tests/test_json_encoding.py
Github Open Source
Open Source
MIT
2,023
sanic
sanic-org
Python
Code
245
845
import sys from dataclasses import asdict, dataclass from functools import partial from json import dumps as sdumps from string import ascii_lowercase from typing import Dict import pytest try: import ujson from ujson import dumps as udumps ujson_version = tuple( map(int, ujson.__version__.str...
44,425
https://github.com/meharajM/mpp-v1/blob/master/server/routes/login.js
Github Open Source
Open Source
MIT
null
mpp-v1
meharajM
JavaScript
Code
28
77
const express = require('express'); const router = express.Router(); const { loginUser, getuser, updateuser } = require('../controllers/login.js'); router.post('/login', function(req, res, next) { loginUser(req, res, next); }); module.exports = router;
25,310
https://github.com/kykrueger/openbis/blob/master/obis/src/vagrant/initialize/stop_services.sh
Github Open Source
Open Source
Apache-2.0
2,021
openbis
kykrueger
Shell
Code
9
33
#!/bin/env bash # Stop openbis sudo -u openbis /home/openbis/bin/alldown.sh
23,964
https://github.com/LLNL/FPChecker/blob/master/tests/llvm/dynamic/get_cuda_lib_path.sh
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,022
FPChecker
LLNL
Shell
Code
44
224
#!/bin/bash NVCC_PATH=$(which nvcc) CUDA_PATH=$(dirname ${NVCC_PATH}) CUDA_PATH=$(dirname ${CUDA_PATH}) #echo "${CUDA_PATH}" CUDA_LIB_PATH="${CUDA_PATH}/lib" CUDA_LIB64_PATH="${CUDA_PATH}/lib64" if [ -d ${CUDA_LIB_PATH} ]; then lib_path="${CUDA_LIB_PATH}/libcudart.so" if [ -f "$lib_path" ]; then echo "${CUDA...
22,194
https://github.com/bouzuya/purescript-bouzuya-command-line-option-parser/blob/master/src/Bouzuya/CommandLineOption/RecordToArray.purs
Github Open Source
Open Source
MIT
null
purescript-bouzuya-command-line-option-parser
bouzuya
PureScript
Code
219
414
module Bouzuya.CommandLineOption.RecordToArray ( class ArrayBuilder , class ToElement , build , toArray , toElement ) where import Data.Array as Array import Data.Symbol (SProxy(..), reflectSymbol) import Data.Symbol as Symbol import Prim.Row as Row import Prim.RowList (class RowToList, Cons, Nil, kind Row...
19,315
https://github.com/myckhel/chat-system-example/blob/master/resources/js/icons/index.js
Github Open Source
Open Source
MIT
null
chat-system-example
myckhel
JavaScript
Code
68
215
import HomeIcon from "./home.svg"; import SearchIcon from "./search.svg"; import MenuIcon from "./menu.svg"; import DropdownIcon from "./dropdown.svg"; import OutlineLogoutIcon from "./outlineLogout.svg"; import MenuDotX from "./menu-dot-x.svg"; import Send from "./send.svg"; import Sent from "./sent.svg"; import Doubl...
44,579
https://github.com/hummel/gadfly/blob/master/gadfly/__init__.py
Github Open Source
Open Source
MIT
2,020
gadfly
hummel
Python
Code
42
67
""" This package contains tools for reading and analyzing hdf5 snapshot files from a modified version of the SPH code Gadget2. """ import units import coordinates import hdf5 import nbody import sph import snapshot import visualize import analyze from sim import *
32,594
https://github.com/ledlogic/hostile-rpg-char/blob/master/js/st/st-weapons.js
Github Open Source
Open Source
MIT
null
hostile-rpg-char
ledlogic
JavaScript
Code
63
239
/* st-weapons.js */ st.weapons = { init: function() { st.log("init weapons"); st.weapons.request(); }, request: function(uri) { st.log("requesting weapons from csv, uri[" + uri + "]"); Papa.parse("csv/st-weapons.csv", { delimiter: ",", download: true, header: true, complete: function(d) {...
18,167
https://github.com/Dowsley/SteelStats/blob/master/frontend/dashboard/src/components/graficos/GraficoTipoPerda.vue
Github Open Source
Open Source
MIT
null
SteelStats
Dowsley
Vue
Code
163
833
<template> <v-card rounded color="#fbfbfb" :loading="loading" > <v-card-actions> <v-col cols="12"> <v-row align="start" justify="space-around" > <v-btn icon color="#3a3c53" @click="refresh()" > <v-icon>mdi-refresh</v-icon> </v-btn> </v-row> </v-col>...
17,544
https://github.com/singyichen/crud-app/blob/master/src/features/todo/todo.controller.ts
Github Open Source
Open Source
MIT
2,022
crud-app
singyichen
TypeScript
Code
27
80
import { Controller, Get, UseGuards } from '@nestjs/common'; import { AuthGuard } from '../../guards/auth.guard'; @Controller('todos') @UseGuards(AuthGuard) export class TodoController { @Get() getAll() { return []; } }
30,787
https://github.com/pradeepcse504/MixedDrinkIterator/blob/master/src/mixeddrinkiterator/NoonIterator.java
Github Open Source
Open Source
Apache-2.0
null
MixedDrinkIterator
pradeepcse504
Java
Code
59
195
package mixeddrinkiterator; import java.util.*; public class NoonIterator implements Iterator{ List<MixedDrinkItem> mixedDrinkItems; int position = 0; public NoonIterator( List<MixedDrinkItem> mixedDrinkItems) { this.mixedDrinkItems = mixedDrinkItems; } public boolean hasNext() { if(position >= mixedDrinkItems...
49,601
https://github.com/masakih/KCD/blob/master/KCDTests/CombinedBattleTest.swift
Github Open Source
Open Source
BSD-2-Clause
null
KCD
masakih
Swift
Code
824
2,994
// // CombinedBattleTest.swift // KCDTests // // Created by Hori,Masaki on 2017/11/27. // Copyright © 2017年 Hori,Masaki. All rights reserved. // import XCTest @testable import KCD import SwiftyJSON import Doutaku class CombinedBattleTest: XCTestCase { var savedShips: [Ship] = [] var shipsHp: [Int] ...
46,598
https://github.com/OkunaOrg/openbook-app/blob/master/lib/pages/home/pages/profile/widgets/profile_card/widgets/profile_bio.dart
Github Open Source
Open Source
BSD-3-Clause, MIT
2,019
openbook-app
OkunaOrg
Dart
Code
76
278
import 'package:Okuna/models/user.dart'; import 'package:Okuna/widgets/theming/actionable_smart_text.dart'; import 'package:flutter/material.dart'; class OBProfileBio extends StatelessWidget { final User user; const OBProfileBio(this.user); @override Widget build(BuildContext context) { return StreamBuil...
5,892
https://github.com/SKT-T1-Keyoubi/NeteaseLottery/blob/master/网易彩票/Class/Setting/Model/CPHtmlPage.h
Github Open Source
Open Source
Apache-2.0
2,016
NeteaseLottery
SKT-T1-Keyoubi
Objective-C
Code
45
146
// // CPHtmlPage.h // 网易彩票 // // Created by LoveQiuYi on 16/1/17. // Copyright © 2016年 LoveQiuYi. All rights reserved. // #import <Foundation/Foundation.h> @interface CPHtmlPage : NSObject @property (nonatomic,copy) NSString * title; @property (nonatomic,copy) NSString * html; @property (nonatomic,copy) NSString...
25,181
https://github.com/io7m/coreland-plexlog-ada/blob/master/UNIT_TESTS/t_space.adb
Github Open Source
Open Source
ISC
2,010
coreland-plexlog-ada
io7m
Ada
Code
121
397
with Plexlog.API; with test; procedure t_space is begin declare Space : constant Plexlog.API.Long_Positive := Plexlog.API.Space_Requirement (Max_Files => 1, Max_Size => 1024); begin test.assert (check => Space = 2048, pass_message => "Space = " & Plexlog.API.Long_Positive'Image ...
45,832
https://github.com/jboullion/The-Gathering-Place/blob/master/wp-content/plugins/admin-columns-pro/classes/Editing/classes/Model/Post/Status.php
Github Open Source
Open Source
MIT
2,019
The-Gathering-Place
jboullion
PHP
Code
127
397
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } class ACP_Editing_Model_Post_Status extends ACP_Editing_Model { public function get_view_settings() { $post_type_object = get_post_type_object( $this->column->get_post_type() ); if ( ! $post_type_object || ! current_user_can( $post_type_object->cap->publish_posts ...
35,655
https://github.com/dustContributor/lwjgl3/blob/master/modules/lwjgl/sse/src/generated/c/org_lwjgl_util_simd_SSE3.c
Github Open Source
Open Source
BSD-3-Clause
2,021
lwjgl3
dustContributor
C
Code
69
458
/* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ #include "common_tools.h" #include "intrinsics.h" EXTERN_C_ENTER JNIEXPORT void JNICALL JavaCritical_org_lwjgl_util_simd_SSE3__1MM_1SET_1DENORMALS_1ZERO_1MODE(jint mode) { _MM_SET...
41,748
https://github.com/wesamjibreen/dashboard/blob/master/src/components/partials/widgets/stat/SocialStatWidget.vue
Github Open Source
Open Source
MIT
2,022
dashboard
wesamjibreen
Vue
Code
67
291
<script setup lang="ts"> const props = defineProps<{ icon: string value: string straight?: boolean squared?: boolean colored?: boolean }>() </script> <template> <div class="stat-widget followers-stat-widget-v1" :class="[props.straight && 'is-straight']" > <div class="follow-block"> <div...
42,299
https://github.com/iammerrick/StyleManager/blob/master/src/StyleManager.js
Github Open Source
Open Source
MIT
2,015
StyleManager
iammerrick
JavaScript
Code
107
400
//= helpers.js //= renderers/AbstractRenderer.js //= renderers/Renderer.js //= renderers/IERenderer.js var StyleManager = function(name) { this.setRenderer(name); this.stylesheets = {}; this.changed = []; }; StyleManager.prototype.setRenderer = function(name) { if (document.createStyleSheet) { this.re...
28,909
https://github.com/LokiMidgard/Fluent.Net/blob/master/Fluent.Net.Test/LangNeg/NegotiateTest.cs
Github Open Source
Open Source
Apache-2.0
2,022
Fluent.Net
LokiMidgard
C#
Code
1,276
4,557
using Fluent.Net.Plural; using FluentAssertions; using NUnit.Framework; using System; using System.Collections.Generic; using System.Text; using Fluent.Net.LangNeg; namespace Fluent.Net.Test.LangNeg { public class NegotiateTest { public class NegotiateTestCase { public string Name ...
4,142
https://github.com/LaserSrl/KrakeAndroid/blob/master/trip/src/main/kotlin/com/krake/bus/viewmodel/BusStopsViewModel.kt
Github Open Source
Open Source
Apache-2.0
2,021
KrakeAndroid
LaserSrl
Kotlin
Code
147
587
package com.krake.bus.viewmodel import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import com.krake.OtpDataRepository import com.krake.bus.model.BusStop import com.krake.bus.model.OtpStopTime import com.krake.core.thread.AsyncTask import com.krake.core.thre...
23,355
https://github.com/jastkand/vk-notifications/blob/master/app/storages/PostsCountStorage.js
Github Open Source
Open Source
MIT
2,016
vk-notifications
jastkand
JavaScript
Code
69
205
export function getPostsCount() { return new Promise((resolve) => { chrome.storage.local.get({ posts_count: {} }, (items) => resolve(items.posts_count)) }) } export async function resetTotalPostsCount() { const postsCount = await getPostsCount() postsCount['total'] = 0 return savePostsCount(postsCount) }...
1,072
https://github.com/hansenhahn/playton-2/blob/master/.gitignore
Github Open Source
Open Source
CC0-1.0
2,023
playton-2
hansenhahn
Ignore List
Code
25
79
ROM Original/ ROM Modificada/ All Files/ Arquivos Gerados/ Ferramentas/ Programas/ Imagens Originais (Outros)/ Output/4215 - Professor Layton and Pandora's Box (EUR)(BAHAMUT).nds Textos Traduzidos DELETAR/ Screenshots/
7,862
https://github.com/aquiladev/ddns-action/blob/master/node_modules/uns/contracts/IUNSRegistry.sol
Github Open Source
Open Source
MIT
2,022
ddns-action
aquiladev
Solidity
Code
640
1,309
// @author Unstoppable Domains, Inc. // @date June 16th, 2021 pragma solidity ^0.8.0; import '@openzeppelin/contracts-upgradeable/token/ERC721/extensions/IERC721MetadataUpgradeable.sol'; import './IRecordStorage.sol'; interface IUNSRegistry is IERC721MetadataUpgradeable, IRecordStorage { event NewURI(uint256 in...
3,497
https://github.com/hsiaoyi0504/SC3/blob/master/test/out/ERS1348818/results.tsv
Github Open Source
Open Source
MIT
2,018
SC3
hsiaoyi0504
TSV
Code
8
35
SRA Heterozygous SNPs Homozygous SNPs ERR1630361 199474657,199474659, 121434453,
15,758
https://github.com/Matias-Sala/documents-management/blob/master/angular_document_management/.dart_tool/build/generated/angular_components/lib/mixins/has_tab_index.ddc.js
Github Open Source
Open Source
BSD-3-Clause
2,019
documents-management
Matias-Sala
JavaScript
Code
159
1,013
define(['dart_sdk', 'packages/quiver/strings', 'packages/angular_components/utils/angular/properties/properties'], function(dart_sdk, strings, properties) { 'use strict'; const core = dart_sdk.core; const dart = dart_sdk.dart; const dartx = dart_sdk.dartx; const strings$ = strings.strings; const utils__angu...
42,365
https://github.com/RevskyAndrey/frontend-course-2021/blob/master/homeworks/kostya.bublyk_ConstBagel/3-async/scripts/script.js
Github Open Source
Open Source
MIT
2,021
frontend-course-2021
RevskyAndrey
JavaScript
Code
222
720
const url = 'https://jsonplaceholder.typicode.com/posts'; /** * get json data from response */ async function getArticles() { const response = await fetch(url); return response.json(); } /** * object with functions for sorting */ const orderBy = { DEF: (arr) => [...arr], ASC: (arr) => [...arr].sort(...
40,010
https://github.com/claranet/terraform-provider-ansiblevault/blob/master/pkg/provider/in_env_test.go
Github Open Source
Open Source
MIT
2,021
terraform-provider-ansiblevault
claranet
Go
Code
218
717
package provider import ( "errors" "fmt" "path" "testing" "github.com/MeilleursAgents/terraform-provider-ansiblevault/v2/pkg/vault" ) func TestInEnvRead(t *testing.T) { var cases = []struct { intention string env string key string want string wantErr error }{ { "simple", "...
39,194
https://github.com/lmottasin/Simulation_Lab/blob/master/Assignment 02- Monte Carlo Area/problem1.py
Github Open Source
Open Source
MIT
2,022
Simulation_Lab
lmottasin
Python
Code
271
966
# -*- coding: utf-8 -*- """problem1 simulation offline 2 Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1PU90MXoRQIPmIMT9qLtaqUqCDgVqCVUA """ #import the libraries import matplotlib.pyplot as plt import random import math import numpy as np # store v...
22,622
https://github.com/bxb100/action-upload-webdav/blob/master/__tests__/util.test.ts
Github Open Source
Open Source
MIT
2,022
action-upload-webdav
bxb100
TypeScript
Code
151
684
import {filePaths, unmatchedPatterns} from '../src/util' import * as assert from 'assert' import * as path from 'path' const rootPath = path.join(__dirname, '..') describe('util', () => { describe('paths', () => { it('expect github glob function', async () => { assert.deepStrictEqual( ...
7,222
https://github.com/wmacevoy/testrng/blob/master/dieharder/d012/g027/d012_g027_S516976200.sh
Github Open Source
Open Source
Apache-2.0
null
testrng
wmacevoy
Shell
Code
8
23
#!/bin/bash dieharder -d 12 -g 27 -S 516976200
24,182
https://github.com/rodrigosarri/access-control-time/blob/master/src/main/java/br/dev/universos/act/controllers/OccurrenceController.java
Github Open Source
Open Source
MIT
2,021
access-control-time
rodrigosarri
Java
Code
103
501
package br.dev.universos.act.controllers; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.GetMapping; import org.springfram...
41,688
https://github.com/TeamDDG/AvicusScrimmage/blob/master/src/main/java/in/twizmwaz/cardinal/module/modules/gamerules/GamerulesBuilder.java
Github Open Source
Open Source
MIT
2,022
AvicusScrimmage
TeamDDG
Java
Code
61
267
package in.twizmwaz.cardinal.module.modules.gamerules; import in.twizmwaz.cardinal.match.Match; import in.twizmwaz.cardinal.module.ModuleBuilder; import in.twizmwaz.cardinal.module.ModuleCollection; import org.jdom2.Element; import java.util.HashSet; import java.util.Set; public class GamerulesBuilder implements Mod...
24,217
https://github.com/danielferber/slf4j-toys/blob/master/slf4j-toys/src/main/java/org/usefultoys/slf4j/internal/EventWriter.java
Github Open Source
Open Source
ECL-2.0, Apache-2.0
2,019
slf4j-toys
danielferber
Java
Code
1,063
2,464
/* * Copyright 2019 Daniel Felix Ferber * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
8,449
https://github.com/XiaoMi/mone/blob/master/hera-all/opentelemetry-java/sdk/common/src/main/java/io/opentelemetry/sdk/internal/ComponentRegistry.java
Github Open Source
Open Source
Apache-2.0
2,023
mone
XiaoMi
Java
Code
291
675
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.sdk.internal; import io.opentelemetry.sdk.common.InstrumentationLibraryInfo; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.concurrent.ConcurrentHashMa...
50,105
https://github.com/googleapis/java-spanner/blob/master/google-cloud-spanner/src/test/java/com/google/cloud/spanner/MockOperationsServiceImpl.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,023
java-spanner
googleapis
Java
Code
455
1,615
/* * Copyright 2019 Google LLC * * 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 applicable law or agreed to ...
18,920
https://github.com/DTStack/flinkStreamSQL/blob/master/polardb/polardb-side/polardb-all-side/src/test/java/com/dtstack/flink/sql/side/polardb/PolardbAllReqRowTest.java
Github Open Source
Open Source
Apache-2.0
2,022
flinkStreamSQL
DTStack
Java
Code
20
98
package com.dtstack.flink.sql.side.polardb; import com.dtstack.flink.sql.side.rdb.all.RdbAllReqRowTestBase; public class PolardbAllReqRowTest extends RdbAllReqRowTestBase { @Override protected void init() { clazz = PolardbAllReqRow.class; } }
34,819
https://github.com/tobiaselsaesser/COPASI/blob/master/copasi/xml/.cvsignore
Github Open Source
Open Source
LicenseRef-scancode-other-copyleft, Artistic-2.0, LicenseRef-scancode-proprietary-license
2,018
COPASI
tobiaselsaesser
Ignore List
Code
3
13
Makefile schema *.xcodeproj
6,502
https://github.com/baitongda/xy2s/blob/master/application/admin/model/AuthModel.php
Github Open Source
Open Source
Apache-2.0
2,021
xy2s
baitongda
PHP
Code
321
1,749
<?php namespace app\admin\model; use think\Model; use think\Validate; use app\admin\service\AuthService; /*目前还不用到模型,要多关联才会用到 要明白这个问题,必须了解 MVC 历史。早在 MVC 出现以前,程序员是将 html、css、js、php、SQL 写在一个 .php 文件内的,那时的网页非常简单。后来复杂了,需要多个人协同开发,一个开发后台,专写 php + SQL,一个开发前端,专写 html + css + js。形成了 VC 架构,但有个问题,他们之间不是异步开发的,而是同步开发,前端写完模板,phper ...
2,517
https://github.com/phillrog/lista-telefonica/blob/master/ListaTelefonica.Infra.Data/EntityConfig/PersonPhoneConfiguration.cs
Github Open Source
Open Source
MIT
2,019
lista-telefonica
phillrog
C#
Code
56
285
using System; using System.Collections.Generic; using System.Text; using ListaTelefonica.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace ListaTelefonica.Infra.Data.EntityConfig { public class PersonPhoneConfiguration : IEntityTypeConfiguration<Pe...
26,698
https://github.com/lorenzojanrommel/blog-laravel-php/blob/master/resources/views/articles/single_article.blade.php
Github Open Source
Open Source
MIT
null
blog-laravel-php
lorenzojanrommel
PHP
Code
18
120
@extends('applayout') @section('title') {{$article->title}} @endsection @section('main_content') <div class="container"> <h3>{{$article->title}}</h3> <p>{{$article->content}}</p> <a href='{{url("articles/$article->id/edit")}}'><button class="btn green darken-4">Edit this article</button></a> </div> @endsectio...
15,567
https://github.com/apache/incubator-pekko/blob/master/remote/src/test/scala/org/apache/pekko/remote/artery/OutboundHandshakeSpec.scala
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0, LicenseRef-scancode-protobuf, LicenseRef-scancode-public-domain, BSD-2-Clause, Unlicense, CC0-1.0
2,023
incubator-pekko
apache
Scala
Code
436
1,882
/* * Licensed to the Apache Software Foundation (ASF) under one or more * license agreements; and to You under the Apache License, version 2.0: * * https://www.apache.org/licenses/LICENSE-2.0 * * This file is part of the Apache Pekko project, which was derived from Akka. */ /* * Copyright (C) 2016-2022 Light...
2,550
https://github.com/deepak-devadiga/cowin/blob/master/src/app/pages/tabs-page/tabs-page-routing.module.ts
Github Open Source
Open Source
Apache-2.0
null
cowin
deepak-devadiga
TypeScript
Code
123
393
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { TabsPage } from './tabs-page'; import { AnalyticsPage } from '../analytics/analytics'; const routes: Routes = [ { path: 'tabs', component: TabsPage, children: [ { path: 'analytics', ...
37,625
https://github.com/kerrbrittany9/best-restaurants/blob/master/views/cuisine.html.twig
Github Open Source
Open Source
MIT
null
best-restaurants
kerrbrittany9
Twig
Code
91
398
<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="css/bootstrap.css"> <link href="css/styles.css" rel="stylesheet" type="text/css"> <title>Cuisines</title> </head> <body> <h1>{{ cuisine.getType }}</h1> {% if restaurants is not empty %} <p>Here are your restaurants:</p> <u...
50,665
https://github.com/pv42/OC/blob/master/wdb/libwdbserver.lua
Github Open Source
Open Source
MIT
null
OC
pv42
Lua
Code
191
562
local db = {} local libudp = require("libudp") local libwdb = require("libwdb") local serialization = require("serialization") local fs = require("filesystem") local log = require("log") local event = require("event") local path = "/usr/wdb/" local function recivePackage(package) --package = serialization.unserial...
29,157
https://github.com/fengxiaochuang/jnieasy/blob/master/src/com/innowhere/jnieasy/core/listener/FetchLifecycleEvent.java
Github Open Source
Open Source
Apache-2.0
2,016
jnieasy
fengxiaochuang
Java
Code
165
335
/* * AttachCopyLifecycleEvent.java * * Created on 22 de septiembre de 2005, 18:21 * * To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor...
13,858
https://github.com/colinmahns/darkweb-everywhere/blob/master/install.sh
Github Open Source
Open Source
Unlicense
2,016
darkweb-everywhere
colinmahns
Shell
Code
7
45
#!/bin/sh cp rules/*.xml ~/tor-browser_en-US/Data/Browser/profile.default/HTTPSEverywhereUserRules/ echo "Installation completed."
50,076
https://github.com/Aghabekyan/ararat/blob/master/sass/_icons.scss
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,017
ararat
Aghabekyan
SCSS
Code
191
842
@charset "UTF-8"; @font-face { font-family: "aricons"; src:url("../fonts/aricons.eot"); src:url("../fonts/aricons.eot?#iefix") format("embedded-opentype"), url("../fonts/aricons.woff") format("woff"), url("../fonts/aricons.ttf") format("truetype"), url("../fonts/aricons.svg#aricons") format("svg"); ...
33,480
https://github.com/linkedpipes/etl/blob/master/executor/src/main/java/com/linkedpipes/etl/executor/pipeline/model/ConfigurationDescription.java
Github Open Source
Open Source
MIT
2,023
etl
linkedpipes
Java
Code
94
318
package com.linkedpipes.etl.executor.pipeline.model; import com.linkedpipes.etl.executor.api.v1.vocabulary.LP_OBJECTS; import com.linkedpipes.etl.rdf.utils.model.BackendRdfValue; import com.linkedpipes.etl.rdf.utils.pojo.Loadable; /** * Represent a configuration description. */ public class ConfigurationDescription...
24,149
https://github.com/alipay/alipay-sdk-net-all/blob/master/v2/AlipaySDKNet/Response/AlipayOpenMiniOrderDeliveryReceiveResponse.cs
Github Open Source
Open Source
Apache-2.0
2,023
alipay-sdk-net-all
alipay
C#
Code
21
81
using System; using System.Xml.Serialization; namespace Aop.Api.Response { /// <summary> /// AlipayOpenMiniOrderDeliveryReceiveResponse. /// </summary> public class AlipayOpenMiniOrderDeliveryReceiveResponse : AopResponse { } }
5,605
https://github.com/enrico-dgr/personal-site/blob/master/fe/src/index.tsx
Github Open Source
Open Source
MIT
2,022
personal-site
enrico-dgr
TypeScript
Code
111
330
import React, { lazy, Suspense } from 'react'; import * as ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { BrowserRouter as Router, Redirect, Route, Switch } from 'react-router-dom'; import { PersistGate } from 'redux-persist/integration/react'; import store from './store'; const PersonalS...
48,541
https://github.com/ka2ush19e/play-scala/blob/master/app/dao/DogDAO.scala
Github Open Source
Open Source
Apache-2.0
null
play-scala
ka2ush19e
Scala
Code
117
452
package dao import javax.inject.Inject import scala.concurrent.Future import models.Dog import play.api.db.slick.{DatabaseConfigProvider, HasDatabaseConfigProvider} import play.api.libs.concurrent.Execution.Implicits.defaultContext import slick.driver.JdbcProfile import slick.lifted.ProvenShape class DogDAO @Inject...
15,774
https://github.com/Mengsen-W/algorithm/blob/master/29_divide/divide.cpp
Github Open Source
Open Source
BSD-3-Clause
null
algorithm
Mengsen-W
C++
Code
179
540
/* * @Date: 2021-10-12 21:04:00 * @Author: Mengsen Wang * @LastEditors: Mengsen Wang * @LastEditTime: 2021-10-12 21:05:03 */ #include <cassert> #include <climits> #include <vector> using namespace std; class Solution { public: int divide(int dividend, int divisor) { // 考虑被除数为最小值的情况 if (dividend == IN...
49,041
https://github.com/varukirie/admgc/blob/master/src/main/resources/templates/inner/structure.ftl
Github Open Source
Open Source
MIT
2,019
admgc
varukirie
FreeMarker
Code
50
200
<#-- 递归 宏定义 --> <#macro dirTreeBuild curDir> <#list curDir.nodes as node> <#if (node.simpleClassName=="LinkNode") > <link href="${node.href}" name="${node.name}"/> </#if> <#if (node.simpleClassName=="DirNode") > <dir name="${node.name}" > <@dirTreeBuild curDir = node /> </dir> </#if> </#list> </#macro> <site ...
30,974
https://github.com/maltelenz/ModelicaStandardLibrary/blob/master/Modelica/Thermal/HeatTransfer/UsersGuide/ReleaseNotes.mo
Github Open Source
Open Source
BSD-3-Clause
null
ModelicaStandardLibrary
maltelenz
Modelica
Code
24
140
within Modelica.Thermal.HeatTransfer.UsersGuide; class ReleaseNotes "Release Notes" extends Modelica.Icons.ReleaseNotes; annotation (preferredView="info",Documentation(info="<html> <h5>Version 4.0.0, 2019-10-18</h5> <ul> <li>Add User's Guide, see <a href=\"https://github.com/modelica/ModelicaStandardLibrar...
23,031
https://github.com/wanglei339/wms-test/blob/master/wms-rf/src/main/java/com/lsh/wms/rf/service/inhouse/ProcurementRestService.java
Github Open Source
Open Source
Apache-2.0
null
wms-test
wanglei339
Java
Code
1,547
9,220
package com.lsh.wms.rf.service.inhouse; import com.alibaba.dubbo.config.annotation.Reference; import com.alibaba.dubbo.config.annotation.Service; import com.alibaba.dubbo.rpc.protocol.rest.support.ContentType; import com.lsh.base.common.config.PropertyUtils; import com.lsh.base.common.exception.BizCheckedException; im...
50,931
https://github.com/Punkline/Melee-Code-Manager/blob/master/.include/punkpc/all.s
Github Open Source
Open Source
Apache-2.0
null
Melee-Code-Manager
Punkline
GAS
Code
18
107
.include "punkpc\\blaba.s" .include "punkpc\\dbg.s" .include "punkpc\\enum.s" .include "punkpc\\idxr.s" .include "punkpc\\ifalt.s" .include "punkpc\\ld.s" .include "punkpc\\smallints.s" .include "punkpc\\xem.s" .include "punkpc\\xev.s"
45,473
https://github.com/amartyniuk/Citrus/blob/master/Tangerine/Tangerine.Core/Operations/ClearRowSelection.cs
Github Open Source
Open Source
MIT
2,021
Citrus
amartyniuk
C#
Code
54
156
using System; using System.Collections.Generic; using System.Linq; using Lime; using Tangerine.Core; namespace Tangerine.Core.Operations { public static class ClearRowSelection { public static void Perform() { var rows = Document.Current.Rows.ToList(); // Use temporary row list to avoid 'Collection was mod...
7,029