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/JosephCaillet/JPedi/blob/master/src/interfaceg/boiteDialogue/InvertColorDialog.java
Github Open Source
Open Source
MIT
2,020
JPedi
JosephCaillet
Java
Code
36
151
package interfaceg.boiteDialogue; import interfaceg.principale.Apercu; import traitement.ImageModifier; import javax.swing.*; public class InvertColorDialog extends ModifDialog { public InvertColorDialog(JFrame parent, Apercu apercu) { super(parent, apercu); this.setTitle("Inversion des couleurs"); imgModif...
11,475
https://github.com/adikanike85/performance_dashboard/blob/master/Source/kCura.PDB.Service.Tests/Testing/TestPollingServiceTests.cs
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-unknown-license-reference
2,021
performance_dashboard
adikanike85
C#
Code
140
709
namespace kCura.PDB.Service.Tests.Testing { using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using kCura.PDB.Core.Extensions; using kCura.PDB.Core.Interfaces.Repositories; using kCura.PDB.Core.Interfaces.Testing; using kCura.PDB.Core.Interfaces.Testing.Repo...
7,489
https://github.com/elvisbugs/BoostForArduino/blob/master/src/boost_last_value.hpp
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, BSL-1.0
2,021
BoostForArduino
elvisbugs
C++
Code
2
13
#include <boost/last_value.hpp>
48,544
https://github.com/serge-sans-paille/frozen/blob/master/tests/no_exceptions.cpp
Github Open Source
Open Source
Apache-2.0
2,023
frozen
serge-sans-paille
C++
Code
55
219
#include <frozen/unordered_map.h> #include <csignal> #include <cstdlib> // https://discourse.cmake.org/t/tests-that-are-meant-to-abort/537/3 // This is a hack to implement death tests in CTest. extern "C" void error_test_handle_abort(int) { std::_Exit(EXIT_FAILURE); } struct test_override_abort { test_override_abo...
45,855
https://github.com/compgen-io/ngsutilsj/blob/master/src/java/io/compgen/ngsutils/bam/support/BamHeaderUtils.java
Github Open Source
Open Source
BSD-3-Clause
2,023
ngsutilsj
compgen-io
Java
Code
231
873
package io.compgen.ngsutils.bam.support; import java.util.List; import java.util.Map.Entry; import htsjdk.samtools.SAMFileHeader; import htsjdk.samtools.SAMProgramRecord; import htsjdk.samtools.SAMReadGroupRecord; import io.compgen.ngsutils.NGSUtils; public class BamHeaderUtils { public static SAMProgramRecord ...
41,188
https://github.com/Shuttlerock/actions/blob/master/src/services/Jira/Issue.ts
Github Open Source
Open Source
MIT
null
actions
Shuttlerock
TypeScript
Code
1,464
3,371
import { error, info } from '@actions/core' import { TransitionObject } from 'jira-client' import isNil from 'lodash/isNil' import fetch from 'node-fetch' import { Repository } from '@sr-services/Github/Git' import { jiraHost, organizationName } from '@sr-services/Inputs' import { apiPrefix, client } from '@sr-service...
23,221
https://github.com/RichardBronosky/aws-api-tools/blob/master/src/components/header/skip-to-navigation.jsx
Github Open Source
Open Source
MIT
null
aws-api-tools
RichardBronosky
null
Spoken
18
41
import React from 'react' export default () => ( <a className="skip" href="#content"> Skip to Main Content </a> )
37,716
https://github.com/wwu-mmll/resample/blob/master/resample/tests/test_permutation.py
Github Open Source
Open Source
BSD-3-Clause
null
resample
wwu-mmll
Python
Code
90
356
import numpy as np from resample.permutation import anova, kruskal_wallis, ks_test, ttest, wilcoxon def test_t_squared_equals_f(): x = np.random.randn(100) y = np.random.randn(100) tsq = ttest(x, y)["t"] ** 2 f = anova([x, y])["f"] assert np.isclose(tsq, f) def test_ks_separable_data(): x =...
54,410
https://github.com/fubiaoLiu/java-learn/blob/master/design-pattern/src/main/java/com/xiaoliu/learn/singleton/HolderSingleton.java
Github Open Source
Open Source
MIT
2,020
java-learn
fubiaoLiu
Java
Code
42
111
package com.xiaoliu.learn.singleton; /** * @description: * @author: FuBiaoLiu * @date: 2019/10/12 */ public class HolderSingleton { private HolderSingleton() { } public static HolderSingleton getInstance() { return Holder.instance; } private static class Holder { private stati...
43,484
https://github.com/merrillrudd/datamoderate/blob/master/v1_May2020/sim_new/long_fast/F1/HighSigmaR/1/N200/L20/R_biasadjusted_change_Linf_49.5/gradient.1
Github Open Source
Open Source
MIT
2,020
datamoderate
merrillrudd
null
Spoken
6
28
ParName Value Gradient SR_parm[1] 14.9472 -7.15556
47,868
https://github.com/otorres828/Tesistas/blob/master/App/Controllers/escuela/ConsejoController.php
Github Open Source
Open Source
MIT
2,022
Tesistas
otorres828
PHP
Code
53
224
<?php namespace App\Controllers\escuela; use App\Models\Auth; use \Core\View; use App\Models\Consejos; class ConsejoController extends \Core\Controller { public function index() { $consejos = (new Consejos())->get(); // Listar todos los consejos de escuela View::render('escuela/conse...
37,927
https://github.com/rioki/jekyll-s3/blob/master/lib/jekyll-s3.rb
Github Open Source
Open Source
MIT
2,011
jekyll-s3
rioki
Ruby
Code
22
76
require 'rubygems' require 'yaml' require 'aws/s3' module Jekyll module S3 end end %w{errors uploader cli}.each do |file| require File.dirname(__FILE__) + "/jekyll-s3/#{file}" end
2,238
https://github.com/Helloyunho/Paste-alt/blob/master/Paste-alt/Extensions/NSNotificationExtension.swift
Github Open Source
Open Source
MIT
2,020
Paste-alt
Helloyunho
Swift
Code
45
128
// // NSNotificationExtension.swift // Paste-alt // // Created by Helloyunho on 2020/06/26. // Copyright © 2020 Helloyunho. All rights reserved. // import Foundation extension NSNotification.Name { public static let NSPasteboardDidChange: NSNotification.Name = .init( rawValue: "pasteboardDidChangeNoti...
49,976
https://github.com/Md-Asaduzzaman-Muhid/Woocommerce/blob/master/store/wp-content/plugins/unitegallery/js/settings.js
Github Open Source
Open Source
MIT
null
Woocommerce
Md-Asaduzzaman-Muhid
JavaScript
Code
573
2,420
function UniteSettingsUG(){ var arrControls = {}; var colorPicker; var t=this; /** * get settings object */ this.getSettingsObject = function(formID){ var obj = new Object(); var form = document.getElementById(formID); if(!form){ trace("form with id: " + formID + " not found!"); retur...
15,599
https://github.com/apollofy-music-project/SongShare/blob/master/packages/web/src/components/DarkLightToggle/index.jsx
Github Open Source
Open Source
MIT
2,021
SongShare
apollofy-music-project
null
Spoken
77
250
import React from 'react'; import { useDispatch } from 'react-redux'; import { changeTheme } from '../../redux/theme/theme-actions'; import './styles.scss'; export const DarkLightToggle = ({ theme }) => { const dispatch = useDispatch(); const handleChangeTheme = () => { dispatch(changeTheme()); }; ...
52,718
https://github.com/emanuellucas2/OVPsimProject/blob/master/Examples/Models/Processor/10.or1kBehaviorExceptions/platform/platform.c
Github Open Source
Open Source
TCL
null
OVPsimProject
emanuellucas2
C
Code
453
1,101
/* * * Copyright (c) 2005-2021 Imperas Software Ltd., www.imperas.com * * The contents of this file are provided under the Software License * Agreement that you accepted before downloading this file. * * This source forms part of the Software and can be used for educational, * training, and demonstration purpos...
550
https://github.com/dotnet/roslyn/blob/master/src/Workspaces/Core/Portable/FindSymbols/SearchQuery.cs
Github Open Source
Open Source
MIT
2,023
roslyn
dotnet
C#
Code
309
751
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using Roslyn.Utilities; namespace Microsoft.CodeAnalysis.FindSymbols { internal struct SearchQue...
34,955
https://github.com/InfOmics/cuRnet/blob/master/src/parallelSCC-4k/include/device/definition.cuh
Github Open Source
Open Source
MIT
2,020
cuRnet
InfOmics
null
Spoken
304
994
#pragma once #define l1(x) #x #define l2(x) l1(x) namespace scc4k{ #define Tid threadIdx.x #if defined(__CUDACC__) #if ARCH >= 300 || __CUDA_ARCH__ >= 300 #if ARCH == 300 || __CUDA_ARCH__ == 300 //#pragma message("\n\nCompute Capability: 3\n") const int SMem_Per_SM = 49152; #elif ARCH == 350 || __CUDA_AR...
51,459
https://github.com/zhmu/ananas/blob/master/external/binutils-2.38/gas/testsuite/gas/i386/xsavec-intel.d
Github Open Source
Open Source
Zlib, LicenseRef-scancode-public-domain, GPL-3.0-only, FSFAP, GPL-2.0-only, LGPL-3.0-only, GPL-1.0-or-later, LGPL-2.0-or-later, LicenseRef-scancode-warranty-disclaimer, LicenseRef-scancode-other-copyleft, LGPL-2.0-only, LicenseRef-scancode-other-permissive, GPL-2.0-or-later
2,022
ananas
zhmu
Makefile
Code
61
247
#as: #objdump: -dw -Mintel #name: i386 XSAVEC insns (Intel disassembly) #source: xsavec.s .*: +file format .* Disassembly of section \.text: 00000000 <_start>: [ ]*[a-f0-9]+:[ ]*0f c7 21[ ]*xsavec \[ecx\] [ ]*[a-f0-9]+:[ ]*0f c7 a4 f4 c0 1d fe ff[ ]*xsavec \[esp\+esi\*8-0x1e240\] [ ]*[a-f0-9]+:[ ]*0f c7 21[...
1,488
https://github.com/ugate/ugatefx/blob/master/src/main/java/org/ugate/service/entity/ActorType.java
Github Open Source
Open Source
Apache-2.0
2,016
ugatefx
ugate
Java
Code
427
1,870
package org.ugate.service.entity; import java.util.Arrays; import java.util.HashSet; import java.util.LinkedHashSet; import org.ugate.service.entity.jpa.Actor; import org.ugate.service.entity.jpa.Host; import org.ugate.service.entity.jpa.MailRecipient; import org.ugate.service.entity.jpa.RemoteNode; import org.ugate....
54,738
https://github.com/BohdanPetryshyn/nails-service/blob/master/src/mongo/mongo.module.ts
Github Open Source
Open Source
MIT
null
nails-service
BohdanPetryshyn
TypeScript
Code
39
122
import { Module } from '@nestjs/common'; import { MongooseModule } from '@nestjs/mongoose'; import { AppConfigModule } from '../config/app-config.module'; import { MongooseConfigFactory } from './mongoose-config-factory'; @Module({ imports: [ MongooseModule.forRootAsync({ imports: [AppConfigModule], ...
17,793
https://github.com/swaitw/botonic/blob/master/packages/botonic-cli/src/commands/destroy.ts
Github Open Source
Open Source
MIT
2,022
botonic
swaitw
TypeScript
Code
172
478
import { PulumiRunner } from '@botonic/pulumi/lib/pulumi-runner' import { Command } from '@oclif/command' import { Telemetry } from '../analytics/telemetry' import { CLOUD_PROVIDERS, PATH_TO_AWS_CONFIG } from '../constants' export default class Run extends Command { static description = 'Destroy Botonic project fro...
7,087
https://github.com/lhlmicheal/plane/blob/master/Classes/gameClass/manager/planeManager.h
Github Open Source
Open Source
MIT
2,017
plane
lhlmicheal
C++
Code
57
355
#ifndef _planeManager_h #define _planeManager_h #include <vector> using namespace std; #include "../pool/gamePool.h" #include "../plane/planeBase.h" #include "../factory/planeFactory.h" #include "../layer/runplaylayer.h" #include "../definedata/LocalConfigData.h" class PlaneManager { public: PlaneFactory *factory; Ru...
14,153
https://github.com/taktos/ea2ddl/blob/master/ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/exentity/TAttribute.java
Github Open Source
Open Source
Apache-2.0
null
ea2ddl
taktos
Java
Code
95
279
package jp.sourceforge.ea2ddl.dao.exentity; import java.util.Map; /** * The entity of t_attribute. * <p> * You can implement your original methods here. This class remains when * re-generating. * </p> * * @author DBFlute(AutoGenerator) */ public class TAttribute extends jp.sourceforge.ea2ddl.dao.bsentity.BsT...
30,329
https://github.com/yhcgzs/firefly/blob/master/header.php
Github Open Source
Open Source
Apache-2.0
null
firefly
yhcgzs
PHP
Code
315
1,521
<!DOCTYPE html> <html <?php language_attributes(); ?> class="no-js" mip> <head> <meta charset="UTF-8"> <title><?php echo wp_get_document_title(); ?></title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="<?php echo stripslashes(get_option('Y_descri...
49,332
https://github.com/zareismail/project-manager/blob/master/src/Nova/InventoryMaterial.php
Github Open Source
Open Source
MIT
null
project-manager
zareismail
PHP
Code
236
865
<?php namespace Zareismail\ProjectManager\Nova; use Illuminate\Http\Request; use Laravel\Nova\Fields\{ID, Number, Currency, BelongsTo}; use Laravel\Nova\Http\Requests\NovaRequest; use Zareismail\Keil\Nova\MeasuringUnit; class InventoryMaterial extends Resource { /** * The model the resource corresponds ...
36,575
https://github.com/selavy/cgreen/blob/master/contrib/cgreen-mocker/Makefile
Github Open Source
Open Source
ISC
null
cgreen
selavy
Makefile
Code
95
281
all: @echo "Testing..." @echo -n "double... " @./cgreen-mocker.py double.h > double.mock @diff double.mock double.mock.expected @if [ "$$?" -eq 0 ] ; then echo "Ok" ; fi @echo -n "complex_types... " @./cgreen-mocker.py complex_types.h > complex_types.mock @diff complex_types.mock complex_types.mock.expected @i...
4,799
https://github.com/IMULMUL/Web-CTF-Cheatsheet/blob/master/scripts/sqlinj/mysql_time.rb
Github Open Source
Open Source
ImageMagick
2,022
Web-CTF-Cheatsheet
IMULMUL
Ruby
Code
145
395
# encoding: UTF-8 # MySQL Blind Time-Based Template require 'net/http' require 'uri' $url = 'http://target.com/login.php' $ans = '' $len = 0 $delay = 2 (1..100).each do |i| $query = "a' AND (SELECT * FROM (SELECT if (length(user())=#{i},sleep(#{$delay}),1))a) AND 'a'='a" start = Time.now res = Net::HTTP.p...
55,925
https://github.com/stzjimin/JiMin_07/blob/master/PuzzleGameMapTool/lib/starling-2.0/starling/src/starlingOrigin/rendering/BatchToken.as
Github Open Source
Open Source
BSD-2-Clause-Views, BSD-2-Clause
2,016
JiMin_07
stzjimin
null
Spoken
305
700
// ================================================================================================= // // Starling Framework // Copyright Gamua GmbH. All Rights Reserved. // // This program is free software. You can redistribute and/or modify it // in accordance with the terms of the accompanying license agreement. //...
21,365
https://github.com/jlopez788/Blazorise/blob/master/Source/Blazorise.Tailwind/Styles/components/_typography.scss
Github Open Source
Open Source
LicenseRef-scancode-generic-cla, Apache-2.0
2,023
Blazorise
jlopez788
SCSS
Code
34
131
p { --tw-text-opacity: 1; color: rgb(75 85 99/var(--tw-text-opacity)); font-size: 1rem; font-weight: 300; line-height: 1.5rem; margin-bottom: 1rem; } @each $dimension in $figure-dimensions { .b-figure-#{$dimension}x#{$dimension} { height: $dimension * 1px; width: $dimension...
15,568
https://github.com/great-expectations/great_expectations/blob/master/great_expectations/rule_based_profiler/parameter_builder/metric_single_batch_parameter_builder.py
Github Open Source
Open Source
Apache-2.0
2,023
great_expectations
great-expectations
Python
Code
436
1,499
from __future__ import annotations from typing import TYPE_CHECKING, ClassVar, Dict, List, Optional, Set, Union from great_expectations.compatibility.typing_extensions import override from great_expectations.core.domain import Domain # noqa: TCH001 from great_expectations.rule_based_profiler.config import ( Para...
2,831
https://github.com/trevorfenner/code/blob/master/prolog/listgen.pl
Github Open Source
Open Source
MIT
2,018
code
trevorfenner
Prolog
Code
36
196
stamp(15). stamp(7). stamp(3). stamp(1). slist([]). slist(X) :- slist(Y),append(Y,[C],X),stamp(C). sumlist([],0). sumlist([H|T],Sum) :- sumlist(T,TmpSum),Sum is H + TmpSum. validlist(X,Total) :- slist(X),sumlist(X,Total),!. slist([],Limit,0). slist(X,Limit,Sum) :- slist(Y,Limit,TmpSum), append...
56,560
https://github.com/brianjgeiger/ember-osf-web/blob/master/mirage/scenarios/default.ts
Github Open Source
Open Source
Apache-2.0
null
ember-osf-web
brianjgeiger
TypeScript
Code
169
589
import { Server } from 'ember-cli-mirage'; import config from 'ember-get-config'; import Node from 'ember-osf-web/models/node'; import { Permission } from 'ember-osf-web/models/osf-model'; import { draftRegisterNodeMultiple, registerNodeMultiple } from '../helpers'; const { dashboard: { noteworthyNode, ...
28,550
https://github.com/isolationinteractive/newport/blob/master/src/runtime/math/vec2.rs
Github Open Source
Open Source
Apache-2.0
2,022
newport
isolationinteractive
Rust
Code
916
2,541
use std::ops::{ Add, AddAssign, Div, DivAssign, Mul, MulAssign, Neg, Sub, SubAssign, }; use std::convert::From; use serde::{ Deserialize, Deserializer, Serialize, Serializer, }; use crate::lerp; #[macro_export] macro_rules! vec2 { () => { $crate::Vec2::ZERO }; ($xy:expr) => { $crate::Vec2::splat...
41,984
https://github.com/Mrbysco/DailyDad-Server/blob/master/Fabric/src/main/java/com/mrbysco/dailydadserver/platform/FabricPlatformHelper.java
Github Open Source
Open Source
MIT
null
DailyDad-Server
Mrbysco
Java
Code
73
420
package com.mrbysco.dailydadserver.platform; import com.mrbysco.dailydadserver.DailyDadFabric; import com.mrbysco.dailydadserver.config.JokeConfig; import com.mrbysco.dailydadserver.jokes.DadAbase; import com.mrbysco.dailydadserver.jokes.JokeResolved; import com.mrbysco.dailydadserver.platform.services.IPlatformHelper...
37,681
https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/mediaservices/Azure.ResourceManager.Media/src/Generated/Models/ContentKeyPolicyFairPlayRentalAndLeaseKeyType.cs
Github Open Source
Open Source
LGPL-2.1-or-later, Apache-2.0, MIT, LicenseRef-scancode-generic-cla
2,023
azure-sdk-for-net
Azure
C#
Code
330
1,033
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.ComponentModel; namespace Azure.ResourceManager.Media.Models { /// <summary> The rental and lease key type. </summary> public readonly partial str...
19,654
https://github.com/PaNOSC-ViNYL/oasys-installation-scripts/blob/master/Old/create_desktop_application.sh
Github Open Source
Open Source
MIT
null
oasys-installation-scripts
PaNOSC-ViNYL
Shell
Code
36
192
#!/bin/bash echo "[Desktop Entry]" > /usr/share/applications/Oasys.desktop echo "Type=Application" >> /usr/share/applications/Oasys.desktop echo "Terminal=false" >> /usr/share/applications/Oasys.desktop echo "Name=Oasys" >> /usr/share/applications/Oasys.desktop echo "Icon="`find /home -name "start_oasys.sh" -printf "...
17,306
https://github.com/BenDelGreco/mapbox-navigation-android-styled/blob/master/libandroid-navigation/src/main/java/com/mapbox/services/android/navigation/v5/navigation/NavigationPerformanceEvent.java
Github Open Source
Open Source
MIT
null
mapbox-navigation-android-styled
BenDelGreco
Java
Code
131
458
package com.mapbox.services.android.navigation.v5.navigation; import android.annotation.SuppressLint; import android.os.Parcel; import android.os.Parcelable; import com.mapbox.android.telemetry.Event; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import ...
51,965
https://github.com/maximus-uk/SPFX_React_SPA/blob/master/node_modules/@microsoft/sp-webpart-workbench/local-workbench/chunk.vendors~shared-react-splivepersonacard~sp~896e3b47_none.js
Github Open Source
Open Source
MIT
null
SPFX_React_SPA
maximus-uk
JavaScript
Code
4,184
14,082
(window["webpackJsonp_1e2cdec9_1360_4295_b73c_98d6f51866d5_0_1_0"] = window["webpackJsonp_1e2cdec9_1360_4295_b73c_98d6f51866d5_0_1_0"] || []).push([["vendors~shared-react-splivepersonacard~sp~896e3b47"],{ /***/ "0wds": /*!*************************************************************************************************...
44,468
https://github.com/croese/phraseit-wordy/blob/master/index.js
Github Open Source
Open Source
MIT
null
phraseit-wordy
croese
JavaScript
Code
245
774
var articles = require('articles/lib/Articles.js'); var randy = require('randy'); // --------------------------------------------- // DEFAULTS // --------------------------------------------- function Phraseit() { var self = this; self._nouns = require('./words/nouns.js'); self._adjectives = r...
48,212
https://github.com/littleJmer/yaydoo-test/blob/master/src/lib/SuperSale.js
Github Open Source
Open Source
MIT
null
yaydoo-test
littleJmer
JavaScript
Code
35
91
const Coverage = require('./Coverage.js'); class SuperSale extends Coverage { constructor(sellIn, price) { super('Super Sale', sellIn, price); } updatePrice() { // degrade in price twice as fast as normal Products. super.updatePrice(2); } }; module.exports = SuperSale;
42,103
https://github.com/energia-source/knight-artifact-entity-adapter-mysql/blob/master/lib/operations/Select.php
Github Open Source
Open Source
MIT
null
knight-artifact-entity-adapter-mysql
energia-source
PHP
Code
1,027
3,801
<?PHP namespace MySQL\operations; use PDOStatement; use Entity\Field; use Entity\Validation; use Entity\validations\Matrioska; use MySQL\Statement; use MySQL\Connection; use MySQL\entity\Table; use MySQL\adapters\map\Injection; use MySQL\operations\select\Join; use MySQL\operations\select\Group; use MySQL\operation...
48,632
https://github.com/jhunkeler/spmc/blob/master/tests/test_str_isrelational.c
Github Open Source
Open Source
BSD-3-Clause
null
spmc
jhunkeler
C
Code
130
489
#include "spm.h" #include "framework.h" const char *testFmt = "case: '%c': returned %d, expected %d\n"; struct TestCase testCase[] = { {.caseValue.signed_char = '~', .truthValue.signed_int = 1}, {.caseValue.signed_char = '!', .truthValue.signed_int = 1}, {.caseValue.signed_char = '=', .truthVal...
29,709
https://github.com/threefoldtech/threefold-forums/blob/master/spec/fixtures/emails/staged_reply_restricted.eml
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-other-permissive, LicenseRef-scancode-other-copyleft, GPL-2.0-or-later
2,021
threefold-forums
threefoldtech
null
Spoken
37
131
Return-Path: <discourse@bar.com> From: Foo Bar <discourse@bar.com> To: reply+4f97315cc828096c9cb34c6f1a0d6fe8@bar.com Date: Fri, 15 Jun 2016 00:12:43 +0100 Message-ID: <54@foo.bar.mail> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 This is a reply from a staged user in a topic in a restricted category.
49,703
https://github.com/mr-pmillz/yq/blob/master/pkg/yqlib/operator_load_test.go
Github Open Source
Open Source
MIT
2,022
yq
mr-pmillz
Go
Code
196
617
package yqlib import ( "testing" ) var loadScenarios = []expressionScenario{ { description: "Simple example", document: `{myFile: "../../examples/thing.yml"}`, expression: `load(.myFile)`, expected: []string{ "D0, P[], (doc)::a: apple is included\nb: cool.\n", }, }, { description: "Replace n...
45,745
https://github.com/entelente/zircon/blob/master/zircon.core/src/main/kotlin/org/hexworks/zircon/api/builder/component/CheckBoxBuilder.kt
Github Open Source
Open Source
MIT
null
zircon
entelente
Kotlin
Code
97
295
package org.hexworks.zircon.api.builder.component import org.hexworks.zircon.api.component.BaseComponentBuilder import org.hexworks.zircon.api.component.CheckBox import org.hexworks.zircon.internal.component.impl.DefaultCheckBox import org.hexworks.zircon.platform.factory.ThreadSafeQueueFactory data class CheckBoxBui...
8,032
https://github.com/slemjet/problems_and_solutions/blob/master/questions_leetcode/medium/src/main/java/us/slemjet/leetcode/medium/tasks_201_250/KthSmallestElementBST.java
Github Open Source
Open Source
MIT
null
problems_and_solutions
slemjet
Java
Code
343
852
package us.slemjet.leetcode.medium.tasks_201_250; import java.util.HashMap; import java.util.Map; /** * 230. Kth Smallest Element in a BST */ public class KthSmallestElementBST { int result = 0; int count = 0; /** * Runtime: 100.00% * Memory Usage: 5.02% * Use DFS traversal to find k-th...
8,394
https://github.com/Pintulalmeena/astumla/blob/master/proj.py
Github Open Source
Open Source
MIT
2,017
astumla
Pintulalmeena
Python
Code
325
3,001
import csv import numpy as np import statsmodels.api as sm import matplotlib.pyplot as plt import pandas as pd import math from sklearn import linear_model from numpy import nan from sklearn import svm from itertools import izip lambda1=5 priceopen=[] priceclose=[] pricelow=[] pricehigh=[] volumeopen=[] volumeclose=[...
29,733
https://github.com/takenet/blip-toolkit/blob/master/src/scss/utilities/_font-size.scss
Github Open Source
Open Source
MIT
2,021
blip-toolkit
takenet
SCSS
Code
47
211
/* BLiP Toolkit Font Size Classes */ .bp-fs-1 { font-size: $bp-fs-1; } .bp-fs-2 { font-size: $bp-fs-2; } .bp-fs-3 { font-size: $bp-fs-3; } .bp-fs-4 { font-size: $bp-fs-4; } .bp-fs-5 { font-size: $bp-fs-5; } .bp-fs-6 { font-size: $bp-fs-6; } .bp-fs-7 { font-size: $bp-fs-7; } .bp-fs-8 { font...
41,645
https://github.com/emreoztr/C-2D-CAD-Program-with-C/blob/master/Makefile
Github Open Source
Open Source
MIT
2,021
C-2D-CAD-Program-with-C
emreoztr
Makefile
Code
11
35
test: test.c CADlib.c CADlib.h gcc test.c CADlib.c -lm -o test ./test
19,714
https://github.com/ankitrathore25/Google-FooBar-Experience-2020/blob/master/src/level3/2_find_the_access_codes/Test_Time_Comparision.java
Github Open Source
Open Source
MIT
null
Google-FooBar-Experience-2020
ankitrathore25
Java
Code
740
2,208
package practice; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Set; /*Level 3-2*/ public class Test_Time_Comparision { public static int myMethod1(int[] l) { final long startTime = System.currentTimeMillis(); int len = l.length; int[][] isYDivisibleByX = new int[...
42,256
https://github.com/Sherrie-bloomquist/weekend3_calculator/blob/master/client/script.js
Github Open Source
Open Source
MIT
2,017
weekend3_calculator
Sherrie-bloomquist
JavaScript
Code
104
359
// var objectToSend = {}; var outputText = ''; $(document).ready(function(){ console.log('jq'); $('#clearButton').hide(); //POST var postEquation = function(){ console.log('in postEquation'); //assemble object to send var firstNumber = $('#num1').val(); var operation = $('#operation').val(); var secondN...
1,091
https://github.com/14ms/Minecraft-Disclosed-Source-Modifications/blob/master/Astomero/net/minecraft/client/audio/MovingSoundMinecart.java
Github Open Source
Open Source
Unlicense
2,022
Minecraft-Disclosed-Source-Modifications
14ms
Java
Code
107
421
package net.minecraft.client.audio; import net.minecraft.entity.item.*; import net.minecraft.util.*; public class MovingSoundMinecart extends MovingSound { private final EntityMinecart minecart; private float distance; public MovingSoundMinecart(final EntityMinecart minecartIn) { super(new Re...
10,652
https://github.com/shakna-israel/sumry/blob/master/script.js
Github Open Source
Open Source
CC0-1.0
2,021
sumry
shakna-israel
JavaScript
Code
176
519
/* Design Notes: This should only ever act as _enhancement_, not a _required_ feature. If JS fails to load, the user _should not need to be notified_. That is, minimum cosmetics. Nothing more. */ function check_storage() { var test = 'test'; try { localStorage.setItem(test, test); if(localStor...
35,317
https://github.com/tefra/xsdata-w3c-tests/blob/master/output/instances/nistData/atomic/gMonthDay/Schema+Instance/NISTXML-SV-IV-atomic-gMonthDay-pattern-2-5.py
Github Open Source
Open Source
MIT
2,023
xsdata-w3c-tests
tefra
Python
Code
9
114
from output.models.nist_data.atomic.g_month_day.schema_instance.nistschema_sv_iv_atomic_g_month_day_pattern_2_xsd.nistschema_sv_iv_atomic_g_month_day_pattern_2 import NistschemaSvIvAtomicGMonthDayPattern2 obj = NistschemaSvIvAtomicGMonthDayPattern2( value="--01-25" )
53,256
https://github.com/benjaminhsieh2002/benjaminhsieh2002.github.io/blob/master/node_modules/react-syntax-highlighter/src/languages/prism/ini.js
Github Open Source
Open Source
MIT
2,021
benjaminhsieh2002.github.io
benjaminhsieh2002
JavaScript
Code
7
22
import ini from "refractor/lang/ini.js";; export default ini;
15,507
https://github.com/urbanjozsef88/SpringTest/blob/master/src/main/java/hu/flowacademy/musicstore/Model/Artist.java
Github Open Source
Open Source
MIT
null
SpringTest
urbanjozsef88
Java
Code
38
137
package hu.flowacademy.musicstore.Model; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.*; @Data @Builder @NoArgsConstructor @AllArgsConstructor @Entity @Table public class Artist { @Id @GeneratedValue(strategy = Generat...
14,461
https://github.com/bradh/jmisb/blob/master/api/src/main/java/org/jmisb/api/klv/st0601/NavsatsInView.java
Github Open Source
Open Source
MIT
2,022
jmisb
bradh
Java
Code
241
617
package org.jmisb.api.klv.st0601; import org.jmisb.core.klv.PrimitiveConverter; /** * Number of NAVSATs in View (ST 0601 Item 123). * * <p>From ST: * * <blockquote> * * Count of navigation satellites in view of platform. * * <p>Number of satellites used to determine position. * * <p>Used with Positioning M...
8,701
https://github.com/praisetompane/3_programming/blob/master/1_languages/javascript/src/ImplementationOfNew.js
Github Open Source
Open Source
MIT
null
3_programming
praisetompane
JavaScript
Code
27
75
//curtosy of MPJ let spawn = function(firstName, lastName){ let obj = {} obj.firstName = firstName obj.lastName = lastName return obj } let jane = Person("Jane", "Doe") console.log(jane)
12,545
https://github.com/SeavantUUz/silence/blob/master/ui.py
Github Open Source
Open Source
MIT
2,014
silence
SeavantUUz
Python
Code
375
1,872
#coding: utf-8 import curses from tools import * import sys from traceback import format_exc as einfo import logging import socket class UI(object): def __init__(self, io_socket, io_port=3658, is_client=False): self.content = [] self.mode = 0 self.is_started = False self.is_client =...
39,696
https://github.com/TEL21D/Informatik1/blob/master/Aufgaben/Mehr_Laboraufgaben/loesungen/aufgabe02.cpp
Github Open Source
Open Source
MIT
null
Informatik1
TEL21D
C++
Code
175
487
#include "pruefung.h" /*** AUFGABE: Permutationen eines Arrays ***/ /*** AUFGABENSTELLUNG: Schreiben Sie eine Funktion permutationen, die eine Liste von Zahlen erwartet. Die Funktion soll alle Permutationen der Liste liefern. D.h. eine Liste mit Vektoren, bei dem jeder einzelne Vektor eine Permutatio...
32,416
https://github.com/designstem/fachwerk/blob/master/src/components/2dpattern/FSpinPattern.js
Github Open Source
Open Source
MIT
2,021
fachwerk
designstem
JavaScript
Code
142
445
import Object2D from "../2d/internal/Object2D.js"; import { range } from "../../../fachwerk.js" ; export default { mixins: [Object2D], description: ` Repeats elements along the circle, rotating each towards the center of the circle. <f-scene grid> <f-spin-pattern> <f-box slot-scope="data" :strok...
54,697
https://github.com/GiriB/rnx-kit/blob/master/packages/cli/src/metro-ts-resolver.ts
Github Open Source
Open Source
MIT
2,021
rnx-kit
GiriB
TypeScript
Code
1,449
3,827
import { FileModuleRef, findFirstFileExists, findPackageDependencyDir, findPackageDir, getMangledPackageName, isFileModuleRef, isPackageModuleRef, normalizePath, PackageModuleRef, parseModuleRef, readPackage, } from "@rnx-kit/tools-node"; import { createDefaultResolverHost, ProjectConfig, Re...
20,834
https://github.com/crepers/aws-photosharing-example/blob/master/src/main/java/com/amazon/photosharing/rest/UserService.java
Github Open Source
Open Source
Apache-2.0
2,022
aws-photosharing-example
crepers
Java
Code
223
744
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
35,763
https://github.com/sanshao27/lebox/blob/master/android/kaixin100/app/src/main/java/com/mgc/letobox/happy/MainActivity.java
Github Open Source
Open Source
Apache-2.0
2,019
lebox
sanshao27
Java
Code
913
4,493
package com.mgc.letobox.happy; import android.app.Activity; import android.app.Dialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.graphics.Bitmap; import android.os.Bundle; import android.support.annotatio...
50,182
https://github.com/samqws-marketing/box_mojito/blob/master/cli/src/main/java/com/box/l10n/mojito/cli/command/extraction/ExtractionDiffService.java
Github Open Source
Open Source
Apache-2.0
null
box_mojito
samqws-marketing
Java
Code
480
2,315
package com.box.l10n.mojito.cli.command.extraction; import com.box.l10n.mojito.json.ObjectMapper; import com.box.l10n.mojito.okapi.extractor.AssetExtractorTextUnit; import com.google.common.collect.Sets; import com.ibm.icu.text.MessageFormat; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springfr...
15,630
https://github.com/cc17236/AnroidKotlinSample/blob/master/baselibrary/src/main/kotlin/com/huawen/baselibrary/jni/SignatureTool.kt
Github Open Source
Open Source
Apache-2.0
null
AnroidKotlinSample
cc17236
Kotlin
Code
125
577
package com.huawen.baselibrary.jni import android.content.Context import android.content.pm.PackageManager import com.huawen.baselibrary.utils.Debuger import com.huawen.baselibrary.utils.StringUtils import java.io.ByteArrayInputStream import java.security.MessageDigest import java.security.cert.CertificateFactory ob...
44,875
https://github.com/Mia2b/beatlist/blob/master/src/components/beatmap/info/BeatmapSummary.vue
Github Open Source
Open Source
MIT
2,022
beatlist
Mia2b
Vue
Code
73
334
<template> <v-container> <BeatmapSummaryHeader :beatmap="beatmap" /> <BeatmapSummaryActions :beatmap="beatmap" /> <BeatmapSummaryBaseInfo :beatmap="beatmap" /> <BeatmapSummaryCharacteristic :beatmap="beatmap" /> </v-container> </template> <script lang="ts"> import Vue, { PropType } from "vue"; impo...
15,811
https://github.com/matthklo/libxpf/blob/master/src/uuidv4.cpp
Github Open Source
Open Source
Zlib
2,014
libxpf
matthklo
C++
Code
646
1,569
/******************************************************************************* * Copyright (c) 2013 matt@moregeek.com.tw * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission...
20,616
https://github.com/hunzsig-warcraft3/h-lua-sdk-mysterious-land/blob/master/hslk/monster/stage1.lua
Github Open Source
Open Source
MIT
2,021
h-lua-sdk-mysterious-land
hunzsig-warcraft3
Lua
Code
135
544
local monster = { { Name = "土匪", file = "units\\creeps\\BanditSpearThrower\\BanditSpearThrower", modelScale = 0.80, scale = 0.80, unitSound = "Bandit", weapTp1 = CONST_WEAPON_TYPE.missile.value, Missileart_1 = "Abilities\\Weapons\\Banditmissile\\Banditmissile....
8,958
https://github.com/NhatPhuong02/HCMUS-Lectures/blob/master/7_MMT/LearnWinsock/showip/showip.sln
Github Open Source
Open Source
MIT
2,018
HCMUS-Lectures
NhatPhuong02
null
Spoken
60
386
 Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2013 VisualStudioVersion = 12.0.40629.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "showip", "showip\showip.vcxproj", "{FE8282DF-D95B-4469-A630-A2F4760AAFBA}" EndProject Global GlobalSection...
5,456
https://github.com/gonum/plot/blob/master/text/latex_test.go
Github Open Source
Open Source
BSD-3-Clause
2,023
plot
gonum
Go
Code
373
1,512
// Copyright ©2021 The Gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package text_test import ( "testing" stdfnt "golang.org/x/image/font" "gonum.org/v1/plot/font" "gonum.org/v1/plot/font/liberation" "gonum.org/v1/plot...
41,780
https://github.com/CanberkUcar/FlyingChickenGame-JavaCourseAssign/blob/master/src/FlyingChickenGame/Controller.java
Github Open Source
Open Source
MIT
null
FlyingChickenGame-JavaCourseAssign
CanberkUcar
Java
Code
106
342
package FlyingChickenGame; /* Imports -------------- */ // import java.awt.Graphics; // import java.util.LinkedList; /** * ANCHOR Controller Class ------------------------------------------------ * REVIEW I don't remember why I commented this code here. */ public class Controller { /* private LinkedList<Gold...
7,316
https://github.com/mitodl/salt-ops/blob/master/pillar/edx/xqwatcher_600.sls
Github Open Source
Open Source
2,023
salt-ops
mitodl
null
Spoken
167
793
{% set env_settings = salt.cp.get_url("https://raw.githubusercontent.com/mitodl/salt-ops/main/salt/environment_settings.yml", dest=None)|load_yaml %} {% set environment = salt.grains.get('environment', 'mitx-qa') %} {% set env_data = env_settings.environments[environment] %} {% set xqwatcher_venv_base = '/edx/app/xqwat...
56,521
https://github.com/choy1379/MoonEDM/blob/master/node_modules/youtube-audio-stream/play.js
Github Open Source
Open Source
MIT
2,017
MoonEDM
choy1379
JavaScript
Code
19
71
const stream = require('./') const url = 'http://youtube.com/watch?v=34aQNMvGEZQ' const decoder = require('lame').Decoder const speaker = require('speaker') stream(url) .pipe(decoder()) .pipe(speaker())
46,317
https://github.com/watzak/gulp-babel-react-starter-kit/blob/master/src/js/index.jsx
Github Open Source
Open Source
MIT
null
gulp-babel-react-starter-kit
watzak
null
Spoken
16
50
import React from 'react'; import HelloWorld from './hello-world'; export default HelloWorld; React.render( <HelloWorld />, document.getElementById('app') );
30,736
https://github.com/camicasii/moncon/blob/master/packages/smartwallet-pwa/src/Components/Documents/DemoField.jsx
Github Open Source
Open Source
MIT
null
moncon
camicasii
null
Spoken
96
323
import { useSelector } from "react-redux"; import { Link } from "react-router-dom"; import { useStyles } from "./styled"; import MonconImg from "../../Assets/img/MonconImg"; const DemoField = ({ to, path, title, field }) => { const classes = useStyles(); const state = useSelector((state) => state.UserReducer[path]...
36,007
https://github.com/BasicTime/LearnAlgorithm/blob/master/src/main/java/cn/ms22/chapter1/BubbleSort.java
Github Open Source
Open Source
MIT
null
LearnAlgorithm
BasicTime
Java
Code
141
342
package cn.ms22.chapter1; import cn.ms22.utils.CommonUtil; public class BubbleSort { public static void main(String[] args) { for (int i = 0; i < 10; i++) { int[] arr = CommonUtil.arrGenerator(10); int[] arrClone = arr.clone(); // sort(arr); sortOther(arr); ...
33,019
https://github.com/Clayful/clayful-thunder/blob/master/app/lib/request.js
Github Open Source
Open Source
MIT
2,021
clayful-thunder
Clayful
JavaScript
Code
186
631
module.exports = function(Thunder) { const request = function(requestOptions) { let query = $.param(requestOptions.query || {}); query = query ? ('?' + query) : query; requestOptions.url = Thunder.options.baseURL + requestOptions.url + query; const recaptcha = requestOptions.recaptcha; delete requestOp...
18,691
https://github.com/Smirnoff2019/zrobleno_api/blob/master/app/Models/User/Manager/Manager.php
Github Open Source
Open Source
MIT
null
zrobleno_api
Smirnoff2019
PHP
Code
40
131
<?php namespace App\Models\User\Manager; use App\Models\User\User; use Illuminate\Database\Eloquent\Builder; class Manager extends User { /** * The "booted" method of the model. * * @return void */ protected static function booted() { static::addGlobalScope( 'mana...
14,605
https://github.com/kirkbowers/mvcoffee-rails/blob/master/test_rails_project/app/controllers/application_controller.rb
Github Open Source
Open Source
MIT
2,017
mvcoffee-rails
kirkbowers
Ruby
Code
55
196
class ApplicationController < ActionController::Base include MVCoffee monkeypatch_mvcoffee # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception before_action :authorize protected def authorize if session[:...
41,833
https://github.com/UnstoppableGuy/System-Programming/blob/master/lab08/lab8/lab8.cpp
Github Open Source
Open Source
MIT
2,021
System-Programming
UnstoppableGuy
C++
Code
765
2,967
#include "stdafx.h" #include "lab8.h" #include <windowsx.h> #include <tlhelp32.h> #define MAX_LOADSTRING 100 // Global Variables: HINSTANCE hInst; // current instance TCHAR szTitle[MAX_LOADSTRING]; // The title bar text TCHAR szWindowClass[MAX_LOADSTRING]; // the main window class name HMENU hPopupMenu...
15,025
https://github.com/re-figure/refigure/blob/master/front/app/components/profile/profile.routes.js
Github Open Source
Open Source
MIT
2,018
refigure
re-figure
JavaScript
Code
175
701
/** * Module routing */ (function (angular) { 'use strict'; angular .module('refigureProfile') .run(appRun); var states = [{ state: 'profile.collections', config: { url: '/collections?{from:int}&query&{size:int}&sortDirection&sortField&queryField', ...
17,166
https://github.com/kimch2/1234ewsd/blob/master/Assets/Scripts/Hall/View/PageListWindow/YxPageListView.cs
Github Open Source
Open Source
MIT
2,020
1234ewsd
kimch2
C#
Code
906
3,552
/**   *文件名称:     YxPageListView.cs   *作者:        AndeLee   *版本:       1.0   *Unity版本: 5.4.0f3   *创建时间:     2018-04-18   *描述:     分页格式的view  *历史记录:  */ using System; using System.Collections.Generic; using Assets.Scripts.Common.Utils; using com.yxixia.utile.YxDebug; using UnityEngine; using YxFramwork.Framewor...
44,953
https://github.com/SimacTechnik/dslink-dotnet-sensolus/blob/master/DSLink/Nodes/Actions/ActionHandler.cs
Github Open Source
Open Source
MIT
null
dslink-dotnet-sensolus
SimacTechnik
C#
Code
62
159
using System; using DSLink.Request; namespace DSLink.Nodes.Actions { /// <summary> /// Used for action callbacks and permission. /// </summary> public class ActionHandler { /// <summary> /// Permission of the action. /// </summary> public readonly Permission Permissi...
4,936
https://github.com/lisp-mirror/cricket/blob/master/src/common.lisp
Github Open Source
Open Source
MIT
null
cricket
lisp-mirror
Common Lisp
Code
256
754
(in-package #:%cricket.internal) (deftype f50 () '(double-float #.(- (expt 2d0 50)) #.(expt 2d0 50))) (u:define-constant +prime-x+ 501125321) (u:define-constant +prime-y+ 1136930381) (u:define-constant +prime-z+ 1720413743) (defstruct (sampler (:constructor nil) (:predicate nil) ...
11,550
https://github.com/ric2b/Vivaldi-browser/blob/master/chromium/ash/services/ime/public/cpp/rulebased/def/lo.cc
Github Open Source
Open Source
BSD-3-Clause
2,022
Vivaldi-browser
ric2b
C++
Code
957
3,276
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/services/ime/public/cpp/rulebased/def/lo.h" namespace lo { const char* kId = "lo"; bool kIs102 = false; const char* kNormal[] = { "*", // BackQuote ...
40,453
https://github.com/Trisia/bc-java/blob/master/tls/src/main/java/org/bouncycastle/jsse/provider/gm/GMSession.java
Github Open Source
Open Source
MIT
2,022
bc-java
Trisia
Java
Code
632
2,086
package org.bouncycastle.jsse.provider.gm; import org.bouncycastle.jce.provider.BouncyCastleProvider; import org.bouncycastle.tls.crypto.TlsCertificate; import javax.net.ssl.SSLPeerUnverifiedException; import javax.net.ssl.SSLSession; import javax.net.ssl.SSLSessionContext; import javax.security.cert.CertificateExcep...
47,282
https://github.com/skilenton/igui/blob/master/src/models/index.d.ts
Github Open Source
Open Source
MIT
null
igui
skilenton
TypeScript
Code
39
116
import { ModelInit, MutableModel, PersistentModelConstructor } from "@aws-amplify/datastore"; export declare class User { readonly id: string; readonly username: string; readonly measurementSystem?: string; readonly topicName?: string; constructor(init: ModelInit<User>); static copyOf(source: User, mut...
55,266
https://github.com/IonutCava/trunk/blob/master/Source Code/ToDo.h
Github Open Source
Open Source
MIT
2,021
trunk
IonutCava
C
Code
716
1,187
/* Copyright (c) 2018 DIVIDE-Studio Copyright (c) 2009 Ionut Cava This file is part of DIVIDE Framework. 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 lim...
52,715
https://github.com/opopve/QSProjects/blob/master/QS.LibsTest/TestNamespace/Views/Two.Level/SecondTestClassView.cs
Github Open Source
Open Source
Apache-2.0
2,022
QSProjects
opopve
C#
Code
20
83
using Gtk; using QS.Test.TestNamespace.ViewModels.Two.Level; namespace QS.Test.TestNamespace.Views.Two.Level { public class SecondTestClassView : Bin { public SecondTestClassView(SecondTestClassViewModel model) { } } }
30,874
https://github.com/sapcc/nova-password/blob/master/Makefile
Github Open Source
Open Source
Apache-2.0
2,020
nova-password
sapcc
Makefile
Code
81
321
PKG:=github.com/sapcc/nova-password APP_NAME:=nova-password PWD:=$(shell pwd) UID:=$(shell id -u) VERSION:=$(shell git describe --tags --always --dirty="-dev") LDFLAGS:=-X main.Version=$(VERSION) -w -s export CGO_ENABLED:=0 build: fmt vet GOOS=linux go build -mod=vendor -ldflags="$(LDFLAGS)" -o bin/$(APP_NAME) $(PKG...
52,115
https://github.com/phanirajl/datastax-logging/blob/master/agent/src/main/java/com/datastax/log/agent/service/LogUploader.java
Github Open Source
Open Source
Apache-2.0
2,019
datastax-logging
phanirajl
Java
Code
352
930
package com.datastax.log.agent.service; import java.io.File; import java.util.Collections; import java.util.List; import com.datastax.log.agent.config.Config; import com.datastax.log.agent.dto.LogDto; import org.slf4j.LoggerFactory; import org.slf4j.Logger; import org.springframework.beans.factory.annotation.Qualifie...
8,813
https://github.com/JeffreyRiggle/textadventurelib/blob/master/src/main/java/textadventurelib/persistence/player/CharacteristicPersistenceObject.java
Github Open Source
Open Source
MIT
null
textadventurelib
JeffreyRiggle
Java
Code
127
424
package textadventurelib.persistence.player; import javax.xml.parsers.ParserConfigurationException; import javax.xml.transform.TransformerConfigurationException; import playerlib.characteristics.Characteristic; import playerlib.characteristics.ICharacteristic; /** * * @author Jeff Riggle * * Creates xml for pl...
12,501
https://github.com/cedar-team/snapshot-queries/blob/master/snapshot_queries/testing/snapshot_queries_test_case.py
Github Open Source
Open Source
MIT
null
snapshot-queries
cedar-team
Python
Code
19
99
import snapshottest from .assert_queries_match_mixin import AssertQueriesMatchMixin class SnapshotQueriesTestCase(AssertQueriesMatchMixin, snapshottest.TestCase): @property def module(self): return self._snapshot.module @property def test_name(self): return self._snapshot.test_name
12,124
https://github.com/ehughes/rt_super_z/blob/master/hello_world/build/zephyr/include/generated/device_extern.h
Github Open Source
Open Source
MIT
null
rt_super_z
ehughes
C
Code
554
3,055
#ifndef DEVICE_EXTERN_GEN_H #define DEVICE_EXTERN_GEN_H #ifdef __cplusplus extern "C" { #endif extern const struct device DEVICE_DT_NAME_GET(DT_N); /* dts_ord_0 */ extern const struct device DEVICE_DT_NAME_GET(DT_N_S_aliases); /* dts_ord_1 */ extern const struct device DEVICE_DT_NAME_GET(DT_N_S_chosen); /* dts_ord_2 ...
33,060
https://github.com/nicobytes/angular/blob/master/packages/core/test/render3/change_detection_spec.ts
Github Open Source
Open Source
MIT
2,022
angular
nicobytes
TypeScript
Code
453
1,701
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {CommonModule, DOCUMENT} from '@angular/common'; import {TestBed} from '@angular/core/testing'; import {withBo...
26,298
https://github.com/DriptaSenapati/JavaAssignment/blob/master/src/com/company/Main.java
Github Open Source
Open Source
MIT
null
JavaAssignment
DriptaSenapati
Java
Code
318
1,038
package com.company; import java.util.Scanner; interface Converter{ Object convert(Object a); } abstract class TemperatureConverter implements Converter{ protected abstract boolean isHot(double a); } abstract class SpeedConverter implements Converter{ protected abstract boolean isFast(double a); } class ...
11,798
https://github.com/rpatil524/dmptool/blob/master/spec/factories/api_clients.rb
Github Open Source
Open Source
MIT
2,016
dmptool
rpatil524
Ruby
Code
160
509
# frozen_string_literal: true # == Schema Information # # Table name: oauth_applications # # id :integer not null, primary key # callback_method :integer default(0) # callback_uri :string(255) # confidential :boolean default(TRUE) # contact_email :string(255) # con...
44,474
https://github.com/saineshwar/Angular-7-Project-with-ASP.NET-CORE-APIS-/blob/master/gym-project/src/app/PlanMaster/app.allplanmaster.component.ts
Github Open Source
Open Source
MIT
2,022
Angular-7-Project-with-ASP.NET-CORE-APIS-
saineshwar
TypeScript
Code
162
613
import { Component, OnInit, ViewChild } from '@angular/core'; import { PlanService } from './Services/app.planmaster.service'; import { PlanMasterViewModel } from './Models/app.PlanMasterViewModel'; import { Router } from '@angular/router'; import { MatTableDataSource, MatSort, MatPaginator } from '@angular/material'; ...
22,763