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/dkuo123/examples/blob/master/applications/popart/deep_voice/custom_ops/gradient_clipping_pattern.cpp
Github Open Source
Open Source
MIT
2,020
examples
dkuo123
C++
Code
210
902
// Copyright 2020 Graphcore Ltd. #include <popart/graph.hpp> #include <popart/ir.hpp> #include <popart/op.hpp> #include <popart/topocons.hpp> #include <popart/optimizer.hpp> #include <popart/tensor.hpp> #include <popart/tensorinfo.hpp> #include <popart/logging.hpp> #include <popart/op/gather.hpp> #include <popart/op/ma...
41,615
https://github.com/studiomohawk/cssradar-newsletter/blob/master/.gitmodules
Github Open Source
Open Source
MIT
2,012
cssradar-newsletter
studiomohawk
Git Config
Code
8
37
[submodule "_less.js"] path = _less.js url = git://github.com/cloudhead/less.js.git
28,904
https://github.com/tuxafgmur/OLD_Dhollmen_Kernel/blob/master/drivers/net/wireless/b43/radio_2055.h
Github Open Source
Open Source
BSD-Source-Code
2,021
OLD_Dhollmen_Kernel
tuxafgmur
C
Code
2,103
6,530
#ifndef B43_RADIO_2055_H_ #define B43_RADIO_2055_H_ #include <linux/types.h> #include "tables_nphy.h" #define B2055_GEN_SPARE 0x00 /* GEN spare */ #define B2055_SP_PINPD 0x02 /* SP PIN PD */ #define B2055_C1_SP_RSSI 0x03 /* SP RSSI Core 1 */ #define B2055_C1_SP_PDMISC 0x04 /* SP PD MISC Core 1 */ #define B2055...
47,043
https://github.com/l3kov9/CSharpAdvanced/blob/master/SetsAndDictionaries/SetsAndDictionaries.sln
Github Open Source
Open Source
MIT
2,018
CSharpAdvanced
l3kov9
null
Spoken
150
1,142
 Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 VisualStudioVersion = 15.0.26430.14 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "01.ParkingLot", "01.ParkingLot\01.ParkingLot.csproj", "{57852FC2-244D-4236-981F-68900AD28860}" EndProject Pr...
36,999
https://github.com/essembeh/ezfuse/blob/master/ezfuse/cli.py
Github Open Source
Open Source
Apache-2.0
2,022
ezfuse
essembeh
Python
Code
441
1,490
""" ezfuse - Quickly mount fuse filesystems in temporary directories """ import argparse import os import shlex import subprocess import sys from argparse import ArgumentParser from pathlib import Path from tempfile import TemporaryDirectory from colorama import Fore, Style from . import __title__, __version__ COMM...
39,421
https://github.com/MarioSomodi/Server-side-web-programming/blob/master/LV2-PHP login system and sessions/users.php
Github Open Source
Open Source
MIT
null
Server-side-web-programming
MarioSomodi
PHP
Code
70
334
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="style.css"> <title>Users</title> </head> <body> <table> <thead> ...
41,759
https://github.com/transip/tipctl/blob/master/src/Command/Action/ChildAction/GetByParentUuid.php
Github Open Source
Open Source
Apache-2.0
2,023
tipctl
transip
PHP
Code
69
288
<?php namespace Transip\Api\CLI\Command\Action\ChildAction; use Transip\Api\CLI\Command\Field; use Transip\Api\CLI\Command\AbstractCommand; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class GetByParentUui...
19,035
https://github.com/emeentag/weather-info-app/blob/master/src/main/java/com/care/app/entities/dto/CloudDTO.java
Github Open Source
Open Source
MIT
2,018
weather-info-app
emeentag
Java
Code
55
162
package com.care.app.entities.dto; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; /** * CloudDTO */ @JsonIgnoreProperties(ignoreUnknown = true) public class CloudDTO { @JsonProperty(value = "all") private Short percent; /** * @param per...
52,376
https://github.com/simplerjiang/My_Fucking_Learning_Code/blob/master/单链表案例/单链表案例/main.c
Github Open Source
Open Source
Unlicense
2,018
My_Fucking_Learning_Code
simplerjiang
C
Code
323
1,038
#include <stdio.h> #include <stdlib.h> #define ERROR 1; #define OK 0; typedef int ElemType; //data数据类型 typedef int Status; //状态类型 typedef struct Node { ElemType data; struct Node *next; }Node, *LinkList; Status InitList(LinkList *L); Status GetMidNode(LinkList L, ElemType *e); //e是需要输出的 Status AddListHead(LinkLi...
24,330
https://github.com/Nondzu/opencv_contrib/blob/master/modules/optflow/src/rlof/geo_interpolation.cpp
Github Open Source
Open Source
BSD-3-Clause
2,022
opencv_contrib
Nondzu
C++
Code
1,625
4,989
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // This functions have been contributed by Jonas Geisters <geistert@nue.tu-berlin.de> #include "../precomp.hpp" #include "ge...
46,865
https://github.com/juhly/idai-field/blob/master/src/app/components/docedit/tabs/docedit-conflicts-tab.scss
Github Open Source
Open Source
Apache-2.0
null
idai-field
juhly
SCSS
Code
65
252
docedit-conflicts-tab { #conflict-resolver { height: calc(100vh - 161px); overflow-x: hidden; overflow-y: auto; h3 { user-select: none; } .conflict-resolver-field { padding: 10px 5px; user-select: none; } .radio-button-field { padding-left: 20px; } ....
1,612
https://github.com/atveit/vespa/blob/master/searchlib/src/vespa/searchlib/attribute/numericbase.cpp
Github Open Source
Open Source
Apache-2.0
2,018
vespa
atveit
C++
Code
143
607
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "numericbase.hpp" namespace search { IMPLEMENT_IDENTIFIABLE_ABSTRACT(NumericAttribute, AttributeVector); using attribute::LoadedEnumAttributeVector; void NumericAttribute::fillEnum0(cons...
31,861
https://github.com/natebrunette/gson-php/blob/master/src/Internal/TypeAdapter/Factory/ReflectionTypeAdapterFactory.php
Github Open Source
Open Source
MIT
2,017
gson-php
natebrunette
PHP
Code
228
700
<?php /* * Copyright (c) Nate Brunette. * Distributed under the MIT License (http://opensource.org/licenses/MIT) */ namespace Tebru\Gson\Internal\TypeAdapter\Factory; use Tebru\Gson\Internal\ConstructorConstructor; use Tebru\Gson\Internal\Excluder; use Tebru\Gson\PhpType; use Tebru\Gson\Internal\Data\PropertyColle...
15,122
https://github.com/KOITT3/IntegrationProject/blob/master/asm/minji/190430/sublt.S
Github Open Source
Open Source
MIT
2,019
IntegrationProject
KOITT3
Unix Assembly
Code
52
190
.data fmt: .asciz "r1 = %d\n" .text .global main main: stmfd sp!, {lr} mov r1, #34 mov r2, #77 mov r3, #28 cmp r2, r3 //compare ble print //bl + ...e? sublt r1, r1, #1 //sub+ ...gt? print: ldr r0, =fmt bl printf mov r0, #0 ldmfd sp!, {lr} mov pc, lr
5,414
https://github.com/khamutov/intellij-scala/blob/master/scala/scala-impl/test/org/jetbrains/plugins/scala/lang/completeStatement/ScalaCompleteWhileConditionTest.scala
Github Open Source
Open Source
Apache-2.0
2,022
intellij-scala
khamutov
Scala
Code
384
1,115
package org.jetbrains.plugins.scala package lang package completeStatement import com.intellij.testFramework.EditorTestUtil /** * @author Ksenia.Sautina * @author Dmitry.Naydanov * @since 2/25/13 */ class ScalaCompleteWhileConditionTest extends ScalaCompleteStatementTestBase { import EditorTestUtil.{CARET_...
42,278
https://github.com/sjison/Toss.Blazor/blob/master/Toss.Server/Dockerfile
Github Open Source
Open Source
MIT
2,019
Toss.Blazor
sjison
Dockerfile
Code
53
198
FROM microsoft/dotnet:3.0-aspnetcore-runtime AS base WORKDIR /app EXPOSE 80 FROM remibou/blazor-build-08 AS build WORKDIR /src COPY Toss.Server/Toss.Server.csproj Toss.Server/ COPY Toss.Client/Toss.Client.csproj Toss.Client/ COPY Toss.Shared/Toss.Shared.csproj Toss.Shared/ RUN dotnet restore Toss.Server/Toss.Server.cs...
12,179
https://github.com/xuwei-k/curryhoward/blob/master/src/test/scala/io/chymyst/ch/unit/TheoremProverSpec.scala
Github Open Source
Open Source
Apache-2.0
2,022
curryhoward
xuwei-k
Scala
Code
276
998
package io.chymyst.ch.unit import io.chymyst.ch._ import org.scalatest.{FlatSpec, Matchers} class TheoremProverSpec extends FlatSpec with Matchers { private val freshVar = new FreshIdents(prefix = "x") behavior of "constant types" it should "treat constant types as unique type variables" in { val sequent...
42,414
https://github.com/Trouvere/TrShop/blob/master/src/main/java/com/trouvere/service/UserServiceImpl.java
Github Open Source
Open Source
Apache-2.0
2,017
TrShop
Trouvere
Java
Code
109
438
package com.trouvere.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.trouvere.entity.Orders; import com.trouvere.entity.User; import com.trouvere.repository.OrdersRepository; import com.trouvere.repository.UserRe...
16,829
https://github.com/sgtsi-jenny/sales_and_inventory/blob/master/products_inventory.php
Github Open Source
Open Source
MIT
null
sales_and_inventory
sgtsi-jenny
PHP
Code
399
1,831
<?php require_once("support/config.php"); if(!isLoggedIn()) { toLogin(); die(); } // if(!AllowUser(array(1))) // { // redirect("index.php"); // } $data=$con->myQuery("SELECT p.product_id, p.product_code, ...
31,065
https://github.com/Cloet/NativeAppsI/blob/master/auction/ViewControllers/LotFavoritesViewController.swift
Github Open Source
Open Source
Apache-2.0
null
NativeAppsI
Cloet
Swift
Code
417
1,217
// // LotFavoritesViewController.swift // auction // // Created by mathias cloet on 12/08/2020. // Copyright © 2020 mathias cloet. All rights reserved. // import Foundation import UIKit import RealmSwift // Show a list of all favorited lots class LotFavoritesViewController: UIViewController { // All favo...
49,797
https://github.com/movwf/react-socket-io-realtime-colors/blob/master/client/src/componets/Name/ColorName.js
Github Open Source
Open Source
MIT
2,021
react-socket-io-realtime-colors
movwf
JavaScript
Code
44
185
import {useContext} from 'react'; import ColorContext from '../../contexts/ColorContext'; function ColorName() { const {color} = useContext(ColorContext); return ( <div style={{ color:(color.v<50)?"white":"black", fontWeight:400, position:"fixed", left:"25px", bott...
17,600
https://github.com/opello/adventofcode/blob/master/2017/python/01-1.py
Github Open Source
Open Source
MIT
2,015
adventofcode
opello
Python
Code
52
129
#!/usr/bin/env python total = 0 firstdigit = 0 digit = 0 with open('../inputs/01.txt') as f: digit = int(f.read(1)) firstdigit = digit while True: tmp = f.read(1) try: tmp = int(tmp) except: if digit == firstdigit: total += firstdigit ...
33,771
https://github.com/fredyw/leetcode/blob/master/src/main/rust/src/bin/problem2698.rs
Github Open Source
Open Source
MIT
2,023
leetcode
fredyw
Rust
Code
130
347
// https://leetcode.com/problems/find-the-punishment-number-of-an-integer/ pub fn punishment_number(n: i32) -> i32 { fn is_punishment_number(num: i32, chars: &Vec<char>, i: usize, acc: i32, sum: i32) -> bool { if sum > num { return false; } if i == chars.len() { retur...
23,126
https://github.com/jontelarsson94/DVA313-Solar-Energy/blob/master/Example for Login and Design/ctrl/index.js
Github Open Source
Open Source
MIT
2,017
DVA313-Solar-Energy
jontelarsson94
JavaScript
Code
11,297
37,101
//set module and controller that we can use in html/php file angular.module('index', []).controller('indexCtrl', function($scope, $http) { $scope.number = 112; $scope.next = 0; $scope.getIndataDefaultsPerson = function (){ $http.get("api/get_indata_defaults_person.php") .success(function (response) { ...
11,960
https://github.com/cha63506/chromium-29/blob/master/chrome/browser/ui/gtk/import_dialog_gtk.h
Github Open Source
Open Source
BSD-3-Clause
2,011
chromium-29
cha63506
C++
Code
281
800
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_GTK_IMPORT_DIALOG_GTK_H_ #define CHROME_BROWSER_UI_GTK_IMPORT_DIALOG_GTK_H_ #pragma once #include "chrome/browser/importer/...
25,829
https://github.com/sankalpakulkarni/keeperSource/blob/master/src/edu/neu/mdr/workflow/model/DecisionState.java
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0, BSD-2-Clause
2,014
keeperSource
sankalpakulkarni
Java
Code
41
106
package edu.neu.mdr.workflow.model; import javax.persistence.Entity; /** * A state that includes a decision. * All transitions in a decision state must be of ConditionTransition type. * * @author Maximo Gurmendez (mgurmend@ccs.neu.edu) * */ @Entity //@XmlRootElement(name="decisionState") public class DecisionS...
43,230
https://github.com/FlamingTempura/bibtex-tidy/blob/master/test/index.ts
Github Open Source
Open Source
MIT
2,023
bibtex-tidy
FlamingTempura
TypeScript
Code
17
111
import { readdirSync } from 'fs'; readdirSync(__dirname) .filter((file) => file.endsWith('.spec.ts')) .forEach((file) => require(`./${file}`)); require('../src/cli/argsParser.spec.ts'); require('../src/cli/argsToOptions.spec.ts'); require('../src/latexParser.spec.ts'); require('../src/parseAuthors.spec.ts');
12,884
https://github.com/christophe-rannou/ovh-api-services/blob/master/src/api/dbaas/logs/offer/offer.service.js
Github Open Source
Open Source
BSD-3-Clause
2,019
ovh-api-services
christophe-rannou
JavaScript
Code
15
104
angular.module('ovh-api-services').service('OvhApiDbaasLogsOffer', ($injector) => ({ v6() { return $injector.get('OvhApiDbaasLogsOfferV6'); }, Iceberg() { return $injector.get('OvhApiDbaasLogsOfferIceberg'); }, }));
20,814
https://github.com/Apheleia-IT/openvidu-loadtest/blob/master/browser-emulator/src/controllers/openvidu-browser.controller.ts
Github Open Source
Open Source
Apache-2.0
null
openvidu-loadtest
Apheleia-IT
TypeScript
Code
292
1,059
import * as express from 'express'; import { Request, Response } from 'express'; import { BrowserManagerService } from '../services/browser-manager.service'; import { OpenViduRole } from '../types/openvidu.type'; import { BrowserMode, LoadTestPostRequest, LoadTestPostResponse, TestProperties } from '../types/api-rest.t...
39,963
https://github.com/torchello/pretty-printer/blob/master/spec/Memio/PrettyPrinter/CodeGenerator/PhpdocCollectionCodeGeneratorSpec.php
Github Open Source
Open Source
MIT
2,021
pretty-printer
torchello
PHP
Code
103
418
<?php /* * This file is part of the memio/pretty-printer package. * * (c) Loïc Faugeron <faugeron.loic@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace spec\Memio\PrettyPrinter\CodeGenerator; use Memio\Model\...
13,249
https://github.com/r0qs/ohpc/blob/master/tests/libs/phdf5/tests/rm_execution
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, BSD-3-Clause, LicenseRef-scancode-llnl, LicenseRef-scancode-hdf4
2,016
ohpc
r0qs
Shell
Code
103
383
#!../../../common/bats/bin/bats # -*-sh-*- load ../../../common/test_helper_functions || exit 1 source ../../../common/functions || exit 1 if [ -s ../../../TEST_ENV ];then source ../../../TEST_ENV fi if [ "$RESOURCE_MANAGER" = "slurm" ];then rm=slurm else ERROR "Unsupported or unknown resource manager" ...
41,403
https://github.com/pranay22/PublishSubscribeSystem/blob/master/pubsub/src/com/pubsub/MQConnector.java
Github Open Source
Open Source
MIT
2,015
PublishSubscribeSystem
pranay22
Java
Code
610
2,198
package com.pubsub; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.Set; import javax.jms.JMSException; import javax.jms.Message; import javax.jms.MessageListener; import javax.jms.Session; import javax.jms.TextMessage; import javax.jms.Topic; import javax.jms.TopicConne...
20,669
https://github.com/lucky312123/Drawing_deer/blob/master/Drawing_deer/src/drawing_deer/Drawing_deer.java
Github Open Source
Open Source
MIT
null
Drawing_deer
lucky312123
Java
Code
474
1,507
package drawing_deer; import java.awt.image.BufferedImage; import java.io.File; import javax.imageio.ImageIO; public class Drawing_deer { public static void flip(BufferedImage img){ for (int i = 0; i < img.getHeight(); i++) { for (int j = 0; j < img.getWidth...
51,547
https://github.com/amlucas/sdfTools/blob/master/tests/test_basic_sdfs.py
Github Open Source
Open Source
MIT
2,021
sdfTools
amlucas
Python
Code
178
876
import unittest import sdf_tools.Sdf as sdf class TestBasicSDFs(unittest.TestCase): def test_box(self): box = sdf.Box(low=[-1,-2,-1], high=[1,2,1], inside=True) self.assertEqual(box.at([0, 0, 0]), -1) self.assertEqual(box.at([0, 3, 0]), 1) ...
16,945
https://github.com/gonghs/auth-system/blob/master/mp-server/src/main/java/com/maple/server/dao/admin/UserRoleMapper.java
Github Open Source
Open Source
Apache-2.0
null
auth-system
gonghs
Java
Code
31
129
package com.maple.server.dao.admin; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.maple.server.dto.admin.UserRoleDTO; import org.apache.ibatis.annotations.Mapper; /** * 用户数据层 * * @author maple * @version 1.0 * @since 2019-09-07 19:17 */ @Mapper public interface UserRoleMapper extends BaseMa...
23,184
https://github.com/sihaanssr/semVI/blob/master/DWH/Expt1/firstdatawarehouse.sql
Github Open Source
Open Source
BSD-2-Clause
null
semVI
sihaanssr
SQL
Code
139
735
CREATE TABLE dimproduct( pid VARCHAR(30) PRIMARY KEY, pkey VARCHAR(30), pname VARCHAR(50), unitprice NUMERIC(10), category VARCHAR(30), ); INSERT INTO dimproduct (pid, pkey, pname, unitprice, category) VALUES ('1','1001','lg',3000,'phone'), ('2','1001','lg',2000,'washingmachine'), ('3','1002','samsung',1000...
53,136
https://github.com/ktunya/ChasteMod/blob/master/mesh/test/utilities/TestBoxCollection.hpp
Github Open Source
Open Source
Apache-2.0
null
ChasteMod
ktunya
C++
Code
2,358
14,711
/* Copyright (c) 2005-2015, University of Oxford. All rights reserved. University of Oxford means the Chancellor, Masters and Scholars of the University of Oxford, having an administrative office at Wellington Square, Oxford OX1 2JD, UK. This file is part of Chaste. Redistribution and use in source and binary forms...
5,081
https://github.com/UniqueStudio/UniqueDI/blob/master/UniqueDI/Extension/UDIManager/UDIManager.m
Github Open Source
Open Source
MIT
2,021
UniqueDI
UniqueStudio
Objective-C
Code
133
462
// // UDIManager.m // UniqueDI // // Created by Macsed on 2021/2/24. // #import "UDIManager.h" #import "UDIQueue.h" @implementation UDIManager static UDIContext *appContext; + (UDIContext *)AppContext{ if (!appContext){ appContext = [[UDIContext alloc]initWithName:@"AppContext" superContext:nil]; ...
19,978
https://github.com/pulumi/pulumi-azure-native/blob/master/sdk/nodejs/policyinsights/v20220901/index.ts
Github Open Source
Open Source
BSD-3-Clause, Apache-2.0
2,023
pulumi-azure-native
pulumi
TypeScript
Code
276
1,001
// *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../../utilities"; // Export members: export { AttestationAtResourceArgs } from "./attestationAt...
15,835
https://github.com/Lebon369/differentiable-robot-model/blob/master/tests/test_toy.py
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,021
differentiable-robot-model
Lebon369
Python
Code
769
3,658
# Copyright (c) Facebook, Inc. and its affiliates. import os import random import torch import numpy as np import pytest import pybullet as p import diff_robot_data from differentiable_robot_model.differentiable_robot_model import DifferentiableTwoLinkRobot robot_description_folder = diff_robot_data.__path__[0] np.s...
53,180
https://github.com/iamroof/ionic-csv-reader/blob/master/src/app/home/employee/employee.page.scss
Github Open Source
Open Source
MIT
null
ionic-csv-reader
iamroof
SCSS
Code
33
133
.dt-row{ padding: 5px; margin-top:2px; margin-bottom: 2px; } .br-row{ border-bottom: 1px solid rgba(0, 0, 0, 0.1); } .lb-col{ font-weight: bold; color: #737373; border-right: 1px solid rgba(0, 0, 0, 0.1); } .dt-col{ color: #000; }
9,803
https://github.com/marcorsouza/app01/blob/master/App01.Model.Infra/App01.Model.Infra.CrossCutting/Features/UserFeatures/CreateUserHandler.cs
Github Open Source
Open Source
MIT
null
app01
marcorsouza
C#
Code
39
168
using App01.Model.Domain.Entities; using App01.Model.Domain.Services; using App01.Model.Infra.CrossCutting.Features.handlers; using App01.Model.Infra.CrossCutting.Notifications; using App01.Model.Service.Validators; using AutoMapper; namespace App01.Model.Infra.CrossCutting.Features.UserFeatures { public class Cre...
51,591
https://github.com/romkatsu/yii-queue/blob/master/tests/App/DummyInterface.php
Github Open Source
Open Source
BSD-3-Clause
2,022
yii-queue
romkatsu
PHP
Code
8
41
<?php declare(strict_types=1); namespace Yiisoft\Yii\Queue\Tests\App; interface DummyInterface { }
45,232
https://github.com/sagaranand015/PokerServer/blob/master/src/main/java/com/hyphenated/card/eval/ConfigurationLoader.java
Github Open Source
Open Source
MIT
2,016
PokerServer
sagaranand015
Java
Code
424
853
/* The MIT License (MIT) Copyright (c) 2013 Jacob Kanipe-Illig 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 without limitation the rights to use, copy, modify, m...
36,241
https://github.com/Kernel-Team/slackware-from-scratch/blob/master/musl/l/Mako/Mako.musl.diff
Github Open Source
Open Source
BSD-2-Clause
2,022
slackware-from-scratch
Kernel-Team
null
Spoken
825
9,458
diff -ruBN /tmp/Mako/Mako.SlackBuild.log /source/l/Mako/Mako.SlackBuild.log --- /tmp/Mako/Mako.SlackBuild.log 1970-01-01 00:00:00.000000000 +0000 +++ /source/l/Mako/Mako.SlackBuild.log 2021-01-17 22:50:57.000000000 +0000 @@ -0,0 +1,398 @@ +Mako-1.1.4/ +Mako-1.1.4/AUTHORS +Mako-1.1.4/CHANGES +Mako-1.1.4/LICENSE +Mako-1....
42,845
https://github.com/NahuelKliphan/System/blob/master/src/app/component/menu/configuracion/configuracion.component.ts
Github Open Source
Open Source
MIT
2,022
System
NahuelKliphan
TypeScript
Code
70
350
import { Component, OnInit } from '@angular/core'; declare var $: any; @Component({ selector: 'app-configuracion', templateUrl: './configuracion.component.html', styleUrls: ['./configuracion.component.css'] }) export class ConfiguracionComponent implements OnInit { constructor() { } ngOnInit() { var p...
44,203
https://github.com/washics18/Projeto_Desafio_NEXTI/blob/master/src/main/java/com/washics_18/NEXTI_Projeto/repositores/EstadoRepository.java
Github Open Source
Open Source
MIT
null
Projeto_Desafio_NEXTI
washics18
Java
Code
16
98
package com.washics_18.NEXTI_Projeto.repositores; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import com.washics_18.NEXTI_Projeto.domain.Estado; @Repository public interface EstadoRepository extends JpaRepository<Estado, Integer>{ }
16,289
https://github.com/huppertt/nirs-toolbox-extra/blob/master/homer2/PACKAGES/AtlasViewerGUI/Headsurf/displayHeadsurf.m
Github Open Source
Open Source
BSD-2-Clause-Views
2,023
nirs-toolbox-extra
huppertt
MATLAB
Code
119
672
function headsurf = displayHeadsurf(headsurf, hAxes, options) if isempty(headsurf) return; end if headsurf.isempty(headsurf) return; end if ~exist('hAxes','var') | isempty(hAxes) hAxes = headsurf.handles.axes; end if ~exist('options','var') | isempty(options) options = 'patch'; end if ishandles(headsu...
49,668
https://github.com/splunk/seckit_sa_geolocation/blob/master/additional_packaging.py
Github Open Source
Open Source
Apache-2.0
2,022
seckit_sa_geolocation
splunk
Python
Code
102
464
# # SPDX-FileCopyrightText: 2021 Splunk, Inc. <sales@splunk.com> # SPDX-License-Identifier: LicenseRef-Splunk-1-2020 # # import os import glob import shutil import logging from pathlib import Path import requests import tarfile from tempfile import NamedTemporaryFile def additional_packaging(ta_name=None,outputdir=...
9,038
https://github.com/harrietjia/kci/blob/master/src/plugins/dialog/dialog.vue
Github Open Source
Open Source
MIT
null
kci
harrietjia
Vue
Code
730
2,871
<template> <transition name="scale"> <div class="content" v-show="show" @touchmove.prevent> <div class="box"> <p>{{text}}</p> <p class="tips" v-if="need === 1">已匹配订单取消后信用会降级</p> <div class="credit" v-if="need === 2"> <p class="tips">对方的信用度为:</p> <i v-for="(itemCl...
15,236
https://github.com/AmeanAsad/cypress-slack-reporter/blob/master/src/slack/test/slack-alert-mocked.test.ts
Github Open Source
Open Source
MIT
null
cypress-slack-reporter
AmeanAsad
TypeScript
Code
653
2,150
// tslint:disable-next-line: no-reference /// <reference path='../../../node_modules/@jest/types/build/index.d.ts'/> import "jest"; import * as SlackMock from "slack-mock-typed"; import * as slacker from "../slack-alert"; const base = process.env.PWD || "."; const vcsRoot: string = "github"; const ciProvider: string =...
43,249
https://github.com/fadlilahafalevi/point-of-sales/blob/master/application/views/admin/retur_list.php
Github Open Source
Open Source
MIT
null
point-of-sales
fadlilahafalevi
PHP
Code
298
1,777
<!DOCTYPE html> <html> <head> <title>RETUR PENJUALAN</title> <link rel="stylesheet" href="/point-of-sales/assets/css/materialdesignicons.min.css"> <link rel="stylesheet" href="/point-of-sales/assets/vendors/mdi/css/materialdesignicons.min.css"> <link rel="stylesheet" href="/point-of-sales/assets/css/vendor.bund...
48,520
https://github.com/untzag/gitsieve/blob/master/gitsieve/translate.py
Github Open Source
Open Source
MIT
2,022
gitsieve
untzag
Python
Code
229
611
"""Translate a shell PATTERN to a regular expression.""" # --- import -------------------------------------------------------------------------------------- import re # --- objects ------------------------------------------------------------------------------------- __all__ = ['translate'] # --- functions ---...
30,028
https://github.com/ikliko/booklibrary/blob/master/public/packages/serverfireteam/panel/css/less/fuelux/pillbox.less
Github Open Source
Open Source
MIT
null
booklibrary
ikliko
Less
Code
241
852
.pillbox { border: 1px solid #BBBBBB; border-radius: 4px; cursor: text; padding: 3px; &[data-readonly] { border: 1px solid transparent; &.truncate { .pillbox-input-wrap { display: inline-block; &.truncated { display: none; } } .pillbox-more { ...
9,464
https://github.com/MihaiDanielVirna/304CR-Games-and-AI/blob/master/Assets/Standard Assets/Editor.meta
Github Open Source
Open Source
Apache-2.0
2,017
304CR-Games-and-AI
MihaiDanielVirna
Unity3D Asset
Code
14
68
fileFormatVersion: 2 guid: 03d276886d19eee4696e210e6a24369c folderAsset: yes timeCreated: 1491138614 licenseType: Free DefaultImporter: userData: assetBundleName: assetBundleVariant:
9,532
https://github.com/prateekvarma/YahooAnwersClone/blob/master/resources/views/questions/index.blade.php
Github Open Source
Open Source
MIT
2,021
YahooAnwersClone
prateekvarma
Blade
Code
41
179
@extends('layouts.app') @section('content') <div class="container"> <h1>Recent Questions: </h1> <hr> @foreach ($questions as $question) <div class="card"> <div class="card-body"> <h3 class="card-title">{{ $question->title }}</h3> <p class="card-text">{{ $question->d...
34,913
https://github.com/sokoliko/open-bo-api/blob/master/code_blocks/virtual_account_editor/main.cpp
Github Open Source
Open Source
MIT
2,021
open-bo-api
sokoliko
C++
Code
1,653
7,866
#include <iostream> #include <fstream> #include <iomanip> #include <stdlib.h> #include "ico.h" #include <windows.h> #include "imgui.h" #include "imgui_internal.h" #include "imgui-SFML.h" #include "IconsFontaudio.h" #include "IconsForkAwesome.h" #include "inlcude/va-editor-256x256.hpp" #include <SFML/Graphics.hpp> #inc...
33,599
https://github.com/ridgew/DataSpecTester/blob/master/Gwsoft.DataSpec2/SpecData.cs
Github Open Source
Open Source
MIT
2,018
DataSpecTester
ridgew
C#
Code
750
3,037
using System; using System.Collections.Generic; using System.Text; using System.IO; namespace Gwsoft.DataSpec2 { /// <summary> /// 规范数据读取辅助类 /// </summary> public static class SpecData { /// <summary> /// 根据数据字段定义从字节序列视图中读取特定类型的数据 /// </summary> /// <typeparam name=...
39,387
https://github.com/satta/genometools/blob/master/src/core/safearith.c
Github Open Source
Open Source
BSD-2-Clause
2,022
genometools
satta
C
Code
1,041
3,828
/* Copyright (c) 2007-2008 Gordon Gremme <gordon@gremme.org> Copyright (c) 2010 Sascha Steinbiss <steinbiss@zbh.uni-hamburg.de> Copyright (c) 2007-2010 Center for Bioinformatics, University of Hamburg Permission to use, copy, modify, and distribute this software for any purpose with or without fee is he...
4,420
https://github.com/meyer5/ch.bfh.bti7081.s2020.red/blob/master/src/main/java/ch/bfh/btx8081/model/AutomaticAlarm.java
Github Open Source
Open Source
Unlicense
null
ch.bfh.bti7081.s2020.red
meyer5
Java
Code
46
130
package ch.bfh.btx8081.model; import java.time.LocalDate; public class AutomaticAlarm extends Alarm { // Constructor for persistence public AutomaticAlarm(Patient patient, String type, String message, LocalDate date) { super(patient, type, message, date); } // Constructor for application public AutomaticAlarm(...
19,545
https://github.com/neoneye/loda/blob/master/programs/oeis/111/A111926.asm
Github Open Source
Open Source
Apache-2.0
2,022
loda
neoneye
Assembly
Code
24
203
; A111926: Expansion of x^4/((1-2*x)*(x^2-x+1)*(x-1)^2). ; 0,0,0,0,1,5,15,36,78,162,331,671,1353,2718,5448,10908,21829,43673,87363,174744,349506,699030,1398079,2796179,5592381,11184786,22369596,44739216,89478457,178956941,357913911,715827852,1431655734,2863311498 mov $3,$0 mov $4,79 lpb $4 mov $2,$3 bin $2,$4 ad...
26,156
https://github.com/jeroenherczeg/tolerant-php-parser/blob/master/tests/cases/parser/castExpression5.php
Github Open Source
Open Source
MIT
2,019
tolerant-php-parser
jeroenherczeg
PHP
Code
11
16
<?php // TODO reserved words should be interpreted as identifiers (binary
8,657
https://github.com/BenjiPugh/olin-cafe-f21/blob/master/01_game_of_life/conway_cell.sv
Github Open Source
Open Source
MIT
null
olin-cafe-f21
BenjiPugh
null
Spoken
241
1,122
`default_nettype none module conway_cell(clk, rst, ena, state_0, state_d, state_q, neighbors); input wire clk; input wire rst; input wire ena; input wire state_0; output logic state_d; output logic state_q; input wire [7:0] neighbors; logic [3:0] living_neighbors; <<<<<<< HEAD logic [7:0] one_bit_...
35,901
https://github.com/patientsknowbest/FHIR/blob/master/fhir-server-test/src/test/java/com/ibm/fhir/server/test/operation/EraseOperationTest.java
Github Open Source
Open Source
Apache-2.0
null
FHIR
patientsknowbest
Java
Code
4,899
17,435
/* * (C) Copyright IBM Corp. 2021 * * SPDX-License-Identifier: Apache-2.0 */ package com.ibm.fhir.server.test.operation; import static com.ibm.fhir.model.type.String.string; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.testng.Assert.assertEquals; impo...
50,514
https://github.com/GameDev-One/BattleofRhiannonNetwork/blob/master/src/player/states/move.gd
Github Open Source
Open Source
MIT
2,021
BattleofRhiannonNetwork
GameDev-One
GDScript
Code
319
1,175
extends PlayerState # Parent state for all movement-related states for the Player. # Holds all of the base movement logic. # Child states can override this state's functions or change its properties. # This keeps the logic grouped in one location. export var max_speed: = 12.0 export var move_speed: = 10.0 export var ...
27,593
https://github.com/bestwpw/scs-browser/blob/master/core/S3Operation.m
Github Open Source
Open Source
BSD-3-Clause
2,014
scs-browser
bestwpw
Objective-C
Code
2,224
7,673
// // S3Operation.m // S3-Objc // // Created by Bruce Chen on 4/1/06. // Modernized by Martin Hering on 07/14/12 // Copyright 2014 Bruce Chen. All rights reserved. // #import "S3Operation.h" #import "S3Bucket.h" #import "S3ConnectionInfo.h" #import "S3PersistentCFReadStreamPool.h" #import "S3HTTPUrlBuilder.h" #i...
36,785
https://github.com/skychiarottoa/ReactiveAPI/blob/master/TokenAuthenticationDemo/Demo401/Demo401/Network/Backend/Models/Version.swift
Github Open Source
Open Source
BSD-3-Clause
null
ReactiveAPI
skychiarottoa
Swift
Code
47
94
import Foundation // this can be fully autogenerated with swagger codegen public struct Version: Codable { public let major: Int public let minor: Int public let patch: Int public init(major: Int, minor: Int, patch: Int) { self.major = major self.minor = minor self.patch = patc...
48,491
https://github.com/theRealMrGabi/theFashionhub-server/blob/master/src/services/imageUploader.ts
Github Open Source
Open Source
MIT
2,021
theFashionhub-server
theRealMrGabi
TypeScript
Code
47
130
import cloudinary from "../utils/cloudinary"; import logger from "../loaders/logger"; // export const UploadImage = async (image: string) => { export const UploadImage = async (image: any) => { try { const uploadImage = await cloudinary.v2.uploader.upload(image, { upload_preset: "theGadgetHub", }); return up...
42,387
https://github.com/jdkanani/plasma/blob/master/contracts/token/ContractReceiver.sol
Github Open Source
Open Source
MIT
2,018
plasma
jdkanani
Solidity
Code
80
143
pragma solidity 0.4.18; /* * Contract that is working with ERC223 tokens */ /// @title ContractReceiver - Standard contract implementation for compatibility with ERC 223 tokens. contract ContractReceiver { /// @dev Function that is called when a user or another contract wants to transfer funds. /// @param _fro...
52,504
https://github.com/vladimir-litvinchik/GroupDocs.Total-Angular/blob/master/libs/signature/src/lib/stamp-modal/stamp-modal.component.less
Github Open Source
Open Source
MIT
null
GroupDocs.Total-Angular
vladimir-litvinchik
Less
Code
315
1,418
@import "../../../../common-components/src/styles/variables"; .stamp-body { width: 1036px; height: 561px; ::ng-deep .button { font-size: unset !important; color: @primary !important; ::ng-deep .text { padding-left: 0px !important; } } .csg-text-input { padding: 5px; backgroun...
47,987
https://github.com/enlight-me/enlightme-app/blob/master/QMapControl/src/QMapControl/GeometryPolygon.h
Github Open Source
Open Source
Apache-2.0
2,020
enlightme-app
enlight-me
C++
Code
599
1,248
/* * * This file is part of QMapControl, * an open-source cross-platform map widget * * Copyright (C) 2014 Chris Stylianou * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, eithe...
8,099
https://github.com/ePages-de/restdocs-api-spec/blob/master/restdocs-api-spec-jsonschema/src/main/kotlin/com/epages/restdocs/apispec/jsonschema/ConstraintResolver.kt
Github Open Source
Open Source
MIT
2,023
restdocs-api-spec
ePages-de
Kotlin
Code
267
1,010
package com.epages.restdocs.apispec.jsonschema import com.epages.restdocs.apispec.model.Constraint import com.epages.restdocs.apispec.model.FieldDescriptor internal object ConstraintResolver { // since validation-api 2.0 NotEmpty moved to javax.validation - we support both private val NOT_EMPTY_CONSTRAINTS =...
54,225
https://github.com/lanhaifeng/baseframework/blob/master/src/main/java/com/feng/baseframework/io/PipeRead.java
Github Open Source
Open Source
MIT
2,023
baseframework
lanhaifeng
Java
Code
66
231
package com.feng.baseframework.io; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; /** * baseframework * 2022/5/14 22:09 * 读取数据-利用linux中fifo文件(命名管道)实现进程间通讯 * * @author lanhaifeng * @since **/ public class PipeRead { public static void main(String[] args) t...
10,606
https://github.com/mantinha/Scientific-Calculator/blob/master/scientific-calculator/src/main/java/br/fsa/adriano/scientific_calculator/CalcController.java
Github Open Source
Open Source
MIT
null
Scientific-Calculator
mantinha
Java
Code
783
3,192
package br.fsa.adriano.scientific_calculator; /** * JavaFX API * (F*) https://openjfx.io/javadoc/12/javafx.fxml/javafx/fxml/FXML.html * (G*) https://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/Button.html * (H*) https://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/TextField.html * (I*) ht...
30,919
https://github.com/crazymad-tools/blog-by-nodejs/blob/master/blog/public/js/action.js
Github Open Source
Open Source
MIT
2,018
blog-by-nodejs
crazymad-tools
JavaScript
Code
581
1,835
/** * @param obj * @param direction * @param distence * @param move_speed * @param show_speed * @constructor */ function ShowMove(obj, direction, distence, show_speed, move_speed) { //console.log(parseInt(obj.style.top.match(/[0-9]+/g)[0])); this.old_top = obj.style.top ? parseInt(obj.style.top.match(/\+...
9,647
https://github.com/deenseth/rally-portfolio-status/blob/master/tip-charts/FeatureTIPByQuarter.js
Github Open Source
Open Source
MIT
2,014
rally-portfolio-status
deenseth
JavaScript
Code
2,463
8,966
<!DOCTYPE html> <html> <head> <title>featuretimeinprocess</title> <script type="text/javascript" src="/apps/2.0rc1/sdk.js"></script> <script type="text/javascript" src="https://rally1.rallydev.com/apps/2.0rc1/lib/analytics/analytics-all.js"></script> <script type="text/javascript"> var CustomAppConfig...
6,364
https://github.com/keltonhalbert/AOS-453-Lab/blob/master/cm1r19/src/sorad3d_module.mod
Github Open Source
Open Source
MIT
2,019
AOS-453-Lab
keltonhalbert
null
Spoken
7,225
13,175
GFORTRAN module version '10' created from sorad3d.f90 MD5:76d69ee57bc6525ddf2fbbfd770e9b75 -- If you edit this, you'll get what you deserve. (() () () () () () () () () () () () () () () () () () () () () () () () () () ()) () () () () () (2 'sorad' 'sorad3d_module' '' 1 ((PROCEDURE UNKNOWN-INTENT MODULE-PROC DE...
26,983
https://github.com/site24x7/plugins/blob/master/elasticsearchcluster/elasticsearchcluster.py
Github Open Source
Open Source
BSD-2-Clause
2,023
plugins
site24x7
Python
Code
512
1,512
#!/usr/bin/python import json try: import urllib2 except Exception as e: import urllib.request as urllib2 ### For monitoring the performance metrics of your Elasticsearch cluster using Site24x7 Server Monitoring Plugins. ### 1. Have the site24x7 server monitoring agent up and running. ### 2. Download the plu...
43,425
https://github.com/georgettica/managed-upgrade-operator/blob/master/pkg/notifier/lognotifier.go
Github Open Source
Open Source
Apache-2.0
2,022
managed-upgrade-operator
georgettica
Go
Code
57
173
package notifier import ( "fmt" logf "sigs.k8s.io/controller-runtime/pkg/log" ) // NewLogNotifier returns a new logNotifier func NewLogNotifier() (*logNotifier, error) { return &logNotifier{}, nil } // A notifier that just writes to log output type logNotifier struct{} var log = logf.Log.WithName("event-notifie...
6,481
https://github.com/Fl-risB/muffon/blob/master/src/helpers/actions/plugins/jquery.js
Github Open Source
Open Source
MIT
2,021
muffon
Fl-risB
JavaScript
Code
65
155
export const toggleClass = (el, className, value) => { $(el).toggleClass( className, !!value ) } export const setPercentWidth = (el, value) => { el.style.width = `${value}%` } export const clone = el => { return $(el).clone()[0] } export const addClass = (el, value) => { $(el).addClass(value) } export...
20,708
https://github.com/softwareventures/maintain-project/blob/master/idea/write-dictionary.ts
Github Open Source
Open Source
0BSD
null
maintain-project
softwareventures
TypeScript
Code
127
473
import {filterFn, mapFn} from "@softwareventures/array"; import {JSDOM} from "jsdom"; import formatXml = require("xml-formatter"); import {textFile} from "../fs-stage/file"; import {FsStage, insert, InsertResult} from "../fs-stage/fs-stage"; import {readTemplateText} from "../template/read-text"; export async function...
44,400
https://github.com/DDuarte/SimpleDraw/blob/master/SimpleDraw/ObjectGroup.cs
Github Open Source
Open Source
MIT
null
SimpleDraw
DDuarte
C#
Code
47
151
using System.Collections.Generic; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Media; namespace SimpleDraw { public class ObjectGroup : IObject { public ObjectGroup() { } public void Draw(DrawingContext drawingContext, IViewM...
39,099
https://github.com/Daniel-Bas/ProyectoCiclo3/blob/master/src/components/Historia.vue
Github Open Source
Open Source
MIT
2,021
ProyectoCiclo3
Daniel-Bas
Vue
Code
756
2,552
<template> <section id="historia" class="tm"> <v-container fluid> <v-row align="center" justify="center"> <v-col cols="10"> <v-row > <v-col cols="12" md="8" xl="8"> <h1 class="display-2 font-weight-bold mb-4">Historia</h1> <h2><small class="text-muted...
18,397
https://github.com/averbukh/omniscidb/blob/master/Tests/ForeignStorageCacheTest.cpp
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-generic-cla
2,021
omniscidb
averbukh
C++
Code
1,250
6,901
/* * Copyright 2020 MapD Technologies, 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 o...
338
https://github.com/DoubleBridges/nutrivurv-fe/blob/master/components/forum/PostIcons.js
Github Open Source
Open Source
MIT
null
nutrivurv-fe
DoubleBridges
JavaScript
Code
136
432
import { useMutation } from "@apollo/react-hooks"; import { UPDATE_LIKE_COUNT } from "../../gql/mutations"; import EyeIconSVG from "../svg/EyeIconSVG"; import CommentIconSVG from "../svg/CommentIconSVG"; import LikeIconSVG from "../svg/LikeIconSVG"; export default function PostIcons({ data }) { const [addLike] = use...
10,907
https://github.com/rajmohan6268/nodejs-db-orm-world/blob/master/with TypeORM/nestjs-typescript-advance/src/entities/Category.ts
Github Open Source
Open Source
MIT
2,021
nodejs-db-orm-world
rajmohan6268
TypeScript
Code
67
207
import { IsNotEmpty } from 'class-validator'; import { Column, CreateDateColumn, Entity, ManyToOne, OneToMany, PrimaryGeneratedColumn, UpdateDateColumn, OneToOne, } from 'typeorm'; import Comment from './Comment'; import User from './User'; import Post from './Post'; @Entity() class Category { @Prima...
9,132
https://github.com/jrbeverly/JCompiler/blob/master/src/test/resources/assignment_testcases/a3/J1_5_AmbiguousName_LocalVsField.java
Github Open Source
Open Source
CC0-1.0
2,021
JCompiler
jrbeverly
Java
Code
155
288
// DISAMBIGUATION /* Disambiguation: * 1) If the first identifier of the name disambiguates into a local variable * access, then a local variable with that name must be in scope at that * point in the program. Beware that a local variable is not in scope * before its declaration, even though it might be present in...
51,844
https://github.com/santhanakumar4199/components/blob/master/app/styles/partials/_components.scss
Github Open Source
Open Source
MIT
2,017
components
santhanakumar4199
SCSS
Code
614
3,053
@import "partials/_color"; @import "partials/_layout"; .button{ min-width:100px; padding:10px 15px; text-align:center; } .button>a,.button>a:active,.button>a:visited,.button>a:hover,.button>a:focus { text-decoration:none; color:white; } .button.disabled.submit{ background-color:$color-def-blue-disabled...
14,515
https://github.com/gjy5885/azure-sdk-for-net/blob/master/sdk/streamanalytics/Microsoft.Azure.Management.StreamAnalytics/src/Generated/Models/IoTHubStreamInputDataSource.cs
Github Open Source
Open Source
MIT
2,022
azure-sdk-for-net
gjy5885
C#
Code
492
1,101
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
4,789
https://github.com/wmingcr/Campground_Yelp/blob/master/backend/src/entities/review.entity.ts
Github Open Source
Open Source
MIT
2,021
Campground_Yelp
wmingcr
TypeScript
Code
106
285
import { IsDefined, Max, Min } from 'class-validator'; import { Entity, Column, ManyToOne, JoinColumn } from 'typeorm'; import { AbstractEntity } from './abstract.entity'; import { Campground } from './campground.entity'; import { User } from './user.entity'; @Entity('reviews') export class Review extends AbstractEnti...
31,585
https://github.com/kavinkumarrajendran/ej2-javascript-ui-controls/blob/master/controls/barcodegenerator/src/qrcode/qrcode.ts
Github Open Source
Open Source
Net-SNMP, Xnet
2,022
ej2-javascript-ui-controls
kavinkumarrajendran
TypeScript
Code
1,148
3,193
import { removeChildElements, refreshCanvasBarcode, exportAsImage } from '../barcode/utility/barcode-util'; import { Complex, Property, Component, INotifyPropertyChanged, L10n, Event, EmitType } from '@syncfusion/ej2-base'; import { ErrorCorrectionLevel, QRCodeVersion, RenderingMode, BarcodeEvent, BarcodeExportType } f...
53,927
https://github.com/zerozodix/angular2-workshop/blob/master/app/app.component.ts
Github Open Source
Open Source
Unlicense
null
angular2-workshop
zerozodix
TypeScript
Code
81
357
import {Component} from 'angular2/core'; import {RouteConfig, ROUTER_DIRECTIVES} from 'angular2/router'; import {ContentHeader} from './app.header'; import {ContentView} from './app.content.view'; import {FooterView} from './app.footer'; import {ContentDetail} from './app.content.detail'; @Component({ selector: '...
31,222
https://github.com/sw19-tug/afternoon03/blob/master/app/src/androidTest/java/at/tugraz/ist/swe/teachingassistant/LANG_006_SelectTest.java
Github Open Source
Open Source
MIT
2,019
afternoon03
sw19-tug
Java
Code
172
774
package at.tugraz.ist.swe.teachingassistant; import android.content.Intent; import android.support.test.rule.ActivityTestRule; import android.support.test.runner.AndroidJUnit4; import android.widget.ListView; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Rule; import org....
51,887
https://github.com/omri-a/use-rx-observable/blob/master/src/test/index.spec.ts
Github Open Source
Open Source
MIT
2,020
use-rx-observable
omri-a
TypeScript
Code
244
692
import { renderHook, act } from '@testing-library/react-hooks'; import { useRxObservable } from '../lib'; import { of } from 'rxjs'; import { mapTo } from 'rxjs/operators'; test('should subscribe to the observable', () => { const { result } = renderHook(() => useRxObservable(($) => $, [])); act(() => { result...
43,435
https://github.com/usrfrndly/AfterHours.FM/blob/master/old/Chat/Pods/Headers/Public/PubNub/PubNub+Time.h
Github Open Source
Open Source
MIT
2,017
AfterHours.FM
usrfrndly
C
Code
633
1,645
#import "PubNub.h" /** Base class extension which provide methods to get server time. @author Sergey Mamontov @version 3.7.0 @copyright © 2009-13 PubNub Inc. */ @interface PubNub (Time) #pragma mark - Class (singleton) methods /** Request time token from \b PubNub service. Service will respond with unixtime...
36,299
https://github.com/karttu/loda/blob/master/programs/oeis/006/A006671.asm
Github Open Source
Open Source
Apache-2.0
null
loda
karttu
Assembly
Code
42
269
; A006671: Edge-distinguishing chromatic number of cycle with n nodes. ; 3,3,3,3,4,4,5,5,5,5,5,5,5,6,6,6,7,7,7,7,7,7,7,7,7,7,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,13,13 mov $1,$0 add $0,2 add $1,4 lpb $1,1 lpb $4,1 sub $4,$1 sub $1,...
19,738
https://github.com/allenai/ike/blob/master/src/test/scala/org/allenai/ike/ml/subsample/TestSpansTrackingDisjunction.scala
Github Open Source
Open Source
Apache-2.0
2,021
ike
allenai
Scala
Code
153
527
package org.allenai.ike.ml.subsample import org.allenai.common.testkit.UnitSpec import org.allenai.blacklab.search.Span import org.allenai.blacklab.search.lucene.{ BLSpans, HitQueryContext } class TestSpansTrackingDisjunction extends UnitSpec { def assertHit(spans: BLSpans, doc: Int, start: Int, end: Int, didMatc...
38,264
https://github.com/beida101/PublicCMS/blob/master/publiccms-admin-by-maven/src/main/java/com/publiccms/entities/cms/CmsTag.java
Github Open Source
Open Source
Apache-2.0
null
PublicCMS
beida101
Java
Code
185
542
package com.publiccms.entities.cms; // Generated 2015-7-10 16:31:39 by Hibernate Tools 4.0.0 import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import static javax.persistence.GenerationType.IDENTITY; import javax.persistence.Id; import javax.persistence.Table; ...
34,780
https://github.com/GrieferAtWork/deemon/blob/master/src/dex/posix/p-exit.c.inl
Github Open Source
Open Source
Zlib
2,021
deemon
GrieferAtWork
C++
Code
696
2,635
/* Copyright (c) 2018-2021 Griefer@Work * * * * This software is provided 'as-is', without any express or implied * * warranty. In no event will the authors be held liable for any damages * ...
3,673
https://github.com/btomala/sbt-plantuml-plugin/blob/master/src/main/java/net/sourceforge/plantuml/cucadiagram/dot/OSLinux.java
Github Open Source
Open Source
Apache-2.0
2,016
sbt-plantuml-plugin
btomala
Java
Code
207
497
/* ======================================================================== * PlantUML : a free UML diagram generator * ======================================================================== * * (C) Copyright 2009-2014, Arnaud Roques * * Project Info: http://plantuml.sourceforge.net * * This file is part of...
47,020