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/mysiar/mysiar-test-bundle/blob/master/src/Reflection/ReflectionSetter.php
Github Open Source
Open Source
MIT
null
mysiar-test-bundle
mysiar
PHP
Code
55
182
<?php declare(strict_types=1); namespace Mysiar\TestBundle\Reflection; use ReflectionClass; class ReflectionSetter { /** * @param string $objectClassName * @param object $object * @param string $propertyName * @param mixed $value * @throws */ public static function setProperty( ...
2,118
https://github.com/willstrawson/adie_ongoingthoughts/blob/master/adie/bids.py
Github Open Source
Open Source
MIT
2,021
adie_ongoingthoughts
willstrawson
Python
Code
145
615
import re import pandas as pd bids_pattern = "(sub-[A-Za-z0-9]*)_(ses-[A-Za-z0-9]*_)?(task-[A-Za-z0-9]*_)(acq-[A-Za-z0-9]*_)?(ce-[A-Za-z0-9]*_)?(rec-[A-Za-z0-9]*_)?(dir-[A-Za-z0-9]*_)?(run-[0-9]*_)?(mod-[A-Za-z0-9]*_)?(echo-[0-9]*_)?(recording-[A-Za-z0-9]*_)?(proc-[A-Za-z0-9]*_)?(space-[A-Za-z0-9]*_)?(split-[A-Za-z0-9...
47,048
https://github.com/a-tsuchiya1323/lorawan-stack/blob/master/pkg/ttnpb/lorawan.pb.go
Github Open Source
Open Source
Apache-2.0
2,020
lorawan-stack
a-tsuchiya1323
Go
Code
20,000
76,699
// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: lorawan-stack/api/lorawan.proto package ttnpb import ( bytes "bytes" encoding_binary "encoding/binary" fmt "fmt" io "io" math "math" math_bits "math/bits" reflect "reflect" strconv "strconv" strings "strings" time "time" _ "github.com/envoyproxy/protoc-gen-v...
1,872
https://github.com/isabella232/timeserieswidget/blob/master/graphite_helpers.js
Github Open Source
Open Source
BSD-2-Clause
2,020
timeserieswidget
isabella232
JavaScript
Code
70
243
String.prototype.graphiteGlob = function(glob) { var regex = '^'; for (var i = 0; i < glob.length; i++ ) { var c = glob.charAt(i); switch (c) { case '*': regex += '[^\.]+'; break; case '.': regex += '\\.'; br...
35,988
https://github.com/airbnb/Showkase/blob/master/showkase-processor-testing/src/test/resources/ShowkaseProcessorTest/class_with_@ScreenshotTest_generates_screenshot_test_for_all_UI_elements/input/testComposables.kt
Github Open Source
Open Source
Apache-2.0
2,023
Showkase
airbnb
Kotlin
Code
60
285
package com.airbnb.android.showkase_processor_testing import androidx.compose.runtime.Composable import com.airbnb.android.showkase.annotation.ShowkaseColor import com.airbnb.android.showkase.annotation.ShowkaseComposable import com.airbnb.android.showkase.annotation.ShowkaseTypography import androidx.compose.ui.graph...
28,912
https://github.com/keandi/keandi.github.com/blob/master/Product/m/AMuGeoNa/js/core/gameobjectpool.js
Github Open Source
Open Source
MTLL
null
keandi.github.com
keandi
JavaScript
Code
289
961
class GameObjectPool extends DestroyableObject { #_PV = {}; //ctor constructor(name, scene) { try { super(name, scene); this.#_PV.scene = scene; this.#_PV.gameObjects = new Map(); //[name, {createCb, [object, use]}], name=texture_frame this.#_PV.obje...
45,815
https://github.com/AxziplinNet/AxziplinNet/blob/master/Tests/SessionDelegateTests.swift
Github Open Source
Open Source
MIT
2,017
AxziplinNet
AxziplinNet
Swift
Code
183
444
// // SessionDelegateTests.swift // AxziplinNet // // Created by devedbox on 2017/4/19. // Copyright © 2017年 devedbox. All rights reserved. // import XCTest import AxziplinNet class SessionDelegateTests: XCTestCase { let delegate = SessionDelegate() override func setUp() { super.setUp() ...
4,462
https://github.com/sebastianiag/MiMangaNu/blob/master/MiMangaNuTest/src/ar/rulosoft/mimanganu/test/TestBase.java
Github Open Source
Open Source
MIT
2,015
MiMangaNu
sebastianiag
Java
Code
178
699
package ar.rulosoft.mimanganu.test; import java.util.ArrayList; import junit.framework.TestCase; import org.junit.After; import org.junit.Test; import ar.rulosoft.mimanganu.componentes.Capitulo; import ar.rulosoft.mimanganu.componentes.Manga; import ar.rulosoft.mimanganu.servers.ServerBase; public abstract class T...
34,311
https://github.com/JohnNiang/jenkins-client/blob/master/client/common.go
Github Open Source
Open Source
MIT
null
jenkins-client
JohnNiang
Go
Code
913
2,486
package client import ( "crypto/tls" "encoding/base64" "encoding/json" "fmt" "github.com/johnniang/jenkins-client/client/util" "go.uber.org/zap" "io" "io/ioutil" "log" "moul.io/http2curl" "net/http" "time" ext "github.com/linuxsuren/cobra-extension/version" httpdownloader "github.com/linuxsuren/http-dow...
1,956
https://github.com/MarcosAlvesTJr/nestjs-template/blob/master/src/auth/dtos/request-update-user-password.dto.ts
Github Open Source
Open Source
MIT
2,021
nestjs-template
MarcosAlvesTJr
TypeScript
Code
75
178
import { IsNotEmpty, MaxLength, MinLength } from 'class-validator'; export class RequestUpdateUserPasswordDto { @IsNotEmpty({ message: 'Campo senha é obrigatório' }) @MinLength(8, { message: 'Senha deve conter no mínimo 6 caracteres' }) @MaxLength(25, { message: 'Senha deve conter no máximo 25 caracteres' }) p...
52,508
https://github.com/JackChan1999/GooglePlay/blob/master/app/src/main/java/com/qq/googleplay/ui/drawable/TipDrawable.java
Github Open Source
Open Source
Apache-2.0
2,017
GooglePlay
JackChan1999
Java
Code
209
857
package com.qq.googleplay.ui.drawable; import android.content.Context; import android.content.res.Resources; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.drawable.BitmapDrawable; import com.qq.googleplay.R...
11,781
https://github.com/brucotz/MediaBrowser.ApiClient.Java/blob/master/src/mediabrowser/model/net/NetworkShareType.java
Github Open Source
Open Source
MIT
2,015
MediaBrowser.ApiClient.Java
brucotz
Java
Code
52
155
package mediabrowser.model.net; /** Enum NetworkShareType */ public enum NetworkShareType { /** Disk share */ Disk, /** Printer share */ Printer, /** Device share */ Device, /** IPC share */ Ipc, /** Special share */ Special; public int getValue() { return this.ordinal(); } publ...
1,963
https://github.com/phillc73/docs/blob/master/lib/authorizations.js
Github Open Source
Open Source
MIT
null
docs
phillc73
JavaScript
Code
90
259
var authorizations = module.exports; var getDb = require('./data'); var clients = require('./clients'); authorizations.getUserTenants = function(userId, callback) { getDb(function (db) { db.collection('clients').distinct('tenant', { owners: userId }, function (err, tenants) { if (err) { ret...
48,157
https://github.com/ckamtsikis/cmssw/blob/master/RecoMET/METFilters/plugins/EENoiseFilter.cc
Github Open Source
Open Source
Apache-2.0
2,022
cmssw
ckamtsikis
C++
Code
92
584
#include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/EDFilter.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h" class EENoiseFilter : public edm::EDFilter { p...
11,879
https://github.com/UniCT-WebDevelopment/edge-of-the-world/blob/master/src/app/src/admin/assign_layout.php
Github Open Source
Open Source
MIT
2,020
edge-of-the-world
UniCT-WebDevelopment
PHP
Code
59
288
<?php require('db.php'); session_start(); if($_SESSION['type']!= "admin") { die("Acceso negato"); } $db_conn = mysqli_connect($db_host, $db_user, $db_pass, $db_name); if( mysqli_connect_error()){ die("Database connection failed: ".mysqli_connect_error()); echo "error"; } $codice=(int)($_POST['codice'])...
18,937
https://github.com/florin-diaconescu/smoltcp/blob/master/examples/ping.rs
Github Open Source
Open Source
0BSD
null
smoltcp
florin-diaconescu
Rust
Code
690
2,761
mod utils; use std::str::FromStr; use std::collections::BTreeMap; use std::cmp; use std::os::unix::io::AsRawFd; use std::collections::HashMap; use log::debug; use byteorder::{ByteOrder, NetworkEndian}; use smoltcp::{phy::Medium, time::{Duration, Instant}}; use smoltcp::phy::Device; use smoltcp::phy::wait as phy_wait;...
1,833
https://github.com/aoliverio/Builder/blob/master/config/Seeds/RolesSeed.php
Github Open Source
Open Source
MIT
2,020
Builder
aoliverio
PHP
Code
77
225
<?php use Migrations\AbstractSeed; /** * Roles seed. */ class RolesSeed extends AbstractSeed { /** * Run Method. * * Write your database seeder using this method. * * More information on writing seeds is available here: * http://docs.phinx.org/en/latest/seeding.html * * @r...
36,167
https://github.com/tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective/blob/master/netbsdsrc/share/man/man4/man4.sun3/kbd.4
Github Open Source
Open Source
Apache-1.1
2,022
sourcecodes-of-CodeReadingTheOpenSourcePerspective
tharindusathis
null
Spoken
885
1,624
.\" $NetBSD: kbd.4,v 1.3.2.1 1997/11/26 04:16:11 mellon Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. .\" All rights reserved. .\" .\" This code is derived from software contributed to The NetBSD Foundation .\" by Paul Kranenburg. .\" .\" Redistribution and use in source and binary forms, with or without...
3,383
https://github.com/99xt-incubator/advanced-react-native-webview/blob/master/android/src/main/java/com/advancedwebview/AdvancedWebviewManager.java
Github Open Source
Open Source
MIT
2,018
advanced-react-native-webview
99xt-incubator
Java
Code
312
1,199
package com.advancedwebview; import android.content.Intent; import android.net.Uri; import android.webkit.DownloadListener; import android.webkit.MimeTypeMap; import android.webkit.ValueCallback; import android.webkit.WebChromeClient; import android.webkit.WebView; import com.facebook.react.uimanager.annotations.Rea...
53,581
https://github.com/AlexanderWert/kibana/blob/master/x-pack/plugins/uptime/public/components/overview/alerts/monitor_expressions/translations.ts
Github Open Source
Open Source
Apache-2.0
2,022
kibana
AlexanderWert
TypeScript
Code
193
854
/* * 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 { i18n } from '@kbn/i18n'; export const alertFilterLabels = { USING...
46,538
https://github.com/MrLujh/BugKit/blob/master/BugKit/LogInfo/BugKitLogInfoViewController.m
Github Open Source
Open Source
MIT
2,018
BugKit
MrLujh
Objective-C
Code
149
576
// // BugKitLogInfoViewController.m // BugKitExample // // Created by lujh on 2018/3/21. // Copyright © 2018年 lujh. All rights reserved. // #import "BugKitLogInfoViewController.h" #import <CocoaLumberjack/CocoaLumberjack.h> @interface BugKitLogInfoViewController () /** textView */ @property (nonatomic,strong) UIT...
24,789
https://github.com/OsvaldoGDelRio/cuestionario-ets-nom035-stps/blob/master/vendor/osvaldogdelrio/trabajador/src/NivelDeEstudios.php
Github Open Source
Open Source
MIT
2,021
cuestionario-ets-nom035-stps
OsvaldoGDelRio
PHP
Code
83
319
<?php namespace src; use Exception; class NivelDeEstudios { private string $_nivelDeEstudios; public function __construct(string $nivelDeEstudios) { $this->_nivelDeEstudios = $this->setNivelDeEstudios($nivelDeEstudios); } public function nivelDeEstudios(): string { return $th...
3,112
https://github.com/wk1984/gsshapy/blob/master/tests/grid_standard/erai_hmet_data/2016010309_RlHm.asc
Github Open Source
Open Source
BSD-3-Clause
2,017
gsshapy
wk1984
AGS Script
Code
30
123
ncols 4 nrows 5 xllcorner -1210458.76443 yllcorner 4504093.75781 cellsize 50996.6881218 74.091 78.8862 80.9837 76.5322 78.8833 78.9423 79.164 75.152 78.5395 78.2171 75.044 73.6186 76.7534 76.1166 74.4566 72.1515 76.071 75.4343 73.5855 72.2644
4,095
https://github.com/spartyann/website-backup/blob/master/src/App/Notifications/DiscordHelper.php
Github Open Source
Open Source
MIT
null
website-backup
spartyann
PHP
Code
311
1,210
<?php namespace App\Notifications; use Config\Config; /** * DiscordHelper * */ class DiscordHelper { public static function escape(string $string) { $string = str_replace('_', '\_', $string); $string = str_replace('*', '\*', $string); $string = str_replace('*', '\*', $string); $string = str_replace('~',...
16,678
https://github.com/Scellow/ecs/blob/master/Utils/EcsComponentPool.cs
Github Open Source
Open Source
MIT
null
ecs
Scellow
C#
Code
415
1,316
// ---------------------------------------------------------------------------- // The MIT License // Simple Entity Component System framework https://github.com/Leopotam/ecs // Copyright (c) 2017-2018 Leopotam <leopotam@gmail.com> // ---------------------------------------------------------------------------- using S...
45,159
https://github.com/phalcon/cphalcon/blob/master/tests/unit/Logger/Logger/GetNameCest.php
Github Open Source
Open Source
BSD-3-Clause
2,023
cphalcon
phalcon
PHP
Code
93
268
<?php /** * This file is part of the Phalcon Framework. * * (c) Phalcon Team <team@phalcon.io> * * For the full copyright and license information, please view the LICENSE.txt * file that was distributed with this source code. */ declare(strict_types=1); namespace Phalcon\Tests\Unit\Logger\Logger; use Phalcon...
20,511
https://github.com/aotearoan/neon/blob/master/src/app/views/layout/footer/Footer.scss
Github Open Source
Open Source
MIT
2,022
neon
aotearoan
SCSS
Code
12
39
.footer-examples { .neon-footer { margin-left: 0 !important; width: 100% !important; } }
13,295
https://github.com/dram/metasfresh/blob/master/misc/services/camel/de-metas-camel-edi/src/main/java/de/metas/edi/esb/invoicexport/compudata/Cctop901991V.java
Github Open Source
Open Source
RSA-MD
2,022
metasfresh
dram
Java
Code
640
1,874
/* * #%L * de-metas-edi-esb-camel * %% * Copyright (C) 2020 metas GmbH * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 2 of the * License, or (at your option) any la...
30,912
https://github.com/kamilk08/BookLoversApi/blob/master/BookLovers.Photos/Models/ProviderType.cs
Github Open Source
Open Source
MIT
null
BookLoversApi
kamilk08
C#
Code
18
52
namespace BookLovers.Photos.Models { public enum ProviderType { BookCoverProvider = 1, AuthorImageProvider = 2, AvatarImageProvider = 3, } }
31,634
https://github.com/hagios2/Yelp-Restaurant/blob/master/.discovery/discovery_asset_types.php
Github Open Source
Open Source
MIT
2,020
Yelp-Restaurant
hagios2
PHP
Code
125
476
<?php return array ( 'botman/driver-config' => array ( 0 => array ( 'value' => 'stubs/botframework.php', 'package' => 'botman/driver-botframework', 'packageDir' => 'vendor/botman/driver-botframework/', 'priority' => 0.0, 'metadata' => array ( ), ), 1 => ...
25,237
https://github.com/KellerLong/kirin-template/blob/master/base/src/services/HomeService.ts
Github Open Source
Open Source
MIT
2,018
kirin-template
KellerLong
TypeScript
Code
144
672
import Network, {Get, Post, Service} from 'kirin-strap/network'; import HomeTyping from 'src/typing/HomeTyping'; import log from 'kirin-strap/log'; /** * 继承网络层后 每个网络层都有以下基础方法 * @[post,get,put,delete](url?, sendData?, netWorkConfig?) * @getNetworkConfig(configName?); * 继承网络层后 每个网络层都有以下事件可用 讲在 demo 内展示 全局事件 在启动层注...
12,425
https://github.com/linwenxuan04/FEhViewer/blob/master/lib/pages/gallery/view/torrent_dialog.dart
Github Open Source
Open Source
Apache-2.0
null
FEhViewer
linwenxuan04
Dart
Code
283
1,185
import 'package:fehviewer/common/service/depth_service.dart'; import 'package:fehviewer/const/const.dart'; import 'package:fehviewer/generated/l10n.dart'; import 'package:fehviewer/pages/gallery/controller/torrent_controller.dart'; import 'package:fehviewer/utils/logger.dart'; import 'package:flutter/cupertino.dart'; i...
15,961
https://github.com/denix123/a32_ul/blob/master/platform/external/chromium_org/media/base/audio_renderer.h
Github Open Source
Open Source
BSD-3-Clause
2,016
a32_ul
denix123
C++
Code
109
380
// Copyright (c) 2012 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 MEDIA_BASE_AUDIO_RENDERER_H_ #define MEDIA_BASE_AUDIO_RENDERER_H_ #include "base/callback.h" #include "base/time/time.h" #include "media/base...
23,569
https://github.com/Banging12/land/blob/master/flat/MysteriousTreasure.sol
Github Open Source
Open Source
Apache-2.0
2,021
land
Banging12
Solidity
Code
1,439
4,572
// Dependency file: openzeppelin-solidity/contracts/math/SafeMath.sol // pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 _a, uint256 _b) intern...
27,421
https://github.com/csf-dev/CSF.TabularData/blob/master/Test.CSF/Data/TestInMemoryDataReader.cs
Github Open Source
Open Source
MIT
null
CSF.TabularData
csf-dev
C#
Code
574
1,741
// // TestInMemoryDataReader.cs // // Author: // Craig Fowler <craig@csf-dev.com> // // Copyright (c) 2015 CSF Software Limited // // 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 wit...
53,778
https://github.com/amrevalo/tienda-cliente/blob/master/public_html/js/app/carrito/1/removeproducto.js
Github Open Source
Open Source
MIT
null
tienda-cliente
amrevalo
JavaScript
Code
119
366
'use strict'; moduloCarrito.controller('CarritoRemoveController', ['$scope', '$routeParams', 'serverCallService', '$location', 'sessionService', 'constantService', function ($scope, $routeParams, serverCallService, $location, sessionService, constantService) { $scope.ob = "carrito";...
42,802
https://github.com/wotsushi/competitive-programming/blob/master/arc/079/a.rs
Github Open Source
Open Source
MIT
2,019
competitive-programming
wotsushi
Rust
Code
90
389
macro_rules! get { (Vec<$t:ty>) => { { let mut line: String = String::new(); std::io::stdin().read_line(&mut line).unwrap(); line.split_whitespace() .map(|t| t.parse::<$t>().unwrap()) .collect::<Vec<_>>() } }; ($t:ty) => { ...
17,970
https://github.com/wilsonbrito/pathfinder-brito/blob/master/node_modules/varint/test.js
Github Open Source
Open Source
MIT
2,021
pathfinder-brito
wilsonbrito
JavaScript
Code
380
1,162
var varint = require('./index') , test = require('tape') , decode = varint.decode , encode = varint.encode , encodingLength = varint.encodingLength test('fuzz test', function(assert) { var expect , encoded for(var i = 0, len = 100; i < len; ++i) { expect = randint(0x7FFFFFFF) encoded = encode(...
25,146
https://github.com/rydesun/awesome-github/blob/master/awg/init.go
Github Open Source
Open Source
MIT
2,021
awesome-github
rydesun
Go
Code
43
126
package awg import ( "sync" "go.uber.org/zap" ) var defaultLogger *zap.Logger func SetDefaultLogger(logger *zap.Logger) { defaultLogger = logger } func getLogger() *zap.Logger { if defaultLogger != nil { return defaultLogger } var once sync.Once once.Do(func() { defaultLogger, _ = zap.NewProduction() }...
74
https://github.com/GruDev325/vue3mockup/blob/master/src/views/Login.vue
Github Open Source
Open Source
MIT
null
vue3mockup
GruDev325
Vue
Code
362
1,297
<template> <div class="sticky top-0 flex justify-end px-6 py-7"> <button class="mr-1.5"> <img alt="Vue vector" src="../assets/img/Vector.svg" /> </button> <span>يبرع</span> <img class="ml-3" alt="Vue logo" src="../assets/img/globe.svg" /> </div> <div class="md:w-1 mx-auto text-mainColor font...
24,680
https://github.com/danielpalomino/aom/blob/master/test/av1_convolve_2d_test_util.h
Github Open Source
Open Source
BSD-2-Clause
2,022
aom
danielpalomino
C
Code
331
1,344
/* * Copyright (c) 2016, Alliance for Open Media. All rights reserved * * This source code is subject to the terms of the BSD 2 Clause License and * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License * was not distributed with this source code in the LICENSE file, you can * obtain it at w...
11,206
https://github.com/9inpachi/phoenix/blob/master/packages/phoenix-ng/projects/phoenix-ui-components/src/components/ui-menu/io-options/io-options-dialog/io-options-dialog.component.ts
Github Open Source
Open Source
Apache-2.0
2,021
phoenix
9inpachi
TypeScript
Code
295
1,100
import { Component, OnInit } from '@angular/core'; import { EventDisplayService } from '../../../../services/event-display.service'; import { MatDialogRef } from '@angular/material/dialog'; import { JiveXMLLoader, ScriptLoader } from 'phoenix-event-display'; @Component({ selector: 'app-io-options-dialog', template...
51,362
https://github.com/Yonghui56/ComponentialMultiphase/blob/master/ogsCore/GeoLib/MathTools.cpp
Github Open Source
Open Source
BSD-2-Clause
2,016
ComponentialMultiphase
Yonghui56
C++
Code
119
420
/** * Copyright (c) 2012, OpenGeoSys Community (http://www.opengeosys.com) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.com/LICENSE.txt * * * \file MathTools.cpp * * Created on 2012-xx-xx by Thomas Fischer */ #...
39,657
https://github.com/renovate-bot/java-run/blob/master/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionsGrpc.java
Github Open Source
Open Source
Apache-2.0
2,022
java-run
renovate-bot
Java
Code
1,297
5,921
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
8,868
https://github.com/NASA-AMMOS/VICAR/blob/master/vos/p2/sub/vgrcam/test/tvgrcam.f
Github Open Source
Open Source
BSD-3-Clause
2,022
VICAR
NASA-AMMOS
null
Spoken
97
380
C---------------------------------------------------------- C-----THIS PROGRAM WILL TEST SUBROUTINE VGRCAM C-----PORTED TO UNIX 07/12/93 C---------------------------------------------------------- INCLUDE 'VICMAIN_FOR' SUBROUTINE MAIN44 REAL*4 BUF(4) C--------------------------------- C FORTRAN - CALLABLE C--...
37,115
https://github.com/mfkiwl/deelbot/blob/master/include/module.h
Github Open Source
Open Source
MIT
2,015
deelbot
mfkiwl
C
Code
64
202
#ifndef IRCBOT_MODULE_H #define IRCBOT_MODULE_H #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <dirent.h> #include <string.h> //Buggy irc lib needs some of those to be included before it #include <libircclient/libircclient.h> extern irc_session_t *session; typedef struct { char * channel; ...
23,348
https://github.com/yeastrc/msdapl/blob/master/MS_LIBRARY/src/org/yeastrc/ms/dao/analysis/peptideProphet/ProphetFilteredSpectraResultDAO.java
Github Open Source
Open Source
Apache-2.0
2,021
msdapl
yeastrc
Java
Code
54
237
/** * ProphetFilteredSpectraResultDAO.java * @author Vagisha Sharma * Aug 7, 2011 */ package org.yeastrc.ms.dao.analysis.peptideProphet; import java.util.List; import org.yeastrc.ms.domain.analysis.peptideProphet.impl.ProphetFilteredSpectraResult; /** * */ public interface ProphetFilteredSpectraResultDAO { ...
5,244
https://github.com/jbride/hiring-app-internal/blob/master/src/app/about.tsx
Github Open Source
Open Source
MIT
2,019
hiring-app-internal
jbride
TypeScript
Code
70
271
import React from 'react'; import { AboutModal, TextContent, TextList, TextListItem } from '@patternfly/react-core'; import imgAboutBg from '@assets/images/pfbg_768@2x.jpg'; export interface IAppAboutProps { isAboutOpen: boolean, onToggleAbout: () => void, imageBrandSrc: string } export default function A...
7,772
https://github.com/pgranstam/codefarm/blob/master/src/app/BaselineRepo/test/baseline_repo.js
Github Open Source
Open Source
MIT
2,020
codefarm
pgranstam
JavaScript
Code
795
2,535
"use strict"; /* global describe it before after */ const { assert } = require("chai"); const rp = require("request-promise"); const { mochaPatch } = require("testsupport"); const getPort = require("get-port"); const { ServiceMgr } = require("service"); const Main = require("../lib/main"); mochaPatch(); describe("B...
43,183
https://github.com/yuiwashita/Strata/blob/master/modules/measure/src/test/java/com/opengamma/strata/measure/curve/TestMarketDataMap.java
Github Open Source
Open Source
Apache-2.0
2,021
Strata
yuiwashita
Java
Code
259
993
/** * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.measure.curve; import static com.opengamma.strata.collect.Guavate.toImmutableSet; import java.time.LocalDate; import java.util.Map; import java.util.Op...
40,360
https://github.com/lordelph/phrozn/blob/master/tests/Phrozn/Processor/templates/tpl1.less
Github Open Source
Open Source
Apache-2.0
2,022
phrozn
lordelph
Less
Code
96
318
@pageWidth: 1000px; @color1: #F0F0F0; @color2: #201A16; @color3: #3B3128; @color4: #1D5A50; #wrap { background: @color1; border: 2px solid @color2; margin: 0 auto; overflow: hidden; width: @pageWidth; } h1 { background: @color4; border-bottom: 1px solid @color4 + #333; border-top: 1px ...
37,661
https://github.com/noahlange/corescript-ts/blob/master/src/rpg_windows/Window_HorzCommand.ts
Github Open Source
Open Source
MIT
2,017
corescript-ts
noahlange
TypeScript
Code
40
104
import Window_Command from './Window_Command'; //----------------------------------------------------------------------------- // Window_HorzCommand // // The command window for the horizontal selection format. export default class Window_HorzCommand extends Window_Command { numVisibleRows() { return 1; ...
2,025
https://github.com/mateso/kipps/blob/master/models/StudentsTransferSearch.php
Github Open Source
Open Source
BSD-3-Clause
2,017
kipps
mateso
PHP
Code
101
325
<?php namespace app\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\StudentsTransfer; /** * StudentsTransferSearch represents the model behind the search form about `app\models\StudentsTransfer`. */ class StudentsTransferSearch extends StudentsTransfer { public function rul...
41,330
https://github.com/Iffigues/Matcha/blob/master/client/src/components/suggestions/index.js
Github Open Source
Open Source
MIT
2,022
Matcha
Iffigues
JavaScript
Code
6
15
export { default } from './Suggestions-container.jsx';
45,466
https://github.com/tari-project/wallet-ios/blob/master/MobileWallet/Common/Managers/BLE/BLECentralTask.swift
Github Open Source
Open Source
BSD-3-Clause
2,023
wallet-ios
tari-project
Swift
Code
550
1,277
// BLECentralTask.swift /* Package MobileWallet Created by Adrian Truszczyński on 20/04/2023 Using Swift 5.0 Running on macOS 13.0 Copyright 2019 The Tari Project Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
41,967
https://github.com/baidu/baiduads-sdk/blob/master/java/baiduads-sdk-auto/src/test/java/com/baidu/dev2/api/sdk/danubecreativegroup/model/CreativeGroupDelRequestTest.java
Github Open Source
Open Source
Apache-2.0
2,023
baiduads-sdk
baidu
Java
Code
111
377
/* * dev2 api schema * 'dev2.baidu.com' api schema * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ package com.baidu.dev2.api.sdk.danubecreativegroup.model; import com.fasterxml.jackson.annot...
655
https://github.com/cryogen/throneteki/blob/master/server/game/cards/22-BtB/Pyke.js
Github Open Source
Open Source
MIT
2,018
throneteki
cryogen
JavaScript
Code
110
422
const DrawCard = require('../../drawcard.js'); class Pyke extends DrawCard { setupCardAbilities(ability) { this.persistentEffect({ targetLocation: 'hand', match: card => card.hasTrait('Warship'), effect: ability.effects.gainAmbush(-1) }); this.reaction({ ...
34,265
https://github.com/AsakiEmura/YDOnlineTaxi/blob/master/ruoyi-admin/src/main/java/com/ruoyi/web/controller/YDOnlineTaxi/YDOnlineTaxiDispatchOrder.java
Github Open Source
Open Source
MIT
null
YDOnlineTaxi
AsakiEmura
Java
Code
632
3,293
package com.ruoyi.web.controller.YDOnlineTaxi; import com.ruoyi.YDOnlineTaxi.domain.*; import com.ruoyi.YDOnlineTaxi.service.IFinancialStatisticsService; import com.ruoyi.YDOnlineTaxi.service.IOrderInformationService; import com.ruoyi.YDOnlineTaxi.service.IRewardsPunishmentsLogService; import com.ruoyi.YDOnlineTaxi.se...
53,691
https://github.com/cncf/gha2pg/blob/master/util_sql/number_of_contributing_actors.sql
Github Open Source
Open Source
Apache-2.0
null
gha2pg
cncf
SQL
Code
34
144
select count(distinct a.login) as n_actors from gha_events e, gha_actors a where (e.actor_id = a.id or e.dup_actor_login = a.login) and e.type in ( 'PullRequestReviewCommentEvent', 'PushEvent', 'PullRequestEvent', 'IssuesEvent', 'IssueCommentEvent', 'CommitCommentEvent', 'PullRequestReviewEvent' ) ...
8,134
https://github.com/yuvapavan/Openstack/blob/master/node_modules/openstack-wrapper/lib/nova.js
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,017
Openstack
yuvapavan
JavaScript
Code
2,736
9,622
var urllib = require('url'); var util = require('util'); //var errors = require('./os-errors'); var osutils = require('./os-utils'); //constructor - should be the only export function Nova(endpoint_url, auth_token) { //we need to overwrite this for unit testing and it allows us to use a custom request object that i...
6,448
https://github.com/googleinterns/step268-2020/blob/master/gtfs-validator/processor/src/main/java/org/mobilitydata/gtfsvalidator/processor/TableContainerGenerator.java
Github Open Source
Open Source
Apache-2.0
2,021
step268-2020
googleinterns
Java
Code
758
3,861
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
37,502
https://github.com/ocpyosep78/latumentent/blob/master/protected/models/Period.php
Github Open Source
Open Source
MIT
2,013
latumentent
ocpyosep78
PHP
Code
910
3,395
<?php /** * This is the model class for table "period". * * The followings are the available columns in table 'period': * @property integer $id * @property string $name * @property date $start * @property date $end * * The followings are the available model relations: * @property Invoice[] $invoices * @pro...
14,913
https://github.com/harry1453/go-chart/blob/master/tick.go
Github Open Source
Open Source
MIT
null
go-chart
harry1453
Go
Code
345
948
package chart import ( "fmt" "math" "strings" ) // TicksProvider is a type that provides ticks. type TicksProvider interface { GetTicks(r Renderer, defaults Style, vf ValueFormatter) []Tick } // Tick represents a label on an axis. type Tick struct { Value float64 Label string } // Ticks is an array of ticks. ...
21,600
https://github.com/libtangle/tools/blob/master/.gitmodules
Github Open Source
Open Source
MIT
2,019
tools
libtangle
Git Config
Code
8
38
[submodule "test/gtest"] path = test/gtest url = https://github.com/abseil/googletest.git
49,972
https://github.com/srijitadeb/BoardGame/blob/master/client/js/controller.js
Github Open Source
Open Source
MIT
2,017
BoardGame
srijitadeb
JavaScript
Code
175
722
app.controller('gridgameCtrl', function($scope, $interval , $uibModal) { $scope.shuffleArray =function(array){ for (var i =0; i<array.length; i++) { var j = Math.floor(Math.random() * (i + 1)); var temp = array[i].colorIndex; array[i].colorIndex = array[j].colorIndex; ...
51,782
https://github.com/Real-ZeminJiang/code-clippy-vscode/blob/master/src/extension.ts
Github Open Source
Open Source
MIT
2,021
code-clippy-vscode
Real-ZeminJiang
TypeScript
Code
311
979
import * as vscode from 'vscode'; import CSConfig from './config'; import { fetchCodeCompletionTexts } from './utils/fetchCodeCompletions'; export function activate(context: vscode.ExtensionContext) { const disposable = vscode.commands.registerCommand( 'extension.copilot-clone-settings', () => { vscode.window....
52,632
https://github.com/cr88192/bgbtech_bjx1core/blob/master/bjx1c32b/Dc2Tile.v
Github Open Source
Open Source
MIT
2,018
bgbtech_bjx1core
cr88192
Verilog
Code
690
3,103
/* L2 Data Cache This version will use the Cache as RAM, 0C00_0000 .. 0C00_7FFF May be accessed either as 128 bit tiles, or as 32 or 64 bit words. MMIO may only be accessed as 32-bits. */ `include "CoreDefs.v" module Dc2Tile( /* verilator lint_off UNUSED */ clock, reset, regInAddr, regInData, regOutData, r...
21,736
https://github.com/Mikyan0207/PekoBot/blob/master/PekoBot.Entities/Enums/Platform.cs
Github Open Source
Open Source
MIT
null
PekoBot
Mikyan0207
C#
Code
16
70
namespace PekoBot.Entities.Enums { public enum Platform { YouTube, Twitch, TwitCasting, Twitter, OpenRec, BiliBili, Other } }
11,545
https://github.com/Altynai/compose-server/blob/master/cs/compose.py
Github Open Source
Open Source
Unlicense
2,017
compose-server
Altynai
Python
Code
93
326
# -*- coding: utf-8 -*- from abc import ABCMeta, abstractmethod import os from bs4 import BeautifulSoup from bs4.element import NavigableString from pynliner import Pynliner class BaseHTMLComposer(object): __metaclass__ = ABCMeta def __init__(self, html): self.soup = BeautifulSoup(html, "lxml") ...
19,291
https://github.com/nmy0808/vue-edu-admin/blob/master/src/components/BaseTable/index.vue
Github Open Source
Open Source
MIT
null
vue-edu-admin
nmy0808
Vue
Code
319
1,106
<template> <div class="audio-page"> <vxe-grid class="p-0" :data="list" v-bind="[mergeOptions, $listeners]" :loading="loading" :columns="columns" > <template v-for="item in slotNames" #[item]="slotData" > <CRender :key="item" :render-fn="$scoped...
27,070
https://github.com/hello-tsai/react-jianshu/blob/master/src/pages/detail/index.js
Github Open Source
Open Source
WTFPL
null
react-jianshu
hello-tsai
JavaScript
Code
60
196
import React, {Component} from "react"; import { DetailWrapper, DetailTitles,DetailContent } from './style' import { connect } from 'react-redux' class Detail extends Component{ render() { return ( <DetailWrapper> <DetailTitles>{this.props.title}</DetailTitles> <DetailContent dangerouslySet...
42,557
https://github.com/TaffyBlog/jQWidgets/blob/master/demos/React-TSX/togglebutton/defaultfunctionality/src/App.tsx
Github Open Source
Open Source
Unlicense
2,022
jQWidgets
TaffyBlog
TypeScript
Code
110
451
import * as React from 'react'; import JqxToggleButton, { IToggleButtonProps } from 'jqwidgets-scripts/jqwidgets-react-tsx/jqxtogglebutton'; class App extends React.PureComponent<{}, IToggleButtonProps> { private myToggleButton = React.createRef<JqxToggleButton>(); constructor(props: {}) { super(p...
21,993
https://github.com/faoziaziz/high-cliffs/blob/master/application/controllers/Transaction_070918.php
Github Open Source
Open Source
MIT
null
high-cliffs
faoziaziz
PHP
Code
1,417
7,605
<?php Class Transaction extends CI_Controller{ function __construct(){ parent::__construct(); $this->load->library('ssp'); $this->load->model('Model_Transaction'); $this->load->model('Model_Daily'); check_session(); date_default_timezone_set("Asia/Bangkok"); } function index(){ $data['info']= $this...
21,212
https://github.com/BenaroyaResearch/gxbrowser/blob/master/grails-app/services/org/sagres/sampleSet/SamplesFileImportService.groovy
Github Open Source
Open Source
Apache-2.0
2,018
gxbrowser
BenaroyaResearch
Groovy
Code
1,008
3,594
package org.sagres.sampleSet import com.mongodb.DBCollection import org.sagres.util.excel.ExcelBuilder import com.mongodb.BasicDBObject import com.mongodb.DBCursor import com.mongodb.DBObject import org.apache.poi.ss.usermodel.Row import common.ArrayData import org.sagres.util.mongo.MongoConnector import com.mongodb.B...
9,504
https://github.com/moritzb98/lernplattform/blob/master/lernplattform/app/Http/Controllers/QuizController.php
Github Open Source
Open Source
Apache-2.0
null
lernplattform
moritzb98
PHP
Code
287
1,328
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Quiz; use App\Models\Category; use App\Models\Question; use App\Models\Answer; use App\Models\QuizresultsUser; use App\Http\Resources\QuizCollection; use Auth; class QuizController extends Controller { public function getAllCategor...
38,552
https://github.com/jlprieur/shell_galaxies/blob/master/source/shell_galaxies/fitou.for
Github Open Source
Open Source
MIT
null
shell_galaxies
jlprieur
null
Spoken
522
1,977
C++**************************************************************** C PROGRAM FITOU C C C JLP Version of 06-06-91 C--**************************************************************** PROGRAM FITOU PARAMETER (MAXPOINTS=2000) INTEGER*4 PNTR_IN,MADRID(1) REAL*4 NIV(100) REAL*8 Z,PI,THEMIN,THEMAX,SCALE REAL*4 ...
50,999
https://github.com/HIPERCUBE/core/blob/master/x/market/client/module_client.go
Github Open Source
Open Source
Apache-2.0
2,019
core
HIPERCUBE
Go
Code
90
299
package client import ( "terra/x/market/client/cli" "github.com/cosmos/cosmos-sdk/client" "github.com/spf13/cobra" amino "github.com/tendermint/go-amino" ) // ModuleClient exports all client functionality from this module type ModuleClient struct { storeKey string cdc *amino.Codec } func NewModuleClient(...
25,161
https://github.com/Sollertix/PnP/blob/master/Solutions/Governance.AddInSecurity/Governance.AddInSecurity/Form1.cs
Github Open Source
Open Source
MIT
2,016
PnP
Sollertix
C#
Code
184
661
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Security; namespace Governance.AddInSecurity { public partial class Form1 : Form {...
51,815
https://github.com/lilugirl/data-wrangling-with-javascript/blob/master/chapter-2/2.5/index.js
Github Open Source
Open Source
MIT
null
data-wrangling-with-javascript
lilugirl
JavaScript
Code
18
53
"use strict"; const yargs = require("yargs"); const argv = yargs.argv; const assert = require("chai").assert; console.log('argv', argv); console.log('assert', assert);
21,428
https://github.com/marvinAlvarenga/SIG115/blob/master/database/seeds/PermissionsTableSeeder.php
Github Open Source
Open Source
MIT
2,019
SIG115
marvinAlvarenga
PHP
Code
591
2,079
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; use Caffeinated\Shinobi\Models\Permission; use Caffeinated\Shinobi\Models\Role; use App\User; class PermissionsTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() {...
37,408
https://github.com/ideas24h/es.dev/blob/master/cache/twig/07/07c451ddb98f3285381c3a4b476bf7aa61283de3a4a8d11b7b6959223391bd87.php
Github Open Source
Open Source
MIT
null
es.dev
ideas24h
PHP
Code
355
1,106
<?php /* bootstrap/collapse.html.twig */ class __TwigTemplate_b43a96cfecb498bd456dc03d72f95a9773ab23c2075e28cdf7d9313d53bd9053 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ...
42,148
https://github.com/noondaysun/db-variance-calculator/blob/master/src/App/Services/Git.php
Github Open Source
Open Source
MIT
null
db-variance-calculator
noondaysun
PHP
Code
123
354
<?php declare(strict_types=1); namespace Noondaysun\DbVarianceCalculator\App\Services; use Noondaysun\DbVarianceCalculator\App\Exceptions\GitRepositoryNotFound; use SebastianFeldmann\Git\Repository; use ValueError; class Git { /** @var string */ private $path; /** @var Repository */ private $reposit...
20,330
https://github.com/Hengle/code-samples-from-pg/blob/master/Assets/Prefabs/Settings/Proposal/Hitmasters/HitmastersVisualSettings.asset
Github Open Source
Open Source
Unlicense
2,021
code-samples-from-pg
Hengle
Unity3D Asset
Code
1,222
5,357
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!114 &11400000 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 0} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 9e226cbb7c0dc...
24,209
https://github.com/vdvorak83/taskManager/blob/master/backend/src/main/java/com/manager/configuration/security/oauth2/HttpCookieOAuth2AuthorizationRequestRepository.java
Github Open Source
Open Source
Apache-2.0
2,020
taskManager
vdvorak83
Java
Code
260
874
package com.manager.configuration.security.oauth2; import com.manager.utils.CookieUtils; import com.nimbusds.oauth2.sdk.util.StringUtils; import org.springframework.security.oauth2.client.web.AuthorizationRequestRepository; import org.springframework.security.oauth2.core.endpoint.OAuth2AuthorizationRequest; import or...
17,561
https://github.com/RafaelCarlos/Projeto-de-Compras-Coletivas/blob/master/src/model/Cliente.php
Github Open Source
Open Source
MIT
null
Projeto-de-Compras-Coletivas
RafaelCarlos
PHP
Code
238
1,122
<?php /** * Description of Cliente * * @author Rafael Carlos */ /** * @Entity * @Table(name="cliente") */ class Cliente { /** * * @Id * @GeneratedValue(strategy="AUTO") * @Column(type="integer", name="id_cliente") */ private $id_cliente; /** * * @Column(type="st...
2,521
https://github.com/Sinatnang/AdsForem/blob/master/resources/views/page/lifestyle/life-creativity-innovation.blade.php
Github Open Source
Open Source
MIT
null
AdsForem
Sinatnang
PHP
Code
196
1,267
@extends('layout.app') @section('content') <div class="row mt-2"> <div class="pre-banner"> <img src="https://i.ibb.co/XsbkrZt/E-paper-PE.jpg" alt="" /> </div> <div class="wb-finance-cube-pre-banner pre-banner"> <div class="swiper-wrapper"> <a class="swiper-slide" href="#" target...
53,364
https://github.com/punkish/ocellus/blob/master/js/facets.js
Github Open Source
Open Source
CC0-1.0
2,020
ocellus
punkish
JavaScript
Code
123
377
const getFacets = function(zenodeo) { return [ { "key": "title", "actualKey": "title", "values": [], "prompt": "Enter text to search in the 'title' field", "noDuplicates": true }, { "key": "authors", "actualKey": "creators.name", ...
36,036
https://github.com/zipated/src/blob/master/content/test/mock_webblob_registry_impl.cc
Github Open Source
Open Source
BSD-3-Clause
2,022
src
zipated
C++
Code
66
228
// Copyright 2014 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. #include "content/test/mock_webblob_registry_impl.h" #include "third_party/blink/public/platform/web_string.h" #include "third_party/blink/public/platfor...
37,933
https://github.com/flaviogf/Cursos/blob/master/alura/servlet_002/manager/src/main/webapp/WEB-INF/views/company/index.jsp
Github Open Source
Open Source
MIT
2,021
Cursos
flaviogf
null
Spoken
41
270
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <h3>Companies</h3> <c:if test="${user != null}"> <span>${user.username}</span> </c:if> <table> <thead> <tr> <th>Id</th> <th>Name</th> <th>Date</th> </tr> </thead> <tbody> <c:forEach items="${companies}" var="c...
22,997
https://github.com/schpill/thin/blob/master/src/Unstatic.php
Github Open Source
Open Source
BSD-3-Clause, MIT
2,016
thin
schpill
PHP
Code
59
199
<?php namespace Thin; class Unstatic { private $static; private $result = null; public function __construct($static) { $this->static = $static; } public function __call($method, $parameters) { if (count($parameters)) { ...
22,031
https://github.com/LionelJouin/Meridio/blob/master/pkg/ipam/prefix/allocate.go
Github Open Source
Open Source
Apache-2.0
null
Meridio
LionelJouin
Go
Code
482
1,199
/* Copyright (c) 2021 Nordix 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 to in writing, so...
32,865
https://github.com/vejrak/jv-dp/blob/master/src/frontend/src/users/helpers.js
Github Open Source
Open Source
MIT
2,019
jv-dp
vejrak
JavaScript
Code
21
55
// @flow import pickBy from 'lodash/pickBy' export const getApprovedRoles = (roleRank: number, roles: Object) => pickBy(roles, (value) => value > roleRank)
36,452
https://github.com/NCAR/lrose-core/blob/master/codebase/apps/dsserver/src/Sigwx2Symprod/RadiationDisplayItem.cc
Github Open Source
Open Source
BSD-3-Clause
2,023
lrose-core
NCAR
C++
Code
837
2,675
// *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* // ** Copyright UCAR (c) 1990 - 2016 // ** University Corporation for Atmospheric Research (UCAR) // ** National Center for Atmospheric Research (NCAR) // ** Bo...
14,730
https://github.com/BizarreNULL/beagle/blob/master/iOS/Tests/AutomatedTestsUITests/Cucumberish/Dependencies/Gherkin/GHHasLocationProtocol.h
Github Open Source
Open Source
Apache-2.0
2,021
beagle
BizarreNULL
C
Code
14
50
#import <Foundation/Foundation.h> @class GHLocation; @protocol GHHasLocationProtocol <NSObject> @property (nonatomic, readonly) GHLocation * location; @end
16,083
https://github.com/guodek/promo-evaluation-task/blob/master/resources/keywords.robot
Github Open Source
Open Source
CC0-1.0
null
promo-evaluation-task
guodek
null
Spoken
223
459
*** Settings *** Documentation A resource file with test steps related to the login page. Library SeleniumLibrary Resource test-variables.robot *** Keywords *** #Test setup keywords Set selenieum speed and wait times Set Selenium Implicit Wait ${IMPLICIT WAIT TIME} Set Selenium Speed ...
32,877
https://github.com/ImagiaViz/inviwo/blob/master/cmake/globalmacros.cmake
Github Open Source
Open Source
BSD-2-Clause
2,021
inviwo
ImagiaViz
CMake
Code
1,814
7,511
################################################################################# # # Inviwo - Interactive Visualization Workshop # # Copyright (c) 2013-2020 Inviwo Foundation # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the f...
8,085
https://github.com/rickhurst/eatStatic/blob/master/siteroot/skin/global/templates/rss_2_feed.php
Github Open Source
Open Source
MIT
2,018
eatStatic
rickhurst
PHP
Code
108
549
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" > <channel> <title><?php echo $feed->blog_title ?></title> <link><?php echo $feed->blog...
51,707
https://github.com/ronin1/urbanairsharp/blob/master/src/UrbanAirSharp/Request/ScheduleListRequest.cs
Github Open Source
Open Source
MIT
2,015
urbanairsharp
ronin1
C#
Code
45
172
// Copyright (c) 2014-2015 Jeff Gosling (jeffery.gosling@gmail.com) using UrbanAirSharp.Request.Base; using UrbanAirSharp.Response; namespace UrbanAirSharp.Request { /// <summary> /// Used to form a SCHEDULE request /// http://docs.urbanairship.com/reference/api/v3/schedule.html#schedule-a-notification /// </sum...
52,089
https://github.com/Mumble-SRL/MBAudience-Flutter/blob/master/lib/mbaudience_tag.dart
Github Open Source
Open Source
MIT
null
MBAudience-Flutter
Mumble-SRL
Dart
Code
115
237
import 'dart:core'; /// A tag of `MBAudience` class MBAudienceTag { /// The identifier of the tag final String tag; /// The value of the tag String value; /// Initializes a new tag with a tag and a value /// @param tag The identifier of the tag /// @paramt value The value of the tag MBAudienceTag(thi...
23,717
https://github.com/dymaxionlabs/satlomas-exp/blob/master/src/satlomasproc/console/extract_chips.py
Github Open Source
Open Source
Apache-2.0
null
satlomas-exp
dymaxionlabs
Python
Code
615
2,302
# -*- coding: utf-8 -*- """ This script generates image chips based on a raster image. It also creates masks for segmentation, if provided with a labels vector file. """ import argparse import logging import sys from satlomasproc import __version__ from satlomasproc.chips import ( extract_chips, prepare_labe...
16,462