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/diedekerkhof/iaf/blob/master/frankDoc/src/test/java/nl/nn/adapterframework/frankdoc/testtarget/plural/config/defaultClassname/IInterface1.java
Github Open Source
Open Source
Apache-2.0
2,022
iaf
diedekerkhof
Java
Code
7
37
package nl.nn.adapterframework.frankdoc.testtarget.plural.config.defaultClassname; public interface IInterface1 { }
52,369
https://github.com/hushilin/iOS1351Headers/blob/master/System/Library/PrivateFrameworks/WorkflowUI.framework/Frameworks/ComponentKit.framework/CKTextKitContext.h
Github Open Source
Open Source
MIT
2,021
iOS1351Headers
hushilin
Objective-C
Code
82
298
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, October 27, 2021 at 3:23:08 PM Mountain Standard Time * Operating System: Version 13.5.1 (Build 17F80) * Image Source: /System/Library/PrivateFrameworks/Workflo...
29,006
https://github.com/psevdo/sh/blob/master/modules/sh/entities/hobby/Hobby.php
Github Open Source
Open Source
BSD-3-Clause
2,017
sh
psevdo
PHP
Code
98
288
<?php /** * Created by PhpStorm. * User: Psevdo * Date: 11.10.2017 * Time: 15:06 */ namespace app\modules\sh\entities\hobby; class Hobby { private $_id; private $_title; private $_sex; private $_sort; public function __construct($id, $title, $sex, $sort) { $this->_id = $id; $this->_title = $title; ...
49,328
https://github.com/usc-isi-i2/datamart/blob/master/datamart/metadata/variable_metadata.py
Github Open Source
Open Source
MIT
2,019
datamart
usc-isi-i2
Python
Code
186
844
from datamart.metadata.metadata_base import MetadataBase from datamart.utilities.utils import Utils import typing class VariableMetadata(MetadataBase): def __init__(self, description: dict, datamart_id: typing.Union[int, None] = None) -> None: """Init method of VariableMetadata. Args: ...
48,363
https://github.com/bavery22/stx-integ/blob/master/networking/scapy/centos/patches/0001-Use-socket.pton-socket.ntop-is-available.patch
Github Open Source
Open Source
Apache-2.0
null
stx-integ
bavery22
null
Spoken
277
773
From 333afaf9b1a30acbf5279b04e33d9469d97ee24d Mon Sep 17 00:00:00 2001 From: Guillaume Valadon <guillaume.valadon@ssi.gouv.fr> Date: Thu, 24 Nov 2016 16:13:05 +0100 Subject: [PATCH] Use socket.pton & socket.ntop is available Signed-off-by: Allain Legacy <allain.legacy@windriver.com> --- scapy/pton_ntop.py | 28 ++++++...
39,011
https://github.com/mikepxq/react-antd-template/blob/master/src/styles/theme/v1/init-reset-antd.less
Github Open Source
Open Source
MIT
2,021
react-antd-template
mikepxq
Less
Code
8
36
.ant-collapse-header { .arrow { transition: @ant-collapse-arrow-transition-time; } }
28,426
https://github.com/moneytech/event-formation-unit/blob/master/src/loki/geometry/PanelGeometry.h
Github Open Source
Open Source
BSD-2-Clause, BSD-3-Clause
2,020
event-formation-unit
moneytech
C++
Code
636
1,629
/* Copyright (C) 2019 European Spallation Source, ERIC. See LICENSE file */ //===----------------------------------------------------------------------===// /// /// \file /// /// \brief Loki Panel Geometry /// /// Currently this will only support 2D geometry /// //===----------------------------------------------------...
16,569
https://github.com/AnnaSearl/anna-native/blob/master/docs/components/data-entry/stepper/index.tsx
Github Open Source
Open Source
MIT
2,021
anna-native
AnnaSearl
TSX
Code
84
263
import React from 'react'; import { View } from 'react-native'; import { Stepper } from 'anna-native'; const rowStyle = { padding: 10, backgroundColor: '#FFFFFF', }; export default () => { const [number, setNumber] = React.useState(1); const [number1, setNumber1] = React.useState(5); const [number2, setNumb...
45,724
https://github.com/mfdev1/DefinitelyTyped/blob/master/angular-storage/angular-storage-tests.ts
Github Open Source
Open Source
MIT
2,018
DefinitelyTyped
mfdev1
TypeScript
Code
101
393
/// <reference path='../angularjs/angular.d.ts' /> /// <reference path='angular-storage.d.ts' /> // Samples taken from the a0-angular-storage Readme.md var app = angular.module('angular-storage-tests', ['angular-storage']); angular.module('angular-storage-tests') .controller('StoreController', function(store: angula...
22,451
https://github.com/Higgcz/Buildasaur/blob/master/Buildasaur/BuildTemplateViewController.swift
Github Open Source
Open Source
MIT
2,015
Buildasaur
Higgcz
Swift
Code
1,575
5,122
// // BuildTemplateViewController.swift // Buildasaur // // Created by Honza Dvorsky on 09/03/15. // Copyright (c) 2015 Honza Dvorsky. All rights reserved. // import Foundation import AppKit import BuildaUtils import XcodeServerSDK import BuildaKit class BuildTemplateViewController: SetupViewController, NSComboBo...
23,832
https://github.com/MatheusDuarte97/ExerciciosEmC/blob/master/Algortimo 1/Unidade 3 PG 114/01.c
Github Open Source
Open Source
MIT
null
ExerciciosEmC
MatheusDuarte97
C
Code
34
106
#include<stdio.h> #include<locale.h> int main() { setlocale(LC_ALL, ""); int fat, cont; scanf("%d", &fat); cont = fat; while (cont > 1) { cont = cont - 1; fat = fat * cont; } printf("%d", fat); }
13,478
https://github.com/DuyDN/VarNote/blob/master/src/test/java/org/mulinlab/varnote/filter/LocFilterIteratorTest.java
Github Open Source
Open Source
BSD-3-Clause
2,020
VarNote
DuyDN
Java
Code
248
1,088
package org.mulinlab.varnote.filter; import htsjdk.variant.vcf.VCFHeader; import org.apache.logging.log4j.Logger; import org.junit.Test; import org.mulinlab.varnote.config.anno.databse.VCFParser; import org.mulinlab.varnote.filters.iterator.LineFilterIterator; import org.mulinlab.varnote.filters.iterator.LocFilterIter...
10,648
https://github.com/teymour-aldridge/techy/blob/master/example/as-gulp-plugin/themes/default/css/styles.js
Github Open Source
Open Source
MIT
2,021
techy
teymour-aldridge
JavaScript
Code
75
319
module.exports = function(api) { api.settings = { // colors bgColor: '#FFF', textColor: '#313131', textColorLight: '#C1C1C1', borderColor: '#999', brandColor1: '#DC4141', // text font: "'Average Sans', sans-serif", fontSize: '20px', lowFontSize: '18px', lineHeight: '34px', lowLineHeight: '28...
30,153
https://github.com/RuntimeConverter/RuntimeConverterLaravelJava/blob/master/laravel-converted/src/main/java/com/project/convertedCode/globalNamespace/namespaces/Ramsey/namespaces/Uuid/namespaces/Generator/classes/MtRandGenerator.java
Github Open Source
Open Source
MIT
null
RuntimeConverterLaravelJava
RuntimeConverter
Java
Code
234
1,090
package com.project.convertedCode.globalNamespace.namespaces.Ramsey.namespaces.Uuid.namespaces.Generator.classes; import com.runtimeconverter.runtime.references.ReferenceContainer; import com.runtimeconverter.runtime.passByReference.PassByReferenceArgs; import com.runtimeconverter.runtime.references.BasicReferenceCont...
21,787
https://github.com/pbrunet/nt2/blob/master/modules/core/hyperbolic/include/nt2/hyperbolic/functions/sinhcosh.hpp
Github Open Source
Open Source
BSL-1.0
null
nt2
pbrunet
C++
Code
208
628
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
12,098
https://github.com/LukeChannings/snowpack/blob/master/test/snowpack/plugin/babel/index.test.js
Github Open Source
Open Source
MIT
2,020
snowpack
LukeChannings
JavaScript
Code
123
526
const {testFixture} = require('../../../fixture-utils'); const dedent = require('dedent'); describe('plugin', () => { beforeAll(() => { // Needed until we make Snowpack's JS Build Interface quiet by default require('snowpack').logger.level = 'error'; }); it('@snowpack/plugin-babel runs before esbuild', ...
41,828
https://github.com/wellington/go-libsass/blob/master/libs/position.hpp
Github Open Source
Open Source
Apache-2.0
2,023
go-libsass
wellington
C++
Code
5
26
#ifndef USE_LIBSASS #include "../libsass-build/position.hpp" #endif
53,546
https://github.com/khamutov/intellij-scala/blob/master/scala/scala-impl/testdata/resolve/class/companion/CaseClass.scala
Github Open Source
Open Source
Apache-2.0
2,022
intellij-scala
khamutov
Scala
Code
18
43
class CaseClass { object Y { def foo: Int = 34 } case class Y(x: Int) <ref>Y.foo }
48,080
https://github.com/perlausten/org.openntf.domino/blob/master/domino/core/src/main/java/org/openntf/domino/nsfdata/structs/cd/CDGRAPHIC.java
Github Open Source
Open Source
Apache-2.0
2,022
org.openntf.domino
perlausten
Java
Code
230
490
/** * Copyright © 2013-2021 The OpenNTF Domino API Team * * 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 appl...
35,375
https://github.com/AustinShalit/frc-docs-translations/blob/master/locale/es/LC_MESSAGES/docs/software/examples-tutorials/trajectory-tutorial/creating-drive-subsystem.po
Github Open Source
Open Source
CC-BY-4.0
2,021
frc-docs-translations
AustinShalit
Gettext Catalog
Code
1,255
3,686
# SOME DESCRIPTIVE TITLE. # Copyright (C) 2021, FIRST and other WPILib Contributors # This file is distributed under the same license as the FIRST Robotics Competition package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # # Translators: # Heber Sepúlveda <heber.sepulveda.m@gmail.com>, 2020 # Lian Eng <lianengc@gmail.com>, ...
3,979
https://github.com/twairball/tensor2gan/blob/master/tensor2gan/utils/registry.py
Github Open Source
Open Source
MIT
2,018
tensor2gan
twairball
Python
Code
274
909
from __future__ import absolute_import from __future__ import division from __future__ import print_function import re """ Alot of borrowed concepts from tensor2tensor.utils.registry """ # Camel case to snake case _first_cap_re = re.compile("(.)([A-Z][a-z0-9]+)") _all_cap_re = re.compile("([a-z0-9])([A-Z])") def _...
35,624
https://github.com/FalxDrako/MudBlazor/blob/master/src/MudBlazor/Components/DataGrid/Cell.razor.cs
Github Open Source
Open Source
MIT
2,022
MudBlazor
FalxDrako
C#
Code
613
1,821
// Copyright (c) MudBlazor 2021 // MudBlazor licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Linq; using System.Text.Json; using System.Threading.Tasks; using System.Windows.Input; using Mic...
42,038
https://github.com/rails/rails/blob/master/railties/test/engine_test.rb
Github Open Source
Open Source
MIT, Ruby
2,023
rails
rails
Ruby
Code
57
174
# frozen_string_literal: true require "abstract_unit" class EngineTest < ActiveSupport::TestCase test "reports routes as available only if they're actually present" do engine = Class.new(Rails::Engine) do def initialize(*args) @routes = nil super end end assert_not_predicate...
11,547
https://github.com/MykolaVoitovych/tamagochi/blob/master/app/Repositories/PetRepository.php
Github Open Source
Open Source
MIT
null
tamagochi
MykolaVoitovych
PHP
Code
116
475
<?php namespace App\Repositories; use App\Events\UpdatePet; use App\Models\AttributePet; use App\Models\Attribute; use App\Models\Pet; class PetRepository { protected $settings; public function __construct(Attribute $settings) { $this->settings = $settings; } public function decrease(...
44,384
https://github.com/kesne/babel-plugin-compileOut-decorator/blob/master/src/index.js
Github Open Source
Open Source
MIT
null
babel-plugin-compileOut-decorator
kesne
JavaScript
Code
167
387
const environment = process.env.NODE_ENV || 'development'; export default function ({ Plugin, types: t }) { return new Plugin('compileout-decorator', { visitor: { Decorator(node, parent) { // Get the decorator expression: let expression = this.get('expression'); // The simple case:...
993
https://github.com/cahirwpz/demoscene/blob/master/prototypes/uvmap/uvmap.pde
Github Open Source
Open Source
Artistic-2.0
2,023
demoscene
cahirwpz
null
Spoken
280
749
float frpart(float x) { return x - floor(x); } class UVCoord { float u, v, w; } interface UVGenerator { void calculate(UVCoord p, float x, float y); } class UVMap { UVCoord[][] map; PImage texture; int width, height; UVMap(int width, int height) { this.width = width; this.height = height; ...
53,756
https://github.com/AsmodeoSins/SSPE2017/blob/master/ControlPenales/Procesos/Actividades/ListaActividades/ViewModels/ViewModelActividades/Variables.cs
Github Open Source
Open Source
ISC
2,017
SSPE2017
AsmodeoSins
C#
Code
1,211
3,391
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SSP.Controlador.Catalogo.Justicia.Actividades; using SSP.Servidor; using ControlPenales.Clases.ControlInternos; using DPUruNet; using ControlPenales.Clases.ControlProgramas; using MahApps.Metro.Controls; using ControlPenales.Bi...
54,174
https://github.com/mhbeals/sap_reprints/blob/master/Outputs/titles/issuepercentage/BristolMercury/1856_07.tsv
Github Open Source
Open Source
CC-BY-4.0
2,017
sap_reprints
mhbeals
TSV
Code
8
76
1856.07.05_BristolMercury 0.034138 1856.07.12_BristolMercury 0.166710 1856.07.19_BristolMercury 0.123054 1856.07.26_BristolMercury 0.127089
50,565
https://github.com/xgouchet/Stanley/blob/master/app/src/main/java/fr/xgouchet/packageexplorer/parser/CompressedXmlParserListener.kt
Github Open Source
Open Source
MIT
2,022
Stanley
xgouchet
Kotlin
Code
298
565
package fr.xgouchet.packageexplorer.parser interface CompressedXmlParserListener { /** * Receive notification of the beginning of a document. */ fun startDocument() /** * Receive notification of the end of a document. */ fun endDocument() /** * Begin the scope of a prefi...
89
https://github.com/je9000/synfrag/blob/master/constants.h
Github Open Source
Open Source
BSD-3-Clause
2,021
synfrag
je9000
C
Code
401
822
/* * Copyright (c) 2012, Yahoo! 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: * * Redistributions of source code must retain the above copyright notice, * this list of condition...
48,432
https://github.com/joeyhage/oauth.websample.final/blob/master/spa/src/views/transactions/transactionsContainerProps.ts
Github Open Source
Open Source
MIT
2,022
oauth.websample.final
joeyhage
TypeScript
Code
36
91
import {RouteComponentProps} from 'react-router-dom'; import {TransactionsContainerViewModel} from './transactionsContainerViewModel'; /* * Input to the transactions container */ export interface TransactionsContainerProps extends RouteComponentProps<{id: string}> { // Path parameters params?: {id: string};...
19,862
https://github.com/Zerquix18/snapshot/blob/master/src/components/Ui/Collapsible.vue
Github Open Source
Open Source
MIT
2,021
snapshot
Zerquix18
Vue
Code
142
523
<script setup> defineProps({ open: Boolean, title: String, number: Number, hideRemove: Boolean, borderless: Boolean }); defineEmits(['remove', 'toggle']); </script> <template> <div class="w-full collapsible-container" v-bind:class="{ borderless }"> <div class="px-2 collapsible-header flex"> <div...
39,002
https://github.com/flecoqui/Windows10/blob/master/Samples/LegacyHLSPlayer/cs/Microsoft.HLSClient/EncryptionKey.cpp
Github Open Source
Open Source
MIT
2,019
Windows10
flecoqui
C++
Code
664
2,222
/********************************************************************************************************************* Microsft HLS SDK for Windows Copyright (c) Microsoft Corporation All rights reserved. MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and a...
43,339
https://github.com/btomala/sbt-plantuml-plugin/blob/master/src/main/java/net/sourceforge/plantuml/graphic/TextBlockUtils.java
Github Open Source
Open Source
Apache-2.0
2,016
sbt-plantuml-plugin
btomala
Java
Code
785
2,753
/* ======================================================================== * PlantUML : a free UML diagram generator * ======================================================================== * * (C) Copyright 2009-2014, Arnaud Roques * * Project Info: http://plantuml.sourceforge.net * * This file is part of...
28,846
https://github.com/scala-steward/csw/blob/master/csw-params/shared/src/main/scala/csw/params/core/models/MatrixData.scala
Github Open Source
Open Source
Apache-2.0
2,022
csw
scala-steward
Scala
Code
235
580
package csw.params.core.models import java.util import scala.annotation.{nowarn, varargs} import scala.collection.mutable import scala.jdk.CollectionConverters._ import scala.language.implicitConversions import scala.reflect.ClassTag /** * A top level key for a parameter set representing an matrix like collection. ...
17,203
https://github.com/matheuscarv69/Orange-Talents/blob/master/Desafios Orange/desafio-pix/KeyManager-GRPC/src/main/kotlin/br/com/zup/pix/compartilhado/handlers/errors/DefaultExceptionHandler.kt
Github Open Source
Open Source
MIT
2,021
Orange-Talents
matheuscarv69
Kotlin
Code
50
194
package br.com.zup.pix.compartilhado.handlers.errors import br.com.zup.pix.compartilhado.handlers.ExceptionHandler import io.grpc.Status class DefaultExceptionHandler : ExceptionHandler<Exception> { override fun handle(e: Exception): ExceptionHandler.StatusWithDetails { val status = when (e) { ...
42,932
https://github.com/la-flute/faluche-troyenne-api/blob/master/src/api/controllers/users/user.attestation.js
Github Open Source
Open Source
MIT
null
faluche-troyenne-api
la-flute
JavaScript
Code
80
280
const { check } = require('express-validator/check') const validateBody = require('../../middlewares/validateBody') const isAuth = require('../../middlewares/isAuth') const errorHandler = require('../../utils/errorHandler') const log = require('../../utils/log')(module) const pick = require('lodash.pick') /** * POST ...
36,403
https://github.com/Aeronica/MCJammer-1.7.10/blob/master/src/main/java/net/aeronica/mods/mcjammer/client/render/PlacardRender.java
Github Open Source
Open Source
Apache-2.0
null
MCJammer-1.7.10
Aeronica
Java
Code
423
1,852
package net.aeronica.mods.mcjammer.client.render; import net.aeronica.mods.mcjammer.common.entity.PlacardEntity; import net.aeronica.mods.mcjammer.common.libs.ModInfo; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.entity.Render; import net...
43,264
https://github.com/airshiplay/play-mall/blob/master/play-mall-wechat/pages/shop-cart/index.js
Github Open Source
Open Source
Apache-2.0
null
play-mall
airshiplay
JavaScript
Code
921
3,942
//index.js var app = getApp() Page({ data: { goodsList:{ saveHidden:true, totalPrice:0, totalScoreToPay: 0, allSelect:true, noSelect:false, list:[] }, delBtnWidth:120, //删除按钮宽度单位(rpx) }, //获取元素自适应后的实际宽度 getEleWidth:function(w){ var real = 0; try { ...
10,766
https://github.com/ex-agora/ExploreAgora/blob/master/Assets/Project - Agora/Anim/Animations/Animation Clips/SpeechBubble/ShowClip.anim.meta
Github Open Source
Open Source
MIT
2,021
ExploreAgora
ex-agora
Unity3D Asset
Code
12
67
fileFormatVersion: 2 guid: 237af2f230f94eb4f9d3983fc4a25075 NativeFormatImporter: externalObjects: {} mainObjectFileID: 7400000 userData: assetBundleName: assetBundleVariant:
45,048
https://github.com/ParadigmShift1259/Swerve2021/blob/master/src/main/include/Constants.h
Github Open Source
Open Source
BSD-3-Clause
null
Swerve2021
ParadigmShift1259
C
Code
995
2,586
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2019 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
12,772
https://github.com/bencrawford26/Portfolio/blob/master/HNDGradedUnit/js/extras/Ben-p5/sketch.js
Github Open Source
Open Source
MIT
2,019
Portfolio
bencrawford26
JavaScript
Code
9
24
function setup() { createCanvas(800,400); } function draw() { }
29,572
https://github.com/KevinSmile/SQL-Image/blob/master/fsql-img/parser/source.go
Github Open Source
Open Source
MIT
2,019
SQL-Image
KevinSmile
Go
Code
141
406
package parser import ( "fmt" "path/filepath" "github.com/KevinSmile/SQL-Image/fsql-img/tokenizer" ) // parseSourceList parses the list of directories passed to the FROM clause. If // a source is followed by the AS keyword, the following word is registered as // an alias. func (p *parser) parseSourceList(sources ...
2,880
https://github.com/lpi/codeforces-go/blob/master/main/edu/2/binarysearch/step5/a/main.go
Github Open Source
Open Source
MIT
2,022
codeforces-go
lpi
Go
Code
149
383
package main import ( "bufio" . "fmt" "io" "os" ) // github.com/EndlessCheng/codeforces-go func run(_r io.Reader, out io.Writer) { in := bufio.NewReader(_r) type pair struct{ l, r int64 } var n, k int64 Fscan(in, &n, &k) a := make([]pair, n) for i := range a { Fscan(in, &a[i].l, &a[i].r) } search := fu...
5,994
https://github.com/USC-ACTLab/crazyflie_ros/blob/master/crazyflie_tools/src/packetDropTest.cpp
Github Open Source
Open Source
MIT
2,018
crazyflie_ros
USC-ACTLab
C++
Code
137
540
#include <iostream> #include <thread> #include <boost/program_options.hpp> #include <crazyflie_cpp/Crazyflie.h> int main(int argc, char **argv) { std::string uri; std::string defaultUri("radio://0/80/2M/E7E7E7E7E7"); uint32_t numPackets = 1000; uint32_t delay = 10; namespace po = boost::program_options; ...
12,638
https://github.com/neoneye/loda-programs/blob/master/oeis/176/A176891.asm
Github Open Source
Open Source
Apache-2.0
2,022
loda-programs
neoneye
Assembly
Code
50
324
; A176891: Triangle T(n,k) = k if k<n and k|n, = 0 otherwise, 1 <= k <= n; read by rows. ; Submitted by Christian Krause ; 1,1,0,1,0,0,1,2,0,0,1,0,0,0,0,1,2,3,0,0,0,1,0,0,0,0,0,0,1,2,0,4,0,0,0,0,1,0,3,0,0,0,0,0,0,1,2,0,0,5,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,2,3,4,0,6,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,2,0,0,0,0,7,0...
5,885
https://github.com/hons82/PicoKit/blob/master/Tests/picoTest/CaseTest.m
Github Open Source
Open Source
MIT
2,015
PicoKit
hons82
Objective-C
Code
540
2,168
// // CaseTest.m // picoTest // // Created by bulldog on 13-2-27. // Copyright (c) 2013 LeanSoft Technology. All rights reserved. // #import "PicoTestBase.h" #import "OrderedDictionary.h" @interface TextEntry : NSObject <PicoBindable> { @private NSNumber *_id; NSString *_text; } @property (nonatomic, str...
5,219
https://github.com/aliyun/aliyun-openapi-java-sdk/blob/master/aliyun-java-sdk-market/src/main/java/com/aliyuncs/market/transform/v20151101/DescribeProductResponseUnmarshaller.java
Github Open Source
Open Source
Apache-2.0
2,023
aliyun-openapi-java-sdk
aliyun
Java
Code
506
2,877
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
50,386
https://github.com/delsoft/shopping_mall/blob/master/Gemfile
Github Open Source
Open Source
MIT
2,017
shopping_mall
delsoft
Ruby
Code
14
72
source 'https://rubygems.org' # gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '3-3-stable' gem 'spree_auth_devise', '~> 3.3' gemspec
10,464
https://github.com/mirkomaty/NDO/blob/master/NDODLL/Linq/VirtualTable.cs
Github Open Source
Open Source
MIT
null
NDO
mirkomaty
C#
Code
1,398
3,957
// // Copyright (c) 2002-2016 Mirko Matytschak // (www.netdataobjects.de) // // Author: Mirko Matytschak // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // documentation files (the "Software"), to deal in the Software without restriction, including w...
11,815
https://github.com/kimch2/1234ewsd/blob/master/Assets/Scripts/Hall/View/TaskWindows/TaskBindWechatView.cs
Github Open Source
Open Source
MIT
2,020
1234ewsd
kimch2
C#
Code
194
887
using System.Collections; using System.Collections.Generic; using YxFramwork.Common.Model; using YxFramwork.Framework.Core; using YxFramwork.Manager; using YxFramwork.View; namespace Assets.Scripts.Hall.View.TaskWindows { public class TaskBindWechatView : TaskBasseView { /// <summary> ///微信输入 ...
50,887
https://github.com/wikimedia/wikipedia-ios/blob/master/WikipediaUnitTests/Code/Notifications Tests/NotificationsCenterCellViewModelWelcomeTests.swift
Github Open Source
Open Source
MIT
2,023
wikipedia-ios
wikimedia
Swift
Code
197
718
import XCTest @testable import Wikipedia class NotificationsCenterCellViewModelWelcomeTests: NotificationsCenterViewModelTests { override var dataFileName: String { return "notifications-welcome" } func testWelcome() throws { let notification = try fetchManagedObject(identifi...
47,928
https://github.com/rohankhera/dicom-server/blob/master/converter/dicom-cast/src/Microsoft.Health.DicomCast.Core/Features/Worker/IChangeFeedProcessor.cs
Github Open Source
Open Source
MIT
2,022
dicom-server
rohankhera
C#
Code
92
227
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
37,978
https://github.com/chainpool/eosTransferSamples/blob/master/src/main/java/client/domain/response/chain/account/Account.java
Github Open Source
Open Source
MIT
2,018
eosTransferSamples
chainpool
Java
Code
138
515
package client.domain.response.chain.account; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; @JsonIgnoreProperties(ignoreUnknown = true) public class Account { private String accountName; private String eosBalance;...
14,007
https://github.com/alzimmermsft/azure-sdk-for-java/blob/master/sdk/devcenter/azure-resourcemanager-devcenter/src/test/java/com/azure/resourcemanager/devcenter/generated/ProjectInnerTests.java
Github Open Source
Open Source
LGPL-2.1-or-later, BSD-3-Clause, MIT, Apache-2.0, LicenseRef-scancode-public-domain, BSD-2-Clause, LicenseRef-scancode-warranty-disclaimer, LicenseRef-scancode-unknown-license-reference, CC0-1.0, LicenseRef-scancode-generic-cla
2,023
azure-sdk-for-java
alzimmermsft
Java
Code
140
726
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.devcenter.generated; import com.azure.core.util.BinaryData; import com.azure.resourcemanager.devcenter.fluent.models.ProjectInne...
33,787
https://github.com/JamesCao2048/BlizzardData/blob/master/Corpus/birt/573.java
Github Open Source
Open Source
MIT
2,022
BlizzardData
JamesCao2048
Java
Code
106
247
/******************************************************************************* * Copyright (c) 2012 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availabl...
21,903
https://github.com/CoalSpider/Random-Javascript-Game-Prototypes/blob/master/turretGame/components.js
Github Open Source
Open Source
MIT
null
Random-Javascript-Game-Prototypes
CoalSpider
JavaScript
Code
1,651
5,275
var ComponentID = { PHYSICAL: 0, HEALTH: 1, COLLISION: 2, AI: 3, RENDER: 4, SPAWN: 5, SHOOTER: 6, } var EntityID = { BULLET: -1, PLAYER: 0, RUNNER: 1, CHASER: 2, DARTER: 3, SPAWNER: 10, AMALGAMATE: 100, } var RatioTable = { runner: 0, chaser: 0, dar...
5,830
https://github.com/TheTimidShade/Timid-Cloak/blob/master/scripts/tts_cloak/functions/fn_cloakAI.sqf
Github Open Source
Open Source
Naumen, Condor-1.1, MS-PL
2,021
Timid-Cloak
TheTimidShade
SQF
Code
368
978
/* Author: TheTimidShade Description: Puts an AI unit in cloaked state for the given number of seconds. Parameters: 0: OBJECT - Unit to be cloaked. 1: (OPTIONAL) NUMBER - Duration of cloak state in seconds. (Default 30s) Returns: NOTHING Execution: Should be executed on server or host player but ca...
7,068
https://github.com/HewlettPackard/SimpliVity-Citrix-VCenter-Plugin/blob/master/HTML5/dev/simplivity-citrixplugin-service/src/main/java/com/vmware/pbm/PbmCapabilityProfile.java
Github Open Source
Open Source
Apache-2.0
null
SimpliVity-Citrix-VCenter-Plugin
HewlettPackard
Java
Code
197
595
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2019.06.12 at 09:16:3...
33,382
https://github.com/Bandd-k/Fx/blob/master/Source/OptionalType.swift
Github Open Source
Open Source
MIT
2,018
Fx
Bandd-k
Swift
Code
56
123
public protocol OptionalType { associatedtype A var optional: A? { get } } extension Optional: OptionalType { public var optional: Wrapped? { return self } } public extension Optional { /// Runs function if some @discardableResult func with(_ f: Sink<Wrapped>) -> Wrapped? { if case .some(let x) = self { f...
18,216
https://github.com/bloomberg/bde-allocator-benchmarks/blob/master/benchmarks/allocators/results/intel-gcc-scheduleAS1-20150709/oz15.8
Github Open Source
Open Source
Apache-2.0
2,022
bde-allocator-benchmarks
bloomberg
null
Spoken
3,072
7,715
nS = -15 iL = 15 aC = 0 cC = 5 it = 256 nS = 1 iL = 32768 aC = 0 cC = 163840 it = 256 minLen = 32768, maxLen = 32768, diff = 0 0.02user 0.00system 0:00.03elapsed 93%CPU (0avgtext+0avgdata 4248maxresident)k 0inputs+0outputs (0major+380minor)pagefaults 0swaps nS = -15 iL = 15 aC = 1 cC = 5 it = 256 nS = 1 iL = 32768 a...
35,087
https://github.com/TeamTessie/hoodietodo/blob/master/hoodietodo/node_modules/hapi-couchdb-store/node_modules/pouchdb-hoodie-store/node_modules/pouchdb-hoodie-api/helpers/add-one.js
Github Open Source
Open Source
MIT
2,015
hoodietodo
TeamTessie
JavaScript
Code
52
157
'use strict' var toDoc = require('../utils/to-doc') module.exports = function addOne (object) { var Promise = this.constructor.utils.Promise var errors = this.constructor.Errors if (typeof object !== 'object') { return Promise.reject(errors.NOT_AN_OBJECT) } var method = object.id ? 'put' : 'post' r...
51,771
https://github.com/nats-io/nats.rs/blob/master/async-nats/src/status.rs
Github Open Source
Open Source
Apache-2.0
2,023
nats.rs
nats-io
Rust
Code
902
2,427
// Copyright 2020-2023 The NATS 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 agreed to ...
49,037
https://github.com/artonio/hapi-fhir/blob/master/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/config/TestR4ConfigWithElasticSearch.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-warranty-disclaimer
2,020
hapi-fhir
artonio
Java
Code
142
761
package ca.uhn.fhir.jpa.config; import ca.uhn.fhir.context.ConfigurationException; import ca.uhn.fhir.jpa.search.elastic.ElasticsearchHibernatePropertiesBuilder; import org.hibernate.search.elasticsearch.cfg.ElasticsearchIndexStatus; import org.hibernate.search.elasticsearch.cfg.IndexSchemaManagementStrategy; import o...
38,224
https://github.com/windystrife/UnrealEngine_NVIDIAGameWorks/blob/master/Engine/Source/Editor/UnrealEd/Public/SViewportToolBar.h
Github Open Source
Open Source
MIT, LicenseRef-scancode-proprietary-license
2,022
UnrealEngine_NVIDIAGameWorks
windystrife
C++
Code
274
613
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "Engine/EngineBaseTypes.h" #include "Widgets/DeclarativeSyntaxSupport.h" #include "Widgets/SCompoundWidget.h" #include "Animation/CurveSequence.h" class SMenuAnchor; /** * A level viewport toolbar widget th...
23,407
https://github.com/bisguzar/coogger/blob/master/coogger/urls.py
Github Open Source
Open Source
MIT
null
coogger
bisguzar
Python
Code
69
420
from django.conf import settings from django.conf.urls.static import static from django.contrib import admin from django.urls import include, path from .utils import just_redirect_by_name # common addresses urlpatterns = [ path("accounts/github/", include("github_auth.urls")), path("follow/", include("django_...
35,678
https://github.com/mp5maker/library/blob/master/python/django-app/core/migrations/0002_auto_20190822_2246.py
Github Open Source
Open Source
MIT
null
library
mp5maker
Python
Code
60
324
# Generated by Django 2.2.4 on 2019-08-22 16:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0001_initial'), ] operations = [ migrations.AlterField( model_name='customuser', name='date_of_birth', ...
32,273
https://github.com/sotaoverride/backup/blob/master/test/openpower-pels/pel_utils.hpp
Github Open Source
Open Source
Apache-2.0
null
backup
sotaoverride
C++
Code
170
562
#include "extensions/openpower-pels/paths.hpp" #include <filesystem> #include <memory> #include <vector> #include <gtest/gtest.h> /** * @brief Test fixture to remove the pelID file that PELs use. */ class CleanLogID : public ::testing::Test { protected: static void SetUpTestCase() { pelIDFile = o...
28,561
https://github.com/angery/ruoyi-ant-oracle/blob/master/node_modules/viser/es/components/setGuideConfig.js
Github Open Source
Open Source
MIT
2,021
ruoyi-ant-oracle
angery
JavaScript
Code
287
843
var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } r...
25,440
https://github.com/tumbling-dice/Hatate/blob/master/src/inujini_/hatate/data/SpellCardHistory.java
Github Open Source
Open Source
MIT
null
Hatate
tumbling-dice
Java
Code
87
360
/** * HatateHoutyouAlarm * * Copyright (c) 2014 @inujini_ (https://twitter.com/inujini_) * * This software is released under the MIT License. * http://opensource.org/licenses/mit-license.php */ package inujini_.hatate.data; import java.io.Serializable; import inujini_.sqlite.meta.ISqlite; import inujini_.sqli...
41,972
https://github.com/c0ze/kiiss/blob/master/js/controllers/login_controller.coffee
Github Open Source
Open Source
MIT
null
kiiss
c0ze
CoffeeScript
Code
22
71
--- --- app.controller 'LoginCtrl', ['$scope', 'UserService', ($scope, UserService) -> $scope.login = () -> UserService.login $scope.user $scope.register = () -> UserService.register $scope.user ]
33,767
https://github.com/breakds/nixos-home/blob/master/by-user/breakds/xsession.nix
Github Open Source
Open Source
MIT
null
nixos-home
breakds
null
Spoken
694
2,004
{ config, lib, pkgs, ... }: let cfg = config.home.bds; in { options.home.bds = with lib; { laptopXsession = mkOption { type = types.bool; description = "When set to true, enable graphical settings for laptop"; default = false; }; }; config = { xsession = { enable = true; ...
28,179
https://github.com/marechalbati/phaser-1/blob/master/dist/components/transform/GetScaleX.d.ts
Github Open Source
Open Source
MIT
2,021
phaser-1
marechalbati
TypeScript
Code
8
30
export declare function GetScaleX(id: number): number; //# sourceMappingURL=GetScaleX.d.ts.map
17,007
https://github.com/epirir/apollo/blob/master/resources/lang/de/locale.php
Github Open Source
Open Source
MIT
2,021
apollo
epirir
PHP
Code
39
121
<?php return [ "Dashboard" => "Instrumententafel", "Starter kit" => "Starter-Kit", "2 Columns" => "2 Spalten", "Fixed Navbar" => "Navbar behoben", "Floating Navbar" => "Schwimmende Navbar", "Fixed Layout" => "Festes Layout", "Raise Support" => "Unterstützung erhöhen", "Documentation" => "Dokumentation"...
42,558
https://github.com/adeojoemmanuel/groups-fitted/blob/master/src/groups/models/group-outfit-buyers.ts
Github Open Source
Open Source
MIT
null
groups-fitted
adeojoemmanuel
TypeScript
Code
159
481
import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose'; import { boolean } from 'joi'; import * as mongoose from 'mongoose'; import { OutfitBuyer } from '../../users/models/outfit-buyer.schema'; import { UserAccount } from '../../users/models/user-account.schema'; import { Gender } from '../../utils/enums/gende...
33,285
https://github.com/Ankush34/Studies/blob/master/my backup online site/homedir/public_html/work/get_addresses.php
Github Open Source
Open Source
Apache-2.0
2,018
Studies
Ankush34
PHP
Code
66
295
<?php $con = mysqli_connect("localhost","KhuranaSales","9270481042khurana","KhuranaSalesRastapeth") or die('Unable to Connect'); $db = mysqli_select_db($con,"KhuranaSalesRastapeth") or die(mysqli_error()); $customer_id = $_GET["customer_id"]; $result = mysqli_query($con,"SELECT * FROM khurana_sales_delivery_addresse...
830
https://github.com/djsteinmetz/headstart/blob/master/src/UI/Seller/src/app/auth/containers/reset-password/reset-password.component.ts
Github Open Source
Open Source
MIT
null
headstart
djsteinmetz
TypeScript
Code
259
809
import { OrderCloudService } from './../../../shared/services/ordercloud.service' // angular import { Component, OnInit, Inject } from '@angular/core' import { FormGroup, FormControl, Validators } from '@angular/forms' import { Router, ActivatedRoute } from '@angular/router' // angular libs import { ToastrService } fr...
45,357
https://github.com/amhe3/OriginalDesign/blob/master/OriginalDesign.pde
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,015
OriginalDesign
amhe3
null
Spoken
342
1,060
color colors = color(0, 0, 0); //start with black void setup() { size(600, 400); background(255); } void tools() { stroke(0); fill(255); int rightY = 0; while(rightY<399){ //loop for right side rect(500, rightY, 100, 133); //right small box rightY += 133; } int left = 0; while(left < 399){ //loop for ...
39,365
https://github.com/orange-resource/tbk_mobile_mall/blob/master/tbk-mobile/src/views/goods/Index.vue
Github Open Source
Open Source
MIT
2,021
tbk_mobile_mall
orange-resource
Vue
Code
579
2,955
<template> <div class="bc" style="height: 100%"> <div class="orange-home bc"> <div class="orange-content"> <!--头部--> <van-nav-bar title="商品详情" left-text="返回" right-text="首页" ...
35,978
https://github.com/ls4096/website/blob/master/src/theme/prismTheme.js
Github Open Source
Open Source
Apache-2.0
2,022
website
ls4096
JavaScript
Code
213
649
// Converted automatically using ./tools/themeFromVsCode const prismTheme = { plain: { color: '#9CDCFE', backgroundColor: '#0A1A2B', }, styles: [ { types: ['prolog'], style: { color: 'rgb(0, 0, 128)', }, }, { types: ['comment'], style: { color: 'rg...
47,866
https://github.com/pinkLovepurple/Playground-SIF/blob/master/Engine/porting/Android/jni/Android/CAndroidRequest.cpp
Github Open Source
Open Source
Apache-2.0
2,020
Playground-SIF
pinkLovepurple
C++
Code
4,666
18,281
/* Copyright 2013 KLab 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 writ...
11,383
https://github.com/isabella232/dart2java/blob/master/test/codegen_expect/tracer/Solid_interface.java
Github Open Source
Open Source
Apache-2.0
2,016
dart2java
isabella232
Java
Code
16
61
package tracer; public interface Solid_interface extends tracer.Materials_interface { tracer.Color_interface getColor_(java.lang.Number u, java.lang.Number v); tracer.Color_interface getColor(); }
45,925
https://github.com/roboticslibrary/rl/blob/master/cmake/FindNLopt.cmake
Github Open Source
Open Source
BSD-3-Clause, BSD-2-Clause
2,023
rl
roboticslibrary
CMake
Code
68
450
include(FindPackageHandleStandardArgs) include(SelectLibraryConfigurations) find_path( NLOPT_INCLUDE_DIR NAMES nlopt.h ) find_library( NLOPT_LIBRARY_DEBUG NAMES nloptd ) find_library( NLOPT_LIBRARY_RELEASE NAMES nlopt ) select_library_configurations(NLOPT) set(NLOPT_INCLUDE_DIRS ${NLOPT_INCLUDE_DIR}) set(NLOPT_...
29,645
https://github.com/jcurl/RJCP.DLL.Environment/blob/master/Environment/Version/NetFx/NetFxLegacy.cs
Github Open Source
Open Source
MIT
null
RJCP.DLL.Environment
jcurl
C#
Code
312
883
namespace RJCP.Core.Environment.Version.NetFx { using System; using System.Security; using System.Text; using Microsoft.Win32; /// <summary> /// Older version of .NET 2.0 to 3.5 /// </summary> public class NetFxLegacy : INetVersion { internal NetFxLegacy(string key) ...
10,304
https://github.com/NikitaNikson/xray-2_0/blob/master/SDK/include/WildMagic4/SDK/Include/Wm4IntrTriangle3Sphere3.h
Github Open Source
Open Source
BSL-1.0
2,020
xray-2_0
NikitaNikson
C++
Code
225
747
// Geometric Tools, LLC // Copyright (c) 1998-2010 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // // File Version: 4.10.0 (2009/11/18) #ifndef WM4INTRTRIANGLE3SPHERE3_H #define WM4INTRTRIANGLE3SPHER...
41,882
https://github.com/jsdelivrbot/dockerfiles-1/blob/master/data/p/pando85/gitblit/Dockerfile
Github Open Source
Open Source
MIT
2,018
dockerfiles-1
jsdelivrbot
Dockerfile
Code
216
753
# Basics # from ubuntu:latest maintainer James Moger <james.moger@gitblit.com> run apt-get update run apt-get install -q -y git-core redis-server # Install Java 7 run DEBIAN_FRONTEND=noninteractive apt-get install -q -y software-properties- common run DEBIAN_FRONTEND=noninteractive apt-get install -q...
11,130
https://github.com/kulla/mfnf-statistic-2018/blob/master/sitemap.py
Github Open Source
Open Source
CC0-1.0
2,019
mfnf-statistic-2018
kulla
Python
Code
307
888
"""Module for parsing the sitemap of MFNF into a JSON file.""" import re __all__ = ["parse_sitemap"] class SitemapTransformer(object): """Transforms a JSON by changing its dictionaries.""" def __call__(self, node): """Replacing all nodes in a sitemap tree. Not the most generic solution for ...
28,822
https://github.com/siilky/catomania/blob/master/kittycat/util.h
Github Open Source
Open Source
MIT
2,021
catomania
siilky
C
Code
37
110
#ifndef util_h #define util_h QString spacedNumber(int number); QString spacedNumber(unsigned number); QString spacedNumber(long long number); QString sanitizeFilename(const QString & str); std::vector<char> toVector(const QByteArray & array); unsigned toUInt(const QJsonValue & r, unsigned defaultVal = 0); QJsonVal...
19,547
https://github.com/liangjiazeng/courseManage/blob/master/xk3/node_modules/lodash/PaxHeader/forEach.js
Github Open Source
Open Source
CC0-1.0, MIT
2,018
courseManage
liangjiazeng
JavaScript
Code
4
44
72 path=学生选课系统(vue)/work/xk3/node_modules/lodash/forEach.js 27 atime=1508659872.246869
39,703
https://github.com/MarcosJRcwb/app.exploreapollo.org/blob/master/src/components/MomentPlayer/index-test.js
Github Open Source
Open Source
MIT
2,017
app.exploreapollo.org
MarcosJRcwb
JavaScript
Code
100
298
/*eslint-env mocha*/ import {assert} from "chai"; import React from "react"; import {PlayButton} from "./index"; import testTree from "react-test-tree"; import {hasClass} from "test/utils"; describe("Play Button", function () { it("should show a play icon when paused", function () { const button = testTree(<Play...
21,899
https://github.com/Matheusadler/ecommerce-bex/blob/master/resources/views/home.blade.php
Github Open Source
Open Source
MIT
null
ecommerce-bex
Matheusadler
PHP
Code
50
275
@extends("layout") @section("conteudo") <div class="text-center border">Produtos Cadastrados</div> <table class="table border-collapse w-full mt-4"> <thead> <tr class="flex rounded-lg text-sm font-medium text-gray-700 text-left table-row" style="font-size: 0.9674rem"> <th class=...
29,234
https://github.com/Zucke/social_prove/blob/master/pkg/user/handler/user_handler_test.go
Github Open Source
Open Source
MIT
null
social_prove
Zucke
Go
Code
1,385
6,076
package handler import ( "bytes" "context" "encoding/json" "io" "net/http" "net/http/httptest" "strings" "testing" "github.com/go-chi/chi" "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" "go.mongodb.org/mongo-driver/bson/primitive" "github.com/Zucke/social_prove/pkg/auth" "github.c...
41,199
https://github.com/mmavko/cs-react-arch/blob/master/src/cs_react_arch/components/main.cljs
Github Open Source
Open Source
MIT
2,017
cs-react-arch
mmavko
null
Spoken
37
147
(ns cs-react-arch.components.main (:require [rum.core :as rum] [cs-react-arch.shared :refer [raiser]] [cs-react-arch.components.a :refer [A]] [cs-react-arch.components.b :refer [B]])) (def raise! (raiser :main)) (rum/defc Main [world] (let [{:keys [screen]} world] [:div ...
47,541
https://github.com/alldatacenter/alldata/blob/master/studio/micro-services/datasophon/datasophon-ui/src/components/commonTemplate/index.vue
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause, MIT
2,023
alldata
alldatacenter
Vue
Code
924
3,886
<!-- * @Author: mjzhu * @Date: 2022-06-13 14:04:05 * @LastEditTime: 2022-09-07 15:02:37 * @FilePath: \ddh-ui\src\components\commonTemplate\index.vue --> <template> <div class="common-template steps"> <a-form :label-col="labelCol" :wrapper-col="wrapperCol" :form="form" class="form-content mgh160"> <div v...
1,106
https://github.com/javafun/optimizely-testframework/blob/master/src/net48/Lorem.Test.Framework.Optimizely.CMS.Test/Extensions/Assert.cs
Github Open Source
Open Source
MIT
2,021
optimizely-testframework
javafun
C#
Code
64
237
using EPiServer.Core; using EPiServer.ServiceLocation; using System.Collections.Generic; namespace Xunit { public partial class Assert { public static void IsPublished(IEnumerable<IContentData> contents) { foreach(var content in contents) { IsPublished(c...
1,410
https://github.com/IbuIbu2057/TALSITEM/blob/master/src/main/java/talsitems/talsitems/listener/DamageEntityListener.java
Github Open Source
Open Source
MIT
2,019
TALSITEM
IbuIbu2057
Java
Code
221
1,326
package talsitems.talsitems.listener; import org.bukkit.Material; import org.bukkit.entity.LivingEntity; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.Listener; import org.bukkit.event.entity.EntityDamageByEntityEvent; import org.b...
6,473
https://github.com/anoop-pathak/git-demo/blob/master/app/Services/FileSystem/FileService.php
Github Open Source
Open Source
MIT
null
git-demo
anoop-pathak
PHP
Code
324
1,240
<?php namespace App\Services\FileSystem; use App\Services\Resources\ResourceServices; use PDF; use FlySystem; use Carbon\Carbon; use App\Models\Resource; use App\Models\ApiResponse; use Illuminate\Support\Facades\App; use App\Exceptions\MaxFileSizeException; use App\Exceptions\InvalidFileException; use App\Exceptions...
36,521
https://github.com/scaldi/scaldi-play-2.3-example/blob/master/app/controllers/Application.scala
Github Open Source
Open Source
Apache-2.0
null
scaldi-play-2.3-example
scaldi
Scala
Code
32
101
package controllers import play.api.mvc._ import scaldi.{Injectable, Injector} import service.MessageService class Application(implicit inj: Injector) extends Controller with Injectable { val messageService = inject [MessageService] def index = Action { Ok(views.html.index(messageService.getGreetMessage("Tes...
31,305
https://github.com/jchristlieb/v1.janchristlieb.de/blob/master/web/app/themes/jc-theme/assets/styles/layouts/_footer.scss
Github Open Source
Open Source
MIT
2,018
v1.janchristlieb.de
jchristlieb
SCSS
Code
103
361
// general footer styles footer { padding: 20px; background-color: $main-color; background: linear-gradient(1deg,$main-color 33%,$main-color-darker 99%); .social-media { .fa { color: $text-color; font-size: 40px; @media screen and (max-width: 499px) { font-size: 15px; } ...
38,093
https://github.com/mokhniuk/oleg.codes/blob/master/source/assets/javascripts/website.js.coffee
Github Open Source
Open Source
MIT
null
oleg.codes
mokhniuk
CoffeeScript
Code
39
139
randomDuration =-> $('img').each -> n = (Math.floor(Math.random() * (3 - 1) + 1)) / 20 $(this).attr('data-wow-delay', n + 's') showImages = -> randomDuration() $('img').addClass('wow fadeIn') loadAnimation = -> $.adaptiveBackground.run() ready = -> loadAnimation() showImages() new WOW().init() $(do...
9,231