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/lmanini/ing-sw-2021-Fasanella-Maggioni-Manini/blob/master/src/main/java/it/polimi/ingsw/controller/Controller.java
Github Open Source
Open Source
MIT
null
ing-sw-2021-Fasanella-Maggioni-Manini
lmanini
Java
Code
1,841
3,994
package it.polimi.ingsw.controller; import it.polimi.ingsw.communication.server.LorenzoActivation; import it.polimi.ingsw.controller.exceptions.NotActivePlayerException; import it.polimi.ingsw.model.*; import it.polimi.ingsw.model.enums.ActionCardEnum; import it.polimi.ingsw.model.enums.Resource; import it.polimi.ings...
12,624
https://github.com/moutainhigh/Huskie/blob/master/my-plaform/engine/src/main/scala/com/kkb/engine/adaptor/BatchJobSaveAdaptor.scala
Github Open Source
Open Source
MulanPSL-1.0
null
Huskie
moutainhigh
Scala
Code
151
725
package com.kkb.engine.adaptor import com.kkb.engine.EngineSQLExecListener import com.kkb.utils.GlobalConfigUtils import org.apache.spark.sql.{DataFrame, DataFrameWriter, Row, SaveMode} class BatchJobSaveAdaptor( engineSQLExecListener: EngineSQLExecListener, data:...
628
https://github.com/iteamde/travel/blob/master/config/languages_spoken.php
Github Open Source
Open Source
MIT
null
travel
iteamde
PHP
Code
73
241
<?php use App\Models\Access\Role\Role; use App\Models\Access\Permission\Permission; use App\Models\LanguagesSpoken\LanguagesSpokenTranslation; return [ /* * Languages table used to save roles to the database. */ 'language_table' => 'conf_languages', /* * Languages Spoken table used to...
47,233
https://github.com/jediq/govuk-fe-light-lambda/blob/master/test/validator.test.ts
Github Open Source
Open Source
MIT
2,019
govuk-fe-light-lambda
jediq
TypeScript
Code
123
595
"use strict"; import "jest"; import * as validator from "../src/framework/validator"; import { FunctionValidation, RegexValidation } from "../src/types/framework"; var charLenItem: RegexValidation = { regex: "^.{3}$", error: "" }; var vrnItem: RegexValidation = { regex: "^[A-Za-z0-9]{0,7}$", error: "...
48,051
https://github.com/manju-summoner/terrafx.interop.windows/blob/master/sources/Interop/Windows/um/d3d12/D3D12_AUTO_BREADCRUMB_NODE1.cs
Github Open Source
Open Source
MIT
null
terrafx.interop.windows
manju-summoner
C#
Code
114
446
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { publ...
44,141
https://github.com/box/etcdb/blob/master/etcdb/resultset.py
Github Open Source
Open Source
Apache-2.0
2,019
etcdb
box
Python
Code
895
2,561
"""Classes that represent query results""" import json from etcdb import ProgrammingError, InternalError class ColumnOptions(object): # pylint: disable=too-few-public-methods """ColumnOptions represents column options like NULL-able or not""" def __init__(self, *options, **kwoptions): for dictionar...
43,625
https://github.com/deduar/SGTT/blob/master/src/deduar/S3SandBoxBundle/Controller/ExcepcionController.php
Github Open Source
Open Source
MIT
null
SGTT
deduar
PHP
Code
1,101
6,002
<?php namespace deduar\S3SandBoxBundle\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use deduar\S3SandBoxBundle\Entity\Excepcio...
21,845
https://github.com/arkadiusjonczek/immobilienscout24-tracker/blob/master/lib/Jonczek/Immobilienscout24Tracker/ConsoleRenderJob.php
Github Open Source
Open Source
MIT
2,020
immobilienscout24-tracker
arkadiusjonczek
PHP
Code
25
93
<?php namespace Jonczek\Immobilienscout24Tracker; class ConsoleRenderJob implements IJob { public function execute(SearchResult $searchResult) { $body = Helper::render( Config::getConsoleTemplate(), array('entries' => $searchResult->getNewEntries()) ); echo $bo...
26,942
https://github.com/gaols/unipay/blob/master/src/main/java/com/github/gaols/unipay/alipay/AlipayPayNotifyParser.java
Github Open Source
Open Source
MIT
2,021
unipay
gaols
Java
Code
116
531
package com.github.gaols.unipay.alipay; import com.github.gaols.unipay.api.MchInfo; import com.github.gaols.unipay.api.PayNotifyParser; import com.github.gaols.unipay.utils.ParaUtils; import com.github.gaols.unipay.utils.sign.AlipaySignCheckUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax....
41,173
https://github.com/shsx477/messenger-sample/blob/master/messenger-sample/messenger-sample/ViewModels/HomeVM/EaHomeVM.swift
Github Open Source
Open Source
MIT
null
messenger-sample
shsx477
Swift
Code
73
259
import Foundation import SwiftUI import Combine class EaHomeVM: ObservableObject { @Published var userData: EaUserModel @Published var friendDatas: [EaFriendModel] @Published var isUserPresented: Bool = false private var cancellableSet: Set<AnyCancellable> = [] private var profileInfoVM: EaProfileInfoV...
9,540
https://github.com/mramkumar/centos-cis-benchmark/blob/master/test/1.1.5.sh
Github Open Source
Open Source
MIT
null
centos-cis-benchmark
mramkumar
Shell
Code
26
51
#!/bin/sh # ** AUTO GENERATED ** # 1.1.5 Ensure nosuid option set on /tmp partition (Automated) mount | grep /tmp | grep nosuid || exit $?
24,528
https://github.com/xtuml/masl/blob/master/core-cpp/sql/src/DatabaseUnitOfWork.cc
Github Open Source
Open Source
Apache-2.0
2,023
masl
xtuml
C++
Code
456
1,379
/* * ---------------------------------------------------------------------------- * (c) 2005-2023 - CROWN OWNED COPYRIGHT. All rights reserved. * The copyright of this Software is vested in the Crown * and the Software is the property of the Crown. * ----------------------------------------------------------------...
23,493
https://github.com/aeinstein/BrainSimulator/blob/master/Sources/Modules/ToyWorld/World/GameActors/Tiles/Obstacle/Tree.cs
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-warranty-disclaimer
2,019
BrainSimulator
aeinstein
C#
Code
273
883
using System; using System.Collections.Generic; using System.Linq; using VRageMath; using World.Atlas; using World.Atlas.Layers; using World.GameActors.Tiles.Background; using World.GameActors.Tiles.ObstacleInteractable; using World.ToyWorldCore; namespace World.GameActors.Tiles.Obstacle { public abstract class T...
25,112
https://github.com/Dowzer721/PICRat/blob/master/src/usart.asm
Github Open Source
Open Source
MIT
2,017
PICRat
Dowzer721
Assembly
Code
1,828
6,096
;--------------------LIBRARY SPECIFICATION------------------- ; ; NAME : Serial Communications Library ; ; FUNCTIONS : USART_init ; USART_TxISR ; USART_RxISR ; USART_putc ; USART_getc ; USART_puts ; USART_gets ; ; REQUIRES : ; ; NOTES : ; ;-----------------------------------------------...
25,200
https://github.com/david82oficial/dreamday/blob/master/friends-hybrid/common/utils.js
Github Open Source
Open Source
BSD-2-Clause
2,016
dreamday
david82oficial
JavaScript
Code
528
1,773
(function () { app.utils = app.utils || {}; app.utils.loading = function (load) { if (load) { return kendo.mobile.application.showLoading(); } return kendo.mobile.application.hideLoading(); }; app.utils.isOwner = function (dataItem) { return app.user.Id ===...
29,698
https://github.com/InsightEdge/xap/blob/master/xap-core/xap-common/src/main/java/net/jini/core/transaction/server/TransactionParticipantData.java
Github Open Source
Open Source
Apache-2.0
2,022
xap
InsightEdge
Java
Code
230
454
/* * Copyright (c) 2008-2016, GigaSpaces Technologies, 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 * * Un...
19,829
https://github.com/debragail/prisma-engines/blob/master/prisma-fmt/src/native.rs
Github Open Source
Open Source
Apache-2.0
2,021
prisma-engines
debragail
Rust
Code
42
182
pub(crate) fn run(schema: &str) -> String { let validated_configuration = match datamodel::parse_configuration(schema) { Ok(validated_configuration) => validated_configuration, Err(_) => return "[]".to_owned(), }; if validated_configuration.subject.datasources.len() != 1 { return "[...
46,555
https://github.com/jiripetrlik/kie-wb-common/blob/master/kie-wb-common-screens/kie-wb-common-library/kie-wb-common-library-client/src/main/java/org/kie/workbench/common/screens/library/client/screens/PopulatedLibraryView.java
Github Open Source
Open Source
Apache-2.0
null
kie-wb-common
jiripetrlik
Java
Code
247
899
/* * Copyright 2017 Red Hat, Inc. and/or its affiliates. * * 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 a...
44,890
https://github.com/jordytje1/Mitsuzi-JS/blob/master/commands/others/crypto.js
Github Open Source
Open Source
MIT
2,022
Mitsuzi-JS
jordytje1
JavaScript
Code
411
1,227
const Util = require('../../util/MitUtil.js'); const db = require('../../util/Database.js'); let price = require('crypto-price'); module.exports = { name: 'crypto', description: "Gets the price of the crypto-currency", aliases: [], usage: ' [crypto]', cooldown: 2, args: 0, catergory: 'Other...
10,377
https://github.com/Rushera/passwdsafe/blob/master/passwdsafe/src/main/java/com/jefftharris/passwdsafe/file/PasswdFileGenProviderStorage.java
Github Open Source
Open Source
Artistic-2.0
null
passwdsafe
Rushera
Java
Code
199
596
/* * Copyright (©) 2015 Jeff Harris <jefftharris@gmail.com> * All rights reserved. Use of the code is allowed under the * Artistic License 2.0 terms, as specified in the LICENSE file * distributed with this code, or available from * http://www.opensource.org/licenses/artistic-license-2.0.php */ package com.jeffth...
26,694
https://github.com/Sody666/QuickVFL2/blob/master/Project/QuickVFL2/ViewControllers/StayShapeViewController.h
Github Open Source
Open Source
MIT
2,018
QuickVFL2
Sody666
Objective-C
Code
28
79
// // StayShapeViewController.h // QuickVFL2 // // Created by 苏第 on 17/11/8. // Copyright © 2017年 Quick. All rights reserved. // #import "RootViewController.h" @interface StayShapeViewController : RootViewController @end
38,493
https://github.com/zz38/ui/blob/master/packages/containers/src/index.js
Github Open Source
Open Source
Apache-2.0
2,018
ui
zz38
JavaScript
Code
186
574
import { CircularProgress, Drawer, Icon, IconsProvider, Layout as PureLayout, TooltipTrigger, } from '@talend/react-components'; import { cmfConnect } from '@talend/react-cmf'; import actionAPI from './actionAPI'; import AboutDialog from './AboutDialog'; import Action from './Action'; import ActionBar from './Ac...
49,155
https://github.com/FulcrumVlsM/joinrpg-net/blob/master/Joinrpg/Helpers/ApiSecretsStorage.cs
Github Open Source
Open Source
MIT
null
joinrpg-net
FulcrumVlsM
C#
Code
64
237
using System.Configuration; using JetBrains.Annotations; using JoinRpg.Services.Interfaces; namespace JoinRpg.Web.Helpers { [UsedImplicitly] internal class ApiSecretsStorage : IMailGunConfig { public string ApiDomain => ConfigurationManager.AppSettings["MailGunApiDomain"]; string IMailGunC...
7,825
https://github.com/godcong/go-ipfs-http-client/blob/master/api_test.go
Github Open Source
Open Source
MIT
2,020
go-ipfs-http-client
godcong
Go
Code
586
2,086
package httpapi import ( "context" "io/ioutil" "net/http" gohttp "net/http" "net/http/httptest" "os" "strconv" "strings" "sync" "testing" "time" iface "github.com/ipfs/interface-go-ipfs-core" "github.com/ipfs/interface-go-ipfs-core/path" "github.com/ipfs/interface-go-ipfs-core/tests" local "github.com...
47,284
https://github.com/CentraleNantesROV/navio2_ros/blob/master/src/dummy_navio2_include/Navio2/LSM9DS1.h
Github Open Source
Open Source
MIT
null
navio2_ros
CentraleNantesROV
C
Code
15
63
#ifndef LSM9DS1_H #define LSM9DS1_H #include <Common/MPU9250.h> struct LSM9DS1 : public InertialSensor {}; #endif // LSM9DS1_H
10,597
https://github.com/tstavropoulos/AdventOfCode2019/blob/master/Day21/Program.cs
Github Open Source
Open Source
MIT
2,020
AdventOfCode2019
tstavropoulos
C#
Code
192
594
using System; using System.Collections.Generic; using System.IO; using System.Linq; using AoCTools; using AoCTools.IntCode; namespace Day21 { class Program { private const string inputFile = @"../../../../input21.txt"; static void Main(string[] args) { Console.WriteLine("D...
27,413
https://github.com/VictorNouvellet/AccessorInstantiator/blob/master/AccessorInstantiator/ViewController.swift
Github Open Source
Open Source
BSD-3-Clause
null
AccessorInstantiator
VictorNouvellet
Swift
Code
160
496
// // ViewController.swift // AccessorInstantiator // // Created by Victor Nouvellet on 3/13/17. // Copyright © 2017 Victor Nouvellet. All rights reserved. // import UIKit class ViewController: UIViewController { @IBOutlet var textViewLog: UITextView! @IBOutlet var labelTitle: UILabel! override ...
13,641
https://github.com/CrOrc/Cr.ArgParse/blob/master/src/Cr.ArgParse/IActionContainer.cs
Github Open Source
Open Source
MIT
2,021
Cr.ArgParse
CrOrc
C#
Code
44
138
using System.Collections.Generic; using Cr.ArgParse.Actions; namespace Cr.ArgParse { public interface IActionContainer { void RemoveAction(Action action); Action AddAction(Action action); IList<Action> Actions { get; } IList<bool> HasNegativeNumberOptionals { get; } ILi...
13,692
https://github.com/pamellasds/smart-contracts-software-evolution/blob/master/github_data/github_contracts_without_comments/Decentraland/f6795c4e47564b08d39d04f2f2d0f60fa97b69ac/Storage.sol
Github Open Source
Open Source
MIT
null
smart-contracts-software-evolution
pamellasds
Solidity
Code
20
55
pragma solidity ^0.4.18; import ; import ; import ; import ; contract storage is proxystorage, ownablestorage, assetregistrystorage, landstorage { }
44,388
https://github.com/DevPAM/pastell-ponts-api/blob/master/api/services/sws/alfresco/appels/noeuds/exister_noeud.appel.js
Github Open Source
Open Source
MIT
null
pastell-ponts-api
DevPAM
JavaScript
Code
105
260
var AlfrescoAppelService = require('./../alfresco.appel.js'); /** Classe permettant d'indiquer si le noeud existe ou non. */ class ExisterNoeud extends AlfrescoAppelService { /** Initialise une nouvelle instance de la classe 'ExisterNoeud'. * @param id_noeud Le noeud du document. */ constructor(id_noeud) { ...
152
https://github.com/StarExec/StarExec/blob/master/WebContent/css/global/_common.scss
Github Open Source
Open Source
MIT
2,023
StarExec
StarExec
SCSS
Code
64
218
// Common classes @import "colors"; .round { @extend %rounded-corners; } .font-accent { color: $text-accent-color; } ul.horizontal { list-style: none; li { float: left; margin-right: 20px; } } .extLink { margin-left: 8px; margin-bottom: 2px; } .hidden { display: none; } .italic { font-style: italic...
5,493
https://github.com/balibali/opSampleDiaryRankingPlugin/blob/master/lib/opSampleDiaryRanking.class.php
Github Open Source
Open Source
Apache-2.0
2,013
opSampleDiaryRankingPlugin
balibali
PHP
Code
99
409
<?php class opSampleDiaryRanking { private $redisRanking; public function __construct() { $key = sfContext::getInstance()->getUser()->generateSiteIdentifier().'::opSampleDiaryRanking'; $this->redisRanking = new opRedisRanking($key); } public function incrementScore(Diary $diary) { $this->red...
47,151
https://github.com/cactis/notiz/blob/master/db/migrate/20111129171942_ext4.rb
Github Open Source
Open Source
MIT
2,015
notiz
cactis
Ruby
Code
19
59
class Ext4 < ActiveRecord::Migration def up add_column :posts, :subject_background, :string add_column :posts, :body_background, :string end def down end end
28,739
https://github.com/takuto-y/the/blob/master/packages/script-doc/example/example-usage.js
Github Open Source
Open Source
MIT
2,022
the
takuto-y
JavaScript
Code
14
52
'use strict' const doc = require('@the-/script-doc') async function tryExample() { await doc('my_project_dir') } tryExample().catch(console.error)
17,124
https://github.com/devsapp/start-web-framework/blob/master/web-framework/php/whatsns/src/code/whatsns/application/views/responsive_lovestu/user_title.php
Github Open Source
Open Source
MIT
2,023
start-web-framework
devsapp
PHP
Code
93
622
<div class="fly-home fly-panel" style="background-image: url();"> <img src="{$user['avatar']}" alt="{$user['username']}"> {if $user['author_has_vertify']!=false} <i class="iconfont icon-renzheng"></i>{/if} <h1> {$user['username']} {if $user['sex']==0} <i class="iconfont icon-nan"></i>{else} <i class="icon...
21,904
https://github.com/HKMUD/NT6/blob/master/nitan/d/jianzhong/jianzhong.c
Github Open Source
Open Source
MIT
2,018
NT6
HKMUD
C
Code
140
1,055
#include <ansi.h> inherit ROOM; void create() { set("short","剑冢"); set("long",@LONG 平台上大石「剑冢」两个大字之旁,尚有两行字体较小的石刻: 「剑魔独孤求败既无敌于天下,乃埋剑于斯。 呜呼!群雄束手,长剑空利,不亦悲夫!」 大石之下,许多石块堆着一个大坟,背向山谷,俯仰空阔,占尽了 形势。想剑魔文武全才,抱负非常,但恨生得晚了,无缘得见这位 前辈英雄,你不禁仰天长叹,豪情万千。 LONG ); set("no_clean_up",1); ...
33,549
https://github.com/AlexBlack2202/VietnameseTextNormalizer/blob/master/SyllableSystem.h
Github Open Source
Open Source
MIT
null
VietnameseTextNormalizer
AlexBlack2202
C
Code
20,000
111,155
/* ----------------------------------------------------------------- */ /* The Vietnamese Speech Synthesis Engine */ /* Developed by Bui Tan Quang - langmaninternet@gmail.com */ /* ----------------------------------------------------------------- */ /* */ /* */ /* */ /* */ /* */ /* -------------------------------------...
20,700
https://github.com/forest-fire/universal-fire/blob/master/scripts/packages/lint/src.sh
Github Open Source
Open Source
MIT
2,022
universal-fire
forest-fire
Shell
Code
18
90
#!/user/bin/env bash echo "┏━━━ 🕵️‍♀️ LINT: SRC folder in $(pwd) ━━━━━━━" npx eslint src --ext ts,js,tsx,jsx --fix --no-error-on-unmatched-pattern
48,123
https://github.com/CadQuery/cymbal/blob/master/cymbal/clangext.py
Github Open Source
Open Source
MIT
2,016
cymbal
CadQuery
Python
Code
79
329
import clang.cindex from ctypes import * __all__ = ['monkeypatch_type', 'monkeypatch_cursor', 'CymbalException'] def find_libclang_function(function): return getattr(clang.cindex.conf.lib, function) class CymbalException(Exception): def __init__(self, msg): super(CymbalException, self).__init__(msg) ...
14,490
https://github.com/YashasSamaga/pawn-array-view/blob/master/plugin/natives/tests.hpp
Github Open Source
Open Source
MIT
2,019
pawn-array-view
YashasSamaga
C++
Code
90
422
#include "main.h" namespace sample::natives { cell AMX_NATIVE_CALL test_cell_0(AMX* amx, cell* params); cell AMX_NATIVE_CALL test_cell_256(AMX* amx, cell* params); cell AMX_NATIVE_CALL test_cell_0_0(AMX* amx, cell* params); cell AMX_NATIVE_CALL test_cell_0_128(AMX* amx, cell* params); cell AMX_NATI...
13,003
https://github.com/google/coding-with-chrome/blob/master/src/components/Settings/SettingScreen.js
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,023
coding-with-chrome
google
JavaScript
Code
457
1,438
/** * @license Copyright 2020 The Coding with Chrome 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 ...
8,933
https://github.com/kaj/rsass/blob/master/rsass/tests/spec/core_functions/map/values.rs
Github Open Source
Open Source
MIT, Apache-2.0
2,023
rsass
kaj
Rust
Code
264
937
//! Tests auto-converted from "sass-spec/spec/core_functions/map/values.hrx" #[allow(unused)] fn runner() -> crate::TestRunner { super::runner().with_cwd("values") } #[test] fn empty() { assert_eq!( runner().ok("$result: map-values(());\ \na {\ \n value: inspect($result);\ ...
13,511
https://github.com/middle-sam/Mediatheque/blob/master/templates/meet_up/new.html.twig
Github Open Source
Open Source
MIT
2,020
Mediatheque
middle-sam
Twig
Code
30
104
{% extends 'back_office/index.html.twig' %} {% block title %}New MeetUp{% endblock %} {% block body %} <h1>Create new MeetUp</h1> {{ include('meet_up/_form.html.twig') }} <a href="{{ path('meet_up_index') }}">back to list</a> {% endblock %}
22,325
https://github.com/runatlantis/atlantis/blob/master/server/core/runtime/models/shell_command_runner_test.go
Github Open Source
Open Source
Apache-2.0
2,023
atlantis
runatlantis
Go
Code
202
858
package models_test import ( "fmt" "os" "strings" "testing" . "github.com/petergtz/pegomock/v4" "github.com/runatlantis/atlantis/server/core/runtime/models" "github.com/runatlantis/atlantis/server/events/command" "github.com/runatlantis/atlantis/server/jobs/mocks" logmocks "github.com/runatlantis/atlantis/se...
42,562
https://github.com/syssam/yii2-backend/blob/master/common/models/ParkAttribute.php
Github Open Source
Open Source
BSD-3-Clause
null
yii2-backend
syssam
PHP
Code
87
251
<?php namespace common\models; use Yii; /** * This is the model class for table "{{%park_attribute}}". * * @property integer $park_id * @property integer $attribute_id * @property string $text * @property integer $language_id */ class ParkAttribute extends \yii\db\ActiveRecord { /** * @inheritdoc ...
12,963
https://github.com/frame-js/Frame/blob/master/config/rollup.config.js
Github Open Source
Open Source
MIT
2,020
Frame
frame-js
JavaScript
Code
33
78
import build from './build' import dev from './dev' import min from './min' import bootstrap from './bootstrap' if (process.env.build === 'production') module.exports = [build, min, bootstrap] else if (process.env.build === 'dev') module.exports = dev
12,879
https://github.com/ladybug/java-pocs/blob/master/pocs/open-nlp-simple/src/main/java/com/github/diegopacheco/opennlp/samples/NameFinderMain.java
Github Open Source
Open Source
Unlicense
2,022
java-pocs
ladybug
Java
Code
65
283
package com.github.diegopacheco.opennlp.samples; import java.io.FileInputStream; import java.io.InputStream; import opennlp.tools.namefind.NameFinderME; import opennlp.tools.namefind.TokenNameFinderModel; import opennlp.tools.util.Span; public class NameFinderMain { public static void main(String[] args) throws Thr...
48,043
https://github.com/coreybruyere/components/blob/master/src/components/Input/Input.tsx
Github Open Source
Open Source
MIT
2,021
components
coreybruyere
TSX
Code
394
1,263
import { useLabelContext } from '@radix-ui/react-label' import React, { ComponentProps, ElementRef, forwardRef } from 'react' import type { CSSProps, VariantProps } from '../../stitches.config' import { css, styled } from '../../stitches.config' import { Label } from '../Label' const DEFAULT_TAG = 'input' const hover...
15,541
https://github.com/FeatureToggleStudy/halfpipe/blob/master/pipeline/pipeline.go
Github Open Source
Open Source
BSD-3-Clause
null
halfpipe
FeatureToggleStudy
Go
Code
2,768
10,412
package pipeline import ( "fmt" "regexp" "strings" "path/filepath" "sort" "path" cfManifest "code.cloudfoundry.org/cli/util/manifest" boshTemplate "github.com/cloudfoundry/bosh-cli/director/template" "github.com/concourse/concourse/atc" "github.com/spf13/afero" "github.com/springernature/halfpipe/config...
43,142
https://github.com/intelligentplant/IndustrialAppStore.ClientTools.DotNet/blob/master/src/IntelligentPlant.DataCore.HttpClient/Queries/FindAssetModelElementsRequest.cs
Github Open Source
Open Source
MIT
null
IndustrialAppStore.ClientTools.DotNet
intelligentplant
C#
Code
50
132
using System.ComponentModel.DataAnnotations; namespace IntelligentPlant.DataCore.Client.Queries { public class FindAssetModelElementsRequest : DataSourceRequest { public string ParentId { get; set; } [MaxLength(200)] public string NameFilter { get; set; } [MaxLength(200)] ...
38,655
https://github.com/actarian/qix/blob/master/src/js/game/geometry/vector2.js
Github Open Source
Open Source
MIT
null
qix
actarian
JavaScript
Code
794
2,578
export default class Vector2 { constructor(x = 0, y = 0) { this.x = x; this.y = y; } set(x, y) { this.x = x; this.y = y; return this; } setScalar(scalar) { this.x = scalar; this.y = scalar; return this; } setX(x) { this.x = x; return this; } setY(y) { this.y = y; return this; } ...
34,975
https://github.com/dagver/dagver/blob/master/index.ts
Github Open Source
Open Source
Apache-2.0
2,017
dagver
dagver
TypeScript
Code
266
702
import "tslib"; import * as Git from "nodegit"; interface Version { readonly height: number; readonly merge: number; readonly local: number; } type GetVersion = (commit: Git.Commit) => Promise<Version>; function createGetVersion(): GetVersion { const cache : { [id: string]: Version } = {}; ...
3,879
https://github.com/jg1uaa/NoraSeries/blob/master/src/NoraCommon/src/main/java/org/jp/illg/util/ambe/dv3k/model/DV3KProcessState.java
Github Open Source
Open Source
MIT
null
NoraSeries
jg1uaa
Java
Code
15
77
package org.jp.illg.util.ambe.dv3k.model; public enum DV3KProcessState { Initialize, SoftReset, ReadProductionID, ReadVerstionString, SetRATEP, MainState, Wait, ; }
3,235
https://github.com/asajadi84/Clubinvite/blob/master/app/src/main/java/com/ashkansajadi/clubinvite/InviteApi.java
Github Open Source
Open Source
MIT
null
Clubinvite
asajadi84
Java
Code
34
172
package com.ashkansajadi.clubinvite; import retrofit2.Call; import retrofit2.Retrofit; import retrofit2.converter.gson.GsonConverterFactory; import retrofit2.http.GET; import retrofit2.http.Query; public interface InviteApi { String apiUrl = "https://club.xnull.xyz/"; Retrofit retrofit = new Retrofit.Builde...
11,823
https://github.com/jpreecedev/webpack-scratch/blob/master/client/index.mobile.js
Github Open Source
Open Source
MIT
null
webpack-scratch
jpreecedev
JavaScript
Code
15
45
import React from 'react' import ReactDOM from 'react-dom' import Mobile from './components/Mobile' ReactDOM.render(<Mobile />, document.getElementById('root'))
9,161
https://github.com/retropipes/older-java-games/blob/master/LoopChute/src/com/puttysoftware/loopchute/generic/GenericWall.java
Github Open Source
Open Source
Unlicense
2,021
older-java-games
retropipes
Java
Code
187
623
/* loopchute: A Maze-Solving Game Copyright (C) 2008-2012 Eric Ahnell Any questions should be directed to the author via email at: products@puttysoftware.com */ package com.puttysoftware.loopchute.generic; import com.puttysoftware.loopchute.LoopChute; import com.puttysoftware.loopchute.game.ObjectInventory; import ...
10,740
https://github.com/icterguru/BiBlerUnittests/blob/master/SyrianiApp/app/UserInterface.py
Github Open Source
Open Source
Apache-2.0
null
BiBlerUnittests
icterguru
Python
Code
233
888
''' Created on Jan 13, 2014 @author: Eugene Syriani @version: 0.2.5 This module represents the interface to the L{gui} package. ''' from gui.app_interface import IApplication from ReferenceManager import ReferenceManager from Importer import Importer from Exporter import Exporter from FieldName import FieldName from ...
46,882
https://github.com/DouglasCarvalhoPereira/Especializaco-Python/blob/master/oop_modulos_e_mais/contabanco.py
Github Open Source
Open Source
MIT
null
Especializaco-Python
DouglasCarvalhoPereira
Python
Code
298
1,109
#SISTEMA CONTA CORRENTE from datetime import datetime, timezone import pytz from random import randint class ContaCorrente(): """ Cria um objeto conta corrente para gerencia as contas correntes. Attributos: nome: (str) Nome do Cliente cpf: (str) Cpf do Cliente com pontos e traço Ag...
23,268
https://github.com/sooftware/tacotron2/blob/master/tacotron2/decoder.py
Github Open Source
Open Source
Apache-2.0
2,021
tacotron2
sooftware
Python
Code
824
3,177
# Copyright (c) 2020, Soohwan Kim. 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 applicable la...
31,470
https://github.com/kdelacerdajetco/masterTruckList/blob/master/react-src/src/components/FilterUser/SearchUser2.js
Github Open Source
Open Source
MIT
null
masterTruckList
kdelacerdajetco
JavaScript
Code
170
550
import React, { Component } from 'react'; let users = this.props.users; // trying to put users in the global scope to see if that helps class SearchUser2 extends Component { constructor (props) { super(props); this.state = { // data: this.props.data, search: '' }; this.handleSearch ...
19,496
https://github.com/galaymv/AzureStorage/blob/master/src/Lykke.AzureStorage/Tables/Templates/Index/AzureIndex.cs
Github Open Source
Open Source
MIT
2,018
AzureStorage
galaymv
C#
Code
592
2,018
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Common; using Lykke.AzureStorage.Tables; using Microsoft.WindowsAzure.Storage.Table; namespace AzureStorage.Tables.Templates.Index { public interface IAzureIndex { string PrimaryPartiti...
29,461
https://github.com/jmfee-usgs/earthquake-processing-formats/blob/master/cpp/src/TravelTimeData.cpp
Github Open Source
Open Source
CC0-1.0
2,020
earthquake-processing-formats
jmfee-usgs
C++
Code
813
3,515
#include <TravelTimeData.h> #include <string> #include <limits> #include <exception> #include <vector> // JSON Keys #define TYPE_KEY "Type" #define PHASE_KEY "Phase" #define TRAVELTIME_KEY "TravelTime" #define DISTANCEDERIVATIVE_KEY "DistanceDerivative" #define DEPTHDERIVATIVE_KEY "DepthDerivative" #define RAYDERIVAT...
25,050
https://github.com/gelldur/cocos2dx-components/blob/master/samples/TouchComponent.h
Github Open Source
Open Source
MIT
2,014
cocos2dx-components
gelldur
C++
Code
142
365
/* * TouchComponent.h * * Created on: Dec 17, 2013 * Author: Dawid Drozd */ #ifndef TOUCHCOMPONENT_H_ #define TOUCHCOMPONENT_H_ #include "component/Component.h" #include "utils/Utils.h" using namespace KoalaComponent; namespace KoalaJump { /** * We must inherit from CCTouchDelegate because we want receiv...
6,644
https://github.com/pablocarracci/click-to-chat/blob/master/app/src/main/java/com/ingoox/clicktochat/ui/theme/Color.kt
Github Open Source
Open Source
MIT
null
click-to-chat
pablocarracci
Kotlin
Code
16
74
package com.ingoox.clicktochat.ui.theme import androidx.compose.ui.graphics.Color val Teal200 = Color(0xFF03DAC5) val Teal500 = Color(0xFF009688) val Teal700 = Color(0xFF00796B)
21,396
https://github.com/giahuydo1379/laravel/blob/master/resources/views/product_create.php
Github Open Source
Open Source
MIT
null
laravel
giahuydo1379
PHP
Code
226
1,159
<!DOCTYPE html> <html> <head> <title>Product Management | Add</title> </head> <body> <div class="container"> <form action = "/create" method = "post"> <input type = "hidden" name = "_token" value = "<?php echo csrf_token(); ?>"> <table class="table table-bordered"> ...
17,681
https://github.com/aya-mrah/pfe-symfony/blob/master/src/AnnonceBundle/Resources/views/colis/transp.html.twig
Github Open Source
Open Source
MIT
null
pfe-symfony
aya-mrah
Twig
Code
601
2,533
{% extends 'base.html.twig' %} {% block main %} <link rel="stylesheet" href=" {{ asset('coli/css/6.css') }}"> <br><br><br> <div class="container-fluid"> <div class="row"> <div class="col-3" > {% for msg in app.session.flashBag.get('success') %} <div class="alert alert-success"> ...
1,633
https://github.com/vkDreamInCode/WorldK/blob/master/api/procedural/Layers/HeightContrast.cs
Github Open Source
Open Source
MIT
2,022
WorldK
vkDreamInCode
C#
Code
109
273
// Licensed under the Non-Profit Open Software License version 3.0 using WorldKit.api.procedural.Builders; using WorldKit.api.procedural.Layers.Base; namespace WorldKit.api.procedural.Layers { /// <summary> /// Layer to add more contrast to the heights /// </summary> public class HeightContrast : ALay...
33,401
https://github.com/bmw46033/amplify-js/blob/master/packages/aws-amplify-angular/dist/src/components/authenticator/confirm-sign-in-component/confirm-sign-in.class.d.ts
Github Open Source
Open Source
Apache-2.0
2,021
amplify-js
bmw46033
TypeScript
Code
8
19
export declare class ConfirmSignInClass { data: any; }
38,138
https://github.com/Brain-up/brn/blob/master/frontend/app/models/group.ts
Github Open Source
Open Source
CC0-1.0, LicenseRef-scancode-public-domain
2,023
brn
Brain-up
TypeScript
Code
96
251
import { hasMany, attr, SyncHasMany } from '@ember-data/model'; import CompletionDependent from './completion-dependent'; import SeriesModel from './series'; export default class Group extends CompletionDependent { parent = null; sortChildrenBy = 'id'; @attr('string') name!: string; @attr('string') descriptio...
1,782
https://github.com/meiry/Cocos2d-x-EarthWarrior3D-win-desktop-version/blob/master/cocos2d/cocos/math/kazmath/src/vec2.c
Github Open Source
Open Source
MIT
2,021
Cocos2d-x-EarthWarrior3D-win-desktop-version
meiry
C
Code
917
2,557
/* Copyright (c) 2008, Luke Benstead. 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 list of conditions and the f...
17,249
https://github.com/swimly/mui/blob/master/src/utils/keycode.ts
Github Open Source
Open Source
MIT
2,020
mui
swimly
TypeScript
Code
983
3,044
const keyCode = { 'uppercase': [[{ key: '1', keyCode: 49, }, { key: '2', keyCode: 50, }, { key: '3', keyCode: 51, }, { key: '4', keyCode: 52, }, { key: '5', keyCode: 53, }, { key: '6', keyCode: 54, }, { key: '7', keyCode: 55, }, { key: '8', ...
22,853
https://github.com/pasirauhala/artadvisor/blob/master/src/sass/admin/typography.scss
Github Open Source
Open Source
MIT
null
artadvisor
pasirauhala
SCSS
Code
7
28
body { font-family: $defaultFontFamily; font-size: $defaultFontSize; }
16,483
https://github.com/CalenGolden/discord-gcloud-commands/blob/master/src/web-server.js
Github Open Source
Open Source
MIT
2,021
discord-gcloud-commands
CalenGolden
JavaScript
Code
99
382
// Imports const { SlashCreator, ExpressServer } = require('slash-create'); const path = require('path'); const execSync = require('child_process').execSync; const DISCORD_APPLICATION_ID = process.env.DISCORD_APPLICATION_ID; const DISCORD_PUBLIC_KEY = process.env.DISCORD_PUBLIC_KEY; const DISCORD_TOKEN = process.env.D...
34,793
https://github.com/Wahap/Supplier.PL/blob/master/src/app/layout/vendorBills/vendor-bills-list/vendor-bills-list.component.ts
Github Open Source
Open Source
Apache-2.0
null
Supplier.PL
Wahap
TypeScript
Code
425
1,713
import { Component, OnInit, Input } from '@angular/core'; import { ConfigService, IConfig } from '../../../app.config'; import { VendorBillService } from '../vendor-bill.service'; import { VendorBill } from '../../../shared/DTOs/vendorBill'; import { Payment } from '../../../shared/DTOs/payment'; import { PaymentType }...
46,030
https://github.com/lgsilvestre/StudentTimeLine_G3/blob/master/app/Http/Controllers/RolController.php
Github Open Source
Open Source
MIT
null
StudentTimeLine_G3
lgsilvestre
PHP
Code
351
1,243
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Caffeinated\Shinobi\Models\Role; use App\User; use DataTables; class RolController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index(Request $re...
7,025
https://github.com/GingerBoy14/mui-form-generator/blob/master/.eslintrc.js
Github Open Source
Open Source
MIT
2,021
mui-form-generator
GingerBoy14
JavaScript
Code
86
380
module.exports = { extends: [ 'airbnb/hooks', 'prettier', 'prettier/standard', 'prettier/react', 'plugin:prettier/recommended' ], parser: 'babel-eslint', env: { node: true }, parserOptions: { ecmaVersion: 2020, ecmaFeatures: { legacyDecorators: true, jsx: true ...
7,644
https://github.com/tend2infinity/Rate-It-Project/blob/master/src/components/Header/styles/header.js
Github Open Source
Open Source
MIT
2,021
Rate-It-Project
tend2infinity
JavaScript
Code
130
403
import styled from 'styled-components/macro' import { Link as ReactRouterLink } from 'react-router-dom'; export const Background = styled.div` display: flex; flex-direction: column; background:linear-gradient(to right, #000 30%, transparent 70%), url(${({ src }) => (src ? `/pictures/${src}.jpg` : '/pictures/header2...
22,746
https://github.com/hakonhagland/aws-sdk-perl/blob/master/auto-lib/Paws/GuardDuty/Member.pm
Github Open Source
Open Source
Apache-2.0
null
aws-sdk-perl
hakonhagland
Perl
Code
344
791
package Paws::GuardDuty::Member; use Moose; has AccountId => (is => 'ro', isa => 'Str', request_name => 'accountId', traits => ['NameInRequest'], required => 1); has DetectorId => (is => 'ro', isa => 'Str', request_name => 'detectorId', traits => ['NameInRequest']); has Email => (is => 'ro', isa => 'Str', reque...
47,220
https://github.com/Agilefreaks/Aquarium/blob/master/aquarium/spec/aquarium/aspects/advice_spec.rb
Github Open Source
Open Source
MIT
2,020
Aquarium
Agilefreaks
Ruby
Code
1,060
3,722
require File.dirname(__FILE__) + '/../spec_helper' require 'aquarium/spec_example_types' require 'aquarium/aspects/advice' require 'aquarium/aspects/aspect' include Aquarium::Aspects describe Advice, "#sort_by_priority_order" do it "should return an empty array for empty input" do Advice.sort_by_priority_order([...
26,079
https://github.com/aphenriques/atlas/blob/master/sample/clientSyncTemporaryRedirection/main.cpp
Github Open Source
Open Source
MIT
2,021
atlas
aphenriques
C++
Code
378
1,022
// // clientSyncTemporaryRedirection/main.cpp // atlas // // MIT License // // Copyright (c) 2021 André Pereira Henriques (aphenriques (at) outlook (dot) com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to ...
48,764
https://github.com/wjiec/packages/blob/master/python/xml_.py
Github Open Source
Open Source
MIT
null
packages
wjiec
Python
Code
58
230
#!/usr/bin/env python3 from xml.parsers.expat import ParserCreate def startElementEvent(name, attrs): print('Start Element Event', name, attrs) def charDataEvent(text): print(' Char Data Event', text) def endElementEvent(name): print('End Element Event', name) xml = r'''<?xml version="1.0"?> <languag...
65
https://github.com/sixprime/machine_learning_course/blob/master/image_classification/app.py
Github Open Source
Open Source
Apache-2.0
null
machine_learning_course
sixprime
Python
Code
53
169
# coding=utf-8 from __future__ import division, print_function from flask import Flask, render_template from gevent.pywsgi import WSGIServer # Define a flask app app = Flask(__name__) @app.route('/', methods=['GET']) def index(): # Main page return render_template('index.html') if __name__ == '__main__': ...
33,489
https://github.com/ryoon/toHankakuKana-jscript/blob/master/wsh-test.js
Github Open Source
Open Source
BSD-3-Clause, BSD-2-Clause
2,018
toHankakuKana-jscript
ryoon
JavaScript
Code
1
90
WScript.Echo(toHankakuKana('笹アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨワヲンガギグゲゴザジズゼゾダヂヅデドパピプペポ'));
16,736
https://github.com/prepare/Ajcek_manufakturalibraries/blob/master/Manufaktura.Controls/Rendering/Strategies/RestRenderStrategy.cs
Github Open Source
Open Source
MIT
null
Ajcek_manufakturalibraries
prepare
C#
Code
498
1,468
/* * Copyright 2018 Manufaktura Programów Jacek Salamon http://musicengravingcontrols.com/ * MIT LICENCE 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...
43,935
https://github.com/v4rden/Ange/blob/master/Ange.Application/ChatMessage/Queries/GetChatMessageList/GetChatMessageListQueryHandler.cs
Github Open Source
Open Source
MIT
null
Ange
v4rden
C#
Code
101
410
namespace Ange.Application.ChatMessage.Queries.GetChatMessageList { using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using AutoMapper; using AutoMapper.QueryableExtensions; using Domain.Entities; using Interfaces; using MediatR; using Microso...
507
https://github.com/frankygregory/exp/blob/master/application/views/admin.php
Github Open Source
Open Source
MIT
null
exp
frankygregory
PHP
Code
53
238
<div id="page-wrapper"> <div class="container-fluid"> <div class="page-title"><?= $page_title ?></div> <div class="content"> <?php if ($this->session->flashdata("flash_message")) { echo "<div class='flash-message'>"; echo $this->session->flashdata("flash_message"); echo "</div>"; } ?> <form action="<?php ech...
8,764
https://github.com/Ultis/rawr/blob/master/Rawr.DPSDK/DKAbilities/AbilityDK.FrostStrike.cs
Github Open Source
Open Source
blessing, Apache-2.0, MIT
2,019
rawr
Ultis
C#
Code
304
993
using System; using System.Collections.Generic; using System.Text; namespace Rawr.DK { /// <summary> /// This class is the implmentation of the Frost Strike Ability based on the AbilityDK_Base class. /// </summary> class AbilityDK_FrostStrike : AbilityDK_Base { public AbilityDK_FrostStrike...
42,466
https://github.com/dangweijian/easy-generator/blob/master/src/main/java/com/dwj/generator/common/utils/ConvertUtil.java
Github Open Source
Open Source
Apache-2.0
2,021
easy-generator
dangweijian
Java
Code
142
584
package com.dwj.generator.common.utils; import cn.hutool.core.util.StrUtil; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * @author: dangweijian * @description: 驼峰下划线处理工具 * @create: 2020-01-02 22:33 **/ public class ConvertUtil { private static Pattern linePattern = Pattern.compile("_(...
47,020
https://github.com/riseshia/isucon9q/blob/master/webapp/frontend/src/components/TransactionComponent/index.tsx
Github Open Source
Open Source
MIT
2,021
isucon9q
riseshia
TypeScript
Code
4
9
export * from './TransactionComponent';
431
https://github.com/tosher/Mediawiker/blob/master/lib/browser_cookie3/__init__.py
Github Open Source
Open Source
MIT
2,023
Mediawiker
tosher
Python
Code
2,093
8,145
# *- coding: utf-8 -*- __doc__ = 'Load browser cookies into a cookiejar' import os import sys import time import glob import http.cookiejar import tempfile import configparser import base64 import json import platform try: # should use pysqlite2 to read the cookies.sqlite on Windows # otherwise will raise th...
8,949
https://github.com/tamarakatic/CrewServiceFabric/blob/master/Crew/Crew.WebService/OwinComunicationListener.cs
Github Open Source
Open Source
MIT
2,017
CrewServiceFabric
tamarakatic
C#
Code
145
566
using System; using System.Fabric; using System.Globalization; using System.Threading; using System.Threading.Tasks; using Microsoft.Owin.Hosting; using Microsoft.ServiceFabric.Services.Communication.Runtime; namespace Crew.WebService { internal class OwinComunicationListener : ICommunicationListener { ...
120
https://github.com/JoshKarpel/quandary/blob/master/setup.py
Github Open Source
Open Source
MIT
2,017
quandary
JoshKarpel
Python
Code
88
237
from setuptools import setup, find_packages import os THIS_DIR = os.path.abspath(os.path.dirname(__file__)) setup( name = 'quandary', version = '0.1.2', author = 'Josh Karpel', author_email = 'josh.karpel@gmail.com', license = '', description = 'A truly terrible switch/case statement for Pytho...
18,490
https://github.com/uruzahe/carla/blob/master/Co-Simulation/Sumo/sumo-1.7.0/src/traci-server/TraCIServerAPI_Edge.cpp
Github Open Source
Open Source
MIT
null
carla
uruzahe
C++
Code
951
3,568
/****************************************************************************/ // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo // Copyright (C) 2002-2020 German Aerospace Center (DLR) and others. // This program and the accompanying materials are made available under the // terms of the Ecli...
39,542
https://github.com/godartg/CookingClass/blob/master/core/src/com/bees/game/Presentacion/MenuScreen.java
Github Open Source
Open Source
MIT
null
CookingClass
godartg
Java
Code
176
886
package com.bees.game.presentacion; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.scenes.scene2d.InputEvent; import com.badlogic.gdx.scenes.scene2d.InputListener; import com.badlogic.gdx.scenes.scene2d.ui.Image; import com.badlogic.gdx.scenes.scene2d.ui.ImageButton; imp...
42,324
https://github.com/H4m5t3r/cses-cli/blob/master/src/api/mod.rs
Github Open Source
Open Source
MIT
2,021
cses-cli
H4m5t3r
Rust
Code
847
3,411
mod escape; mod trace_send; use escape::Escape; use miniserde::{json, Deserialize, Serialize}; use minreq::Response; #[cfg(test)] use mockall::automock; use thiserror::Error; use trace_send::TraceSend; use crate::entities::{ CourseList, Language, Scope, ScopeContent, SubmissionInfo, SubmissionList, TaskStatement, ...
27,972
https://github.com/OwNet/qtownet/blob/master/Modules/PortalModule/sharedfilesupdatelistener.cpp
Github Open Source
Open Source
MIT
2,019
qtownet
OwNet
C++
Code
155
779
#include "sharedfilesupdatelistener.h" #include "idatabaseupdatequery.h" #include "iproxyconnection.h" #include "isession.h" #include "idatabaseselectquery.h" #include "idatabasesettings.h" #include "isettings.h" #include <QNetworkAccessManager> #include <QNetworkRequest> #include <QNetworkReply> #include <QNetworkPr...
36,157
https://github.com/abruere/sicp-exercises/blob/master/1.1/sicp-ex-1.2.scm
Github Open Source
Open Source
MIT
null
sicp-exercises
abruere
Scheme
Code
31
64
;; SICP Exercise 1.2 ;; -(14.8/60) or -(37/150) (/ (+ 5 4 (- 2 (- 3 (+ 6 (/ 4 5))) )) (* 3 (- 6 2) (- 2 7)) )
4,378
https://github.com/JonkiPro/popcorn/blob/master/popcorn-common/src/test/java/com/jonki/popcorn/common/dto/movie/OtherTitleUnitTests.java
Github Open Source
Open Source
MIT
2,019
popcorn
JonkiPro
Java
Code
245
940
package com.jonki.popcorn.common.dto.movie; import com.jonki.popcorn.common.dto.TitleAttribute; import com.jonki.popcorn.common.dto.movie.type.CountryType; import com.jonki.popcorn.test.category.UnitTest; import com.jonki.popcorn.test.supplier.RandomSupplier; import org.hamcrest.Matchers; import org.junit.Assert; impo...
29,479
https://github.com/ManuelFerreras/blockchain-gntx-dapp/blob/master/src/TopBlock.js
Github Open Source
Open Source
MIT
null
blockchain-gntx-dapp
ManuelFerreras
JavaScript
Code
45
145
import React from "react"; export default () => { return( <> <div className="container bg-top"> <div className="content"> <h1 className="text-center">Project Name Here</h1> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Don...
39,410
https://github.com/andreafoschi00/OOP20-alt-sim-C-Sharp/blob/master/Foschi/Foschi/src/airstrip/BasicAirStrip.cs
Github Open Source
Open Source
MIT
null
OOP20-alt-sim-C-Sharp
andreafoschi00
C#
Code
110
246
namespace Foschi.airstrip { public class BasicAirStrip: AirStrip { /// <summary> /// Width of the strip. /// </summary> public double Width { get; set; } /// <summary> /// Length of the strip. /// </summary> public double Length { get; set; } ...
38,707