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/mr-ytseng/openairinterface5g/blob/master/cmake_targets/basic_simulator/enb/CMakeFiles/S1AP_R14/S1AP_NotifyFlag.h
Github Open Source
Open Source
BSD-3-Clause, BSD-2-Clause, LicenseRef-scancode-warranty-disclaimer, LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-generic-cla
2,019
openairinterface5g
mr-ytseng
C
Code
117
671
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "SonTransfer-IEs" * found in "/home/user/openairinterface5g/openair3/S1AP/MESSAGES/ASN1/R14/s1ap-14.5.0.asn1" * `asn1c -pdu=all -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example -D /home/user/openairinterface5g/cma...
7,232
https://github.com/jasontread/sierra-php/blob/master/www/tpl/model/sra-ws-api-service.tpl
Github Open Source
Open Source
Apache-2.0
null
sierra-php
jasontread
null
Spoken
2,569
24,001
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>{$Controller->getAppShortName()} :: {$service->_id}</title> {if $wsCssUri} <link rel="stylesheet" type="text/css" href="{$wsCssUri}" /...
40,335
https://github.com/AleDonatto/CRMCopacabana/blob/master/resources/views/list/listClientsSmall.blade.php
Github Open Source
Open Source
MIT
null
CRMCopacabana
AleDonatto
PHP
Code
111
596
@extends('contenido') <main role="main" class="col-md-9 ml-sm-auto col-lg-10 bg-light"> <section class="bg-light page-section"> <div class="container"> <h2 class="text-center font-italic card">Lista Clientes</h2> <div class="container"> <div class="car-body"> ...
46,207
https://github.com/davidvalemar/backendSr/blob/master/marvel-common-lib/src/main/java/com/cuscatlan/backendsr/lib/dto/comics/TextObject.java
Github Open Source
Open Source
Apache-2.0
null
backendSr
davidvalemar
Java
Code
34
177
package com.cuscatlan.backendsr.lib.dto.comics; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import lombok.Data; @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "type", "l...
50,664
https://github.com/Jeanmilost/Visual-Mercutio/blob/master/Visual Mercutio/zBaseLib/PSS_TextFile.h
Github Open Source
Open Source
MIT
2,022
Visual-Mercutio
Jeanmilost
C
Code
533
1,275
/**************************************************************************** * ==> PSS_TextFile --------------------------------------------------------* **************************************************************************** * Description : Provides a generic text file * * Devel...
21,261
https://github.com/amachado22/modelowp-shop/blob/master/src/wp-content/plugins/astra-addon/addons/colors-and-background/classes/dynamic-css/header-sections-dynamic.css.php
Github Open Source
Open Source
MIT
2,022
modelowp-shop
amachado22
PHP
Code
1,055
4,700
<?php /** * Colors & Background - Dynamic CSS * * @package Astra Addon */ add_filter( 'astra_addon_dynamic_css', 'astra_addon_header_sections_colors_dynamic_css', 99 ); /** * Dynamic CSS * * @param string $dynamic_css Astra Dynamic CSS. * @param string $dynamic_css_filtered Astra Dynamic CSS Filter...
16,965
https://github.com/hpi-swa-lab/squeak-graphics-opengl/blob/master/OpenGLObjects/src/OpenGLObjects/GLFragmentShader.class.st
Github Open Source
Open Source
MIT
2,021
squeak-graphics-opengl
hpi-swa-lab
null
Spoken
30
100
Class { #name : #GLFragmentShader, #superclass : #GLShader, #category : #'OpenGLObjects-Shaders' } { #category : #accessing, #'squeak_changestamp' : 'stlu 10/28/2020 17:51' } GLFragmentShader class >> type [ ^ GL_FRAGMENT_SHADER ]
23,704
https://github.com/moresandeep/cloudbreak/blob/master/integration-test/src/main/java/com/sequenceiq/it/cloudbreak/context/RunningParameter.java
Github Open Source
Open Source
Apache-2.0
null
cloudbreak
moresandeep
Java
Code
452
1,498
package com.sequenceiq.it.cloudbreak.context; import java.lang.reflect.Method; import java.util.Arrays; import javax.inject.Inject; import org.springframework.stereotype.Component; import com.sequenceiq.it.cloudbreak.actor.CloudbreakUser; @Component public class RunningParameter { private CloudbreakUser who; ...
1,191
https://github.com/tom95/metacello/blob/master/repository/Metacello-Core.package/MetacelloScriptExecutor.class/instance/projectSpecGenerator.st
Github Open Source
Open Source
MIT
2,022
metacello
tom95
null
Spoken
124
258
execution projectSpecGenerator baselineArg ifNotNil: [ configurationArg ifNotNil: [ self error: ' baseline: and configuration: are both be specified' ]. projectArg ifNotNil: [ self error: ' baseline: and project are both be specified' ]. ^ MetacelloBaselineSpecGenerator ...
17,667
https://github.com/figengungor/ud867/blob/master/FinalProject/jokeTeller/src/main/java/com/figengungor/joketeller/Joke.java
Github Open Source
Open Source
MIT
2,018
ud867
figengungor
Java
Code
24
59
package com.figengungor.joketeller; public class Joke { public String getJoke(){ return "Want to hear a joke about construction? I'm still working on it."; } }
21,885
https://github.com/bluespeck/OakVR/blob/master/src/Leaf3D/IToolTipped.cpp
Github Open Source
Open Source
MIT
null
OakVR
bluespeck
C++
Code
28
141
#include "IToolTipped.h" namespace oakvr { namespace Leaf3D { IToolTipped::IToolTipped() :m_toolTipText(L"") { } void IToolTipped::SetToolTip(std::string text) { m_toolTipText = text; } std::string IToolTipped::GetToolTip() { return m_toolTipText; } } }
4,108
https://github.com/boxmoji/box-content-preview/blob/master/src/lib/annotations/Annotation.js
Github Open Source
Open Source
Apache-2.0
null
box-content-preview
boxmoji
JavaScript
Code
169
424
import autobind from 'autobind-decorator'; @autobind class Annotation { //-------------------------------------------------------------------------- // Typedef //-------------------------------------------------------------------------- /** * The data object for constructing an annotation. *...
10,389
https://github.com/timna1234/daisy/blob/master/mycroft/mycroft-daisy/__init__.py
Github Open Source
Open Source
Apache-2.0
2,019
daisy
timna1234
Python
Code
214
751
# Copyright 2016 Mycroft AI, Inc. # # This file is part of Mycroft Core. # # Mycroft Core is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later versio...
27,121
https://github.com/kaat0/julia-pkg-dev/blob/master/pkgtemplates-test.jl
Github Open Source
Open Source
BSD-3-Clause
2,021
julia-pkg-dev
kaat0
Julia
Code
19
109
using PkgTemplates t = Template(; user="ShozenD", dir="/Users/shozendan/Documents/", plugins=[ Codecov(), AppVeyor(), GitHubActions(; linux=true, osx=true), GitLabCI(; coverage=true), Documenter{GitHubActions}() ] ) t("JuliaPkgDev")
36,196
https://github.com/somiandras/yahoo_finance_downloader/blob/master/yahoo_downloader.py
Github Open Source
Open Source
MIT
null
yahoo_finance_downloader
somiandras
Python
Code
350
1,196
# -*- coding: utf-8 -*- '''Data downloader for Yahoo Finance API 2017''' import requests import re from datetime import datetime import pandas as pd import io import logging class Downloader: def __init__(self): self.DATA_TYPES = ['history', 'div', 'split'] self._cookie = None self._crum...
18,519
https://github.com/REJack/TS3WI-AdminLTE/blob/master/counter.tpl
Github Open Source
Open Source
MIT
2,021
TS3WI-AdminLTE
REJack
null
Spoken
172
1,148
{if isset($permoverview['b_virtualserver_client_list']) AND empty($permoverview['b_virtualserver_client_list']) OR isset($permoverview['b_virtualserver_client_dblist']) AND empty($permoverview['b_virtualserver_client_dblist'])} <section class="content container-fluid"> <div class="row"> <div class="col-xs-12 col-xs-...
18,272
https://github.com/JeffreyThiessen/staramr/blob/master/staramr/tests/integration/detection/test_AMRDetection.py
Github Open Source
Open Source
Apache-2.0
2,022
staramr
JeffreyThiessen
Python
Code
3,581
21,147
import logging import os import tempfile import unittest from os import path import pandas as pd from Bio import SeqIO from staramr.blast.JobHandler import JobHandler from staramr.blast.plasmidfinder.PlasmidfinderBlastDatabase import PlasmidfinderBlastDatabase from staramr.blast.pointfinder.PointfinderBlastDatabase i...
44,001
https://github.com/InDieTasten/Sars-Cov2-Necessity-Screening/blob/master/app/src/app/environment-info/environment-info.component.ts
Github Open Source
Open Source
MIT
2,020
Sars-Cov2-Necessity-Screening
InDieTasten
TypeScript
Code
90
286
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core'; import { Question } from '../question'; @Component({ selector: 'app-environment-info', templateUrl: './environment-info.component.html', styleUrls: ['./environment-info.component.scss'] }) export class EnvironmentInfoComponent implem...
11,359
https://github.com/permotion88/basicpp17/blob/master/src/meta17.lib/meta17/TypePack.iterate.test.cpp
Github Open Source
Open Source
MIT
2,021
basicpp17
permotion88
C++
Code
45
163
#include "TypePack.iterate.h" #include "Type.wrap.h" // UnwrapType #include <cinttypes> using namespace meta17; static_assert(forEachType(type_pack<int32_t, float>, [s = 0](auto t) mutable { using T = UnwrapType<decltype(t)>; s += sizeof(T); return s; ...
50,521
https://github.com/loslch/sonar-qube-measure-widget/blob/master/get_measure.sh
Github Open Source
Open Source
MIT
null
sonar-qube-measure-widget
loslch
Shell
Code
31
236
#/usr/bin/env bash # Sonar Result SONAR_API_URL="<sonar_host>/api/measures/component" SONAR_PROJECT_KEY="<component_id>" SONAR_TOKEN="<user_token>" SONAR_METRICS="bugs,reliability_rating,vulnerabilities,security_rating,code_smells,sqale_rating,duplicated_lines_density,ncloc,complexity,violations" SONAR_MEASURE_OUTPUT=...
28,915
https://github.com/levanjipm/duta_sapta_ener/blob/master/application/views/sales/Plafond/plafond_confirm_result.php
Github Open Source
Open Source
MIT
2,021
duta_sapta_ener
levanjipm
PHP
Code
443
1,925
<?php if($status == 'success'){ $complete_address = ''; $customer_name = $customer->name; $complete_address = $customer->address; $customer_city = $customer->city; $customer_number = $customer->number; $customer_rt = $customer->rt; $customer_rw = $customer->rw; $customer_postal = $customer-...
2,358
https://github.com/bramasto17/Skripsi/blob/master/app/Http/Controllers/AdminController.php
Github Open Source
Open Source
MIT
null
Skripsi
bramasto17
PHP
Code
81
341
<?php namespace App\Http\Controllers; use App\Post; use App\Forum; use App\Review; use App\Thread; use App\User; use Carbon\Carbon; use Illuminate\Http\Request; class AdminController extends Controller { public function banUser($id){ $user = User::where('id',$id)->first(); $user->active = ($user...
27,303
https://github.com/watercpp/water/blob/master/water/threads/linux/barrier_futex.hpp
Github Open Source
Open Source
MIT
2,018
water
watercpp
C++
Code
369
1,090
// Copyright 2017 Johan Paulsson // This file is part of the Water C++ Library. It is licensed under the MIT License. // See the license.txt file in this distribution or https://watercpp.com/license.txt //\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_ #ifndef WATER_THREADS_LINUX_BAR...
52,770
https://github.com/libretro-mirrors/clove/blob/master/native/game.c
Github Open Source
Open Source
MIT
2,020
clove
libretro-mirrors
C
Code
252
991
/* # clove # Copyright (C) 2017-2019 Muresan Vlad # # This project is free software; you can redistribute it and/or modify it # under the terms of the MIT license. See LICENSE.md for details. */ #include "game.h" /* #include "../src/3rdparty/SDL2/include/SDL.h" #include <stdio.h> #include <stdbool.h> #include...
22,261
https://github.com/dbpedia-pt/lattes-2-rdf/blob/master/src/main/java/pt/dbpedia/org/lattes/ProfessionalExperience.java
Github Open Source
Open Source
Apache-2.0
null
lattes-2-rdf
dbpedia-pt
Java
Code
46
356
package pt.dbpedia.org.lattes; import com.thoughtworks.xstream.annotations.XStreamAlias; import com.thoughtworks.xstream.annotations.XStreamImplicit; import pt.dbpedia.org.lattes.professional.AdminExperience; import pt.dbpedia.org.lattes.professional.ConsultantExperience; import pt.dbpedia.org.lattes.professional.Lin...
20,386
https://github.com/jackjack2017/nova/blob/master/resources/assets/_gulp-builder/js/libs/popup/mfpopup.js
Github Open Source
Open Source
MIT
2,018
nova
jackjack2017
JavaScript
Code
33
114
import { Popup } from './popup'; export class MfPopup extends Popup { openPopup() { $.magnificPopup.open({ showCloseBtn: false, type: 'inline', tLoading: 'Загрузка...', items: { src: this.popupId } }); } closePopup...
6,827
https://github.com/fhmanwar/UserManagement/blob/master/API/Models/Log.cs
Github Open Source
Open Source
MIT
2,020
UserManagement
fhmanwar
C#
Code
51
137
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace API.Models { [Table("TB_T_Log")] public class Log { [Key] public int Id { get; set; } ...
9,513
https://github.com/JeffLeFoll/angular15-generator/blob/master/lib/cli/commands/generate.js
Github Open Source
Open Source
MIT
null
angular15-generator
JeffLeFoll
JavaScript
Code
32
92
'use strict'; let Locales = require('../locales'); const y18n = new Locales(); exports.command = 'g <command>'; exports.desc = y18n.localized('generateDesc'); exports.builder = function (yargs) { return yargs.commandDir('generate_cmds'); }; exports.handler = function () { };
52,576
https://github.com/dzitkowskik/TwitterSentimentAnalysis/blob/master/site/tsa/django_chartit_1_7/exceptions.py
Github Open Source
Open Source
MIT, Unlicense
2,018
TwitterSentimentAnalysis
dzitkowskik
Python
Code
18
38
"""Global ChartIt exception and warning classes.""" class APIInputError(Exception): """Some kind of problem when validating the user input.""" pass
39,921
https://github.com/colesss/cookie-stand/blob/master/app.js
Github Open Source
Open Source
MIT
2,017
cookie-stand
colesss
JavaScript
Code
423
1,093
// 'use strict'; // // //creating object literals // // var loc1stAndPike = { // minCustHourly: 23, // maxCustHourly: 65, // avgCookiesPerCust: 6.3, // simulatedCookiesPerHour = [], // } // // for (var i = 600; i <= 2000; i+=100) { // var randomNum = Math.floor((Math.random() * (loc1stAndPike.maxCustHourly - ...
17,224
https://github.com/Aprite/abp-samples/blob/master/KeycloakDemo/KeycloakDemo-Tiered-Mvc/test/KeycloakDemo.Domain.Tests/KeycloakDemoDomainTestBase.cs
Github Open Source
Open Source
MIT
null
abp-samples
Aprite
C#
Code
10
46
namespace KeycloakDemo; public abstract class KeycloakDemoDomainTestBase : KeycloakDemoTestBase<KeycloakDemoDomainTestModule> { }
10,977
https://github.com/mhocouchbase/couchbase-lite-java-ee-root/blob/master/ee/android/samples/P2P/ReplicatorTcpClientConnection.java
Github Open Source
Open Source
Apache-2.0
null
couchbase-lite-java-ee-root
mhocouchbase
Java
Code
309
943
// // Copyright (c) 2020, 2018 Couchbase, Inc. All rights reserved. // // Licensed under the Couchbase License Agreement (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // https://info.couchbase.com/rs/302-GJY-034/images/2017-10-30_License...
19,917
https://github.com/DecipherNow/gm-ui-components/blob/master/src/components/InputRange/InputRange.js
Github Open Source
Open Source
MIT
2,020
gm-ui-components
DecipherNow
JavaScript
Code
86
329
import React from "react"; import PropTypes from "prop-types"; import InputLabelText from "components/util/InputLabelText"; import InputWrap from "components/util/InputWrap"; import InputHint from "components/util/InputHint"; import InputRangeControl from "./components/InputRangeControl.js"; export default function I...
52,460
https://github.com/jeroldhaas/websharper/blob/master/src/compiler/IntelliFactory.WebSharper.InterfaceGenerator/Util.fs
Github Open Source
Open Source
Apache-2.0
null
websharper
jeroldhaas
null
Spoken
155
301
// $begin{copyright} // // This file is part of WebSharper // // Copyright (c) 2008-2014 IntelliFactory // // 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/li...
14,172
https://github.com/TraceDefense/App-Android/blob/master/app/src/main/java/edu/uw/covidsafe/gps/GpsOpsAsyncTask.java
Github Open Source
Open Source
MIT
2,020
App-Android
TraceDefense
Java
Code
105
424
package edu.uw.covidsafe.gps; import android.content.Context; import android.location.Location; import android.os.AsyncTask; import android.util.Log; import edu.uw.covidsafe.utils.Constants; import edu.uw.covidsafe.utils.Utils; import java.util.List; public class GpsOpsAsyncTask extends AsyncTask<Void, Void, Void> {...
46,570
https://github.com/rlworkgroup/garage/blob/master/src/garage/torch/distributions/__init__.py
Github Open Source
Open Source
MIT
2,023
garage
rlworkgroup
Python
Code
10
40
"""PyTorch Custom Distributions.""" from garage.torch.distributions.tanh_normal import TanhNormal __all__ = ['TanhNormal']
31,375
https://github.com/rails/sprockets/blob/master/lib/sprockets/loader.rb
Github Open Source
Open Source
MIT
2,023
sprockets
rails
Ruby
Code
1,302
3,865
# frozen_string_literal: true require 'sprockets/asset' require 'sprockets/digest_utils' require 'sprockets/errors' require 'sprockets/file_reader' require 'sprockets/mime' require 'sprockets/path_utils' require 'sprockets/processing' require 'sprockets/processor_utils' require 'sprockets/resolve' require 'sprockets/tr...
49,058
https://github.com/brbrown25/scala-opentracing/blob/master/http/test/src/test/scala/com/colisweb/tracing/http/test/package.scala
Github Open Source
Open Source
MIT
2,022
scala-opentracing
brbrown25
Scala
Code
58
313
package com.colisweb.tracing.http import java.net.ServerSocket import cats.effect.{IO, Resource, Sync} import io.circe.generic.auto._ import org.http4s.EntityDecoder import org.http4s.circe._ import sttp.tapir.Codec.JsonCodec import sttp.tapir._ import sttp.tapir.json.circe._ import sttp.tapir.generic.auto._ package...
40,019
https://github.com/FranzSw/Algernon-Launcher/blob/master/packages/Algernon.package/ALGResultList.class/instance/addAll..st
Github Open Source
Open Source
MIT
null
Algernon-Launcher
FranzSw
null
Spoken
12
27
updating addAll: anItemCollection anItemCollection do: [ :each | self add: each ].
10,226
https://github.com/tienle1509/luanvan-ktpm/blob/master/resources/views/nguoiban/khuyenmai/chitiet_khuyenmai.blade.php
Github Open Source
Open Source
MIT
null
luanvan-ktpm
tienle1509
PHP
Code
101
670
@extends('nguoiban_home') @section('khuyenmai','active') @section('noidung') <div class="container-fluid"> <h1>Chi tiết khuyến mãi</h1> <hr> <div class="row"> <div class="col-md-12 col-sm-12"> <ol class="breadcrumb"> <li><a href="{{asset('nguoiban/khuyenmai')}}">Khuyến mãi</a></li> ...
6,020
https://github.com/Gary935419/tqwyadminapi/blob/master/application/views/task/task_add.php
Github Open Source
Open Source
MIT
null
tqwyadminapi
Gary935419
PHP
Code
935
4,611
<!DOCTYPE html> <html class="x-admin-sm"> <head> <meta charset="UTF-8"> <title>我的管理后台-置业友道</title> <meta name="renderer" content="webkit"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, ...
26,629
https://github.com/lokeshjindal15/pd-gem5_transformer/blob/master/kernel_dvfs/linux-linaro-tracking-gem5/drivers/gpu/drm/radeon/radeon_ioc32.c
Github Open Source
Open Source
BSD-3-Clause
2,022
pd-gem5_transformer
lokeshjindal15
C
Code
1,299
5,217
/** * \file radeon_ioc32.c * * 32-bit ioctl compatibility routines for the Radeon DRM. * * \author Paul Mackerras <paulus@samba.org> * * Copyright (C) Paul Mackerras 2005 * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated ...
18,860
https://github.com/tonycody/tencent-tdw/blob/master/qe/ql/src/java/org/apache/hadoop/hive/ql/udf/UDFCHR.java
Github Open Source
Open Source
Apache-1.1
2,021
tencent-tdw
tonycody
Java
Code
248
573
/** * Tencent is pleased to support the open source community by making TDW available. * Copyright (C) 2014 THL A29 Limited, a Tencent company. 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...
34,607
https://github.com/asaf12355/jfrog-cli/blob/master/artifactory/commands/repository/template.go
Github Open Source
Open Source
Apache-2.0
null
jfrog-cli
asaf12355
Go
Code
2,533
10,490
package repository import ( "encoding/json" "errors" "fmt" "io/ioutil" "os" "strings" "github.com/c-bata/go-prompt" "github.com/jfrog/jfrog-cli/artifactory/commands/utils" "github.com/jfrog/jfrog-cli/utils/config" "github.com/jfrog/jfrog-client-go/utils/errorutils" "github.com/jfrog/jfrog-client-go/utils/i...
8,259
https://github.com/Voduykhanhit/webmobileDeployHeroKua/blob/master/resources/views/admin/hinhanhsanpham/danhsach.blade.php
Github Open Source
Open Source
MIT
2,021
webmobileDeployHeroKua
Voduykhanhit
Blade
Code
260
1,347
@extends('admin.layout.index') @section('title') Danh sách hình ảnh @endsection @section('content') <div class="table-agile-info"> <div class="text-left" id="button"> <a href="{{url('/admin/hinhanhsanpham/them')}}" class="btn btn-primary"><i class="fas fa-plus"></i> Thêm mới</a> <a href="" class="btn bt...
17,666
https://github.com/adpi2/case-app/blob/master/core/shared/src/main/scala/caseapp/core/complete/Zsh.scala
Github Open Source
Open Source
Apache-2.0
2,022
case-app
adpi2
Scala
Code
196
635
package caseapp.core.complete import java.math.BigInteger import java.nio.charset.StandardCharsets import java.security.MessageDigest import dataclass.data import scala.collection.mutable object Zsh { val shellName: String = "zsh" val id: String = s"$shellName-v1" def script(progName: String): Strin...
25,806
https://github.com/ghewgill/neon-lang/blob/master/t/literal-method.neon
Github Open Source
Open Source
MIT
2,022
neon-lang
ghewgill
null
Spoken
16
64
print((5).toString()) --= 5 print("test".encodeUTF8().toString()) --= HEXBYTES "74 65 73 74" print("test".encodeUTF8().toArray().toString()) --= [116, 101, 115, 116]
38,792
https://github.com/thisXYH/Dapper.Client/blob/master/Dapper.Client/GridReaderWapper.cs
Github Open Source
Open Source
MIT
2,019
Dapper.Client
thisXYH
C#
Code
937
3,344
using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Threading.Tasks; using static Dapper.SqlMapper; namespace Dapper.Client { /// <summary> /// 对<see cref="GridReader"/>的包装类,添加关闭连接对象的方法。 /// </summary> public sealed class GridReaderWapper : IDispos...
8,806
https://github.com/CRPERTEAM/wx-yu-server/blob/master/api/users.js
Github Open Source
Open Source
MIT
2,018
wx-yu-server
CRPERTEAM
JavaScript
Code
23
65
import express from 'express'; // express import Users from '../controllers/users'; // 接口实现 const router = express.Router(); // 路由初始化 router.route('/') .get(Users.getUserinfo) export default router
13,882
https://github.com/hbsmith/Neet.jl/blob/master/src/core.jl
Github Open Source
Open Source
MIT
null
Neet.jl
hbsmith
Julia
Code
474
1,110
export AbstractNetwork, update!, update, statespace, neighbors """ AbstractNetwork A supertype for all network types. To implement the `AbstractNetwork` interface, a concrete subtype must provide the following methods: * [`update!(net, dest, state)`](@ref) * [`statespace(net)`](@ref) * [`neighbors(net, node, di...
14,392
https://github.com/societies/SOCIETIES-Platform/blob/master/integration-tests/BIT/context-mgmt-test-suite/ctxSNDataMgmt/src/main/java/org/societies/integration/test/bit/ctxSNDataMgmt/Tester.java
Github Open Source
Open Source
BSD-2-Clause, BSD-2-Clause-Views
2,014
SOCIETIES-Platform
societies
Java
Code
1,018
3,737
/** * Copyright (c) 2011, SOCIETIES Consortium (WATERFORD INSTITUTE OF TECHNOLOGY (TSSG), HERIOT-WATT UNIVERSITY (HWU), SOLUTA.NET * (SN), GERMAN AEROSPACE CENTRE (Deutsches Zentrum fuer Luft- und Raumfahrt e.V.) (DLR), Zavod za varnostne tehnologije * informacijske družbe in elektronsko poslovanje (SETCCE), INSTIT...
18,283
https://github.com/teodozjan/snippets/blob/master/emacs/init.el
Github Open Source
Open Source
Artistic-2.0
null
snippets
teodozjan
null
Spoken
353
1,276
;; Added by Package.el. This must come before configurations of ;; installed packages. Don't delete this line. If you don't want it, ;; just comment it out by adding a semicolon to the start of the line. ;; You may delete these explanatory comments. (package-initialize) (set-language-environment "UTF-8") (set-defau...
5,377
https://github.com/grpc/grpc-java/blob/master/api/src/main/java/io/grpc/TlsServerCredentials.java
Github Open Source
Open Source
Apache-2.0
2,023
grpc-java
grpc
Java
Code
2,032
4,311
/* * Copyright 2020 The gRPC 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 applicable law or agree...
2,692
https://github.com/nickolayrusev/trackteam/blob/master/domain/src/main/java/com/nrusev/domain/Place.java
Github Open Source
Open Source
MIT
null
trackteam
nickolayrusev
Java
Code
427
997
package com.nrusev.domain; import javax.persistence.*; import java.util.Date; /** * Created by nikolayrusev on 3/10/16. */ @Entity @Table(name = "places") public class Place { private Long id; private String name; private String kind; private Double lat; private Double lng; private Date crea...
28,551
https://github.com/ashifahanif/prevent-silent-killer/blob/master/dia_streamlit_ngrok.ipynb
Github Open Source
Open Source
MIT
2,020
prevent-silent-killer
ashifahanif
Jupyter Notebook
Code
2,669
16,351
{ "nbformat": 4, "nbformat_minor": 0, "metadata": { "colab": { "name": " dia_streamlit_ngrok.ipynb", "provenance": [], "collapsed_sections": [] }, "kernelspec": { "name": "python3", "display_name": "Python 3" }, "accelerator": "GPU" }, "cells": [ { "...
24,430
https://github.com/ttoocs/chai3d/blob/master/external/openal/Alc/alcThread.c
Github Open Source
Open Source
BSD-3-Clause
2,022
chai3d
ttoocs
C
Code
361
1,036
/** * OpenAL cross platform audio library * Copyright (C) 1999-2007 by authors. * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your op...
52,064
https://github.com/nickqiao/AirWar/blob/master/Classes/ControlLayer.hpp
Github Open Source
Open Source
Apache-2.0
2,021
AirWar
nickqiao
C++
Code
60
213
// // ControlLayer.hpp // AirWar // // Created by nick on 2017/1/23. // Copyright © 2017年 chenyuqiao. All rights reserved. // #include "cocos2d.h" #include "SimpleAudioEngine.h" #include "NoTouchLayer.hpp" USING_NS_CC; const int MAX_SCORE = 1000000000; class ControlLayer : public Layer { public: C...
33,712
https://github.com/poelstra/mhub/blob/master/src/localclient.ts
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,020
mhub
poelstra
TypeScript
Code
352
770
/** * MHub client for direct (local) connection to an MHub server instance. * * A LocalClient has the same interface as e.g. NodeClient, but directly connects * to a Hub without using e.g. sockets. * This is useful for tests, or when embedding an MHub server and client into a * program. */ import * as events fr...
9,973
https://github.com/SuperGeekJake/atomized-pandora/blob/master/run.sh
Github Open Source
Open Source
MIT
null
atomized-pandora
SuperGeekJake
Shell
Code
3
13
#!/bin/bash atom-shell .
47,119
https://github.com/IamKiwi/La_Cazzinara/blob/master/resources/views/client/orderconfirmation.blade.php
Github Open Source
Open Source
MIT
2,019
La_Cazzinara
IamKiwi
PHP
Code
111
516
@extends('main') @section('title', 'Potwierdź zamówienie') @section('content') <div id="page-wrapper"> <!-- Main --> <article id="main"> <section class="wrapper style5 fancy-back"> <div class="inner white-back"> <section> <hea...
21,980
https://github.com/SumitAgrawal03071989/optimus/blob/master/cmd/job/addhook.go
Github Open Source
Open Source
Apache-2.0
null
optimus
SumitAgrawal03071989
Go
Code
207
828
package job import ( "github.com/odpf/salt/log" "github.com/spf13/afero" "github.com/spf13/cobra" "github.com/odpf/optimus/cmd/logger" "github.com/odpf/optimus/cmd/survey" "github.com/odpf/optimus/config" "github.com/odpf/optimus/models" "github.com/odpf/optimus/store/local" ) type addHookCommand struct { l...
20,552
https://github.com/misialq/q2-fondue/blob/master/q2_fondue/types/_type.py
Github Open Source
Open Source
BSD-3-Clause
2,022
q2-fondue
misialq
Python
Code
48
123
# ---------------------------------------------------------------------------- # Copyright (c) 2022, Bokulich Laboratories. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file LICENSE, distributed with this software. # --------------------------------------------------------...
48,595
https://github.com/epicavic/gocook/blob/master/ch02/03-envs/go.mod
Github Open Source
Open Source
MIT
2,021
gocook
epicavic
Go Module
Code
11
52
module main go 1.16 require ( github.com/kelseyhightower/envconfig v1.4.0 github.com/pkg/errors v0.9.1 )
46,396
https://github.com/pratikshakj/HacktoberFest2020-Contributions/blob/master/Games/Zeldiablo/src/application/Mur.java
Github Open Source
Open Source
MIT
2,020
HacktoberFest2020-Contributions
pratikshakj
Java
Code
59
103
package application; /** *Cette classe implemente @see Case *represente un mur qui empeche le joueur de passer */ public class Mur implements Case { /** * permet de savoir si on est sur une case vide ou pleine * objet mur donc case pleine donc false * @return boolean, false */ public boolean estVide() { ...
4,279
https://github.com/kanor1306/scrapyard/blob/master/CodeWars Katas/6kyu/TakeATenMinuteWalk.js
Github Open Source
Open Source
MIT
null
scrapyard
kanor1306
JavaScript
Code
203
339
// Description: // You live in the city of Cartesia where all roads are laid out in a // perfect grid. You arrived ten minutes too early to an appointment, // so you decided to take the opportunity to go for a short walk. The // city provides its citizens with a Walk Generating App on their // phones -- everytime you p...
35,348
https://github.com/yetithefoot/qase-javascript/blob/master/qaseio/src/models/plans.ts
Github Open Source
Open Source
Apache-2.0
2,021
qase-javascript
yetithefoot
TypeScript
Code
126
321
/* eslint-disable camelcase */ import { BaseList } from './base'; export class PlanCreate { public description?: string; public constructor( public title: string, public cases: number[] = [], args?: { description?: string; }, ) { if (this.cases.length < 1...
24,377
https://github.com/AminulCSE/amiconE-com/blob/master/resources/views/admin/product/edit_product.blade.php
Github Open Source
Open Source
MIT
null
amiconE-com
AminulCSE
PHP
Code
301
1,384
@extends('layouts.adminapp') @section('admin_content') <div class="pcoded-content"> <div class="pcoded-inner-content"> <!-- Main-body start --> <div class="main-body"> <div class="page-wrapper"> <!-- Page-header start --> <!-- Page-header end --> ...
51,354
https://github.com/rynkowsw/thymeleaf-cache-metrics/blob/master/src/main/java/org/thymeleaf/standard/expression/StandardExpressionExecutor.java
Github Open Source
Open Source
Apache-2.0
null
thymeleaf-cache-metrics
rynkowsw
Java
Code
293
772
/* * ============================================================================= * * Copyright (c) 2011-2014, The THYMELEAF team (http://www.thymeleaf.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
50,809
https://github.com/kingsamchen/Eureka/blob/master/crack-data-structures-and-algorithms/leetcode/3sum_q15.cpp
Github Open Source
Open Source
MIT
2,023
Eureka
kingsamchen
C++
Code
158
746
#include <algorithm> #include <vector> using namespace std; // 核心思路 // 题目要求的是数字组合而不是下标,所以可以排序,数组有序是处理最内层两个数的前提条件。 // 1) 首先固定最外层的数字,遍历范围是 [0, |nums|-2) // 同时要考虑避免重复,所以当最外层数字**至少**是第二轮时,就要检测当前数字是否和前一个相同 // 如果相同就换下一个,直到找到一个不同的 // 2) 三个数的情况只有两层,所以第二层就是最内层,直接用双指针法来检测元素和 // 遍历范围是 [i+1, |nums|),其中i是外层元素的位置,这里就是第一层 ...
40,714
https://github.com/rcsb/ciftools-java/blob/master/src/main/java/org/rcsb/cif/binary/data/Uint8Array.java
Github Open Source
Open Source
MIT
2,023
ciftools-java
rcsb
Java
Code
173
548
package org.rcsb.cif.binary.data; import org.rcsb.cif.binary.encoding.ByteArrayEncoding; import org.rcsb.cif.binary.encoding.Encoding; import java.nio.ByteBuffer; import java.util.ArrayDeque; import java.util.Arrays; import java.util.Deque; /** * An array of unsigned integer numbers using 8 bit to store each value....
22,060
https://github.com/wilsonk/arocc/blob/master/test/cases/assignment.c
Github Open Source
Open Source
MIT
null
arocc
wilsonk
C
Code
214
516
void foo(void) { 1 = 1; const int a; a = 1; _Bool b; b = 5.5f; b = (int *)5L; b *= 5.5f; int c; c = a; c *= a; c = (int *)6L; c *= (int *)7L; float d; d = b; d ^= 4; int *e; e = (int *)1L; e += 2; e *= 3; struct Foo { int a; } f...
9,137
https://github.com/maqsoftware/Simple-Class/blob/master/goa/Resources/res/HD/jumping_number_level/jumping_number_level.plist
Github Open Source
Open Source
Apache-2.0, MIT
2,019
Simple-Class
maqsoftware
XML Property List
Code
141
1,414
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>frames</key> <dict> <key>jumping_number_level/cloud.png</key> <dict> <key>a...
456
https://github.com/xiaoai7904/ui_designer/blob/master/src/components/pageScrollbar/pageScrollbar.vue
Github Open Source
Open Source
MIT
2,022
ui_designer
xiaoai7904
Vue
Code
499
1,838
<template> <div class="page-scrollbar" :class="customClassName" :style="getStyle" ref="pageScrollbar" @mouseenter="showScrollBar" @mouseleave="hideScrollBar" > <slot></slot> </div> </template> <script> import IScroll from 'iscroll'; import { addResizeListener, removeResizeListener } f...
38,436
https://github.com/aykutsahin98/ReCapProject-Frontend/blob/master/src/app/components/color-update/color-update.component.ts
Github Open Source
Open Source
MIT
2,021
ReCapProject-Frontend
aykutsahin98
TypeScript
Code
162
599
import { Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { ActivatedRoute } from '@angular/router'; import { ToastrService } from 'ngx-toastr'; import { Color } from 'src/app/models/color'; import { ColorService } from 'src/app/services/color.service...
33,285
https://github.com/rubyforgood/partner/blob/master/db/migrate/20191021182550_add_authorized_family_member_id_to_child_item_requests.rb
Github Open Source
Open Source
MIT
2,021
partner
rubyforgood
Ruby
Code
12
58
class AddAuthorizedFamilyMemberIdToChildItemRequests < ActiveRecord::Migration[5.2] def change add_column :child_item_requests, :authorized_family_member_id, :integer end end
6,406
https://github.com/zlim530/CodeReview/blob/master/C#/dotnet/net6.0/DailyTest/aspnetcoreCancellationToken/Models/Person.cs
Github Open Source
Open Source
Apache-2.0
2,023
CodeReview
zlim530
C#
Code
10
29
namespace aspnetcoreCancellationToken.Models; public record Person(string Name, bool IsVIP, DateTime CreatedTime);
38,799
https://github.com/weareprefect/weareprefect.github.io/blob/master/jscss/jquery-1.7.1.min.js
Github Open Source
Open Source
Apache-2.0
2,022
weareprefect.github.io
weareprefect
JavaScript
Code
365
2,853
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title></title> <meta name="keywords" content="" /> <meta name="description" content="" /> <meta name="generator" content="www.yuxiaoxi.com" /> <link rel="EditURI" type="application/rsd+xml" title="RSD" href...
5,775
https://github.com/starchild92/SICOMUNAL/blob/master/app/Resources/views/adminpreguntassitcom/index.html.twig
Github Open Source
Open Source
Apache-2.0
2,021
SICOMUNAL
starchild92
Twig
Code
74
320
{% extends 'base.html.twig' %} {% block body %} <div class="panel panel-primary"> <div class="panel-heading">Preguntas Situación Comunidad</div> <table class="table-striped table table-bordered"> <thead> <tr> <th>Interrogante</th> ...
6,806
https://github.com/NiclasCedermalm/dxa-alpaca-forms/blob/master/dotnet/SDL.DXA.Modules.AlpacaForms/Models/FormAction.cs
Github Open Source
Open Source
Apache-2.0
2,019
dxa-alpaca-forms
NiclasCedermalm
C#
Code
247
838
using Sdl.Web.Common.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace SDL.DXA.Modules.Forms.Models { /// <summary> /// Form Action /// </summary> [SemanticEntity(EntityName = "FormAction", Vocab = CoreVocabulary, Prefix = "e")] public class For...
23,349
https://github.com/Almighty-Alpaca/galactus/blob/master/main.go
Github Open Source
Open Source
MIT
2,020
galactus
Almighty-Alpaca
Go
Code
165
648
package main import ( "github.com/automuteus/galactus/broker" "github.com/automuteus/galactus/galactus" "log" "os" "os/signal" "strconv" "syscall" ) const DefaultGalactusPort = "5858" const DefaultBrokerPort = "8123" func main() { redisAddr := os.Getenv("REDIS_ADDR") if redisAddr == "" { log.Fatal("No RED...
49,309
https://github.com/sketchbuch/vsc_quokka_statusbar/blob/master/src/core/activate.ts
Github Open Source
Open Source
MIT
2,022
vsc_quokka_statusbar
sketchbuch
TypeScript
Code
82
300
import { getVscodeLang, loadTranslations } from 'vscode-ext-localisation'; import * as vscode from 'vscode'; import { QUOKKA_EXT_NAME } from '../constants/quokka'; import buttons from '../buttons/buttons'; import createButtons from '../utils/create_buttons'; import updateStatusbar from '../utils/update_statusbar'; impo...
33,449
https://github.com/oriboys/laravel-boolpress/blob/master/database/seeds/TagSeeder.php
Github Open Source
Open Source
MIT
null
laravel-boolpress
oriboys
PHP
Code
91
328
<?php use Illuminate\Database\Seeder; use Faker\Generator as Faker; use Illuminate\Support\Str; use App\Tag; class TagSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run(Faker $faker) { $name = ['tech', 'auto', 'videogame', 'natura', 'ba...
51,903
https://github.com/ChromeDevTools/devtools-frontend/blob/master/node_modules/@sinonjs/samsam/lib/is-set.js
Github Open Source
Open Source
BSD-3-Clause
2,023
devtools-frontend
ChromeDevTools
JavaScript
Code
63
120
"use strict"; /** * Returns `true` when the argument is an instance of Set, `false` otherwise * * @alias module:samsam.isSet * @param {*} val - A value to examine * @returns {boolean} Returns `true` when the argument is an instance of Set, `false` otherwise */ function isSet(val) { return (typeof Set !== "...
24,326
https://github.com/zhangyong7375/springside-sub/blob/master/tiny-examples/spring-ioc-test/src/com/springioc/MyFactory.java
Github Open Source
Open Source
Apache-2.0
null
springside-sub
zhangyong7375
Java
Code
49
115
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.springioc; /** * * @author Jeff */ public class MyFactory { public static MyBean createInstance() { return new MyBean("Bean-From-Static-Method"); } public MyBean createInstance2() {...
35,383
https://github.com/liaozengfeng/app/blob/master/resources/views/admin/sort/SortList.blade.php
Github Open Source
Open Source
MIT
2,019
app
liaozengfeng
Blade
Code
172
1,190
@extends('layouts.layouts') @section('title') 分类 @endsection @section('content') <form action="/admin/sort/SortList" id="get"> 分类名称:<input type="text" name="sort_name"> 是否显示:<select name="is_show"> <option value="">请选择..</option> <option value="1">是</option> <option value="否">否</option> </select> 条件:<...
33,753
https://github.com/undeadinu/gavrog/blob/master/test/org/gavrog/joss/dsyms/basic/TestDSymbol.java
Github Open Source
Open Source
Apache-2.0
2,021
gavrog
undeadinu
Java
Code
676
2,214
/* Copyright 2005 Olaf Delgado-Friedrichs 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 agre...
2,547
https://github.com/andreilazar-dev/dh10_webapp/blob/master/src/main/java/com/dh10/dh10_web/controller/HomeController.java
Github Open Source
Open Source
MIT
2,021
dh10_webapp
andreilazar-dev
Java
Code
99
450
package com.dh10.dh10_web.controller; import javax.servlet.http.HttpSession; import com.dh10.access.model.beans.User; import com.dh10.dh10_web.model.LoginBean; import com.dh10.dh10_web.service.HomeService; import com.dh10.dh10_web.service.SinonymousService; import org.springframework.stereotype.Controller; import org...
16,495
https://github.com/RobertElderSoftware/recc/blob/master/kernel/recc.c
Github Open Source
Open Source
Apache-2.0
2,022
recc
RobertElderSoftware
C
Code
657
5,254
/* Copyright 2016 Robert Elder Software 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 b...
3,710
https://github.com/kangaroo/echojs/blob/master/test/spread7.js
Github Open Source
Open Source
MIT
2,015
echojs
kangaroo
JavaScript
Code
6
34
for (var x of [...[1,2,3,4,5,8,7]]) console.log(x);
33,335
https://github.com/Elvis97rus/GB_CookBook/blob/master/resources/views/admin/index.blade.php
Github Open Source
Open Source
MIT
2,021
GB_CookBook
Elvis97rus
Blade
Code
8
65
@extends('layouts.app') @include('admin.menu') @section('content') <div class="container-lg"> <h1>Админка</h1> </div> @endsection
3,410
https://github.com/felipeg48/lattice/blob/master/ltc/ssh/session.go
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,015
lattice
felipeg48
Go
Code
49
140
package ssh //go:generate counterfeiter -o mocks/fake_session.go . Session type Session interface { KeepAlive() (stopChan chan<- struct{}) Resize(width, height int) error Shell() error Run(string) error Wait() error Close() error } type SSHAPISessionFactory struct{} func (*SSHAPISessionFactory) New(client Clie...
18,074
https://github.com/MuTsunTsai/shrewd/blob/master/src/controllers/TerminationController.ts
Github Open Source
Open Source
MIT
2,021
shrewd
MuTsunTsai
TypeScript
Code
72
228
import { $shrewdObject, ShrewdObject, HiddenProperty } from "Index"; export class TerminationController { /** Objects to be terminated. */ private static readonly _queue: Set<ShrewdObject> = new Set(); public static $flush(): void { for(let shrewd of TerminationController._queue) { shrewd.$terminate(); } ...
47,100
https://github.com/NateTheGreatt/phaser/blob/master/dist/display3d/SetChildren3DValue.js
Github Open Source
Open Source
MIT
null
phaser
NateTheGreatt
JavaScript
Code
33
103
import { DepthFirstSearch3D } from "./DepthFirstSearch3D"; export function SetChildren3DValue(parent, property, value) { const children = DepthFirstSearch3D(parent); children.forEach((child) => { const descriptor = Object.getOwnPropertyDescriptor(child, property); if (descriptor) { descriptor.set(valu...
5,319
https://github.com/xinfox-ltd/think-component/blob/master/src/Service.php
Github Open Source
Open Source
Apache-2.0
2,021
think-component
xinfox-ltd
PHP
Code
102
439
<?php /** * [XinFox System] Copyright (c) 2011 - 2021 XINFOX.CN */ declare(strict_types=1); namespace XinFox\ThinkPHP; use Casbin\Enforcer; use Casbin\Model\Model; use XinFox\Auth\Auth; use XinFox\ThinkPHP\Command\AccessInit; use XinFox\ThinkPHP\Command\Initialize; use XinFox\ThinkPHP\Command\PermissionSet; use Xi...
36,146
https://github.com/KerwinMa/pyticketswitch/blob/master/tests/settings_test.py
Github Open Source
Open Source
MIT
2,016
pyticketswitch
KerwinMa
Python
Code
33
156
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function from pyticketswitch.settings import * API_URL = 'https://dogbex.ingresso.co.uk/cgi-bin/xml_core.exe' EXT_START_SESSION_URL = 'https://dogbex.ingresso.co.uk/cgi-bin/xml_start_session.exe' TEST_USERNAME = 'whitelabel-testuser' TES...
37,734
https://github.com/JasonMWebb/RCommon/blob/master/Src/RCommon.Validation/ValidationError.cs
Github Open Source
Open Source
Apache-2.0
2,021
RCommon
JasonMWebb
C#
Code
424
1,033
#region license //Copyright 2010 Ritesh Rao //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...
9,510
https://github.com/kvarcg/ingamefmscout/blob/master/FMScout10/FMScout/Controls/UserControls/TransitionPresenter/TranslateTransition.cs
Github Open Source
Open Source
MIT
2,019
ingamefmscout
kvarcg
C#
Code
220
678
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using System.Windows.Media.Animation; namespace FMScout.UserControls { // Applies a Translation to the content. You can specify the starting point of the new // content or the ending point of the old content using ...
32,293
https://github.com/huangaustin1991/austin_magento_2/blob/master/vendor/temando/module-shipping-m2/ViewModel/Rma/RmaShipment/Location.php
Github Open Source
Open Source
AFL-3.0
2,018
austin_magento_2
huangaustin1991
PHP
Code
253
994
<?php /** * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license */ namespace Temando\Shipping\ViewModel\Rma\RmaShipment; use Magento\Framework\View\Element\Block\ArgumentInterface; use Magento\Sales\Api\Data\OrderAddressInterfaceFactory; use Magento\Sales\Model\Order\Address\Rende...
14,023
https://github.com/kalyani1126/veggies/blob/master/src/main/java/com/vgs/ws/resource/InstanceFactory.java
Github Open Source
Open Source
Apache-2.0
null
veggies
kalyani1126
Java
Code
135
396
package com.vgs.ws.resource; import org.apache.log4j.Logger; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBException; import javax.xml.datatype.DatatypeConfigurationException; import javax.xml.datatype.DatatypeFactory; /** * @author Santosh.Kumar * Date : Sep 25, 2016 */ /** * This classed is us...
28,895
https://github.com/Pxtl/Sandra.Snow/blob/master/src/Barbato/Content/Scripts/app.js
Github Open Source
Open Source
MIT
2,022
Sandra.Snow
Pxtl
JavaScript
Code
213
731
var app; (function () { 'use strict'; app = angular.module('barbato', ['ui.utils']). config(function ($routeProvider) { $routeProvider. when('/:githubUser', { controller: 'ReposController', templateUrl: '/Content/templ...
23,728