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/ThalusUlysses/Forma/blob/master/src/Thalus.Forma/Formatter/Contracts/IFormatter.cs
Github Open Source
Open Source
MIT
null
Forma
ThalusUlysses
C#
Code
83
273
using System.Text; namespace Thalus.Forma.Formatter.Contracts { /// <summary> /// Publishes the public members of <see cref="IFormatter{T}"/> suhc like /// <see cref="Format(TType)"/> /// </summary> /// <typeparam name="TType">Typoe of format</typeparam> public interface IFormatter<in TType> ...
1,658
https://github.com/conduitbender/vinireum/blob/master/ci/clang-format-all.sh
Github Open Source
Open Source
BSD-3-Clause
null
vinireum
conduitbender
Shell
Code
27
108
#!/usr/bin/env bash set -e source $(dirname $BASH_SOURCE)/detect-clang-format.sh source $(dirname $BASH_SOURCE)/common.sh cd "$REPO_ROOT" ./ci/update-clang-format find nano -iname '*.h' -o -iname '*.hpp' -o -iname '*.cpp' | xargs "$CLANG_FORMAT" -i
16,067
https://github.com/Kinnara/WPToolkit/blob/master/PhoneToolkitSample/Samples/VariableSizedWrapGridSample.xaml.cs
Github Open Source
Open Source
MS-PL
2,016
WPToolkit
Kinnara
C#
Code
19
64
using Microsoft.Phone.Controls; namespace PhoneToolkitSample.Samples { public partial class VariableSizedWrapGridSample : BasePage { public VariableSizedWrapGridSample() { InitializeComponent(); } } }
30,352
https://github.com/xjc90s/taurus/blob/master/bzt/modules/javascript.py
Github Open Source
Open Source
Apache-2.0
null
taurus
xjc90s
Python
Code
931
4,232
""" Copyright 2017 BlazeMeter Inc. 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...
50,307
https://github.com/stevielcb/motd-server/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,019
motd-server
stevielcb
Ignore List
Code
2
10
vendor* motd-server
33,827
https://github.com/yoshikyoto/akashic-engine/blob/master/spec/SceneSpec.js
Github Open Source
Open Source
MIT
2,019
akashic-engine
yoshikyoto
JavaScript
Code
2,768
12,769
describe("test Scene", function() { var g = require('../lib/main.node.js'); var mock = require("./helpers/mock"); var skeletonRuntime = require("./helpers/skeleton"); var assetsConfiguration = { foo: { type: "image", path: "/path1.png", virtualPath: "path1.png", width: 1, height: 1, }, baa: { ...
14,121
https://github.com/aliotta/date-app/blob/master/dateServer/routers/eventRoutes.js
Github Open Source
Open Source
MIT
null
date-app
aliotta
JavaScript
Code
35
151
var eventController = require('../controllers/events'); module.exports = function (app) { /*----------------SQL-------------*/ app.post('/createSQL', eventController.createEventSQL); /*----------------NEO4J-------------*/ //creates and deletes events app.post('/', eventController.create); app.delete(...
14,525
https://github.com/garethflowers/docker-npm-mirror/blob/master/src/entrypoint.sh
Github Open Source
Open Source
MIT
2,023
docker-npm-mirror
garethflowers
Shell
Code
10
29
#!/bin/sh set -e export PS1="\h \w \$ " exec "$@"
28,812
https://github.com/fabiana001/HyLiEn/blob/master/src/main/scala/eu/unicredit/web/hylien/Distances.scala
Github Open Source
Open Source
Apache-2.0
2,019
HyLiEn
fabiana001
Scala
Code
373
1,125
package eu.unicredit.web.hylien import com.rockymadden.stringmetric.similarity._ import eu.unicredit.web.Models.DomNode import scala.collection.mutable import scala.util.Try /** * Created by fabiofumarola on 27/05/16. */ object Distances { def editDistance[T](a: Seq[T], b: Seq[T]) = { ((0 to b.size).toLis...
45,168
https://github.com/henryhuypham/dotfiles/blob/master/vim/.vim/config/setup.vim
Github Open Source
Open Source
MIT
2,016
dotfiles
henryhuypham
Vim Script
Code
780
2,614
" sdothum - 2016 (c) wtfpl " Setup " ▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂ " System ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ " .................................................................... Setup set nocompatible ...
8,986
https://github.com/shinonometn/re-ssim-frontend/blob/master/src/views/pc/components/lessonList.vue
Github Open Source
Open Source
Apache-2.0
null
re-ssim-frontend
shinonometn
Vue
Code
147
544
<template> <div> <!-- Full list view --> <div v-if="data && data.length > 0" class="ll-container" > <day-item v-for="weekdayIndex in weekdayMax" :key="weekdayIndex" :weekday="weekMapping[weekdayIndex - 1]" :data="getDayLessons(weekdayIndex)" > ...
2,029
https://github.com/Siddhant-K-code/github-wrapped/blob/master/src/containers/landing/style.scss
Github Open Source
Open Source
MIT
null
github-wrapped
Siddhant-K-code
SCSS
Code
439
1,605
.landing__section { color: white; position: relative; min-height: 100vh; .landing__header { // For Fade-in GSAP opacity: 0; margin: 0 auto; padding-top: 7.5rem; display: flex; flex-direction: column; justify-content: center; text-align: center; width: 50%; @media screen...
19,570
https://github.com/stewartmiles/falken/blob/master/dashboard/src/utils.js
Github Open Source
Open Source
Apache-2.0
2,021
falken
stewartmiles
JavaScript
Code
323
632
/** * Copyright 2021 Google LLC * * 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...
6,146
https://github.com/Izzimach/qinglong/blob/master/src/QingLong/OpenUnion.lean
Github Open Source
Open Source
MIT
null
qinglong
Izzimach
Lean
Code
339
586
-- open union for use with Eff -- This is the old version of OpenUnion which is basically a sum type. It is type-safe but -- requires O(n) access. Most haskell effect libs produce O(1) access by bypassing the normal type -- system and tracking types with a Nat or Int index, then using unsafeCoerce when the indices ind...
10,808
https://github.com/maggud/tink-link-android/blob/master/app/src/main/java/com/tink/link/credentials/refresh/RefreshCredentialsViewModel.kt
Github Open Source
Open Source
MIT
null
tink-link-android
maggud
Kotlin
Code
531
1,899
package com.tink.link.credentials.refresh import androidx.lifecycle.LiveData import androidx.lifecycle.MediatorLiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.Transformations import androidx.lifecycle.ViewModel import com.tink.core.Tink import com.tink.link.Event import com.tink.link.core....
21,222
https://github.com/NextNepalWork/chicco/blob/master/kundol/Repository/Admin/LanguageRepository.php
Github Open Source
Open Source
MIT
null
chicco
NextNepalWork
PHP
Code
366
1,290
<?php namespace App\Repository\Admin; use App\Contract\Admin\LanguageInterface; use App\Http\Resources\Admin\Language as LanguageResource; use App\Models\Admin\Language; use App\Traits\ApiResponser; use App\Services\Admin\LanguageService; use Illuminate\Support\Collection; use DB; use App\Services\Admin\DeleteValidat...
17,680
https://github.com/sINusBob/laravel-api-google-oauth/blob/master/app/Services/Artist.php
Github Open Source
Open Source
MIT
2,018
laravel-api-google-oauth
sINusBob
PHP
Code
95
280
<?php namespace App\Services; use App\Models\Artist as ArtistModel; /** * Retrieve Artists * */ class Artist { function __construct(ArtistModel $artist) { $this->artist = $artist; } /** * Get artists by name. * * @param string $name Optional. Name or partial match * @retu...
29,347
https://github.com/eldario/basic/blob/master/models/Country2.php
Github Open Source
Open Source
BSD-3-Clause
2,017
basic
eldario
PHP
Code
26
70
<?php /** * Created by PhpStorm. * User: Администратор * Date: 11.11.2017 * Time: 17:26 */ namespace app\models; use yii\db\ActiveRecord; class Country extends ActiveRecord { }
27,563
https://github.com/ParkerMactavish/embarc_osp/blob/master/middleware/ntshell/cmds/cmds_fs/cmds_fs.c
Github Open Source
Open Source
BSD-3-Clause
2,021
embarc_osp
ParkerMactavish
C
Code
596
2,073
/* ------------------------------------------ * Copyright (c) 2017, Synopsys, Inc. All rights reserved. * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * 1) Redistributions of source code must retain the above copyr...
12,319
https://github.com/onap/aai-babel/blob/master/src/main/java/org/onap/aai/babel/xml/generator/model/Service.java
Github Open Source
Open Source
Apache-2.0
2,023
aai-babel
onap
Java
Code
153
326
/** * ============LICENSE_START======================================================= * org.onap.aai * ================================================================================ * Copyright (c) 2017-2019 AT&T Intellectual Property. All rights reserved. * Copyright (c) 2017-2019 European Software Marketing L...
17,994
https://github.com/awslabs/aws-sdk-swift/blob/master/AWSSDKSwiftCLI/Sources/AWSSDKSwiftCLI/Utils/String+Utils.swift
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Swift-exception, MIT, Apache-2.0
2,023
aws-sdk-swift
awslabs
Swift
Code
145
300
// // Copyright Amazon.com Inc. or its affiliates. // All Rights Reserved. // // SPDX-License-Identifier: Apache-2.0 // import Foundation extension String { /// Returns the receiver wrapped in the provided string /// /// ```swift /// let example = "a".wrapped(in: "1") /// print(example) // prints ...
14,592
https://github.com/rsantellan/bunnies-kinder2/blob/master/kinnder2/app/Resources/views/default/contacto.html.twig
Github Open Source
Open Source
MIT
null
bunnies-kinder2
rsantellan
Twig
Code
340
1,467
{% extends 'base.html.twig' %} {% block title %}{% trans %}page_title_contacto{%endtrans %}{% endblock %} {% block javascripts %} <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCefOgb1ZWqYtj7raVSmN4PL2WkTrc-KyA&sensor=false"></script> <script src="{{ asset('js/vendor/google_map.js')}}"></script> {% endb...
10,400
https://github.com/ordinary-developer/education/blob/master/books/tech/cpp/std-17/i_cukic-func_progr_in_cpp/ch_06-lazy_evalution/02-sorting_collection_lazily.cpp
Github Open Source
Open Source
MIT
null
education
ordinary-developer
C++
Code
97
294
#include <algorithm> #include <functional> #include <random> #include <vector> #include <cassert> namespace test { template <typename BeginIt, typename EndIt, typename MidIt> void sort_until(BeginIt begin, MidIt mid, EndIt end) { std::nth_element(begin, mid, end); std::sort(begin, mid); } void run() { ...
46,322
https://github.com/aliozgur/pragmasql/blob/master/3rd Party/WindowsAPICodePack/Shell/Taskbar/TabbedThumbnailManager.cs
Github Open Source
Open Source
MIT
2,019
pragmasql
aliozgur
C#
Code
1,744
4,996
//Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Forms; using MS.WindowsAPICodePack.Internal; namespace Microsoft.WindowsAPICodePack.Ta...
36,129
https://github.com/jessicl-ms/azure-sdk-for-net/blob/master/sdk/formrecognizer/Azure.AI.FormRecognizer/src/ModelInfo_internal.cs
Github Open Source
Open Source
MIT
null
azure-sdk-for-net
jessicl-ms
C#
Code
49
107
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Core; namespace Azure.AI.FormRecognizer.Custom { [CodeGenModel("ModelInfo")] internal partial class ModelInfo_internal { // TODO: Once CodeGenSchemaMembers is available, use it to rename me...
21,872
https://github.com/BitcoinBay/BCHPOS/blob/master/app/containers/Login/Login.js
Github Open Source
Open Source
MIT
2,021
BCHPOS
BitcoinBay
JavaScript
Code
41
90
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Helmet } from 'react-helmet'; import './style.scss'; import axios from 'axios'; import SignIn from '../../components/SignIn'; export default class Login extends Component { render() { return (<SignIn />); } }
28,569
https://github.com/daveight/gradle-changelog-plugin/blob/master/build.gradle
Github Open Source
Open Source
Apache-2.0
2,019
gradle-changelog-plugin
daveight
Gradle
Code
91
405
plugins { id 'groovy' id 'java' id 'java-gradle-plugin' id 'com.gradle.plugin-publish' version '0.10.0' } group 'com.daveight.gradle' sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 pluginBundle { website = 'https://github.com/daveight/gradle-changelog-...
17,378
https://github.com/yoya/x.org/blob/master/X11R4/contrib/toolkits/InterViews/src/bin/idraw/listchange.h
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, LicenseRef-scancode-mit-old-style, LicenseRef-scancode-other-permissive
2,023
x.org
yoya
C++
Code
1,194
2,849
/* * Copyright (c) 1987, 1988, 1989 Stanford University * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided * that the above copyright notice appear in all copies and that both that * copyright notice and this perm...
36,491
https://github.com/rfoltyns/log4j2-elasticsearch/blob/master/log4j2-elasticsearch-jest/src/test/java/org/appenders/log4j2/elasticsearch/jest/load/SmokeTest.java
Github Open Source
Open Source
Apache-2.0
2,022
log4j2-elasticsearch
rfoltyns
Java
Code
970
5,307
package org.appenders.log4j2.elasticsearch.jest.load; /*- * #%L * log4j2-elasticsearch * %% * Copyright (C) 2018 Rafal Foltynski * %% * 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 *...
18,833
https://github.com/teqsk1514/mongodb-firebase-api/blob/master/src/index.ts
Github Open Source
Open Source
Apache-2.0
2,018
mongodb-firebase-api
teqsk1514
TypeScript
Code
28
65
import * as express from 'express' import * as functions from 'firebase-functions' import { Api } from './app/api' const PlacesApi: express.Application = Api.bootstrap().app export const api = functions.https.onRequest(PlacesApi)
46,251
https://github.com/lophtus/sakila/blob/master/resources/js/store.js
Github Open Source
Open Source
MIT
null
sakila
lophtus
JavaScript
Code
75
243
import Vue from "vue"; import Vuex from "vuex"; Vue.use(Vuex); export default new Vuex.Store({ state: { user: JSON.parse(localStorage.getItem("user")), }, mutations: { loginUser(state) { state.user = JSON.parse(localStorage.getItem("user")); }, logoutUser(state) { state.user = null; ...
16,723
https://github.com/L2e0n/statistics-one/blob/master/quiz-8/quiz_8.R
Github Open Source
Open Source
MIT
2,013
statistics-one
L2e0n
R
Code
399
1,028
library(psych) library(car) library(lsr) kData <- read.table('Stats1.13.HW.02.txt', header = T) data <- kData data.pre <- subset(data, data$time == 'pre') data.post <- subset(data, data$time == 'post') data$gain <- data.post$SR - data.pre$SR data.ds <- subset(data, data...
47,575
https://github.com/mcmillion/.dotfiles/blob/master/nvim/.config/nvim/lua/config/treesitter.lua
Github Open Source
Open Source
MIT
2,021
.dotfiles
mcmillion
Lua
Code
30
137
require'nvim-treesitter.configs'.setup({ ensure_installed = { 'bash', 'c', 'c_sharp', 'comment', 'cpp', 'css', 'go', 'graphql', 'html', 'javascript', 'json', 'lua', 'regex', 'ruby', 'toml', 'tsx', 'typescript' }, highlight = { enable = true, ...
32,810
https://github.com/bireme/MarkAbstract/blob/master/src/main/scala/org/bireme/ma/CheckXml.scala
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause
null
MarkAbstract
bireme
Scala
Code
161
534
/*========================================================================= MarkAbstract © Pan American Health Organization, 2018. See License at: https://github.com/bireme/MarkAbstract/blob/master/LICENSE.txt ==========================================================================*/ package org.bireme.m...
47,551
https://github.com/iheora/notes/blob/master/bom/test/demo.js
Github Open Source
Open Source
MIT
2,022
notes
iheora
JavaScript
Code
41
102
// const channel = new MessageChannel(); // const { port1, port2 } = channel; // const oTitle = document.querySelector('h1'); // port1.onmessage = (e) => { // oTitle.textContent = e.data; // console.log('dom rendering'); // port1.postMessage('dom rendered'); // } // export default port2;
30,479
https://github.com/matthieuberger/BalooChessEngine/blob/master/minmax.py
Github Open Source
Open Source
MIT
null
BalooChessEngine
matthieuberger
Python
Code
288
758
import time import chess from node import Node class MinMax: DEFAULT_MAX_DEPTH = 4 def __init__(self, max_depth=DEFAULT_MAX_DEPTH, valuator=None): self.max_depth = max_depth if valuator is None: raise Exception("MinMax need a valuator.") self.valuator = valuator def m...
49,151
https://github.com/Athmika/ExercisesInC/blob/master/exercises/ex01/hello.s
Github Open Source
Open Source
MIT
null
ExercisesInC
Athmika
GAS
Code
59
293
.file "hello.c" .section .rodata.str1.1,"aMS",@progbits,1 .LC0: .string "%d" .section .text.startup,"ax",@progbits .p2align 4,,15 .globl main .type main, @function main: .LFB24: .cfi_startproc subq $8, %rsp .cfi_def_cfa_offset 16 movl $6, %edx movl $.LC0, %esi movl $1, %edi xorl %eax, %eax call __printf_...
46,724
https://github.com/MoonDevelopment1/FenerBot/blob/master/komutlar/beleş-nitro.js
Github Open Source
Open Source
MIT
2,021
FenerBot
MoonDevelopment1
JavaScript
Code
48
208
const Discord = require("discord.js"); exports.run = async (client, message, args) => { const fenerbot = new Discord.MessageEmbed() .setColor("RANDOM") .setImage("https://cdn.discordapp.com/attachments/814836246357737512/814844848330637332/nitro2.png") .setTitle("Üff Nede Hawli Olucan Şimdi"); message.channel....
8,122
https://github.com/riccardo-forina/atlasmap/blob/master/ui/packages/atlasmap/src/UI/Tree/Tree.stories.tsx
Github Open Source
Open Source
ECL-2.0, Apache-2.0
null
atlasmap
riccardo-forina
TypeScript
Code
221
604
import React from "react"; import { Tree, TreeGroup, TreeItem } from "."; export default { title: "Tree", component: Tree, includeStories: [], // or don't load this file at all }; export const example = () => ( <Tree> <TreeGroup id={"g1"} level={1} position={1} setSize={3} r...
8,457
https://github.com/m13p4/Session/blob/master/serverWorker.js
Github Open Source
Open Source
MIT
null
Session
m13p4
JavaScript
Code
238
695
/* Session Server-Worker. * * @author Meliantchenkov Pavel * @version 1.0 */ const _ = require("./helper.js"); function _handleMessage(_CONF, session, data) { let id = data[0]; let type = data[1] || ""; let hash = data[2] || ""; let sess = data[3] || ""; let res = [id]; if(type ==...
34,055
https://github.com/titovb/azure-adls-uploader/blob/master/test/uploader.spec.ts
Github Open Source
Open Source
MIT
2,021
azure-adls-uploader
titovb
TypeScript
Code
1,203
5,019
import {ADLSUploader, ADLSUploaderConfig, FileItem} from '../src'; const dataLakeFileClientCreateSpy = jest.fn(); const dataLakeFileClientAppendSpy = jest.fn(); const dataLakeFileClientFlushSpy = jest.fn(); jest.mock('@azure/storage-file-datalake', () => ({ DataLakeFileClient: jest.fn(() => ({ create: dataLakeF...
19,978
https://github.com/iocodz/coj-solutions/blob/master/codes/raulcr-p1046-Accepted-s872964.cpp
Github Open Source
Open Source
MIT
2,020
coj-solutions
iocodz
C++
Code
69
162
#include <bits/stdc++.h> using namespace std; typedef long long LL; const int MOD = 100; int N, A, B; LL S; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cin >> N; while(N--){ cin >> A >> B; for(int i = A ; i <= B ; i++) S += i * (i + 1) * (i + 2); c...
4,917
https://github.com/LUMASERV/lumaserv-api-php/blob/master/src/DomainHandle.php
Github Open Source
Open Source
Apache-2.0
null
lumaserv-api-php
LUMASERV
PHP
Code
217
612
<?php namespace LUMASERV; class DomainHandle { /** * @var string */ public $code; /** * @var string */ public $birth_region; /** * @var string */ public $gender; /** * @var string */ public $city; /** * @var string */ public $vat...
30,084
https://github.com/fsfinalz/entry-hw/blob/master/app/modules/baseModule.js
Github Open Source
Open Source
MIT
2,019
entry-hw
fsfinalz
JavaScript
Code
55
168
class BaseModule { constructor() { this.sp = null; this.socket = null; this.handler = null; this.config = null; this.isDraing = false; } init(handler, config) { this.handler = handler; this.config = config; } requestInitialData() {} chec...
20,942
https://github.com/ashmilhussain/flask-swagger-generator/blob/master/flask_swagger_generator/specifiers/swagger_models.py
Github Open Source
Open Source
MIT
2,021
flask-swagger-generator
ashmilhussain
Python
Code
121
452
from abc import ABC, abstractmethod from random import randint class SwaggerModel(ABC): TAB = " " def __init__(self): self.swagger_models = [] def add_swagger_model(self, child_swagger_model): self.swagger_models.append(child_swagger_model) def add_swagger_models(self, child_swagge...
18,576
https://github.com/dimitarminchev/ITCareer/blob/master/02. Програмиране/07. Речници и хеш таблици/RealNumbersCount/Program.cs
Github Open Source
Open Source
CC-BY-NC-4.0, CC-BY-NC-SA-4.0
2,023
ITCareer
dimitarminchev
C#
Code
55
167
namespace RealNumbersCount { internal class Program { static void Main(string[] args) { var nums = Console.ReadLine().Split().Select(float.Parse); var counts = new SortedDictionary<float, int>(); foreach (var num in nums) { if (co...
7,823
https://github.com/sabhishek78/day_83_morning_challenge/blob/master/bin/main.dart
Github Open Source
Open Source
BSD-3-Clause
2,020
day_83_morning_challenge
sabhishek78
Dart
Code
456
1,494
// Given two singly linked lists that intersect at some point, find the intersecting node. // The lists are non-cyclical. // // For example, given A = 3 -> 7 -> 8 -> 10 and B = 99 -> 1 -> 8 -> 10, return // the node with value 8. // // In this example, assume nodes with the same value are the exact same // node o...
17,061
https://github.com/David0197/api-facturacion/blob/master/examples/emisor.go
Github Open Source
Open Source
MIT
2,018
api-facturacion
David0197
Go
Code
152
614
package xml /* type fax struct { XMLName xml.Name `xml:"Fax"` CodigoPais string `xml:"CodigoPais"` NumTelefono string `xml:"NumTelefono"` } type telefono struct { XMLName xml.Name `xml:"Telefono"` CodigoPais string `xml:"CodigoPais"` NumTelefono string `xml:"NumTelefono"` } type ubicacion str...
12,419
https://github.com/ByteriX/BxTextField/blob/master/BxTextField/Sources/BxTextField+Formatting.swift
Github Open Source
Open Source
MIT
2,021
BxTextField
ByteriX
Swift
Code
1,176
2,988
/** * @file BxTextField+Formatting.swift * @namespace BxTextField * * @details Public functions for manipulation with a text of BxTextField * @date 05.03.2017 * @author Sergey Balalaev * * @version last in https://github.com/ByteriX/BxTextField.git * @copyright The MIT License (MIT) https://opensource.org/lice...
43,384
https://github.com/parasol-ppl/PPL_utils/blob/master/stapl_release/stapl/runtime/utility/comparable_proxy.hpp
Github Open Source
Open Source
BSD-3-Clause
null
PPL_utils
parasol-ppl
C++
Code
670
2,181
/* // Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a // component of the Texas A&M University System. // All rights reserved. // The information and source code contained herein is the exclusive // property of TEES and may not be disclosed, examined or reproduced // in whole or in part withou...
47,455
https://github.com/ratnania/fortlint/blob/master/tests/fortran/test_1.F90
Github Open Source
Open Source
MIT
2,015
fortlint
ratnania
Fortran Free Form
Code
79
206
program test_1 ! Subroutine and Function declaration inside a program implicit none contains SUBROUTINE my_sub(x,y,i) IMPLICIT NONE REAL :: x REAL :: y INTEGER :: i INT...
37,572
https://github.com/NetApp/santricity-webapi-pythonsdk/blob/master/netapp/santricity/models/v2/management_configuration_request.py
Github Open Source
Open Source
BSD-3-Clause-Clear
2,019
santricity-webapi-pythonsdk
NetApp
Python
Code
1,791
5,646
# coding: utf-8 """ ManagementConfigurationRequest.py The Clear BSD License Copyright (c) – 2016, NetApp, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following condi...
17,976
https://github.com/sharpcsu/dubbo-2.7.7/blob/master/dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/ExporterListener.java
Github Open Source
Open Source
Apache-2.0
null
dubbo-2.7.7
sharpcsu
Java
Code
63
280
package org.apache.dubbo.rpc; import org.apache.dubbo.common.extension.SPI; /** * 监听服务发布事件以及取消暴露事件 * ExporterListener. (SPI, Singleton, ThreadSafe) */ @SPI public interface ExporterListener { /** * 当有服务发布的时候,会触发该方法 * The exporter exported. * * @param exporter * @throws RpcException ...
8,510
https://github.com/stefanmonkey/gluster_exporter/blob/master/collector/peer_test.go
Github Open Source
Open Source
Apache-2.0
2,017
gluster_exporter
stefanmonkey
Go
Code
91
253
package collector import ( "testing" "io/ioutil" "bytes" ) func TestPeerStatusXMLUnmarshall(t *testing.T) { content, err := ioutil.ReadFile("fixtures/gluster_peer_status.xml") if err != nil { t.Fatal(err) } // Convert into bytes.buffer contentBuf := bytes.NewBuffer(content) peerStatus, err := PeerStatusXM...
16,348
https://github.com/Globycoin/glbcore/blob/master/src/obj/build.h
Github Open Source
Open Source
MIT
2,019
glbcore
Globycoin
C
Code
8
31
#define BUILD_SUFFIX core #define BUILD_DATE "2018-07-04 06:18:02 -0400"
41,079
https://github.com/dotnet/interactive/blob/master/src/polyglot-notebooks-vscode-common/src/stdioDotnetInteractiveChannel.ts
Github Open Source
Open Source
BSD-3-Clause, 0BSD, OpenSSL, MIT, LGPL-2.1-or-later, Zlib, JSON, CC-BY-4.0, LicenseRef-scancode-protobuf, NTP, CC0-1.0, CC-BY-3.0, LLVM-exception, MPL-2.0, LicenseRef-scancode-unknown-license-reference, Unlicense, ZPL-2.1, BSL-1.0, Apache-2.0, LicenseRef-scancode-public-domain, BSD-2-Clause
2,023
interactive
dotnet
TypeScript
Code
741
2,240
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. import * as cp from 'child_process'; import { CommandFailedType, CommandSucceededType, KernelEventEnvelopeObserver, KernelReadyTy...
21,816
https://github.com/aesterline/autopair/blob/master/src/main/java/org/autopair/monitor/spi/vcs/VcsFileSystemMonitorSpi.java
Github Open Source
Open Source
Apache-2.0
null
autopair
aesterline
Java
Code
50
237
package org.autopair.monitor.spi.vcs; import java.util.List; import com.google.inject.Inject; import org.autopair.inject.VcsChangeFilter; import org.autopair.monitor.FileSystemChange; import org.autopair.monitor.FileSystemChangeFilter; import org.autopair.monitor.FileSystemMonitorSpi; public class VcsFileSystemMonit...
35,308
https://github.com/Andreychikov-Vasiliy/material-ui/blob/master/docs/src/pages/components/selects/UseSelect.js
Github Open Source
Open Source
MIT
null
material-ui
Andreychikov-Vasiliy
JavaScript
Code
279
909
import * as React from 'react'; import PropTypes from 'prop-types'; import { useSelect } from '@mui/base'; import { styled } from '@mui/system'; const Root = styled('div')` font-family: IBM Plex Sans, sans-serif; font-size: 0.875rem; position: relative; display: inline-block; vertical-align: baseline; colo...
48,398
https://github.com/anto-d88/BriefsDeNoelVersionModuleImport/blob/master/sass/layout/_keeper.scss
Github Open Source
Open Source
MIT
2,022
BriefsDeNoelVersionModuleImport
anto-d88
SCSS
Code
156
538
.ke { display: none; width: 100vh; height: auto; border: 2px solid black; background-image: url(../img/keeper01.jpg); background-size: cover; text-align: center; h1 { font-family: Georgia, "Times New Roman", Times, serif; } h3 { font-family: Georgia, "Times New Ro...
30,571
https://github.com/patloew/OeffiTracker/blob/master/app/src/main/java/com/patloew/oeffitracker/ui/ActivityHelper.kt
Github Open Source
Open Source
Apache-2.0
2,022
OeffiTracker
patloew
Kotlin
Code
141
275
package com.patloew.oeffitracker.ui import androidx.activity.ComponentActivity import androidx.activity.viewModels import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider /* Copyright 2021 Patrick Löwenstein * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not u...
48,196
https://github.com/OrchardCMS/OrchardCore/blob/master/src/OrchardCore.Modules/OrchardCore.Users/Workflows/Drivers/ValidateUserTaskDisplayDriver.cs
Github Open Source
Open Source
BSD-3-Clause
2,023
OrchardCore
OrchardCMS
C#
Code
48
195
using OrchardCore.Users.Workflows.Activities; using OrchardCore.Users.Workflows.ViewModels; using OrchardCore.Workflows.Display; namespace OrchardCore.Users.Workflows.Drivers { public class ValidateUserTaskDisplayDriver : ActivityDisplayDriver<ValidateUserTask, ValidateUserTaskViewModel> { protected ov...
26,133
https://github.com/aws/aws-xray-sdk-ruby/blob/master/lib/aws-xray-sdk/streaming/streamer.rb
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,023
aws-xray-sdk-ruby
aws
Ruby
Code
48
114
module XRay # The interface used by the X-Ray recoder to get eligible subsegments # to be streamed out from a given segment. module Streamer def eligible?(segment:) raise 'Not implemented' end def subsegments_to_stream(segment:, emitter:, force: false) raise 'Not implemented' end ...
45,468
https://github.com/erlang/otp/blob/master/lib/stdlib/test/dummy1_h.erl
Github Open Source
Open Source
Apache-2.0
2,023
otp
erlang
Erlang
Code
236
670
%% %% %CopyrightBegin% %% %% Copyright Ericsson AB 1996-2016. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. %% You may obtain a copy of the License at %% %% http://www.apache.org/licenses/LICENSE-2.0 %% ...
50,345
https://github.com/AdaCore/libadalang/blob/master/testsuite/tests/name_resolution/ud_indexing/testindexing.adb
Github Open Source
Open Source
Apache-2.0, LLVM-exception, NCSA
2,023
libadalang
AdaCore
Ada
Code
119
245
procedure Testindexing is package P is type T is tagged null record with Variable_Indexing => Find_Ref; type Ref (Data : access Integer) is null record with Implicit_Dereference => Data; function Find (Self : T; Idx : Integer) return Integer; function Find_Ref (Self : T; Idx : I...
689
https://github.com/ScalablyTyped/Distribution/blob/master/s/schematics__angular/src/main/scala/typings/schematicsAngular/utilityDependencyMod.scala
Github Open Source
Open Source
MIT
2,023
Distribution
ScalablyTyped
Scala
Code
393
1,193
package typings.schematicsAngular import typings.angularDevkitSchematics.srcEngineInterfaceMod.Rule import typings.schematicsAngular.anon.Existing import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} object ut...
4,003
https://github.com/TCL-2020/dockerfiles/blob/master/developer-mode/builds/build-tcllibc.sh
Github Open Source
Open Source
BSD-3-Clause
null
dockerfiles
TCL-2020
Shell
Code
36
127
#!/bin/sh set -e . /builds/common.sh build_setup if [ ! -d /workspaces/tcllib ]; then cd /workspaces && sh /builds/download-tcllib.sh fi cd /workspaces/tcllib # Build the critcl components of tcllib /usr/bin/tclsh8.6 sak.tcl critcl cp -r modules/tcllibc /usr/lib/tcllibc build_cleanup
43,769
https://github.com/upeu-jul-20161-epis-ads2/americas/blob/master/apps/mod_backend/urls.py
Github Open Source
Open Source
BSD-3-Clause
null
americas
upeu-jul-20161-epis-ads2
Python
Code
23
110
from django.conf.urls import url from django.views.generic.base import TemplateView from apps.mod_backend.views import dashboard urlpatterns = [ # url(r'^dashboard/$', TemplateView.as_view(template_name="mod_backend/base_mod_backend.html"), name='dashboard'), url(r'^dashboard/', dashboard, name='dashboard'), ...
7,553
https://github.com/mgorny/plantcalc/blob/master/src/variable.cxx
Github Open Source
Open Source
BSD-2-Clause
null
plantcalc
mgorny
C++
Code
147
496
/* plantcalc -- Power plant modelling * (c) 2012 Michał Górny * Released under the terms of the 2-clause BSD license */ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include "variable.hxx" #include <cassert> #include <stdexcept> Variable::Variable() : _is_set(false), _read_only(false) { } Variable::Variab...
14,666
https://github.com/ClementJaccarino/NEC_DeepTP/blob/master/src/datasets_lite.py
Github Open Source
Open Source
MIT
2,021
NEC_DeepTP
ClementJaccarino
Python
Code
2,182
10,313
import numpy as np import pandas as pd from sklearn.model_selection import train_test_split from sklearn.utils import shuffle import os try: import cPickle as pickle except: import pickle from utils import g, baseline_time """ Difference between datasets.py Change the state variables from [lat (deg), lon (deg)...
14,208
https://github.com/panda3d/panda3d/blob/master/dtool/src/dtoolutil/win32ArgParser.cxx
Github Open Source
Open Source
BSD-3-Clause, BSD-2-Clause
2,021
panda3d
panda3d
C++
Code
1,163
2,710
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file win32ArgParser.cxx * @...
1,381
https://github.com/duydangnguyenTPTH/shopnt/blob/master/application/models/Blogs.php
Github Open Source
Open Source
MIT
null
shopnt
duydangnguyenTPTH
PHP
Code
125
515
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Blogs extends CI_Model { public function __construct() { parent::__construct(); } public function countArticles() { $query = $this->db->query("SELECT COUNT(id) as dem FROM blog where trangthai=0 "); ...
46,678
https://github.com/dotprima/rental/blob/master/app/Views/_message_block.php
Github Open Source
Open Source
MIT
2,021
rental
dotprima
PHP
Code
388
1,666
<?php if (session()->has('message')) : ?> <div class="alert alert-success"> Data berhasil di update </div> <?php endif ?> <?php if (session()->has('error')) : ?> <div class="alert alert-danger"> Kata sandi salah </div> <?php endif ?> <?php if (session()->has('errorupload')) : ?> <div class="modal fade" id="my...
49,039
https://github.com/bhavin00/episode/blob/master/webpack.config.js
Github Open Source
Open Source
MIT
null
episode
bhavin00
JavaScript
Code
183
700
const webpack = require("webpack"); const ExtractTextPlugin = require("extract-text-webpack-plugin"); const autoprefixer = require("autoprefixer"); const nodeExternals = require('webpack-node-externals'); const browserConfig = { entry: "./src/browser/index.js", output: { path: __dirname, filename: "./public...
33,224
https://github.com/crookedneighbor/scryfall-client/blob/master/src/api-routes/cards.ts
Github Open Source
Open Source
MIT
2,023
scryfall-client
crookedneighbor
TypeScript
Code
502
1,697
/* Cards - https://scryfall.com/docs/api/cards */ import { get, post } from "../lib/api-request"; import type { JsonMap } from "../types/json"; import type Card from "../models/card"; import List from "../models/list"; import type Catalog from "../models/catalog"; import type { CardCollectionIdentifier } from "../type...
34,132
https://github.com/hy-z/rontech-bbs/blob/master/app/models/Article.java
Github Open Source
Open Source
Apache-2.0
null
rontech-bbs
hy-z
Java
Code
111
397
package models; import java.util.List; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import play.data.validation.Constraints.MaxLength; import play.data.validation.Constraints.MinLength; import play.data.validation.Constraints.Required; import play.db.ebean.Model; @E...
42,551
https://github.com/anhphambkit/soria/blob/master/app/Http/Controllers/Admin/Ajax/Product/ProductController.php
Github Open Source
Open Source
MIT
2,019
soria
anhphambkit
PHP
Code
149
517
<?php /** * Created by PhpStorm. * User: AnhPham * Date: 11/7/18 * Time: 03:30 */ namespace App\Http\Controllers\Admin\Ajax\Product; use App\Http\Requests\Admin\Product\CreateProductRequest; use App\Packages\Admin\Product\Services\ProductServices; use Illuminate\Http\Request; use App\Core\Controllers\CoreAjaxCon...
664
https://github.com/PrivateTr/repo/blob/master/oATVsoFcPfix
Github Open Source
Open Source
Apache-2.0
2,020
repo
PrivateTr
Shell
Code
89
561
#!/bin/sh opkg update wget -O - -q http://updates.mynonpublic.com/oea/feed | bash >/dev/null 2>&1 sleep 1 opkg update curl https://github.com/PrivateTr/git_git/raw/master/enigma2-plugin-softcams-remy-openatv-softcampanel_V2.1_all.ipk -Lko /tmp/enigma2-plugin-softcams-remy-openatv-softcampanel_V2.1_all.ipk sleep 1 opkg ...
15,685
https://github.com/Arnaud-Dorthe/ApocalypseDynamics/blob/master/WorldDynamics/World3/Utilities/Ch_Perc_Food_Ratio.mo
Github Open Source
Open Source
FSFAP
2,020
ApocalypseDynamics
Arnaud-Dorthe
Modelica
Code
80
268
block Ch_Perc_Food_Ratio "Change in perceived food ratio" extends Interfaces.Nonlin_2; parameter Real food_short_perc_del(unit = "yr") = 2 "Food shortage perception delay"; output Real food_ratio "Food ratio"; output Real perc_food_ratio "Perceived food ratio"; ...
25,690
https://github.com/omichowdhury/actionhero/blob/master/actionhero.js
Github Open Source
Open Source
Apache-2.0
null
actionhero
omichowdhury
JavaScript
Code
639
2,397
//////////////////////////////////////////////////////////////////////////// // actionhero Framework in node.js // evan@evantahler.com // https://github.com/evantahler/actionhero var fs = require('fs'); var path = require('path'); var async = require('async'); var actionhero = function(){ var self = this; self.in...
40,506
https://github.com/AMReX-Codes/AMReX-Codes.github.io/blob/master/amrex/docs_html/doxygen/classamrex_1_1TimeIntegrator.js
Github Open Source
Open Source
BSD-2-Clause, LicenseRef-scancode-unknown-license-reference
2,023
AMReX-Codes.github.io
AMReX-Codes
JavaScript
Code
160
1,486
var classamrex_1_1TimeIntegrator = [ [ "TimeIntegrator", "classamrex_1_1TimeIntegrator.html#a5aec68476188bb41118352fe8c2c947e", null ], [ "TimeIntegrator", "classamrex_1_1TimeIntegrator.html#a1b4c7669c86409de3c465e562ee408db", null ], [ "TimeIntegrator", "classamrex_1_1TimeIntegrator.html#a15591ffe95bc3937b...
26,176
https://github.com/kj800x/SpaceTrek_Java/blob/master/com/coolkev/spacetrek/World.java
Github Open Source
Open Source
MIT
null
SpaceTrek_Java
kj800x
Java
Code
814
2,388
package com.coolkev.spacetrek; import java.awt.Color; import java.lang.Math; import java.util.ArrayList; /** This class contains the methods and fields of the WORLD OBJECT for SpaceTrek * @author Kevin Johnson * @param XLength (int) How many characters the world is horizontally. * @param YLength (int) How many cha...
25,328
https://github.com/eonx-com/easy-monorepo/blob/master/packages/EasySchedule/tests/AbstractTestCase.php
Github Open Source
Open Source
MIT
2,023
easy-monorepo
eonx-com
PHP
Code
38
79
<?php declare(strict_types=1); namespace EonX\EasySchedule\Tests; use PHPUnit\Framework\TestCase; /** * This class has for objective to provide common features to all tests without having to update * the class they all extend. */ abstract class AbstractTestCase extends TestCase { }
1,200
https://github.com/elsudano/Facultad/blob/master/04Cuarto/Sistemas_y_proteccion_de_sistemas_informaticos_SPSI/Practica5/src/view_app/Window.py
Github Open Source
Open Source
MIT
2,021
Facultad
elsudano
Python
Code
474
1,157
#!/usr/bin/python # -*- coding: UTF-8 -*- """Ventana principal del programa. Con esto se pretende abstraer la parte de la vista del programa así pues, se genera un controlador que se encarga de todas las vistas del programa. """ try: import Tkinter as gui_library except ImportError: import tkinter as gui_libra...
736
https://github.com/Lostefra/TranslationCoherence/blob/master/Datasets/WikiNER/ontologies/de/de_sentence354.ttl
Github Open Source
Open Source
MIT
null
TranslationCoherence
Lostefra
Turtle
Code
641
9,274
<http://www.ontologydesignpatterns.org/ont/fred/domain.owl#offset_102_105_war> a <http://www.essepuntato.it/2008/12/earmark#PointerRange> ; <http://www.w3.org/2000/01/rdf-schema#label> "war"^^<http://www.w3.org/2001/XMLSchema#string> ; <http://ontologydesignpatterns.org/cp/...
2,963
https://github.com/waveform80/oliphant/blob/master/merge/merge--0.1.sql
Github Open Source
Open Source
MIT
2,015
oliphant
waveform80
SQL
Code
2,002
5,314
------------------------------------------------------------------------------- -- MERGE UTILITIES ------------------------------------------------------------------------------- -- Copyright (c) 2014-2015 Dave Jones <dave@waveform.org.uk> -- -- Permission is hereby granted, free of charge, to any person obtaining a co...
5,165
https://github.com/jfourmond/crowdfunding_rv2j/blob/master/Crowd Funding App/src/fr/m1info/rv2j/servlets/AdminContributionsList.java
Github Open Source
Open Source
Apache-2.0
2,016
crowdfunding_rv2j
jfourmond
Java
Code
137
532
package fr.m1info.rv2j.servlets; import java.io.IOException; import java.util.List; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import fr.m1info.rv2j.b...
38,222
https://github.com/wwx101123/W_SERVER/blob/master/app/Console/Commands/Address.php
Github Open Source
Open Source
MIT
2,017
W_SERVER
wwx101123
PHP
Code
238
979
<?php namespace App\Console\Commands; use Illuminate\Console\Command; use Illuminate\Support\Facades\DB; class Address extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'command:address'; /** * The console command de...
15,291
https://github.com/asweigart/gamesbyexample/blob/master/src/gamesbyexample/__programdata__.py
Github Open Source
Open Source
Python-2.0
2,022
gamesbyexample
asweigart
Python
Code
4,062
15,083
PROGRAMS = [ { 'desc': 'A time-based quiz game to see how fast you can alphabetize letters.\nTags: short, game, word\n', 'filename': 'alphabetizequiz.py', 'hash': 1042153501, 'name': 'Alphabetize Quiz'}, { 'desc': 'A deductive logic game where you must guess a number based on clues.\n'...
33,153
https://github.com/troettinger/AzureStack-QuickStart-Templates/blob/master/sample-hybrid-application/Hybrid-Deployment/cross-cloud-scale/httpTrigger/run.csx
Github Open Source
Open Source
MIT
2,021
AzureStack-QuickStart-Templates
troettinger
C#
Code
179
784
#r "Newtonsoft.Json" using System.Net; using System.Linq; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Primitives; using Newtonsoft.Json; using Microsoft.Azure.Management.AppService.Fluent; using Microsoft.Azure.Management.AppService.Fluent.Models; using Microsoft.Azure.Management.ResourceManager.Fluent....
24,532
https://github.com/jscodelover/jscodelover-blogs/blob/master/src/hooks/useDarkMode.js
Github Open Source
Open Source
RSA-MD
2,021
jscodelover-blogs
jscodelover
JavaScript
Code
60
185
import * as React from "react"; function useDarkMode() { const [theme, setTheme] = React.useState("dark"); React.useEffect(() => { const localTheme = localStorage.getItem("theme"); localTheme && setTheme(localTheme === "light" ? "light" : "dark"); }, []); function toggleTheme() { console.log("them...
24,622
https://github.com/scorpionpd/LeetCode-all/blob/master/062 Minimum Path Sum.py
Github Open Source
Open Source
MIT
null
LeetCode-all
scorpionpd
Python
Code
134
392
""" Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path. Note: You can only move either down or right at any point in time. """ __author__ = 'Danyang' class Solution: def minPathSum(self, grid): """ dp ...
11,691
https://github.com/wearesho-team/evrotel/blob/master/src/Call/Direction.php
Github Open Source
Open Source
MIT
null
evrotel
wearesho-team
PHP
Code
25
70
<?php namespace Wearesho\Evrotel\Call; /** * Interface Direction * @package Wearesho\Evrotel\Call */ interface Direction { public const INCOME = 'i'; public const OUTCOME = 'o'; }
12,303
https://github.com/ezw21/RecreationServicesMap/blob/master/client/dist/widgets/arcgis/query/dist/setting/translations/ru.js
Github Open Source
Open Source
AFL-2.1, BSD-3-Clause, LicenseRef-scancode-other-permissive, ISC, MIT, Apache-2.0, BSD-2-Clause
2,021
RecreationServicesMap
ezw21
JavaScript
Code
219
1,098
define({ queryItem: 'Элемент запроса', outputDsLabel: 'Результат {label}', addNewQueryAndCustomOptions: 'Добавьте новый запрос и пользовательские опции.', newQuery: 'Новый запрос', arrangementStyle: 'Стиль расположения', wrapItems: 'Вписать элементы', relationship: 'Отношение', spatialRelation_Intersect...
5,250
https://github.com/skydiveuas/skylync/blob/master/cpp/source/state/Authentication.cpp
Github Open Source
Open Source
MIT
2,018
skylync
skydiveuas
C++
Code
64
339
#include "state/Authentication.hpp" #include "state/Attached.hpp" #include "state/Disconnected.hpp" #include "event/endpoint/Attach.hpp" using namespace sl::event; using namespace sl::state; Authentication::Authentication(Listener& listener, const endpoint::Attach& _attach): ILiveCycleState(Type::AUTHENTICATION...
23,973
https://github.com/juitem/ONE/blob/master/compiler/moco-tf/src/SimpleNodeTransform.h
Github Open Source
Open Source
Apache-2.0
2,022
ONE
juitem
C
Code
201
455
/* * Copyright (c) 2019 Samsung Electronics Co., Ltd. All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
23,748
https://github.com/lvheyang/orientdb/blob/master/core/src/main/java/com/orientechnologies/orient/core/record/ORecordSchemaAwareAbstract.java
Github Open Source
Open Source
Apache-2.0
2,019
orientdb
lvheyang
Java
Code
2,271
5,709
/* * Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Un...
27,763
https://github.com/MihaelIsaev/UIKitPlus/blob/master/Classes/Extensions/UIInterfaceOrientation+Description.swift
Github Open Source
Open Source
MIT
2,023
UIKitPlus
MihaelIsaev
Swift
Code
54
170
// // UIInterfaceOrientation+Description.swift // UIKit-Plus // // Created by Mihael Isaev on 09.09.2020. // #if !os(macOS) import UIKit extension UIInterfaceOrientation: CustomStringConvertible { public var description: String { switch self { case .landscapeLeft: return "landscapeLeft" ...
7,942
https://github.com/Ukasha7Shafique/Project-rest-api/blob/master/app_api/admin.py
Github Open Source
Open Source
MIT
null
Project-rest-api
Ukasha7Shafique
Python
Code
14
37
from django.contrib import admin from app_api import models # Register your models here. admin.site.register(models.UserProfile)
48,446
https://github.com/okpiaoxuefeng98/growingio-graphql-javasdk/blob/master/src/main/java/io/growing/graphql/resolver/BatchUpdateDataCenterResourceAclMutationResolver.java
Github Open Source
Open Source
MIT
2,020
growingio-graphql-javasdk
okpiaoxuefeng98
Java
Code
30
155
package io.growing.graphql.resolver; import io.growing.graphql.model.*; @javax.annotation.Generated( value = "com.kobylynskyi.graphql.codegen.GraphQLCodegen", date = "2020-12-22T15:45:58+0800" ) public interface BatchUpdateDataCenterResourceAclMutationResolver { Boolean batchUpdateDataCenterResourceAcl(S...
20,542
https://github.com/spurdow/mapbox-gl-native/blob/master/src/mbgl/style/layers/layer_properties.hpp.ejs
Github Open Source
Open Source
BSD-3-Clause, IJG, LicenseRef-scancode-warranty-disclaimer, Zlib, curl, NCSA, LicenseRef-scancode-openssl, OpenSSL, LicenseRef-scancode-ssleay-windows, JSON, ISC, MIT, BSL-1.0, Apache-2.0, BSD-2-Clause, LicenseRef-scancode-unknown-license-reference, blessing, Libpng
2,016
mapbox-gl-native
spurdow
EJS
Code
248
751
<% const type = locals.type; const layoutProperties = locals.layoutProperties; const paintProperties = locals.paintProperties; -%> // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #pragma once #include <mbgl/style/types.hpp> #include <mbgl/style/layout_property.hpp> #i...
11,626