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/seongyeon1/Re-Born-Web/blob/master/anonymous/urls.py
Github Open Source
Open Source
MIT
2,020
Re-Born-Web
seongyeon1
Python
Code
80
391
from django.conf import settings from django.conf.urls.static import static from django.urls import path from . import views from django.contrib import messages from django.shortcuts import redirect from users.decorators import login_message_required from django.views.static import serve app_name = 'anonymous' @login...
10,369
https://github.com/zoomlacms/web002/blob/master/Source-Code-豫章小学全站源代码/manage/AddOn/ProjectCategoryManage.aspx
Github Open Source
Open Source
Apache-2.0
2,020
web002
zoomlacms
null
Spoken
161
1,107
<%@ page language="C#" autoeventwireup="true" inherits="manage_AddOn_ProjectCategoryManage, App_Web_orznmsil" enableEventValidation="false" viewStateEncryptionMode="Never" %> <!DOCTYPE HTML> <html> <head runat="server"> <title>项目分类管理</title> <link href="../../App_Themes/AdminDefaultTheme/Guide.css" type="text/css" ...
5,762
https://github.com/CherryFl0wer/webify/blob/master/backend/server.ts
Github Open Source
Open Source
MIT
2,018
webify
CherryFl0wer
TypeScript
Code
215
738
import * as express from 'express'; import * as bodyParser from 'body-parser'; import * as cookieParser from 'cookie-parser'; import * as mongoose from 'mongoose'; import * as cors from 'cors'; import { HelperSpotify } from './helpers/spotify'; import { DBConfig } from './config/database'; import { UserController } fr...
371
https://github.com/Abydars/survey/blob/master/core/resources/views/partials/home/footer.blade.php
Github Open Source
Open Source
MIT
2,019
survey
Abydars
Blade
Code
287
1,484
<!--Footer Wrap Start--> <div class="gt_footer_bg default_width"> <div class="container"> <div class="row"> <div class="col-md-3"> <div class="foo_col_outer_wrap default_width"> <div class="row"> <div class="col-md-12 col-sm-12"> <div c...
37,113
https://github.com/bendo01/laravel8fresh/blob/master/app/Lib/Chart/Radar.php
Github Open Source
Open Source
MIT
2,020
laravel8fresh
bendo01
PHP
Code
248
846
<?php declare (strict_types = 1); namespace App\Lib\Chart; class Radar { public $title; public $legend; public $toolbox; public $calculable; public $tooltip; public $polar; public $series; public function __construct() { $this->title = new \stdClass; $thi...
5,164
https://github.com/NikFG/Re-publica/blob/master/cadastrar.php
Github Open Source
Open Source
MIT
2,020
Re-publica
NikFG
PHP
Code
115
367
<!DOCTYPE html> <!-- To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor. --> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <?php $servid...
39,832
https://github.com/adrianegraphene/jNano/blob/master/src/main/java/uk/oczadly/karl/jnano/callback/httpserver/HttpCallback.java
Github Open Source
Open Source
MIT
null
jNano
adrianegraphene
Java
Code
10
42
package uk.oczadly.karl.jnano.callback.httpserver; public interface HttpCallback { void onRequest(HttpRequest request); }
1,662
https://github.com/Shashi-rk/azure-sdk-for-java/blob/master/sdk/customerinsights/azure-resourcemanager-customerinsights/src/main/java/com/azure/resourcemanager/customerinsights/models/Predictions.java
Github Open Source
Open Source
MIT
2,022
azure-sdk-for-java
Shashi-rk
Java
Code
1,397
2,701
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.customerinsights.models; import com.azure.core.http.rest.PagedIterable; import com.azure.core.http.rest.Response; import com.azu...
33,388
https://github.com/atata-framework/atata/blob/master/src/Atata/EventBus/IEventHandler`1.cs
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,023
atata
atata-framework
C#
Code
46
132
namespace Atata; /// <summary> /// Handles <typeparamref name="TEvent"/> events. /// </summary> /// <typeparam name="TEvent">The type of the event.</typeparam> public interface IEventHandler<in TEvent> { /// <summary> /// Handles the event. /// </summary> /// <param name="eventData">The event data.</p...
43,381
https://github.com/tonysbabu/TrelloDemo-Angular/blob/master/node_modules/ng2-ui-sortable/src/ng2-sortable.directive.ts
Github Open Source
Open Source
MIT
null
TrelloDemo-Angular
tonysbabu
TypeScript
Code
267
939
import {Component, ElementRef, ViewChild, Directive, ViewContainerRef, Output, EventEmitter} from '@angular/core' @Directive({ selector: '[ng2-sortable]' }) export class Ng2SortableDirective { ulEl: HTMLElement; // <ul> liEls: NodeListOf<Element>; // <li> <li> draggingEl: HTMLElement; // LI element t...
4,959
https://github.com/nickfehlinger/nickfehlinger.nyc/blob/master/gatsby-config.js
Github Open Source
Open Source
0BSD
null
nickfehlinger.nyc
nickfehlinger
JavaScript
Code
75
252
/** * Configure your Gatsby site with this file. * * See: https://www.gatsbyjs.org/docs/gatsby-config/ */ module.exports = { /* Your site config here */ plugins: [ { resolve: '@kentico/gatsby-source-kontent', options: { projectId: '64db5c2c-873d-002c-d203-dd85e4f87b50', language...
52,853
https://github.com/0verIords/comedian/blob/master/reporting/reporting.go
Github Open Source
Open Source
MIT
2,018
comedian
0verIords
Go
Code
1,017
3,581
package reporting import ( "fmt" "time" "github.com/jasonlvhit/gocron" "github.com/maddevsio/comedian/chat" "github.com/maddevsio/comedian/config" "github.com/maddevsio/comedian/model" "github.com/maddevsio/comedian/storage" "github.com/maddevsio/comedian/utils" "github.com/nlopes/slack" "github.com/sirupse...
36,090
https://github.com/MechMaster48/RainbowSixSiege-Python-API/blob/master/r6sapi/definitions/models.py
Github Open Source
Open Source
MIT
2,022
RainbowSixSiege-Python-API
MechMaster48
Python
Code
893
2,028
""" Copyright (c) 2016-2020 jackywathy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute...
21,302
https://github.com/senacor/schnauf-r/blob/master/backend/schnaufr-schnauf/src/test/kotlin/com/senacor/schnaufr/schnauf/SchnauferRepositorySpek.kt
Github Open Source
Open Source
MIT
2,019
schnauf-r
senacor
Kotlin
Code
69
317
package com.senacor.schnaufr.schnauf import com.senacor.schnaufr.UUID import com.senacor.schnaufr.model.Schnauf import com.senacor.schnaufr.mongoDB import org.spekframework.spek2.Spek import org.spekframework.spek2.style.specification.describe import strikt.api.expectThat import strikt.assertions.isEqualTo class Schn...
29,544
https://github.com/usnistgov/SCTK/blob/master/src/sclite/slm_v2/src/pc_libs/pc_message.c
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain, NIST-Software
2,022
SCTK
usnistgov
C
Code
150
300
/*===================================================================== ======= COPYRIGHT NOTICE ======= Copyright (C) 1996, Carnegie Mellon University, Cambridge University, Ronald Rosenfeld and Philip Clarkson. All rights reserved. This software is made available for research purposes only. It ...
8,409
https://github.com/Haroenv/GitSyncMac/blob/master/Sources/GitSyncMac/window/view/ConflictDialogView.swift
Github Open Source
Open Source
MIT
2,017
GitSyncMac
Haroenv
Swift
Code
454
1,614
import Foundation @testable import Utils @testable import Element /** * MERGE Conflict dialog view * TODO: Make the review buttons as a clickable text in the keep radiobuttons. * TODO: Inline the radiobuttons: Keep: (x) local, () remote, () both * TODO: Remove the cancel button and enable the close button again *...
1,616
https://github.com/mobilesystems/box-android-sdk-v2/blob/master/HelloWorld2/src/com/example/helloworld/HelloWorldApplication.java
Github Open Source
Open Source
Apache-2.0
2,013
box-android-sdk-v2
mobilesystems
Java
Code
62
171
package com.example.helloworld; import com.box.boxandroidlibv2.BoxAndroidClient; import android.app.Application; public class HelloWorldApplication extends Application{ public static final String CLIENT_ID = ""; public static final String CLIENT_SECRET = ""; private BoxAndroidClient mClient; public void ...
51,584
https://github.com/dapicester/image-search/blob/master/demo/src/utils.cpp
Github Open Source
Open Source
BSD-2-Clause
2,016
image-search
dapicester
C++
Code
229
847
/** * @file utils.cpp * @brief Utility functions for the image search demo. * @author Paolo D'Apice */ #include "utils.hpp" #include <vis/callbacks.hpp> #include <vis/descriptors.hpp> #include <fstream> #include <QMessageBox> #include <QProgressDialog> namespace fs = boost::filesystem; using std::string; usin...
9,960
https://github.com/Dbevan/SunderingShadows/blob/master/d/newbie/rooms/drow/rooms/old/dn4.c
Github Open Source
Open Source
MIT
2,021
SunderingShadows
Dbevan
C
Code
40
166
#include <std.h> #include "../drownew.h" inherit PASSAGE; void create(){ ::create(); set_exits(([ "west" : DNROOMS+"dn3", "southeast" : DNROOMS+"dn5" ])); set_door("door",DNROOMS+"dn3","west"); set_door_description("door","The door is heavily made and is reinforced "+ "with iron bands.")...
7,973
https://github.com/claireeallison/nowellpoint-integration-platform-parent/blob/master/nowellpoint-aws-sdk/src/main/java/com/nowellpoint/client/resource/ScheduledJobTypeResource.java
Github Open Source
Open Source
Apache-2.0
2,016
nowellpoint-integration-platform-parent
claireeallison
Java
Code
109
545
package com.nowellpoint.client.resource; import java.util.List; import com.nowellpoint.aws.http.HttpResponse; import com.nowellpoint.aws.http.RestResource; import com.nowellpoint.aws.http.Status; import com.nowellpoint.client.model.NowellpointServiceException; import com.nowellpoint.client.model.ScheduledJobType; imp...
49,293
https://github.com/Yend0r/gloomhaven-api-csharp/blob/master/src/GloomChars.Characters/Repositories/ScenarioRepository.cs
Github Open Source
Open Source
Unlicense
2,020
gloomhaven-api-csharp
Yend0r
C#
Code
305
1,009
using System; using Bearded.Monads; using GloomChars.Characters.Interfaces; using GloomChars.Characters.Models; using GloomChars.Common; using GloomChars.Common.Config; using Microsoft.Extensions.Options; using GloomChars.Characters.Repositories.Models; namespace GloomChars.Characters.Repositories { public class ...
40,496
https://github.com/source-foundry/ufodiff/blob/master/lib/ufodiff/utilities/ufo.py
Github Open Source
Open Source
MIT
2,021
ufodiff
source-foundry
Python
Code
346
1,012
#!/usr/bin/env python # -*- coding: utf-8 -*- # ==================================================== # Copyright 2017 Christopher Simpkins # MIT License # ==================================================== import os class Ufo(object): """ Validates filepaths based upon the Unified Font Object source speci...
2,556
https://github.com/schmax-max/client-mimis/blob/master/src/store/apis/submitSearchInput.js
Github Open Source
Open Source
MIT
2,020
client-mimis
schmax-max
JavaScript
Code
192
641
import axios from 'axios'; import * as actionTypes from '../actionTypes' const {editorLink} = require('../../_config') export function submitSearchInput (searchInput, searchType) { return (dispatch, getState) => { if (shouldTriggerSearchApi(getState(), searchInput)) { dispatch(requestSearchResponse(searc...
26,463
https://github.com/simakvladimir/bc-csharp-extensions/blob/master/src/crypto/digests/GOST34311Digest.cs
Github Open Source
Open Source
MIT
null
bc-csharp-extensions
simakvladimir
C#
Code
101
379
using Org.BouncyCastle.Crypto; using Org.BouncyCastle.Crypto.Digests; using Org.BouncyCastle.Crypto.Engines; using Org.BouncyCastle.Utilities; namespace Org.BouncyCastle.Extensions.Crypto.Digests { public class Gost34311Digest : IDigest, IMemoable { private Gost3411Digest digest = new Gost3411Digest(G...
44,301
https://github.com/atenagm1375/ML-Projects/blob/master/pd2.py
Github Open Source
Open Source
MIT
null
ML-Projects
atenagm1375
Python
Code
808
3,917
import pandas as pd import numpy as np from sklearn.model_selection import cross_validate, KFold from sklearn.metrics import confusion_matrix, accuracy_score, f1_score, precision_score, recall_score, make_scorer from sklearn.preprocessing import MinMaxScaler from sklearn.pipeline import Pipeline from sklearn.neighbors ...
4,661
https://github.com/AY1920S1-CS2103-T14-2/main/blob/master/src/test/java/seedu/tarence/model/ModelManagerTest.java
Github Open Source
Open Source
MIT
2,019
main
AY1920S1-CS2103-T14-2
Java
Code
456
2,084
package seedu.tarence.model; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import static seedu.tarence.model.Model.PREDICATE_SHOW_ALL_PERSONS; import static seedu.tarence.testutil.Asser...
30,652
https://github.com/smsaladi/easel/blob/master/miniapps/esl-selectn.man.in
Github Open Source
Open Source
BSD-3-Clause
2,019
easel
smsaladi
null
Spoken
221
487
.TH "esl\-selectn" 1 "@EASEL_DATE@" "Easel @EASEL_VERSION@" "Easel Manual" .SH NAME esl\-selectn \- select random subset of lines from file .SH SYNOPSIS .B esl\-selectn [\fIoptions\fR] .I nlines .I filename .SH DESCRIPTION .PP .B esl\-selectn selects .I nlines lines at random from file .I filename and outputs th...
11,465
https://github.com/luen-x/OfficeAssitant/blob/master/src/pages/components/academy/support-case-detail/content.vue
Github Open Source
Open Source
MIT
2,020
OfficeAssitant
luen-x
Vue
Code
57
218
<template> <div class="g-flex g-jc-c g-pd-t-20" style="height:inherit" > <oa-info :case-id="caseId"/> <!-- <oa-hot-case/> --> </div> </template> <script> import Info from './info'; import HotCase from './hot-case'; export default { name: 'oa-tpl', components: { 'oa-info': Info, 'oa-hot-case': HotCase }, ...
2,018
https://github.com/orangecms/graphcool-framework/blob/master/server/backend-api-system/src/main/scala/cool/graph/system/schema/types/Action.scala
Github Open Source
Open Source
Apache-2.0
2,021
graphcool-framework
orangecms
Scala
Code
132
555
package cool.graph.system.schema.types import sangria.schema._ import cool.graph.shared.models import cool.graph.system.schema.types.ActionTriggerMutationModel.ActionTriggerMutationModelContext import sangria.relay.Node object _Action { case class ActionContext(project: models.Project, action: models.Action) extend...
45,309
https://github.com/Regnander/CyclopsCore/blob/master/src/main/java/org/cyclops/cyclopscore/helper/GuiHelpers.java
Github Open Source
Open Source
MIT
null
CyclopsCore
Regnander
Java
Code
968
2,179
package org.cyclops.cyclopscore.helper; import net.minecraft.client.gui.Gui; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.renderer.texture.TextureAtlasSprite; import net.minecraft.client.renderer.texture.TextureMap; import net.minecraft.util.EnumFacing; import net.minecraft.util.Res...
23,685
https://github.com/The-Fireplace-Minecraft-Mods/Fireplace-Lib/blob/master/src/api/java/dev/the_fireplace/lib/api/client/interfaces/CustomButtonScreen.java
Github Open Source
Open Source
MIT
2,022
Fireplace-Lib
The-Fireplace-Minecraft-Mods
Java
Code
18
101
package dev.the_fireplace.lib.api.client.interfaces; import io.netty.util.concurrent.Promise; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; import java.util.Optional; @Environment(EnvType.CLIENT) public interface CustomButtonScreen<T> { Promise<Optional<T>> getNewValuePromise(); }
54,026
https://github.com/jhchill666/back-office/blob/master/src/js/search/SearchBetsPresenter.js
Github Open Source
Open Source
MIT
2,014
back-office
jhchill666
JavaScript
Code
678
2,777
module.exports = Backbone.View.extend({ commonModel :SportsCommonModel.getInstance(), initialize: function(options) { $.subscribe('onOpenBetsPopup', this, this.onOpenBetsPopup); $.subscribe('onCountBetsResult', this, this.onCountBetsResult); $.subscribe('onSearchBetsResult', this, ...
17,368
https://github.com/zahariaa/disentangled-dynamics/blob/master/src/supervised_encoderdecoder/solver.py
Github Open Source
Open Source
MIT
2,021
disentangled-dynamics
zahariaa
Python
Code
720
2,996
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Apr 9 13:22:30 2019 @author: benjamin """ import torch from torch.nn import MSELoss from torch.optim import RMSprop from torchvision import transforms from tqdm import tqdm import os import pickle import sys sys.path.append("..") # Adds higher dire...
32,313
https://github.com/laobevilaqua/template-angular-extension/blob/master/src/app/app.component.ts
Github Open Source
Open Source
MIT
null
template-angular-extension
laobevilaqua
TypeScript
Code
46
155
import { Component } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.scss'] }) export class AppComponent { exempleExecuteScript() { chrome.tabs.query({ active: true, currentWindow: true }, (tabs) => { const id = tabs[0].id; ...
15,886
https://github.com/CMUAbstract/libmspware/blob/master/src/MSP430i2xx/tlv.h
Github Open Source
Open Source
BSD-3-Clause
null
libmspware
CMUAbstract
C
Code
788
1,976
/* --COPYRIGHT--,BSD * Copyright (c) 2017, Texas Instruments Incorporated * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copy...
37,487
https://github.com/GoogleCloudPlatform/osconfig/blob/master/packages/yum_test.go
Github Open Source
Open Source
Apache-2.0
2,023
osconfig
GoogleCloudPlatform
Go
Code
944
3,335
// Copyright 2019 Google 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 by appl...
31,857
https://github.com/fujita-y/ypsilon/blob/master/src/subr_process.cpp
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, BSD-2-Clause
2,023
ypsilon
fujita-y
C++
Code
1,952
7,353
// Copyright (c) 2004-2022 Yoshikatsu Fujita / LittleWing Company Limited. // See LICENSE file for terms and conditions of use. #include "core.h" #include "arith.h" #include "list.h" #include "port.h" #include "violation.h" #include "vm.h" #include <cstring> static scm_bvector_t make_posix_env(VM* vm, scm_obj_t env)...
40,779
https://github.com/ParkCheolSun/ProjectAuction/blob/master/app/src/main/java/com/example/project_auction/base/BaseFragment.kt
Github Open Source
Open Source
Apache-2.0
2,021
ProjectAuction
ParkCheolSun
Kotlin
Code
84
284
package com.example.project_auction.base import android.content.Context import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.databinding.DataBindingUtil import androidx.databinding.ViewDataBinding import androidx.fragment.app.Fragment import...
40,245
https://github.com/Winnieluo0820/ljy_project/blob/master/src/sass/index.scss
Github Open Source
Open Source
MIT
null
ljy_project
Winnieluo0820
SCSS
Code
555
3,260
#kdl_banner .container{ height: 467px; .banner_cont{ width: 670px;height: 455px; margin-top: 10px;margin-left: 218px; } .banner_side{ width: 290px;height: 445px; background-color:#f7f7f7; padding:10px; h4{font-size:15px;height: 28px;line-height: 28px;col...
33,146
https://github.com/Filipe-Douglas-Slam/slam_lidar_kinect/blob/master/files/catkin_ws/build/hector_mapping/catkin_generated/installspace/hector_mapping-msg-extras.cmake
Github Open Source
Open Source
MIT
2,022
slam_lidar_kinect
Filipe-Douglas-Slam
CMake
Code
4
46
set(hector_mapping_MESSAGE_FILES "msg/HectorDebugInfo.msg;msg/HectorIterData.msg") set(hector_mapping_SERVICE_FILES "")
21,864
https://github.com/1690296356/jdk/blob/master/src/hotspot/cpu/aarch64/relocInfo_aarch64.cpp
Github Open Source
Open Source
Apache-2.0
2,020
jdk
1690296356
C++
Code
439
1,244
/* * Copyright (c) 1998, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2014, Red Hat Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Pu...
27,524
https://github.com/rapsealk/f1tenth_gym/blob/master/gym/f110_gym/unittest/pyglet_test_camera.py
Github Open Source
Open Source
MIT
2,021
f1tenth_gym
rapsealk
Python
Code
376
1,253
import pyglet from pyglet.gl import * # Zooming constants ZOOM_IN_FACTOR = 1.2 ZOOM_OUT_FACTOR = 1/ZOOM_IN_FACTOR class App(pyglet.window.Window): def __init__(self, width, height, *args, **kwargs): conf = Config(sample_buffers=1, samples=4, depth_size=16, ...
37,747
https://github.com/danish-deepsource/talaria/blob/master/internal/encoding/block/transform.go
Github Open Source
Open Source
MIT
2,022
talaria
danish-deepsource
Go
Code
530
1,194
// Copyright 2019-2020 Grabtaxi Holdings PTE LTE (GRAB), All rights reserved. // Use of this source code is governed by an MIT-style license that can be found in the LICENSE file package block import ( "reflect" "strconv" "time" "github.com/grab/talaria/internal/column" "github.com/grab/talaria/internal/encodin...
47,892
https://github.com/rustaeja/236/blob/master/src/del/icio/us/Delicious.java
Github Open Source
Open Source
BSD-3-Clause
null
236
rustaeja
Java
Code
4,336
13,926
/** * Copyright (c) 2004-2007, David A. Czarnecki * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this lis...
25,553
https://github.com/Indranil-Sarmah/simplecpu/blob/master/es/moreGates.js
Github Open Source
Open Source
MIT
2,020
simplecpu
Indranil-Sarmah
JavaScript
Code
191
1,254
function clicker(e){ checkAt(e.pageX-ctx.canvas.offsetLeft,e.pageY-ctx.canvas.offsetTop); update(); update(); update(); update(); update(); update(); drawFrame(); } function drawComments(){ ctx.setTransform(1,0,0,1,0,0); ctx.fillStyle = "#000000"; ctx.strokeStyle = "#000000"; ctx.fillText("\"and\"...
28,188
https://github.com/alexbahnisch/mosi/blob/master/src/main/mosi/format/solution/cplex.py
Github Open Source
Open Source
MIT
2,017
mosi
alexbahnisch
Python
Code
82
323
from xml.etree.ElementTree import parse as _parse, ParseError as _ParseError from ...common import BaseModel as _BaseModel, ModelStatus as _ModelStatus from .base import SolutionReader class CplexSolutionReader(SolutionReader): __STATUS__ = { "optimal": _ModelStatus.OPTIMAL } def __init__(self, ...
18,837
https://github.com/geekabel/portfolio_esgis/blob/master/web/app/themes/arrival/inc/image-sizes.php
Github Open Source
Open Source
MIT
null
portfolio_esgis
geekabel
PHP
Code
299
681
<?php /** * Responsive Images configuration * * @package arrival */ /** * Add custom image sizes attribute to enhance responsive image functionality * for content images. * * @param string $sizes A source size value for use in a 'sizes' attribute. * @param array $size Image size. Accepts an array of width a...
45,710
https://github.com/AndreasKaratzas/stonne/blob/master/pytorch-frontend/torch/csrc/jit/mobile/export_data.cpp
Github Open Source
Open Source
MIT
2,022
stonne
AndreasKaratzas
C++
Code
290
1,077
#include <torch/csrc/jit/mobile/export_data.h> #include <torch/csrc/jit/mobile/module.h> #include <torch/csrc/jit/runtime/instruction.h> #include <torch/csrc/jit/serialization/pickler.h> #include <torch/csrc/jit/serialization/type_name_uniquer.h> #include <caffe2/serialize/inline_container.h> #include <ATen/core/jit...
39,287
https://github.com/p151101/core/blob/master/resources/views/backend/setting/index.blade.php
Github Open Source
Open Source
MIT
2,017
core
p151101
Blade
Code
135
709
@extends('backend::layout') @section('page_header', trans("backend.setting.settings")) @section('page_description', trans("backend.setting.manage_settings")) @section('content') <div class="row"> <div class="col-md-12"> {!! Form::model($setting, ['method' => 'PATCH', 'files' => true, "class"=>"form-horizontal", 'ro...
5,739
https://github.com/thesheps/screwdriver/blob/master/tests/Sangria.Tests/GivenPut.cs
Github Open Source
Open Source
MIT
null
screwdriver
thesheps
C#
Code
625
2,681
using System.Net; using NUnit.Framework; using RestSharp; using Sangria.Exceptions; namespace Sangria.Tests { public class GivenPut { [Test] public void WhenIPutAResourceWithNoPredefinedBindings_Then404IsReturned() { const int port = Constants.Port; using (var ...
7,204
https://github.com/arcadien/sogilis-katalog/blob/master/solid-principles/typescript/srp/src/transaction-repository.ts
Github Open Source
Open Source
MIT
null
sogilis-katalog
arcadien
TypeScript
Code
16
40
import Transaction from './transaction'; interface TransactionRepository { add(transaction: Transaction): void; all(): Transaction[]; } export default TransactionRepository;
39,636
https://github.com/Duke-GCB/bespin-api/blob/master/data/migrations/0066_remove_workflow_configuration_allow_null.py
Github Open Source
Open Source
MIT
null
bespin-api
Duke-GCB
Python
Code
42
176
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2018-11-27 14:20 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('data', '0065_remove_workflowconfiguration_workflow_version'...
45,781
https://github.com/votemike/internet-archive-api/blob/master/src/Item.php
Github Open Source
Open Source
MIT
2,022
internet-archive-api
votemike
PHP
Code
354
1,011
<?php declare(strict_types=1); namespace Votemike\Archive; use stdClass; class Item { /** @var null|string */ public $avg_rating; /** @var null|string */ public $backup_location; /** @var null|string */ public $btih; /** @var null */ public $call_number; /** @var string[] */ ...
28,854
https://github.com/Stoakes/grpc-gateway-example/blob/master/server/http.go
Github Open Source
Open Source
Apache-2.0
2,022
grpc-gateway-example
Stoakes
Go
Code
114
486
package server import ( "context" "io" "mime" "net/http" "strings" "time" pb "github.com/Stoakes/grpc-gateway-example/echopb" "github.com/Stoakes/grpc-gateway-example/pkg/ui/data/swagger" assetfs "github.com/philips/go-bindata-assetfs" ) func prepareHTTP(ctx context.Context, serverName string) (*http.Server...
29,359
https://github.com/Callisto13/packstack/blob/master/frontend/src/app/components/EditItem/styles.ts
Github Open Source
Open Source
Apache-2.0
null
packstack
Callisto13
TypeScript
Code
28
88
import styled from 'styled-components'; export const ButtonGroup = styled.div` display: flex; justify-content: space-between; `; export const ModalTitle = styled.div` font-size: 1em; font-weight: 900; color: ${props => props.theme.color.$Dark}; `;
24,338
https://github.com/ekaneff/EmilyKaneffPortfolioOfficial/blob/master/Laravel-ShoppingCart/resources/views/partials/header.blade.php
Github Open Source
Open Source
MIT
2,017
EmilyKaneffPortfolioOfficial
ekaneff
Blade
Code
13
51
<header> <div class="head-container"> <a href="#">Shop all bikes</a> <a href="#">Build your own</a> </div> </header>
36,400
https://github.com/TobiasFaller/UniFr-Project-RayTracer-Rust/blob/master/src/anim/func.rs
Github Open Source
Open Source
MIT, Apache-2.0
2,017
UniFr-Project-RayTracer-Rust
TobiasFaller
Rust
Code
53
159
use anim::RayTraceAnimation; pub struct RayTraceAnimFunc<T> { func: Box<(Fn(usize) -> T) + Sync + Send> } impl<T> RayTraceAnimFunc<T> { pub fn new(func: Box<(Fn(usize) -> T) + Sync + Send>) -> Self { Self { func: func } } } impl<T> RayTraceAnimation<T> for RayTraceAnimFunc<T> { fn next_frame(&self, frame:...
19,793
https://github.com/hasedd/PFE/blob/master/public/Dassets/wp-content/plugins/WPQA/assets/js/edit.js
Github Open Source
Open Source
MIT
2,022
PFE
hasedd
JavaScript
Code
198
1,205
(function($) { "use strict"; /* Add categories */ if (jQuery(".add_categories_left_menu").length) { jQuery(".add_categories_left_menu").click("on",function () { var add_item = jQuery(this); var item_id = jQuery(this).data("id"); var item_name = jQuery(this).data("name"); var select_val = add_item.pa...
52,391
https://github.com/turingca/games/blob/master/1/ourearth/runtime/win32/script/studio/jsb_cocos2d_studio.js
Github Open Source
Open Source
MIT
2,022
games
turingca
JavaScript
Code
1,546
4,523
/* * Copyright (c) 2013-2014 Chukong Technologies 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 use, copy, mod...
13,797
https://github.com/castlefields/seed-angular1/blob/master/my-project/.gitignore
Github Open Source
Open Source
MIT
2,016
seed-angular1
castlefields
Ignore List
Code
12
34
# InteliJ IDE files .idea/ # project files node_modules/ bower_components/ dist/ build/
11,848
https://github.com/marmil-cz/gooddata-ui-sdk/blob/master/libs/sdk-ui-dashboard/src/presentation/dashboardContexts/DashboardCustomizationsContext.tsx
Github Open Source
Open Source
MIT
null
gooddata-ui-sdk
marmil-cz
TypeScript
Code
123
388
// (C) 2019-2022 GoodData Corporation import React, { createContext, useContext } from "react"; import { IInsight, IInsightWidget } from "@gooddata/sdk-model"; import { IInsightMenuItem } from "../widget/types"; /** * @internal */ interface IDashboardCustomizationsContext { insightMenuItemsProvider?: ( ...
49,032
https://github.com/hugoduchene/Shaready/blob/master/articles/admin.py
Github Open Source
Open Source
MIT
2,020
Shaready
hugoduchene
Python
Code
24
97
from django.contrib import admin from articles.models import ( Article, Categories, LikeArticle, Comment, LikeComment, ) # Register your models here. admin.site.register(LikeComment) admin.site.register(Comment) admin.site.register(LikeArticle) admin.site.register(Categories) admin.site.register(Ar...
25,215
https://github.com/rodrigovilar/webSystem/blob/master/examples/withoutDatabase/solutions/angularNestJs/frontend/src/app/message.service.ts
Github Open Source
Open Source
MIT
2,020
webSystem
rodrigovilar
TypeScript
Code
47
136
import { Injectable } from '@angular/core'; import {Apollo} from 'apollo-angular'; import gql from 'graphql-tag'; @Injectable({ providedIn: 'root' }) export class MessageService { constructor(private apollo: Apollo) { } public getMessage(): any { return this.apollo .watchQuery({ query: gql` ...
12,673
https://github.com/bellewws/mallikan-web/blob/master/app/Http/Controllers/LinearRegresiController.php
Github Open Source
Open Source
MIT
null
mallikan-web
bellewws
PHP
Code
1,138
4,957
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\HistoriHarga; use App\LinReg; use App\JenisProduk; use App\Transaksi; use App\Produk; use Phpml\Regression\LeastSquares; use Carbon\Carbon; use Auth; class LinearRegresiController extends Controller { // public function linreg1(){ //...
37,482
https://github.com/kbknapp/mrcrawl/blob/master/manga_archiver/ma.py
Github Open Source
Open Source
MIT
null
mrcrawl
kbknapp
Python
Code
118
372
#!/usr/bin/env python3 import sys import os import os.path #import hashlib #from functools import partial import requests from manga_archiver.providers import manganelo from http import cookiejar # Python 2: import cookielib as cookiejar class BlockAll(cookiejar.CookiePolicy): return_ok = set_ok = domain_retu...
42,180
https://github.com/vega-webrtc/vega_server_ruby/blob/master/spec/async_helpers/setup_teardown_steps.rb
Github Open Source
Open Source
MIT
2,014
vega_server_ruby
vega-webrtc
Ruby
Code
144
655
VegaServer::SetupTeardownSteps = RSpec::EM.async_steps do def enable_modified_env(&callback) EM.next_tick { VegaServer.enable_modified_env! } EM.next_tick(&callback) end def disable_modified_env(&callback) EM.next_tick { VegaServer.disable_modified_env! } EM.next_tick(&callback) end def conf...
28,704
https://github.com/amritdumre10/Kachuwa/blob/master/Core/Kachuwa.Core/DI/ServiceCollectionExtensions.cs
Github Open Source
Open Source
MIT
null
Kachuwa
amritdumre10
C#
Code
139
463
using System.Linq; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; namespace Kachuwa.Core.DI { public static class ServiceCollectionExtensions { public static IServiceCollection Remove<T>(this IServiceCollection services) { ...
39,090
https://github.com/sabbelasichon/typo3-rector/blob/master/tests/Rector/Migrations/Fixture/stringified_classes.php.inc
Github Open Source
Open Source
MIT
2,023
typo3-rector
sabbelasichon
PHP
Code
57
284
<?php use TYPO3\CMS\Core\Utility\GeneralUtility; // tslib_cObj /** * tslib_cObj */ if (class_exists('tslib_cObj')) { } GeneralUtility::makeInstance('tslib_cObj'); GeneralUtility::makeInstance('foo'); $languageId = GeneralUtility::makeInstance(Context::class)->getPropertyFromAspect('language', 'id'); $foo = [ ...
31,322
https://github.com/alvinshi/mustangop/blob/master/utils/alipay.js
Github Open Source
Open Source
MIT
null
mustangop
alvinshi
JavaScript
Code
408
1,426
'use strict'; var crypto = require('crypto'); var debug = require('debug')('AV:alipay'); var request = require('request'); var config = require('../config/alipay.json'); var defaultParams = { service: 'create_direct_pay_by_user', partner: config.partner, seller_id: config.seller_id, '_input_charset': ...
32,228
https://github.com/leginee/netbeans/blob/master/dlight/mercurial.remote/src/org/netbeans/modules/mercurial/remote/ui/diff/DiffAction.java
Github Open Source
Open Source
Apache-2.0
null
netbeans
leginee
Java
Code
719
2,045
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved. * * Oracle and Java are registered trademarks of Oracle and/or its affiliates. * Other names may be trademarks of their respective owners. * * The contents of this file are su...
50,190
https://github.com/Doni-zete/Desafio-dio-C-Sharp/blob/master/Java/Desafios numéricos em Java/3-Fatorial Simples/solucao.java
Github Open Source
Open Source
MIT
null
Desafio-dio-C-Sharp
Doni-zete
Java
Code
99
219
/* QUESTÃO Ler um valor N. Calcular e escrever seu respectivo fatorial. Fatorial de N = N * (N-1) * (N-2) * (N-3) * ... * 1. ENTRADA A entrada contém um valor inteiro N (0 < N < 13). SAÍDA A saída contém um valor inteiro, correspondente ao fatorial de N. */ import java.io.IOException; import java.util.Scanne...
49,231
https://github.com/tempbottle/php_swoole/blob/master/src/network/Client.c
Github Open Source
Open Source
PHP-3.01
2,013
php_swoole
tempbottle
C
Code
106
377
#include "swoole.h" #include "Client.h" int swClient_create(swClient *cli, int type) { int _domain; int _type; switch (type) { case SW_CLIENT_TCP: _domain = AF_INET; _type = SOCK_STREAM; break; case SW_CLIENT_TCP6: _domain = AF_INET6; _type = SOCK_STREAM; break; case SW_CLIENT_UDP: _domain = AF_I...
20,877
https://github.com/paradox-particle/diagon-alley/blob/master/ollivanders/order/serializers.py
Github Open Source
Open Source
MIT
null
diagon-alley
paradox-particle
Python
Code
68
250
from rest_framework import serializers from . import models class OrderUserAddressSerializer(serializers.ModelSerializer): class Meta: model = models.OrderUserAddress fields = '__all__' class OrderUserSerializer(serializers.ModelSerializer): address = OrderUserAddressSerializer(read_only=Tr...
46,401
https://github.com/JadBlackstone/eco_tracker/blob/master/lib/registration.dart
Github Open Source
Open Source
BSD-2-Clause
null
eco_tracker
JadBlackstone
Dart
Code
444
1,547
import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'dart:convert'; import 'package:http/http.dart' as http; import 'package:crypt/crypt.dart'; import 'home.dart'; import 'functions.dart'; import 'main.dart'; import 'login.dart'; class RegistrationScreen extends StatefulWidget { ...
37,342
https://github.com/cfievez/hexagonal-sentimental/blob/master/sentimental/src/test/java/fr/devoxx/sentimental/infra/adapter/SentimentalResourceTest.java
Github Open Source
Open Source
MIT
2,018
hexagonal-sentimental
cfievez
Java
Code
98
420
package fr.devoxx.sentimental.infra.adapter; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Matchers.eq; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import io.dropwizard.testing.junit.ResourceTestRule; i...
8,898
https://github.com/markshepherd/IPIP-NEO-Scorer/blob/master/src/cli.js
Github Open Source
Open Source
MIT
2,021
IPIP-NEO-Scorer
markshepherd
JavaScript
Code
646
1,525
#!/usr/bin/env node const analyzeCSV = require("./analyze"); const {summaryReport, makePDF, exportScores} = require("./report"); const packageJson = require("../package.json"); // Here's the main program. This is where we handle all interfacing with the outside world (file system, user interaction, ...) const readli...
50,326
https://github.com/Mitko10343/Database_Assignment-SQL-/blob/master/CreateScript.sql
Github Open Source
Open Source
MIT
null
Database_Assignment-SQL-
Mitko10343
SQL
Code
937
3,189
DROP TABLE ORDERS; DROP TABLE ANIMALS; DROP TABLE STOCK; DROP TABLE PURCHASE; DROP TABLE IS_DISEASED; DROP TABLE DISEASE; DROP TABLE TREATMENT; DROP TABLE STAFF; DROP TABLE CUSTOMER; DROP TABLE SPECIES; DROP TABLE SUPPLIER; -- Create tbales. CREATE TABLE SUPPLIER ( supplierID number not null, supplierName varcha...
15,078
https://github.com/tom-leys/godot-rust/blob/master/gdnative-core/src/core_types/string_array.rs
Github Open Source
Open Source
MIT
2,021
godot-rust
tom-leys
Rust
Code
115
526
use crate::core_types::GodotString; use crate::core_types::PoolArray; /// A reference-counted vector of `GodotString` that uses Godot's pool allocator. pub type StringArray = PoolArray<GodotString>; godot_test!( test_string_array_access { use crate::object::NewRef as _; let arr = StringArray::fro...
9,328
https://github.com/domis86/admin-bundle-1/blob/master/src/AdminPanel/Component/DataSource/Extension/Core/Pagination/PaginationExtension.php
Github Open Source
Open Source
MIT
2,022
admin-bundle-1
domis86
PHP
Code
65
201
<?php declare(strict_types=1); namespace AdminPanel\Component\DataSource\Extension\Core\Pagination; use AdminPanel\Component\DataSource\DataSourceAbstractExtension; use AdminPanel\Component\DataSource\Extension\Core\Pagination\EventSubscriber\Events; /** * Pagination extension adds to view some options helpfull du...
16,917
https://github.com/heliumdatacommons/data-transfer-project/blob/master/extensions/data-transfer/portability-data-transfer-helium/src/main/java/org/datatransferproject/transfer/helium/DOSUrlObject.java
Github Open Source
Open Source
Apache-2.0
2,018
data-transfer-project
heliumdatacommons
Java
Code
167
536
package org.datatransferproject.transfer.helium; import java.util.HashMap; public class DOSUrlObject { private String url; private String checksum; private String checksumType; private String mimeType; private long size; public DOSUrlObject(String url, String checksum, String checksumType, String mimeTyp...
50,119
https://github.com/wangfanming/ScriptSpider/blob/master/src/main/java/com/github/xjtushilei/example/RedisSpider.java
Github Open Source
Open Source
Apache-2.0
2,021
ScriptSpider
wangfanming
Java
Code
157
975
package com.github.xjtushilei.example; import com.github.xjtushilei.core.Spider; import com.github.xjtushilei.core.pageprocesser.PageProcessor; import com.github.xjtushilei.core.saver.Saver; import com.github.xjtushilei.core.scheduler.PreDefine.RedisScheduler; import com.github.xjtushilei.model.Page; import org.jsoup....
4,716
https://github.com/mvladev/kubernikus/blob/master/pkg/util/ip_or_dnsname_test.go
Github Open Source
Open Source
Apache-2.0
2,022
kubernikus
mvladev
Go
Code
34
199
package util import ( "encoding/json" "net" "testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) func TestIPOrDNSName(t *testing.T) { var result []IPOrDNSName require.NoError(t, json.Unmarshal([]byte(`["example.com", "1.1.1.1"]`), &result)) assert.Equal(t, []IPOrDNSName...
26,652
https://github.com/ZereChen/wy-czl-job/blob/master/Czl-Common-Service-Facade/src/main/java/com/czl/exception/ExpCodeEnum.java
Github Open Source
Open Source
Apache-2.0
null
wy-czl-job
ZereChen
Java
Code
255
1,502
package com.czl.exception; import java.io.Serializable; import static com.czl.exception.ExpPrefix.*; /** * @Author zerechen * 全局的异常状态码 和 异常描述 * * PS:异常码一共由5位组成,前两位为固定前缀,请参考{@link ExpPrefix} */ public enum ExpCodeEnum implements Serializable { /** 通用异常 */ UNKNOW_ERROR(ComExpPrefix + "000", "未知异常"), ...
21,931
https://github.com/smoothwind/SQL-IDEAplugin/blob/master/SQLPlugin/gen/com/sqlplugin/psi/SqlCaseExpression.java
Github Open Source
Open Source
MIT
null
SQL-IDEAplugin
smoothwind
Java
Code
32
107
// This is a generated file. Not intended for manual editing. package com.sqlplugin.psi; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.psi.PsiElement; public interface SqlCaseExpression extends PsiElement { @Nullable SqlCaseAbbreviation getCaseAbbreviation(); @Nullable SqlCa...
14,595
https://github.com/AStillwell/Chapter_5/blob/master/Challenge3.py
Github Open Source
Open Source
Unlicense
2,014
Chapter_5
AStillwell
Python
Code
239
562
# Chapter 5, challenge 3 # Author: Alton Stillwell # Date: 11/12/14(mm/dd/yy) ########################## # Design # Have a dictionary named 'pairs', have pre-set father-son pairs # Have an initiating menu and prompt to query/add/delete/replace/quit # While 'quit' is not selected, # have loops for each choice # When fin...
51,475
https://github.com/tenantcloud/php-better-reflection/blob/master/relocation/relocated/vendor/phpstan/php-8-stubs/stubs/ext/standard/socket_set_timeout.php
Github Open Source
Open Source
MIT
null
php-better-reflection
tenantcloud
PHP
Code
22
53
<?php /** * @param resource $stream * @alias stream_set_timeout */ function socket_set_timeout($stream, int $seconds, int $microseconds = 0) : bool { }
20,611
https://github.com/xsh381503442/xsh/blob/master/Bootloader/Project/User/Common/Register/com_reg.h
Github Open Source
Open Source
BSD-3-Clause
2,023
xsh
xsh381503442
C
Code
94
392
#ifndef __COM_REG_H__ #define __COM_REG_H__ typedef struct { volatile uint32_t DR; /**<UART Data Register>*/ volatile uint32_t RSR; /**<UART Status Register>*/ volatile uint32_t FR; /**<Flag Register>*/ volatile uint32_t ILPR; /**...
52,822
https://github.com/oppia/oppia-android/blob/master/domain/src/test/java/org/oppia/android/domain/oppialogger/loguploader/BUILD.bazel
Github Open Source
Open Source
Apache-2.0
2,023
oppia-android
oppia
Starlark
Code
104
1,521
""" Tests for app-wide log uploading functionality. """ load("@dagger//:workspace_defs.bzl", "dagger_rules") load("//:oppia_android_test.bzl", "oppia_android_test") oppia_android_test( name = "LogReportWorkManagerInitializerTest", srcs = ["LogReportWorkManagerInitializerTest.kt"], custom_package = "org.op...
4,248
https://github.com/rwwardh/aws-toolkit-vscode/blob/master/src/lambda/local/detectLocalLambdas.ts
Github Open Source
Open Source
Apache-2.0
2,020
aws-toolkit-vscode
rwwardh
TypeScript
Code
180
638
/*! * Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ import * as vscode from 'vscode' import { CloudFormation } from '../../shared/cloudformation/cloudformation' import { fileExists } from '../../shared/filesystemUtilities' import { detectLocalTempla...
6,434
https://github.com/socialsky-io/chisel-1/blob/master/src/containers/MainArea/PaymentMethods/PaymentMethods.js
Github Open Source
Open Source
BSD-3-Clause
2,021
chisel-1
socialsky-io
JavaScript
Code
1,277
4,830
import React, {Component} from 'react'; import CSSModules from 'react-css-modules'; import {CardElement, injectStripe, Elements} from 'react-stripe-elements'; import {Parse} from 'parse'; import {connect} from 'react-redux'; import {bindActionCreators} from "redux"; import {Helmet} from "react-helmet-async"; import Bu...
15,761
https://github.com/proglang/dts-generate-results/blob/master/results/4_extract-code/code/issue-parser/issue-parser_36.js
Github Open Source
Open Source
MIT
2,021
dts-generate-results
proglang
JavaScript
Code
49
143
const issueParser = require('issue-parser'); const parse = issueParser('bitbucket'); parse('Issue description, ref user/package#1, fixing #2. /cc @user'); /* { refs: [{raw: 'user/package#1', slug: 'user/package', prefix: '#', issue: '1'}], actions: { close: [{raw: 'fixing #2', action: 'Fixing', prefix: '#', is...
47,070
https://github.com/AshShawn/baseio/blob/master/baseio-balance/src/main/java/com/generallycloud/baseio/balance/facade/BalanceFacadeSocketSessionImpl.java
Github Open Source
Open Source
Apache-2.0
2,019
baseio
AshShawn
Java
Code
237
634
/* * Copyright 2015-2017 GenerallyCloud.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 applicabl...
28,849
https://github.com/mcallisto/ScalablyTyped/blob/master/a/angular__core/src/main/scala/typings/atAngularCoreLib/atAngularCoreMod/RDomTokenList.scala
Github Open Source
Open Source
MIT
2,019
ScalablyTyped
mcallisto
Scala
Code
52
203
package typings package atAngularCoreLib.atAngularCoreMod import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation._ trait RDomTokenList extends js.Object { def add(token: java.lang.String): scala.Unit def remove(token: java.lang.String): scala.Unit } object RDomTokenList { @scala...
28,845
https://github.com/danilosong/uninove/blob/master/module/Application/src/Application/Form/Filter/TableConfigColunFilter.php
Github Open Source
Open Source
BSD-3-Clause
null
uninove
danilosong
PHP
Code
37
123
<?php /* * To change this license */ namespace Application\Form\Filter; /** * Validação do form do TableConfigColun * * @author Danilo Dorotheu <danilo.dorotheu@live.com> */ class TableConfigColunFilter extends AbstractFilter{ public function getFilters($ret) { $this->notEmpty('tableConfig');...
10,616
https://github.com/lanking520/djl/blob/master/api/src/main/java/ai/djl/util/NativeResource.java
Github Open Source
Open Source
Apache-2.0
2,023
djl
lanking520
Java
Code
344
709
/* * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance * with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" fil...
1,137
https://github.com/ScalablyTyped/Distribution/blob/master/d/_dot_devextreme-b5DqTZzf/src/main/scala/typings/devextremeB5DqTZzf/mod/DevExpress/viz/dxSankeyTooltip.scala
Github Open Source
Open Source
MIT
2,023
Distribution
ScalablyTyped
Scala
Code
309
1,152
package typings.devextremeB5DqTZzf.mod.DevExpress.viz import typings.devextremeB5DqTZzf.anon.Source import typings.devextremeB5DqTZzf.anon.WeightIn import typings.devextremeB5DqTZzf.anon.WeightOut import typings.devextremeB5DqTZzf.mod.DevExpress.core.DxElement_ import typings.devextremeB5DqTZzf.mod.DevExpress.core.Use...
8,772
https://github.com/thilina01/incubator-netbeans-tools/blob/master/wiki-export/wiki-wikimedia/DevFaqModulesStartupActions.mediawiki
Github Open Source
Open Source
Apache-2.0
2,022
incubator-netbeans-tools
thilina01
null
Spoken
350
641
<!-- 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 "Licens...
43,000
https://github.com/libnoon/aa/blob/master/src/main/java/com/cliffc/aa/node/CastNode.java
Github Open Source
Open Source
Apache-2.0
2,018
aa
libnoon
Java
Code
233
623
package com.cliffc.aa.node; import com.cliffc.aa.*; // See FunNode public class CastNode extends Node { private final Type _t; // TypeVar??? CastNode( Node ctrl, Node ret, Type t ) { super(OP_CAST,ctrl,ret); _t=t; } @Override String str() { return "("+_t+")"; } // TODO: Can eliminate if the cas...
50,638
https://github.com/luki/csvll/blob/master/src/side_models.rs
Github Open Source
Open Source
MIT
2,017
csvll
luki
Rust
Code
71
157
pub struct Word { pub id: i32, pub lang_id: i32, pub val: String } impl Word { pub fn new(id: i32, lang_id: i32, val: &str) -> Word { Word { id: id, lang_id: lang_id, val: val.to_string() } } } pub struct Language { pub id: i32, pub name: String } impl Language { pub fn new(id: ...
4,915
https://github.com/Epinova/Epinova.Elasticsearch/blob/master/tests/Core.Episerver.Tests/ServiceLocatiorCollection.cs
Github Open Source
Open Source
MIT
2,023
Epinova.Elasticsearch
Epinova
C#
Code
44
113
using TestData; using Xunit; namespace Core.Episerver.Tests { [CollectionDefinition(nameof(ServiceLocatiorCollection))] public class ServiceLocatiorCollection : ICollectionFixture<ServiceLocatorFixture> { // This class has no code, and is never created. Its purpose is simply // to be the p...
10,121