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/danielmartincraig/dm4notebooks/blob/master/quizzes/quiz8/jove/Module5_RE.py
Github Open Source
Open Source
Unlicense
null
dm4notebooks
danielmartincraig
Python
Code
1,201
3,270
# coding: utf-8 # <span style="color:blue"> **Chapter 5 of Jupyter Notes** </span> # # Regular Expressions, conversion to NFA # # In this module, we will cover regular expressions by showing how they can be converted to NFA. The scanner and parser for RE to convert them to NFA are the main part of this module. # #...
41,187
https://github.com/Fannibals/IM_Android/blob/master/app/src/main/java/com/ethan/imapp/LaunchActivity.java
Github Open Source
Open Source
MIT
null
IM_Android
Fannibals
Java
Code
333
1,409
package com.ethan.imapp; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ArgbEvaluator; import android.animation.ObjectAnimator; import android.animation.ValueAnimator; import android.content.res.Resources; import android.graphics.drawable.ColorDrawable; im...
40,500
https://github.com/AlexandreAdam/Lensing-SIREN/blob/master/src/lensiren/torch/siren.py
Github Open Source
Open Source
MIT
2,022
Lensing-SIREN
AlexandreAdam
Python
Code
285
1,031
""" Author: Vincent Sitzmann Last modification: Alexandre Adam, 13 Jan. 2022 Siren model with meta learning plug-ins. Code taken in part from https://github.com/vsitzmann/metasdf and original siren repo. """ from .modules import BatchLinear from torchmeta.modules import MetaModule import torch from torch import nn ...
36,196
https://github.com/Realtao/corefx/blob/master/src/System.Collections.NonGeneric/tests/Stack/Stack_get_SyncRoot.cs
Github Open Source
Open Source
MIT
2,021
corefx
Realtao
C#
Code
249
733
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Threading.Tasks; using Xunit; namespace System.Collections.Tests { public class StackGetSyncRootTests { private Stack _arrDaughter; ...
1,348
https://github.com/topcoder520/gofileserver/blob/master/fileserver/logs/log.go
Github Open Source
Open Source
MIT
null
gofileserver
topcoder520
Go
Code
90
333
package logs import ( "log" "os" "path/filepath" "github.com/pkg/errors" ) func InitSysLog(dir string) { path, err := filepath.Abs(dir) if err != nil { ErrorF("Abs file path, sys.log err: ", err) return } os.MkdirAll(path, 0600) _, err = os.OpenFile(filepath.Clean(path+"/sys.log"), os.O_CREATE|os.O_WRON...
5,857
https://github.com/kirankumarlegend/AJSC/blob/master/ajsc5/ajsc-core/src/domain/groovy/ajsc/ServiceProperties.groovy
Github Open Source
Open Source
BSD-4-Clause
2,020
AJSC
kirankumarlegend
Groovy
Code
1,012
3,775
package ajsc import groovy.json.JsonSlurper import java.util.ArrayList; import java.util.List; import ajsc.PropertiesService; import ajsc.ServiceProperties; import ajsc.ServiceProperty; import org.apache.commons.lang.builder.HashCodeBuilder import org.springframework.context.* // TODO Remove this workaround in Grai...
17,131
https://github.com/maggwilly/canalsatweb/blob/master/src/AppBundle/Resources/views/Security/login.html.twig
Github Open Source
Open Source
MIT
null
canalsatweb
maggwilly
Twig
Code
187
805
{% extends "FOSUserBundle::layout.html.twig" %} {% block title %}AllReport:Connexion {% endblock %} {% block fos_user_content %} <div class="padding-15"> <div class="login-box"> <!-- login form --> <form action="{{ path("fos_user_security_check") }}" method="post" class="sky-form boxed"> <header><i...
20,544
https://github.com/tummychow/nvim/blob/master/after/plugin/unmaps.vim
Github Open Source
Open Source
BSD-3-Clause
null
nvim
tummychow
null
Spoken
26
71
" remove sneak's default next/previous " (i use its s_next option instead) if maparg(';') == '<Plug>SneakNext' unmap ; endif if maparg(',') == '<Plug>SneakPrevious' unmap , endif
9,792
https://github.com/dacxjo/aeat-utils/blob/master/src/models/303/index.ts
Github Open Source
Open Source
MIT
null
aeat-utils
dacxjo
TypeScript
Code
1,274
4,161
import { Workbook, Worksheet } from 'exceljs'; import { existsSync, mkdirSync } from 'fs'; import { writeFile } from 'fs/promises'; import { blankKeywords, extractText, normalizeIban, parseNumericValue } from '../../utils'; import { join } from 'path'; import { PersistentField, Model303Input, ModelOptions, SpecsName } ...
25,486
https://github.com/ShalkiWenushika/carbon-apimgt-1/blob/master/components/apimgt/org.wso2.carbon.apimgt.hostobjects/src/main/java/org/wso2/carbon/apimgt/hostobjects/util/ObjectMapperFactory.java
Github Open Source
Open Source
Apache-2.0
2,019
carbon-apimgt-1
ShalkiWenushika
Java
Code
243
758
/* * Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
30,110
https://github.com/hieudion/embulk-output-gcs/blob/master/src/main/java/org/embulk/output/PluginTask.java
Github Open Source
Open Source
MIT
2,021
embulk-output-gcs
hieudion
Java
Code
82
455
package org.embulk.output; import org.embulk.config.Config; import org.embulk.config.ConfigDefault; import org.embulk.config.Task; import org.embulk.spi.unit.LocalFile; import java.util.Optional; public interface PluginTask extends Task { @Config("bucket") String getBucket(); @Config("path_prefix") ...
19,339
https://github.com/majjikishore007/yellowjobs-backend-service/blob/master/routes/meta.js
Github Open Source
Open Source
MIT
2,021
yellowjobs-backend-service
majjikishore007
JavaScript
Code
50
107
const express = require("express"); const router = express.Router(); /** * @swagger * /api/: * get: * summary: Simple test endpoint * description: Simple test endpoint * responses: * 200: * description: A successful response */ router.get("/", async (req...
30,617
https://github.com/cFerg/CloudStorming/blob/master/ObjectAvoidance/kotlin/src/elite/oa/road/Covers.kt
Github Open Source
Open Source
BSD-3-Clause
null
CloudStorming
cFerg
Kotlin
Code
12
29
package elite.oa.road /** * * @author CFerg (Elite) */ enum class Covers
29,144
https://github.com/klamborowski/liverelay/blob/master/liverelay/src/test/java/com/futuremind/liverelay/MockLifecycleOwner.kt
Github Open Source
Open Source
MIT
2,021
liverelay
klamborowski
Kotlin
Code
29
120
package com.futuremind.liverelay import androidx.lifecycle.Lifecycle.Event import androidx.lifecycle.LifecycleOwner import androidx.lifecycle.LifecycleRegistry class MockLifecycleOwner : LifecycleOwner { private val lifecycleRegistry = LifecycleRegistry(this) override fun getLifecycle() = lifecycleRegistry...
23,221
https://github.com/yurydelendik/dwarf-to-json/blob/master/src/main.rs
Github Open Source
Open Source
Apache-2.0
2,022
dwarf-to-json
yurydelendik
Rust
Code
185
492
/* Copyright 2018 Mozilla Foundation * * 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...
16,309
https://github.com/drone001/interviews/blob/master/GeeksForGeeks/common_tree_nodes.rb
Github Open Source
Open Source
MIT
2,017
interviews
drone001
Ruby
Code
228
807
# http://www.geeksforgeeks.org/print-common-nodes-in-two-binary-search-trees/ # Given two Binary Search Trees, find common nodes in them. In other words, find intersection of two BSTs. require 'test/unit' extend Test::Unit::Assertions class Node < Struct.new(:value, :left, :right) def inorder(result) self...
18,069
https://github.com/JuneTwooo/cards-database/blob/master/data/Sword & Shield/Evolving Skies/33.ts
Github Open Source
Open Source
MIT
null
cards-database
JuneTwooo
TypeScript
Code
98
348
import { Card } from '../../../interfaces' import Set from '../Evolving Skies' const card: Card = { set: Set, variants: { normal: true, reverse: true, holo: false, firstEdition: false }, name: { en: "Lombre", fr: "Lombre", es: "Lombre", it: "Lombre", pt: "Lombre", de: "Lombrero" }, rarity:...
23,596
https://github.com/katharinaemde/seu-as-code.packages/blob/master/com.jetbrains/intellij/2017.1/files/META-INF/hooks/createIntellijShortcut.groovy
Github Open Source
Open Source
Apache-2.0
2,017
seu-as-code.packages
katharinaemde
Groovy
Code
12
90
import java.nio.file.Files import java.nio.file.Path import java.nio.file.Paths import java.nio.file.attribute.PosixFilePermissions Files.createSymbolicLink(Paths.get("${seuHome}/IntelliJ IDEA.app"), Paths.get("${seuLayout.software}/IntelliJ IDEA.app"))
4,441
https://github.com/Sandeep-lab/sandeep/blob/master/x-pack/plugins/security_solution/public/common/utils/timeline/use_show_timeline.tsx
Github Open Source
Open Source
Apache-2.0
null
sandeep
Sandeep-lab
TypeScript
Code
109
313
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import { useState, useEffect } from 'react'; import { useRouteSpy } from '../...
14,309
https://github.com/hendrikdutoit/ReleaseIt/blob/master/src/releaselogit/releaselogit.py
Github Open Source
Open Source
MIT
null
ReleaseIt
hendrikdutoit
Python
Code
791
2,817
"""Manage release notes for Python projects. ReleaseIt keeps release notes for Python projects in a dict structure. It aims to standardise, facilitate and automate the management of release notes when publishing a project to GitHub, PyPI and ReadTheDocs. It is developed as part of the PackageIt project, but can be us...
39,389
https://github.com/loopylangur/infer/blob/master/src/Runtime/Core/Maths/DenseVector.cs
Github Open Source
Open Source
MIT
null
infer
loopylangur
C#
Code
10,653
27,021
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using Microsoft.ML.Probabilistic.Collections; using Microsoft.ML.Pro...
10,048
https://github.com/allansrc/fuchsia/blob/master/zircon/third_party/ulib/musl/src/network/if_nametoindex.c
Github Open Source
Open Source
BSD-2-Clause
2,022
fuchsia
allansrc
C
Code
152
365
#define _GNU_SOURCE #include <net/if.h> #include <string.h> #include <sys/ioctl.h> #include <sys/socket.h> #include <unistd.h> unsigned if_nametoindex(const char *name) { struct ifreq ifr; int fd, r; if ((fd = socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)) < 0) return 0; // This intentionally may leave...
26,388
https://github.com/emtea/xRM-Portals-Community-Edition/blob/master/Framework/Microsoft.Xrm.Portal/Web/Providers/SecurityTrimmingValidatorProvider.cs
Github Open Source
Open Source
MIT
2,022
xRM-Portals-Community-Edition
emtea
C#
Code
59
189
/* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. */ namespace Microsoft.Xrm.Portal.Web.Providers { public sealed class SecurityTrimmingValidatorProvider : PortalValidatorProvider { public SecurityTrimmingVa...
11,486
https://github.com/TallyAI/tally-ai-fe/blob/master/client/src/components/RestrictMobile.js
Github Open Source
Open Source
MIT
2,020
tally-ai-fe
TallyAI
JavaScript
Code
50
126
import React, { useEffect, useState } from "react"; //simple component that renders on all pages with css media query that enables or disables it const RestrictMobile = () => { return( <div className="restrictMobile" onClick={(e) => {e.preventDefault(); e.stopPropagation()}}> <h2>Sorry!</h2> ...
46,675
https://github.com/gscho/a2-cli/blob/master/test/mixins/a2_filtered_test.rb
Github Open Source
Open Source
MIT
null
a2-cli
gscho
Ruby
Code
126
609
require "test_helper" class A2FilteredTest < Minitest::Test def test_that_it_sets_custom_opts filtered = ::A2::Filtered.new('test', query_filter: true, filter_key: 'custom_key') assert filtered.query_filter assert_equal 'custom_key', filtered.filter_key end def test_that_it_parses_filters filter...
7,429
https://github.com/HYKY/hyky-services/blob/master/src/api/models/entity/projects/ProjectMedia.php
Github Open Source
Open Source
MIT
null
hyky-services
HYKY
PHP
Code
718
1,864
<?php namespace API\Models\Entity\Projects; use Doctrine\ORM\Mapping\Column; use Doctrine\ORM\Mapping\Entity; use Doctrine\ORM\Mapping\HasLifecycleCallbacks; use Doctrine\ORM\Mapping\JoinColumn; use Doctrine\ORM\Mapping\ManyToOne; use Doctrine\ORM\Mapping\Table; use HYKY\Core\BaseDateEntity; /** * Services : API\Mod...
44,617
https://github.com/zserg84/unitaly/blob/master/modules/admin/Module.php
Github Open Source
Open Source
BSD-3-Clause
null
unitaly
zserg84
PHP
Code
19
58
<?php namespace modules\admin; use Yii; use yii\helpers\VarDumper; /** * Main backend module. */ class Module extends \yii\base\Module { }
13,237
https://github.com/jca-klk/schc-lorawan-iid/blob/master/schc-lorawan-iid.py
Github Open Source
Open Source
BSD-3-Clause
null
schc-lorawan-iid
jca-klk
Python
Code
110
421
# SPDX short identifier: BSD-3-Clause import argparse from binascii import hexlify from cryptography.hazmat.primitives.ciphers import algorithms from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives import cmac def aes128_cmac(msg, key, length=4): c = cmac.CMAC(algorithms.AES...
20,323
https://github.com/golint-fixer/gin-tools/blob/master/logging/model.go
Github Open Source
Open Source
MIT
2,021
gin-tools
golint-fixer
Go
Code
85
234
package logging import "time" // LogInfo is a base log information type LogInfo struct { ClientIP string `json:"ip"` Date string `json:"date"` Method string `json:"method"` RequestURI string `json:"uri"` Referer string `json:"referer,omitempty"` HTTPVersion...
45,993
https://github.com/simerplaha/Slack3D/blob/master/graphics/src/main/scala/slack3d/graphics/shape/Cylinder.scala
Github Open Source
Open Source
Apache-2.0
2,022
Slack3D
simerplaha
Scala
Code
316
814
/* * Copyright 2021 Simer JS Plaha (simer.j@gmail.com - @simerplaha) * * 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 require...
5,225
https://github.com/hujgup/OpenTK-Wrapper/blob/master/Graphics/subnsGL2D/subGeometry/iPrimitiveShape2D.cs
Github Open Source
Open Source
MIT
null
OpenTK-Wrapper
hujgup
C#
Code
111
297
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using OpenTK; using OpenTK.Graphics; using Graphics.GL2D; namespace Graphics.GL2D { /// <summary> /// Represents a two-dimensional OpenGL primitive shape. /// </summary> public interface IPrimitiveShape2D : IWithin2D, IBounded, ...
11,392
https://github.com/uk-gov-mirror/hmrc.awrs-frontend/blob/master/test/controllers/TradingActivityControllerTest.scala
Github Open Source
Open Source
Apache-2.0
null
hmrc.awrs-frontend
uk-gov-mirror
Scala
Code
291
940
/* * Copyright 2021 HM Revenue & Customs * * 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 a...
16,555
https://github.com/Whyu2/TemanCod/blob/master/pages/register_beli.php
Github Open Source
Open Source
MIT
null
TemanCod
Whyu2
PHP
Code
135
587
<div class="col-12"> <!-- Main Content --> <div class="row"> <div class="col-12 mt-3 text-center text-uppercase"> <h2><strong>Daftar Sebagai Pembeli</strong></h2> </div> </div> <main class="r...
2,023
https://github.com/cheycron/laravel-git-changelog/blob/master/src/GitChangelog.php
Github Open Source
Open Source
MIT
2,017
laravel-git-changelog
cheycron
PHP
Code
302
1,496
<?php namespace Cheycron\Gitchangelog; use Carbon\Carbon; use League\CommonMark\CommonMarkConverter; use Symfony\Component\Process\Exception\ProcessFailedException; use Symfony\Component\Process\ProcessBuilder; class GitChangelog { public $changelog; protected $appendToVersion; protected $branch; pro...
12,549
https://github.com/phonybone/phonybone_utils/blob/master/pbutils/tests/alembic/versions/27114f44d554_create_account_table.py
Github Open Source
Open Source
MIT
null
phonybone_utils
phonybone
Python
Code
101
444
"""create_account_table Revision ID: 27114f44d554 Revises: Create Date: 2019-05-03 19:52:58.507439 """ from alembic import op import sqlalchemy as sa from pbutils.mysql_utils import pw_encrypt # revision identifiers, used by Alembic. revision = '27114f44d554' down_revision = None branch_labels = None depends_on = ...
40,923
https://github.com/S-Kantor/GMessenger/blob/master/GMessenger/GMessenger/Controllers/MessagesController.cs
Github Open Source
Open Source
Apache-2.0
null
GMessenger
S-Kantor
C#
Code
328
1,113
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Threading.Tasks; using System.Net; using System.Web; using System.Web.Mvc; using GMessenger; namespace GMessenger.Controllers { public class MessagesController : Controller { pr...
36,052
https://github.com/zhaifanhua/zhaifanhuaBlog/blob/master/backend/ZhaiFanhuaBlog.Test/Program.cs
Github Open Source
Open Source
MIT
2,020
zhaifanhuaBlog
zhaifanhua
C#
Code
52
185
// ---------------------------------------------------------------- // Copyright ©2022 ZhaiFanhua All Rights Reserved. // FileName:Program // Guid:2886e2d9-f017-4e69-83d5-07e28805db92 // Author:zhaifanhua // Email:me@zhaifanhua.com // CreateTime:2022-04-10 下午 10:51:26 // -----------------------------------------------...
19,120
https://github.com/siisltd/Curiosity.Utils/blob/master/src/Curiosity.Tools/ApplicationHelper.cs
Github Open Source
Open Source
MIT
2,022
Curiosity.Utils
siisltd
C#
Code
164
479
using System; using System.Globalization; using System.IO; using System.Reflection; using System.Threading; using Curiosity.Configuration; namespace Curiosity.Tools { /// <summary> /// Useful staff for application. /// </summary> public static class ApplicationHelper { /// <summary> ...
23,501
https://github.com/hnikolov/ws_lcd/blob/master/ws_lcd/darksky.py
Github Open Source
Open Source
MIT
null
ws_lcd
hnikolov
Python
Code
607
2,649
#from geopy.geocoders import Nominatim from datetime import datetime import requests # Nominatim().geocode('katwijk', language='en_US') # Location((52.19660355, 4.39680477612, 0.0)) # Nominatim().geocode('valkenburg, katwijk', language='en_US') # Location((52.1700154, 4.42608005921, 0.0)) # https://darksky.net/dev/ac...
46,615
https://github.com/fcrick/assemblyscript/blob/master/src/ast.ts
Github Open Source
Open Source
Apache-2.0
null
assemblyscript
fcrick
TypeScript
Code
7,151
17,381
/** * @fileoverview Abstract syntax tree representing a source file once parsed. * * Each node in the AST is represented by an instance of a subclass of `Node`, * with its `Node#kind` represented by one of the `NodeKind` constants, which * dependent code typically switches over. The intended way to create a node ...
36,146
https://github.com/emmanvg/stix-validator/blob/master/sdv/test/stix_profile_tests.py
Github Open Source
Open Source
BSD-3-Clause
2,021
stix-validator
emmanvg
Python
Code
136
636
# Copyright (c) 2015, The MITRE Corporation. All rights reserved. # See LICENSE.txt for complete terms. import unittest from mixbox.vendor.six import StringIO import sdv import sdv.errors as errors from sdv.validators.stix.profile import InstanceMapping STIX_NO_VERSION_XML = \ """ <stix:STIX_Package xmlns:xsi="h...
17,999
https://github.com/zjzh/chainer/blob/master/onnx_chainer/functions/opset_version.py
Github Open Source
Open Source
MIT
2,022
chainer
zjzh
Python
Code
149
457
def support(opset_versions): """Detect lowest supported version of the target converter A simple wrap function for convert functions to detect lowest number of supported opset version. For example, the target ONNX operater is added from 6 and updated on 8, add this function as decorator like the below....
20,543
https://github.com/wyfo/apimodel/blob/master/tests/integration/test_annotated_schema.py
Github Open Source
Open Source
MIT
null
apimodel
wyfo
Python
Code
155
584
from dataclasses import dataclass, field from graphql.utilities import print_schema from apischema import schema, type_name from apischema.graphql import graphql_schema from apischema.json_schema import deserialization_schema, serialization_schema from apischema.typing import Annotated @dataclass class A: a: An...
9,767
https://github.com/CMPUT301W17T12/TriggerTracker/blob/master/ProjectAttitude/app/src/main/java/com/projectattitude/projectattitude/Controllers/ElasticSearchUserController.java
Github Open Source
Open Source
MIT
2,017
TriggerTracker
CMPUT301W17T12
Java
Code
1,675
4,537
/* * MIT License * * Copyright (c) 2017 CMPUT301W17T12 * Authors rsauveho vuk bfleyshe henrywei cs3 * * 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 wi...
44,254
https://github.com/pvillela/go-foa-realworld/blob/master/internal/sfl/user_update_sfl.go
Github Open Source
Open Source
ECL-2.0, Apache-2.0
null
go-foa-realworld
pvillela
Go
Code
157
527
/* * Copyright © 2021 Paulo Villela. All rights reserved. * Use of this source code is governed by the Apache 2.0 license * that can be found in the LICENSE file. */ package sfl import ( "context" "github.com/pvillela/go-foa-realworld/internal/arch/web" "github.com/pvillela/go-foa-realworld/internal/arch/db" ...
10,249
https://github.com/jakey188/Data/blob/master/src/DapperEx/BulkInserts/TypeExtension.cs
Github Open Source
Open Source
Apache-2.0
2,016
Data
jakey188
C#
Code
148
525
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace DapperEx.BulkInserts { public static class TypeExtension { private static readonly ConcurrentDictionary<string, IE...
244
https://github.com/localgod/php-tick/blob/master/src/Entity.php
Github Open Source
Open Source
BSD-3-Clause
null
php-tick
localgod
PHP
Code
1,586
4,236
<?php /** * Entity * * PHP version >=8.0 * * @author Johannes Skov Frandsen <jsf@greenoak.dk> * @license http://www.opensource.org/licenses/mit-license.php MIT * @link https://github.com/localgod/php-tick php-tick */ namespace Localgod\Tick; use RangeException; use Exception; use LogicException; use BadMetho...
10,382
https://github.com/Uswer/LineageOS-14.1_jag3gds/blob/master/kernel/lge/msm8226/arch/arm/mach-msm/footswitch-8x60.c
Github Open Source
Open Source
Apache-2.0
2,020
LineageOS-14.1_jag3gds
Uswer
C
Code
2,261
8,080
/* Copyright (c) 2010-2013, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
14,537
https://github.com/ShadyObeyd/ProgrammingFundamentals-Homeworks/blob/master/08.MethodsAndDebuggin-Exercises/17.DebuggingExercise-BePositive/BePositive.cs
Github Open Source
Open Source
MIT
2,017
ProgrammingFundamentals-Homeworks
ShadyObeyd
C#
Code
106
318
using System; using System.Collections.Generic; using System.Linq; public class BePositive_broken { public static void Main() { int countSequences = int.Parse(Console.ReadLine()); for (int i = 0; i < countSequences; i++) { int[] input = Console.ReadLine().Trim().Split(new ...
14,324
https://github.com/jeetu-webkul/bagisto/blob/master/packages/Webkul/Admin/src/Http/Controllers/Customer/AddressController.php
Github Open Source
Open Source
MIT
2,021
bagisto
jeetu-webkul
PHP
Code
407
1,565
<?php namespace Webkul\Admin\Http\Controllers\Customer; use Webkul\Customer\Rules\VatIdRule; use Webkul\Admin\DataGrids\AddressDataGrid; use Webkul\Admin\Http\Controllers\Controller; use Webkul\Customer\Repositories\CustomerRepository; use Webkul\Customer\Repositories\CustomerAddressRepository; class AddressControll...
44,902
https://github.com/takky94/bp-inc/blob/master/src/components/menus/menus.js
Github Open Source
Open Source
RSA-MD
null
bp-inc
takky94
JavaScript
Code
27
66
const menus = [ { title: 'OUR WORKS', path: '/works' }, { title: 'RECRUITMENT', path: '/recruitment' }, { title: 'CONTACT', path: '/contact' }, ]; export default menus;
30,666
https://github.com/cuongpm/android-mvi-coroutines/blob/master/app/src/main/java/com/mvi/boilerplate/di/module/ActivityBindingModule.kt
Github Open Source
Open Source
MIT
2,020
android-mvi-coroutines
cuongpm
Kotlin
Code
10
33
package com.mvi.boilerplate.di.module /** * Created by cuongpm on 4/15/19. */
2,748
https://github.com/camaya/umbraco-models-builder-integration/blob/master/UmbracoModelsBuilderThirdParties/Models/EventInfo.cs
Github Open Source
Open Source
MIT
2,016
umbraco-models-builder-integration
camaya
C#
Code
74
142
using System; namespace UmbracoModelsBuilderThirdParties.Models { public class EventInfo { public TextInfo Name { get; set; } public TextInfo Description { get; set; } public string Id { get; set; } public string Url { get; set; } public DateInfo Start { get; set; } ...
25,183
https://github.com/propensive/escapade/blob/master/src/core/ansitext.scala
Github Open Source
Open Source
Apache-2.0
null
escapade
propensive
Scala
Code
1,129
3,570
package escapade import gossamer.* import rudiments.* import iridescence.* import contextual.* opaque type CharSpan = Long object CharSpan: def apply(start: Int, end: Int): CharSpan = (start.toLong << 32) + (Int.MaxValue - end) given Ordering[CharSpan] = Ordering.Long.on[CharSpan](identity(_)) val Nowhere: Cha...
6,927
https://github.com/gnames/gnverifier/blob/master/io/web/server.go
Github Open Source
Open Source
MIT
2,022
gnverifier
gnames
Go
Code
804
2,922
package web import ( "embed" "fmt" "net/http" "net/url" "strconv" "strings" "time" "github.com/gnames/gnfmt" vlib "github.com/gnames/gnlib/ent/verifier" "github.com/gnames/gnquery" "github.com/gnames/gnquery/ent/search" "github.com/gnames/gnuuid" "github.com/gnames/gnverifier" "github.com/gnames/gnverif...
11,212
https://github.com/ConceptYard/carrierwave-activerecord/blob/master/carrierwave-activerecord.gemspec
Github Open Source
Open Source
MIT
null
carrierwave-activerecord
ConceptYard
Ruby
Code
101
622
$:.push File.expand_path('../lib', __FILE__) require 'carrierwave-activerecord/storage/version' Gem::Specification.new do |gem| gem.name = 'carrierwave-activerecord' gem.authors = ['Richard Michael', 'Julien Gantner'] gem.email = ['rmichael@edgeofthenet.org', 'julien.gantner@softwareinmot...
9,059
https://github.com/Fleshgrinder/php-ip-address/blob/master/src/InvalidIpAddressException.php
Github Open Source
Open Source
MIT
null
php-ip-address
Fleshgrinder
PHP
Code
29
60
<?php namespace Fleshgrinder\Network; /** * Exception thrown if an invalid Internet Protocol address is encountered during construction. */ final class InvalidIpAddressException extends \InvalidArgumentException { // Intentionally left blank. }
39,763
https://github.com/andrebr/django-loginas/blob/master/loginas/context_processors.py
Github Open Source
Open Source
BSD-3-Clause
2,022
django-loginas
andrebr
Python
Code
20
77
from loginas.utils import is_impersonated_session def impersonated_session_status(request): """ Adds variable to all contexts :param request: :return bool: """ return {"is_impersonated_session": is_impersonated_session(request)}
30,515
https://github.com/haseeAmarathunga/canner/blob/master/src/action/generateAction.js
Github Open Source
Open Source
Apache-2.0
2,018
canner
haseeAmarathunga
JavaScript
Code
668
2,380
// @flow import type {UpdateType, Action, ActionType} from './types'; import {fromJS, List} from 'immutable'; import { isCreateArray, isCreateNestedArrayInArray, isCreateNestedArrayInObject, isCreateAndConnect, isDeleteArray, isDeleteNestedArrayInArray, isDeleteNestedArrayInObject, isDisconnectAndDele...
40,347
https://github.com/shisama/browser-compat-data/blob/master/test/linter/test-versions.js
Github Open Source
Open Source
CC0-1.0
2,022
browser-compat-data
shisama
JavaScript
Code
1,069
2,693
/* This file is a part of @mdn/browser-compat-data * See LICENSE file for more information. */ import compareVersions from 'compare-versions'; import chalk from 'chalk-template'; import { Logger } from '../utils.js'; import bcd from '../../index.js'; const { browsers } = bcd; /** * @typedef {import('../../types')....
12,346
https://github.com/doremir/remus/blob/master/lib/classes/meta/time.js
Github Open Source
Open Source
Apache-2.0
null
remus
doremir
JavaScript
Code
503
1,258
import Meta from './meta.js'; import misc from '../../misc.js'; import Fraction from 'fraction.js'; // import chalk from 'chalk'; import _ from 'underscore'; var isObject = _.isObject; /** * Time signature meta-event. * * Time signature Tempo is expressed in `bpm` and `beat`, where `bpm` is a number * and `beat` ...
32,604
https://github.com/ScalablyTyped/SlinkyTyped/blob/master/a/antd/src/main/scala/typingsSlinky/antd/components/Typography.scala
Github Open Source
Open Source
MIT
2,021
SlinkyTyped
ScalablyTyped
Scala
Code
399
1,883
package typingsSlinky.antd.components import org.scalajs.dom.raw.HTMLElement import slinky.web.html.`*`.tag import typingsSlinky.StBuildingComponent import typingsSlinky.antd.baseMod.BaseType import typingsSlinky.antd.baseMod.BlockProps import typingsSlinky.antd.baseMod.CopyConfig import typingsSlinky.antd.baseMod.Edi...
18,404
https://github.com/dschmidt/OwncloudUniversal/blob/master/src/OwncloudUniversal.Synchronization/Model/SyncHistoryEntry.cs
Github Open Source
Open Source
Apache-2.0
2,021
OwncloudUniversal
dschmidt
C#
Code
70
169
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml.Media.Imaging; namespace OwncloudUniversal.Synchronization.Model { public class SyncHistoryEntry { public long Id { get; set; } public string Message { get...
43,552
https://github.com/bbva-vicentehidalgo/api_main/blob/master/app/models/bl_tag.js
Github Open Source
Open Source
MIT
null
api_main
bbva-vicentehidalgo
JavaScript
Code
55
187
'use strict'; /* jshint indent: 2 */ module.exports = function(sequelize, DataTypes) { var bl_tag = sequelize.define('bl_tag', { idtag: { type: DataTypes.INTEGER(11), allowNull: false, primaryKey: true, autoIncrement: true }, tagName: { ...
21,906
https://github.com/softawaregmbh/library-viewport/blob/master/softaware.ViewPort.Messaging/ReceiverReference.cs
Github Open Source
Open Source
MIT
null
library-viewport
softawaregmbh
C#
Code
42
146
using System; namespace softaware.ViewPort.Messaging { internal class ReceiverReference<T> : IDisposable { private readonly IMessenger messenger; private IReceiver<T> receiver; public ReceiverReference(IReceiver<T> receiver, IMessenger messenger) { this.receiver = ...
45,929
https://github.com/better-care/web-template/blob/master/src/main/kotlin/care/better/platform/web/template/converter/flat/mapper/DvProportionToFlatMapper.kt
Github Open Source
Open Source
Apache-2.0
2,022
web-template
better-care
Kotlin
Code
215
814
/* Copyright 2021 Better Ltd (www.better.care) * * 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 ...
12,922
https://github.com/allenbaron/Trinotate/blob/master/TrinotateWeb/cgi-bin/js2/datadumper.js
Github Open Source
Open Source
BSD-3-Clause
2,022
Trinotate
allenbaron
JavaScript
Code
678
1,906
/** * Copyright (c)2005-2009 Matt Kruse (javascripttoolbox.com) * * Dual licensed under the MIT and GPL licenses. * This basically means you can use this code however you want for * free, but don't claim to have written it yourself! * Donations always accepted: http://www.JavascriptToolbox.com/donate/ * * Pl...
30,061
https://github.com/best08618/asylo/blob/master/gcc-gcc-7_3_0-release/gcc/testsuite/gcc.target/x86_64/abi/avx/test_m256_returning.c
Github Open Source
Open Source
Apache-2.0
2,021
asylo
best08618
C
Code
66
285
#include <stdio.h> #include "avx-check.h" #include "args.h" struct IntegerRegisters iregs; struct FloatRegisters fregs; unsigned int num_iregs, num_fregs; __m256 fun_test_returning___m256 (void) { volatile_var++; return (__m256){73,0,0,0,0,0,0,0}; } __m256 test_256; static void avx_test (void) { unsigned fail...
26,741
https://github.com/inier/hetu/blob/master/client/src/routes/Home/Layout/Basic/index.tsx
Github Open Source
Open Source
MIT
2,022
hetu
inier
TypeScript
Code
233
721
import React, { Component } from 'react' import { Layout, Tabs } from 'antd' import TheSiderMenu from './SiderMenu' import TheHeader from './Header' import _ from 'lodash' import { LayoutBasicProps, LayoutBasicState } from './interface' import styles from './index.module.less' const { Content, Footer } = Layout con...
43,531
https://github.com/woodliu/rxtxcpu/blob/master/features/step_definitions/command_steps.rb
Github Open Source
Open Source
MIT
2,022
rxtxcpu
woodliu
Ruby
Code
66
215
When(/^I run `([^`]*)` on cpu ([\d]+)$/) do |cmd, cpu| cmd = sanitize_text(cmd) cmd = "taskset -c #{cpu} #{cmd}" run_command_and_stop(cmd, fail_on_error: false) end When(/^I run `([^`]*)` in background on cpu ([\d]+)$/) do |cmd, cpu| cmd = sanitize_text(cmd) cmd = "taskset -c #{cpu} #{cmd}" run_command(cmd...
39,673
https://github.com/ce-itcr/MotorTherapy/blob/master/MotorTherapyGame/Assets/Scripts/Targets/TimerCountdown.cs
Github Open Source
Open Source
MIT
2,019
MotorTherapy
ce-itcr
C#
Code
115
340
using UnityEngine; using UnityEngine.UI; namespace Targets { public class TimerCountdown : MonoBehaviour { public GameObject gameController; public Text textTime; public float timeLeft; public float sphereTime; public Transform sphere; public float scaleSize; ...
4,163
https://github.com/iisys-hof/libInterface/blob/master/src/test/java/de/iisys/libinterface/parser/MessageParserTest.java
Github Open Source
Open Source
MIT
null
libInterface
iisys-hof
Java
Code
873
3,532
package de.iisys.libinterface.parser; import de.iisys.libinterface.message.ArrayMessage; import de.iisys.libinterface.message.CallbackMessage; import de.iisys.libinterface.message.MyNameMessage; import de.iisys.libinterface.message.ContentMessage; import de.iisys.libinterface.message.ECCMessage; import de.iisys.libint...
28,598
https://github.com/rickyork/Hot-Toddy/blob/master/hDashboard/hDashboardUser/hDashboardUser.php
Github Open Source
Open Source
MIT
2,021
Hot-Toddy
rickyork
PHP
Code
540
2,595
<?php #//\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ #//\\\ \\\\\\\\| #//\\\ @@ @@\\\\\\| Hot Toddy Framework #//\\ @@@@ @@@@\\\\\| #//\\\@@@@| @@@@\\\\\| #//\\\ @@ |\\@@\\\\\\| https://github.com/rickyork/Hot-Toddy #//\\\\ || \\\\\\\| © Copyright 2019 Richard Yor...
44,013
https://github.com/Creedzy/MotionLayer/blob/master/src/main/java/org/cg/Model/User.java
Github Open Source
Open Source
MIT
null
MotionLayer
Creedzy
Java
Code
391
1,182
package org.cg.Model; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.ElementCollection; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.OneToMany; impor...
28,121
https://github.com/Litemn/marathon/blob/master/configuration/src/main/kotlin/com/malinskiy/marathon/config/strategy/ShardingStrategyConfiguration.kt
Github Open Source
Open Source
Apache-2.0
2,021
marathon
Litemn
Kotlin
Code
50
221
package com.malinskiy.marathon.config.strategy import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.annotation.JsonSubTypes import com.fasterxml.jackson.annotation.JsonTypeInfo @JsonTypeInfo( use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type" ) @...
10,911
https://github.com/juniHub/juni-dev-notes/blob/master/src/pages/Home.js
Github Open Source
Open Source
MIT
null
juni-dev-notes
juniHub
JavaScript
Code
102
356
import React, { Component } from 'react'; import Header from '../Header/Header'; import Footer from '../Footer/Footer'; import { Link } from 'react-router-dom'; import { auth } from '../services/firebase'; class HomePage extends Component { render() { return ( <div id="home"> <Header></Header> ...
17,347
https://github.com/galtm/xspec/blob/master/test/ws-only-text.xsl
Github Open Source
Open Source
MIT
2,022
xspec
galtm
null
Spoken
53
369
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="3.0" xmlns:ws-only-text="x-urn:test:ws-only-text" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:global-context-item use="absent" /> <!-- Whitespace-only text node for test --> <xsl:variable as="tex...
39,329
https://github.com/mcanam/iblize/blob/master/themes/solarized-light.scss
Github Open Source
Open Source
MIT
2,022
iblize
mcanam
SCSS
Code
242
803
/*! * name : solarized-light * desc : Solarized color schemes originally by Ethan Schoonover http://ethanschoonover.com/solarized * author : Hector Matos https://krakendev.io */ /* SOLARIZED HEX --------- ------- base03 #002b36 base02 #073642 base01 #586e75 base00 #657b83 base0 #839496 base1 #...
35,130
https://github.com/kevinleturc/querydsl/blob/master/querydsl-jdo/src/main/java/com/querydsl/jdo/JDOQuery.java
Github Open Source
Open Source
Apache-2.0
null
querydsl
kevinleturc
Java
Code
403
1,014
/* * Copyright 2015, The Querydsl Team (http://www.querydsl.com/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 ...
14,706
https://github.com/zofan/go-fake/blob/master/web.go
Github Open Source
Open Source
MIT
null
go-fake
zofan
Go
Code
139
784
package fake import "math/rand" func UTM() (source, medium, campaign string) { sourceList := []string{`google`, `yandex`, `vk`, `facebook`, `targetmail`, `instagram`, `youtube`, `twitter`} mediumList := []string{`cpc`, `email`, `banner`, `article`, `cpm`, `smm`, `target`, `referral`, `retargeting`} campaignList :=...
35,544
https://github.com/smart2pay/sdk-php/blob/master/structures/S2P_SDK_Structure_Address.php
Github Open Source
Open Source
MIT
2,017
sdk-php
smart2pay
PHP
Code
305
1,151
<?php namespace S2P_SDK; class S2P_SDK_Structure_Address extends S2P_SDK_Scope_Structure { /** * Function should return array with full variable definition * @return array */ public function get_definition() { return array( 'name' => 'address', 'external_name...
25,553
https://github.com/WerHawer/goit-js-fe-25/blob/master/module-13/src/hbs/photocard.hbs
Github Open Source
Open Source
MIT
null
goit-js-fe-25
WerHawer
null
Spoken
40
227
{{#each this}} <li class="photo-list"> <div class="photo-card"> <img src={{this.webformatURL}} alt={{this.type}} data-big={{largeImageURL}}/> <div class="stats"> <p class="stats-item"> <i class="material-icons">thumb_up</i> {{this.likes}} ...
13,959
https://github.com/zlabjp/kubernetes/blob/master/pkg/api/v1/pod/util.go
Github Open Source
Open Source
Apache-2.0
null
kubernetes
zlabjp
Go
Code
790
2,207
/* Copyright 2015 The Kubernetes 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 in writing, ...
4,054
https://github.com/shimon-yoshida/docker-laravel-1/blob/master/backend/app/Http/Controllers/HomeController copy.php
Github Open Source
Open Source
MIT
null
docker-laravel-1
shimon-yoshida
PHP
Code
299
1,371
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Staff; use App\Http\Requests\InputRecuest; use DB; class HomeController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->mi...
24,611
https://github.com/zhangjiayin/hiphop-php/blob/master/src/runtime/eval/runtime/assoc_list.cpp
Github Open Source
Open Source
PHP-3.01, Zend-2.0
2,021
hiphop-php
zhangjiayin
C++
Code
427
1,230
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) | +---------...
37,985
https://github.com/smorey2/GameEstate/blob/master/src/GameEstate.App.Unreal/UnrealPlatform.cs
Github Open Source
Open Source
MIT
null
GameEstate
smorey2
C#
Code
30
72
namespace GameEstate { public static class UnrealPlatform { public static unsafe bool Startup() { try { EstatePlatform.Platform = "Unreal"; return true; } catch { return false; } } } }
4,822
https://github.com/vipuserr/vipuserr-Geological-hazard/blob/master/geo3d/include/CGAL/IO/Color_impl.h
Github Open Source
Open Source
MIT
2,022
vipuserr-Geological-hazard
vipuserr
C
Code
224
420
// Copyright (c) 1997 // Utrecht University (The Netherlands), // ETH Zurich (Switzerland), // INRIA Sophia-Antipolis (France), // Max-Planck-Institute Saarbruecken (Germany), // and Tel-Aviv University (Israel). All rights reserved. // // This file is part of CGAL (www.cgal.org); you can redistribute it and/or // mod...
14,401
https://github.com/appootb/protobuf/blob/master/go/notification/inner_notify.pb.go
Github Open Source
Open Source
MIT
2,021
protobuf
appootb
Go
Code
3,139
11,356
// Code generated by protoc-gen-go. DO NOT EDIT. // source: inner_notify.proto package notification import ( context "context" fmt "fmt" common "github.com/appootb/protobuf/go/common" _ "github.com/appootb/protobuf/go/permission" proto "github.com/golang/protobuf/proto" duration "github.com/golang/protobuf/ptyp...
36,184
https://github.com/redscarf2/sinstar_client/blob/master/skineditor/PanelPrevForm.h
Github Open Source
Open Source
MIT
null
sinstar_client
redscarf2
C
Code
156
632
#if !defined(AFX_PANELPREVFORM_H__9C93C67F_03BA_4880_9F1F_8F8F2BB32B97__INCLUDED_) #define AFX_PANELPREVFORM_H__9C93C67F_03BA_4880_9F1F_8F8F2BB32B97__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // PanelPrevForm.h : header file // ///////////////////////////////////////////////////////////////...
46,049
https://github.com/Humanise/onlineobjects/blob/master/src/main/webapp/WEB-INF/apps/photos/web/scss/photos_profile.scss
Github Open Source
Open Source
Unlicense
2,018
onlineobjects
Humanise
SCSS
Code
49
171
@import '../../../../core/web/scss/shared'; .photos_profile { overflow: hidden; &_body { margin-left: 90px; } &_photo { float: left; } &_name { font-size: 18px; font-weight: 600; line-height: 1; margin: 0 0 3px; } &_username { &:before { content: '@'; margin-...
13,997
https://github.com/nisargshah1999/SRGAN-PyTorch/blob/master/test_video.py
Github Open Source
Open Source
Apache-2.0
null
SRGAN-PyTorch
nisargshah1999
Python
Code
740
2,322
# Copyright 2020 Dakewe Biotech Corporation. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
5,764
https://github.com/CaelRowley/brickblock-backend/blob/master/src/services/graphql/models/exchange-rate.js
Github Open Source
Open Source
MIT
null
brickblock-backend
CaelRowley
JavaScript
Code
42
119
/* @flow */ import mongoose from 'mongoose'; const exchangeRateSchema = new mongoose.Schema({ currency: { type: String, required: true, }, euro: { type: Number, required: true, }, dollar: { type: Number, required: true, }, }); const exchangeRate = mongoose.model('ExchangeRate', exc...
21,195
https://github.com/Ciaxur/Simple-Git-Server/blob/master/Server/script.sh
Github Open Source
Open Source
MIT
null
Simple-Git-Server
Ciaxur
Shell
Code
145
415
#!/bin/sh # Setup Users adduser -D git adduser -D webadmin # Configure Passwords usermod -p $SERVER_PASS git usermod -p $WEBADMIN_PASS webadmin # Clear Variables unset WEBADMIN_PASS unset SERVER_PASS # Git Configuration git config --global user.name "git-server" git config --global user.email "root@localhost" # DI...
8,342
https://github.com/dnv-opensource/Reflection/blob/master/Units/Runtime/Detail/DivideUnits.cpp
Github Open Source
Open Source
BSL-1.0
null
Reflection
dnv-opensource
C++
Code
132
543
// Copyright (c) 2021 DNV AS // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt #include "DivideUnits.h" namespace DNVS {namespace MoFa {namespace Units { namespace Runtime { namespace Detail { DivideUnits...
19,058
https://github.com/cdd/os-models/blob/master/src/main/scala/com/cdd/models/datatable/DataTable.scala
Github Open Source
Open Source
Apache-2.0
2,019
os-models
cdd
Scala
Code
1,506
4,827
package com.cdd.models.datatable import java.io._ import java.util.zip.{GZIPInputStream, GZIPOutputStream} import com.cdd.models.pipeline.tuning.IdenticalSplitLabels import com.cdd.models.utils.{HasLogging, Util} import com.opencsv.{CSVReader, CSVWriter} import org.apache.log4j.Logger import org.apache.spark.sql.{Dat...
37,975
https://github.com/yujianyuanhaha/Co-Channel-Sig-Detection/blob/master/solvers/java/src/main/java/com/analog/lyric/dimple/solvers/core/proposalKernels/ProposalKernelOptionKey.java
Github Open Source
Open Source
Apache-2.0
2,020
Co-Channel-Sig-Detection
yujianyuanhaha
Java
Code
235
543
/******************************************************************************* * Copyright 2014 Analog Devices, 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:/...
1,043
https://github.com/rkonings/react-ui/blob/master/src/Icon/ChessPawn.tsx
Github Open Source
Open Source
Apache-2.0
null
react-ui
rkonings
TypeScript
Code
105
335
/* tslint:disable */ import * as React from 'react'; import styled from 'styled-components'; import { SVGIcon, IconSpacing } from '../mixins/SVGIcon'; import IconProps from '../interfaces/IconProps'; const SvgChessPawn = (props: IconProps) => ( <svg viewBox="0 0 320 512" {...props}> <path d="M105.1 224H80a16 16 ...
4,403
https://github.com/rprobinson/MediPi/blob/master/Android/app/src/main/java/uk/gov/nhs/digital/telehealth/exceptions/DeviceConnectionException.java
Github Open Source
Open Source
Apache-2.0
2,022
MediPi
rprobinson
Java
Code
35
123
package uk.gov.nhs.digital.telehealth.exceptions; public class DeviceConnectionException extends Exception { public DeviceConnectionException() { super(); } public DeviceConnectionException(String detailMessage) { super(detailMessage); } public DeviceConnectionException(String det...
26,618
https://github.com/Jonathon50/FullScreenPokemon/blob/master/src/sections/Animations.ts
Github Open Source
Open Source
MIT
2,022
FullScreenPokemon
Jonathon50
TypeScript
Code
88
230
import { member } from "babyioc"; import { Section } from "eightbittr"; import { FullScreenPokemon } from "../FullScreenPokemon"; import { Fading } from "./animations/Fading"; import { Shrinking } from "./animations/Shrinking"; import { Sliding } from "./animations/Sliding"; /** * Generic animations for Actors. */...
16,006
https://github.com/Liggin2019/Ligg.SarchDotnet/blob/master/Ligg.Abp/src/Ligg.Abp.Domain/Cfg/Pd/IRepositories/IMaterialCategoryRepository.cs
Github Open Source
Open Source
MIT
2,021
Ligg.SarchDotnet
Liggin2019
C#
Code
26
111
using System; using System.Collections.Generic; using System.Threading.Tasks; using Volo.Abp.Domain.Repositories; namespace Ligg.Abp.Domain.IRepositories { public interface IMaterialCategoryRepository : IRepository<MaterialCategory, Guid> { Task BulkInsertAsync(IEnumerable<MaterialCategory> objs); ...
8,513