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/0xweb3builder/mousekyc-be/blob/master/src/config/production.js
Github Open Source
Open Source
MIT
2,018
mousekyc-be
0xweb3builder
JavaScript
Code
10
21
const config = { demoMode: true, } module.exports = config;
14,038
https://github.com/ggabriel96/AnInterface/blob/master/app/src/main/java/com/gbrl/aninterface/PreferencesFragment.java
Github Open Source
Open Source
Apache-2.0
2,021
AnInterface
ggabriel96
Java
Code
32
111
package com.gbrl.aninterface; import android.os.Bundle; import android.support.v7.preference.PreferenceFragmentCompat; public class PreferencesFragment extends PreferenceFragmentCompat { @Override public void onCreatePreferences(Bundle savedInstanceState, String rootKey) { // Load the preferences from an XML ...
37,840
https://github.com/jaswindersingh2/RNAcmap2/blob/master/datasets/cdhit_processing/SPOT-RNA-dataset/bpRNA_dataset/TR0/bpRNA_RFAM_13367.st
Github Open Source
Open Source
MIT
2,022
RNAcmap2
jaswindersingh2
null
Spoken
193
898
CUAUCAAAAGUUACUUUUUGUGGGGUGGAAGUUUUUAAAAUAACCUUUACCUACGUGGGCUGUUUUGGAAAAUAAAGAAAAGACCACACUCAGCAGAGGGCUAUACCCCUUAGUAUAGUUCACCACUAUUUUGCAGCUUAUAUU ...(((((...((((((....((..((((((((........))))..))))..)).))))))))))).............((.(((((......((((((((((((......)))))))))))).......))))).))..... EEESSSSSBBBSSSSSSIIIISSIISSSSS...
52,471
https://github.com/simo1209/training-projects/blob/master/simo1209-NodeWebServer/eval.py
Github Open Source
Open Source
Apache-2.0
null
training-projects
simo1209
Python
Code
23
92
import sys code_str = "" for arg in sys.argv[2:]: code_str+=arg code_str+='\n' f = open(sys.argv[1], "r") code_str+=f.read() f.close() code = compile(code_str, 'tmp.py', 'exec') exec(code)
726
https://github.com/magefree/mage/blob/master/Mage.Sets/src/mage/cards/s/ShatterTheSky.java
Github Open Source
Open Source
MIT
2,023
mage
magefree
Java
Code
196
739
package mage.cards.s; import mage.abilities.Ability; import mage.abilities.effects.Effect; import mage.abilities.effects.OneShotEffect; import mage.abilities.effects.common.DestroyAllEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.constants.ComparisonType;...
2,311
https://github.com/xuwei-k/old-scalaz/blob/master/continuous/2009-12-12+12098.606817s/src/scalaz/geo/Bearing.scala
Github Open Source
Open Source
BSD-3-Clause
2,013
old-scalaz
xuwei-k
Scala
Code
28
55
package scalaz.geo sealed trait Bearing { val value: Double } trait Bearings { def bearing(d: Double) = new Bearing { val value = d % 360 } }
50,639
https://github.com/oracle/coherence/blob/master/prj/coherence-core/src/main/java/com/tangosol/util/KeyValueArrayMap.java
Github Open Source
Open Source
EPL-1.0, Classpath-exception-2.0, LicenseRef-scancode-unicode, LicenseRef-scancode-warranty-disclaimer, BSD-3-Clause, LicenseRef-scancode-free-unknown, LicenseRef-scancode-protobuf, CDDL-1.1, W3C, APSL-1.0, GPL-2.0-only, Apache-2.0, LicenseRef-scancode-public-domain, SAX-PD, MPL-2.0, MPL-1.1, CC-PDDC, BSD-2-Clause, Ple...
2,023
coherence
oracle
Java
Code
413
983
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ package com.tangosol.util; import java.util.Iterator; /** * KeyValueArrayMap is a Map implementation backed by an array of keys, and an ...
17,777
https://github.com/redtreeai/super-flying-chess/blob/master/utils/image_cuter.py
Github Open Source
Open Source
MIT
2,021
super-flying-chess
redtreeai
Python
Code
188
637
# -*- coding: utf-8 -*- # @Time : 19-9-25 下午2:14 # @Author : Redtree # @File : image_cuter.py # @Desc : 图像切割工具 import os from PIL import Image def splitimage(src, rownum, colnum, dstpath): img = Image.open(src) w, h = img.size if rownum <= h and colnum <= w: print('Original image info: %sx%...
18,442
https://github.com/ecmwf-lab/infero/blob/master/scripts/mimo_model.py
Github Open Source
Open Source
Apache-2.0
null
infero
ecmwf-lab
Python
Code
238
756
# # (C) Copyright 1996- ECMWF. # # This software is licensed under the terms of the Apache Licence Version 2.0 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. # In applying this licence, ECMWF does not waive the privileges and immunities # granted to it by virtue of its status as an intergovernme...
50,231
https://github.com/jiexx/aiyou/blob/master/forum/src/main/java/net/jforum/api/rest/UserREST.java
Github Open Source
Open Source
BSD-2-Clause
2,016
aiyou
jiexx
Java
Code
615
1,624
/* * Copyright (c) JForum Team * All rights reserved. * * Redistribution and use in source and binary forms, * with or without modification, are permitted provided * that the following conditions are met: * * 1) Redistributions of source code must retain the above * copyright notice, this list of conditio...
52,275
https://github.com/ctjoreilly/aic-expresso/blob/master/src/main/java/com/sri/ai/grinder/parser/antlr/AntlrGrinderParserWrapper.java
Github Open Source
Open Source
BSD-3-Clause
2,018
aic-expresso
ctjoreilly
Java
Code
539
1,504
/* * Copyright (c) 2013, SRI International * All rights reserved. * Licensed under the The BSD 3-Clause License; * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://opensource.org/licenses/BSD-3-Clause * * Redistribution and use in source a...
18,258
https://github.com/grozzzny/events-manager/blob/master/models/Base.php
Github Open Source
Open Source
MIT
2,019
events-manager
grozzzny
PHP
Code
179
667
<?php namespace grozzzny\events_manager\models; use yii\easyii\behaviors\CacheFlush; use Yii; use yii\easyii\behaviors\SortableModel; class Base extends \yii\easyii\components\ActiveRecord { use TraitModel; const STATUS_OFF = 0; const STATUS_ON = 1; public function behaviors() { return [...
30,490
https://github.com/KatSchrier/mcare/blob/master/mcare_server/test/test_Login.cpp
Github Open Source
Open Source
MIT
2,021
mcare
KatSchrier
C++
Code
59
136
// test_Login.cpp // Created by Robin Rowe 2021-08-15 // MIT Open Source #include <iostream> #include "../Login.h" using namespace std; int main(int argc,char* argv[]) { cout << "Testing Login" << endl; Login login; if(!login) { cout << "Login failed on operator!" << endl; return 1; } cout << login << endl; ...
50,376
https://github.com/xyxiaoyou/snappy-store/blob/master/tests/core/src/main/java/hydra/timeserver/TimeServerMgr.java
Github Open Source
Open Source
Apache-2.0
2,020
snappy-store
xyxiaoyou
Java
Code
215
432
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
17,222
https://github.com/kleineroscar/jare/blob/master/src/main/java/com/datamelt/util/Field.java
Github Open Source
Open Source
Apache-2.0
null
jare
kleineroscar
Java
Code
543
995
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
6,036
https://github.com/vladimirgamalyan/sdl2_probe/blob/master/main.cpp
Github Open Source
Open Source
MIT
null
sdl2_probe
vladimirgamalyan
C++
Code
51
237
#include <iostream> #include <SDL.h> int main(int argc, char* argv[]) { if (SDL_Init(SDL_INIT_VIDEO) < 0) { printf("SDL could not initialize! SDL_Error: %s\n", SDL_GetError()); return 1; } SDL_Window* window = SDL_CreateWindow("GAME", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 640, 480, 0); SDL...
20,303
https://github.com/asaveljevs/osrm-backend/blob/master/include/engine/datafacade_provider.hpp
Github Open Source
Open Source
BSD-2-Clause
2,021
osrm-backend
asaveljevs
C++
Code
274
1,026
#ifndef OSRM_ENGINE_DATAFACADE_PROVIDER_HPP #define OSRM_ENGINE_DATAFACADE_PROVIDER_HPP #include "engine/data_watchdog.hpp" #include "engine/datafacade.hpp" #include "engine/datafacade/contiguous_internalmem_datafacade.hpp" #include "engine/datafacade/mmap_memory_allocator.hpp" #include "engine/datafacade/process_memo...
2,248
https://github.com/Lordess7/Samples.Fido/blob/master/Quickstarts/Passwordless/Controllers/HomeController.cs
Github Open Source
Open Source
Apache-2.0
2,021
Samples.Fido
Lordess7
C#
Code
149
577
using System; using System.Collections.Generic; using System.Security.Claims; using System.Threading.Tasks; using Passwordless.Models; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Rsk.AspNetCore.Fido; using Rsk.AspNetCore.Fido.Dtos; namespa...
34,670
https://github.com/leanprover-community/lean/blob/master/tests/lean/run/1682.lean
Github Open Source
Open Source
Apache-2.0
2,023
lean
leanprover-community
Lean
Code
37
96
#check let t := to_fmt "foo" in format.to_string t options.mk #check let t := to_fmt "foo" in t.to_string #check let t := to_fmt "foo" in t.to_string options.mk variable t : format set_option pp.all true #check t.to_string options.mk
31,631
https://github.com/mobileka/laravel-engine/blob/master/Mobileka/L3/Engine/Globals/assets.php
Github Open Source
Open Source
MIT
2,015
laravel-engine
mobileka
PHP
Code
266
2,980
<?php /* * These assets are required for admin interface to work properly. * * To properly include them in your admin layout first run * `php artisan bundle:publish` which will publish all assets to public * directory. Then, inside admin layout make sure you have these lines: <head> ... snip {{ Asset::container...
31,366
https://github.com/NanmiaoWu/phylanx/blob/master/tests/unit/python/ir/test_symbol_table.py
Github Open Source
Open Source
BSL-1.0
2,022
phylanx
NanmiaoWu
Python
Code
598
2,586
# Copyright (c) 2019 R. Tohid # # Distributed under the Boost Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) from collections import defaultdict import phylanx.ir as ir class TestNameSpace: def test_empty_space(self): namespace = i...
19,146
https://github.com/laureano23/newFront/blob/master/web/frontend/js/MetApp/app/controller/RRHH/RecibosController.js
Github Open Source
Open Source
MIT
null
newFront
laureano23
JavaScript
Code
1,289
6,951
Ext.define('MetApp.controller.RRHH.RecibosController', { extend: 'Ext.app.Controller', views: [ 'MetApp.view.RRHH.DatosLiquidacion', 'MetApp.view.RRHH.TablaLiquidacion', 'MetApp.view.RRHH.ConceptosWinSearch', 'MetApp.view.RRHH.Reportes.ReporteLibroSueldos', 'MetApp.view.RRHH.Reportes.ReporteResumenAguinaldo...
51,318
https://github.com/pgrigoro/training/blob/master/java8/src/main/java/victor/training/java8/parallelstream/ThreadUtils.java
Github Open Source
Open Source
MIT
2,020
training
pgrigoro
Java
Code
340
1,193
package victor.training.java8.parallelstream; import java.time.Duration; import java.time.LocalDateTime; import java.time.LocalTime; import java.time.format.DateTimeFormatter; import java.time.temporal.Temporal; import java.time.temporal.TemporalUnit; import java.util.HashMap; import java.util.Map; import java.util.st...
48,944
https://github.com/yellowzhou-person/LCLive/blob/master/projects/LCShare/LCShare/Classes/Common/LCShareModule.h
Github Open Source
Open Source
MIT
2,022
LCLive
yellowzhou-person
C
Code
22
79
// // LCShareModule.h // Pods // // Created by menglingchao on 2020/10/14. // #import <Foundation/Foundation.h> #import "LCShareModuleProtocol.h" @interface LCShareModule : NSObject<LCShareModule> @end
13,683
https://github.com/inahuelzapata/Unrepeatable/blob/master/Unrepeatable/Unrepeatable/Networking/Response/ResponseParser/AlamofireResponseParser.swift
Github Open Source
Open Source
MIT
2,019
Unrepeatable
inahuelzapata
Swift
Code
148
438
// // AlamofireResponseParser.swift // Unrepeatable // // Created by Nahuel Zapata on 5/12/19. // Copyright © 2019 iNahuelZapata. All rights reserved. // import Alamofire import Foundation class AlamofireResponseParser: ResponseParser { let decoder: JSONDecoder required init(decoder: JSONDecoder = JSONDe...
12,777
https://github.com/KinsonDigital/WebpackTypescriptStarter/blob/master/src/Messenger.ts
Github Open Source
Open Source
MIT
2,020
WebpackTypescriptStarter
KinsonDigital
TypeScript
Code
18
51
export class Messenger { constructor() { console.log("Messenger Constructor Invoked!"); } getMessage(): string { return "Hello World!!"; } }
15,374
https://github.com/Zwaai-app/zwaai-ios/blob/master/ZwaaiLogicTests/Notifications/CheckSystemNotificationPermissionsMiddlewareSpec.swift
Github Open Source
Open Source
MIT
null
zwaai-ios
Zwaai-app
Swift
Code
175
787
import Quick import Nimble import SwiftRex import Combine @testable import ZwaaiLogic class CheckSystemNotificationPermissionsMiddlewareSpec: QuickSpec { override func spec() { var notificationsSpy: UserNotificationCenterSpy! var testDeps: UserNotificationDeps! var checkNotificationsMiddlew...
46,380
https://github.com/julesbl/ssp/blob/master/testscripts/form/testSelectRadio.tpl
Github Open Source
Open Source
MIT
2,020
ssp
julesbl
null
Spoken
86
315
<!-- testSelectRadio.tpl - selection and radio test with error --> <style> option.option2Class{ color: blue; } option.option3Class{ color: red; text-decoration: underline; } </style> <form method="post"> {errorList} {simpleSelectDesc} {simpleSelect}<br /> {:if:simpleSelectValue} <p>Simple select value: {s...
26,793
https://github.com/wrjanan/grocer-web/blob/master/src/App.tsx
Github Open Source
Open Source
Apache-2.0
null
grocer-web
wrjanan
TypeScript
Code
345
1,387
import React, { CSSProperties, useState } from 'react'; import logo from './logo.svg'; import './App.css'; import { IItem } from './model/item'; import { UIRouter, UIView, pushStateLocationPlugin } from '@uirouter/react'; import Main from './screen/main/Main'; import Main2 from './screen/main/Main2'; import { Layout, M...
22,822
https://github.com/jura73/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/common/test/flow/operators/CombineLatestTest.kt
Github Open Source
Open Source
Apache-2.0
null
kotlinx.coroutines
jura73
Kotlin
Code
519
1,687
/* * Copyright 2016-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ package kotlinx.coroutines.flow import kotlinx.coroutines.* import kotlin.test.* /* * Replace: { i, j -> i + j } -> { i, j -> i + j } as soon as KT-30991 is fixed */ class CombineLatestTest : TestBase() ...
20,160
https://github.com/robin-liyong/blog_system/blob/master/themes/bulma/partials/prev-next.ejs
Github Open Source
Open Source
MIT
2,021
blog_system
robin-liyong
EJS
Code
18
104
<nav class="pagination is-centered" role="navigation" aria-label="pagination"> <a class="pagination-previous shadow" href="/page/<%= links.prev.link%>"><%= links.prev.title%></a> <a class="pagination-next shadow" href="/page/<%= links.next.link%>"><%= links.next.title%></a> </nav>
23,419
https://github.com/nirum/system-dashboard/blob/master/public/js/system.js
Github Open Source
Open Source
MIT
2,014
system-dashboard
nirum
JavaScript
Code
438
1,522
// Controller app.controller('SystemCtrl', function ($scope, $interval, $http) { $http.get('/api/system') .success(function (data) { $scope.os = data; $scope.os.cpus = _.map($scope.os.cpus, function(cpu) { cpu.times = _.pairs(cpu.times); return cpu; ...
2,151
https://github.com/vbarbarosh/codescreens/blob/master/src/20190627_231437_node_csv_write/node_csv_write.js
Github Open Source
Open Source
MIT
null
codescreens
vbarbarosh
JavaScript
Code
64
262
const {createObjectCsvWriter} = require('csv-writer'); // Create csv files from arrays main().catch(panic); // https://stackabuse.com/reading-and-writing-csv-files-with-node-js/ async function main() { const rows = [ {email: 'rwillicott0@imageshack.us', name: 'Raffarty Willicott'}, {email: 'aoloo...
24,011
https://github.com/ferasawadi/jobs-management/blob/master/src/main/java/com/payoneer/JobManagement/api/configs/ApiConfigs.java
Github Open Source
Open Source
Apache-2.0
2,021
jobs-management
ferasawadi
Java
Code
137
489
package com.payoneer.JobManagement.api.configs; import com.payoneer.JobManagement.system.JobService; import com.payoneer.JobManagement.v1.EmailJob; import com.payoneer.JobManagement.v1.EmailRepo; import com.payoneer.JobManagement.v1.PrintingEntity; import com.payoneer.JobManagement.v1.PrintingRepo; import org.h2.tools...
40,626
https://github.com/tiwaria1/llvm/blob/master/llvm-spirv/lib/SPIRV/VectorComputeUtil.cpp
Github Open Source
Open Source
Apache-2.0
null
llvm
tiwaria1
C++
Code
621
1,605
//=- VectorComputeUtil.cpp - vector compute utilities implemetation * C++ -*-=// // // The LLVM/SPIR-V Translator // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // // Copyright (c) 2020 Intel Corporation. All rights reserved. // /...
43,776
https://github.com/Apexal/examen/blob/master/views/footer.pug
Github Open Source
Open Source
MIT
2,020
examen
Apexal
null
Spoken
38
138
footer.footer .container .content.has-text-centered p This site was created by student #[b Frank Matranga '18]. The source code is licensed #[a(target="_blank", href="http://opensource.org/licenses/mit-license.php") MIT] on #[a(target="_blank", href="https://github.com/Apexal/examen") Github]. img.amd...
34,307
https://github.com/sarayourfriend/g2/blob/master/packages/components/src/Initials/__tests__/__snapshots__/Initials.test.js.snap
Github Open Source
Open Source
MIT
2,020
g2
sarayourfriend
null
Spoken
23
106
// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`props should render correctly 1`] = ` <span class="wp-components-truncate wp-components-text wp-components-initials css-1xgp14x" data-g2-c16t="true" data-g2-component="Initials" > EO </span> `;
16,183
https://github.com/c786909486/baisi/blob/master/app/src/main/java/com/ckz/baisi/fragment/userSend/PinglunFragment.java
Github Open Source
Open Source
Apache-2.0
null
baisi
c786909486
Java
Code
262
1,315
package com.ckz.baisi.fragment.userSend; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; impor...
51,980
https://github.com/AbrarZahin247/ExcelToSQL/blob/master/ExcelToSQL.py
Github Open Source
Open Source
MIT
null
ExcelToSQL
AbrarZahin247
Python
Code
614
2,309
class ExcelToSQL: def __init__(self,txtFileName='sql.txt'): self.filename="data.xlsx" self.txtFileName= txtFileName self.tableName="" self.operation="i" self.refCol="" self.updatingCol=[] self.noOfRows=0 self.exportSQLTxtFile="sql.txt" self.Emp...
25,866
https://github.com/subhankars/tweetyzard/blob/master/tweetyzard/tweetyzard.Core/Interfaces/Models/ITrendLocation.cs
Github Open Source
Open Source
MS-PL
2,020
tweetyzard
subhankars
C#
Code
53
117
using TweetinviCore.Enum; namespace TweetinviCore.Interfaces.Models { public interface ITrendLocation { long WoeId { get; set; } string Name { get; set; } string Country { get; set; } string CountryCode { get; set; } string Url { get; set; } long ParentId { get;...
30,165
https://github.com/jhartman86/schedulizer-package-57/blob/master/_tests/Tests/Persistable/Mixins/SettersSerializersTest.php
Github Open Source
Open Source
MIT
2,016
schedulizer-package-57
jhartman86
PHP
Code
244
1,052
<?php namespace Schedulizer\Tests\Bin\Traits { class AnnotatedAndImplementsTrait { use \Concrete\Package\Schedulizer\Src\Persistable\Mixins\SettersSerializers; /** @definition({"cast":"string"}) */ public $title; /** @definition({"cast":"int"}) */ public $integral; /...
49,508
https://github.com/gregorysl/sourcegraph/blob/master/client/web/src/org/settings/utils.ts
Github Open Source
Open Source
Apache-2.0
2,022
sourcegraph
gregorysl
TypeScript
Code
19
50
import { AuthenticatedUser } from 'src/auth' export const showOrganizationsCode = (user: AuthenticatedUser | null): boolean => user?.tags?.includes('OrgsCode') || false
25,466
https://github.com/github/codeql/blob/master/java/ql/src/Language Abuse/WrappedIterator.ql
Github Open Source
Open Source
MIT
2,023
codeql
github
null
Spoken
264
593
/** * @name Iterable wrapping an iterator * @description An 'Iterable' that reuses an 'Iterator' instance does not support multiple traversals * and can lead to unexpected behavior. * @kind problem * @problem.severity warning * @precision very-high * @id java/iterable-wraps-iterator * @tags correct...
30,423
https://github.com/project-everest/everquic-crypto/blob/master/src/Model.AEAD.fsti
Github Open Source
Open Source
Apache-2.0
2,023
everquic-crypto
project-everest
null
Spoken
1,417
3,648
module Model.AEAD module HS = FStar.HyperStack module I = Model.Indexing module U32 = FStar.UInt32 module U128 = FStar.UInt128 module B = LowStar.Buffer module Spec = Spec.Agile.AEAD #set-options "--fuel 0 --ifuel 0" open Mem /// Abbreviations for idealization /// ------------------------------ // In this module, ...
24,196
https://github.com/smcheah/Meal-Budgeter-Project-2/blob/master/controllers/recipes-controller.js
Github Open Source
Open Source
MIT
null
Meal-Budgeter-Project-2
smcheah
JavaScript
Code
187
703
const sequelize = require("sequelize"); // Requiring our models var db = require("../models"); // Tip for you Tom const { Recipe } = require("../models"); module.exports = function(app) { // get all the recipes app.get("/api/recipes", function(req, res) { Recipe.findAll().then(function(data) { ...
9,624
https://github.com/annhienktuit/canvas-android/blob/master/apps/flutter_parent/lib/models/dataseeding/create_user_info.g.dart
Github Open Source
Open Source
Apache-2.0
2,022
canvas-android
annhienktuit
Dart
Code
463
1,800
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'create_user_info.dart'; // ************************************************************************** // BuiltValueGenerator // ************************************************************************** Serializer<CreateUserInfo> _$createUserInfoSerializer = new...
49,233
https://github.com/OMGZui/Spider/blob/master/app/douban/index.php
Github Open Source
Open Source
MIT
2,020
Spider
OMGZui
PHP
Code
20
60
<?php /** * Created by PhpStorm. * User: shengj * Date: 2017/12/21 * Time: 15:37 */ namespace App\DouBan; require __DIR__.'/../../index.php';
42,046
https://github.com/Middlerun/react-win95/blob/master/src/components/IconArea.js
Github Open Source
Open Source
Unlicense
2,020
react-win95
Middlerun
JavaScript
Code
68
204
import styled from 'styled-components' import PropTypes from 'prop-types' const IconArea = styled.div` width: 100%; max-height: 100%; flex: 1; display: flex; flex-direction: ${({desktop}) => desktop ? 'column' : 'row'}; flex-wrap: wrap; align-content: flex-start; padding-top: 4px; overflow: ${({deskt...
22,090
https://github.com/llechner/cmssw/blob/master/CondTools/RPC/plugins/RPCInverseCPPFLinkMapESProducer.h
Github Open Source
Open Source
Apache-2.0
2,018
cmssw
llechner
C++
Code
59
339
#ifndef CondTools_RPC_RPCInverseCPPFLinkMapESProducer_h #define CondTools_RPC_RPCInverseCPPFLinkMapESProducer_h #include <memory> #include "FWCore/Framework/interface/ESProducer.h" #include "CondFormats/RPCObjects/interface/RPCInverseAMCLinkMap.h" namespace edm { class ParameterSet; class ConfigurationDescriptions;...
6,088
https://github.com/oreillyross/developer-notes/blob/master/Flask.py
Github Open Source
Open Source
Artistic-2.0
2,023
developer-notes
oreillyross
Python
Code
892
2,233
# Web requests # client (browser) -> type in url -> server locates webpage -> page is returned # Happens over http protocol # Dynamic websites # File on the server is customised and generated on the fly # Web application server is needed # Web frameworks # Generate HTML based on specific request and other factors #...
11,924
https://github.com/otabekoff/Equal/blob/master/src/styles/helpers.less
Github Open Source
Open Source
MIT
2,022
Equal
otabekoff
Less
Code
49
158
@import 'variables.less'; .card-up { border: 1px solid @color-default-border; border-radius: @border-radius-base; box-sizing: border-box; transition: 0.17s all ease-in-out; &:hover { border: 1px solid #fff; box-shadow: 0 0 0 1px rgba(50, 50, 93, 0.05), 0 7px 14px 0 rgba(50, 50, 93, 0.1),...
5,033
https://github.com/donnacn/saturn/blob/master/merchant/src/org/webpki/saturn/merchant/DataBaseOperations.java
Github Open Source
Open Source
Apache-2.0
2,022
saturn
donnacn
Java
Code
579
2,046
/* * Copyright 2015-2020 WebPKI.org (http://webpki.org). * * 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...
40,428
https://github.com/kapsitis/math/blob/master/src/site/discrete-spring2021/coq-relations/fromKnepleyTextbook_3_2.v
Github Open Source
Open Source
BSD-3-Clause
2,023
math
kapsitis
null
Spoken
340
842
(** #<a href="../../discrete2021/assignments.html">Back to Discrete Assignments</a># *) (** This file contains all proofs taken from SUNY Buffalo CSE 191 Course (by Knepley): https://cse.buffalo.edu/~knepley/classes/cse191/ClassNotes.pdf Pages 60-68 *) (** ** Ch3_2: Binary Relations *) Definition relation (X Y : T...
21,439
https://github.com/thehelpfulbees/main/blob/master/src/main/java/seedu/address/logic/parser/EmailCommandParser.java
Github Open Source
Open Source
MIT
2,017
main
thehelpfulbees
Java
Code
212
659
package seedu.address.logic.parser; import static java.util.Objects.requireNonNull; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.address.logic.parser.ParserUtil.COMMA_STRING; import static seedu.address.logic.parser.ParserUtil.EMPTY_STRING; import static seedu.a...
45,460
https://github.com/telred-llc/clearkeep-android/blob/master/vector/src/main/java/vmodev/clearkeep/factories/viewmodels/SearchPeopleFragmentViewModelFactory.kt
Github Open Source
Open Source
Apache-2.0
2,020
clearkeep-android
telred-llc
Kotlin
Code
40
210
package vmodev.clearkeep.factories.viewmodels import androidx.lifecycle.ViewModelProvider import vmodev.clearkeep.factories.viewmodels.interfaces.IViewModelFactory import vmodev.clearkeep.fragments.Interfaces.IFragment import vmodev.clearkeep.viewmodels.interfaces.AbstractSearchPeopleFragmentViewModel import javax.inj...
25,329
https://github.com/keydotcat/commonjs/blob/master/wui/components/home/data/new-note-page.vue
Github Open Source
Open Source
MIT
2,019
commonjs
keydotcat
Vue
Code
53
199
<template> <div> <div class="header px-3 py-3 pt-md-5 pb-md-4 d-flex justify-content-between"> <h3 class="display-9">Create new note</h3> </div> <note-detail v-on:done="$emit('done')" :secret="newSecret()"></note-detail> </div> </template> <script> import Secret from '@/commonjs/secrets/secret' i...
16,723
https://github.com/ghsecuritylab/DIR600B2/blob/master/dir600b_v2.03/templates/gw.wifi/dlwbr/locale/de/sys_fw_valid.php
Github Open Source
Open Source
BSD-2-Clause
2,019
DIR600B2
ghsecuritylab
PHP
Code
5
48
<? $m_html_title="FIRMWARE-AKTUALISIERUNG"; $m_context_title="Firmware-Aktualisierung"; $m_context=""; ?>
42,875
https://github.com/INFINITE-TECHNOLOGY/TPN/blob/master/pigeon-lib/src/main/groovy/io/infinite/pigeon/springdatarest/repositories/InputMessageRepository.groovy
Github Open Source
Open Source
Apache-2.0
2,019
TPN
INFINITE-TECHNOLOGY
Groovy
Code
202
789
package io.infinite.pigeon.springdatarest.repositories import io.infinite.pigeon.springdatarest.entities.InputMessage import org.springframework.data.jpa.repository.JpaRepository import org.springframework.data.jpa.repository.Modifying import org.springframework.data.jpa.repository.Query import org.springframework.dat...
49,950
https://github.com/Sergiobi9/TFGdashboard/blob/master/node_modules/@nebular/theme/esm2015/components/chat/chat.component.js
Github Open Source
Open Source
MIT
null
TFGdashboard
Sergiobi9
JavaScript
Code
924
2,727
/** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ import { Component, Input, HostBinding, ViewChild, ElementRef, ContentChildren, QueryList, ContentChild, } from '@angular/core'; import { NbStatusService } from '....
34,060
https://github.com/knutschsoft/swapp/blob/master/web/assets/js/components/Dashboard/WalkList.vue
Github Open Source
Open Source
MIT
2,019
swapp
knutschsoft
Vue
Code
684
3,291
<template> <div class="p-2"> <b-row> <b-col class="my-1" xs="5" sm="4" md="3" > <b-input-group prepend="pro Seite" size="sm" class=""> <b-form-select v-model="p...
15,353
https://github.com/theand/our-boxen/blob/master/.bundle/ruby/2.0.0/gems/puppet-lint-0.3.2/lib/puppet-lint/plugins/check_documentation.rb
Github Open Source
Open Source
MIT
2,019
our-boxen
theand
Ruby
Code
90
318
class PuppetLint::Plugins::CheckDocumentation < PuppetLint::CheckPlugin check 'documentation' do comment_tokens = { :COMMENT => true, :MLCOMMENT => true, :SLASH_COMMENT => true, } whitespace_tokens = { :WHITESPACE => true, :NEWLINE => true, :INDENT => true, } ...
11,505
https://github.com/angerhang/cmuDSC/blob/master/scripts/aggregate.R
Github Open Source
Open Source
MIT
2,016
cmuDSC
angerhang
R
Code
385
1,141
myData <- read.csv("../data/cleanData.csv") houseData <- read.csv("../data/householdData.csv") # zeros columns that are going to be aggregated houseData$QUANTITY <- NULL houseData$BASE_SPEND_AMT <- NULL houseData$NET_SPEND_AMT <- NULL houseData$LOY_CARD_DISC <- NULL houseData$COUPON_DISC <- NULL houseData$GET_EGGS <- ...
5,866
https://github.com/Joker2387089590/ToolBox/blob/master/Json/src/Definitions/Value.hpp
Github Open Source
Open Source
MIT
null
ToolBox
Joker2387089590
C++
Code
97
244
#pragma once #ifndef VALUE_H #define VALUE_H #include "Node.hpp" namespace Json::Definition { // All Value type base class template<typename T> class Value : public Node { protected: T value; using Base = Value<T>; // for array member init template<typename... U> Value(U... v) : value{v...} {} pub...
38,763
https://github.com/Stackdriver/stackdriver-prometheus-sidecar/blob/master/kube/patch.sh
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-generic-cla
2,022
stackdriver-prometheus-sidecar
Stackdriver
Shell
Code
168
629
#!/bin/sh set -e set -u CLEAN_UP_ORPHANED_REPLICA_SETS='--clean-up-orphaned-replica-sets' usage() { echo -e "Usage: $0 <deployment|statefulset> <name> [${CLEAN_UP_ORPHANED_REPLICA_SETS}]\n" } if [ $# -le 1 ]; then usage exit 1 fi SHOULD_CLEAN_UP=${3:-} # Override to use a different Docker image name for the...
35,378
https://github.com/lillehummer/exoskeleton/blob/master/library/shortcodes.php
Github Open Source
Open Source
MIT
null
exoskeleton
lillehummer
PHP
Code
125
417
<?php /** * Sabi shortcodes. * * @category function library * @package lillehummernl * @author Lille Hummer */ add_action( 'init', 'hummer_register_shortcodes' ); function hummer_register_shortcodes() { add_shortcode( 'button', 'hummer_shortcode_button' ); } function hummer_shortcode_button ( $attr, $content, ...
21,129
https://github.com/Cloudxtreme/dotify/blob/master/lib/dotify/version/checker.rb
Github Open Source
Open Source
MIT
2,013
dotify
Cloudxtreme
Ruby
Code
62
189
module Dotify class Version # The Checkup class is responsible for # reaching out to Rubygems.org and retrieving # the latest gem version. class Checker class << self attr_reader :result, :resp end def self.check_latest_release! @result = (latest == Version.build.le...
36,572
https://github.com/tonyberrynd/SugarDockerized/blob/master/sugar/modules/Connectors/connectors/sources/ext/rest/twitter/language/pt_BR.lang.php
Github Open Source
Open Source
Apache-2.0
null
SugarDockerized
tonyberrynd
PHP
Code
297
721
<?php /* * Your installation or use of this SugarCRM file is subject to the applicable * terms available at * http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/. * If you do not agree to all of the applicable terms or do not have the * authority to bind the entity as an authorized representativ...
17,693
https://github.com/chrismear/rails-lighthouse-archive/blob/master/data/attachments/418916/0001-don-t-set-expecteddate-in-generated-mailer-test.patch
Github Open Source
Open Source
MIT
2,011
rails-lighthouse-archive
chrismear
null
Spoken
85
385
From a7ea57479899cf789bc42f528bb34096c1e0e1b1 Mon Sep 17 00:00:00 2001 From: David Chelimsky <dchelimsky@gmail.com> Date: Sun, 21 Feb 2010 11:19:23 -0600 Subject: [PATCH] don't set @expected.date in generated mailer test --- .../test_unit/mailer/templates/functional_test.rb | 1 - 1 files changed, 0 insertions(+)...
19,521
https://github.com/TylerGarlick/products-test/blob/master/public/less/app.less
Github Open Source
Open Source
MIT
2,014
products-test
TylerGarlick
Less
Code
14
104
@import '../bower_components/bootstrap/less/bootstrap'; @import '../bower_components/angular-motion/dist/angular-motion.css'; @import '../bower_components/bootstrap-additions/dist/bootstrap-additions.css'; @import '../bower_components/toastr/toastr'; @import './includes/_body'; @import './includes/_form'; @import '....
50,773
https://github.com/aconstlink/snakeoil/blob/master/ui/component/event/mouse_event.cpp
Github Open Source
Open Source
MIT
2,017
snakeoil
aconstlink
C++
Code
199
680
//------------------------------------------------------------ // snakeoil (c) Alexis Constantin Link // Distributed under the MIT license //------------------------------------------------------------ #include "mouse_event.h" #include <snakeoil/device/devices/mouse/three_button_mouse.h> using namespace so_ui ; using...
2,682
https://github.com/afarcat/QtHtmlView/blob/master/src/3rdparty/khtml/src/khtmlviewbarwidget.cpp
Github Open Source
Open Source
Apache-2.0
null
QtHtmlView
afarcat
C++
Code
239
572
/* This file is part of the KDE project * * Copyright (C) 2008 Bernhard Beschow <bbeschow AT cs DOT tu-berlin de> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * versio...
5,900
https://github.com/Cuda-Chen/DCP3573/blob/master/Assignment3/main.c
Github Open Source
Open Source
MIT
2,020
DCP3573
Cuda-Chen
C
Code
308
909
#include <stdio.h> #include <stdlib.h> struct btree { int value; int lcount; int fcount; struct btree *left; struct btree *right; }; struct btree *initNode(int value, int lcount, int fcount); int insertTree(struct btree *tree, int num); int *countSmaller(int *nums, int numsSize, int *returnSize); int main() { ...
21,981
https://github.com/arggentile/hermanosAPI/blob/master/controllers/AlumnoController.php
Github Open Source
Open Source
BSD-3-Clause
null
hermanosAPI
arggentile
PHP
Code
2,142
12,381
<?php namespace app\controllers; use Yii; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; use PhpOffice\PhpSpreadsheet\Spreadsheet; use PhpOffice\PhpSpreadsheet\Writer\Xls; use app\models\Alumno; use app\models\search\AlumnoSearch; use app\models\Persona; use app\models\GrupoF...
5,497
https://github.com/AniketosEU/Security-Service-Validation-and-Verification/blob/master/CSVM-Modelling-and-Validation/src/org.activiti.designer.eclipse/src/main/java/org/activiti/designer/eclipse/deployment/ProcessDeployer.java
Github Open Source
Open Source
Apache-2.0
2,015
Security-Service-Validation-and-Verification
AniketosEU
Java
Code
898
3,117
package org.activiti.designer.eclipse.deployment; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.FilenameFilter; import java.io.IOException; import java.io.InputStream; import java.net.ConnectException; import java.net.MalformedURLException; import java.net.U...
29,393
https://github.com/AixMoon/LearnigRepo/blob/master/Course/JavaProgramming/MOOC/MOOC03-03/src/ForTest.java
Github Open Source
Open Source
MIT
2,021
LearnigRepo
AixMoon
Java
Code
46
112
public class ForTest { public static void main(String[] args) { for (int i = 0; i < 5; i++) { for (int j = 0; j < 5; j++) { if (j <= i) { System.out.print("*"); } else { break; } } System.out.println(); } } }
4,931
https://github.com/cdli-gh/mtaac_cdli_ur3_corpus/blob/master/ur3_corpus_data/annotated/comm_conll/P112/P112891.conll
Github Open Source
Open Source
CC0-1.0, LicenseRef-scancode-public-domain
2,022
mtaac_cdli_ur3_corpus
cdli-gh
null
Spoken
595
1,760
#new_text=P112891 FORM SEGM XPOSTAG XPOSTAG POS B-COUNT l 18 "dry * * 1(ban2) 1(ban)[unit] NU N D I-COUNT * * * sila3 18 8(disz) 8(disz)[one] NU NU D I-COUNT * * * * * sila3 sila[unit] N N D I-COUNT * * * * * i3-udu i'udu[sheep_fat] N N D B-COM _ _ _ _ _ 8(asz) 8(asz)[one] NU NU D B-COUNT _ 8 cardinal _ 8 gazi gaz...
38,574
https://github.com/Zarif-Karim/Project-Work/blob/master/Astar_algorithm/SlidingTilePuzzle/SlidingTilePuzzle.cpp
Github Open Source
Open Source
BSD-3-Clause
null
Project-Work
Zarif-Karim
C++
Code
169
497
#include <iostream> #include <conio.h> #include <list> #include <queue> #include <unordered_map> #include <assert.h> #include <ctime> #define LEFT 75 #define RIGHT 77 using namespace std; class STP; #include "Board.h" int main() { srand(time(0)); Board STP; int m, p, choice; choice = -1; ...
5,146
https://github.com/tiagomyller/base_application_to_mobile/blob/master/js/adicionarP.js
Github Open Source
Open Source
MIT
2,016
base_application_to_mobile
tiagomyller
JavaScript
Code
85
444
var appcontrol = new Vue({ el:"#appcontrol", data:function(){ return { TitlePage:"Registrar Fornecedor", Provider:{ Name:'', company:'', Office:'', "Location":'', Region:'', City...
17,335
https://github.com/wahello/go-tenancy/blob/master/tests/client_category_test.go
Github Open Source
Open Source
MIT
2,020
go-tenancy
wahello
Go
Code
326
1,481
package tests import ( "fmt" "net/http" "testing" "github.com/gavv/httpexpect" "github.com/snowlyg/go-tenancy/g" "github.com/snowlyg/go-tenancy/tests/base" ) func TestClientCategoryList(t *testing.T) { auth, _ := base.TenancyWithLoginTester(t) defer base.BaseLogOut(auth) url := "v1/merchant/productCategory...
34,129
https://github.com/King0987654/windows2000/blob/master/private/inet/mshtml/src/core/include/printwrp.hxx
Github Open Source
Open Source
MIT
2,022
windows2000
King0987654
C++
Code
135
382
//+--------------------------------------------------------------------------- // // Microsoft Forms // Copyright (C) Microsoft Corporation, 1994-1997 // // File: printwrp.hxx // // Contents: Wrappers for special printing-specific wrappers for the // Trident project. // //----------------------...
2,143
https://github.com/jostylr/literate-programming-cli-test/blob/master/test.js
Github Open Source
Open Source
MIT
null
literate-programming-cli-test
jostylr
JavaScript
Code
69
216
/*global require */ var testhan = require('./index.js'); var tests = testhan("", "hideConsole"); tests( ["copy", "cp simple.txt copy.txt" ], ["encoding", "echo just" ], ["replace", "cp simple.txt copy.txt", { "copy.txt" : function (can, bui) { bui = bui.toString().replace("hi", "bye"...
47,296
https://github.com/ds8k/material-bread/blob/master/docs/src/pages/components/fab.js
Github Open Source
Open Source
MIT
2,019
material-bread
ds8k
JavaScript
Code
4
12
export default from '../../content/components/fab';
43,018
https://github.com/youwe-petervanderwal/esb/blob/master/src/Service/CronProducersServer.php
Github Open Source
Open Source
MIT
2,022
esb
youwe-petervanderwal
PHP
Code
215
749
<?php declare(strict_types=1); namespace Webgriffe\Esb\Service; use Amp\Loop; use Amp\Promise; use Cron\CronExpression; use Psr\Log\LoggerInterface; use Webgriffe\Esb\CrontabProducerInterface; use Webgriffe\Esb\DateTimeBuilderInterface; use Webgriffe\Esb\ProducerInstance; use function Amp\call; /** * @internal */...
6,795
https://github.com/zhangshj-inspur/vitess/blob/master/web/vtadmin/src/components/routes/Tablets.tsx
Github Open Source
Open Source
Apache-2.0
2,021
vitess
zhangshj-inspur
TSX
Code
554
1,487
/** * Copyright 2021 The Vitess Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
43,776
https://github.com/ZengineHQ/zn-backend-acting-user/blob/master/test/spec/lib/validate-acting-user-spec.js
Github Open Source
Open Source
MIT
2,019
zn-backend-acting-user
ZengineHQ
JavaScript
Code
159
574
'use strict'; const mockery = require('mockery'); describe('module', function() { let module; let znHttpGetSpy; beforeEach(function() { mockery.enable({ warnOnReplace: false, warnOnUnregistered: false, useCleanCache: true }); znHttpGetSpy = jasmine.createSpy(); let znHttpMock = function() { ...
4,100
https://github.com/TreetonOrg/Treeton/blob/master/dev/treetonGui/src/treeton/gui/trnview/TreenotationViewPanelAbstract.java
Github Open Source
Open Source
Apache-2.0
2,019
Treeton
TreetonOrg
Java
Code
271
875
/* * Copyright Anatoly Starostin (c) 2017. */ package treeton.gui.trnview; import treeton.core.Fraction; import treeton.core.Token; import treeton.core.Treenotation; import treeton.core.TreenotationStorage; import treeton.core.model.TreetonModelException; import treeton.core.model.TrnType; import treeton.gui.labelg...
37,415
https://github.com/ceekay1991/CallTraceForWeChat/blob/master/CallTraceForWeChat/CallTraceForWeChat/WeChat_Headers/WCPaySingleSelectTableViewController.h
Github Open Source
Open Source
MIT
2,022
CallTraceForWeChat
ceekay1991
C
Code
151
644
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import "WCPayBaseViewController.h" #import "UITableViewDataSource-Protocol.h" #import "UITableViewDelegate-Protocol.h" @class MMTabl...
28,384
https://github.com/fridek/Thesis-physics/blob/master/doc/praca_inzynierska.lpr
Github Open Source
Open Source
MIT
2,019
Thesis-physics
fridek
Pascal
Code
357
2,384
[Files\0] ActiveFilters= Bookmark#0=0 Bookmark#1=0 Bookmark#2=0 Bookmark#3=0 Bookmark#4=0 Bookmark#5=0 Bookmark#6=0 Bookmark#7=0 Bookmark#8=0 Bookmark#9=0 CaretPos.X=0 CaretPos.Y=0 CharSet=def FileName=praca.tex FoldedLines= IsMainFile=yes Opened=yes ScrollPos.X=0 ScrollPos.Y=1 SearchListCount=0 ShowSyntax=yes SpellChe...
32,834
https://github.com/Letractively/svgweb/blob/master/tests/non-licensed/perf/test7/src/org/svgweb/utils/SVGUnits.as
Github Open Source
Open Source
Apache-2.0
2,021
svgweb
Letractively
null
Spoken
476
1,106
/* Copyright (c) 2009 by contributors: * Google Inc. (Brad Neuberg -- http://codinginparadise.org) * James Hight (http://labs.zavoo.com/) * Richard R. Masters 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 cop...
14,884
https://github.com/saileshgilakamsetty/proassur/blob/master/application/controllers/admin/Profile.php
Github Open Source
Open Source
MIT
null
proassur
saileshgilakamsetty
PHP
Code
512
2,587
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Profile extends CI_Controller { /** * Index Page for this controller. * * Maps to the following URL * http://example.com/index.php/welcome * - or - * http://example.com/index.php/welcome/index * - or - * Since this contro...
42,729
https://github.com/hiwepy/socketio-spring-boot-starter/blob/master/src/main/java/com/corundumstudio/socketio/store/RedisTemplateStoreFactory.java
Github Open Source
Open Source
Apache-2.0
2,023
socketio-spring-boot-starter
hiwepy
Java
Code
185
522
/* * Copyright (c) 2018, hiwepy (https://github.com/hiwepy). * * 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 app...
34,130
https://github.com/allanjude/ndialog/blob/master/src/list_widget.c
Github Open Source
Open Source
BSD-2-Clause
2,015
ndialog
allanjude
C
Code
1,919
5,441
/* * Copyright (c) 1996 David Parsons. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this lis...
16,514
https://github.com/yackimoff/CitiesSkylinesAutoLineColorModEx/blob/master/AutoLineColor/ColorMonitor.cs
Github Open Source
Open Source
MIT
2,020
CitiesSkylinesAutoLineColorModEx
yackimoff
C#
Code
935
3,169
using System; using System.Threading; using AutoLineColor.Coloring; using AutoLineColor.Naming; using ColossalFramework; using ICities; using UnityEngine; using System.Collections.Generic; using JetBrains.Annotations; namespace AutoLineColor { [UsedImplicitly] public class ColorMonitor : ThreadingExtensionBas...
14,975
https://github.com/bocon13/stratum-sonic/blob/master/SAI/stub/src/stub_sai_router.c
Github Open Source
Open Source
Apache-2.0
null
stratum-sonic
bocon13
C
Code
1,091
4,579
/* * Copyright (C) 2014. Mellanox Technologies, Ltd. 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 * * TH...
21,651
https://github.com/cloneforyou/late/blob/master/server/api/students/index.js
Github Open Source
Open Source
MIT
2,019
late
cloneforyou
JavaScript
Code
32
159
const Router = require('koa-router') const router = new Router() const Ctrl = require('./students.controller') router.get('/', Ctrl.getStudents) router.get('/log', Ctrl.getLog) router.get('/counts', Ctrl.getStudentCounts) router.get('/user', Ctrl.getUser) router.get('/loginas', Ctrl.loginAs) router.get('/:studentID',...
31,735
https://github.com/bradleyjford/entr/blob/master/src/Entr.CommandQuery/Interfaces.cs
Github Open Source
Open Source
BSD-2-Clause
2,022
entr
bradleyjford
C#
Code
65
215
using System.Threading.Tasks; namespace Entr.CommandQuery; public interface IAsyncRequest<TRequest> { } public interface IAsyncRequestHandler<in TRequest, TResponse> where TRequest : IAsyncRequest<TResponse> { Task<TResponse> Handle(TRequest request); } public interface IAsyncCommand<TResult> : IAsyncReque...
4,160
https://github.com/gianthk/ciclope/blob/master/tetraFE.py
Github Open Source
Open Source
MIT
2,021
ciclope
gianthk
Python
Code
1,022
3,685
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Module for tetrahedra Finite Element model generation """ import logging import numpy as np import meshio import mcubes def shell_mesh(bwimage, method='pymcubes', voxelsize=[1., 1., 1.], max_facet_distance=0.0, max_cell_circumradius=0.0): """Generate outer shell m...
4,675
https://github.com/qtpm/QtTobubus/blob/master/testapp/cppversion/src/mainwindow.cpp
Github Open Source
Open Source
MIT
null
QtTobubus
qtpm
C++
Code
219
960
#include "mainwindow.h" #include "serviceclass.h" #include "ui_mainwindow.h" #include <QDebug> #include <QJsonArray> #include <QJsonDocument> #include <QtConcurrent> MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent) , _host(nullptr) , ui(new Ui::MainWindow) { ui->setupUi(this); } MainWindow::~MainWind...
38,665
https://github.com/violetfocus0618/animationConverter/blob/master/resources/views/admin/index.blade.php
Github Open Source
Open Source
MIT
2,022
animationConverter
violetfocus0618
PHP
Code
36
146
@extends('layouts.admin-base') @section('scripts') <script> window._vAppConfig.user_info = { name: '{{ auth()->user()->name }}', picture: '{{ auth()->user()->img_ext && !empty(auth()->user()->img_ext) ? getConfig('users_image') . '/' . auth()->user()->id . '.' . auth()->user()->img_e...
10,306
https://github.com/Ghassanooooo/gbruv-test-preformence/blob/master/src/CrawlArticles/server.js
Github Open Source
Open Source
MIT
null
gbruv-test-preformence
Ghassanooooo
JavaScript
Code
64
206
require('dotenv').config(); const fs = require('fs'); const axios = require('axios'); let dir = './src/CrawlArticles/articles.json'; const genArticles = (data) => { fs.writeFile(dir, data, function(err) { if (err) return console.log(err); console.log(dir, '==>', data); }); }; const findProduct...
34,266