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/wso2/product-microgateway/blob/master/integration/mock-backend-server/src/main/java/org/wso2/choreo/connect/mockbackend/MockBackendProd.java
Github Open Source
Open Source
Apache-2.0
2,023
product-microgateway
wso2
Java
Code
1,121
4,296
/* * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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.or...
2,253
https://github.com/margalit/mantine/blob/master/docs/src/components/HomePage/Explore/CoreComponents/core/Core.tsx
Github Open Source
Open Source
MIT
2,021
mantine
margalit
TSX
Code
168
488
import React from 'react'; import { InputIcon, StackIcon, DashboardIcon } from '@modulz/radix-icons'; import { Tabs, Tab, createStyles } from '@mantine/core'; import { InputsDemo } from './InputsDemo'; import { ContentDemos } from './ContentDemos'; import { OverlaysDemos } from './OverlaysDemos'; const useStyles = cre...
46,875
https://github.com/rach8garg/angular2/blob/master/src/app/databinding/databinding.component.ts
Github Open Source
Open Source
Apache-2.0
null
angular2
rach8garg
TypeScript
Code
72
184
import { Component, Input } from '@angular/core'; @Component({ selector: 'as-databinding', templateUrl: './databinding.component.html', styleUrls: ['./databinding.component.css'] }) export class DatabindingComponent { stringInterpolation = "This is an example of one way binding and string interpolation."; ...
34,220
https://github.com/badikumar/ImportToSRP3/blob/master/ImportToSRP3/Models/UploadedFileCluster.cs
Github Open Source
Open Source
MIT
2,017
ImportToSRP3
badikumar
C#
Code
412
1,784
๏ปฟusing System; using System.Collections.Generic; using System.Data; namespace ImportToSRP3.Models { public class UploadedFileCluster : UploadedFileBase { protected override sealed Dictionary<string, bool> Columns { get; set; } = new Dictionary<string, bool>() { { "First ...
47,973
https://github.com/gerobit/ivis-core/blob/master/server/knex/migrations/20180613120444_add_can_edit_panel_to_templates.js
Github Open Source
Open Source
MIT
2,019
ivis-core
gerobit
JavaScript
Code
25
83
exports.up = (knex, Promise) => (async() => { await knex.schema.table('templates', table => { table.boolean('elevated_access').defaultTo(false).notNullable(); }); })(); exports.down = (knex, Promise) => (async() => { })();
14,302
https://github.com/duswo5310/finalproject/blob/master/finalproject/src/main/webapp/WEB-INF/views/member/franchisee/list.jsp
Github Open Source
Open Source
MIT
2,020
finalproject
duswo5310
null
Spoken
365
2,167
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <c:choose> <c:when test="${not empty memberinfo}"> <jsp:include page="/WEB-INF/views/member/template/user_header.jsp"></jsp:include> </c:when> <c:otherwise> <...
42,111
https://github.com/thirdman/mapft/blob/master/components/SvgForm.vue
Github Open Source
Open Source
MIT
2,021
mapft
thirdman
Vue
Code
671
2,850
<template> <div id="svgForm" class="col formnot svgFormColumn" :class="svgStatus === 'error' ? 'error' : ''" > <StatusInformationSvg displayMode="inline" :title="svgStatus" :status="svgStatus" :message=" svgStatusMessage" :mintTransactionId="svgTransactionI...
39,839
https://github.com/JoelBender/bacpypes/blob/master/samples/COVClientApp.py
Github Open Source
Open Source
MIT
2,023
bacpypes
JoelBender
Python
Code
545
1,721
#!/usr/bin/env python """ Configured with a subscription context object which is passed to the application, it sends a SubscribeCOVRequest and listens for confirmed or unconfirmed COV notifications, lines them up with the context, and passes the APDU to the context to print out. Making multiple subscription contexts ...
1,978
https://github.com/ermin-sakic/Common-Open-Research-Emulator-CORE-/blob/master/coreemu-read-only/daemon/core/bsd/nodes.py
Github Open Source
Open Source
BSD-3-Clause
2,021
Common-Open-Research-Emulator-CORE-
ermin-sakic
Python
Code
595
2,443
# # CORE # Copyright (c)2010-2013 the Boeing Company. # See the LICENSE file included in this distribution. # # author: core-dev@pf.itd.nrl.navy.mil # ''' nodes.py: definition of CoreNode classes and other node classes that inherit from the CoreNode, implementing specific node types. ''' from vnode import * from vnet...
19,116
https://github.com/MatheusBrodt/App_LabCarolVS/blob/master/node_modules/http-constants/src/main/consts-headers-request.js
Github Open Source
Open Source
MIT
null
App_LabCarolVS
MatheusBrodt
JavaScript
Code
1,599
3,542
/* globals */ 'use strict'; /** * @typedef {Object} CONSTSHEADERSREQUEST */ /** * Content-Types that are acceptable for the response. See Content negotiation. Permanent. * Examples: * <code>Accept: text/plain</code> * @type {String} */ export const ACCEPT = 'Accept'; /** * Character sets that are acceptable....
4,688
https://github.com/TheUnlocked/sparse/blob/master/src/tokenizer.ts
Github Open Source
Open Source
MIT
null
sparse
TheUnlocked
TypeScript
Code
385
1,063
import { getCountOfChar } from "./helper"; const whitespace = " \n\r\t"; const brackets = "()[]{}"; export const tokenize = function* (input: string): IterableIterator<Token>{ let i = 0; let line = 1; let chr = 0; let token = ""; while (i < input.length){ if (input[i] === ";"){ ...
46,758
https://github.com/mouton5000/DiscreteEventApplicationEditor/blob/master/test/testsArithmeticExpressions/NotMathFunctions/__init__.py
Github Open Source
Open Source
MIT
2,016
DiscreteEventApplicationEditor
mouton5000
Python
Code
3
11
__author__ = 'mouton'
47,510
https://github.com/seleb/ProcJam2015/blob/master/Game/Source/Game/include/MY_ResourceManager.h
Github Open Source
Open Source
MIT
null
ProcJam2015
seleb
C
Code
20
57
#pragma once #include <ResourceManager.h> #include <scenario\Scenario.h> class MY_ResourceManager : public ResourceManager{ public: static Scenario * scenario; static void init(); };
35,815
https://github.com/siempay/fluent/blob/master/Sources/Fluent/Entity/Dirty.swift
Github Open Source
Open Source
MIT
2,018
fluent
siempay
Swift
Code
59
133
extension Entity { public func makeDirtyRow() throws -> Row { let current = try makeRow() guard let fetched = storage.fetchedRow else { return current } guard let object = current.object else { return current } var dirty = Row...
15,040
https://github.com/TradeMe/PlayMe/blob/master/SpotiFire.SpotifyLib/EventArgs/PlaylistMovedEventArgs.cs
Github Open Source
Open Source
MIT
2,017
PlayMe
TradeMe
C#
Code
37
116
๏ปฟusing System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SpotiFire.SpotifyLib { public class PlaylistMovedEventArgs : PlaylistEventArgs { private int newIndex; public PlaylistMovedEventArgs(IntPtr playlistPtr, int index, int newIndex) : base(p...
48,183
https://github.com/garrettmk/ocean/blob/master/src/server/repositories/arango-author-repository.ts
Github Open Source
Open Source
MIT
null
ocean
garrettmk
TypeScript
Code
259
834
import { Author, AuthorRepository, CreateAuthorInput, ID, NotFoundError, validateAuthor, validateCreateAuthorInput } from "@/domain"; import { aql, Database } from "arangojs"; import { CollectionType, DocumentCollection } from "arangojs/collection"; import { Document as ArangoDocument } from 'arangojs/documents'; typ...
29,735
https://github.com/sdrubolo/flow-diagram/blob/master/lib/flow-diagram-svg-view.js
Github Open Source
Open Source
MIT
2,020
flow-diagram
sdrubolo
JavaScript
Code
353
1,333
'use babel'; import { $, $$$, ScrollView } from 'atom-space-pen-views' import ResizeObserver from 'resize-observer-polyfill'; class FlowDiagramSVGView extends ScrollView { static content () { this.div({ outlet: 'flowContainer', class: 'flow-diagram-svg-preview native-key-bindings', tabindex: -1, background: '...
28,579
https://github.com/sofastack/sofa-boot/blob/master/sofa-boot-project/sofa-boot-core/tracer-sofa-boot/src/main/java/com/alipay/sofa/boot/tracer/flexible/TracerAnnotationClassPointcut.java
Github Open Source
Open Source
Apache-2.0
2,023
sofa-boot
sofastack
Java
Code
295
811
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
21,172
https://github.com/wingertge/FruityLib/blob/master/src/main/kotlin/org/generousg/fruitylib/api/IPlacerAwareTile.kt
Github Open Source
Open Source
MIT
null
FruityLib
wingertge
Kotlin
Code
15
71
package org.generousg.fruitylib.api import net.minecraft.entity.EntityLivingBase import net.minecraft.item.ItemStack interface IPlacerAwareTile { fun onBlockPlacedBy(placer: EntityLivingBase, stack: ItemStack) }
17,888
https://github.com/mjmeintjes/DataFire/blob/master/scripts/discover-flows.js
Github Open Source
Open Source
MIT
2,016
DataFire
mjmeintjes
JavaScript
Code
144
391
const fs = require('fs'); const Flow = require('../index').Flow; const async = require('async'); const logger = require('../lib/logger'); let discover = module.exports = function(dir, callback) { console.log(dir); let flows = []; fs.readdir(dir, (err, files) => { if (err) return callback(err); jsFiles = ...
28,030
https://github.com/aartrama/aartrama.github.io/blob/master/node_modules/@effect-ts/system/_mjs/Stream/Stream/takeRight.mjs
Github Open Source
Open Source
MIT
2,023
aartrama.github.io
aartrama
JavaScript
Code
174
487
// ets_tracing: off import * as A from "../../Collections/Immutable/Chunk/index.mjs"; import { pipe } from "../../Function/index.mjs"; import * as O from "../../Option/index.mjs"; import * as Q from "../../Queue/index.mjs"; import * as T from "../_internal/effect.mjs"; import * as M from "../_internal/managed.mjs"; imp...
15,293
https://github.com/06012021-dotnet-uta/SekouDossoP0/blob/master/P0WithTestAndDb0/P0/Inventory.cs
Github Open Source
Open Source
MIT
null
SekouDossoP0
06012021-dotnet-uta
C#
Code
116
350
๏ปฟusing System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using P0DbContext; namespace P0 { class Inventory { /// <summary> /// Select a location to see it's inventory /// </summary> public static void LocationInventory(...
16,992
https://github.com/Activiti/activiti-cloud/blob/master/activiti-cloud-runtime-bundle-service/activiti-cloud-services-runtime-bundle/activiti-cloud-services-events/src/test/java/org/activiti/cloud/services/events/listeners/CloudSignalReceivedProducerTest.java
Github Open Source
Open Source
Apache-2.0
2,023
activiti-cloud
Activiti
Java
Code
165
584
/* * Copyright 2017-2020 Alfresco Software, Ltd. * * 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 ...
45,521
https://github.com/Epsilon-Not/ado-report-extension/blob/master/node_modules/azure-devops-ui/Components/IdentityCard/GroupMembersCard.js
Github Open Source
Open Source
MIT
null
ado-report-extension
Epsilon-Not
JavaScript
Code
235
753
import "../../CommonImports"; import "../../Core/core.css"; import "./IdentityCard.css"; import * as React from "react"; import * as Resources from '../../Resources.Persona'; import { format } from '../../Core/Util/String'; import { Button } from '../../Button'; import { Spinner } from '../../Spinner'; import { css } f...
25,425
https://github.com/flyingbluefish/tmc/blob/master/src/qdlapack_tmcruntime/lapack_lib/SRC_F2C/d_asin.c
Github Open Source
Open Source
BSD-2-Clause
null
tmc
flyingbluefish
C
Code
34
119
#include "f2c.h" #ifdef KR_headers //doublereal asin(); //double d_asin(x) doublereal *x; #else #undef abs //#include "math.h" #ifdef __cplusplus extern "C" { #endif doublereal d_asin(doublereal *x) #endif { return( asin(*x) ); } #ifdef __cplusplus } #endif
17,545
https://github.com/ministryofjustice/cla_public/blob/master/cla_public/apps/checker/tests/utils/forms_utils.py
Github Open Source
Open Source
MIT
2,023
cla_public
ministryofjustice
Python
Code
648
3,050
from decimal import InvalidOperation from flask import session from cla_public.apps.checker.api import money_interval from cla_public.apps.checker.constants import YES, NO CATEGORY_MAPPING = {"Welfare": "benefits", "Debt": "debt"} BENEFITS_MAPPING = { "Income Support": "income_support", "Job Seekers Allowan...
21,585
https://github.com/MegafonWebLab/megafon-ui/blob/master/packages/ui-shared/src/components/Breadcrumbs/doc/Breadcrumbs.docz.tsx
Github Open Source
Open Source
MIT
2,023
megafon-ui
MegafonWebLab
TSX
Code
16
35
import * as React from 'react'; export const blockStyle: React.CSSProperties = { padding: '20px 0', };
46,391
https://github.com/Unity-Technologies/qtbase/blob/master/src/platformsupport/input/libinput/qlibinputpointer.cpp
Github Open Source
Open Source
GPL-3.0-only, Qt-GPL-exception-1.0, LicenseRef-scancode-commercial-license, LGPL-3.0-only, GPL-2.0-only, BSD-3-Clause, MIT, LGPL-2.0-or-later, GPL-1.0-or-later, LGPL-2.1-only, GFDL-1.3-only, LicenseRef-scancode-qt-commercial-1.1, LicenseRef-scancode-kfqf-accepted-gpl, LGPL-2.1-or-later, LicenseRef-scancode-unknown-lice...
2,021
qtbase
Unity-Technologies
C++
Code
592
1,906
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the plugins module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid commer...
41,369
https://github.com/zimenkoliya-ilya/domainsgo/blob/master/public/sass/blocks/_features.scss
Github Open Source
Open Source
MIT
2,021
domainsgo
zimenkoliya-ilya
SCSS
Code
19
70
/*------------- #FAQS BLOCK --------------*/ .crumina-features-item { text-align: center; img { margin-bottom: 15px; } .features-item-title { margin-bottom: 0; } }
21,855
https://github.com/scottgw/language-eiffel/blob/master/tests/flat-eiffel-base/flat_hash_table_iteration_cursor.e
Github Open Source
Open Source
BSD-3-Clause
2,016
language-eiffel
scottgw
null
Spoken
757
2,294
note model: target, iteration_position, step, is_reversed class FLAT_HASH_TABLE_ITERATION_CURSOR [G, K -> detachable HASHABLE] create make feature {NONE} -- Initialization make (s: like target) -- Initialize cursor using structure `s'. require s_attached: s /= Void do target := s if attached {VE...
45,274
https://github.com/katharostech/coz/blob/master/benchmarks/pbzip2/Makefile
Github Open Source
Open Source
BSD-3-Clause, bzip2-1.0.6, LicenseRef-scancode-public-domain, BSD-2-Clause-Views, BSD-2-Clause, LicenseRef-scancode-unknown-license-reference
2,020
coz
katharostech
Makefile
Code
107
541
ROOT := ../.. TARGETS := pbzip2 LIBS := -lbz2 -lpthread CXXFLAGS := -g -O2 -Wno-format -Ibzip2-1.0.6 LDFLAGS := -Lbzip2-1.0.6 include $(ROOT)/benchmark.mk # pbzip2 depends on the libbz2 library pbzip2: bzip2-1.0.6/libbz2.a # Download and build libbz2 bzip2-1.0.6/libbz2.a: @echo $(LOG_PREFIX) Downloading l...
16,484
https://github.com/shopware/app-bundle-symfony/blob/master/tests/DependencyInjection/ConfigurationTest.php
Github Open Source
Open Source
MIT
2,023
app-bundle-symfony
shopware
PHP
Code
70
376
<?php declare(strict_types=1); namespace Shopware\AppBundle\Test\DependencyInjection; use Shopware\AppBundle\DependencyInjection\Configuration; use PHPUnit\Framework\TestCase; use Shopware\AppBundle\Entity\AbstractShop; use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; use Symfony\Component\Config...
7,364
https://github.com/alljoyn/ajsipe2e/blob/master/Inc/CloudCommEngine/CloudCommEngineBusObject.h
Github Open Source
Open Source
Apache-2.0, 0BSD
null
ajsipe2e
alljoyn
C
Code
1,258
3,546
/****************************************************************************** * Copyright (c) Open Connectivity Foundation (OCF), AllJoyn Open Source * Project (AJOSP) Contributors and others. * * SPDX-License-Identifier: Apache-2.0 * * All rights reserved. This program and the accompanying ...
38,127
https://github.com/maxvankessel/zephyr/blob/master/soc/sparc/leon3/idle.c
Github Open Source
Open Source
Apache-2.0
2,022
zephyr
maxvankessel
C
Code
43
169
/* * Copyright (c) 2019-2020 Cobham Gaisler AB * * SPDX-License-Identifier: Apache-2.0 */ #include <kernel.h> #include <tracing/tracing.h> static void leon_idle(unsigned int key) { sys_trace_idle(); irq_unlock(key); __asm__ volatile ("wr %g0, %asr19"); } void arch_cpu_idle(void) { leon_idle(0); } void arc...
20,694
https://github.com/cklokma/p8-sbe/blob/master/src/engd/href/eclipz/chips/centaur/working/procedures/ipl/sbe/cen_sbe_initf.S
Github Open Source
Open Source
Apache-2.0
2,016
p8-sbe
cklokma
null
Spoken
303
1,180
//------------------------------------------------------------------------------ // IBM_PROLOG_BEGIN_TAG // This is an automatically generated prolog. // // OpenPOWER Project // // Contributors Listed Below - COPYRIGHT 2012,2016 // [+] International Business Machines Corp. // // // Licensed under the Apache License, Ve...
33,875
https://github.com/jdm7dv/visual-studio/blob/master/Samples/NET 4.6/WF_WCF_Samples/WCF/Basic/Discovery/DiscoveryProxy/CS/DiscoveryProxy/Program.cs
Github Open Source
Open Source
Apache-2.0
2,017
visual-studio
jdm7dv
C#
Code
130
455
๏ปฟ//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------- using System; using System.ServiceModel; using System.ServiceModel.Discovery; namespace Microsoft.Samples.Discovery { ...
14,304
https://github.com/devJeremyt/vacstrack/blob/master/public/js/setReportPercentage.js
Github Open Source
Open Source
MIT
null
vacstrack
devJeremyt
JavaScript
Code
32
100
let unvaxd = document.querySelector('#unvaxd') let vaxd = document.querySelector('#vaxd') let circle = document.querySelector('circle') //Get count of vaccinated/unvaccinated employees fetch('/vaccinations/covidrates') .then(res => res.json()) .then(data => data) //Set value to screen //Calculate graph and update
15,121
https://github.com/SINHASantos/ludwig/blob/master/docker/ludwig-ray-gpu/Dockerfile
Github Open Source
Open Source
MIT, Apache-2.0
2,023
ludwig
SINHASantos
Dockerfile
Code
225
884
# # Ludwig Docker image with Ray nightly support and full dependencies including: # text features # image features # audio features # visualizations # hyperparameter optimization # distributed training # model serving # FROM rayproject/ray:2.2.0-py38-cu116 # https://forums.developer.nvidia.com/t/notice-...
37,025
https://github.com/Str1ker17/EltexLearning/blob/master/src/bfcopy/bfcopy.c
Github Open Source
Open Source
Unlicense
null
EltexLearning
Str1ker17
C
Code
270
1,081
// Note: this include is a beta feature for design- and compile-time #include "../liblinux_util/mscfix.h" #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <getopt.h> #include "../libcopyfile/copyfile.h" #include "../liblinux_util/linux_util.h" #define STR_EXPAND(tok) #tok #define STR(tok) STR_EXPA...
43,047
https://github.com/gengxiaoyun/test/blob/master/internal/app/metadata/monitor_system_repository.go
Github Open Source
Open Source
Apache-2.0
2,022
test
gengxiaoyun
Go
Code
886
2,682
package metadata import ( "errors" "fmt" "github.com/romberli/go-util/constant" "github.com/romberli/go-util/middleware" "github.com/romberli/log" "github.com/romberli/das/global" "github.com/romberli/das/internal/dependency/metadata" ) var _ metadata.MonitorSystemRepo = (*MonitorSystemRepo)(nil) type Moni...
31,342
https://github.com/Dusk-Argentum/taine/blob/master/lib/reports.py
Github Open Source
Open Source
MIT
null
taine
Dusk-Argentum
Python
Code
861
3,155
import re import discord from cachetools import LRUCache from lib.github import GitHubClient from lib.jsondb import JSONDB db = JSONDB() # something something instancing PRIORITY = { -2: "Patch Pending", -1: "Resolved", 0: "P0: Critical", 1: "P1: Very High", 2: "P2: High", 3: "P3: Medium", 4: "P4: Low", 5:...
24,728
https://github.com/felippi/wandbox/blob/master/canine/app/entry.server.tsx
Github Open Source
Open Source
BSL-1.0
2,022
wandbox
felippi
TSX
Code
961
3,147
import { renderToString } from "react-dom/server"; import { RemixServer } from "remix"; import type { EntryContext } from "remix"; import { commitSession, getSession } from "./sessions.server"; import { AnyJson } from "./hooks/fetch"; class WandboxError extends Error { constructor(public statusCode: number, public ...
44,943
https://github.com/dustlang/rust-bindgen/blob/master/tests/headers/what_is_going_on.hpp
Github Open Source
Open Source
BSD-3-Clause
2,022
rust-bindgen
dustlang
C++
Code
46
155
struct UnknownUnits {}; typedef float Float; template<class units, class F = Float> struct PointTyped { F x; F y; static PointTyped<units, F> FromUnknownPoint(const PointTyped<UnknownUnits, F>& aPoint) { return PointTyped<units, F>(aPoint.x, aPoint.y); } PointTyped<UnknownUnits, F> ToUnknownPoint() co...
10,915
https://github.com/richeterre/jumubase/blob/master/priv/repo/migrations/20181027104040_rename_user_name_fields.exs
Github Open Source
Open Source
MIT
2,023
jumubase
richeterre
null
Spoken
20
78
defmodule Jumubase.Repo.Migrations.RenameUserNameFields do use Ecto.Migration def change do rename table(:users), :first_name, to: :given_name rename table(:users), :last_name, to: :family_name end end
28,052
https://github.com/sharminex81/test-repo/blob/master/app/views/settings/security_settings.php
Github Open Source
Open Source
MIT
2,017
test-repo
sharminex81
PHP
Code
907
3,573
<!-- Security question --> <?php $error = $this->session->userdata('errors'); $oldValue = $this->session->userdata('oldValue'); ?> <?php $message = $this->session->userdata('success'); $messageError = $this->session->userdata('error'); if (isset($message)) { ?> <div class="notice notice-success"> <button t...
27,382
https://github.com/MilanKovacik/gooddata-java/blob/master/src/test/java/com/gooddata/md/DataLoadingColumnTest.java
Github Open Source
Open Source
BSD-3-Clause
null
gooddata-java
MilanKovacik
Java
Code
146
637
/* * Copyright (C) 2004-2017, GoodData(R) Corporation. All rights reserved. * This source code is licensed under the BSD-style license found in the * LICENSE.txt file in the root directory of this source tree. */ package com.gooddata.md; import org.apache.commons.lang3.SerializationUtils; import org.testng.annotat...
17,457
https://github.com/diegoHurtadoG/AcesEngine/blob/master/docs/classacesengine_1_1_player.js
Github Open Source
Open Source
MIT
2,022
AcesEngine
diegoHurtadoG
JavaScript
Code
25
189
var classacesengine_1_1_player = [ [ "Player", "classacesengine_1_1_player.html#a0609201a72bbaeed365f723606064338", null ], [ "getPlayerNumber", "classacesengine_1_1_player.html#a980b1a36bac211df1c6d20c999b1e0a5", null ], [ "remapInput", "classacesengine_1_1_player.html#aa5d62e7582f0dcd84412748fd0651eaf", n...
35,659
https://github.com/yangqintaotomrose/Ionic-ShoppingMall/blob/master/www/areas/goodsList/goodsList_service.js
Github Open Source
Open Source
Apache-2.0
2,015
Ionic-ShoppingMall
yangqintaotomrose
JavaScript
Code
392
2,467
/****************************************************** ๅˆ›ๅปบไบบ๏ผš็Ÿณๅ›ฝๅบ† ๅˆ›ๅปบๆ—ถ้—ด๏ผš2015.10.20 ไฟฎๆ”นไบบ๏ผš ไฟฎๆ”นๆ—ถ้—ด๏ผš ๅŠŸ ่ƒฝ๏ผšๅ•†ๅ“ๅˆ—่กจๆœๅŠก ******************************************************/ angular.module('APT.goodsList.service', []) .factory('GoodsListFty', ['$http', '$q','GlobalVariable','$window', function ($http, $q,Globa...
23,703
https://github.com/cnblogs/learning-schedule/blob/master/src/Presentation/Cnblogs.Academy.SPA/src/app/index/index.module.ts
Github Open Source
Open Source
Apache-2.0
2,019
learning-schedule
cnblogs
TypeScript
Code
95
263
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule } from '@angular/router'; import { IndexComponent } from './index.component'; import { FeedsComponent } from './feeds/feeds.component'; import { FeedItemModule } from '../feed-item/feed-item.module'; import {...
19,245
https://github.com/acaengine/drivers/blob/master/drivers/lutron/vive_leap_models.cr
Github Open Source
Open Source
MIT
2,022
drivers
acaengine
Crystal
Code
330
1,201
require "json" module Lutron macro upper_enum(name) {% if name.type.resolve.nilable? %} @{{name.var}} : String? {% else %} @{{name.var}} : String {% end %} {% enum_type = name.type.resolve.union_types.reject(&.nilable?).first %} def {{name.var}} : {{name.type}} if value = @{{name.var}} {{e...
31,505
https://github.com/tumb1er/fffw/blob/master/fffw/types.py
Github Open Source
Open Source
MIT
2,021
fffw
tumb1er
Python
Code
21
47
try: from typing import Literal except ImportError: # pragma: no cover from typing_extensions import Literal # type: ignore __all__ = ['Literal']
42,502
https://github.com/EminemBurger/Carona/blob/master/client/src/components/Footer.js
Github Open Source
Open Source
MIT
2,021
Carona
EminemBurger
JavaScript
Code
168
620
import React from 'react' import { makeStyles } from '@material-ui/core/styles'; import Logo from '../img/carona.png'; import GitHubIcon from '@material-ui/icons/GitHub'; const newStyles = makeStyles((theme) => ({ footer: { gridArea: 'footer', display: 'grid', backgroundColor:'#faf2da ', ...
4,962
https://github.com/OsamaBaker/class02-trial/blob/master/__test__/server.test.js
Github Open Source
Open Source
MIT
2,021
class02-trial
OsamaBaker
JavaScript
Code
116
316
'use strict'; const {server} = require('../src/server'); const supertest = require('supertest'); const request = supertest(server); describe('middleware server', () => { it('should check 404 not found error', async () => { //arrange let param = '/notfound' let status = 404 // act ...
1,883
https://github.com/cdstanford/regex-smt-benchmarks/blob/master/regexlib_membership/sat/membership_793.smt2
Github Open Source
Open Source
MIT
2,021
regex-smt-benchmarks
cdstanford
null
Spoken
165
586
;--- ; using 8-bit bit-vectors as characters ; check membership of .Net regex ; regexA = <\/?(tag1|tag2)[^>]*\/?> ;--- (set-info :status sat) (set-option :print-success true) (set-logic QF_BVRE) (declare-const regexA (RegEx String)) (declare-const x String) ;witness1: "\x19<tag2O\u00A0\'/>" (define-fun Witness1 () St...
24,317
https://github.com/rags/pynt-contrib/blob/master/publish.sh
Github Open Source
Open Source
MIT
2,021
pynt-contrib
rags
Shell
Code
14
19
rm -rf dist && poetry version patch && poetry build && twine upload dist/*
3,809
https://github.com/OscarGame/Editable-Smooth-Voxel-Terrain-in-Unity/blob/master/Assets/SVTscripts/EditSVT.cs
Github Open Source
Open Source
MIT
2,021
Editable-Smooth-Voxel-Terrain-in-Unity
OscarGame
C#
Code
1,179
3,872
๏ปฟusing System; using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// This static class cointains methods used to editing SVT terrain when project is running /// </summary> public static class EditSVT { /// <summary> /// Test method - increases or decreases value of 1...
46,896
https://github.com/raomohan89/GATK/blob/master/src/test/java/org/broadinstitute/hellbender/tools/copynumber/formats/collections/AbstractSampleLocatableCollectionUnitTest.java
Github Open Source
Open Source
BSD-3-Clause
2,019
GATK
raomohan89
Java
Code
647
2,739
package org.broadinstitute.hellbender.tools.copynumber.formats.collections; import htsjdk.samtools.SAMSequenceDictionary; import htsjdk.samtools.SAMSequenceRecord; import htsjdk.samtools.util.Locatable; import org.apache.commons.io.FileUtils; import org.broadinstitute.hellbender.GATKBaseTest; import org.broadinstitute...
18,503
https://github.com/ahmnouira/learning-scripts/blob/master/basic-js/test.ts
Github Open Source
Open Source
MIT
null
learning-scripts
ahmnouira
TypeScript
Code
178
524
let qualities = [ { id: 1, name: "Friendly", image: 'Friendly.jpg'}, { id: 2, name: "Equality", image: 'Equality.jpg'}, { id: 3, name: "Humour", image: 'humour.jpg'}, { id: 4, name: "Understand", image: 'understand.jpg'}, { id: 5, name: "Honest", image: 'honest.jpg'}, { id: 6, name: "Change", i...
37,483
https://github.com/tanviroy/fed-ml/blob/master/client.py
Github Open Source
Open Source
MIT
null
fed-ml
tanviroy
Python
Code
203
954
import socket import json import numpy as np from tensorflow import keras from tensorflow.keras import layers from tqdm import tqdm import sys clientsocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) IP = '127.0.0.1' PORT = 5005 # connect to the server clientsocket.connect( (IP, PORT) ) # ---------------...
16,791
https://github.com/imvkmark/wulicode-web/blob/master/modules/demo/src/app/forms/FormRuleRequiredEstablish.php
Github Open Source
Open Source
MIT
2,022
wulicode-web
imvkmark
PHP
Code
259
1,374
<?php namespace Demo\App\Forms; use Poppy\Area\Action\Area; use Poppy\Area\Models\SysArea; use Poppy\Framework\Classes\Resp; use Poppy\Framework\Exceptions\ApplicationException; use Poppy\Framework\Validation\Rule; use Poppy\MgrApp\Classes\Widgets\FormWidget; class FormRuleRequiredEstablish extends FormWidget { ...
52,914
https://github.com/yx12369/hellow/blob/master/extend/gyo2o/model/Attachment.php
Github Open Source
Open Source
Apache-2.0
null
hellow
yx12369
PHP
Code
216
794
<?php /** * Created by PhpStorm. * User: Administrator * Date: 2017/12/19 0019 * Time: ไธŠๅˆ 9:59 */ namespace gyo2o\model; use gyo2o\BaseModel; use fast\Random; use gyo2o\dao\attachmentDao; use think\Config; class Attachment extends BaseModel { public function uploadImg($file){ //ๅˆคๆ–ญๆ˜ฏๅฆๅทฒ็ปๅญ˜ๅœจ้™„ไปถ $s...
32,499
https://github.com/albertobazilio98/my-js-stuff/blob/master/game-of-life/src/index.js
Github Open Source
Open Source
MIT
2,021
my-js-stuff
albertobazilio98
JavaScript
Code
235
681
function setup() { const canvas = document.getElementById('gameOfLife'); const startStopButton = document.getElementById('start'); const randomizeButton = document.getElementById('randomize'); const clearButton = document.getElementById('clear'); const generation = document.getElementById('generation'); co...
23,249
https://github.com/jperniakubo/apibo/blob/master/src/app/repository/v1/checkIn.repository.ts
Github Open Source
Open Source
MIT
null
apibo
jperniakubo
TypeScript
Code
143
467
import {Repository} from '../generic'; import {CheckIn} from '../../models/CheckIn'; // repositories import {ImagesCheckInRepository} from '../../repository/v1/imagesCheckIn.repository'; import {ItemsCheckInRepository} from '../../repository/v1/itemsCheckIn.repository'; export class CheckInRepository extends Repositor...
4,926
https://github.com/nakomis/incubator-brooklyn/blob/master/brooklyn-ui/src/main/webapp/assets/js/util/brooklyn.js
Github Open Source
Open Source
MIT, Apache-2.0, BSD-3-Clause
2,021
incubator-brooklyn
nakomis
JavaScript
Code
345
759
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
2,217
https://github.com/TomaszKr/Pesel/blob/master/tests/peselTest.php
Github Open Source
Open Source
MIT
2,017
Pesel
TomaszKr
PHP
Code
241
1,002
<?php namespace Tests; use TomaszKr\Pesel as Pesel; use PHPUnit\Framework\TestCase; /* * @codeCoverageIgnore */ class PeselTest extends TestCase { /** * @dataProvider invalidNumberDataProviderException * @param string $number * @expectedException Exception */ public function testException...
31,088
https://github.com/bbarker/ATS-Postiats-contrib/blob/master/projects/LARGE/TUTORIATS/in-browsers/PATSHOME/libats/libc/SATS/strings.sats
Github Open Source
Open Source
MIT
2,021
ATS-Postiats-contrib
bbarker
null
Spoken
337
750
(***********************************************************************) (* *) (* Applied Type System *) (* *) (***********************...
24,343
https://github.com/azizbekphd/flutter-android-window/blob/master/android/src/main/kotlin/qiuxiang/android_window/WindowService.kt
Github Open Source
Open Source
MIT
null
flutter-android-window
azizbekphd
Kotlin
Code
167
573
package qiuxiang.android_window import android.app.Notification import android.app.NotificationChannel import android.app.NotificationManager import android.content.Intent import android.os.Build import android.os.IBinder import io.flutter.embedding.engine.FlutterEngine import io.flutter.embedding.engine.dart.DartExec...
40,511
https://github.com/bjuvensjo/schmetterling/blob/master/tests/build/test_gradle.py
Github Open Source
Open Source
Apache-2.0
2,023
schmetterling
bjuvensjo
Python
Code
324
1,460
from json import dumps from re import match from unittest.mock import call, mock_open, patch from schmetterling.build.gradle import build from schmetterling.build.gradle import create_command from schmetterling.build.gradle import read_build_result def test_build(): with patch( "schmetterling.build.gradl...
15,021
https://github.com/saneee/x86_64_kernel/blob/master/musl/src/signal/sigfillset.c
Github Open Source
Open Source
LicenseRef-scancode-public-domain, BSD-2-Clause, BSD-3-Clause, LicenseRef-scancode-mit-nagy, MIT, LicenseRef-scancode-other-permissive
2,020
x86_64_kernel
saneee
C
Code
28
116
#include <signal.h> #include <string.h> #include <limits.h> int sigfillset(sigset_t *set) { #if ULONG_MAX == 0xffffffff set->__bits[0] = 0x7ffffffful; set->__bits[1] = 0xfffffffcul; #else set->__bits[0] = 0xfffffffc7ffffffful; #endif return 0; }
4,223
https://github.com/Zintom/ReggieRayTracing/blob/master/RayTracer/RayTracer/DDARayTracer.cs
Github Open Source
Open Source
Apache-2.0
null
ReggieRayTracing
Zintom
C#
Code
705
1,813
๏ปฟusing System; using System.Diagnostics; using System.Numerics; namespace Zintom.RayTracer { public interface IRayTraceable { /// <summary> /// Defines whether this object is solid. Rays collide with solid objects. /// </summary> public bool Solid { get; } } public stat...
3,270
https://github.com/andrus/bootique/blob/master/bootique/src/main/java/com/nhl/bootique/run/DefaultRunner.java
Github Open Source
Open Source
Apache-2.0
null
bootique
andrus
Java
Code
54
212
package com.nhl.bootique.run; import com.google.inject.Inject; import com.nhl.bootique.cli.Cli; import com.nhl.bootique.command.Command; import com.nhl.bootique.command.CommandManager; import com.nhl.bootique.command.CommandOutcome; public class DefaultRunner implements Runner { private Cli cli; private CommandMan...
16,192
https://github.com/Miguelmorales13/api-menu/blob/master/src/entities/User.entity.ts
Github Open Source
Open Source
MIT
2,021
api-menu
Miguelmorales13
TypeScript
Code
287
859
import * as bcrypt from 'bcrypt'; import { BeforeCreate, BelongsTo, Column, ForeignKey, Table, DataType, NotNull, Is, AfterFind, DefaultScope, } from 'sequelize-typescript'; import { generatePassword } from '../config/constants'; import { General } from './General.entity'; import { HttpException, H...
29,809
https://github.com/sunginHwang/woolBank/blob/master/src/components/account/list/addPhase/AccountSavingTypeModal.tsx
Github Open Source
Open Source
MIT
null
woolBank
sunginHwang
TypeScript
Code
194
718
import React from 'react'; import styled from 'styled-components'; import ModalDeem from '@components/common/modal/ModalDeem'; import { IAssetType } from '@models/component/IAssetType'; import { INSTALLMENT_SAVINGS } from '@support/constants'; export interface AccountSavingTypeModalProps { visible: boolean; onclos...
18,236
https://github.com/google/filament/blob/master/third_party/libassimp/include/assimp/GenericProperty.h
Github Open Source
Open Source
BSD-3-Clause, LGPL-2.0-or-later, Apache-2.0, CC0-1.0, LicenseRef-scancode-unknown-license-reference
2,023
filament
google
C++
Code
508
1,164
/* Open Asset Import Library (assimp) ---------------------------------------------------------------------- Copyright (c) 2006-2019, assimp team All rights reserved. Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following condition...
33,497
https://github.com/gabrielbunselmeyer/Project-RimFactory-Revived/blob/master/Source/ProjectRimFactory/AutoMachineTool/MoteProgressBar2.cs
Github Open Source
Open Source
MIT
2,022
Project-RimFactory-Revived
gabrielbunselmeyer
C#
Code
48
157
๏ปฟusing System; using System.Collections.Generic; using System.Linq; using System.Text; using RimWorld; using Verse; using Verse.AI; using Verse.Sound; using UnityEngine; namespace ProjectRimFactory.AutoMachineTool { public class MoteProgressBar2 : MoteProgressBar { public override void Draw() ...
39,519
https://github.com/kotenev/samantha/blob/master/tools/tensorflow/src/models/recommender_test.py
Github Open Source
Open Source
MIT
2,018
samantha
kotenev
Python
Code
326
1,504
import unittest import random from src.trainer import ModelTrainer from src.datasets.json_list import JsonListDataSet from src.models.sequence_user_model import SequenceUserModel from src.models.softmax_prediction_model import SoftmaxPredictionModel from src.models.hsm_prediction_model import HierarchicalPredictionMo...
32,360
https://github.com/nonsensecodes/corde/blob/master/src/api/bot.ts
Github Open Source
Open Source
MIT
null
corde
nonsensecodes
TypeScript
Code
815
1,828
import { Message, Role } from "discord.js"; import { CordeClientError } from "../errors"; import { mapper } from "../mapper/messageMapper"; import { ICordeBot, IMessageEmbed, IRoleData, IRoleIdentifier, Primitive } from "../types"; import { isPrimitiveValue } from "../utils"; export class Bot { private _bot: ICordeB...
10,645
https://github.com/gileshinchcliff/jenkins-docker-aws/blob/master/Dockerfile
Github Open Source
Open Source
MIT
2,015
jenkins-docker-aws
gileshinchcliff
Dockerfile
Code
177
816
FROM fedora:20 RUN yum update -y -q; yum clean all RUN yum --enablerepo updates-testing install -y -q python-pip java-headless dejavu-sans-fonts git wget parallel which; yum clean all; pip install awscli # Install jenkins ENV JENKINS_VERSION 1.620 RUN yum install -y -q http://pkg.jenkins-ci.org/redhat/jenkins-${JENKI...
46,119
https://github.com/micheljung/warcraft4j/blob/master/warcraft4j-devtools/src/main/java/nl/salp/warcraft4j/dev/casc/model/MultiMap.java
Github Open Source
Open Source
Apache-2.0
null
warcraft4j
micheljung
Java
Code
398
1,068
/* * Licensed to the Warcraft4J Project under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The Warcraft4J Project licenses * this file to you under the Apache License, Version 2.0 (the * "License"); you...
9,084
https://github.com/irff/uas/blob/master/soal1/relay.py
Github Open Source
Open Source
MIT
null
uas
irff
Python
Code
351
1,262
#!/usr/bin/env python from rabbitmq import RabbitMQ, Consumer, Publisher import time import json import pika import random import threading import sys from datetime import datetime from tinydb import TinyDB, Query QUEUE_URL = '152.118.148.103' QUEUE_PORT = '5672' USERNAME = '1306398983' PASSWORD = '446167' VHOST = '13...
8,835
https://github.com/rbagus02/donasi/blob/master/resources/views/users/penyerahan.blade.php
Github Open Source
Open Source
MIT
null
donasi
rbagus02
PHP
Code
146
720
@extends('users.template.master') @section('content') <h1 class="h3 mb-2 text-gray-800">Penyerahan Donasi</h1> <div class="card shadow mb-4"> <div class="card-header py-3"></div> <div class="card-body"> <div class="table-responsive"> <table class="table table-borde...
26,832
https://github.com/armandobn/meanStackFrontEnd/blob/master/UnidadUno/EjercicioPoo1/script.js
Github Open Source
Open Source
MIT
null
meanStackFrontEnd
armandobn
JavaScript
Code
39
179
let ano= prompt("ingresa aรฑo"); ano=parseInt(ano); let cien=0; let siglo=0; function siglo_ing(){ for(let i=0; i<21; i++){ cien=cien+100; console.log(cien+1); if(ano<cien+1){ if(ano==cien+1){ siglo=i+1; // console.log(siglo); return siglo; }else{ siglo=i+1; ...
28,258
https://github.com/Tusharbalar/Angular2-Exercises/blob/master/app/app.component.ts
Github Open Source
Open Source
MIT
null
Angular2-Exercises
Tusharbalar
TypeScript
Code
37
142
import { Component } from '@angular/core'; @Component({ selector: 'my-app', template: ` <h1>My First Angular App</h1> <fa-other></fa-other> <fa-another> <div> <h1>Hello</h1> <h2>Tushar!!!</h2> </div> </fa-another> `, ...
339
https://github.com/snwfdhmp/magma/blob/master/symphony/app/fbcnms-packages/fbcnms-ui/components/Button.js
Github Open Source
Open Source
BSD-3-Clause, Apache-2.0
2,020
magma
snwfdhmp
JavaScript
Code
107
245
/** * Copyright 2004-present Facebook. All Rights Reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. * * @flow * @format */ import React from 'react'; type Props = { onClick?: () => void, error?: boolean, children...
7,671
https://github.com/ayebiahwea/mapbox-navigation-android/blob/master/libandroid-navigation/src/main/java/com/mapbox/services/android/navigation/v5/navigation/ElapsedTime.java
Github Open Source
Open Source
MIT
2,019
mapbox-navigation-android
ayebiahwea
Java
Code
118
337
package com.mapbox.services.android.navigation.v5.navigation; import android.support.annotation.Nullable; import com.mapbox.services.android.navigation.v5.exception.NavigationException; class ElapsedTime { private static final double ELAPSED_TIME_DENOMINATOR = 1e+9; private static final double PRECISION = 100d;...
23,292
https://github.com/sitedata/simple-lookup-service/blob/master/lookup/simple-lookup-service-client/src/main/java/net/es/lookup/records/Network/PSMetadataRecord.java
Github Open Source
Open Source
BSD-3-Clause-LBNL
2,022
simple-lookup-service
sitedata
Java
Code
219
981
package net.es.lookup.records.Network; import net.es.lookup.common.ReservedKeys; import net.es.lookup.common.ReservedValues; import net.es.lookup.common.exception.RecordException; import net.es.lookup.records.Record; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.List; /** * Cre...
29,009
https://github.com/mit-pdos/perennial/blob/master/src/program_proof/buf/buf_proof.v
Github Open Source
Open Source
MIT
2,023
perennial
mit-pdos
null
Spoken
5,719
17,037
From Coq Require Import Program.Equality. From RecordUpdate Require Import RecordSet. Import RecordSetNotations. From Perennial.Helpers Require Import bytes Map. From Perennial.program_proof Require Import disk_prelude. From Goose.github_com.mit_pdos.go_journal Require Import buf. From Perennial.program_proof Require...
32,095
https://github.com/xiaoy9/auth/blob/master/src/main/resources/db/migration/V1.0.1__create_user_and_roles.sql
Github Open Source
Open Source
Apache-2.0
null
auth
xiaoy9
SQL
Code
224
872
CREATE TABLE `users` ( `id` BIGINT NOT NULL AUTO_INCREMENT COMMENT 'ไธป้”ฎ id', `login` VARCHAR(64) NOT NULL DEFAULT '0' COMMENT '็™ปๅฝ•ๅ(ๅŒๆ—ถไนŸๆ˜ฏ็”จๆˆทๅ”ฏไธ€ๆ ‡่ฏ†)', `password_hash` VARCHAR(64) NOT NULL DEFAULT '0' COMMENT 'ๅŠ ็›ๅŽ็š„ๅฏ†็ ', `nickname` VARCHAR(127) NULL COMMENT '็”จๆˆท็•Œ...
40,146
https://github.com/ZachSand/nasa-mars-rover/blob/master/nasa-mars-rover-server/src/test/java/com/github/zachsand/nasa/mars/rover/util/DateUtilTest.java
Github Open Source
Open Source
MIT
null
nasa-mars-rover
ZachSand
Java
Code
78
357
package com.github.zachsand.nasa.mars.rover.util; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.NullAndEmptySource; import org.junit.jupiter.params.provider.ValueSource; import java.time.LocalDate; import static org.junit.jupiter.api.As...
52,724
https://github.com/a-to-z-experiences-app/Landing-Page/blob/master/less/variables.less
Github Open Source
Open Source
MIT
2,020
Landing-Page
a-to-z-experiences-app
Less
Code
6
19
// Mobile var @phone: ~"(max-width: 500px)";
19,211
https://github.com/brendano257/Zugspitze-Schneefernerhaus/blob/master/lab/plotting_classes/test_plotting.py
Github Open Source
Open Source
MIT
null
Zugspitze-Schneefernerhaus
brendano257
Python
Code
472
1,735
__package__ = None from datetime import datetime from random import randint from scratch_plotting import (TimeSeries, TwoAxisTimeSeries, LinearityPlot, MixingRatioPlot, PeakAreaPlot, StandardPeakAreaPlot, LogParameterPlot, TwoAxisLogParameterPlot) from IO.db.models import Compound, GcR...
4,125
https://github.com/mage/mage-sdk-unity/blob/master/Mage/Logger/Writers/LogWriter.cs
Github Open Source
Open Source
MIT
2,020
mage-sdk-unity
mage
C#
Code
14
43
namespace Wizcorp.MageSDK.Log.Writers { public abstract class LogWriter { public abstract void Dispose(); } }
28,854
https://github.com/shelterbox/Loqate_BankVerification/blob/master/javasource/loqate_bankverification/proxies/Batch_Validate_v1_Response.java
Github Open Source
Open Source
MIT
null
Loqate_BankVerification
shelterbox
Java
Code
277
1,207
// This file was generated by Mendix Studio Pro. // // WARNING: Code you write here will be lost the next time you deploy the project. package loqate_bankverification.proxies; public class Batch_Validate_v1_Response extends loqate_bankverification.proxies.Response { /** * Internal name of this entity */ public ...
49,793
https://github.com/w33ble/functions/blob/master/src/http/session/providers/jwe.js
Github Open Source
Open Source
Apache-2.0
null
functions
w33ble
JavaScript
Code
283
738
let getIdx = require('./_get-idx') let cookie = require('cookie') let jwt = require('node-webtokens') let alg = 'dir' let enc = 'A128GCM' // 128bit key size let fallback = Buffer.from('1234567890123456').toString('base64') // need to STRONGLY encourage setting ARC_APP_SECRET in the docs let key = process.env.ARC_APP_...
38,720
https://github.com/frangiclave/frangiclave-mod-manager/blob/master/FrangiclavePatch/Patches/Assets/Core/SituationEffectCommand.cs
Github Open Source
Open Source
MIT, CC0-1.0, LicenseRef-scancode-unknown-license-reference
2,019
frangiclave-mod-manager
frangiclave
C#
Code
35
134
using MonoMod; namespace Frangiclave.Patches.Assets.Core { [MonoModPatch("global::Assets.Core.SituationEffectCommand")] public class SituationEffectCommand : global::Assets.Core.SituationEffectCommand { public bool SendAway { get; set; } public SituationEffectCommand( global::...
227
https://github.com/razsapps/JavaEngineerTest/blob/master/src/test/java/com/ras/java/test/linkedlist/LinkedListQuestionsSplitListOnValueTest.java
Github Open Source
Open Source
Apache-2.0
2,017
JavaEngineerTest
razsapps
Java
Code
499
1,281
package com.ras.java.test.linkedlist; import com.ras.java.test.LinkedListQuestions; import com.ras.java.test.core.EfficiencyTestExecutor; import com.ras.java.test.core.SimpleListNode; import org.junit.Test; import java.lang.reflect.InvocationTargetException; import java.util.LinkedList; import static org.junit.Asser...
8,929
https://github.com/anjaspangestu/CA-VI/blob/master/app/Http/Controllers/Home/HomeController.php
Github Open Source
Open Source
MIT
null
CA-VI
anjaspangestu
PHP
Code
79
356
<?php namespace App\Http\Controllers\Home; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Auth; use App\User; use App\Video; class HomeController extends Controller { public function index() { if (Auth::check()) { ...
6,592
https://github.com/Cenbe/netbeans-website/blob/master/netbeans.apache.org/src/content/tutorials/nbm-quick-start_pt_BR.asciidoc
Github Open Source
Open Source
Apache-2.0
2,022
netbeans-website
Cenbe
AsciiDoc
Code
1,887
4,243
// // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (th...
17,180
https://github.com/shakh13/SerialManager/blob/master/src/SerialManager.h
Github Open Source
Open Source
MIT
null
SerialManager
shakh13
C
Code
119
317
// Arduino RBD Serial Manager Library v0.1 - A simple interface for serial communication. // https://github.com/shakh13/SerialManager // Shaxzod Saidmurodov // MIT License #ifndef SERIAL_MANAGER #define SERIAL_MANAGER #include <Arduino.h> class SerialManager { public: SerialManager(); void start(in...
9,786
https://github.com/PajarKharisma/Laravel-SistemPenilaianSD/blob/master/file/database.sql
Github Open Source
Open Source
MIT
2,019
Laravel-SistemPenilaianSD
PajarKharisma
SQL
Code
310
1,296
CREATE DATABASE db_penilaian_sd; USE db_penilaian_sd; CREATE TABLE guru( id_guru INT NOT NULL AUTO_INCREMENT, nip VARCHAR(30), nama_guru VARCHAR(30), PRIMARY KEY(id_guru) )ENGINE=InnoDB; CREATE TABLE tahun_ajaran( id_ta INT NOT NULL AUTO_INCREMENT, nama_ta VARCHAR(30), PRIMARY KEY(id_ta) )...
23,445