hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 98
values | lang stringclasses 21
values | max_stars_repo_path stringlengths 3 945 | max_stars_repo_name stringlengths 4 118 | max_stars_repo_head_hexsha stringlengths 40 78 | max_stars_repo_licenses listlengths 1 10 | max_stars_count int64 1 368k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 3 945 | max_issues_repo_name stringlengths 4 118 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 10 | max_issues_count int64 1 134k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 945 | max_forks_repo_name stringlengths 4 135 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 10 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1 1.03M | max_line_length int64 2 1.03M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
463976d3c4bd3d88dd11c4b4cb82c791eb1a2969 | 1,845 | php | PHP | profiles/contrib/social/modules/custom/social_demo/src/DemoContentInterface.php | techopsph/social_pantheon | 85f6c198455715dda7e62d7f9d24d987169b0093 | [
"MIT"
] | null | null | null | profiles/contrib/social/modules/custom/social_demo/src/DemoContentInterface.php | techopsph/social_pantheon | 85f6c198455715dda7e62d7f9d24d987169b0093 | [
"MIT"
] | 29 | 2019-12-17T18:27:31.000Z | 2022-03-24T04:33:23.000Z | profiles/contrib/social/modules/custom/social_demo/src/DemoContentInterface.php | techopsph/social_pantheon | 85f6c198455715dda7e62d7f9d24d987169b0093 | [
"MIT"
] | null | null | null | <?php
namespace Drupal\social_demo;
use Drupal\Component\Plugin\PluginInspectionInterface;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Drupal\Core\Entity\EntityStorageInterface;
/**
* Interface DemoContentInterface.
*
* @package Drupal\social_demo
*/
interface DemoContentInterface extends PluginI... | 19.62766 | 99 | 0.653659 |
395da64d2737979bb6ce67fa88d156d87c0efda7 | 6,840 | rs | Rust | src/mp/poly.rs | kwantam/bellman-bignat | 4188d5985d4abaf257c9ec029d6d4a7bd4e49e85 | [
"MIT"
] | 40 | 2019-12-30T11:29:51.000Z | 2022-03-19T13:24:13.000Z | src/mp/poly.rs | kwantam/bellman-bignat | 4188d5985d4abaf257c9ec029d6d4a7bd4e49e85 | [
"MIT"
] | 4 | 2020-02-12T21:59:11.000Z | 2021-03-02T08:47:22.000Z | src/mp/poly.rs | kwantam/bellman-bignat | 4188d5985d4abaf257c9ec029d6d4a7bd4e49e85 | [
"MIT"
] | 17 | 2020-01-13T05:13:33.000Z | 2022-03-28T20:46:09.000Z | use sapling_crypto::bellman::pairing::ff::Field;
use sapling_crypto::bellman::pairing::Engine;
use sapling_crypto::bellman::{ConstraintSystem, LinearCombination, SynthesisError};
use std::cmp::max;
use std::fmt::{self, Debug, Formatter};
use OptionExt;
pub struct Polynomial<E: Engine> {
pub coefficients: Vec<Lin... | 34.029851 | 97 | 0.423246 |
e66c922be954821a1152e808ef675fa9aee2db1f | 339 | swift | Swift | Source/Collection+Payload.swift | smirnovaleksei/NRequest | 3f463e7f8c2f27f6b76437328fa1ebe5966e2dc8 | [
"MIT"
] | null | null | null | Source/Collection+Payload.swift | smirnovaleksei/NRequest | 3f463e7f8c2f27f6b76437328fa1ebe5966e2dc8 | [
"MIT"
] | null | null | null | Source/Collection+Payload.swift | smirnovaleksei/NRequest | 3f463e7f8c2f27f6b76437328fa1ebe5966e2dc8 | [
"MIT"
] | 2 | 2021-09-09T11:34:19.000Z | 2021-12-09T12:25:01.000Z | import Foundation
public extension Collection {
func throwIfEmpty<T: Error>(_ error: T) throws -> Self {
if isEmpty {
throw error
}
return self
}
func throwIfEmpty() throws -> Self {
if isEmpty {
throw DecodingError.brokenResponse
}
r... | 18.833333 | 60 | 0.548673 |
33e17122debacbb3ef564b48dbee96f5d7c8c502 | 804 | c | C | pyhand/kinematics/ring_prox_index_inter_side_1.c | jsupancic/libhand-public | da9b92fa5440d06fdd4ba72c2327c50c88a1d469 | [
"CC-BY-3.0"
] | 19 | 2015-11-28T03:49:10.000Z | 2021-04-12T13:19:26.000Z | pyhand/kinematics/ring_prox_index_inter_side_1.c | jsupancic/libhand-public | da9b92fa5440d06fdd4ba72c2327c50c88a1d469 | [
"CC-BY-3.0"
] | 4 | 2015-12-24T08:53:10.000Z | 2017-11-08T10:58:16.000Z | pyhand/kinematics/ring_prox_index_inter_side_1.c | jsupancic/libhand-public | da9b92fa5440d06fdd4ba72c2327c50c88a1d469 | [
"CC-BY-3.0"
] | 7 | 2015-12-16T05:27:22.000Z | 2020-08-24T07:59:29.000Z | /******************************************************************************
* Code generated with sympy 0.7.6 *
* *
* See http://www.sympy.org/ for more information. *
... | 44.666667 | 80 | 0.353234 |
257388fd0bb2e56c7df84ef1505aadc32bef2ebf | 1,520 | cs | C# | Scripts/DisplayTrainInfo.cs | KevinWu57/Learning-by-Commnication | 4187aa3e0fa49fea1e2bd96b4bacec357ac7ec2f | [
"MIT"
] | null | null | null | Scripts/DisplayTrainInfo.cs | KevinWu57/Learning-by-Commnication | 4187aa3e0fa49fea1e2bd96b4bacec357ac7ec2f | [
"MIT"
] | null | null | null | Scripts/DisplayTrainInfo.cs | KevinWu57/Learning-by-Commnication | 4187aa3e0fa49fea1e2bd96b4bacec357ac7ec2f | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor.Animations;
using UnityEngine.UI;
// Display training information, including object selected and animationclip played
public class DisplayTrainInfo : MonoBehaviour
{
public Animator kinectAnimator;
publi... | 38 | 104 | 0.703289 |
d2d5199f4763a521b5e09eb7e3425d5ac6c894e0 | 5,739 | rs | Rust | src/in_game/game_area.rs | lights0123/asteroids_3d | b5486d1552487076b6495dbd994116bc6968fae1 | [
"MIT"
] | 3 | 2021-04-28T01:19:47.000Z | 2021-09-21T00:33:41.000Z | src/in_game/game_area.rs | lights0123/asteroids_3d | b5486d1552487076b6495dbd994116bc6968fae1 | [
"MIT"
] | null | null | null | src/in_game/game_area.rs | lights0123/asteroids_3d | b5486d1552487076b6495dbd994116bc6968fae1 | [
"MIT"
] | 2 | 2021-04-27T18:04:01.000Z | 2021-04-28T01:19:57.000Z | use std::collections::HashMap;
use bevy::prelude::*;
use bevy_rapier3d::physics::InteractionPairFilters;
use bevy_rapier3d::rapier::dynamics::RigidBodyBuilder;
use bevy_rapier3d::rapier::geometry::ColliderBuilder;
use crate::in_game::TiedToGame;
use crate::physics::OneWayPlatformHook;
pub struct GameAreaPlugin<T>(pu... | 34.993902 | 97 | 0.496951 |
a36b52c4bc867469aa37260207f59baafe6e3864 | 10,193 | java | Java | src/main/java/org/apache/commons/compress/harmony/pack200/AttributeDefinitionBands.java | andrebrait/commons-compress | 2f8fdc2723fcdfe78ef0daf9528b9904c142f759 | [
"Apache-2.0"
] | 1 | 2022-03-16T13:50:26.000Z | 2022-03-16T13:50:26.000Z | src/main/java/org/apache/commons/compress/harmony/pack200/AttributeDefinitionBands.java | andrebrait/commons-compress | 2f8fdc2723fcdfe78ef0daf9528b9904c142f759 | [
"Apache-2.0"
] | null | null | null | src/main/java/org/apache/commons/compress/harmony/pack200/AttributeDefinitionBands.java | andrebrait/commons-compress | 2f8fdc2723fcdfe78ef0daf9528b9904c142f759 | [
"Apache-2.0"
] | null | null | null | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | 43.374468 | 119 | 0.656725 |
da8695ec62413d54bad82367bd163ba7532c89e7 | 1,231 | php | PHP | Controller/Stoke.php | bono-cms/Stokes | 4c4c880011f894483c56ae1a34b9721912eac86d | [
"CC-BY-3.0"
] | null | null | null | Controller/Stoke.php | bono-cms/Stokes | 4c4c880011f894483c56ae1a34b9721912eac86d | [
"CC-BY-3.0"
] | null | null | null | Controller/Stoke.php | bono-cms/Stokes | 4c4c880011f894483c56ae1a34b9721912eac86d | [
"CC-BY-3.0"
] | null | null | null | <?php
/**
* This file is part of the Bono CMS
*
* Copyright (c) No Global State Lab
*
* For the full copyright and license information, please view
* the license file that was distributed with this source code.
*/
namespace Stokes\Controller;
use Site\Controller\AbstractController;
final cla... | 21.982143 | 72 | 0.514216 |
1a6a6003465fbfb5e697c15a4f14ad0159061461 | 578 | cs | C# | Plugins/Logger/LoggerViewModel.cs | stu43005/KanColleViewer | 1fb56728fff408456bf5f0766ba6dedf92af9d3a | [
"MIT"
] | null | null | null | Plugins/Logger/LoggerViewModel.cs | stu43005/KanColleViewer | 1fb56728fff408456bf5f0766ba6dedf92af9d3a | [
"MIT"
] | null | null | null | Plugins/Logger/LoggerViewModel.cs | stu43005/KanColleViewer | 1fb56728fff408456bf5f0766ba6dedf92af9d3a | [
"MIT"
] | null | null | null | using Livet;
using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Reactive.Linq;
using System.Windows;
namespace Logger
{
public class LoggerViewModel : ViewModel
{
#region Loggers 変更通知プロパティ
private ObservableCollection<LoggerBase> _Loggers;
public Ob... | 15.621622 | 52 | 0.702422 |
e47e42b0963012bed231f6e71d0f28869a917984 | 63 | rs | Rust | src/memory/mod.rs | NotGyro/voxelgame | 1798af4380ba72262deba571cce6b39614fafe34 | [
"MIT"
] | null | null | null | src/memory/mod.rs | NotGyro/voxelgame | 1798af4380ba72262deba571cce6b39614fafe34 | [
"MIT"
] | null | null | null | src/memory/mod.rs | NotGyro/voxelgame | 1798af4380ba72262deba571cce6b39614fafe34 | [
"MIT"
] | 1 | 2018-12-16T00:40:13.000Z | 2018-12-16T00:40:13.000Z | //! Memory management types.
pub mod allocator;
pub mod pool;
| 12.6 | 28 | 0.730159 |
18cde2e7bc62ab282117a82dab8e8fad38dce3b2 | 4,158 | swift | Swift | Twitter/NotificationViewController.swift | kesongxie/CodePath-Week4-Twitter | 97b234e37f45ba9e7e6292a6adfa728a668aaf11 | [
"Apache-2.0"
] | 7 | 2017-09-28T16:47:16.000Z | 2019-09-01T17:49:00.000Z | Twitter/NotificationViewController.swift | kesongxie/CodePath-Week4-Twitter | 97b234e37f45ba9e7e6292a6adfa728a668aaf11 | [
"Apache-2.0"
] | 1 | 2017-02-28T06:41:02.000Z | 2017-03-05T21:36:25.000Z | Twitter/NotificationViewController.swift | kesongxie/CodePath-Week4-5-Twitter | 97b234e37f45ba9e7e6292a6adfa728a668aaf11 | [
"Apache-2.0"
] | null | null | null | //
// NotificationViewController.swift
// Twitter
//
// Created by Xie kesong on 2/18/17.
// Copyright © 2017 ___KesongXie___. All rights reserved.
//
import UIKit
fileprivate let reuseIden = "TweetCell"
fileprivate let tweetCellNibName = "TweetTableViewCell"
fileprivate let notificationSectionHeaderReuseIden = "... | 34.65 | 177 | 0.659933 |
c9e32b278c9cfd9cf07a9a13ac048107d8a698f4 | 966 | tsx | TypeScript | shared-module/src/components/ExerciseList/PageBox.tsx | rage/secret-project-331 | 3c78c02f2f1d2e4539522e73c3065ae8866604e3 | [
"Apache-2.0"
] | 6 | 2021-09-23T05:28:58.000Z | 2022-03-11T09:25:05.000Z | shared-module/src/components/ExerciseList/PageBox.tsx | rage/secret-project-331 | 3c78c02f2f1d2e4539522e73c3065ae8866604e3 | [
"Apache-2.0"
] | 232 | 2021-07-09T07:13:31.000Z | 2022-03-31T13:35:09.000Z | shared-module/src/components/ExerciseList/PageBox.tsx | rage/secret-project-331 | 3c78c02f2f1d2e4539522e73c3065ae8866604e3 | [
"Apache-2.0"
] | null | null | null | import styled from "@emotion/styled"
import React from "react"
import { baseTheme } from "../../styles"
const Wrapper = styled.div`
border-radius: 10px;
position: relative;
width: 100%;
`
const PageBoxRow = styled.div`
position: relative;
padding: 0.6em 1em;
list-style-type: none;
color: ${baseTheme.co... | 20.125 | 83 | 0.670807 |
fa35dd16f796e2efc6d61495c26e22b135919be9 | 406 | cpp | C++ | src/techniques/lrel.cpp | shibii/nn | 2022ec423c3bfe179997630d6ba705aeaabdd918 | [
"MIT"
] | 1 | 2020-11-17T14:25:28.000Z | 2020-11-17T14:25:28.000Z | src/techniques/lrel.cpp | shibii/nn | 2022ec423c3bfe179997630d6ba705aeaabdd918 | [
"MIT"
] | null | null | null | src/techniques/lrel.cpp | shibii/nn | 2022ec423c3bfe179997630d6ba705aeaabdd918 | [
"MIT"
] | null | null | null | #include "lrel.hpp"
namespace nn {
LReL::LReL(float leak) : leak_(leak) {}
void LReL::forward(Feed &f) {
input_ = f.signal;
f.signal = (input_ > 0.f) * input_ + (input_ <= 0.f) * input_ * leak_;
}
void LReL::backward(Feed &f) {
f.signal = (input_ > 0.f) * f.signal + (input_ <= 0.f) * f.signal * leak_;
}
template... | 25.375 | 76 | 0.618227 |
75341b0b321650935c53afdbe3a07c5bdf44b6b9 | 2,276 | css | CSS | ispinner.css | simformsolutions/ispinner | a788e727760a1958868ac4e3fa0d18a473ca9e67 | [
"MIT"
] | 2 | 2020-03-02T05:48:06.000Z | 2020-04-21T03:53:31.000Z | ispinner.css | simformsolutions/ispinner | a788e727760a1958868ac4e3fa0d18a473ca9e67 | [
"MIT"
] | null | null | null | ispinner.css | simformsolutions/ispinner | a788e727760a1958868ac4e3fa0d18a473ca9e67 | [
"MIT"
] | 1 | 2020-07-16T08:40:30.000Z | 2020-07-16T08:40:30.000Z | .ispinner {
position: relative;
width: 20px;
height: 20px; }
.ispinner .ispinner-blade {
position: absolute;
top: 37%;
left: 44.5%;
width: 10%;
height: 25%;
background-color: #8e8e93;
border-radius: 50%/20%;
animation: iSpinnerBlade 1s linear infinite;
will-change: opacity; }... | 34.484848 | 52 | 0.627417 |
3bbbc4928484cf3f8fdad4c067f8e7fbcaae6b8f | 189 | sql | SQL | TicTacToe/TicTacToe/Pre-Deployment/01_Create_Database.sql | AlexeyBuryanov/TicTacToe | 9707ab6200f4ba9220c2416cd03a2192dad3ab1d | [
"MIT"
] | 2 | 2019-04-07T22:28:36.000Z | 2022-02-16T11:16:03.000Z | TicTacToe/TicTacToe/Pre-Deployment/01_Create_Database.sql | AlexeyBuryanov/TicTacToe | 9707ab6200f4ba9220c2416cd03a2192dad3ab1d | [
"MIT"
] | null | null | null | TicTacToe/TicTacToe/Pre-Deployment/01_Create_Database.sql | AlexeyBuryanov/TicTacToe | 9707ab6200f4ba9220c2416cd03a2192dad3ab1d | [
"MIT"
] | 1 | 2021-01-28T22:26:28.000Z | 2021-01-28T22:26:28.000Z | IF DB_ID(N'TicTacToe') IS NOT NULL BEGIN
PRINT(N'Создание БД TicTacToe: БД уже существует!');
END ELSE BEGIN
CREATE DATABASE TicTacToe;
PRINT(N'Создание БД TicTacToe: успешно.');
END
GO | 27 | 53 | 0.756614 |
0bea08fea6a8f0565d9d6751eb64595c0f53d32d | 1,991 | kt | Kotlin | vsrecyclerview/src/main/java/com/wshtaits/vsrecyclerview/adapter/itemsadapters/base/ItemsAdapter.kt | wshtaits/VsRecyclerView | 23b0749cd1c21993ba2987a49e9fc38ca9872e2e | [
"Apache-2.0"
] | 11 | 2019-09-13T13:58:57.000Z | 2021-06-19T00:19:37.000Z | vsrecyclerview/src/main/java/com/wshtaits/vsrecyclerview/adapter/itemsadapters/base/ItemsAdapter.kt | wshtaits/VsRecyclerView | 23b0749cd1c21993ba2987a49e9fc38ca9872e2e | [
"Apache-2.0"
] | 1 | 2019-10-15T10:51:38.000Z | 2019-10-23T08:50:07.000Z | vsrecyclerview/src/main/java/com/wshtaits/vsrecyclerview/adapter/itemsadapters/base/ItemsAdapter.kt | wshtaits/VsRecyclerView | 23b0749cd1c21993ba2987a49e9fc38ca9872e2e | [
"Apache-2.0"
] | 4 | 2019-09-13T13:58:59.000Z | 2021-01-30T15:16:29.000Z | /*
* Copyright (c) 2019 Shtaits Valeriy.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 36.2 | 111 | 0.748368 |
a476d6bf60d89dd75e8124d353fb1642a2736e89 | 2,323 | php | PHP | src/DescriptionFileMethod.php | event-engine/php-code-generator-cartridge-event-engine | 35a2c6e76eb77581479a3e37a2003bfd946239cd | [
"MIT"
] | 1 | 2020-08-15T08:48:39.000Z | 2020-08-15T08:48:39.000Z | src/DescriptionFileMethod.php | event-engine/php-code-generator-cartridge-event-engine | 35a2c6e76eb77581479a3e37a2003bfd946239cd | [
"MIT"
] | 1 | 2020-10-02T06:17:44.000Z | 2020-10-02T06:17:44.000Z | src/DescriptionFileMethod.php | event-engine/php-code-generator-cartridge-event-engine | 35a2c6e76eb77581479a3e37a2003bfd946239cd | [
"MIT"
] | null | null | null | <?php
/**
* @see https://github.com/event-engine/php-code-generator-cartridge-event-engine for the canonical source repository
* @copyright https://github.com/event-engine/php-code-generator-cartridge-event-engine/blob/master/COPYRIGHT.md
* @license https://github.com/event-engine/php-code-generator-cartrid... | 30.973333 | 123 | 0.672837 |
0df188aae7677ccd000910d28b2bc58f63bcec9c | 492 | cs | C# | Assets/_Project/Scripts/General/SpawnPoint.cs | WagnerTB/SimplePirateGame | ec195bede589c5baed32cfa6f16ee91720305694 | [
"MIT"
] | null | null | null | Assets/_Project/Scripts/General/SpawnPoint.cs | WagnerTB/SimplePirateGame | ec195bede589c5baed32cfa6f16ee91720305694 | [
"MIT"
] | null | null | null | Assets/_Project/Scripts/General/SpawnPoint.cs | WagnerTB/SimplePirateGame | ec195bede589c5baed32cfa6f16ee91720305694 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpawnPoint : MonoBehaviour
{
public float size;
public Vector3 RequestPosition()
{
var point = UnityEngine.Random.insideUnitSphere * size;
var pos = transform.position + point;
pos.y = 0;
... | 20.5 | 63 | 0.654472 |
dbc8312d5b74dc348462f42bd9c80a129c03a86f | 997 | php | PHP | src/Models/MenuItemLink.php | oddvalue/backpack-menus | 1b8122ee2295a1bf60d90a72b584575c2d8751f6 | [
"MIT"
] | null | null | null | src/Models/MenuItemLink.php | oddvalue/backpack-menus | 1b8122ee2295a1bf60d90a72b584575c2d8751f6 | [
"MIT"
] | 1 | 2020-10-21T16:15:50.000Z | 2020-10-21T16:15:50.000Z | src/Models/MenuItemLink.php | oddvalue/backpack-menus | 1b8122ee2295a1bf60d90a72b584575c2d8751f6 | [
"MIT"
] | null | null | null | <?php
namespace Oddvalue\BackpackMenus;
use Oddvalue\LinkBuilder\Link;
class MenuItemLink extends Link
{
/**
* Get the link href for $this->model
*
* @param array $options
* @return string
*/
public function href(array $options = []) : string
{
switch ($this->model->type)... | 22.155556 | 83 | 0.489468 |
a102f9f5ddcf189b9b91d2bff9169b3be19ca3c8 | 419 | swift | Swift | ITPS/ITPS/Profile/Controller/AboutViewController.swift | iWeslie/ITPS | 22b9f8884b589d3d1ec2daf7a87d8ddb6dbb05e5 | [
"Apache-2.0"
] | null | null | null | ITPS/ITPS/Profile/Controller/AboutViewController.swift | iWeslie/ITPS | 22b9f8884b589d3d1ec2daf7a87d8ddb6dbb05e5 | [
"Apache-2.0"
] | null | null | null | ITPS/ITPS/Profile/Controller/AboutViewController.swift | iWeslie/ITPS | 22b9f8884b589d3d1ec2daf7a87d8ddb6dbb05e5 | [
"Apache-2.0"
] | null | null | null | //
// AboutViewController.swift
// ITPS
//
// Created by Weslie on 2018/5/9.
// Copyright © 2018 Weslie. All rights reserved.
//
import UIKit
class AboutViewController: UIViewController {
@IBOutlet weak var versionLbl: UILabel!
@IBOutlet weak var versionSmallLbl: UILabel!
override func viewDidLo... | 17.458333 | 49 | 0.651551 |
c6e362bf6a246f7a2ad3404554bd7be6976605a3 | 3,102 | py | Python | torch_glow/tests/nodes/trig_ops_test.py | YaronBenAtar/glow | a13706a4239fa7eaf059c670dc573e3eb0768f86 | [
"Apache-2.0"
] | 2,838 | 2018-05-02T16:57:22.000Z | 2022-03-31T14:35:26.000Z | torch_glow/tests/nodes/trig_ops_test.py | YaronBenAtar/glow | a13706a4239fa7eaf059c670dc573e3eb0768f86 | [
"Apache-2.0"
] | 4,149 | 2018-05-02T17:50:14.000Z | 2022-03-31T23:56:43.000Z | torch_glow/tests/nodes/trig_ops_test.py | LaudateCorpus1/glow-1 | cda5383b1609ebad1a3631ca77b41b8a863443d4 | [
"Apache-2.0"
] | 685 | 2018-05-02T16:54:09.000Z | 2022-03-24T01:12:24.000Z | # Copyright (c) Glow Contributors. See CONTRIBUTORS file.
#
# 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 ... | 30.411765 | 88 | 0.670535 |
2558f8796fe277b379c33e5807f6b5acc773912d | 2,525 | cs | C# | src/old/MapManager.cs | kesac/gw2lam | e2cee3a27c7c43b4ce32f1a8de7105f4b62e8003 | [
"MIT"
] | null | null | null | src/old/MapManager.cs | kesac/gw2lam | e2cee3a27c7c43b4ce32f1a8de7105f4b62e8003 | [
"MIT"
] | null | null | null | src/old/MapManager.cs | kesac/gw2lam | e2cee3a27c7c43b4ce32f1a8de7105f4b62e8003 | [
"MIT"
] | null | null | null | using System;
using System.Net;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Turtlesort.Glam.Old
{
public class MapDataOld
{
public string map_name { get; set; }
}
publ... | 28.055556 | 99 | 0.527129 |
cdae64f0f374ae0ab0a3f6d3e3d51254ab5c34fa | 2,213 | cs | C# | Engine/Errors/SimObjectErrorManager.cs | AnomalousMedical/Engine | a19e21f597bd277e4ca17e0e5f3f89577f2307bb | [
"MIT"
] | null | null | null | Engine/Errors/SimObjectErrorManager.cs | AnomalousMedical/Engine | a19e21f597bd277e4ca17e0e5f3f89577f2307bb | [
"MIT"
] | null | null | null | Engine/Errors/SimObjectErrorManager.cs | AnomalousMedical/Engine | a19e21f597bd277e4ca17e0e5f3f89577f2307bb | [
"MIT"
] | null | null | null | using Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Engine
{
/// <summary>
/// This is a repository for errors that occur when loading, you can call this from your factory or sim objects
/// to report error... | 32.544118 | 193 | 0.568459 |
e716b8213629236bbc03247003241aff29d0b7a4 | 3,308 | go | Go | dbops/db.go | authetic-x/GoProxyPoll | 133c54257cd157aff0157ec802508e16e4660c6c | [
"MIT"
] | 2 | 2020-06-11T08:02:36.000Z | 2020-06-11T11:18:46.000Z | dbops/db.go | authetic-x/GoProxyPoll | 133c54257cd157aff0157ec802508e16e4660c6c | [
"MIT"
] | null | null | null | dbops/db.go | authetic-x/GoProxyPoll | 133c54257cd157aff0157ec802508e16e4660c6c | [
"MIT"
] | null | null | null | package dbops
import (
"GoProxyPoll/GoProxyPoll/defs"
"database/sql"
"errors"
"log"
"math/rand"
"time"
)
func AddIp(ip *defs.Ip) error {
stmtIns, err := dbConn.Prepare(`INSERT INTO proxypoll (ip, protocol, score)
VALUES (?, ?, ?)`)
if err != nil {
return err
}
_, err = stmtIns.Exec(ip.Data, ip.Ty... | 19.690476 | 85 | 0.626663 |
4f8c3c03d2dc921695356bff063effbfca92e436 | 911 | kt | Kotlin | tmp/arrays/classVarargGetSetEvaluationOrder.kt | vitekkor/bbfgradle | b4ec701a7a3b7523db97631fa0ed6484149ca9cd | [
"Apache-2.0"
] | 45,293 | 2015-01-01T06:23:46.000Z | 2022-03-31T21:55:51.000Z | compiler/testData/codegen/box/increment/classVarargGetSetEvaluationOrder.kt | Seantheprogrammer93/kotlin | f7aabf03f89bdd39d9847572cf9e0051ea42c247 | [
"ECL-2.0",
"Apache-2.0"
] | 3,386 | 2015-01-12T13:28:50.000Z | 2022-03-31T17:48:15.000Z | compiler/testData/codegen/box/increment/classVarargGetSetEvaluationOrder.kt | Seantheprogrammer93/kotlin | f7aabf03f89bdd39d9847572cf9e0051ea42c247 | [
"ECL-2.0",
"Apache-2.0"
] | 6,351 | 2015-01-03T12:30:09.000Z | 2022-03-31T20:46:54.000Z | var log = ""
fun logged(value: String) =
value.also { log += value }
object A {
var x = ""
var gets = ""
var sets = ""
operator fun get(vararg va: String): String {
for (s in va) {
gets += s
}
log += "get;"
return x
}
operator fun set(vararg va... | 22.775 | 62 | 0.473106 |
a9f0d89a2822f5693e2c3b44564f6604a6d630a1 | 4,748 | lua | Lua | example/game/gems.lua | samuelwbaird/letter-moonshine | 71e7531474dc5b1259d5b872af2e122335725748 | [
"MIT"
] | 1 | 2020-05-23T14:23:51.000Z | 2020-05-23T14:23:51.000Z | example/game/gems.lua | samuelwbaird/letter-moonshine | 71e7531474dc5b1259d5b872af2e122335725748 | [
"MIT"
] | null | null | null | example/game/gems.lua | samuelwbaird/letter-moonshine | 71e7531474dc5b1259d5b872af2e122335725748 | [
"MIT"
] | null | null | null | -- a child node managing the draggable gems
-- copyright 2016 Samuel Baird MIT Licence
local class = require('core.class')
local array = require('core.array')
local app_node = require('lt.app_node')
local display_geom = require('lt.display_geom')
local tween = require('lt.tween')
return class.derive(app_node, functi... | 26.087912 | 130 | 0.670809 |
21c00131ecb90f886e94b3056a22449cd761c8c2 | 177 | js | JavaScript | src/step-runner/steps/step.js | getndazn/kopytko-packager | 003671d2a1a62b16d27b3a4c08ef7860ca13d082 | [
"MIT"
] | 2 | 2021-10-05T22:46:12.000Z | 2021-10-08T10:50:40.000Z | src/step-runner/steps/step.js | getndazn/kopytko-packager | 003671d2a1a62b16d27b3a4c08ef7860ca13d082 | [
"MIT"
] | 29 | 2021-09-21T13:07:46.000Z | 2022-03-28T07:24:35.000Z | src/step-runner/steps/step.js | getndazn/kopytko-packager | 003671d2a1a62b16d27b3a4c08ef7860ca13d082 | [
"MIT"
] | null | null | null | module.exports = class Step {
static TITLE = '<Step title>';
logger;
constructor(logger) {
this.logger = logger;
}
async run(config) {} // eslint-disable-line
}
| 16.090909 | 45 | 0.632768 |
ed0850b120d136099eb11ef0e0604f883f2aea41 | 4,079 | c | C | src/convert.c | anonymokata/01B0DE0C-6805-4CAD-A3FB-8F34F8EBA3B9 | 4726d9888358d565458511101e3a3eaab73089ca | [
"MIT"
] | null | null | null | src/convert.c | anonymokata/01B0DE0C-6805-4CAD-A3FB-8F34F8EBA3B9 | 4726d9888358d565458511101e3a3eaab73089ca | [
"MIT"
] | null | null | null | src/convert.c | anonymokata/01B0DE0C-6805-4CAD-A3FB-8F34F8EBA3B9 | 4726d9888358d565458511101e3a3eaab73089ca | [
"MIT"
] | null | null | null | #include "convert.h"
arabicRomanPair roman_arabic_lookup[] = {
{ 3, ROMAN_III, sizeof(ROMAN_III) - 1},
{ 2, ROMAN_II , sizeof(ROMAN_II) - 1 },
{ 4, ROMAN_IV , sizeof(ROMAN_IV) - 1 },
{ 9, ROMAN_IX , sizeof(ROMAN_IX) - 1 },
{ 40, ROMAN_XL , size... | 38.121495 | 118 | 0.596225 |
1a93a45836b8df1fca7065ed06d9139482582af9 | 1,192 | py | Python | day01/main.py | justinjhendrick/advent_of_code_2020 | 2b9bb15efef26d1c7a211ac2770159f4a12f9658 | [
"MIT"
] | null | null | null | day01/main.py | justinjhendrick/advent_of_code_2020 | 2b9bb15efef26d1c7a211ac2770159f4a12f9658 | [
"MIT"
] | null | null | null | day01/main.py | justinjhendrick/advent_of_code_2020 | 2b9bb15efef26d1c7a211ac2770159f4a12f9658 | [
"MIT"
] | null | null | null | import sys
'''
https://adventofcode.com/2020/day/1
'''
def parse(args):
input_nums = []
with open(args[1], mode='r') as f:
for line in f.readlines():
input_nums.append(int(line.strip()))
return input_nums
def find2(input_nums, target):
'''
Find 2 numbers (assumed positive ints)... | 23.372549 | 97 | 0.594799 |
43e43e62ab407e10af3b1f667854a55023307b15 | 1,570 | ts | TypeScript | unit-test/dal/git/GetLastCompatibleMergeBaseRev.test.ts | jeffb4/teamcity-vscode-extension | 029d3babdfe81464cc0295a687305532186dc7da | [
"MIT"
] | 29 | 2017-09-21T07:20:48.000Z | 2021-11-08T09:50:14.000Z | unit-test/dal/git/GetLastCompatibleMergeBaseRev.test.ts | jeffb4/teamcity-vscode-extension | 029d3babdfe81464cc0295a687305532186dc7da | [
"MIT"
] | 19 | 2017-09-18T15:37:58.000Z | 2022-02-26T01:28:43.000Z | unit-test/dal/git/GetLastCompatibleMergeBaseRev.test.ts | jeffb4/teamcity-vscode-extension | 029d3babdfe81464cc0295a687305532186dc7da | [
"MIT"
] | 5 | 2018-04-02T10:32:18.000Z | 2022-03-18T20:01:00.000Z | import "reflect-metadata";
const rmock = require("mock-require");
rmock("vscode", { });
import {anyString, instance, mock, when} from "ts-mockito";
import {CpProxy} from "../../../src/bll/moduleproxies/cp-proxy";
import * as assert from "assert";
import {GetLastCompatibleMergeBaseRev} from "../../../src/dal/git/GetLas... | 38.292683 | 114 | 0.679618 |
df9ba3f299359373e73ffa779fbb2b8141f589f8 | 353 | cs | C# | src/Mynt.Core/Models/Ticker.cs | taned-singlow/bottrade | 54161e930ef0f123ca8d39cd3ecb4239ff3332f9 | [
"BSD-3-Clause"
] | 217 | 2017-11-02T12:41:52.000Z | 2022-03-28T02:32:14.000Z | src/Mynt.Core/Models/Ticker.cs | taned-singlow/bottrade | 54161e930ef0f123ca8d39cd3ecb4239ff3332f9 | [
"BSD-3-Clause"
] | 44 | 2017-12-05T20:26:08.000Z | 2021-11-22T01:46:49.000Z | src/Mynt.Core/Models/Ticker.cs | taned-singlow/bottrade | 54161e930ef0f123ca8d39cd3ecb4239ff3332f9 | [
"BSD-3-Clause"
] | 158 | 2017-11-13T07:24:27.000Z | 2022-03-28T13:38:48.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mynt.Core.Models
{
public class Ticker
{
public decimal Bid { get; set; }
public decimal Ask { get; set; }
public decimal Last { get; set; }
public deci... | 20.764706 | 43 | 0.643059 |
ffaabc239febf12908dd889da7a615b393e490c9 | 135 | py | Python | contests/atcoder/abc065/a.py | conao3/coder | 2cdb610fec013da88a3470d460108e8a9b462445 | [
"CC0-1.0"
] | null | null | null | contests/atcoder/abc065/a.py | conao3/coder | 2cdb610fec013da88a3470d460108e8a9b462445 | [
"CC0-1.0"
] | null | null | null | contests/atcoder/abc065/a.py | conao3/coder | 2cdb610fec013da88a3470d460108e8a9b462445 | [
"CC0-1.0"
] | null | null | null | x, a, b = map(int, input().split())
if b <= a:
print('delicious')
elif b - a <= x:
print('safe')
else:
print('dangerous')
| 15 | 35 | 0.525926 |
b0355df4d0557ea6b1c0005b55eca16851ac4de6 | 2,592 | py | Python | app/upload_service.py | LowerSilesians/geo-geschenk | aee75d9a3d5fc6653a5c918530ab3ddfa0723926 | [
"MIT"
] | 1 | 2016-03-11T12:33:47.000Z | 2016-03-11T12:33:47.000Z | app/upload_service.py | LowerSilesians/geo-geschenk | aee75d9a3d5fc6653a5c918530ab3ddfa0723926 | [
"MIT"
] | null | null | null | app/upload_service.py | LowerSilesians/geo-geschenk | aee75d9a3d5fc6653a5c918530ab3ddfa0723926 | [
"MIT"
] | null | null | null | from geosquizzy.squizzy import GeoSquizzy
from pymongo import MongoClient
import json
from utils import get_data
class UploadService:
def __init__(self, request=None, session=None, url=None):
self.data = self.__get__file(request=request, url=url)
self.file_raw = self.__read__data__(data=self.data)... | 34.56 | 117 | 0.668981 |
6d6b069b4f58610fb40984ce75102a2e4b087c9c | 1,647 | tsx | TypeScript | client/src/App.tsx | saswatamcode/graphQLChat | 9b5779a4e5ccf4d5d83d7aa8549904e2ea239ba0 | [
"MIT"
] | 7 | 2021-03-03T18:26:30.000Z | 2022-03-25T09:47:17.000Z | client/src/App.tsx | saswatamcode/graphQLChat | 9b5779a4e5ccf4d5d83d7aa8549904e2ea239ba0 | [
"MIT"
] | null | null | null | client/src/App.tsx | saswatamcode/graphQLChat | 9b5779a4e5ccf4d5d83d7aa8549904e2ea239ba0 | [
"MIT"
] | null | null | null | import { ApolloClient, InMemoryCache } from "@apollo/client";
import { ApolloProvider } from "@apollo/client";
import { WebSocketLink } from "@apollo/client/link/ws";
import { split, HttpLink } from "@apollo/client";
import { getMainDefinition } from "@apollo/client/utilities";
import Chats from "./Chats";
import SendM... | 23.528571 | 72 | 0.568913 |
69d28d5af8f9bfe414eb608612edf13cf6bc4aea | 9,680 | lua | Lua | Languages/Portuguese.lua | scotty007/trAInsported | e0ed49e73ffd447ba1024c8f08bcc0fb24bf3cdb | [
"WTFPL"
] | 101 | 2015-01-06T17:26:45.000Z | 2022-02-10T15:17:34.000Z | Languages/Portuguese.lua | scotty007/trAInsported | e0ed49e73ffd447ba1024c8f08bcc0fb24bf3cdb | [
"WTFPL"
] | 32 | 2015-01-03T10:54:49.000Z | 2021-08-31T12:48:37.000Z | Languages/Portuguese.lua | scotty007/trAInsported | e0ed49e73ffd447ba1024c8f08bcc0fb24bf3cdb | [
"WTFPL"
] | 35 | 2015-02-21T10:19:56.000Z | 2022-02-09T21:36:23.000Z |
-- Language file for trAInsported. Make a copy of this to translate into your own language.
-- Please don't change the order of the entries in this file.
LNG.menu_mode_name = {}
LNG.menu_mode_tooltip = {}
LNG.menu_time_name = {}
LNG.menu_time_tooltip = {}
LNG.menu_region_name = {}
LNG.menu_region_tooltip = {}
LNG.loa... | 46.538462 | 258 | 0.704545 |
1f65dd7dcb9e21b94252279a6b7c7890524602ac | 736 | swift | Swift | Sources/main.swift | iachievedit/MQTTClient | 9290d9b3af87620f11c1d65bc3d995de12af3ef0 | [
"MIT"
] | 3 | 2016-06-07T11:58:13.000Z | 2017-02-10T09:49:52.000Z | Sources/main.swift | iachievedit/MQTTClient | 9290d9b3af87620f11c1d65bc3d995de12af3ef0 | [
"MIT"
] | null | null | null | Sources/main.swift | iachievedit/MQTTClient | 9290d9b3af87620f11c1d65bc3d995de12af3ef0 | [
"MIT"
] | null | null | null | //
// Copyright 2016 iAchieved.it LLC
//
// MIT License (https://opensource.org/licenses/MIT)
//
import swiftlog
import Glibc
guard Process.arguments.count == 2 else {
print("Usage: MQTTClient temperature, where -20 <= temperature <= 50")
exit(-1)
}
let temperature = Process.arguments[1]
slogLevel = .Verbose
... | 21.647059 | 89 | 0.720109 |
5ae81461b0fa3ef3e2dc2bff98511a58db22bb43 | 3,639 | cs | C# | src/SKIT.FlurlHttpClient.ByteDance.MicroApp/Extensions/ByteDanceMicroAppClientEventExtensions.cs | lucio-c/DotNetCore.SKIT.FlurlHttpClient.ByteDance | fa3ff5d6b3630c197c25e39b5ab02ee8490ba870 | [
"MIT"
] | 11 | 2021-08-24T08:15:45.000Z | 2022-03-17T11:57:09.000Z | src/SKIT.FlurlHttpClient.ByteDance.MicroApp/Extensions/ByteDanceMicroAppClientEventExtensions.cs | lucio-c/DotNetCore.SKIT.FlurlHttpClient.ByteDance | fa3ff5d6b3630c197c25e39b5ab02ee8490ba870 | [
"MIT"
] | 5 | 2021-12-09T08:28:58.000Z | 2022-01-06T02:11:32.000Z | src/SKIT.FlurlHttpClient.ByteDance.MicroApp/Extensions/ByteDanceMicroAppClientEventExtensions.cs | lucio-c/DotNetCore.SKIT.FlurlHttpClient.ByteDance | fa3ff5d6b3630c197c25e39b5ab02ee8490ba870 | [
"MIT"
] | 8 | 2021-09-13T13:14:23.000Z | 2022-03-19T17:16:54.000Z | using System;
using System.Collections.Generic;
using System.IO;
using System.Xml.Serialization;
namespace SKIT.FlurlHttpClient.ByteDance.MicroApp
{
/// <summary>
/// 为 <see cref="ByteDanceMicroAppClient"/> 提供回调通知事件的扩展方法。
/// </summary>
public static class ByteDanceMicroAppClientEventExtensions
{
... | 50.541667 | 189 | 0.672712 |
df7a990ab9fcd960057b20f951cce786d9db68d1 | 1,551 | cs | C# | Scoring Report/Scoring/Sections/SectionOther.cs | jyu78749/CyberPatriot-Scoring-Report | 9bc56acfcd580d19aa3db4cf3261f0f9d87ff31e | [
"MIT"
] | null | null | null | Scoring Report/Scoring/Sections/SectionOther.cs | jyu78749/CyberPatriot-Scoring-Report | 9bc56acfcd580d19aa3db4cf3261f0f9d87ff31e | [
"MIT"
] | null | null | null | Scoring Report/Scoring/Sections/SectionOther.cs | jyu78749/CyberPatriot-Scoring-Report | 9bc56acfcd580d19aa3db4cf3261f0f9d87ff31e | [
"MIT"
] | null | null | null | using Scoring_Report.Configuration;
using Scoring_Report.Configuration.SecOptions;
using System.Collections.Generic;
using System.IO;
namespace Scoring_Report.Scoring.Sections
{
public class SectionOther : ISection
{
public ESectionType Type => ESectionType.Other;
public string Header => "Oth... | 28.2 | 126 | 0.56931 |
643fdc5b03d98a6f42860a5ec2e0f518085f53ae | 3,158 | py | Python | starcraft/api.py | zzzanderw/SC2-MMR-Tracking | be8f5474e63996beebb0cb6df52903d836c67677 | [
"MIT"
] | 4 | 2018-11-24T22:41:55.000Z | 2019-05-13T07:14:15.000Z | starcraft/api.py | captainGeech42/SC2-MMR-Tracking | be8f5474e63996beebb0cb6df52903d836c67677 | [
"MIT"
] | 10 | 2017-12-03T18:48:12.000Z | 2017-12-12T17:52:47.000Z | starcraft/api.py | captainGeech42/SC2-MMR-Tracking | be8f5474e63996beebb0cb6df52903d836c67677 | [
"MIT"
] | null | null | null | import requests
from exceptions import RequestError
from log import Log
from .ladder import Ladder
from .player import Player
class API:
@staticmethod
def get_current_season_id(params: dict) -> int:
r = requests.get("https://us.api.battle.net/data/sc2/season/current", params)
if r.status_code... | 47.134328 | 119 | 0.537999 |
3f5305de5c2210ba28a149e33561b4b328903d47 | 2,374 | php | PHP | application/consoleboard/controller/Configmag_function.php | tyutjohn/QzxyWebsite | 2efda16fb482ca6ea149bd0cf78a00d609d9dde2 | [
"Apache-2.0"
] | null | null | null | application/consoleboard/controller/Configmag_function.php | tyutjohn/QzxyWebsite | 2efda16fb482ca6ea149bd0cf78a00d609d9dde2 | [
"Apache-2.0"
] | null | null | null | application/consoleboard/controller/Configmag_function.php | tyutjohn/QzxyWebsite | 2efda16fb482ca6ea149bd0cf78a00d609d9dde2 | [
"Apache-2.0"
] | 1 | 2019-12-03T10:23:33.000Z | 2019-12-03T10:23:33.000Z | <?php
/**
* [Starsriver] (C)2014-2099.
* This is NOT a freeware, follows Apache2.0 licence
*
* Author: 张宇
* Email: starsriver@yahoo.com
* CreateDate: 2018-03-24
*
*/
namespace app\consoleboard\controller;
use think\Controller;
use app\Qhelp;
use think\D... | 38.918033 | 147 | 0.471356 |
e260da34f49612b9b5adcae02024d770834cf3d5 | 3,417 | py | Python | test/from_bytes_c.py | patrick-nicholson/cyavro | a5c4db363f6514ddd011660565f6b6b79a0067c4 | [
"BSD-3-Clause"
] | 13 | 2015-12-02T20:26:37.000Z | 2016-11-01T20:34:05.000Z | test/from_bytes_c.py | patrick-nicholson/cyavro | a5c4db363f6514ddd011660565f6b6b79a0067c4 | [
"BSD-3-Clause"
] | 11 | 2015-12-02T20:39:36.000Z | 2016-10-11T23:40:59.000Z | test/from_bytes_c.py | MaxPoint/cyavro | a5c4db363f6514ddd011660565f6b6b79a0067c4 | [
"BSD-3-Clause"
] | 8 | 2015-12-08T17:31:11.000Z | 2016-09-14T22:08:51.000Z | # Copyright (c) 2015 MaxPoint Interactive, Inc.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
# following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this list of conditi... | 32.542857 | 120 | 0.72432 |
2832a1504ba4ec5b9393351d6888a57b639357d5 | 1,451 | lua | Lua | test/functional/lua/ffi_spec.lua | fgclue/dke | b6bdb12d4499e98355af112bc15fd4c6a11bf29b | [
"Vim"
] | null | null | null | test/functional/lua/ffi_spec.lua | fgclue/dke | b6bdb12d4499e98355af112bc15fd4c6a11bf29b | [
"Vim"
] | null | null | null | test/functional/lua/ffi_spec.lua | fgclue/dke | b6bdb12d4499e98355af112bc15fd4c6a11bf29b | [
"Vim"
] | null | null | null | local helpers = require('test.functional.helpers')(after_each)
local eq = helpers.eq
local exec_lua = helpers.exec_lua
local clear = helpers.clear
before_each(clear)
describe('ffi.cdef', function()
it('can use dke core functions', function()
if not exec_lua("return pcall(require, 'ffi')") then
pending('mi... | 23.031746 | 62 | 0.576154 |
1698a6bddf658115df9fbe6fc828206bea01a3fe | 3,511 | lua | Lua | test-common.lua | zerebubuth/ClearTables | 2ad941d226cfb441aebaa7a40514dd469f51d77a | [
"MIT"
] | 25 | 2016-07-08T05:44:54.000Z | 2019-10-11T21:14:05.000Z | test-common.lua | zerebubuth/ClearTables | 2ad941d226cfb441aebaa7a40514dd469f51d77a | [
"MIT"
] | 62 | 2016-07-08T08:05:41.000Z | 2018-04-14T11:12:04.000Z | test-common.lua | zerebubuth/ClearTables | 2ad941d226cfb441aebaa7a40514dd469f51d77a | [
"MIT"
] | 7 | 2016-09-28T15:19:47.000Z | 2019-10-11T11:14:27.000Z | --[[
This file is part of ClearTables
@author Paul Norman <penorman@mac.com>
@copyright 2015-2016 Paul Norman, MIT license
]]--
require ("common")
print("common.lua tests")
print("TESTING: oneway")
assert(oneway(nil) == nil, "test failed: oneway(nil) == nil")
assert(oneway('-1') == 'reverse', "test failed... | 51.632353 | 126 | 0.614925 |
f0530eef4f6cf266448e9986f142d03e3219ab0c | 35,598 | lua | Lua | Util/Util.lua | deepstay/PersoLootRoll | be3b91422fad75822f3e8f69fbec5345fa5f090d | [
"MIT"
] | null | null | null | Util/Util.lua | deepstay/PersoLootRoll | be3b91422fad75822f3e8f69fbec5345fa5f090d | [
"MIT"
] | null | null | null | Util/Util.lua | deepstay/PersoLootRoll | be3b91422fad75822f3e8f69fbec5345fa5f090d | [
"MIT"
] | null | null | null | local Name, Addon = ...
local Unit = Addon.Unit
local Self = Addon.Util
-------------------------------------------------------
-- WoW --
-------------------------------------------------------
-- More than this much percent of players in the group must be from
-- one gui... | 26.388436 | 173 | 0.556042 |
45c946aab8cef40615bbfb44b25050359a9090fb | 4,507 | py | Python | ocr_attribute_extraction/attribute_name.py | DAVEisZERO/IW276WS21-P19 | ab9e829174ad2c7ce7b88526e25355b395abdda7 | [
"MIT"
] | null | null | null | ocr_attribute_extraction/attribute_name.py | DAVEisZERO/IW276WS21-P19 | ab9e829174ad2c7ce7b88526e25355b395abdda7 | [
"MIT"
] | null | null | null | ocr_attribute_extraction/attribute_name.py | DAVEisZERO/IW276WS21-P19 | ab9e829174ad2c7ce7b88526e25355b395abdda7 | [
"MIT"
] | null | null | null | from enum import Enum, auto
class Colors(Enum):
Black = 'Color-Black'
Blue = 'Color-Blue'
Brown = 'Color-Brown'
Green = 'Color-Green'
Grey = 'Color-Grey'
Orange = 'Color-Orange'
Pink = 'Color-Pink'
Purple = 'Color-Purple'
Red = 'Color-Red'
White = 'Color-White'
Yellow = 'Co... | 38.194915 | 75 | 0.728866 |
c3bddb363b575c123f3bf3bf50c1e9dbc07b5589 | 1,579 | kt | Kotlin | src/test/kotlin/no/nav/syfo/testhelper/mock/IsproxyMock.kt | navikt/syfobehandlendeenhet | 1ffaad9607453887c7c103f3a2bc23951a6a77b1 | [
"MIT"
] | null | null | null | src/test/kotlin/no/nav/syfo/testhelper/mock/IsproxyMock.kt | navikt/syfobehandlendeenhet | 1ffaad9607453887c7c103f3a2bc23951a6a77b1 | [
"MIT"
] | 4 | 2021-09-08T10:28:32.000Z | 2022-01-26T12:52:28.000Z | src/test/kotlin/no/nav/syfo/testhelper/mock/IsproxyMock.kt | navikt/syfobehandlendeenhet | 1ffaad9607453887c7c103f3a2bc23951a6a77b1 | [
"MIT"
] | null | null | null | package no.nav.syfo.testhelper.mock
import io.ktor.application.*
import io.ktor.response.*
import io.ktor.routing.*
import io.ktor.server.engine.*
import io.ktor.server.netty.*
import no.nav.syfo.application.api.installContentNegotiation
import no.nav.syfo.client.norg.NorgClient
import no.nav.syfo.client.norg.domain.E... | 26.316667 | 62 | 0.651045 |
b76c0abbec955fb31dd7399d6fe7d7236d9f9869 | 1,002 | cs | C# | Unity-TrackIR-Plugin-DLL-master/NPConstants.cs | nash8350/GazePlusMouse | 77efbfeb8f06175e39c9efd2e85be7b855095963 | [
"Apache-2.0"
] | 115 | 2017-07-19T19:09:50.000Z | 2022-03-19T10:42:53.000Z | Unity-TrackIR-Plugin-DLL-master/NPConstants.cs | nash8350/GazePlusMouse | 77efbfeb8f06175e39c9efd2e85be7b855095963 | [
"Apache-2.0"
] | 78 | 2017-07-23T23:13:07.000Z | 2022-03-28T16:00:16.000Z | Unity-TrackIR-Plugin-DLL-master/NPConstants.cs | nash8350/GazePlusMouse | 77efbfeb8f06175e39c9efd2e85be7b855095963 | [
"Apache-2.0"
] | 25 | 2017-09-08T14:44:32.000Z | 2022-03-18T22:42:11.000Z | namespace TrackIRUnity
{
internal static class NPConstants
{
public const int NPQUERYVERSION = 1040;
public const int NPVERSIONMAJOR = 1;
public const int NPVERSIONMINOR = 2;
public const int NPControl = 8;
public const ushort NPRoll = (ushort) 1;
public const ushort NPPitch = (ushort) 2;
... | 37.111111 | 57 | 0.691617 |
a35343051e2546da03398ef2c70cd6a8b5465a4d | 297 | ps1 | PowerShell | data/scripts/DemoScripts-SQL2016/Get-Member_ExposeMethods.ps1 | nimda-md/MAG-Azure-Automation | c656a549b207b1e8c61721fa9a074ceed13b1355 | [
"MIT"
] | 25 | 2018-10-18T18:31:33.000Z | 2021-06-03T09:43:41.000Z | data/scripts/DemoScripts-SQL2016/Get-Member_ExposeMethods.ps1 | aktapaz/0026-azure-automation-plus-dsc-lab | 91663075ac55172f6c099ded98963cee5af7ad22 | [
"MIT"
] | 26 | 2019-03-04T14:00:10.000Z | 2021-12-26T22:52:40.000Z | data/scripts/DemoScripts-SQL2016/Get-Member_ExposeMethods.ps1 | aktapaz/0026-azure-automation-plus-dsc-lab | 91663075ac55172f6c099ded98963cee5af7ad22 | [
"MIT"
] | 7 | 2019-02-27T05:57:33.000Z | 2022-01-14T14:26:30.000Z | Import-Module SQLPS
$ServerName = "Pansatywin7" #"PankajWin7"
$InstanceName = "Default" #"Default"
$ConnectionString = "SQLSERVER:\SQL\"+$ServerName+"\"+$InstanceName+"\Databases"
dir $ConnectionString | %{$_.EnumBackupSets()}
#dir $ConnectionString | %{$_.EnumBackupSets()} |Get-Member | 33 | 80 | 0.707071 |
6b055f1bd2864175c01e1ba68ecb466ed2d31673 | 61 | lua | Lua | remove fog.lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 70 | 2021-02-09T17:21:32.000Z | 2022-03-28T12:41:42.000Z | remove fog.lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 4 | 2021-08-19T22:05:58.000Z | 2022-03-19T18:58:01.000Z | remove fog.lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 325 | 2021-02-26T22:23:41.000Z | 2022-03-31T19:36:12.000Z | game.Lighting.FogEnd = 100000
game.Lighting.FogStart = 100000 | 30.5 | 31 | 0.819672 |
9891e1f0f62d81208aefaa528be33679eab94b27 | 2,945 | swift | Swift | SVG.playground/Sources/UIColor+CSS.swift | zhangxigithub/SVGCanvas | d45dcf626b8f7d40f429a22f0bc89395601560f8 | [
"Apache-2.0"
] | 1 | 2017-02-22T06:22:35.000Z | 2017-02-22T06:22:35.000Z | SVG.playground/Sources/UIColor+CSS.swift | zhangxigithub/SVGCanvas | d45dcf626b8f7d40f429a22f0bc89395601560f8 | [
"Apache-2.0"
] | null | null | null | SVG.playground/Sources/UIColor+CSS.swift | zhangxigithub/SVGCanvas | d45dcf626b8f7d40f429a22f0bc89395601560f8 | [
"Apache-2.0"
] | null | null | null | import UIKit
public extension UIColor
{
public convenience init(css:String)
{
if css.hasPrefix("#") == true
{
self.init(hexString:css)
}
else if css.hasPrefix("rgb(") == true
{
self.init(hexString:css)
}
else if css.h... | 28.872549 | 133 | 0.487606 |
a4634792c47d0378be7cf48a6ff92e7aaa8928d0 | 4,907 | php | PHP | resources/views/jabatan/jabatan.blade.php | glennluc/FP-PBKK | b192b604561b660bbe9eda3e48f62d230d9dcb8a | [
"MIT"
] | null | null | null | resources/views/jabatan/jabatan.blade.php | glennluc/FP-PBKK | b192b604561b660bbe9eda3e48f62d230d9dcb8a | [
"MIT"
] | null | null | null | resources/views/jabatan/jabatan.blade.php | glennluc/FP-PBKK | b192b604561b660bbe9eda3e48f62d230d9dcb8a | [
"MIT"
] | null | null | null | @extends('layouts.template')
@section('content')
<header class="blue accent-3 relative">
<div class="container-fluid text-white">
<div class="row p-t-b-10 ">
<div class="col">
<h4>
<i class="icon-database"></i>
... | 55.761364 | 142 | 0.316487 |
834a969a714745434cebf8195b92f8d12ebd8098 | 1,823 | tsx | TypeScript | ionic-react/src/pages/SpeakerList.tsx | ferhhan/next | e34f699fa9901840df2fcba4bd2205d8a8d311db | [
"MIT"
] | null | null | null | ionic-react/src/pages/SpeakerList.tsx | ferhhan/next | e34f699fa9901840df2fcba4bd2205d8a8d311db | [
"MIT"
] | 50 | 2020-03-14T21:34:02.000Z | 2022-03-02T06:54:49.000Z | ionic-react/src/pages/SpeakerList.tsx | ferhhan/next | e34f699fa9901840df2fcba4bd2205d8a8d311db | [
"MIT"
] | null | null | null | import React from 'react';
import { IonHeader, IonToolbar, IonTitle, IonContent, IonPage, IonButtons, IonMenuButton, IonList, IonGrid, IonRow, IonCol } from '@ionic/react';
import SpeakerItem from '../components/SpeakerItem';
import { Speaker } from '../models/Speaker';
import { Session } from '../models/Session';
impo... | 29.885246 | 145 | 0.598464 |
6df03ab05e93e6d00afc633c30ab04a3f7981d1a | 154 | h | C | LLToolbox/Frameworks/LLToolbox.framework/Headers/NSDictionary+LLTool.h | LOLITA0164/LLToolbox | 5cd71053c3ec0998c6f148f6fb7cbdeda116decd | [
"MIT"
] | null | null | null | LLToolbox/Frameworks/LLToolbox.framework/Headers/NSDictionary+LLTool.h | LOLITA0164/LLToolbox | 5cd71053c3ec0998c6f148f6fb7cbdeda116decd | [
"MIT"
] | null | null | null | LLToolbox/Frameworks/LLToolbox.framework/Headers/NSDictionary+LLTool.h | LOLITA0164/LLToolbox | 5cd71053c3ec0998c6f148f6fb7cbdeda116decd | [
"MIT"
] | null | null | null |
#import <Foundation/Foundation.h>
@interface NSDictionary (LLTool)
/// 获取数据
-(id)objectForKeyNotNull:(id)key;
/// 转换为字符串
-(NSString*)toString;
@end
| 11 | 33 | 0.707792 |
251c3df686dcec3aaf2367193348e2dbbaf88d92 | 1,297 | sh | Shell | android/n6/apt_upgrade_to_n6.sh | Goral64/AIS-utils | 5eff75d40184565589b079e6253c25318bdaa0a2 | [
"Apache-2.0"
] | null | null | null | android/n6/apt_upgrade_to_n6.sh | Goral64/AIS-utils | 5eff75d40184565589b079e6253c25318bdaa0a2 | [
"Apache-2.0"
] | null | null | null | android/n6/apt_upgrade_to_n6.sh | Goral64/AIS-utils | 5eff75d40184565589b079e6253c25318bdaa0a2 | [
"Apache-2.0"
] | null | null | null | # TODO switch this repo to stable
echo " "
echo "Change repo"
echo "# The AI-Speaker beta repository:" > /data/data/pl.sviete.dom/files/usr/etc/apt/sources.list
echo "deb [trusted=yes] https://powiedz.co/apt dom-dev beta" >> /data/data/pl.sviete.dom/files/usr/etc/apt/sources.list
#
apt install libacl
apt install -y cl... | 24.942308 | 150 | 0.745567 |
dda87d3b6147d9a163eb382ab589022f123aec8e | 5,402 | java | Java | rebro/src/java/weka/gui/knowledgeflow/StepTreeLeafDetails.java | Benn-Co/refactored-broccoli | 75e5f02dbeb824b10bf2b47175b186085f424b64 | [
"MIT"
] | null | null | null | rebro/src/java/weka/gui/knowledgeflow/StepTreeLeafDetails.java | Benn-Co/refactored-broccoli | 75e5f02dbeb824b10bf2b47175b186085f424b64 | [
"MIT"
] | null | null | null | rebro/src/java/weka/gui/knowledgeflow/StepTreeLeafDetails.java | Benn-Co/refactored-broccoli | 75e5f02dbeb824b10bf2b47175b186085f424b64 | [
"MIT"
] | null | null | null | /*
* 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 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it w... | 27.282828 | 80 | 0.676231 |
20d1a07fd6b83557d0f2bc6d1cefacee4b2f0441 | 575 | py | Python | source/python/SkillTree.py | JoHyukJun/algorithm-analysis | 3eda22ce0eeb52490702206d73c04cff1eb3e72d | [
"Apache-2.0"
] | null | null | null | source/python/SkillTree.py | JoHyukJun/algorithm-analysis | 3eda22ce0eeb52490702206d73c04cff1eb3e72d | [
"Apache-2.0"
] | null | null | null | source/python/SkillTree.py | JoHyukJun/algorithm-analysis | 3eda22ce0eeb52490702206d73c04cff1eb3e72d | [
"Apache-2.0"
] | null | null | null | '''
main.py
Created by Jo Hyuk Jun on 2020
Copyright © 2020 Jo Hyuk Jun. All rights reserved.
'''
def solution(skill, skill_trees):
answer = 0
skill_stack = list(skill)
for v in skill_trees:
tmp = []
is_ok = True
cur_skill = list(v)
for i in range(len(cur_... | 17.424242 | 54 | 0.514783 |
ae28237935854c3b5186a1f32ff14011b3407c0a | 750 | cs | C# | src/Giger/Filters/ColorMatrixFilterEffect.cs | bendetat/chvart | 7149233955654aa53c2cae91963299d17893a4a3 | [
"MIT"
] | 1 | 2015-10-05T08:11:48.000Z | 2015-10-05T08:11:48.000Z | src/Giger/Filters/ColorMatrixFilterEffect.cs | bendetat/chvart | 7149233955654aa53c2cae91963299d17893a4a3 | [
"MIT"
] | 14 | 2015-09-04T09:06:18.000Z | 2016-07-26T15:08:12.000Z | src/Giger/Filters/ColorMatrixFilterEffect.cs | bendetat/chvart | 7149233955654aa53c2cae91963299d17893a4a3 | [
"MIT"
] | null | null | null | using System.Xml;
using Giger.Plumbing;
namespace Giger.Filters
{
public class ColorMatrixFilterEffect : FilterEffect<ColorMatrixFilterEffect>
{
public ColorMatrixFilterEffect(double[] matrix, string filterInput, string resultName)
: base(filterInput, resultName)
{
SetAt... | 30 | 94 | 0.64 |
dde6a21db3655f1bc726374c7ff5e86144b99219 | 765 | java | Java | src/main/java/com/github/appreciated/apexcharts/config/Theme.java | yurili8/apexcharts-flow | 4cc29394bf45bab81fcdd439bed910987ecc2a16 | [
"Apache-2.0"
] | 38 | 2019-05-01T19:47:47.000Z | 2022-03-20T11:26:04.000Z | src/main/java/com/github/appreciated/apexcharts/config/Theme.java | yurili8/apexcharts-flow | 4cc29394bf45bab81fcdd439bed910987ecc2a16 | [
"Apache-2.0"
] | 111 | 2019-04-27T13:56:01.000Z | 2022-02-28T11:37:11.000Z | src/main/java/com/github/appreciated/apexcharts/config/Theme.java | yurili8/apexcharts-flow | 4cc29394bf45bab81fcdd439bed910987ecc2a16 | [
"Apache-2.0"
] | 34 | 2019-06-07T09:51:43.000Z | 2022-01-23T18:57:45.000Z | package com.github.appreciated.apexcharts.config;
import com.github.appreciated.apexcharts.config.theme.Mode;
import com.github.appreciated.apexcharts.config.theme.Monochrome;
public class Theme {
private Mode mode;
private String palette;
private Monochrome monochrome;
public Theme() {
}
p... | 19.125 | 65 | 0.656209 |
bea25471b331cfe986cb4f2e460dbef4033a7e01 | 2,667 | kt | Kotlin | shared/src/main/kotlin/me/saket/press/shared/sync/git/PlatformFile.kt | federicoviceconti/press | fe8de073b3b86f5c33ac5760be03456949095205 | [
"Apache-2.0"
] | null | null | null | shared/src/main/kotlin/me/saket/press/shared/sync/git/PlatformFile.kt | federicoviceconti/press | fe8de073b3b86f5c33ac5760be03456949095205 | [
"Apache-2.0"
] | null | null | null | shared/src/main/kotlin/me/saket/press/shared/sync/git/PlatformFile.kt | federicoviceconti/press | fe8de073b3b86f5c33ac5760be03456949095205 | [
"Apache-2.0"
] | null | null | null | package me.saket.press.shared.sync.git
import okio.buffer
import okio.sink
import okio.source
import java.io.File as JavaFile
actual class PlatformFile constructor(private val delegate: JavaFile) : File {
actual constructor(parentPath: String, name: String) : this(JavaFile(parentPath, name))
actual constructor(pa... | 28.98913 | 102 | 0.666667 |
d00efe6af0f1f098435207007496ec9c0ad7b9e3 | 498 | rb | Ruby | app/models/reservation.rb | RokoVarano/hotel_services_backend | 1fae1b123558053997c0b2a9b7f842c014f1b253 | [
"MIT"
] | null | null | null | app/models/reservation.rb | RokoVarano/hotel_services_backend | 1fae1b123558053997c0b2a9b7f842c014f1b253 | [
"MIT"
] | 74 | 2021-11-17T19:52:17.000Z | 2021-12-02T16:11:50.000Z | app/models/reservation.rb | RokoVarano/hotel_services_backend | 1fae1b123558053997c0b2a9b7f842c014f1b253 | [
"MIT"
] | null | null | null | class Reservation < ApplicationRecord
belongs_to :user
belongs_to :service
validates :date, presence: true
validates :city, presence: true
def as_json(_options = {})
service = Service.find(service_id)
{
reservation_id: id,
service_name: service.name,
service_description: service.d... | 19.92 | 47 | 0.63253 |
ccca0eafed6ebfd66b74899095a42c09fc823803 | 2,024 | h | C | src/DenseSLAM/PrecomputedDepthProvider.h | Hansry/DenseSLAM-Global-Consistency-h | 8ed653eaae9821dd262b90218e5e8fa60ec6b814 | [
"BSD-3-Clause"
] | 5 | 2019-11-14T03:18:38.000Z | 2022-02-21T07:43:47.000Z | src/DenseSLAM/PrecomputedDepthProvider.h | Hansry/DenseSLAM-Global-Consistency-h | 8ed653eaae9821dd262b90218e5e8fa60ec6b814 | [
"BSD-3-Clause"
] | 4 | 2019-11-09T05:20:52.000Z | 2021-02-02T22:18:11.000Z | src/DenseSLAM/PrecomputedDepthProvider.h | Hansry/DenseSLAM-Global-Consistency-h | 8ed653eaae9821dd262b90218e5e8fa60ec6b814 | [
"BSD-3-Clause"
] | null | null | null | #ifndef DENSESLAM_PRECOMPUTEDDEPTHPROVIDER_H
#define DENSESLAM_PRECOMPUTEDDEPTHPROVIDER_H
#include <string>
#include "DepthProvider.h"
#include "Input.h"
/// \brief 视差图和深度图都是从本地读取的,并不是通过双目进行实时的视差图计算
namespace SparsetoDense {
extern const std::string kDispNetName;
extern const std::string kPrecomputedElas;
/// \br... | 34.305085 | 110 | 0.755435 |
c61166bbe9054a3dc8ecb9198b0e0d8641a16942 | 2,782 | swift | Swift | anagram.playground/Contents.swift | risinggalaxy/swift-challenges | e2c979a4e0c011fe3efe6c5c08e5a14f87a6d1e6 | [
"MIT"
] | null | null | null | anagram.playground/Contents.swift | risinggalaxy/swift-challenges | e2c979a4e0c011fe3efe6c5c08e5a14f87a6d1e6 | [
"MIT"
] | null | null | null | anagram.playground/Contents.swift | risinggalaxy/swift-challenges | e2c979a4e0c011fe3efe6c5c08e5a14f87a6d1e6 | [
"MIT"
] | null | null | null | import Foundation
import XCTest
// Challenge: Given two strings, write an algorithm to detect whether one word is an anagram of the other.
// An anagram is a word that can be made by changing the order of the letters in another word.
//
// For example:
// tar => rat
// state => taste
class Anagram {
func sim... | 28.680412 | 106 | 0.601006 |
d317aca80fc9da14328e478bcce8ffec22f5590d | 4,859 | cs | C# | DataTools/Graphs/Graph/Graph.cs | D15190304050/CSharpConsole2017 | f85d9a3dcac2f6532f18694ced6ada1bd5be7d8b | [
"MIT"
] | 2 | 2018-10-09T07:08:58.000Z | 2021-05-12T10:23:17.000Z | DataTools/Graphs/Graph/Graph.cs | D15190304050/CSharpConsole2017 | f85d9a3dcac2f6532f18694ced6ada1bd5be7d8b | [
"MIT"
] | null | null | null | DataTools/Graphs/Graph/Graph.cs | D15190304050/CSharpConsole2017 | f85d9a3dcac2f6532f18694ced6ada1bd5be7d8b | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataTools.Graphs.UndirectedGraph
{
using Collections;
public class Graph
{
// Adjacency lists.
private LinkedList<int>[] adjacent;
/// <summary>
/... | 29.271084 | 113 | 0.471085 |
57f282f3ec9b11b18bb0d8e2bcfb5ef5d4561afe | 3,138 | php | PHP | src/Config/system.php | mmrtonmoybd/Bagisto-Sslcommerz-Payment-Gateway | d428bde8e52ab100a4870e699611164e248e4919 | [
"MIT"
] | null | null | null | src/Config/system.php | mmrtonmoybd/Bagisto-Sslcommerz-Payment-Gateway | d428bde8e52ab100a4870e699611164e248e4919 | [
"MIT"
] | null | null | null | src/Config/system.php | mmrtonmoybd/Bagisto-Sslcommerz-Payment-Gateway | d428bde8e52ab100a4870e699611164e248e4919 | [
"MIT"
] | null | null | null | <?php
return [
[
'key' => 'sales.paymentmethods.sslcommerz',
'name' => 'admin::app.admin.system.sslcommerz',
'sort' => 5,
'fields' => [
[
'name' => 'title',
'title' => 'admin::app.admin.system.title',
... | 36.917647 | 95 | 0.321224 |
c8dc6bb7fc6e35608c2ccdc17e0dc5c48ef9e005 | 1,615 | kt | Kotlin | ontrack-ui/src/test/java/net/nemerosa/ontrack/boot/ProjectSearchProviderIT.kt | pavelerofeev/ontrack | a71e281890e831fc56d4eb26ee68ed59bd157f2f | [
"MIT"
] | null | null | null | ontrack-ui/src/test/java/net/nemerosa/ontrack/boot/ProjectSearchProviderIT.kt | pavelerofeev/ontrack | a71e281890e831fc56d4eb26ee68ed59bd157f2f | [
"MIT"
] | null | null | null | ontrack-ui/src/test/java/net/nemerosa/ontrack/boot/ProjectSearchProviderIT.kt | pavelerofeev/ontrack | a71e281890e831fc56d4eb26ee68ed59bd157f2f | [
"MIT"
] | null | null | null | package net.nemerosa.ontrack.boot
import net.nemerosa.ontrack.it.AbstractDSLTestSupport
import net.nemerosa.ontrack.model.structure.NameDescription
import net.nemerosa.ontrack.test.TestUtils.uid
import org.junit.Test
import org.springframework.beans.factory.annotation.Autowired
import kotlin.test.assertEquals
import k... | 34.361702 | 75 | 0.68483 |
47da871e06f6ac07fefca61fbe6be670a23b35e2 | 1,976 | swift | Swift | TyokinshiAI_JPHACKS2018/ViewController3.swift | jphacks/SP_1801 | fcd6e1ce88f69d9f0e2d83889532ced5f72f07c7 | [
"MIT"
] | 1 | 2018-10-21T03:36:48.000Z | 2018-10-21T03:36:48.000Z | TyokinshiAI_JPHACKS2018/ViewController3.swift | jphacks/SP_1801 | fcd6e1ce88f69d9f0e2d83889532ced5f72f07c7 | [
"MIT"
] | null | null | null | TyokinshiAI_JPHACKS2018/ViewController3.swift | jphacks/SP_1801 | fcd6e1ce88f69d9f0e2d83889532ced5f72f07c7 | [
"MIT"
] | null | null | null | //
// ViewController3.swift
// TyokinshiAI_JPHACKS2018
//
// Created by 中井崚日 on 2018/10/20.
// Copyright © 2018年 中井崚日. All rights reserved.
//
import Foundation
import UIKit
class ViewController3: UIViewController, UIPickerViewDelegate, UIPickerViewDataSource {
@IBOutlet weak var pickerView: UIPickerView... | 25.662338 | 87 | 0.589069 |
bb881d7c7fc2f4bd41929f4b83564e36d1db9657 | 1,673 | cs | C# | src/dotnetCampus.Ipc/Utils/Extensions/LoggerExtensions.cs | dotnet-campus/dotnetCampus.Ipc | da543d3483cdecbeb3efcd7080150b17d92de8fa | [
"MIT"
] | 75 | 2020-10-08T22:30:28.000Z | 2022-02-26T00:53:00.000Z | src/dotnetCampus.Ipc/Utils/Extensions/LoggerExtensions.cs | dotnet-campus/dotnetCampus.Ipc | da543d3483cdecbeb3efcd7080150b17d92de8fa | [
"MIT"
] | 9 | 2020-10-20T12:28:52.000Z | 2022-03-16T08:33:13.000Z | src/dotnetCampus.Ipc/Utils/Extensions/LoggerExtensions.cs | dotnet-campus/dotnetCampus.Ipc | da543d3483cdecbeb3efcd7080150b17d92de8fa | [
"MIT"
] | 7 | 2021-09-26T01:50:32.000Z | 2022-02-17T01:06:59.000Z | using System;
using dotnetCampus.Ipc.Utils.Logging;
namespace dotnetCampus.Ipc.Utils.Extensions
{
internal static class LoggerExtensions
{
public static void Trace(this ILogger? logger, string message)
{
logger?.Log(LogLevel.Trace, default, 0, null, (s, e) => message);
}
... | 30.981481 | 111 | 0.534369 |
5675d549a5154d328d19098e4bdce569eb1b60c6 | 2,117 | rs | Rust | examples/cursor_grab.rs | fnune/tao | cbd4cdbeb8a36bf1dbc64ce2e10a55fe3ce6b5b4 | [
"Apache-2.0"
] | null | null | null | examples/cursor_grab.rs | fnune/tao | cbd4cdbeb8a36bf1dbc64ce2e10a55fe3ce6b5b4 | [
"Apache-2.0"
] | null | null | null | examples/cursor_grab.rs | fnune/tao | cbd4cdbeb8a36bf1dbc64ce2e10a55fe3ce6b5b4 | [
"Apache-2.0"
] | null | null | null | // Copyright 2019-2021 Tauri Programme within The Commons Conservancy
// SPDX-License-Identifier: Apache-2.0
use simple_logger::SimpleLogger;
use tao::{
event::{DeviceEvent, ElementState, Event, KeyEvent, WindowEvent},
event_loop::{ControlFlow, EventLoop},
keyboard::{Key, ModifiersState},
window::WindowBuilder... | 32.075758 | 92 | 0.569674 |
dfae6b4e4a8711995f850547ea9e032a6cab9094 | 566 | cs | C# | MvcDocumentation/DaisyDocumentationController.cs | heneryville/Daisy | bc53a1809ad6046e05f4e3f1ccf417583d0a7b5d | [
"MIT"
] | 4 | 2018-01-02T12:33:39.000Z | 2021-02-25T02:55:45.000Z | MvcDocumentation/DaisyDocumentationController.cs | heneryville/Daisy | bc53a1809ad6046e05f4e3f1ccf417583d0a7b5d | [
"MIT"
] | null | null | null | MvcDocumentation/DaisyDocumentationController.cs | heneryville/Daisy | bc53a1809ad6046e05f4e3f1ccf417583d0a7b5d | [
"MIT"
] | 1 | 2021-07-27T11:19:43.000Z | 2021-07-27T11:19:43.000Z | namespace Ancestry.Daisy.Documentation.MVC
{
using System.Collections.Generic;
using System.IO;
using System.Web.Mvc;
using Ancestry.Daisy.Statements;
using RazorEngine.Templating;
public class DaisyDocumentationController : Controller
{
public ActionResult Index()
... | 28.3 | 123 | 0.673145 |
c98c8319a3f4c9086ed82fe08c3b905677735a01 | 201 | tsx | TypeScript | packages/fluentui/docs/src/examples/components/Pill/State/PillExampleDisabled.tsx | hetanthakkar1/fluentui | fb53fd67729d8236e0681d74322717f6974c8b72 | [
"MIT"
] | 7,194 | 2016-07-21T19:41:05.000Z | 2020-03-20T11:30:44.000Z | packages/fluentui/docs/src/examples/components/Pill/State/PillExampleDisabled.tsx | hetanthakkar1/fluentui | fb53fd67729d8236e0681d74322717f6974c8b72 | [
"MIT"
] | 10,472 | 2016-07-21T22:56:20.000Z | 2020-03-20T19:50:35.000Z | packages/fluentui/docs/src/examples/components/Pill/State/PillExampleDisabled.tsx | hetanthakkar1/fluentui | fb53fd67729d8236e0681d74322717f6974c8b72 | [
"MIT"
] | 1,664 | 2016-07-22T03:30:48.000Z | 2020-03-19T05:23:44.000Z | import * as React from 'react';
import { Pill } from '@fluentui/react-northstar';
const PillExampleDisabled = () => <Pill disabled>This is a disabled Pill</Pill>;
export default PillExampleDisabled;
| 28.714286 | 80 | 0.741294 |
ba06e76e074af08194b819f045e2c0a9b1d19ad0 | 5,812 | go | Go | scheme/bitrix24/contact.go | vilamslep/bx24sync | b08d2d7df40867cc2b9efd2961e257532b1a8aa4 | [
"MIT"
] | null | null | null | scheme/bitrix24/contact.go | vilamslep/bx24sync | b08d2d7df40867cc2b9efd2961e257532b1a8aa4 | [
"MIT"
] | null | null | null | scheme/bitrix24/contact.go | vilamslep/bx24sync | b08d2d7df40867cc2b9efd2961e257532b1a8aa4 | [
"MIT"
] | null | null | null | package bitrix24
import (
"bytes"
"encoding/json"
"fmt"
"io"
"strings"
"unicode"
"github.com/vilamslep/bx24sync/scheme/bitrix24/converter"
"github.com/vilamslep/bx24sync/scheme/sql"
)
const (
findContact = "crm.contact.list"
addContact = "crm.contact.add"
updateContact = "crm.contact.update"
)
type ... | 26.298643 | 99 | 0.640227 |
79c56efada8996ee14c5c9c5e2e67fa01b109de2 | 594 | php | PHP | src/Targets.php | integer-net/callback-proxy | 044046774a329a37ddc2039ed3130e8a59c35d36 | [
"MIT"
] | null | null | null | src/Targets.php | integer-net/callback-proxy | 044046774a329a37ddc2039ed3130e8a59c35d36 | [
"MIT"
] | 4 | 2018-10-30T14:04:33.000Z | 2019-03-12T09:18:11.000Z | src/Targets.php | integer-net/callback-proxy | 044046774a329a37ddc2039ed3130e8a59c35d36 | [
"MIT"
] | null | null | null | <?php
declare(strict_types=1);
namespace IntegerNet\CallbackProxy;
/**
* @method \ArrayIterator getInnerIterator()
*/
class Targets extends \IteratorIterator
{
public function __construct(Target ...$targets)
{
parent::__construct(new \ArrayIterator($targets));
}
public function current(): ... | 18.5625 | 58 | 0.577441 |
da74c8b6ac896557838d9658ca5f266f0b04051c | 228 | php | PHP | app/Schedule/Tasks/UpdateDailyTop10.php | ddechant/Gazelle | 87e0776747250e19f179e0ef7d3c0a808ccb7d44 | [
"Unlicense"
] | 169 | 2018-10-10T00:57:15.000Z | 2022-03-18T11:10:03.000Z | app/Schedule/Tasks/UpdateDailyTop10.php | ddechant/Gazelle | 87e0776747250e19f179e0ef7d3c0a808ccb7d44 | [
"Unlicense"
] | 130 | 2018-10-29T16:46:17.000Z | 2022-03-14T07:33:32.000Z | app/Schedule/Tasks/UpdateDailyTop10.php | ddechant/Gazelle | 87e0776747250e19f179e0ef7d3c0a808ccb7d44 | [
"Unlicense"
] | 78 | 2018-11-02T15:13:24.000Z | 2022-03-07T16:51:52.000Z | <?php
namespace Gazelle\Schedule\Tasks;
class UpdateDailyTop10 extends \Gazelle\Schedule\Task
{
public function run()
{
$this->processed = (new \Gazelle\Manager\Torrent)->storeTop10('Daily', 'day', 1);
}
}
| 19 | 89 | 0.666667 |
48be36a8fdc20940d2bf0a8b1b21da7d86abb122 | 2,609 | dart | Dart | lib/Models/TopPodcast.dart | besemuna/flutter_podcast_app_uikit | 674ba62ca1716eb5968d8cca854118b3063856ea | [
"MIT"
] | null | null | null | lib/Models/TopPodcast.dart | besemuna/flutter_podcast_app_uikit | 674ba62ca1716eb5968d8cca854118b3063856ea | [
"MIT"
] | null | null | null | lib/Models/TopPodcast.dart | besemuna/flutter_podcast_app_uikit | 674ba62ca1716eb5968d8cca854118b3063856ea | [
"MIT"
] | null | null | null | class PlayListDeep {
String date;
String title;
String secondary;
String time;
PlayListDeep({this.date, this.title, this.secondary, this.time});
}
class TopPodcast {
String picture;
String title;
String secondary;
bool favorite;
List<PlayListDeep> playlist;
TopPodcast(
{this.picture, this... | 23.718182 | 80 | 0.654274 |
5d5ffc218e19de99143de9f6b15e26d5adb6ca41 | 1,148 | swift | Swift | Routine/CoreLayer/Network/Models/BaseResponseModels.swift | cmuphobk/routine | 9c029a16fc1356936c2bfbf73939e088af0bda19 | [
"MIT"
] | null | null | null | Routine/CoreLayer/Network/Models/BaseResponseModels.swift | cmuphobk/routine | 9c029a16fc1356936c2bfbf73939e088af0bda19 | [
"MIT"
] | null | null | null | Routine/CoreLayer/Network/Models/BaseResponseModels.swift | cmuphobk/routine | 9c029a16fc1356936c2bfbf73939e088af0bda19 | [
"MIT"
] | null | null | null | import Foundation
protocol DataArrayContainer {
associatedtype Item
var dataArray: [Item]? { get set }
}
struct DefaultModel: Codable {
var response: String
enum CodingKeys: String, CodingKey {
case response
}
}
class ArrayModel <T: Codable>: Codable, DataArrayCon... | 19.793103 | 75 | 0.609756 |
46c77a6723b4ffebad971f8cf90bcdee21c51251 | 1,001 | py | Python | ATLAS.py | smhooten/MRI-Learn | 6aaf7759020597adfc104ef279b08f378eb2c388 | [
"MIT"
] | null | null | null | ATLAS.py | smhooten/MRI-Learn | 6aaf7759020597adfc104ef279b08f378eb2c388 | [
"MIT"
] | null | null | null | ATLAS.py | smhooten/MRI-Learn | 6aaf7759020597adfc104ef279b08f378eb2c388 | [
"MIT"
] | null | null | null | import numpy as np
import nibabel as nib
from nilearn import datasets
class ATLAS():
def __init__(self):
self.dataset_files = datasets.fetch_atlas_harvard_oxford('cort-maxprob-thr25-2mm')
self.mask_img = nib.load(self.dataset_files.maps)
def Print_ROIs(self):
for (i,lab) in enumerate(s... | 30.333333 | 90 | 0.639361 |
c9f90a150ee7e744ebb26d50ba34b90c8ada2d4e | 948 | tsx | TypeScript | src/components/App/App.tsx | codewaseem/timer-app | fd24c2485b4ce88dd85ce651f04d9db3f68911e4 | [
"MIT"
] | null | null | null | src/components/App/App.tsx | codewaseem/timer-app | fd24c2485b4ce88dd85ce651f04d9db3f68911e4 | [
"MIT"
] | null | null | null | src/components/App/App.tsx | codewaseem/timer-app | fd24c2485b4ce88dd85ce651f04d9db3f68911e4 | [
"MIT"
] | null | null | null | import React, { ReactNode, useState, useEffect } from "react";
import { ThemeProvider } from "emotion-theming";
import theme from "~/theme";
import { setCSSVariables } from "../../utils/styles";
/**
* This component exists to provide a reusable application wrapper for use in Gatsby API's, testing, etc.
*/
const App... | 23.121951 | 105 | 0.616034 |
b755fae74c436939a563f178a7d1bb9e6675d203 | 1,106 | cpp | C++ | Source/src/Json Parser/DataTypeHandlers/JsonObject.cpp | codenameone-akshat/LittleJsonReader | 2a28219ef494d4d3a02961d74fb90fa4829a14c5 | [
"MIT"
] | null | null | null | Source/src/Json Parser/DataTypeHandlers/JsonObject.cpp | codenameone-akshat/LittleJsonReader | 2a28219ef494d4d3a02961d74fb90fa4829a14c5 | [
"MIT"
] | null | null | null | Source/src/Json Parser/DataTypeHandlers/JsonObject.cpp | codenameone-akshat/LittleJsonReader | 2a28219ef494d4d3a02961d74fb90fa4829a14c5 | [
"MIT"
] | null | null | null | #include "JsonObjectItem.h"
JsonReader::JsonItem * JsonReader::JsonObjectItem::GetValue()
{
return this;
}
JsonReader::JsonItem * JsonReader::JsonObjectItem::GetFirstChild()
{
it = m_value.begin();
return *it;
}
JsonReader::JsonItem * JsonReader::JsonObjectItem::GetNextChild()
{
std::vector<JsonIt... | 16.757576 | 80 | 0.664557 |
a393bd64f3a18321623c65c76d3bfd736693c225 | 406 | java | Java | dubbo-common/src/test/java/com/apache/freeze/research/SPI/JavaSPITest.java | jooyu/incubator-dubbo | 87564924fd6bf0c02d4d56134af19dd58881b29b | [
"Apache-2.0"
] | null | null | null | dubbo-common/src/test/java/com/apache/freeze/research/SPI/JavaSPITest.java | jooyu/incubator-dubbo | 87564924fd6bf0c02d4d56134af19dd58881b29b | [
"Apache-2.0"
] | null | null | null | dubbo-common/src/test/java/com/apache/freeze/research/SPI/JavaSPITest.java | jooyu/incubator-dubbo | 87564924fd6bf0c02d4d56134af19dd58881b29b | [
"Apache-2.0"
] | null | null | null | package com.apache.freeze.research.SPI;
import com.apache.dubbo.freeze.research.SPI.Robot;
import org.junit.Test;
import java.util.ServiceLoader;
public class JavaSPITest {
@Test
public void sayHello() throws Exception {
ServiceLoader<Robot> serviceLoader = ServiceLoader.load(Robot.class);
S... | 25.375 | 77 | 0.721675 |
55373e214ebbf5610dc476987a1700a8b0be6e7b | 4,371 | swift | Swift | FoodTracker/FoodTracker/CloudTrackerAPI.swift | abear247/CloudTracker | 59c06a2b36a3ea8ae68075cb376d9fb08baa826e | [
"AML"
] | null | null | null | FoodTracker/FoodTracker/CloudTrackerAPI.swift | abear247/CloudTracker | 59c06a2b36a3ea8ae68075cb376d9fb08baa826e | [
"AML"
] | null | null | null | FoodTracker/FoodTracker/CloudTrackerAPI.swift | abear247/CloudTracker | 59c06a2b36a3ea8ae68075cb376d9fb08baa826e | [
"AML"
] | null | null | null | //
// CloudTrackerAPI.swift
// FoodTracker
//
// Created by Alex Bearinger on 2017-02-13.
// Copyright © 2017 Apple Inc. All rights reserved.
//
import UIKit
class CloudTrackerAPI: NSObject {
public func postRequest(postData : [String:String], completion: @escaping ([String:[String:String]]) -> Void... | 31.673913 | 115 | 0.505376 |
ed948c7219f77066a0b2680eb5cd694297e2de8a | 6,519 | kt | Kotlin | jvm/execution/src/test/kotlin/ExecutionTest.kt | laplab/ballista | 4d53121ded76dd38092d1e8db99796657bc1d82a | [
"Apache-2.0"
] | 1 | 2020-08-18T07:03:15.000Z | 2020-08-18T07:03:15.000Z | jvm/execution/src/test/kotlin/ExecutionTest.kt | Dyqer/ballista | 4f40ab73a07e6dcdabf2f7af154e9dac0021ccb5 | [
"Apache-2.0"
] | null | null | null | jvm/execution/src/test/kotlin/ExecutionTest.kt | Dyqer/ballista | 4f40ab73a07e6dcdabf2f7af154e9dac0021ccb5 | [
"Apache-2.0"
] | 1 | 2020-08-25T09:15:22.000Z | 2020-08-25T09:15:22.000Z | // Copyright 2020 Andy Grove
//
// 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 writi... | 32.432836 | 100 | 0.637674 |
46ca3ea07dc062c32443674db4689ddf04f76df1 | 3,530 | py | Python | examples/red-pitaya/oscillo/python/oscillo.py | Koheron/koheron-sdk | 82b732635f1adf5dd0b04b9290b589c1fc091f29 | [
"MIT"
] | 77 | 2016-09-20T18:44:14.000Z | 2022-03-30T16:04:09.000Z | examples/red-pitaya/oscillo/python/oscillo.py | rsarwar87/koheron-sdk | 02c35bf3c1c29f1029fad18b881dbd193efac5a7 | [
"MIT"
] | 101 | 2016-09-05T15:44:25.000Z | 2022-03-29T09:22:09.000Z | examples/red-pitaya/oscillo/python/oscillo.py | rsarwar87/koheron-sdk | 02c35bf3c1c29f1029fad18b881dbd193efac5a7 | [
"MIT"
] | 34 | 2016-12-12T07:21:57.000Z | 2022-01-12T21:00:52.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import time
import math
import numpy as np
from koheron import command
class Oscillo(object):
def __init__(self, client):
self.client = client
self.wfm_size = 8192
self.sampling_rate = 125e6
self.t = np.arange(self.wfm_size)/self.sampl... | 30.431034 | 95 | 0.625496 |
c6b414d1c14f98b42e46c5db548f74f885a8acc9 | 4,307 | css | CSS | public/css/style.css | tagawa/Mobile-Checker | 5a2e2a7d67fe19a703009440ad0d821540ece683 | [
"MIT"
] | null | null | null | public/css/style.css | tagawa/Mobile-Checker | 5a2e2a7d67fe19a703009440ad0d821540ece683 | [
"MIT"
] | null | null | null | public/css/style.css | tagawa/Mobile-Checker | 5a2e2a7d67fe19a703009440ad0d821540ece683 | [
"MIT"
] | null | null | null | /* TODO : use full path of elements */
html, body{
margin: 0px;
padding: 0px;
outline: 0px;
height: 100%;
background-color: #ecf0f1;
font-family: Open Sans;
}
/* DEFAULT view */
#home{
height: 100%;
padding: 0px;
}
.navbar-default {
background-image: none;
background-color: #3... | 17.579592 | 51 | 0.609241 |
f44020301b281dd4230b810584809750ecf316e3 | 972 | tsx | TypeScript | frontend/src/app/components/Layout.tsx | MariusArhaug/JAMDb | 0cb3d750887db19015ba3c357d85fcf557c3d624 | [
"Apache-2.0"
] | null | null | null | frontend/src/app/components/Layout.tsx | MariusArhaug/JAMDb | 0cb3d750887db19015ba3c357d85fcf557c3d624 | [
"Apache-2.0"
] | null | null | null | frontend/src/app/components/Layout.tsx | MariusArhaug/JAMDb | 0cb3d750887db19015ba3c357d85fcf557c3d624 | [
"Apache-2.0"
] | 1 | 2021-11-03T12:44:31.000Z | 2021-11-03T12:44:31.000Z | import React, { ReactNode } from 'react'
import NavBar from './Navbar'
import { Footer } from './Footer'
/**
* Layout wrapper
*/
export function Layout({ children }: { children: ReactNode }) {
return (
<div>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet... | 32.4 | 123 | 0.546296 |
4bb5dc55bc874742aa5444955c9791281dc5fcd1 | 390 | h | C | include/Texture.h | Hukunaa/CPU-Rasterizer | e56a1215750842e42cd5d933698bb94bcc859c9f | [
"MIT"
] | null | null | null | include/Texture.h | Hukunaa/CPU-Rasterizer | e56a1215750842e42cd5d933698bb94bcc859c9f | [
"MIT"
] | null | null | null | include/Texture.h | Hukunaa/CPU-Rasterizer | e56a1215750842e42cd5d933698bb94bcc859c9f | [
"MIT"
] | null | null | null | #pragma once
#include <Color.h>
#include <SDL.h>
class Texture
{
public:
unsigned int mui_w;
unsigned int mui_h;
Color* m_pixels;
public:
Texture(unsigned int pui_w, unsigned int pui_h);
~Texture();
Texture(const Texture& p_other);
void SetPixelColor(unsigned int pui_x, unsigned int pui_y, const Color& p_c... | 17.727273 | 78 | 0.735897 |
ad3e6d586cf4753e6a75c712418435dc4d683132 | 920 | ps1 | PowerShell | CommonTasks/Tests/Integration/22 ChocolateyPackages.Tests.ps1 | edwarddijk/CommonTasks | e0a255c11636411c307778536a476bdfa01e3b18 | [
"MIT"
] | null | null | null | CommonTasks/Tests/Integration/22 ChocolateyPackages.Tests.ps1 | edwarddijk/CommonTasks | e0a255c11636411c307778536a476bdfa01e3b18 | [
"MIT"
] | null | null | null | CommonTasks/Tests/Integration/22 ChocolateyPackages.Tests.ps1 | edwarddijk/CommonTasks | e0a255c11636411c307778536a476bdfa01e3b18 | [
"MIT"
] | null | null | null | Import-Module -Name $PSScriptRoot\Assets\TestHelpers.psm1
Init
Describe 'ChocolateyPackages DSC Resource compiles' -Tags FunctionalQuality {
It 'ChocolateyPackages Compiles' {
configuration Config_ChocolateyPackages {
Import-DscResource -ModuleName CommonTasks
node localhost_Cho... | 34.074074 | 145 | 0.695652 |
23413241bbf1c64fab417630f035c15e8f5d69a2 | 7,571 | css | CSS | libs/bower-material-master/modules/js/progressLinear/progressLinear.min.css | thiagoaslima/fatoresApp | 035395f754e209dcf03225654bcb8fa01cc4a8af | [
"MIT"
] | null | null | null | libs/bower-material-master/modules/js/progressLinear/progressLinear.min.css | thiagoaslima/fatoresApp | 035395f754e209dcf03225654bcb8fa01cc4a8af | [
"MIT"
] | null | null | null | libs/bower-material-master/modules/js/progressLinear/progressLinear.min.css | thiagoaslima/fatoresApp | 035395f754e209dcf03225654bcb8fa01cc4a8af | [
"MIT"
] | null | null | null | /*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v0.6.1-master-d192083
*/md-progress-linear{display:block;width:100%;height:5px}md-progress-linear .md-container{overflow:hidden;position:relative;height:5px;top:5px;-webkit-transform:translate(0,5px) scale(1,0);transform:translate... | 1,261.833333 | 7,460 | 0.747457 |
c98f6f023c392b31977c949f478266b4af6f4930 | 1,090 | ts | TypeScript | lib_deprecated/chunk.ts | gizak/batch | 551b0653b3c53945c161275bb3e38f7b805c9159 | [
"MIT"
] | null | null | null | lib_deprecated/chunk.ts | gizak/batch | 551b0653b3c53945c161275bb3e38f7b805c9159 | [
"MIT"
] | null | null | null | lib_deprecated/chunk.ts | gizak/batch | 551b0653b3c53945c161275bb3e38f7b805c9159 | [
"MIT"
] | null | null | null | export interface ItemReader extends ItemReadListener {
open(chkp?: any): void
close(): void
readItem(): any
checkpointInfo(): any
}
export abstract class ItemReadListener {
beforeRead(): void {}
afterRead(item: any): void {}
onReadError(e: Error): void { throw e }
}
export interface ItemProcessor extends Item... | 24.772727 | 86 | 0.722018 |
df77edf302f135fea73403857f075cef339069a5 | 11,305 | cs | C# | Assets/Editor/Generated/Black/Sequence/Action/Actor/Status/SequenceActionActorGetDeath.generated.cs | Gurrimo/Luminaire | 7b435d41ff69390356021111f4a56a95c2000ace | [
"MIT"
] | null | null | null | Assets/Editor/Generated/Black/Sequence/Action/Actor/Status/SequenceActionActorGetDeath.generated.cs | Gurrimo/Luminaire | 7b435d41ff69390356021111f4a56a95c2000ace | [
"MIT"
] | 10 | 2020-05-11T00:27:20.000Z | 2020-05-13T06:14:09.000Z | Assets/Editor/Generated/Black/Sequence/Action/Actor/Status/SequenceActionActorGetDeath.generated.cs | youarebritish/Luminaire | 7ed4632f969aac34cef8f3e258eaef9f07213055 | [
"MIT"
] | 3 | 2021-03-28T15:25:55.000Z | 2021-04-07T00:46:52.000Z | //----------------------
// <auto-generated>
// This file was automatically generated. Any changes to it will be lost if and when the file is regenerated.
// </auto-generated>
//----------------------
#pragma warning disable
using System;
using SQEX.Luminous.Core.Object;
using System.Collections.Generic;
using CodeDom... | 93.429752 | 241 | 0.75586 |
f4f3e74797b6d623f1b1d052ef90499a1788b70b | 1,348 | ts | TypeScript | src/getOptions.ts | Calvin-LL/webpack-loader-util | 7be93f63ce6d0f458306fdb5101e60344e8ff721 | [
"MIT"
] | 1 | 2020-11-28T17:52:27.000Z | 2020-11-28T17:52:27.000Z | src/getOptions.ts | Calvin-LL/webpack-loader-util | 7be93f63ce6d0f458306fdb5101e60344e8ff721 | [
"MIT"
] | 196 | 2020-11-25T19:04:49.000Z | 2022-03-24T13:09:14.000Z | src/getOptions.ts | Calvin-LL/webpack-loader-util | 7be93f63ce6d0f458306fdb5101e60344e8ff721 | [
"MIT"
] | null | null | null | import loaderUtils from "loader-utils";
import { loader } from "webpack";
type OPTIONS = Readonly<Record<string, any>> | null;
export function getOptions<T extends Record<string, any> = any>(
loadContext: loader.LoaderContext,
includeQuery = true,
convertStringQueryParamsToNumber = false
): T {
const options ... | 29.304348 | 83 | 0.70178 |
df61c785fecc4f01f450943be789f21f043c7660 | 430 | cs | C# | Porter/IStemmer.cs | electronart/WordListAnalyser | 0eac9661af07541685189356ff4d57e37d935cc3 | [
"Apache-2.0"
] | 5 | 2019-11-22T01:25:30.000Z | 2021-07-23T15:35:56.000Z | Porter/IStemmer.cs | electronart/WordListAnalyser | 0eac9661af07541685189356ff4d57e37d935cc3 | [
"Apache-2.0"
] | 1 | 2018-12-11T16:20:03.000Z | 2018-12-11T16:20:03.000Z | Porter/IStemmer.cs | electronart/WordListAnalyser | 0eac9661af07541685189356ff4d57e37d935cc3 | [
"Apache-2.0"
] | 2 | 2019-11-22T02:50:21.000Z | 2021-07-23T15:36:02.000Z | /*
* Created by SharpDevelop.
* User: Tom
* Date: 04/11/2015
* Time: 12:52
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
namespace WordListAnalyser2.Porter
{
/// <summary>
/// Port of Stemmer.java interface Tom 04/11/2015
/// </summary>
public interface... | 17.2 | 80 | 0.674419 |
3f4d529f2c26a998b378a76fa08d807bf638ed03 | 272 | php | PHP | src/Facades/Sendinblue.php | combindma/laravel-sendinblue | b2414aab901ba08564a8ef7eaf91712dc2ad6341 | [
"MIT"
] | null | null | null | src/Facades/Sendinblue.php | combindma/laravel-sendinblue | b2414aab901ba08564a8ef7eaf91712dc2ad6341 | [
"MIT"
] | 2 | 2022-03-01T18:36:24.000Z | 2022-03-01T18:51:56.000Z | src/Facades/Sendinblue.php | combindma/laravel-sendinblue | b2414aab901ba08564a8ef7eaf91712dc2ad6341 | [
"MIT"
] | null | null | null | <?php
namespace Combindma\Sendinblue\Facades;
use Illuminate\Support\Facades\Facade;
/**
* @see \Combindma\Sendinblue\Sendinblue
*/
class Sendinblue extends Facade
{
protected static function getFacadeAccessor()
{
return 'laravel-sendinblue';
}
}
| 16 | 49 | 0.713235 |
a14d12eabe1328f022afb4045597f74f83292c06 | 7,015 | tsx | TypeScript | src/components/randomFood/RandomFood.tsx | yeukfei02/lunchPickerReactNative | 0be5d5e3eab9388dee5178d842dcb14147e18810 | [
"MIT"
] | 11 | 2020-04-01T14:22:58.000Z | 2021-11-12T07:40:56.000Z | src/components/randomFood/RandomFood.tsx | yeukfei02/lunchPickerReactNative | 0be5d5e3eab9388dee5178d842dcb14147e18810 | [
"MIT"
] | 14 | 2020-04-01T11:43:12.000Z | 2022-01-13T07:28:20.000Z | src/components/randomFood/RandomFood.tsx | yeukfei02/lunchPickerReactNative | 0be5d5e3eab9388dee5178d842dcb14147e18810 | [
"MIT"
] | 5 | 2020-04-13T12:43:49.000Z | 2021-10-11T06:15:47.000Z | import React, { useState, useEffect, useRef } from 'react';
import { StyleSheet, ScrollView, View, Text, RefreshControl } from 'react-native';
import { Button, Switch, FAB } from 'react-native-paper';
import { useTranslation } from 'react-i18next';
import _ from 'lodash';
import axios from 'axios';
import { getRootUrl ... | 27.61811 | 115 | 0.621525 |
af5d5b55129f355cafbc0b240f9d7ffd14a52862 | 6,072 | py | Python | _apicheck/apicheck/core/openapi3.py | sundayayandele/apicheck | ab91f567d67547b92b8e94824a29dcd5993b769e | [
"Apache-2.0"
] | 2 | 2019-05-31T09:56:59.000Z | 2019-05-31T11:28:50.000Z | _apicheck/apicheck/core/openapi3.py | sundayayandele/apicheck | ab91f567d67547b92b8e94824a29dcd5993b769e | [
"Apache-2.0"
] | 3 | 2022-02-07T03:37:37.000Z | 2022-03-02T03:38:13.000Z | _apicheck/apicheck/core/openapi3.py | sundayayandele/apicheck | ab91f567d67547b92b8e94824a29dcd5993b769e | [
"Apache-2.0"
] | 1 | 2021-07-18T15:01:22.000Z | 2021-07-18T15:01:22.000Z | import json
import logging
from typing import Tuple, List, Dict
from apicheck.core.helpers import slug, debugging
from apicheck.exceptions import APICheckException
from apicheck.db import APIDefinitions, APIDefinitionsCache, get_engine
from .helpers import yaml_loader
from .model import API, EndPointRequest, Respons... | 29.333333 | 79 | 0.556983 |
69b1fc0d0c0307e8f2c464f2d0f9754c9b1ec1e9 | 52 | sh | Shell | build.sh | jarekkozak/docker-sshtunnel | abe5e97167e04768c4502757329fc0680356a054 | [
"BSD-3-Clause"
] | null | null | null | build.sh | jarekkozak/docker-sshtunnel | abe5e97167e04768c4502757329fc0680356a054 | [
"BSD-3-Clause"
] | null | null | null | build.sh | jarekkozak/docker-sshtunnel | abe5e97167e04768c4502757329fc0680356a054 | [
"BSD-3-Clause"
] | null | null | null | #!/bin/bash
. config
docker build -t $IMAGE ./src
| 8.666667 | 28 | 0.634615 |
a3084080664414502cb3e9ff505084ebdde64291 | 161 | ts | TypeScript | packages/offix-client/src/apollo/index.ts | LakshanKarunathilake/offix | b0faaf6117d9cdff863dc833d16a4e13de91bb19 | [
"Apache-2.0"
] | null | null | null | packages/offix-client/src/apollo/index.ts | LakshanKarunathilake/offix | b0faaf6117d9cdff863dc833d16a4e13de91bb19 | [
"Apache-2.0"
] | null | null | null | packages/offix-client/src/apollo/index.ts | LakshanKarunathilake/offix | b0faaf6117d9cdff863dc833d16a4e13de91bb19 | [
"Apache-2.0"
] | null | null | null | export * from "./ApolloOfflineClient";
export * from "./ApolloOperationSerializer";
export * from "./LinksBuilder";
export * from "./optimisticResponseHelpers";
| 32.2 | 44 | 0.751553 |
fa1d53c016e8862b1034f23a46c39111cbee4868 | 139 | cc | C++ | tests/data/test-diff-suppr/test22-suppr-removed-var-sym-v1.cc | insilications/libabigail-clr | 1eb5d367686626660d3cc987b473f296b0a59152 | [
"Apache-2.0"
] | 3 | 2021-01-29T20:26:44.000Z | 2021-04-28T07:49:48.000Z | tests/data/test-diff-suppr/test22-suppr-removed-var-sym-v1.cc | insilications/libabigail-clr | 1eb5d367686626660d3cc987b473f296b0a59152 | [
"Apache-2.0"
] | 2 | 2021-03-07T19:31:56.000Z | 2021-03-07T23:26:13.000Z | tests/data/test-diff-suppr/test22-suppr-removed-var-sym-v1.cc | insilications/libabigail-clr | 1eb5d367686626660d3cc987b473f296b0a59152 | [
"Apache-2.0"
] | 1 | 2021-03-07T19:14:08.000Z | 2021-03-07T19:14:08.000Z | // Compile this without debug info with:
// g++ -Wall -c test22-suppr-removed-var-sym-v1.cc
int global_var0 = 0;
double global_var3 = 0;
| 23.166667 | 51 | 0.705036 |
48a415ddea122b6b15a2315035b6b2dc6f43f72e | 1,902 | dart | Dart | lib/src/mixins/batched_redraws.dart | matthewsullivan-wf/w_flux | b4c70bcb52081a24116f275f737dc0505b1575a7 | [
"Apache-2.0"
] | 30 | 2015-10-01T14:01:04.000Z | 2021-12-28T19:18:07.000Z | lib/src/mixins/batched_redraws.dart | matthewsullivan-wf/w_flux | b4c70bcb52081a24116f275f737dc0505b1575a7 | [
"Apache-2.0"
] | 132 | 2015-08-25T20:35:28.000Z | 2021-12-17T22:17:09.000Z | lib/src/mixins/batched_redraws.dart | matthewsullivan-wf/w_flux | b4c70bcb52081a24116f275f737dc0505b1575a7 | [
"Apache-2.0"
] | 25 | 2015-11-05T00:31:45.000Z | 2021-04-12T18:00:00.000Z | library w_flux.mixins.batched_redraws;
import 'dart:async';
import 'dart:html';
import 'package:react/react.dart' as react;
class _RedrawScheduler implements Function {
Map<BatchedRedraws, List<Function>> _components =
<BatchedRedraws, List<Function>>{};
void call(BatchedRedraws component, [callback()]) {... | 26.416667 | 116 | 0.650368 |
f69c448ca3898f8519a24ca09ea32b8845428714 | 3,139 | sql | SQL | migrations/sql/R__add_update_indexes.sql | bcgov/mds | 6c427a66a5edb4196222607291adef8fd6677038 | [
"Apache-2.0"
] | 25 | 2018-07-09T19:04:37.000Z | 2022-03-15T17:27:10.000Z | migrations/sql/R__add_update_indexes.sql | areyeslo/mds | e8c38e593e09b78e2a57009c0d003d6c4bfa32e6 | [
"Apache-2.0"
] | 983 | 2018-04-25T20:08:07.000Z | 2022-03-31T21:45:20.000Z | migrations/sql/R__add_update_indexes.sql | areyeslo/mds | e8c38e593e09b78e2a57009c0d003d6c4bfa32e6 | [
"Apache-2.0"
] | 58 | 2018-05-15T22:35:50.000Z | 2021-11-29T19:40:52.000Z | /**
Repetable migrations to manage database indexes.
Indexes are grouped by table names alphabetically.
**/
/* Mine */
CREATE INDEX IF NOT EXISTS active_mine_mine_region_fkey_idx ON mine(mine_region, deleted_ind) WHERE (deleted_ind = false);
CREATE INDEX IF NOT EXISTS mine_mine_name_search_idx ON mine USING gist (min... | 61.54902 | 180 | 0.854731 |
c2dbd58e84514e087fdc4ccfd5f034c7c927fbac | 462 | kt | Kotlin | tmp/arrays/youTrackTests/1406.kt | vitekkor/bbfgradle | b4ec701a7a3b7523db97631fa0ed6484149ca9cd | [
"Apache-2.0"
] | 1 | 2021-04-06T16:59:24.000Z | 2021-04-06T16:59:24.000Z | tmp/arrays/youTrackTests/1406.kt | vitekkor/bbfgradle | b4ec701a7a3b7523db97631fa0ed6484149ca9cd | [
"Apache-2.0"
] | null | null | null | tmp/arrays/youTrackTests/1406.kt | vitekkor/bbfgradle | b4ec701a7a3b7523db97631fa0ed6484149ca9cd | [
"Apache-2.0"
] | 11 | 2020-03-23T08:28:36.000Z | 2022-03-22T07:04:42.000Z | // Original bug: KT-44198
package compilerBug.demo
fun main(args: Array<String>) {
AnonymousClassInLambda().run()
}
class AnonymousClassInLambda() {
fun run() {
val foo = listOf("hello", "world")
val threads = (1..10).map {
object: Runnable {
override fun run() {
... | 21 | 55 | 0.495671 |