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/Cloudxtreme/dnsimple-php/blob/master/tests/bootstrap.php
Github Open Source
Open Source
MIT
2,018
dnsimple-php
Cloudxtreme
PHP
Code
5
43
<?php require_once __DIR__.'/../vendor/autoload.php'; require_once __DIR__.'/Dnsimple/ServiceTestCase.php';
32,797
https://github.com/iris-dni/iris-backend/blob/master/src/iris/service/auth/__init__.py
Github Open Source
Open Source
Apache-2.0
2,017
iris-backend
iris-dni
Python
Code
27
120
from . import service # noqa from .ssotoken import SSOToken # noqa from . import views # noqa def includeme(config): config.add_route('auth_api', 'auth', static=True) config.add_route('login_embed', 'views/iris-sso-login.js') config.add_rou...
1,367
https://github.com/chanzuckerberg/rst-napari/blob/master/Python/ontomatch/text/tokenizer.py
Github Open Source
Open Source
MIT
null
rst-napari
chanzuckerberg
Python
Code
594
1,813
""" A basic string tokenizer that provides mapping back to the source string. """ from enum import Enum, IntEnum, unique, auto from typing import Any, Dict, List, NamedTuple import unicodedata import regex from unidecode import unidecode from nltk.stem import SnowballStemmer, WordNetLemmatizer # ------------------...
4,237
https://github.com/afollestad/recyclical/blob/master/core/build.gradle
Github Open Source
Open Source
Apache-2.0
2,022
recyclical
afollestad
Gradle
Code
30
176
ext.module_group = "com.afollestad" ext.module_name = "recyclical" apply from: rootProject.file("gradle/android_publishable_library_config.gradle") dependencies { api deps.androidx.core api deps.androidx.recycler_view implementation deps.kotlin.stdlib8 testImplementation deps.androidx.test testImplementat...
50,011
https://github.com/Kolykocha/human-readable-number/blob/master/src/index.js
Github Open Source
Open Source
MIT
null
human-readable-number
Kolykocha
JavaScript
Code
220
488
module.exports = function toReadable(number) { const one = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']; const tens = ['ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']; const hundreds = [null, 'ten', 'twenty', '...
4,081
https://github.com/TheBay0r/rest-io/blob/master/lib/examples/authentication/resources/parent.js
Github Open Source
Open Source
MIT
2,015
rest-io
TheBay0r
JavaScript
Code
25
77
var authorizedResource_1 = require('../../../src/authorizedResource'); var parentResource = new authorizedResource_1.AuthorizedResource({ name: 'parent', model: { name: String, subs: [{ name: String }] } }); module.exports = parentResource;
3,864
https://github.com/MaartenSnels/openScad/blob/master/models/hond/tafelpoot.scad
Github Open Source
Open Source
MIT
null
openScad
MaartenSnels
null
Spoken
233
625
wall = 5; // wall thickness hPoot = 80; // hight the table has to rise hOversteek = 30; // how much of the leg must be coverd bPoot = 36.3; // with of leg lPoot = 162; // length of leg schroefGaten = true; // screw legs together? // berekend dSchroefgat = bPo...
40,532
https://github.com/ArnolFokam/dna-gate-example-app/blob/master/src/server/routes/payment.routes.ts
Github Open Source
Open Source
Apache-2.0
null
dna-gate-example-app
ArnolFokam
TypeScript
Code
30
91
import { createPaymentIntent } from "./../controllers/payment.controller"; import {Application} from "express"; import { verifyToken } from "./../middlewares/authJwt"; export const routes = (app: Application) => { app.post( "/api/creat-payment-intent", [verifyToken], createPaymentIntent ...
14,595
https://github.com/alexhans1/share-and-compare/blob/master/client/src/actions/BankActions.js
Github Open Source
Open Source
MIT
null
share-and-compare
alexhans1
JavaScript
Code
30
123
import dispatcher from "../Dispatcher"; export function searchBanks(search, page) { dispatcher.dispatch({ type: "SEARCH_BANKS", search, page, }); } export function fetchCarsharingCosts(bankIds, bankingUserIds, bankingPINs) { dispatcher.dispatch({ type: "FETCH_CARSHARING_COSTS", bankIds, ...
13,046
https://github.com/yvoyer/wrap-it/blob/master/src/Extension/ExtensionLoader.php
Github Open Source
Open Source
MIT
null
wrap-it
yvoyer
PHP
Code
13
46
<?php declare(strict_types=1); namespace Star\WrapIt\Extension; interface ExtensionLoader { public function loadTemplate(string $language): WrapExtension; }
589
https://github.com/PocketByte/LocoLaser/blob/master/resource-mobile/src/main/java/ru/pocketbyte/locolaser/mobile/IosPlistResourcesConfig.kt
Github Open Source
Open Source
Apache-2.0
2,023
LocoLaser
PocketByte
Kotlin
Code
61
196
package ru.pocketbyte.locolaser.mobile import ru.pocketbyte.locolaser.config.resources.BaseResourcesConfig import ru.pocketbyte.locolaser.mobile.resource.IosPlistResources /** * iOS Info.plist localisation configuration. * * @author Denis Shurygin */ class IosPlistResourcesConfig : BaseResourcesConfig() { co...
29,391
https://github.com/apechinsky/spring-ws/blob/master/spring-ws-core/src/test/java/org/springframework/ws/server/endpoint/mapping/EndpointMappingTest.java
Github Open Source
Open Source
Apache-2.0
null
spring-ws
apechinsky
Java
Code
571
1,703
/* * Copyright 2005-2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
13,680
https://github.com/m-monson/ampii-server/blob/master/src/org/ampii/xd/server/Request.java
Github Open Source
Open Source
MIT
2,018
ampii-server
m-monson
Java
Code
414
1,138
// This file is part of the AMPII Project. It is subject to the copyright and license terms in the top-level LICENSE file. package org.ampii.xd.server; import org.ampii.xd.common.Errors; import org.ampii.xd.common.XDError; import org.ampii.xd.common.XDException; import org.ampii.xd.data.Data; import org.ampii.xd.data....
30,314
https://github.com/Jayli22/PixelArtPipeline-master/blob/master/Assets/Blade-V1.0/Assets/EffectPackage/ArtData/Materials-E3D/E3D-Direction-Loop-Loop7.mat
Github Open Source
Open Source
Unlicense
2,019
PixelArtPipeline-master
Jayli22
Unity3D Asset
Code
308
1,204
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: serializedVersion: 6 m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: E3D-Direction-Loop-Loop7 m_Shader: {fileID: 4800000, guid: 268f447a688d4e74480b0d180674d...
13,027
https://github.com/schwellnus/mapmaker/blob/master/src/lib/tileset.ts
Github Open Source
Open Source
Apache-2.0
null
mapmaker
schwellnus
TypeScript
Code
101
341
export type Tile = { name: string; type: string; symbol: String; } export const land_tiles: Tile[] = [ { name: 'grass', type: 'land', symbol: '🟩' }, { name: 'sand', type: 'land', symbol: '🟨' }, { name: 'rock', type: 'lan...
30,227
https://github.com/Maximos007/Exercicios-Python-Modulo1/blob/master/modulo-1/desafio025.py
Github Open Source
Open Source
MIT
2,021
Exercicios-Python-Modulo1
Maximos007
Python
Code
13
40
name = str(input('Nome : ')).strip().upper() print('Não tem "SILVA" no name {}'.format('SILVA' in name))
25,560
https://github.com/ternence-li/castle-games/blob/master/desktop/components/game/GameFavoriteControl.js
Github Open Source
Open Source
Zlib, BSD-3-Clause, MIT
2,020
castle-games
ternence-li
JavaScript
Code
130
452
import * as React from 'react'; import * as SVG from '~/components/primitives/svg'; import { css } from 'react-emotion'; import { GameDataContext } from '~/contexts/GameDataContext'; const STYLES_CONTAINER = css` display: inline-flex; align-items: center; justify-content: center; cursor: pointer; `; const ST...
37,380
https://github.com/tcwu2005/svmp-android-client/blob/master/src/org/mitre/svmp/common/Constants.java
Github Open Source
Open Source
Apache-2.0
2,022
svmp-android-client
tcwu2005
Java
Code
473
1,548
/* Copyright (c) 2013 The MITRE Corporation, All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work 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...
22,211
https://github.com/flsusp/hyplogger/blob/master/hyplogger-test-support/src/main/java/org/hyplogger/test/LogMessagePredicate.java
Github Open Source
Open Source
Apache-2.0
2,020
hyplogger
flsusp
Java
Code
58
188
package org.hyplogger.test; import java.util.Objects; import java.util.function.Predicate; public interface LogMessagePredicate extends Predicate<LogMessage> { default String describe() { return "matches predicate"; } default LogMessagePredicate and(LogMessagePredicate other) { Objects.r...
1,816
https://github.com/lightbend/kalix-jvm-sdk/blob/master/docs/src/modules/java/pages/actions-publishing-subscribing.adoc
Github Open Source
Open Source
Apache-2.0
2,023
kalix-jvm-sdk
lightbend
AsciiDoc
Code
2,295
4,270
= Publishing and Subscribing :page-aliases: spring:actions-publishing-subscribing.adoc, spring:serialization.adoc, spring:service-to-service.adoc, java:serialization.adoc, java:service-to-service.adoc include::ROOT:partial$include.adoc[] A very common use case when building Microservices is to publish and subscribe t...
29,485
https://github.com/JOSE-731/sistema/blob/master/resources/views/empleados/create.blade.php
Github Open Source
Open Source
MIT
null
sistema
JOSE-731
PHP
Code
112
578
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-12"> <h1>Sección para empleados</h1> <form action="{{ route('empleados.store') }}" method="post" enctype="multipart/form-data" class="form-horizontal"> @csrf <div clas...
24,632
https://github.com/DebanjanBarman/Chinitas-Films-Front/blob/master/src/redux/actions/characterData.js
Github Open Source
Open Source
MIT
2,020
Chinitas-Films-Front
DebanjanBarman
JavaScript
Code
30
90
import store from '../store'; import axios from 'axios'; export const character = async (value) => { const res = await axios.get(`https://rickandmortyapi.com/api/character/?page=${value}`); store.dispatch({ type: 'CHARACTER', payload: res.data }) return res; }
2,559
https://github.com/miku/gows/blob/master/x/vars/main.go
Github Open Source
Open Source
MIT
null
gows
miku
Go
Code
51
97
package main import "log" func main() { a := 3.14 // assign and infer type (only within functions) var b = 1.0 // assign and infer type (anywhere) var c int // explicit type, without assignment var d int8 = 127 // explicit type, with assignment log.Println(a, b, c, d) }
24,798
https://github.com/moelashmawy/social-app/blob/master/server/schema/typeDefs/chat.ts
Github Open Source
Open Source
MIT
2,021
social-app
moelashmawy
TypeScript
Code
53
170
// defines chat typeDef const chatTypeDef = ` type Chat{ id: ID! users: [User!] messages: [Message!] } type UserChatsQueryPayload{ ok: Boolean! error: String chats: [Chat!] } type NewChatPayload{ ok: Boolean! chat: Chat error: String successMessage: String } ex...
56,432
https://github.com/adligo/tests4j.adligo.org/blob/master/src/org/adligo/tests4j/models/shared/metadata/TrialRunMetadata.java
Github Open Source
Open Source
Apache-2.0
2,021
tests4j.adligo.org
adligo
Java
Code
130
489
package org.adligo.tests4j.models.shared.metadata; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; public class TrialRunMetadata implements I_TrialRunMetadata { private List<I_TrialMetadata> trials = new Arr...
4,797
https://github.com/YordanIH/Intro_to_CS_w_Python/blob/master/chapter09/exercise13.py
Github Open Source
Open Source
MIT
null
Intro_to_CS_w_Python
YordanIH
Python
Code
39
61
'''“Using nested for loops, print a right triangle of the character T on the screen where the triangle is one character wide at its narrowest point and seven characters wide at its widest point''' for i in range(1,8): print('T'*i)
27,520
https://github.com/danielstegmeier/assertj-swing/blob/master/assertj-swing/src/test/java/org/assertj/swing/core/UnexpectedJOptionPaneFinder_requireNoJOptionPaneIsShowing_Test.java
Github Open Source
Open Source
Apache-2.0
2,020
assertj-swing
danielstegmeier
Java
Code
206
675
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
44,835
https://github.com/spencercorwin/neotracker/blob/master/packages/neotracker-shared-web/src/components/main/appFooter/TwitterIcon.js
Github Open Source
Open Source
MIT
2,022
neotracker
spencercorwin
JavaScript
Code
61
418
/* @flow */ import * as React from 'react'; import createIcon from './createIcon'; export default createIcon([ <path key={0} d="M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M17.71,9.33C18.19,8.93 18.75,8.45 19,7.92C18.59,8.13 18.1,8.26 17.56,8.33C18.06,7.97 18.47,7.5 18.68,6.86C...
35,252
https://github.com/doriordan/skuber/blob/master/examples/src/main/scala/skuber/examples/ingress/NginxIngress.scala
Github Open Source
Open Source
Apache-2.0
2,023
skuber
doriordan
Scala
Code
1,264
3,611
package skuber.examples.ingress import java.io.Serializable import java.net.HttpURLConnection import akka.actor.ActorSystem import skuber._ import skuber.ext.ReplicaSet import skuber.networking.Ingress import scala.annotation.tailrec // the extensions group kinds used in this example import skuber.json.format._ ...
10,133
https://github.com/dnnsoftware/Dnn.Platform/blob/master/DNN Platform/DotNetNuke.Instrumentation/DnnLogger.cs
Github Open Source
Open Source
LicenseRef-scancode-free-unknown, MIT
2,023
Dnn.Platform
dnnsoftware
C#
Code
3,576
8,467
// 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 namespace DotNetNuke.Instrumentation { using System; using System.Diagnostics; using System.Globalization...
33,236
https://github.com/winmord/otus_homework/blob/master/src/otus_homework/src/commands/ioc_register_command.cpp
Github Open Source
Open Source
MIT
null
otus_homework
winmord
C++
Code
30
201
#include <utility> #include "otus_homework/commands/ioc_register_command.hpp" namespace tank_battle_server { ioc_register_command::ioc_register_command(std::string key, std::any function, std::shared_ptr<std::string> scope_id, ...
51,396
https://github.com/diaozheng999/mchorseface/blob/master/LawnDart_Android/Assets/GoogleVR/gvr-5.2-and-5.3-compatible.unitypackage.meta
Github Open Source
Open Source
Apache-2.0, MIT, BSD-3-Clause
2,016
mchorseface
diaozheng999
Unity3D Asset
Code
12
61
fileFormatVersion: 2 guid: 88a77ee714b25f648ad385971e151c57 timeCreated: 1475800361 licenseType: Free DefaultImporter: userData: assetBundleName: assetBundleVariant:
16,346
https://github.com/aimhubio/aim/blob/master/src/aimcore/web/ui/src/components/kit/AutoSuggestions/AutoSuggestions.scss
Github Open Source
Open Source
Apache-2.0
2,023
aim
aimhubio
SCSS
Code
68
265
@use 'src/styles/abstracts' as *; .AutoSuggestions { position: absolute; width: 21.875rem; max-width: calc(100vw - 29rem); border: 0.0625rem solid #dceafb; border-radius: 0.0625rem; background-color: #fff; z-index: 9999; overflow: hidden; &__item { padding: 0 $space-xxs; display: block; c...
38,607
https://github.com/WILLIAMHIDALGO/Saleor-project/blob/master/saleor/static/dashboard-next/orders/mutations.ts
Github Open Source
Open Source
BSD-3-Clause
null
Saleor-project
WILLIAMHIDALGO
TypeScript
Code
206
700
import gql from "graphql-tag"; import { TypedMutation } from "../mutations"; import { fragmentOrderDetails } from "./queries"; import { OrderCancel, OrderCancelVariables } from "./types/OrderCancel"; import { OrderCapture, OrderCaptureVariables } from "./types/OrderCapture"; import { OrderCreateFulfillment, OrderC...
32,516
https://github.com/hendraanggrian/javafx-ktx/blob/master/ktfx-commons/src/ktfx/bindings/ConditionalBinding.kt
Github Open Source
Open Source
Apache-2.0
2,022
javafx-ktx
hendraanggrian
Kotlin
Code
313
1,052
@file:Suppress("NOTHING_TO_INLINE") package ktfx.bindings import javafx.beans.binding.Bindings import javafx.beans.binding.BooleanBinding import javafx.beans.binding.DoubleBinding import javafx.beans.binding.NumberBinding import javafx.beans.binding.ObjectBinding import javafx.beans.binding.StringBinding import javaf...
26,763
https://github.com/bundsol/json-api-beta/blob/master/src/JsonApi/Test/Data/Brand.elm
Github Open Source
Open Source
BSD-3-Clause
null
json-api-beta
bundsol
null
Spoken
230
554
module JsonApi.Test.Data.Brand exposing (brand_ids, brand_objects, brands, horizon, maryO, newComer, rumT, wittyChicken) import JsonApi.Test.Shortcuts exposing (..) horizon = [ p "type" ( s "brand") , p "id" ( s "21") , p "attributes" ( o [ p "name" ( s "Horizon") , p "opi...
3,944
https://github.com/stewue/jCloudScale-Lambda/blob/master/code/evaluation/quantitative/5.10_byValue_vs_byReference/src/main/java/com/byValue_vs_byReference/Demo2.java
Github Open Source
Open Source
MIT
2,017
jCloudScale-Lambda
stewue
Java
Code
58
204
package com.byValue_vs_byReference; import ch.uzh.ifi.seal.jcs_lambda.annotations.CloudMethod; import ch.uzh.ifi.seal.jcs_lambda.annotations.ReadOnly; import ch.uzh.ifi.seal.jcs_lambda.annotations.StartUp; public class Demo2 { @StartUp public static void main ( String [] args ){ Demo2 demo = new Demo2...
51,068
https://github.com/bakotat/SonarQube-plug-in/blob/master/src/sonarqube-gui-plugin/src/main/resources/static/js/license.js
Github Open Source
Open Source
BSD-2-Clause
2,019
SonarQube-plug-in
bakotat
JavaScript
Code
147
421
function addLicense(language, licenses, isSMHeaderShown) { var content = ""; if (!isSMHeaderShown) { content += '<div style="padding-top: 6px;">'; content += '<table id="sourcemeter_license_table" class="license_table" align = "center">'; content += '<tr class="sm_license_header"><td>Lan...
9,805
https://github.com/ocularrhythm/react-todo/blob/master/app/components/TodoApp.jsx
Github Open Source
Open Source
MIT
null
react-todo
ocularrhythm
null
Spoken
219
740
var React = require('react'); var uuid = require('node-uuid'); var moment = require('moment'); var TodoList = require('TodoList'); var AddTodo = require('AddTodo'); var TodoSearch = require('TodoSearch'); var TodoAPI = require('TodoAPI'); /** * */ var TodoApp = React.createClass({ /** * * @returns {{showCom...
8,243
https://github.com/Ocramius/doctrine2/blob/master/tests/Doctrine/Tests/ORM/Functional/SequenceEmulatedIdentityStrategyTest.php
Github Open Source
Open Source
MIT
2,019
doctrine2
Ocramius
PHP
Code
159
597
<?php namespace Doctrine\Tests\ORM\Functional; use Doctrine\DBAL\Schema\Sequence; use Doctrine\Tests\OrmFunctionalTestCase; class SequenceEmulatedIdentityStrategyTest extends OrmFunctionalTestCase { /** * {@inheritdoc} */ protected function setUp() { parent::setUp(); if ( ! $th...
22,430
https://github.com/peferron/algo/blob/master/EPI/Recursion/Generate strings of matched parens/typescript/main.ts
Github Open Source
Open Source
MIT
2,022
algo
peferron
TypeScript
Code
105
258
export default function generateMatchedParens(pairs: number): string[] { const cache = Array.from({length: pairs + 1}, () => new Array(pairs + 1)); return rec(pairs, 0, cache); } function rec(left: number, right: number, cache: string[][][]): string[] { if (cache[left][right]) { return cache[left][...
23,057
https://github.com/apache/thrift/blob/master/lib/swift/Tests/ThriftTests/ThriftTests.swift
Github Open Source
Open Source
Apache-2.0, MIT, FSFAP, LicenseRef-scancode-public-domain-disclaimer, BSD-3-Clause
2,023
thrift
apache
Swift
Code
34
99
import XCTest @testable import Thrift class ThriftTests: XCTestCase { func testVersion() { XCTAssertEqual(Thrift().version, "0.20.0") } static var allTests : [(String, (ThriftTests) -> () throws -> Void)] { return [ ("testVersion", testVersion), ] } }
11,619
https://github.com/ellyptech/x16rCore/blob/master/resources/Untitled.ipynb
Github Open Source
Open Source
Apache-2.0
2,019
x16rCore
ellyptech
Jupyter Notebook
Code
290
1,283
{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# 0:blake" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "b'\\xca\\x1eR0u\\xf6\\x04y}DV\\xf1\\xdaY-\\x96\\x1d-:\\xa90`\\x12\\xc9V^\\x...
15,368
https://github.com/doong-jo/simple-login/blob/master/routes/api/users.js
Github Open Source
Open Source
MIT
2,021
simple-login
doong-jo
JavaScript
Code
290
968
const bcrypt = require('bcrypt'); const userModel = require('../../models/users'); const Validator = require('../../services/validator'); const _ = require('../../services/constants'); /** * 요청받은 정보를 검사하고 결과를 반환한다. * * @param {object} user 요청받은 사용자 정보 * @returns {boolean} 유효 여부 */ function validateUserInfo(user)...
9,991
https://github.com/DanielJohnston/techtest-database/blob/master/spec/features/stores_data_spec.rb
Github Open Source
Open Source
MIT
null
techtest-database
DanielJohnston
Ruby
Code
32
93
feature 'Storing data in the database' do scenario 'Acknowledging webpage submission' do store_an_item expect(page).to have_content 'Your item has been stored' end scenario 'Using the appropriate URL' do store_an_item expect(page).to have_current_path('/set?somekey=somevalue') end end
1,405
https://github.com/helenahellman/HOL-GettingStartedWindowsAzureStorage/blob/master/Source/Ex4-IntroducingSAS/End/PhotoUploader/PhotoUploader_WebRole/Controllers/HomeController.cs
Github Open Source
Open Source
Apache-2.0
2,013
HOL-GettingStartedWindowsAzureStorage
helenahellman
C#
Code
657
2,576
using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Table; using PhotoUploader_WebRole.Models; using System; using System.Web; using System.Web.Mvc; using System.Linq; using Microsoft.WindowsAzure.Storage.Blob; using Microsoft.WindowsAzure.Storage.Queue; using Micro...
55,155
https://github.com/YGLLL/MDtest/blob/master/app/src/main/java/com/example/ygl/mdtest/ItemActivity.java
Github Open Source
Open Source
Apache-2.0
null
MDtest
YGLLL
Java
Code
111
596
package com.example.ygl.mdtest; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.CollapsingToolbarLayout; import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.MenuItem; import...
52,860
https://github.com/amelazzi/tetrate/blob/master/src/components/home/team.js
Github Open Source
Open Source
MIT
null
tetrate
amelazzi
JavaScript
Code
254
952
import React from "react" import styled from 'styled-components' import { darkBleu } from '../../styles/colors' import Member from './member' import { Link } from "gatsby"; const background = require("../../images/home/team/background.jpg") const StyledTeam = styled.div` background-image: url(${background}); ...
45,093
https://github.com/ornladios/ADIOS2/blob/master/cmake/FindDataSpaces.cmake
Github Open Source
Open Source
Apache-2.0
2,023
ADIOS2
ornladios
CMake
Code
344
1,819
#------------------------------------------------------------------------------# # Distributed under the OSI-approved Apache License, Version 2.0. See # accompanying file Copyright.txt for details. #------------------------------------------------------------------------------# # # FindDATASPACES # ----------- # # Try...
43,274
https://github.com/beatrichartz/ot-node/blob/master/modules/command/command.js
Github Open Source
Open Source
Apache-2.0
2,022
ot-node
beatrichartz
JavaScript
Code
359
854
/** * Describes one command handler */ class Command { constructor(ctx) { this.commandResolver = ctx.commandResolver; } /** * Executes command and produces one or more events * @param command - Command object * @param [transaction] - Optional database transaction */ async ...
1,443
https://github.com/amirulqayyum/SuperMan-ModdedFiles/blob/master/framework.jar.out/smali_classes3/com/samsung/android/animation/SemDragAndDropAnimationCore$ItemAnimator.smali
Github Open Source
Open Source
Apache-2.0
2,021
SuperMan-ModdedFiles
amirulqayyum
Smali
Code
348
2,534
.class Lcom/samsung/android/animation/SemDragAndDropAnimationCore$ItemAnimator; .super Ljava/lang/Object; .source "SemDragAndDropAnimationCore.java" # interfaces .implements Ljava/lang/Runnable; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/samsung/android/animation/SemDragAndD...
43,381
https://github.com/arnausd23/React-seed/blob/master/dyson/methods/post/login.js
Github Open Source
Open Source
MIT
null
React-seed
arnausd23
JavaScript
Code
13
40
module.exports = { path: '/login', method: 'POST', template: { token: '12345ABCDE' }, };
2,459
https://github.com/curiousleo/liquidhaskell/blob/master/benchmarks/xmonad-0.10/tests/loc.hs
Github Open Source
Open Source
MIT, BSD-3-Clause
2,022
liquidhaskell
curiousleo
Haskell
Code
59
123
import Control.Monad import System.Exit main = do foo <- getContents let actual_loc = filter (not.null) $ filter isntcomment $ map (dropWhile (==' ')) $ lines foo loc = length actual_loc print loc -- uncomment the following to check for mistakes in...
35,841
https://github.com/Nathan-ma/AUnit/blob/master/examples/meta_asserts/meta_asserts.ino
Github Open Source
Open Source
MIT
2,022
AUnit
Nathan-ma
null
Spoken
282
1,615
#line 2 "meta_asserts.ino" // Adapted from code fragment in the README.md in // https://github.com/mmurdoch/arduinounit/ #include <AUnit.h> using aunit::TestRunner; using aunit::Verbosity; testing(slow_pass) { if (millis() > 1000) pass(); } testing(slow_fail) { if (millis() > 1000) fail(); } testing(slow_skip) { i...
37,816
https://github.com/psiegman/ehcachetag/blob/master/ehcachetag/src/main/java/nl/siegmann/ehcachetag/cachetagmodifier/RequestParameterCacheTagModifier.java
Github Open Source
Open Source
Apache-2.0
2,020
ehcachetag
psiegman
Java
Code
134
309
package nl.siegmann.ehcachetag.cachetagmodifier; import javax.servlet.http.HttpServletRequest; import javax.servlet.jsp.PageContext; import nl.siegmann.ehcachetag.CacheTag; /** * Uses the value of the request parameter identified by the parameter property to create the cacheKey. * * Potentially dangerous because...
25,888
https://github.com/tokushima/rhaco1/blob/master/test/network/http/HeaderOutputA.php
Github Open Source
Open Source
BSD-3-Clause
null
rhaco1
tokushima
PHP
Code
3
13
<?php print($_GET["hoge"]); ?>
10,394
https://github.com/XiaochenCui/simple-db-rust/blob/master/scripts/run_a_test.sh
Github Open Source
Open Source
BSD-3-Clause
2,020
simple-db-rust
XiaochenCui
Shell
Code
17
54
#!/bin/bash RUST_LOG=info cargo test --package simple-db-rust --test btree_insert_test --all-features -- "$1" --exact --nocapture 2>&1 | tee out
23,762
https://github.com/GeorgeDeac/project-athena/blob/master/launchers/qt/src/UserSettingsRequest.h
Github Open Source
Open Source
Apache-2.0
2,021
project-athena
GeorgeDeac
C
Code
83
230
#pragma once #include <QObject> #include <QNetworkAccessManager> #include "LoginRequest.h" struct UserSettings { QString homeLocation{ QString::null }; }; class UserSettingsRequest : public QObject { Q_OBJECT public: enum class State { Unsent, Sending, Finished }; enum c...
42,023
https://github.com/TwoAbove/noita-tools/blob/master/src/services/SeedInfo/infoHandler/InfoProviders/Map/impl/Coalminealt.ts
Github Open Source
Open Source
MIT
2,023
noita-tools
TwoAbove
TypeScript
Code
1,362
6,188
// data/scripts/biomes/coalmine_alt.lua import { isChristmas } from "../../helpers"; import Base from "../Base"; class Coalminealt extends Base { chestLevel = 1; g_small_enemies = [ { prob: 1, min_count: 0, max_count: 0, entity: "" }, { prob: 0.4, min_count: 1, max_count: 2, entity: ...
26,728
https://github.com/eresearchqut/burai/blob/master/src/main/java/burai/app/project/editor/input/items/QEFXUnit.java
Github Open Source
Open Source
Apache-2.0
null
burai
eresearchqut
Java
Code
1,125
3,469
/* * Copyright (C) 2018 Satomichi Nishihara * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
25,252
https://github.com/Marenmc/phase-0-tracks/blob/master/web_dev/sinatra_intro/app.rb
Github Open Source
Open Source
MIT
2,017
phase-0-tracks
Marenmc
Ruby
Code
263
651
# require gems require 'sinatra' require 'sqlite3' db = SQLite3::Database.new("students.db") db.results_as_hash = true # write a basic GET route # add a query parameter # GET / # get '/' do # "#{params[:name]} is #{params[:age]} years old." # end # write a GET route with # route parameters get '/about/:person' do ...
21,613
https://github.com/hanabi1224/Nerdbank.Streams/blob/master/src/Nerdbank.Streams/BufferTextWriter.cs
Github Open Source
Open Source
MIT
null
Nerdbank.Streams
hanabi1224
C#
Code
961
2,810
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. namespace Nerdbank.Streams { using System; using System.Buffers; using System.Collections.Generic; using System.IO; using System.Runtime.In...
47,708
https://github.com/SanUSB-grupo/LCD-16x2-MPLABX-PIC/blob/master/Projeto1C18.X/ExemploLCDsmart.c
Github Open Source
Open Source
MIT
2,016
LCD-16x2-MPLABX-PIC
SanUSB-grupo
C
Code
444
1,704
#include "SanUSB48.h" //#include "LCDsmart.h" #define lcd_type 2 // 0=5x7, 1=5x10, 2=2 lines #define lcd_line_two 0x40 // LCD RAM address for the 2nd line unsigned char i; /****************PIN DETAILS****************/ #define LCD_DATA LATB #define LCD_CLEAR 0x01 #define LCD_CURSOR_OFF 0x06 #define FIRST_ROW ...
11,477
https://github.com/DouglasAugustoJunior/Tariface/blob/master/front-end/src/Components/MultiDropzone/styles.js
Github Open Source
Open Source
MIT
2,020
Tariface
DouglasAugustoJunior
JavaScript
Code
56
197
import styled from "styled-components"; export const Container = styled.div` height: 100%; display: flex; justify-content: center; align-items: center; `; export const Content = styled.div` height: 250px; overflow: auto; width: 100%; max-width: 400px; background: #fff; border-radius: 4px; margin...
42,879
https://github.com/fonzcastellanos/ray_tracer/blob/master/src/Makefile
Github Open Source
Open Source
MIT
null
ray_tracer
fonzcastellanos
Makefile
Code
87
560
RTRACE_CXX_SRC=rtrace.cpp RTRACE_HEADER= RTRACE_OBJ=$(notdir $(patsubst %.cpp,%.o,$(RTRACE_CXX_SRC))) IMAGE_LIB_SRC=$(wildcard ../external/imageIO/*.cpp) IMAGE_LIB_HEADER=$(wildcard ../external/imageIO/*.h) IMAGE_LIB_OBJ=$(notdir $(patsubst %.cpp,%.o,$(IMAGE_LIB_SRC))) HEADER=$(RTRACE_HEADER) $(IMAGE_LIB_HEADER) CXX_...
37,782
https://github.com/SLA00/Kermite/blob/master/firmware/src/projects/dev/4x3pad/promicro_atmega/rules.mk
Github Open Source
Open Source
MIT
null
Kermite
SLA00
Makefile
Code
18
79
TARGET_MCU = atmega32u4 TARGET_STENCIL = stencil_default KL_USE_GENERAL_KEYBOARD = 1 KL_USE_BOARD_LEDS_PROMICRO_AVR = 1 KL_USE_DEBUG_UART = 1 KL_USE_KEY_MATRIX = 1
40,638
https://github.com/amjadalsousi/Personal_website_laravel/blob/master/resources/views/pages/main.blade.php
Github Open Source
Open Source
MIT
null
Personal_website_laravel
amjadalsousi
PHP
Code
95
522
@extends('layouts.admin_layout') @section('content') <main> <div class="container-fluid"> <h1 class="mt-4">Main</h1> <ol class="breadcrumb mb-4"> <li class="breadcrumb-item"><a href="{{route('admin.dashboard')}}">Dashboard</a></li> <li class="breadcrumb-item active">Main</li>...
20,720
https://github.com/AndryYu/RSA_Library/blob/master/wsecxlibrary/src/main/java/com/zyu/wsecx/crypto/Signer.java
Github Open Source
Open Source
Apache-2.0
null
RSA_Library
AndryYu
Java
Code
151
297
package com.zyu.wsecx.crypto; /** * Generic signer interface for hash based and message recovery signers. */ public interface Signer { /** * Initialise the signer for signing or verification. * * @param forSigning * true if for signing, false otherwise * @param param * necessary p...
44,496
https://github.com/HachimDev/VSCode_Template/blob/master/src/pages/MobileMenu.js
Github Open Source
Open Source
MIT
null
VSCode_Template
HachimDev
JavaScript
Code
301
1,091
import React, { useState } from "react"; import { MenuIcon, XIcon, ChevronDownIcon, ChevronRightIcon, } from "@heroicons/react/solid"; import { Disclosure, Transition } from "@headlessui/react"; const JSIcon = require("../assets/icons/JSIcon.png"); const TSIcon = require("../assets/icons/TSIcon.png"); const M...
33,314
https://github.com/goto-10/bh-labs/blob/master/ajax-lapozo.user.js
Github Open Source
Open Source
MIT
2,017
bh-labs
goto-10
JavaScript
Code
1,941
7,623
// ==UserScript== // @name Ajax Lapozó // @version 0.5.0 alpha // @description Torrentek és hsz.-ek lapozása oldal újratöltés nélkül. // @namespace bH // @author Vector // @include http://bithumen.be/browse.php* // @include https://bithumen.be/browse.php* // @include ...
41,136
https://github.com/niekvandael/workplaces-toolchain/blob/master/src/PreventionAdvisor/wwwroot/app/shared/common.component.ts
Github Open Source
Open Source
Apache-2.0
null
workplaces-toolchain
niekvandael
TypeScript
Code
22
67
export class CommonComponent { getAPILocation() { if (location.hostname === "localhost" || location.hostname === "127.0.0.1") { return "http://localhost:5000"; } return ""; } }
22,140
https://github.com/harshitbansall/EDITH/blob/master/Files/Sequences.py
Github Open Source
Open Source
MIT
2,022
EDITH
harshitbansall
Python
Code
194
1,172
###################################################################################################################################### def findTerm(x,Series,token): if token=="ap":return float(Series[0])+(float(x)-1)*(float(Series[1])-float(Series[0])) else:return float(Series[0])*(float(Series[1])/float(Series...
22,953
https://github.com/viethoa/marvel-test-app/blob/master/app/src/main/java/com/viethoa/potdemo/domain/responses/MovieApiResponse.java
Github Open Source
Open Source
Apache-2.0
null
marvel-test-app
viethoa
Java
Code
52
172
package com.viethoa.potdemo.domain.responses; import com.google.gson.annotations.SerializedName; /** * Created by VietHoa on 05/11/2016. */ public class MovieApiResponse<T> extends BaseResponse { @SerializedName("page") private int page; @SerializedName("total_page") private int totalPage; @Se...
20,580
https://github.com/belgianGeek/open-planner/blob/master/modules/passport.js
Github Open Source
Open Source
MIT
null
open-planner
belgianGeek
JavaScript
Code
109
308
const LocalStrategy = require('passport-local').Strategy; const bcrypt = require('bcrypt'); function passportInit(passport, getUserByEmail, getUserById) { const authenticatedUser = async (email, password, done) => { const user = getUserByEmail(email); if (user === null || user === undefined) { return ...
4,290
https://github.com/demisto/content/blob/master/Packs/AzureRiskyUsers/Integrations/AzureRiskyUsers/AzureRiskyUsers.py
Github Open Source
Open Source
MIT
2,023
content
demisto
Python
Code
1,528
5,464
import demistomock as demisto # noqa: F401 from CommonServerPython import * # noqa: F401 from CommonServerUserPython import * from urllib.parse import urlparse from urllib.parse import parse_qs from typing import Any from MicrosoftApiModule import * # noqa: E402 import urllib3 CLIENT_CREDENTIALS_FLOW = 'Client Cre...
55,428
https://github.com/kpcyrd/rustsec/blob/master/admin/src/commands/osv.rs
Github Open Source
Open Source
Apache-2.0, MIT
2,021
rustsec
kpcyrd
Rust
Code
143
441
//! `rustsec-admin osv` subcommand //! //! Exports all advisories to the OSV format defined at //! https://github.com/google/osv use std::{ path::{Path, PathBuf}, process::exit, }; use abscissa_core::{status_err, Command, Options, Runnable}; use crate::osv_export::OsvExporter; #[derive(Command, Debug, Defau...
26,608
https://github.com/viktor219/ams/blob/master/modules/Orders/views/default/_newconfigurationform.php
Github Open Source
Open Source
BSD-3-Clause
2,021
ams
viktor219
PHP
Code
232
1,078
<?php use app\models\ModelOption; ?> <div class="row row-margin"> Add Or Edit <b><?php echo $manufacturer->name . ' ' . $model->descrip;?></b> Configuration Options: </div> <div class="model-option-form"> <div class="form-group"> <select class="select2_config_option form-control inputs" id="selectCOption" name="c...
44,834
https://github.com/GridProtectionAlliance/gsf/blob/master/Source/Tools/ConfigEditor/Main.Designer.cs
Github Open Source
Open Source
MIT, MS-PL, BSD-3-Clause, LGPL-3.0-only, LicenseRef-scancode-warranty-disclaimer, CPOL-1.02, LicenseRef-scancode-unknown-license-reference, LGPL-2.0-or-later, Apache-2.0, LicenseRef-scancode-public-domain
2,023
gsf
GridProtectionAlliance
C#
Code
987
4,286
//****************************************************************************************************** // Main.Designer.cs - Gbtc // // Copyright © 2012, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See // t...
32,720
https://github.com/salamanders/utils/blob/master/src/test/kotlin/info/benjaminhill/utils/SimpleCacheTest.kt
Github Open Source
Open Source
MIT
null
utils
salamanders
Kotlin
Code
131
453
package info.benjaminhill.utils import kotlinx.coroutines.runBlocking import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test import java.nio.file.Files import java.util.concurrent.atomic.AtomicInteger import kotlin.time.ExperimentalTime @ExperimentalTime internal class SimpleCacheTest ...
45,809
https://github.com/maciej-bielecki/TextToSpeechCaptchaPOC/blob/master/TextToSpeechOnHardcodedSounds/Speech/ISpeechFactory.cs
Github Open Source
Open Source
MIT
null
TextToSpeechCaptchaPOC
maciej-bielecki
C#
Code
22
81
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; namespace TextToSpeechOnHardcodedSounds.Speech { public interface ISpeechFactory { MemoryStream SpeakToMemoryStream(string text); } }
31,189
https://github.com/brombaut/goodreads-bookshelf/blob/master/src/shelf.ts
Github Open Source
Open Source
MIT
null
goodreads-bookshelf
brombaut
TypeScript
Code
14
41
export enum Shelf { READ = 'read', TOREAD = 'to-read', CURRENTLYREADING = 'currently-reading', }
4,991
https://github.com/doitmovin/chromiumos-platform2/blob/master/authpolicy/stub_klist_main.cc
Github Open Source
Open Source
BSD-3-Clause
null
chromiumos-platform2
doitmovin
C++
Code
155
465
// Copyright 2017 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Stub implementation of klist. Simply returns fixed responses to predefined // input. #include <string> #include "authpolicy/samba_helper.h" #inclu...
45,046
https://github.com/cryptomental/beacon-fuzz/blob/master/runfuzzer.sh
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,020
beacon-fuzz
cryptomental
Shell
Code
135
390
#!/bin/bash if [ "$#" -lt 3 ]; then echo "Specify the fuzzer you want to run, the fuzzer corpus directory, and the state corpus directory." echo "Any additional arguments are passed to the fuzzer." exit 1 fi FUZZER_CORPUS="$(realpath -e "$2")" STATE_CORPUS_PATH="$(realpath -e "$3")" # Ensure we are in th...
37,711
https://github.com/chmp/ktwasm/blob/master/src/test/kotlin/de/cprohm/ktwasm/Examples.kt
Github Open Source
Open Source
MIT
2,021
ktwasm
chmp
Kotlin
Code
74
285
package de.cprohm.ktwasm import de.cprohm.ktwasm.api.* import org.junit.Test import kotlin.test.assertEquals class Examples { @Test fun add() { val url = javaClass.classLoader?.getResource("modules/add_module.wasm") ?: throw Error("Cannot read 'modules/add_module.wasm'") val modul...
20,594
https://github.com/tatsuya-koyama/tartFramework/blob/master/lab/lab_lib/tartlab/data_structures/LinkedListIterator.as
Github Open Source
Open Source
MIT
2,017
tartFramework
tatsuya-koyama
null
Spoken
110
338
package tartlab.data_structures { public class LinkedListIterator implements IIterator { private var _list:LinkedList; private var _currentNode:LinkedListNode; private var _nextNode:LinkedListNode; public function LinkedListIterator(list:LinkedList) { _list = li...
47,992
https://github.com/codergal89/foundry-macros/blob/master/src/lib/InteractiveDialog.ts
Github Open Source
Open Source
BSD-3-Clause
2,021
foundry-macros
codergal89
TypeScript
Code
37
133
namespace cg89 { export class InteractiveDialog extends Dialog { override activateListeners(html: JQuery) { super.activateListeners(html); html.on('input', 'input[type="range"]', (event: JQuery.TriggeredEvent) => { let eventSource = event.target; let...
4,445
https://github.com/jamalex/kolibri/blob/master/kolibri/plugins/video_mp4_render/assets/src/vue/en.vtt
Github Open Source
Open Source
MIT
2,016
kolibri
jamalex
null
Spoken
222
567
WEBVTT Kind: captions Language: en 00:00:00.690 --> 00:00:03.960 Find the value of 5 to the third power. 00:00:03.960 --> 00:00:05.020 Let me rewrite that. 00:00:05.020 --> 00:00:07.910 We have 5 to the third power. 00:00:07.910 --> 00:00:10.340 Now, it's important to remember, this does not 00:00:10.340 --> 00:00...
41,404
https://github.com/ogabek96/delivery-service-back/blob/master/src/common/guards/jwt.guard.ts
Github Open Source
Open Source
MIT
null
delivery-service-back
ogabek96
TypeScript
Code
112
313
import * as jwt from 'jsonwebtoken'; import { Injectable, CanActivate, ExecutionContext, UnauthorizedException } from '@nestjs/common'; import { Request } from 'express'; import { Reflector } from '@nestjs/core'; import { User } from 'src/user/user.entity'; @Injectable() export class JwtGuard implements CanActivate { ...
27,078
https://github.com/cigrainger/vix/blob/master/Makefile
Github Open Source
Open Source
MIT
2,022
vix
cigrainger
Makefile
Code
16
57
calling_from_make: mix compile all: $(MAKE) -C c_src clean: $(MAKE) -C c_src clean .PHONY: all clean calling_from_make
9,514
https://github.com/tttodorov13/suPhd/blob/master/PhdEJB/ejbModule/com/facade/GroupServiceImp.java
Github Open Source
Open Source
MIT
null
suPhd
tttodorov13
Java
Code
58
230
package com.facade; import java.util.List; import javax.ejb.EJB; import javax.ejb.Stateless; import javax.jws.WebService; import javax.jws.soap.SOAPBinding; import com.dao.GroupDAO; import com.model.Group; @Stateless @WebService(endpointInterface = "com.facade.GroupService", serviceName = "GroupService") @SOAPBindi...
45,021
https://github.com/mpace965/edgar-wright-top-movies/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,016
edgar-wright-top-movies
mpace965
Ignore List
Code
1
6
stats/data/*
21,782
https://github.com/yejingxuan/go-libra/blob/master/pkg/worker/worker.go
Github Open Source
Open Source
Apache-2.0
null
go-libra
yejingxuan
Go
Code
113
355
package worker import ( "github.com/spf13/viper" ) type Worker struct { Config WorkerConfig task func() } type WorkerConfig struct { WorkerName string WorkerCron string } //默认配置 func DefaultConfig() WorkerConfig { config := WorkerConfig{ WorkerName: viper.GetString("worker.name"), WorkerCron: viper.GetS...
24,213
https://github.com/fernhtls/googleads-java-lib/blob/master/modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201508/LiveStreamEventDateTimeErrorReason.java
Github Open Source
Open Source
Apache-2.0
null
googleads-java-lib
fernhtls
Java
Code
156
535
package com.google.api.ads.dfp.jaxws.v201508; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for LiveStreamEventDateTimeError.Reason. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;s...
27,817
https://github.com/jakoss/android_dbinspector/blob/master/dbinspector/src/main/kotlin/com/infinum/dbinspector/domain/schema/table/TableRepository.kt
Github Open Source
Open Source
Apache-2.0
null
android_dbinspector
jakoss
Kotlin
Code
27
158
package com.infinum.dbinspector.domain.schema.table import com.infinum.dbinspector.domain.Control import com.infinum.dbinspector.domain.Interactors import com.infinum.dbinspector.domain.schema.shared.AbstractSchemaRepository internal class TableRepository( getPage: Interactors.GetTables, getByName: Interactor...
5,148
https://github.com/apblack/GraceInPharo/blob/master/Grace-Parser.package/GraceScanner.class/instance/explicitRadixNumeral.st
Github Open Source
Open Source
Apache-2.0
2,019
GraceInPharo
apblack
null
Spoken
79
156
token-actions explicitRadixNumeral "a numeral of the form 16x34aE has been recognized. Check that the digits are less than the radix." | wholeNumeral base str | wholeNumeral := outputStream contents. base := wholeNumeral asNumber. base = 0 ifTrue: [ base := 16 ]. str := wholeNumeral readStream. [str next isDig...
36,268
https://github.com/nightskylark/DevExtreme/blob/master/testing/tests/DevExpress.core/utils.array.tests.js
Github Open Source
Open Source
Apache-2.0
2,018
DevExtreme
nightskylark
JavaScript
Code
114
400
"use strict"; var arrayUtils = require("core/utils/array"); QUnit.module("array utils"); QUnit.testInActiveWindow("intersection", function(assert) { // Edge cases assert.deepEqual(arrayUtils.intersection(), []); assert.deepEqual(arrayUtils.intersection([]), []); assert.deepEqual(arrayUtils.intersecti...
15,630
https://github.com/oraluben/packlist/blob/master/app/src/main/java/com/nbossard/packlist/gui/ITripListFragmentActivity.java
Github Open Source
Open Source
Apache-2.0
2,021
packlist
oraluben
Java
Code
302
644
/* * PackList is an open-source packing-list for Android * * Copyright (c) 2017 Nicolas Bossard and other contributors. * * 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://w...
35,872
https://github.com/DrewML/octotree/blob/master/src/config/firefox/firefox.js
Github Open Source
Open Source
MIT
null
octotree
DrewML
JavaScript
Code
30
177
const data = require('sdk/self').data const pageMod = require('sdk/page-mod') pageMod.PageMod({ include: ['https://github.com/*', 'https://gitlab.com/*'], contentScriptFile : [data.url('jquery.js'), data.url('jquery-ui.js'), data.url('jstree.js'), ...
42,663
https://github.com/link2arslan/travelport/blob/master/src/Air/autoload.php
Github Open Source
Open Source
MIT
2,021
travelport
link2arslan
PHP
Code
3,522
28,002
<?php function autoload_0b18f75d16ccf58a08e2e1fd7ab84cdb($class) { $classes = array( 'FilippoToso\Travelport\Air\AirService' => __DIR__ .'/AirService.php', 'FilippoToso\Travelport\Air\SessionContext' => __DIR__ .'/SessionContext.php', 'FilippoToso\Travelport\Air\SessTok' => __DIR__ .'/Ses...
17,782
https://github.com/barchetta/helidon/blob/master/microprofile/security/src/test/java/io/helidon/microprofile/security/BindingTest.java
Github Open Source
Open Source
Apache-2.0, APSL-1.0, LicenseRef-scancode-protobuf, GPL-1.0-or-later, LGPL-2.1-only, LicenseRef-scancode-unknown-license-reference, CC-PDDC, LicenseRef-scancode-generic-export-compliance, LicenseRef-scancode-unicode, EPL-1.0, LicenseRef-scancode-warranty-disclaimer, LGPL-2.1-or-later, EPL-2.0, Classpath-exception-2.0, ...
2,023
helidon
barchetta
Java
Code
534
1,842
/* * Copyright (c) 2018, 2023 Oracle and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
42,725