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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6b76cb67825f4d25d4171836358bebe6a79c9da1 | 615 | js | JavaScript | dist/scripts/Services/Cookies.js | leogoesger/bloc-frontend-project-starter | dd6e0033c69def20fc513e9a5274dd1be42d40e1 | [
"Apache-2.0"
] | null | null | null | dist/scripts/Services/Cookies.js | leogoesger/bloc-frontend-project-starter | dd6e0033c69def20fc513e9a5274dd1be42d40e1 | [
"Apache-2.0"
] | null | null | null | dist/scripts/Services/Cookies.js | leogoesger/bloc-frontend-project-starter | dd6e0033c69def20fc513e9a5274dd1be42d40e1 | [
"Apache-2.0"
] | null | null | null | (function() {
function Cookies($rootScope, $cookies, $uibModal) {
$cookies.remove('blocChatCurrentUser');
var currentUser = $cookies.get('blocChatCurrentUser');
console.log(new Date)
if (!currentUser || currentUser === '') {
$rootScope.modal = $uibModal.open({
templateUrl: '/templates/m... | 25.625 | 59 | 0.577236 |
7ee5754e5db7ba8ab34642b3f60cc2cc492bc10c | 102 | rb | Ruby | benchmark/bm_hash_shift_string.rb | eiko/opal | b6bf7992a6cbffc0fb80e4afdc31d470001c734d | [
"MIT"
] | 2,849 | 2015-01-01T04:53:23.000Z | 2022-03-30T12:00:20.000Z | benchmark/bm_hash_shift_string.rb | eiko/opal | b6bf7992a6cbffc0fb80e4afdc31d470001c734d | [
"MIT"
] | 1,456 | 2015-01-01T22:40:04.000Z | 2022-03-31T08:04:20.000Z | benchmark/bm_hash_shift_string.rb | eiko/opal | b6bf7992a6cbffc0fb80e4afdc31d470001c734d | [
"MIT"
] | 312 | 2015-01-06T17:50:48.000Z | 2022-03-25T01:26:49.000Z | h = {}
10_000.times do |i|
h[i.to_s] = nil
end
1_000_000.times do
k, v = h.shift
h[k] = v
end
| 9.272727 | 19 | 0.558824 |
5e2fea7a42ba9c29921cf867e6d71765d0d406ff | 1,980 | rb | Ruby | lib/rails_admin_map_field/rails_admin/config/fields/types/map.rb | osorubeki-fujita/rails_admin_map_field_clone | 4fe5f3f5aa41708710850853bbcaef46e3e612be | [
"MIT",
"Unlicense"
] | null | null | null | lib/rails_admin_map_field/rails_admin/config/fields/types/map.rb | osorubeki-fujita/rails_admin_map_field_clone | 4fe5f3f5aa41708710850853bbcaef46e3e612be | [
"MIT",
"Unlicense"
] | null | null | null | lib/rails_admin_map_field/rails_admin/config/fields/types/map.rb | osorubeki-fujita/rails_admin_map_field_clone | 4fe5f3f5aa41708710850853bbcaef46e3e612be | [
"MIT",
"Unlicense"
] | null | null | null | module RailsAdmin::Config::Fields::Types
class Map < RailsAdmin::Config::Fields::Base
RailsAdmin::Config::Fields::Types::register(:map, self)
def allowed_methods
[@name, longitude_field]
end
# THe name of the corresponding longitude field to match the latitude field
# in this object.
r... | 25.384615 | 80 | 0.668687 |
93e23125007edc5bd70e4b2830e76a4ee8526e57 | 2,106 | cs | C# | Xamarin.Plugin.Firebase.RemoteConfig.Abstractions/IFirebaseRemoteConfig.cs | Px7-941/Xamarin.Plugin.Firebase.RemoteConf | 6b6c522a5278b26c38fce7a623b0bb1f20e8655b | [
"MIT"
] | 9 | 2019-02-21T07:26:40.000Z | 2021-07-20T22:41:51.000Z | Xamarin.Plugin.Firebase.RemoteConfig.Abstractions/IFirebaseRemoteConfig.cs | MRomeror/Xamarin.Plugin.Firebase.RemoteConfig | d6566fe6f15c6c2cba416a4978e6600fe0f23f4d | [
"MIT"
] | 5 | 2018-10-25T11:16:32.000Z | 2020-10-07T14:25:31.000Z | Xamarin.Plugin.Firebase.RemoteConfig.Abstractions/IFirebaseRemoteConfig.cs | MRomeror/Xamarin.Plugin.Firebase.RemoteConfig | d6566fe6f15c6c2cba416a4978e6600fe0f23f4d | [
"MIT"
] | 5 | 2019-09-17T10:44:09.000Z | 2021-02-01T08:25:20.000Z | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Xamarin.Plugin.FirebaseRemoteConfig {
public interface IFirebaseRemoteConfig {
/// <summary>
/// Initializes the service.
/// </summary>
/// <param name="defaultConfigResourceName">If set, load ... | 32.90625 | 103 | 0.593067 |
b44f4023bd054d1f7ecb7618375d0d0bd4725b87 | 252 | rb | Ruby | features/support/dsl/assertions.rb | port80labs/git-pivotal | df38a0018c2fe2d7de801dd7dd155e3a40305a62 | [
"MIT"
] | null | null | null | features/support/dsl/assertions.rb | port80labs/git-pivotal | df38a0018c2fe2d7de801dd7dd155e3a40305a62 | [
"MIT"
] | null | null | null | features/support/dsl/assertions.rb | port80labs/git-pivotal | df38a0018c2fe2d7de801dd7dd155e3a40305a62 | [
"MIT"
] | null | null | null | module GitPivotal
module FeatureHelpers
module Assertions
def assert_card_is_started(id)
pivotal_project.stories.find(id).current_state.should eq("started")
end
end
end
end
World(GitPivotal::FeatureHelpers::Assertions)
| 21 | 75 | 0.738095 |
ac77ad2c59353f14fd5310451a6fa8e2a4701f1c | 327 | kt | Kotlin | app/src/main/java/com/madonnaapps/wodnotify/common/extensions/ActivityExtensions.kt | tjmadonna/wod-notify | 4163c1176c02415e8d8f38c6ee15ae5f812df97a | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/madonnaapps/wodnotify/common/extensions/ActivityExtensions.kt | tjmadonna/wod-notify | 4163c1176c02415e8d8f38c6ee15ae5f812df97a | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/madonnaapps/wodnotify/common/extensions/ActivityExtensions.kt | tjmadonna/wod-notify | 4163c1176c02415e8d8f38c6ee15ae5f812df97a | [
"Apache-2.0"
] | null | null | null | package com.madonnaapps.wodnotify.common.extensions
import android.app.Activity
import com.madonnaapps.wodnotify.WodApplication
import com.madonnaapps.wodnotify.di.AppComponent
/**
* The application component used by Dagger
*/
val Activity.appComponent: AppComponent
get() = (application as WodApplication).appCo... | 29.727273 | 56 | 0.819572 |
c42a95ae09e4e4ec894bc0e23fbad602c769659c | 3,660 | cc | C++ | llvm-gcc-4.2-2.9/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/1.cc | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | 1 | 2016-04-09T02:58:13.000Z | 2016-04-09T02:58:13.000Z | llvm-gcc-4.2-2.9/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/1.cc | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | llvm-gcc-4.2-2.9/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/1.cc | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | // Copyright (C) 2004 Free Software Foundation
//
// This file is part of the GNU ISO C++ Library. This library 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, or (at your option)
// an... | 30.756303 | 79 | 0.639891 |
c3c09b00f595db9dd5af36b6d65e1bf150dd63c4 | 452 | cs | C# | TeoVincent.EventAggregator.Service.UnitTests/Mocks/PublisherCreator_Mock.cs | TeoVincent/Event-Aggregator-Through-net.pipe | fe648ab0ac175ff17a01b2d16b58d776341f1d43 | [
"MIT"
] | 1 | 2017-03-17T04:45:48.000Z | 2017-03-17T04:45:48.000Z | TeoVincent.EventAggregator.Service.UnitTests/Mocks/PublisherCreator_Mock.cs | TeoVincent/Event-Aggregator-Through-net.pipe | fe648ab0ac175ff17a01b2d16b58d776341f1d43 | [
"MIT"
] | null | null | null | TeoVincent.EventAggregator.Service.UnitTests/Mocks/PublisherCreator_Mock.cs | TeoVincent/Event-Aggregator-Through-net.pipe | fe648ab0ac175ff17a01b2d16b58d776341f1d43 | [
"MIT"
] | null | null | null | using TeoVincent.EA.Common.Service;
namespace TeoVincent.EA.Service.UnitTests.Mocks
{
public class PublisherCreator_Mock : IPublisherCreator
{
private readonly IEventPublisher eventPublisher;
public PublisherCreator_Mock(IEventPublisher eventPublisher)
{
this.eventPublisher... | 23.789474 | 68 | 0.663717 |
affaf861e71f0cce4bc8008cc42860156d373647 | 696 | py | Python | constants.py | Ed-Zh/Basketball-Analytics | e2b3658d3f45d20ab59121e2b44201e2f7d89a6e | [
"MIT"
] | 1 | 2021-08-05T10:37:28.000Z | 2021-08-05T10:37:28.000Z | constants.py | Ed-Zh/Basketball-Analytics | e2b3658d3f45d20ab59121e2b44201e2f7d89a6e | [
"MIT"
] | null | null | null | constants.py | Ed-Zh/Basketball-Analytics | e2b3658d3f45d20ab59121e2b44201e2f7d89a6e | [
"MIT"
] | null | null | null |
# Limbs
LEG_UPPER_RIGHT = (24,26)
LEG_LOWER_RIGHT = (26,28)
UPPER_BODY_RIGHT = (12,24)
ARM_UPPER_RIGHT = (12,14)
ARM_LOWER_RIGHT = (14,16)
FOOT_RIGHT = (28,32)
LIMBS_ALL = [LEG_UPPER_RIGHT,UPPER_BODY_RIGHT,ARM_UPPER_RIGHT,ARM_LOWER_RIGHT,FOOT_RIGHT]
# Joints
ANKLE_RIGHT = (26,28,32)
ELBOW_RIGHT = (12,14,16)
SHOULDER... | 31.636364 | 119 | 0.701149 |
93d7762e5e3966ff3b2f02eb47b007ca233c53f6 | 117 | cs | C# | CP/Games/ClueBoardGameCP/Data/EnumNameList.cs | musictopia2/GamingPackXV3 | dbc6ee2127f829b600fb084fc30b26f9020b8fde | [
"MIT"
] | null | null | null | CP/Games/ClueBoardGameCP/Data/EnumNameList.cs | musictopia2/GamingPackXV3 | dbc6ee2127f829b600fb084fc30b26f9020b8fde | [
"MIT"
] | null | null | null | CP/Games/ClueBoardGameCP/Data/EnumNameList.cs | musictopia2/GamingPackXV3 | dbc6ee2127f829b600fb084fc30b26f9020b8fde | [
"MIT"
] | null | null | null | namespace ClueBoardGameCP.Data;
public enum EnumNameList
{
None, Peacock, Green, Plum, Scarlet, White, Mustard
} | 23.4 | 55 | 0.760684 |
0d8b50e85436989934e005749e0109081414e2f0 | 3,098 | h | C | iOS/AVOSChatDemo/AVOSChatDemo/third_party/MessagesTableViewController/JSBubbleMessageCell.h | aadebuger/leancloud-demo | 0a4915366f32dd9d1c7498f7a1c82e4b903a781e | [
"MIT"
] | 1 | 2020-06-30T01:04:04.000Z | 2020-06-30T01:04:04.000Z | iOS/AVOSChatDemo/AVOSChatDemo/third_party/MessagesTableViewController/JSBubbleMessageCell.h | EmoryLee/avoscloud-demo | 52fd3df86d7785f6d7fedca18a0e1020edd2f62a | [
"MIT"
] | null | null | null | iOS/AVOSChatDemo/AVOSChatDemo/third_party/MessagesTableViewController/JSBubbleMessageCell.h | EmoryLee/avoscloud-demo | 52fd3df86d7785f6d7fedca18a0e1020edd2f62a | [
"MIT"
] | null | null | null | //
// JSBubbleMessageCell.h
//
// Created by Jesse Squires on 2/12/13.
// Copyright (c) 2013 Hexed Bits. All rights reserved.
//
// http://www.hexedbits.com
//
//
// Largely based on work by Sam Soffes
// https://github.com/soffes
//
// SSMessagesViewController
// https://github.com/soffes/ssmessagesviewcontrol... | 38.246914 | 130 | 0.723693 |
54a303d904f4a575cd46d4b395f204d185061800 | 1,539 | css | CSS | src/components/Common/Checkbox.css | rzaba0/soldat-launcher | 238e197a18423b7331ab9b8882def16cd338627d | [
"MIT"
] | 8 | 2020-10-05T06:27:48.000Z | 2021-09-14T01:45:00.000Z | src/components/Common/Checkbox.css | rzaba0/soldat-launcher | 238e197a18423b7331ab9b8882def16cd338627d | [
"MIT"
] | 6 | 2020-10-05T13:27:54.000Z | 2021-01-26T23:27:04.000Z | src/components/Common/Checkbox.css | rzaba0/soldat-launcher | 238e197a18423b7331ab9b8882def16cd338627d | [
"MIT"
] | 1 | 2021-11-26T16:14:56.000Z | 2021-11-26T16:14:56.000Z | .checkbox-container {
cursor: pointer;
display: inline-flex;
align-self: flex-start;
align-items: center;
}
/* Hide the browser's default checkbox */
.checkbox-container input {
opacity: 0;
cursor: pointer;
position: absolute;
left: -9999px;
z-index: -1;
}
/* Create... | 21.676056 | 63 | 0.640026 |
ef54f9c8fa238a7a93141cc0c667141adf461833 | 875 | lua | Lua | config/layouts/tile/init.lua | nephitejnf/japokwm | 7cf137a1c21c80f1ea4dc5dc2c74645d998810f0 | [
"BSD-2-Clause"
] | null | null | null | config/layouts/tile/init.lua | nephitejnf/japokwm | 7cf137a1c21c80f1ea4dc5dc2c74645d998810f0 | [
"BSD-2-Clause"
] | null | null | null | config/layouts/tile/init.lua | nephitejnf/japokwm | 7cf137a1c21c80f1ea4dc5dc2c74645d998810f0 | [
"BSD-2-Clause"
] | null | null | null | local layout_data = {
{
{0, 0, 1, 1},
},
{
{0.0, 0.0, 0.5, 1.0},
{0.5, 0.0, 0.5, 1.0},
},
{
{0.0, 0.0, 0.5, 1.0},
{0.5, 0.0, 0.5, 0.5},
{0.5, 0.5, 0.5, 0.5},
},
{
{0.0, 0.000, 0.5, 1.000},
{0.5, 0.000, 0.5, 0.333},
{0.5,... | 25 | 94 | 0.459429 |
800f2f07502ae26b6637b41bda5454895e92d6a8 | 622 | sql | SQL | clients/mysql-schema/generated/Model/DefaultCrumbIssuer.sql | cliffano/jenkins-api-clients-generator | 522d02b3a130a29471df5ec1d3d22c822b3d0813 | [
"MIT"
] | null | null | null | clients/mysql-schema/generated/Model/DefaultCrumbIssuer.sql | cliffano/jenkins-api-clients-generator | 522d02b3a130a29471df5ec1d3d22c822b3d0813 | [
"MIT"
] | null | null | null | clients/mysql-schema/generated/Model/DefaultCrumbIssuer.sql | cliffano/jenkins-api-clients-generator | 522d02b3a130a29471df5ec1d3d22c822b3d0813 | [
"MIT"
] | null | null | null | --
-- Swaggy Jenkins.
-- Prepared SQL queries for 'DefaultCrumbIssuer' definition.
--
--
-- SELECT template for table `DefaultCrumbIssuer`
--
SELECT `_class`, `crumb`, `crumbRequestField` FROM `DefaultCrumbIssuer` WHERE 1;
--
-- INSERT template for table `DefaultCrumbIssuer`
--
INSERT INTO `DefaultCrumbIssuer`(`_cla... | 23.037037 | 91 | 0.709003 |
1a329d1f7a1e9c48bf57c34961a27d0afa20c083 | 1,249 | py | Python | plot-psd.py | patrickmelix/RASPA2-tools | 127d6f9789e350e660e808c6bd9daf9f4addf194 | [
"MIT"
] | null | null | null | plot-psd.py | patrickmelix/RASPA2-tools | 127d6f9789e350e660e808c6bd9daf9f4addf194 | [
"MIT"
] | null | null | null | plot-psd.py | patrickmelix/RASPA2-tools | 127d6f9789e350e660e808c6bd9daf9f4addf194 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import sys, os
import numpy as np
import matplotlib
from matplotlib import pyplot as plt
matplotlib.rcParams['errorbar.capsize'] = 6
matplotlib.rcParams['axes.grid'] = True
matplotlib.rcParams['font.size'] = 18
matplotlib.rcParams['figure.figsize'] = (9.75, 5.85) #(10, 6)
matplotlib.rcParams['save... | 32.025641 | 85 | 0.685348 |
0df4d298d4cc0d4eccc77f7f03f0ea16195c6710 | 795 | rb | Ruby | samples/Capture/CnpForceCaptureTransaction.rb | Vantiv/cnp-sdk-for-ruby | 53375ca384931550727a8171a28af071741516d6 | [
"MIT"
] | 1 | 2019-01-25T19:15:26.000Z | 2019-01-25T19:15:26.000Z | samples/Capture/CnpForceCaptureTransaction.rb | Vantiv/cnp-sdk-for-ruby | 53375ca384931550727a8171a28af071741516d6 | [
"MIT"
] | 1 | 2018-04-05T14:08:02.000Z | 2018-04-05T14:24:54.000Z | samples/Capture/CnpForceCaptureTransaction.rb | Vantiv/cnp-sdk-for-ruby | 53375ca384931550727a8171a28af071741516d6 | [
"MIT"
] | 4 | 2018-04-05T14:11:16.000Z | 2019-04-28T19:52:57.000Z | require_relative '../../lib/CnpOnline'
#Force Capture
force_capture_info = {
'merchantId' => '101',
'id'=>'test',
'version'=>'8.8',
'reportGroup'=>'Planets',
'cnpTxnId'=>'123456',
'orderId'=>'12344',
'amount'=>'106',
'orderSource'=>'ecommerce',
'card'=>{
'type'=>'VI',
'number' =>'41000000000... | 29.444444 | 82 | 0.708176 |
a1537fa6c12c3a25814183f26781b039e255e1c3 | 800 | ts | TypeScript | projects/angular-walkthrough/src/lib/angular-walkthrough.module.ts | hkjeffchan/ng-walkthrough | 32374c9761e8c2cae77d1ef16f222e1feb8b6eb5 | [
"MIT"
] | 17 | 2018-08-07T12:34:25.000Z | 2021-12-08T20:32:10.000Z | projects/angular-walkthrough/src/lib/angular-walkthrough.module.ts | hkjeffchan/ng-walkthrough | 32374c9761e8c2cae77d1ef16f222e1feb8b6eb5 | [
"MIT"
] | 20 | 2018-08-07T12:35:27.000Z | 2022-02-25T12:26:00.000Z | projects/angular-walkthrough/src/lib/angular-walkthrough.module.ts | hkjeffchan/ng-walkthrough | 32374c9761e8c2cae77d1ef16f222e1feb8b6eb5 | [
"MIT"
] | 11 | 2018-08-13T00:27:54.000Z | 2022-02-23T17:28:03.000Z | import { PortalModule } from '@angular/cdk/portal';
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { WalkthroughContainerComponent } from './walkthrough-container.component';
import { WalkthroughFlowComponent } from './walkthrough-flow.component';
import { WalkthroughC... | 44.444444 | 98 | 0.78375 |
ab7f7c23a0805218b2de9cc32b1074d7c5ff1fd3 | 999 | rb | Ruby | spec/unit/parser_spec.rb | blelump/stats_whisper | e3621cc01c24e03824c51618aa6eade18fcb3db6 | [
"MIT"
] | null | null | null | spec/unit/parser_spec.rb | blelump/stats_whisper | e3621cc01c24e03824c51618aa6eade18fcb3db6 | [
"MIT"
] | null | null | null | spec/unit/parser_spec.rb | blelump/stats_whisper | e3621cc01c24e03824c51618aa6eade18fcb3db6 | [
"MIT"
] | null | null | null | require 'spec_helper'
require 'stats_whisper/parser'
describe StatsWhisper::Parser do
let(:ctxt) { Class.new { extend StatsWhisper::Parser } }
describe "#parse" do
context "when req path is empty" do
it "resolves base uri" do
path = "/"
expect(ctxt.parse(path)).to eq("home_page")
... | 24.365854 | 76 | 0.622623 |
2576f7915e7de3f3ed68c0a2ae7d77a62a04e6f4 | 895 | js | JavaScript | Examples/plugin.js | dubisdev/cerebro-command-router | b8cad9121146391e503e5667962be90ed7d91101 | [
"MIT"
] | null | null | null | Examples/plugin.js | dubisdev/cerebro-command-router | b8cad9121146391e503e5667962be90ed7d91101 | [
"MIT"
] | 2 | 2021-08-13T10:54:51.000Z | 2021-08-17T11:15:27.000Z | Examples/plugin.js | dubisdev/cerebro-command-router | b8cad9121146391e503e5667962be90ed7d91101 | [
"MIT"
] | null | null | null | import icon from "./icons";
import CerebroRouter from "cerebro-command-router";
if (!Notification.permission) Notification.requestPermission();
function fn({ term, display }) {
const myRouter = new CerebroRouter({ command: "example", term, display });
myRouter.route("com1", {
icon: icon,
title: `Example Plugin... | 26.323529 | 75 | 0.605587 |
d24484f4eda9a312d7fd4f64f7980bb0ec0d8c23 | 463 | rs | Rust | tests/collect.rs | tronta/async-std | c9294b5657996ffab30528825e978d7505096b6e | [
"Apache-2.0",
"MIT"
] | null | null | null | tests/collect.rs | tronta/async-std | c9294b5657996ffab30528825e978d7505096b6e | [
"Apache-2.0",
"MIT"
] | null | null | null | tests/collect.rs | tronta/async-std | c9294b5657996ffab30528825e978d7505096b6e | [
"Apache-2.0",
"MIT"
] | null | null | null | #[cfg(feature = "unstable")]
#[test]
fn test_send() -> async_std::io::Result<()> {
use async_std::prelude::*;
use async_std::{stream, task};
task::block_on(async {
fn test_send_trait<T: Send>(_: &T) {}
let stream = stream::repeat(1u8).take(10);
test_send_trait(&stream);
le... | 22.047619 | 50 | 0.559395 |
d62e7cbb8025a94c90bce292c3fe367ae7759c62 | 3,699 | cs | C# | Assets/Scripts/GamePlay/ObjectGame/DefuseManager.cs | sergey-cs/SwipeTo | 3df43489e6c539b7c3e401865406ca6011a9c8e2 | [
"MIT"
] | 8 | 2018-09-20T20:13:04.000Z | 2021-08-18T01:35:12.000Z | Assets/Scripts/GamePlay/ObjectGame/DefuseManager.cs | sergey-cs/SwipeTo | 3df43489e6c539b7c3e401865406ca6011a9c8e2 | [
"MIT"
] | null | null | null | Assets/Scripts/GamePlay/ObjectGame/DefuseManager.cs | sergey-cs/SwipeTo | 3df43489e6c539b7c3e401865406ca6011a9c8e2 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DefuseManager : MonoBehaviour
{
public float MinValueDefuse = 0.33f;
public float MaxValueDefuse = 1;
// public UnityEngine.Events.UnityEvent OnIntialize;
[SerializeField] private bool SendEventChange = fals... | 26.234043 | 86 | 0.560962 |
b91d2b2c3c190d973064f397b89b8bd6ba112e77 | 1,800 | css | CSS | src/main/resources/static/css/homepage.css | Bigdog93/WACHACHA | 0c40fe0743eeef787954969f13f405fcf9195b5a | [
"MIT"
] | 2 | 2021-07-27T03:11:26.000Z | 2021-08-21T14:47:43.000Z | src/main/resources/static/css/homepage.css | Bigdog93/WACHACHA | 0c40fe0743eeef787954969f13f405fcf9195b5a | [
"MIT"
] | 12 | 2021-07-26T07:47:51.000Z | 2021-08-28T05:33:27.000Z | src/main/resources/static/css/homepage.css | Bigdog93/WACHACHA | 0c40fe0743eeef787954969f13f405fcf9195b5a | [
"MIT"
] | 1 | 2021-07-23T00:42:47.000Z | 2021-07-23T00:42:47.000Z | .section__1{background-image: linear-gradient( rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) ), url("../img/home/방탄소년단.png"); width: 100%; height: 100vh}
.section__2{background-image: linear-gradient( rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) ),url("../img/home/승리호.png"); width: 100%; height: 100vh}
.section__3{background-image:... | 25.714286 | 150 | 0.623889 |
b03f88e16c879a83208558d3fc39b1f8ba23e0d7 | 1,260 | py | Python | src/Crypto/Cesar/cesarToTxtClass.py | edouard-lebas/CryptoGenerator | d43f2b3fa472493f49015e8402e382681692a63c | [
"MIT"
] | null | null | null | src/Crypto/Cesar/cesarToTxtClass.py | edouard-lebas/CryptoGenerator | d43f2b3fa472493f49015e8402e382681692a63c | [
"MIT"
] | null | null | null | src/Crypto/Cesar/cesarToTxtClass.py | edouard-lebas/CryptoGenerator | d43f2b3fa472493f49015e8402e382681692a63c | [
"MIT"
] | null | null | null | class cesarToTxtClass:
def __init__(self, cesar, offset=None):
self.cesar = cesar.decode("utf-8").upper()
self.alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".decode("utf-8")
if offset != None:
self.offset = offset
def processCesarWithOffset(self):
decrypted = ""
fo... | 34.054054 | 68 | 0.493651 |
5bda600ee1077397f6be21813c90bc6663f15223 | 904 | css | CSS | 1_basic/todo.css | Zanyangwang/cluster | 6ed312ecfa93f3477ea29a8433ff8fe9331aa687 | [
"MIT"
] | null | null | null | 1_basic/todo.css | Zanyangwang/cluster | 6ed312ecfa93f3477ea29a8433ff8fe9331aa687 | [
"MIT"
] | null | null | null | 1_basic/todo.css | Zanyangwang/cluster | 6ed312ecfa93f3477ea29a8433ff8fe9331aa687 | [
"MIT"
] | null | null | null | /* 基本スタイル */
h1{
font-size: 32px;
margin: 0px;
padding: 4px;
color: #222288;
}
hr{
margin-top: 8px;
margin-bottom: 8px;
}
/* ページ固有スタイル */
th.login_field{
width: 150px;
text-align: left;
padding: 8px;
color: #ffffff;
background-color: #aaaaff;
}
td.login_field{
padding:... | 13.101449 | 30 | 0.59292 |
cc5d872ec825b2bf089180df1fe86269d5ff9680 | 1,860 | rb | Ruby | lib/paradeiser/models/repository.rb | nerab/paradeiser | a89f9e7ab00b0ef760fdd97e3735ecca34bb9378 | [
"MIT"
] | 1 | 2015-09-02T18:39:28.000Z | 2015-09-02T18:39:28.000Z | lib/paradeiser/models/repository.rb | nerab/paradeiser | a89f9e7ab00b0ef760fdd97e3735ecca34bb9378 | [
"MIT"
] | 3 | 2017-10-23T13:07:57.000Z | 2019-01-01T02:13:52.000Z | lib/paradeiser/models/repository.rb | nerab/paradeiser | a89f9e7ab00b0ef760fdd97e3735ecca34bb9378 | [
"MIT"
] | 1 | 2015-09-30T17:07:08.000Z | 2015-09-30T17:07:08.000Z | module Paradeiser
class Repository
class << self
def all
backend.transaction(true) do
backend.roots.map{|id| backend[id]}
end
end
def all_pomodori
all.select{|p| p.kind_of?(Pomodoro)}
end
def all_breaks
all.select{|b| b.kind_of?(Break)}
... | 22.962963 | 130 | 0.565054 |
5fecb2574971f6e14279be3635a3522d4f741d51 | 270 | rb | Ruby | spec/models/person_spec.rb | matthijsgroen/game-of-geese | cf32edbc1cd8eb5523ba29eb0e945fa6735fe5a4 | [
"MIT"
] | null | null | null | spec/models/person_spec.rb | matthijsgroen/game-of-geese | cf32edbc1cd8eb5523ba29eb0e945fa6735fe5a4 | [
"MIT"
] | null | null | null | spec/models/person_spec.rb | matthijsgroen/game-of-geese | cf32edbc1cd8eb5523ba29eb0e945fa6735fe5a4 | [
"MIT"
] | null | null | null | require 'spec_helper'
describe Person do
describe 'attributes' do
it 'has a name' do
p = Person.new name: 'Henk'
expect(p.name).to eql 'Henk'
end
it 'has an age' do
p = Person.new age: 34
expect(p.age).to eql 34
end
end
end
| 16.875 | 34 | 0.592593 |
591f8cdb994747868668304a1ff5b68df0ab8e4d | 999 | sql | SQL | JobExecutionFramework/SSISDB/catalog/Views/explicit_object_permissions.sql | MS-BI/JobExceutionFramework | 276fac1f0ba37cf2368c96f7d7fd0c0df8f1d2f7 | [
"MIT"
] | 3 | 2016-08-29T09:41:38.000Z | 2016-11-08T15:37:44.000Z | JobExecutionFramework/SSISDB/catalog/Views/explicit_object_permissions.sql | MS-BI/JobExecutionFramework | 276fac1f0ba37cf2368c96f7d7fd0c0df8f1d2f7 | [
"MIT"
] | null | null | null | JobExecutionFramework/SSISDB/catalog/Views/explicit_object_permissions.sql | MS-BI/JobExecutionFramework | 276fac1f0ba37cf2368c96f7d7fd0c0df8f1d2f7 | [
"MIT"
] | null | null | null |
CREATE VIEW [catalog].[explicit_object_permissions]
AS
SELECT op.[object_type],
op.[object_id],
[internal].[get_principal_id_by_sid](op.[sid]) as [principal_id],
op.[permission_type],
op.[is_deny],
[internal].[get_principal_id_by_sid](op.[grantor_sid]) as [gr... | 37 | 81 | 0.615616 |
02a8b5e456ab04346a8605f66c1ebbd3ae9c3fef | 4,411 | cpp | C++ | ContourTiler/CloseContourRanker.cpp | GuMiner/agow | b8665d5879f43a6bcb6e878827b3b25af9cc1b1d | [
"MIT"
] | null | null | null | ContourTiler/CloseContourRanker.cpp | GuMiner/agow | b8665d5879f43a6bcb6e878827b3b25af9cc1b1d | [
"MIT"
] | null | null | null | ContourTiler/CloseContourRanker.cpp | GuMiner/agow | b8665d5879f43a6bcb6e878827b3b25af9cc1b1d | [
"MIT"
] | null | null | null | #include "CloseContourRanker.h"
CloseContourRanker::CloseContourRanker()
: closestLine(CloseContourLine()), secondClosestLine(CloseContourLine()), thirdClosestLine(CloseContourLine())
{
}
bool CloseContourRanker::ResortIfIdentical(CloseContourLine contourLine)
{
if (closestLine.elevationId == contourLine.el... | 30.631944 | 122 | 0.642938 |
e21caccad2987f358bc4684dfe0e79cc8a9f7b18 | 3,455 | py | Python | modules/alerts/MysqlStore.py | crashdump/iatt | e7515587d891858686ed3b4790479392a52eb712 | [
"BSD-3-Clause"
] | null | null | null | modules/alerts/MysqlStore.py | crashdump/iatt | e7515587d891858686ed3b4790479392a52eb712 | [
"BSD-3-Clause"
] | null | null | null | modules/alerts/MysqlStore.py | crashdump/iatt | e7515587d891858686ed3b4790479392a52eb712 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
CREATE TABLE `arpevents` (
`datetime` DATETIME NOT NULL,
`mac` CHAR(18) NOT NULL,
`ip` CHAR(20) NOT NULL,
`lasteventname` MEDIUMTEXT NOT NULL,
`actionsoutput` MEDIUMTEXT NOT NULL,
PRIMARY KEY (`mac`)
)
ENGINE=InnoDB;
"""
import mysql.connector
... | 34.89899 | 164 | 0.576845 |
a3ba52f6bac2e34cde028da6b220dd2724a0b5c5 | 4,101 | java | Java | libraries/util/src/test/java/com/paritytrading/parity/util/InstrumentsTest.java | zzwlstarby/parity | 437cad8f3348617142dd312e4afd9f4054658cf8 | [
"Apache-2.0"
] | 1 | 2020-11-07T19:41:25.000Z | 2020-11-07T19:41:25.000Z | libraries/util/src/test/java/com/paritytrading/parity/util/InstrumentsTest.java | zzwlstarby/parity | 437cad8f3348617142dd312e4afd9f4054658cf8 | [
"Apache-2.0"
] | 4 | 2020-06-21T13:54:25.000Z | 2020-07-07T15:50:08.000Z | libraries/util/src/test/java/com/paritytrading/parity/util/InstrumentsTest.java | zzwlstarby/parity | 437cad8f3348617142dd312e4afd9f4054658cf8 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2014 Parity authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 27.897959 | 77 | 0.600829 |
2fbb1d608df09af1e79eb18a2c5740454c56f01c | 274 | py | Python | tests/parts/clock.py | ycwn/pyhdl | 6440cc40193b789e281eb10f12580f2b6df17d1a | [
"MIT"
] | null | null | null | tests/parts/clock.py | ycwn/pyhdl | 6440cc40193b789e281eb10f12580f2b6df17d1a | [
"MIT"
] | null | null | null | tests/parts/clock.py | ycwn/pyhdl | 6440cc40193b789e281eb10f12580f2b6df17d1a | [
"MIT"
] | null | null | null |
import pyhdl.core as core
import pyhdl.parts.clock as clk
from ..common import *
test_component(clk.clock.create(),
[
[], [], [], [], [], [], [], []
],
[
[ True ],
[ False ],
[ True ],
[ False ],
[ True ],
[ False ],
[ True ],
[ False ]
]
)
| 10.538462 | 34 | 0.463504 |
8c0a6bfd2bfa7dd1c4b03c843f94c6969c4bf5c5 | 763 | swift | Swift | OMKit/Classes/WebView/WebViewAction.swift | mlibai/OMKit | ca38993e98c02f16e35a7dc6dfeeb2ce31d9fb25 | [
"MIT"
] | null | null | null | OMKit/Classes/WebView/WebViewAction.swift | mlibai/OMKit | ca38993e98c02f16e35a7dc6dfeeb2ce31d9fb25 | [
"MIT"
] | null | null | null | OMKit/Classes/WebView/WebViewAction.swift | mlibai/OMKit | ca38993e98c02f16e35a7dc6dfeeb2ce31d9fb25 | [
"MIT"
] | null | null | null | //
// WebViewAction.swift
// OMKit
//
// Created by mlibai on 2017/5/12.
// Copyright © 2017年 mlibai. All rights reserved.
//
import Foundation
extension WebViewAction {
public static let alert: WebViewAction = WebViewAction(rawValue: "omApp.alert")
// taskID, isSuccess, {userToken: }
... | 21.8 | 108 | 0.664482 |
a7b0b1d07f74079198004076e45213109d60fa90 | 38,862 | css | CSS | explorations/atypi-tech-2021/main.css | simoncozens/varla-varfo | 1d3a655d65ca4fd51f9a745eff028e5594adaa3c | [
"Apache-2.0"
] | 11 | 2021-03-17T11:11:09.000Z | 2022-01-10T17:25:19.000Z | explorations/atypi-tech-2021/main.css | simoncozens/varla-varfo | 1d3a655d65ca4fd51f9a745eff028e5594adaa3c | [
"Apache-2.0"
] | 17 | 2021-03-01T14:50:29.000Z | 2021-12-01T12:58:54.000Z | explorations/atypi-tech-2021/main.css | simoncozens/varla-varfo | 1d3a655d65ca4fd51f9a745eff028e5594adaa3c | [
"Apache-2.0"
] | 3 | 2021-03-08T11:21:31.000Z | 2021-09-03T15:50:16.000Z | :root{
/* can't use this per @font-face rule */
font-synthesis: none;
--fine-user-zoom: 0;
--link-color: #0645ad;
--layout-border-color: #a7d7f9;
}
body {
font-size: calc(100% + 1pt * var(--fine-user-zoom, 0));
}
@font-face {
font-family: 'RobotoFlex';
src: url('./fonts/Roboto-Flex/Rob... | 24.959538 | 119 | 0.629535 |
af635e5b2fd5eafb419ce0ba08dedd670adcf8b7 | 24,061 | py | Python | openfda/drugsfda/pipeline.py | FDA/openfda | 93c3abed4042a4a2729975468c4e377a67e8a5ca | [
"CC0-1.0"
] | 388 | 2015-01-09T18:50:35.000Z | 2022-03-24T10:15:23.000Z | openfda/drugsfda/pipeline.py | FDA/openfda | 93c3abed4042a4a2729975468c4e377a67e8a5ca | [
"CC0-1.0"
] | 150 | 2015-01-21T20:30:54.000Z | 2022-03-28T20:46:29.000Z | openfda/drugsfda/pipeline.py | FDA/openfda | 93c3abed4042a4a2729975468c4e377a67e8a5ca | [
"CC0-1.0"
] | 113 | 2015-01-31T21:24:16.000Z | 2022-01-30T15:17:28.000Z | #!/usr/local/bin/python
'''
Pipeline for converting Drugs@FDA files to JSON and importing into Elasticsearch.
'''
import glob
import os
import re
from os.path import join
import logging
import arrow
import luigi
from openfda import common, config, parallel, index_util
from openfda.annotation_table.pipeline import Com... | 34.921626 | 112 | 0.690661 |
ae9a44490251efbde3650fbe3120b21fa1162cc0 | 2,994 | cs | C# | dotnet/assemblies/NPanday.Artifact/src/main/csharp/ArtifactContext.cs | octavian-h/npanday | 02a0fa919534fc4afee4ae407f8e597fd7f5e6a7 | [
"Apache-2.0"
] | 6 | 2016-06-06T05:04:19.000Z | 2021-11-10T13:36:47.000Z | dotnet/assemblies/NPanday.Artifact/src/main/csharp/ArtifactContext.cs | octavian-h/npanday | 02a0fa919534fc4afee4ae407f8e597fd7f5e6a7 | [
"Apache-2.0"
] | 3 | 2017-10-28T14:08:53.000Z | 2019-02-25T13:24:27.000Z | dotnet/assemblies/NPanday.Artifact/src/main/csharp/ArtifactContext.cs | isabella232/npanday | 8070cbb89290c3498f6227b67026df6f491933e0 | [
"Apache-2.0"
] | 12 | 2015-01-15T14:29:50.000Z | 2021-11-10T13:36:36.000Z | #region Apache License, Version 2.0
//
// 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, ... | 36.072289 | 107 | 0.640949 |
af6b52cdab74b5a765bdb47babc0005f64988caf | 3,557 | py | Python | program/ohkawabata/3_webpage.py | shutokawabata0723/kenkyu | b613b4daddca9b8b16efe0802669611948daea18 | [
"MIT"
] | 1 | 2021-05-06T03:35:16.000Z | 2021-05-06T03:35:16.000Z | program/ohkawabata/3_webpage.py | shutokawabata0723/kenkyu | b613b4daddca9b8b16efe0802669611948daea18 | [
"MIT"
] | null | null | null | program/ohkawabata/3_webpage.py | shutokawabata0723/kenkyu | b613b4daddca9b8b16efe0802669611948daea18 | [
"MIT"
] | null | null | null | #coding:utf-8
PURPLE = '\033[35m'
RED = '\033[31m'
CYAN = '\033[36m'
GREEN = '\033[92m'
BLUE = '\033[94m'
ENDC = '\033[0m'
import urllib.request, urllib.error
from urllib.request import Request, urlopen
from urllib.error import URLError
from bs4 import BeautifulSoup
from time import sleep
from extractco... | 25.407143 | 89 | 0.57661 |
b8b655968c44291cc31730f8c4358f5b89426e4d | 7,217 | h | C | DIR819_v1.06/src/kernel/linux-2.6.36.x/drivers/net/eip93_drivers/quickSec/src/lib/sshutil/sshnet/sshdnstransport.h | Sirherobrine23/Dir819gpl_code | 8af92d65416198755974e3247b7bbe7f1151d525 | [
"BSD-2-Clause"
] | 1 | 2022-03-19T06:38:01.000Z | 2022-03-19T06:38:01.000Z | DIR819_v1.06/src/kernel/linux-2.6.36.x/drivers/net/eip93_drivers/quickSec/src/lib/sshutil/sshnet/sshdnstransport.h | Sirherobrine23/Dir819gpl_code | 8af92d65416198755974e3247b7bbe7f1151d525 | [
"BSD-2-Clause"
] | null | null | null | DIR819_v1.06/src/kernel/linux-2.6.36.x/drivers/net/eip93_drivers/quickSec/src/lib/sshutil/sshnet/sshdnstransport.h | Sirherobrine23/Dir819gpl_code | 8af92d65416198755974e3247b7bbe7f1151d525 | [
"BSD-2-Clause"
] | 1 | 2022-03-19T06:38:03.000Z | 2022-03-19T06:38:03.000Z | /*
* Author: Tero Kivinen <kivinen@iki.fi>
*
* Copyright (c) 2004 SFNT Finland Oy.
*/
/*
* Program: sshdns
*
* Creation : 13:29 Mar 18 2004 kivinen
* Last Modification : 16:03 Feb 24 2009 kivinen
* Version : 1.51
*
*
* Description : DNS Tra... | 39.653846 | 75 | 0.735209 |
157e5275a3c0bd4579ec55e2077e2a5c26c4b611 | 109 | ru | Ruby | config.ru | davydovanton/landing-project-template | ea31d90c9d554bfee900c6bd182ec831e6933b3a | [
"MIT"
] | 30 | 2020-02-25T12:56:47.000Z | 2021-11-11T10:18:27.000Z | config.ru | davydovanton/landing-project-template | ea31d90c9d554bfee900c6bd182ec831e6933b3a | [
"MIT"
] | 3 | 2020-04-05T15:36:41.000Z | 2020-08-19T20:45:58.000Z | config.ru | davydovanton/landing-project-template | ea31d90c9d554bfee900c6bd182ec831e6933b3a | [
"MIT"
] | 2 | 2020-04-29T13:58:37.000Z | 2021-08-30T12:24:47.000Z | # frozen_string_literal: true
require_relative './web_app'
require_relative './config/boot'
run WebApp.new
| 15.571429 | 32 | 0.788991 |
06d2dbf4dd9f7533d481998731d0dfdcfd96396d | 24,383 | py | Python | GPT2.py | wenhuchen/LogicNLG | e986516e5b6d310219215510b3fe1603d03215cd | [
"MIT"
] | 141 | 2020-04-23T03:30:16.000Z | 2022-03-19T08:36:31.000Z | GPT2.py | wenhuchen/LogicNLG | e986516e5b6d310219215510b3fe1603d03215cd | [
"MIT"
] | 15 | 2020-04-26T07:12:30.000Z | 2021-06-10T16:40:35.000Z | GPT2.py | wenhuchen/LogicNLG | e986516e5b6d310219215510b3fe1603d03215cd | [
"MIT"
] | 20 | 2020-04-27T03:07:10.000Z | 2022-01-22T22:13:15.000Z | import argparse
import logging
from tqdm import trange
import torch
import torch.nn.functional as F
import numpy as np
from torch import nn
from torch.autograd import Variable
from transformers import GPT2Config
from transformers import GPT2LMHeadModel, GPT2Tokenizer, BertTokenizer
from DataLoader import *
from Model i... | 44.575868 | 145 | 0.557725 |
ff497d7c839a46ddc9d1b2e37453ea4aee8683e0 | 949 | py | Python | tests/b901.py | admdev8/flake8-bugbear | 55533c95c6f30d8f88db847fb3f01d7ddb57b280 | [
"MIT"
] | 1 | 2020-09-04T17:13:23.000Z | 2020-09-04T17:13:23.000Z | tests/b901.py | admdev8/flake8-bugbear | 55533c95c6f30d8f88db847fb3f01d7ddb57b280 | [
"MIT"
] | 4 | 2020-09-04T17:13:36.000Z | 2020-09-04T17:32:57.000Z | tests/b901.py | admdev8/flake8-bugbear | 55533c95c6f30d8f88db847fb3f01d7ddb57b280 | [
"MIT"
] | null | null | null | """
Should emit:
B901 - on lines 9, 36
"""
def broken():
if True:
return [1, 2, 3]
yield 3
yield 2
yield 1
def not_broken():
if True:
return
yield 3
yield 2
yield 1
def not_broken2():
return not_broken()
def not_broken3():
return
yield from not_brok... | 11.297619 | 29 | 0.563751 |
e08ffa63a6fdb7a958e8ddbd52da7da246f04b6c | 2,381 | h | C | deps/museum/5.0.0/bionic/libc/kernel/uapi/linux/fcntl.h | simpleton/profilo | 91ef4ba1a8316bad2b3080210316dfef4761e180 | [
"Apache-2.0"
] | null | null | null | deps/museum/5.0.0/bionic/libc/kernel/uapi/linux/fcntl.h | simpleton/profilo | 91ef4ba1a8316bad2b3080210316dfef4761e180 | [
"Apache-2.0"
] | null | null | null | deps/museum/5.0.0/bionic/libc/kernel/uapi/linux/fcntl.h | simpleton/profilo | 91ef4ba1a8316bad2b3080210316dfef4761e180 | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
****************************************************************************
***
*** This header was automatically generated from a Linux kernel header
*** of the same name, to make information necessary for userspace to
*** call i... | 44.092593 | 78 | 0.669887 |
2dfa5e99d6af91cd6b7786fda111be2f6259db35 | 26,539 | cc | C++ | tensorflow/core/grappler/optimizers/dependency_optimizer.cc | aaniin/tensorflow | fc8b900e03cd20d3af30ea718bc48b18a10f124d | [
"Apache-2.0"
] | 1 | 2021-05-21T14:59:46.000Z | 2021-05-21T14:59:46.000Z | tensorflow/core/grappler/optimizers/dependency_optimizer.cc | shekharpalit/tensorflow | 6aa83398ab03bfae822f36772757097bcb98b6ed | [
"Apache-2.0"
] | 1 | 2019-02-22T00:50:13.000Z | 2019-02-22T00:50:13.000Z | tensorflow/core/grappler/optimizers/dependency_optimizer.cc | shekharpalit/tensorflow | 6aa83398ab03bfae822f36772757097bcb98b6ed | [
"Apache-2.0"
] | 1 | 2021-05-21T15:00:04.000Z | 2021-05-21T15:00:04.000Z | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 40.829231 | 80 | 0.646181 |
86074f4161f67725a2044efe8a52773c010aa181 | 4,108 | swift | Swift | SwiftYoutube/Controller/HomeController.swift | MananPatel95/SwiftYoutube | 8dea223e42f557fe5f3e2f1ca8ddd51178b84db7 | [
"MIT"
] | null | null | null | SwiftYoutube/Controller/HomeController.swift | MananPatel95/SwiftYoutube | 8dea223e42f557fe5f3e2f1ca8ddd51178b84db7 | [
"MIT"
] | null | null | null | SwiftYoutube/Controller/HomeController.swift | MananPatel95/SwiftYoutube | 8dea223e42f557fe5f3e2f1ca8ddd51178b84db7 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// SwiftYoutube
//
// Created by Manan Patel on 2018-02-18.
// Copyright © 2018 Manan Patel. All rights reserved.
//
import UIKit
class HomeController: UICollectionViewController, UICollectionViewDelegateFlowLayout {
let menuBar: MenuBar = {
let mb = MenuBar()
retur... | 38.392523 | 217 | 0.668939 |
5f8db1793fd67184592bacd6ffb644e967f0513b | 484 | rb | Ruby | lib/voicebase/helpers.rb | usertesting/voicebase-client-ruby | 376e77bd7c9fb0539f7acbf4b1f832335984b2f4 | [
"MIT"
] | 2 | 2016-01-14T17:47:58.000Z | 2017-03-10T17:38:03.000Z | lib/voicebase/helpers.rb | usertesting/voicebase-client-ruby | 376e77bd7c9fb0539f7acbf4b1f832335984b2f4 | [
"MIT"
] | 10 | 2016-04-14T22:54:44.000Z | 2018-08-08T17:27:02.000Z | lib/voicebase/helpers.rb | usertesting/voicebase-client-ruby | 376e77bd7c9fb0539f7acbf4b1f832335984b2f4 | [
"MIT"
] | 6 | 2016-01-14T17:48:01.000Z | 2017-10-06T16:12:18.000Z | module VoiceBase
module Helpers
def self.included(base)
base.send :extend, ClassMethods
base.send :include, InstanceMethods
end
module ClassMethods
# E.g. "request_status" -> "requestStatus"
def camelize_name(snake_cased_name)
snake_cased_name.to_s.camelize(:lower)
... | 18.615385 | 50 | 0.67562 |
ef57b154aaec412df2a92d03824a6cbc6e6fc508 | 171 | js | JavaScript | results/4_extract-code/code/gulp-if/gulp-if_44.js | proglang/dts-generate-results | 937a89a919814372cae8ea424d88edd8f7eaf87f | [
"MIT"
] | 2 | 2021-04-21T16:38:38.000Z | 2021-11-17T15:20:30.000Z | results/4_extract-code/code/gulp-if/gulp-if_44.js | proglang/dts-generate-results | 937a89a919814372cae8ea424d88edd8f7eaf87f | [
"MIT"
] | null | null | null | results/4_extract-code/code/gulp-if/gulp-if_44.js | proglang/dts-generate-results | 937a89a919814372cae8ea424d88edd8f7eaf87f | [
"MIT"
] | 1 | 2019-10-31T18:45:26.000Z | 2019-10-31T18:45:26.000Z | var uglify = require('gulp-uglify');
gulp.task('task', function() {
gulp.src(['./*.js', '!./node_modules/**'])
.pipe(uglify())
.pipe(gulp.dest('./dist/'));
});
| 21.375 | 44 | 0.54386 |
c378379c8173b51aafa4a7be1cdb0c5c51f8e1a3 | 565 | cs | C# | src/DesertOctopus/Utilities/MethodInfoHelpers/TimeSpanMIH.cs | nowol/DesertOctopus | 9d32b55056e457ae682131dae0cc32a6bf944f7f | [
"MIT"
] | 1 | 2017-12-17T00:44:38.000Z | 2017-12-17T00:44:38.000Z | src/DesertOctopus/Utilities/MethodInfoHelpers/TimeSpanMIH.cs | nowol/DesertOctopus | 9d32b55056e457ae682131dae0cc32a6bf944f7f | [
"MIT"
] | 14 | 2016-05-01T11:24:44.000Z | 2020-06-16T23:55:24.000Z | src/DesertOctopus/Utilities/MethodInfoHelpers/TimeSpanMIH.cs | nowol/DesertOctopus | 9d32b55056e457ae682131dae0cc32a6bf944f7f | [
"MIT"
] | null | null | null | using System;
using System.Linq;
using System.Reflection;
namespace DesertOctopus.Utilities
{
/// <summary>
/// Helper class for TimeSpan MethodInfo
/// </summary>
internal static class TimeSpanMih
{
/// <summary>
/// Calls TimeSpan.FromTicks
/// </summary>
/// <ret... | 25.681818 | 117 | 0.630088 |
d2a6b157be4d1cf193961bf4380d809fa5dc1cba | 1,090 | rs | Rust | eosio-rust/crates/eosio_rpc/src/error.rs | 7db9a/rust-eos-dev-env-starter | d0f7f40f24f83f840888b4386f287cd39eff1f1b | [
"MIT"
] | 46 | 2019-05-29T18:34:27.000Z | 2021-09-23T05:43:10.000Z | eosio-rust/crates/eosio_rpc/src/error.rs | 7db9a/rust-eos-dev-env-starter | d0f7f40f24f83f840888b4386f287cd39eff1f1b | [
"MIT"
] | 16 | 2019-06-09T05:57:15.000Z | 2020-08-27T00:29:19.000Z | eosio-rust/crates/eosio_rpc/src/error.rs | 7db9a/rust-eos-dev-env-starter | d0f7f40f24f83f840888b4386f287cd39eff1f1b | [
"MIT"
] | 18 | 2019-06-25T11:27:26.000Z | 2021-01-06T22:33:37.000Z | use serde::{Deserialize, Serialize};
#[derive(Debug)]
pub enum Error {
BadRequestJson(::serde_json::Error),
BadRequest,
NoWindow,
BadResponse,
BadResponseJson(::serde_json::Error),
EosError(ErrorResponse),
}
#[cfg(feature = "use-hyper")]
impl From<hyper::Error> for Error {
fn from(err: hyp... | 21.8 | 47 | 0.640367 |
b0106280867ea69e20fdcb60880b704341cadc13 | 495 | py | Python | js_rss_feed/cms_apps.py | compoundpartners/js-rss-feed | 5dc5184e907008de73b1244b6d5e6443d775f4c0 | [
"BSD-3-Clause"
] | null | null | null | js_rss_feed/cms_apps.py | compoundpartners/js-rss-feed | 5dc5184e907008de73b1244b6d5e6443d775f4c0 | [
"BSD-3-Clause"
] | null | null | null | js_rss_feed/cms_apps.py | compoundpartners/js-rss-feed | 5dc5184e907008de73b1244b6d5e6443d775f4c0 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from aldryn_apphooks_config.app_base import CMSConfigApp
from cms.apphook_pool import apphook_pool
from django.utils.translation import ugettext_lazy as _
from .cms_appconfig import RSSFeedConfig
class RSSFeedApp(CMSConfigApp):
name = _('RSS Feed'... | 23.571429 | 56 | 0.759596 |
4649c9d53d6f7e30a5ca7a2a018b001763c2ae4f | 2,009 | php | PHP | resources/views/v_addUnit.blade.php | kirchhoff19/PA2 | a54372fe4bc0b53b721f4b8339815e5918efa079 | [
"MIT"
] | null | null | null | resources/views/v_addUnit.blade.php | kirchhoff19/PA2 | a54372fe4bc0b53b721f4b8339815e5918efa079 | [
"MIT"
] | null | null | null | resources/views/v_addUnit.blade.php | kirchhoff19/PA2 | a54372fe4bc0b53b721f4b8339815e5918efa079 | [
"MIT"
] | null | null | null | @extends('layout.v_template')
@section('title', 'Tambah Unit')
@section('content')
<!-- Horizontal Form -->
<div class="card card-info">
<div class="card-header">
<h3 class="card-title">Tambah Unit</h3>
</div>
<!-- /.card-header -->
<!-- f... | 41 | 135 | 0.419114 |
1f7f8cbdf23ae53b5628baa3586aa33f3f0af1f8 | 1,044 | swift | Swift | ChatbotNewFrameworkIOS/Models/Config.swift | 25290Ajeet/ChatbotNewFrameworkIOS | ad352ad26ca2be2d3b71a87fe874d218692ca50a | [
"MIT"
] | 1 | 2019-12-31T13:27:05.000Z | 2019-12-31T13:27:05.000Z | ChatbotNewFrameworkIOS/Models/Config.swift | 25290Ajeet/ChatbotNewFrameworkIOS | ad352ad26ca2be2d3b71a87fe874d218692ca50a | [
"MIT"
] | null | null | null | ChatbotNewFrameworkIOS/Models/Config.swift | 25290Ajeet/ChatbotNewFrameworkIOS | ad352ad26ca2be2d3b71a87fe874d218692ca50a | [
"MIT"
] | null | null | null | //
// Config.swift
// XavBotFramework
//
// Created by Ajeet Sharma on 30/10/19.
// Copyright © 2019 Ajeet Sharma. All rights reserved.
//
import Foundation
struct ConfigData : Codable {
let result:Config?
let status:String?
}
struct Config : Codable {
let uid:String?
let wlcm_msg:String?
... | 22.695652 | 55 | 0.683908 |
3faf1384376c22399226fb5e60574852ba2db1ab | 530 | rb | Ruby | lib/active_support_decorators/dependencies_patch.rb | Betterment/activesupport-decorators | 53892eab981b9e57c91abb48b26aa7234c97bdec | [
"MIT"
] | null | null | null | lib/active_support_decorators/dependencies_patch.rb | Betterment/activesupport-decorators | 53892eab981b9e57c91abb48b26aa7234c97bdec | [
"MIT"
] | null | null | null | lib/active_support_decorators/dependencies_patch.rb | Betterment/activesupport-decorators | 53892eab981b9e57c91abb48b26aa7234c97bdec | [
"MIT"
] | null | null | null | require 'active_support/dependencies'
module ActiveSupport::Dependencies
alias_method :require_or_load_without_multiple, :require_or_load
def require_or_load(file_name, const_path = nil)
order = ActiveSupportDecorators.load_path_order(file_name)
if ActiveSupportDecorators.debug && order.size > 1
Ra... | 29.444444 | 108 | 0.756604 |
435f6952ea1db2ab1b181d509d232f8823597b82 | 1,663 | ts | TypeScript | src/ts/controller/listeners/dragListener.ts | cmakler/kgjs | a29d194cfbfe3dcb0407b5281a34dd0ddd42bf68 | [
"MIT"
] | 20 | 2019-03-12T12:54:04.000Z | 2022-01-27T01:24:07.000Z | src/ts/controller/listeners/dragListener.ts | cmakler/kgjs | a29d194cfbfe3dcb0407b5281a34dd0ddd42bf68 | [
"MIT"
] | 5 | 2017-07-20T17:16:17.000Z | 2022-02-26T04:07:44.000Z | src/ts/controller/listeners/dragListener.ts | cmakler/kgjs | a29d194cfbfe3dcb0407b5281a34dd0ddd42bf68 | [
"MIT"
] | 3 | 2019-10-10T03:39:14.000Z | 2021-12-13T00:45:46.000Z | /// <reference path="../../kg.ts" />
module KG {
export interface DragListenerDefinition extends ListenerDefinition {
draggable?: string;
directions?: string;
vertical?: string;
horizontal?: string;
}
export interface IDragListener extends IListener {
draggable: bo... | 28.672414 | 95 | 0.538785 |
0d895c09f3cd16416140d78948856f4374d2ea5e | 207 | h | C | src/essence.game/packets/lobby/outgoing/account/SendReferralRegistrationSuccess.h | hinnie123/qpang-essence-emulator-1 | 2b99f21bcbcbdcd5ff8104d4845ebc10ec0e6e1b | [
"MIT"
] | 1 | 2021-11-23T00:31:46.000Z | 2021-11-23T00:31:46.000Z | src/essence.game/packets/lobby/outgoing/account/SendReferralRegistrationSuccess.h | hinnie123/qpang-essence-emulator-1 | 2b99f21bcbcbdcd5ff8104d4845ebc10ec0e6e1b | [
"MIT"
] | null | null | null | src/essence.game/packets/lobby/outgoing/account/SendReferralRegistrationSuccess.h | hinnie123/qpang-essence-emulator-1 | 2b99f21bcbcbdcd5ff8104d4845ebc10ec0e6e1b | [
"MIT"
] | 1 | 2021-12-18T12:50:46.000Z | 2021-12-18T12:50:46.000Z | #pragma once
#include "packets/LobbyServerPacket.h"
class SendReferralRegistrationSuccess : public LobbyServerPacket
{
public:
explicit SendReferralRegistrationSuccess() : LobbyServerPacket(677)
{
}
};
| 17.25 | 68 | 0.801932 |
2c5c5e2783363b2077e9eee27879eb255213189a | 10,079 | py | Python | topic6_engineering_toolkits/Topic21_PythonforOptimization/LinearProgramming.py | sunluelectric/tutorialPython | 2260282b979a16e3b417a748d0d70231433d5fd3 | [
"MIT"
] | null | null | null | topic6_engineering_toolkits/Topic21_PythonforOptimization/LinearProgramming.py | sunluelectric/tutorialPython | 2260282b979a16e3b417a748d0d70231433d5fd3 | [
"MIT"
] | null | null | null | topic6_engineering_toolkits/Topic21_PythonforOptimization/LinearProgramming.py | sunluelectric/tutorialPython | 2260282b979a16e3b417a748d0d70231433d5fd3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Class: LinearProgramming
"""
import numpy as np
import gurobipy as gp
class LinearProgramming():
"""
LinearProgramming defines and solves a LP problem.
"""
def __init__(self, *args):
"""
__init__ creates a LP problem.
"""
try:
pro... | 44.597345 | 133 | 0.599861 |
1f2f62472304db66c62da8414bd60d372da5a6b0 | 3,423 | kt | Kotlin | src/main/kotlin/com/github/kerubistan/kerub/services/impl/AbstractAssetService.kt | K0zka/kerub | 99cb43c962da46df7a0beb75f2e0c839c6c50bda | [
"Apache-2.0"
] | 16 | 2016-01-03T12:57:25.000Z | 2020-08-04T10:36:30.000Z | src/main/kotlin/com/github/kerubistan/kerub/services/impl/AbstractAssetService.kt | kerubistan/kerub | 99cb43c962da46df7a0beb75f2e0c839c6c50bda | [
"Apache-2.0"
] | 205 | 2015-10-27T11:38:26.000Z | 2021-05-09T11:53:18.000Z | src/main/kotlin/com/github/kerubistan/kerub/services/impl/AbstractAssetService.kt | K0zka/kerub | 99cb43c962da46df7a0beb75f2e0c839c6c50bda | [
"Apache-2.0"
] | 4 | 2018-01-26T14:07:12.000Z | 2019-12-05T20:49:30.000Z | package com.github.kerubistan.kerub.services.impl
import com.github.kerubistan.kerub.data.AssetDao
import com.github.kerubistan.kerub.model.Asset
import com.github.kerubistan.kerub.model.AssetOwner
import com.github.kerubistan.kerub.model.AssetOwnerType
import com.github.kerubistan.kerub.model.paging.SearchResultPage
... | 29.25641 | 104 | 0.721297 |
b75a160f133e6e3a1393d66c519e20d8633d5515 | 511 | cs | C# | 5.1. Defining Classes - Exercise/MyHelpLibrary/DateModifier.cs | dzhanetGerdzhikova/Advanced | 2b378fba9e74f381eadcfb37d2691c2013c0bb79 | [
"MIT"
] | null | null | null | 5.1. Defining Classes - Exercise/MyHelpLibrary/DateModifier.cs | dzhanetGerdzhikova/Advanced | 2b378fba9e74f381eadcfb37d2691c2013c0bb79 | [
"MIT"
] | null | null | null | 5.1. Defining Classes - Exercise/MyHelpLibrary/DateModifier.cs | dzhanetGerdzhikova/Advanced | 2b378fba9e74f381eadcfb37d2691c2013c0bb79 | [
"MIT"
] | null | null | null | using System;
namespace MyHelpLibrary
{
public static class DateModifier
{
public static int DifferenceInDates { get; set; }
public static int DifferenceOfDays(string start, string end)
{
DateTime startDate = DateTime.Parse(start);
DateTime endDate = DateTime.P... | 26.894737 | 68 | 0.626223 |
386ea69a6bd4ceba7949e7355285d397b1b10503 | 940 | php | PHP | mod/invitefriends/languages/ja.php | usher-sky/elgg | fe71c4995ce3994111533a00623808c4ab80cf25 | [
"MIT"
] | null | null | null | mod/invitefriends/languages/ja.php | usher-sky/elgg | fe71c4995ce3994111533a00623808c4ab80cf25 | [
"MIT"
] | null | null | null | mod/invitefriends/languages/ja.php | usher-sky/elgg | fe71c4995ce3994111533a00623808c4ab80cf25 | [
"MIT"
] | null | null | null | <?php
return [
'friends:invite' => '友達を招待する',
'invitefriends:registration_disabled' => 'このサイトでは新規ユーザ登録はできないように設定されていまので、新しいユーザを招待することはできません。',
'invitefriends:introduction' => '記入力欄にEメールアドレスと招待のメッセージを入力して、このネットワークに友達を招待しましょう。',
'invitefriends:emails' => 'Eメールアドレス (一行に一件ずつ)',
'invitefriends:message' => 'メッセージ',... | 24.736842 | 97 | 0.741489 |
92f3248ea6fa5830a27fc6e64626bad84a998877 | 310 | rb | Ruby | lib/rrserver.rb | raymon1/ruby-rack-server | ee89b6905b8028a0827bfcddda28d6744335a436 | [
"MIT"
] | null | null | null | lib/rrserver.rb | raymon1/ruby-rack-server | ee89b6905b8028a0827bfcddda28d6744335a436 | [
"MIT"
] | null | null | null | lib/rrserver.rb | raymon1/ruby-rack-server | ee89b6905b8028a0827bfcddda28d6744335a436 | [
"MIT"
] | null | null | null | require "rack"
require "slop"
require "socket"
require "time"
require "uri"
require "rrserver/cli"
require "rrserver/http"
require "rrserver/launcher"
require "rrserver/logger"
require "rrserver/server"
require "rrserver/version"
module Rrserver
def self.logger
@logger ||= Rrserver::Logger.new
end
end
| 15.5 | 34 | 0.76129 |
937b54ef05f9b15222e0ae518e958e526eaf9697 | 8,387 | cs | C# | src/BinSkim.Rules/ELFRules/BA3030.UseCheckedFunctionsWithGCC.cs | michaelcfanning/binskim | e010eeb1f4bc5f355298c44247de5fd384100c39 | [
"MIT"
] | 1 | 2022-02-27T10:54:19.000Z | 2022-02-27T10:54:19.000Z | src/BinSkim.Rules/ELFRules/BA3030.UseCheckedFunctionsWithGCC.cs | michaelcfanning/binskim | e010eeb1f4bc5f355298c44247de5fd384100c39 | [
"MIT"
] | null | null | null | src/BinSkim.Rules/ELFRules/BA3030.UseCheckedFunctionsWithGCC.cs | michaelcfanning/binskim | e010eeb1f4bc5f355298c44247de5fd384100c39 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Composition;
using System.Linq;
using ELFSharp.ELF;
using ELFSharp.ELF.Sections;
using Microsoft.CodeAnalysi... | 39.375587 | 169 | 0.538214 |
a43e3fd0cda516003e62c625f459f1fd868fe8ac | 3,579 | php | PHP | app/Http/Controllers/PaymentManagement/PaymentController.php | sasori69/backend-ecommerce | 04bb1395bef6a49a1412a0004b6044df9e740628 | [
"MIT"
] | null | null | null | app/Http/Controllers/PaymentManagement/PaymentController.php | sasori69/backend-ecommerce | 04bb1395bef6a49a1412a0004b6044df9e740628 | [
"MIT"
] | null | null | null | app/Http/Controllers/PaymentManagement/PaymentController.php | sasori69/backend-ecommerce | 04bb1395bef6a49a1412a0004b6044df9e740628 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\PaymentManagement;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Payment;
use Yajra\Datatables\Datatables;
class PaymentController extends Controller
{
//Protected module payment-method by slug
public function __construct()
{
$this-... | 28.632 | 161 | 0.568315 |
f877fb05ff1bfc8e97069f590cff703a2ea4fd1a | 1,480 | rs | Rust | src/base/stage.rs | mitrid-labs/mitrid-core | e28f237ea52cf0421485a1082636d469db4528de | [
"Apache-2.0"
] | 4 | 2018-09-30T23:16:37.000Z | 2020-02-13T15:57:46.000Z | src/base/stage.rs | mitrid-labs/mitrid-core | e28f237ea52cf0421485a1082636d469db4528de | [
"Apache-2.0"
] | null | null | null | src/base/stage.rs | mitrid-labs/mitrid-core | e28f237ea52cf0421485a1082636d469db4528de | [
"Apache-2.0"
] | null | null | null | //! # Stage
//!
//! `stage` is the module providing the type describing the distributed ledger stage (development,
//! testing or production).
use std::fmt;
use base::Result;
use base::Checkable;
use base::Sizable;
use base::Datable;
use base::Serializable;
/// Enum representing the distributed ledger stage (develop... | 23.125 | 98 | 0.593243 |
df46e5931b022e12e2e974643b8b189b51607a4c | 2,482 | cs | C# | Server/Repository/Perform.cs | enviriot/EnviriotSW | 807d64805c4a71328cfc5ba6052b0f2eee18b33d | [
"MIT"
] | null | null | null | Server/Repository/Perform.cs | enviriot/EnviriotSW | 807d64805c4a71328cfc5ba6052b0f2eee18b33d | [
"MIT"
] | null | null | null | Server/Repository/Perform.cs | enviriot/EnviriotSW | 807d64805c4a71328cfc5ba6052b0f2eee18b33d | [
"MIT"
] | 1 | 2017-04-20T01:53:55.000Z | 2017-04-20T01:53:55.000Z | ///<remarks>This file is part of the <see cref="https://github.com/enviriot">Enviriot</see> project.<remarks>
using LiteDB;
using NiL.JS.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace X13.Repository {
public class Perform : IComparable<Perform> {
... | 28.204545 | 111 | 0.547542 |
254848702bc11c21435115c49fd4ada1113c2b4a | 962 | cs | C# | 4.OOPBasic/01_DefiningClasses/Exercise_02_DateModifier/DateModifier.cs | Brankovanov/SoftUniCourses | 39648a863c29e00057a6969c63b19cfc7cfb8f07 | [
"MIT"
] | 1 | 2018-07-17T07:43:49.000Z | 2018-07-17T07:43:49.000Z | 4.OOPBasic/01_DefiningClasses/Exercise_02_DateModifier/DateModifier.cs | Brankovanov/SoftUniCourses | 39648a863c29e00057a6969c63b19cfc7cfb8f07 | [
"MIT"
] | null | null | null | 4.OOPBasic/01_DefiningClasses/Exercise_02_DateModifier/DateModifier.cs | Brankovanov/SoftUniCourses | 39648a863c29e00057a6969c63b19cfc7cfb8f07 | [
"MIT"
] | null | null | null | using System;
namespace Exercise_02_DateModifier
{
//Records the starting and ending date and calculates how many days are between them.
public class DateModifier
{
private string start;
private string end;
public string Start
{
get
{
... | 20.913043 | 93 | 0.452183 |
02ed6979d1cd650803fe221fcffa0620886a7dd7 | 10,872 | psm1 | PowerShell | DSCResources/MSFT_WebApplicationProxy/MSFT_WebApplicationProxy.psm1 | X-Guardian/WebApplicationProxyDsc | 006f4aee96a022bcbdeb32d1141acb961576d182 | [
"MIT"
] | 1 | 2020-06-03T16:29:11.000Z | 2020-06-03T16:29:11.000Z | DSCResources/MSFT_WebApplicationProxy/MSFT_WebApplicationProxy.psm1 | X-Guardian/WebApplicationProxyDsc | 006f4aee96a022bcbdeb32d1141acb961576d182 | [
"MIT"
] | null | null | null | DSCResources/MSFT_WebApplicationProxy/MSFT_WebApplicationProxy.psm1 | X-Guardian/WebApplicationProxyDsc | 006f4aee96a022bcbdeb32d1141acb961576d182 | [
"MIT"
] | null | null | null | <#
.SYNOPSIS
DSC module for the Web Application Proxy resource
.DESCRIPTION
The WebApplicationProxy DSC resource manages the installation of the Web Application Proxy server role. To
further manage the configuration of WebApplicationProxy, the WebApplicationProxyConfiguration DSC ... | 35.529412 | 159 | 0.643672 |
12aac4c00fa9941e5cf940c313961de1ddc65995 | 2,312 | cs | C# | ImageViewer/StudyManagement/Core/Storage/DicomQuery/QueryUtilities.cs | SNBnani/Xian | e07cb943476705ac3721921cf0f0906485d9f59d | [
"Apache-2.0"
] | 1 | 2019-02-18T11:41:46.000Z | 2019-02-18T11:41:46.000Z | ImageViewer/StudyManagement/Core/Storage/DicomQuery/QueryUtilities.cs | nhannd/Xian | e07cb943476705ac3721921cf0f0906485d9f59d | [
"Apache-2.0"
] | null | null | null | ImageViewer/StudyManagement/Core/Storage/DicomQuery/QueryUtilities.cs | nhannd/Xian | e07cb943476705ac3721921cf0f0906485d9f59d | [
"Apache-2.0"
] | null | null | null | using System;
using System.Linq;
using System.Text.RegularExpressions;
using ClearCanvas.Dicom;
namespace ClearCanvas.ImageViewer.StudyManagement.Core.Storage.DicomQuery
{
internal static class QueryUtilities
{
//These are the VRs DICOM says can't be searched on with wildcards,
//the... | 41.285714 | 169 | 0.601644 |
e73cb68f5a3f5dd48e7dc50dba0beb24492f91d0 | 3,509 | ps1 | PowerShell | src/06_ScheduledTasks.ps1 | DaXiong-Safe/PrivescCheck | 16cd833d12fef5661a7b13487925e5a05e853a65 | [
"BSD-3-Clause"
] | null | null | null | src/06_ScheduledTasks.ps1 | DaXiong-Safe/PrivescCheck | 16cd833d12fef5661a7b13487925e5a05e853a65 | [
"BSD-3-Clause"
] | null | null | null | src/06_ScheduledTasks.ps1 | DaXiong-Safe/PrivescCheck | 16cd833d12fef5661a7b13487925e5a05e853a65 | [
"BSD-3-Clause"
] | null | null | null | function Invoke-ScheduledTasksImagePermissionsCheck {
<#
.SYNOPSIS
Enumrates scheduled tasks with a modifiable path
Author: @itm4n
License: BSD 3-Clause
.DESCRIPTION
This function enumerates all the scheduled tasks which are visible by the current user but are not owned by the current user... | 40.333333 | 355 | 0.677401 |
da1384239e592320a5419a4a8be28b9443e7acbd | 5,808 | php | PHP | Tests/Functional/Manager/MenuUpdateManagerTest.php | oro-subtree/NavigationBundle | 315b23e76d783aed8af00398ac3651d52c1e27ce | [
"MIT"
] | null | null | null | Tests/Functional/Manager/MenuUpdateManagerTest.php | oro-subtree/NavigationBundle | 315b23e76d783aed8af00398ac3651d52c1e27ce | [
"MIT"
] | null | null | null | Tests/Functional/Manager/MenuUpdateManagerTest.php | oro-subtree/NavigationBundle | 315b23e76d783aed8af00398ac3651d52c1e27ce | [
"MIT"
] | null | null | null | <?php
namespace Oro\Bundle\NavigationBundle\Tests\Functional\Manager;
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\EntityRepository;
use Oro\Component\Testing\Unit\EntityTrait;
use Oro\Bundle\NavigationBundle\Entity\MenuUpdate;
use Oro\Bundle\NavigationBundle\Manager\MenuUpdateManager;
use Oro\Bundle\NavigationB... | 29.938144 | 113 | 0.550103 |
394c077ecd3b3d0ef9f9736e079ba86826d27ce8 | 476 | py | Python | src/domain/Submittion/usecase/submittion_repository.py | fossabot/daizu-online-judge-backend | 34e8ad4fe99374056046cf400d038423db12549c | [
"MIT"
] | null | null | null | src/domain/Submittion/usecase/submittion_repository.py | fossabot/daizu-online-judge-backend | 34e8ad4fe99374056046cf400d038423db12549c | [
"MIT"
] | null | null | null | src/domain/Submittion/usecase/submittion_repository.py | fossabot/daizu-online-judge-backend | 34e8ad4fe99374056046cf400d038423db12549c | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from typing import List
from domain.Submittion.submittion import Submittion
class SubmittionRepository(ABC):
@abstractmethod
def store(self, submittion: Submittion) -> int:
raise NotImplementedError()
@abstractmethod
def find_all(self, problem_id: str) -> ... | 25.052632 | 60 | 0.72479 |
c9d63a8a6b8ffe91ca1b9d4796eef8bbb67ca79c | 629 | ts | TypeScript | src/common/redux/__tests__/createListActions.spec.ts | olegsmetanin/ghnav | bee92b4a82e71d252fe5b6cccb6c4984a40a1a2f | [
"MIT"
] | null | null | null | src/common/redux/__tests__/createListActions.spec.ts | olegsmetanin/ghnav | bee92b4a82e71d252fe5b6cccb6c4984a40a1a2f | [
"MIT"
] | null | null | null | src/common/redux/__tests__/createListActions.spec.ts | olegsmetanin/ghnav | bee92b4a82e71d252fe5b6cccb6c4984a40a1a2f | [
"MIT"
] | null | null | null | import { createListActions } from '../createListActions'
describe('createListActions', () => {
it('works', () => {
const { actionTypes, failure, load, loadSuccess } = createListActions(
'ISSUE'
)
expect(actionTypes.FAILURE).toEqual('ISSUE_LIST/FAILURE')
expect(failure('error')).toEqual({
... | 27.347826 | 74 | 0.589825 |
1f316079616750898d5c8e737a6b076f9eaead99 | 285 | cs | C# | AWSCloudComputing.DataAccess/Customer.cs | jdrr2687/aws-cloud-computing-api | 771cc21426eeb4e233a50260cc40eb1931d8d045 | [
"MIT"
] | null | null | null | AWSCloudComputing.DataAccess/Customer.cs | jdrr2687/aws-cloud-computing-api | 771cc21426eeb4e233a50260cc40eb1931d8d045 | [
"MIT"
] | null | null | null | AWSCloudComputing.DataAccess/Customer.cs | jdrr2687/aws-cloud-computing-api | 771cc21426eeb4e233a50260cc40eb1931d8d045 | [
"MIT"
] | null | null | null | using Dapper.Contrib.Extensions;
using System;
using System.Collections.Generic;
using System.Text;
namespace AWSCloudComputing.DataAccess
{
[Table("Cliente")]
public class Customer
{
public int Id { get; set; }
public string Nombre { get; set; }
}
}
| 19 | 42 | 0.670175 |
741c21d8b5c30c0fcdc5297ee8130b13f132b3d0 | 2,090 | css | CSS | dist/css/style.min.css | KamilaSieczkowska/lightbox_gallery | e168dc40b34ecc39d639a9225c6b5d2abe273194 | [
"MIT"
] | null | null | null | dist/css/style.min.css | KamilaSieczkowska/lightbox_gallery | e168dc40b34ecc39d639a9225c6b5d2abe273194 | [
"MIT"
] | null | null | null | dist/css/style.min.css | KamilaSieczkowska/lightbox_gallery | e168dc40b34ecc39d639a9225c6b5d2abe273194 | [
"MIT"
] | null | null | null | *{box-sizing:border-box}html,body{margin:0;width:100%;background:#cccca2}.container{max-width:260px;margin:0 auto}@media (min-width: 760px){.container{max-width:630px}}@media (min-width: 1024px){.container{max-width:900px}}.title{margin:0;padding:50px 0;font-family:'Amatic SC', cursive;text-decoration:underline;text-al... | 522.5 | 2,046 | 0.791866 |
11774ea5774cf8494cfff460750a408f2fa2060a | 1,312 | swift | Swift | test/Interop/Cxx/enum/scoped-enums.swift | xjc90s/swift | cafe5ccbd1b7aa9cc9c837c5be2cdf3d5acd8a49 | [
"Apache-2.0"
] | 1 | 2020-01-27T17:36:38.000Z | 2020-01-27T17:36:38.000Z | test/Interop/Cxx/enum/scoped-enums.swift | xjc90s/swift | cafe5ccbd1b7aa9cc9c837c5be2cdf3d5acd8a49 | [
"Apache-2.0"
] | null | null | null | test/Interop/Cxx/enum/scoped-enums.swift | xjc90s/swift | cafe5ccbd1b7aa9cc9c837c5be2cdf3d5acd8a49 | [
"Apache-2.0"
] | null | null | null | // RUN: %target-run-simple-swift(-I %S/Inputs -Xfrontend -enable-experimental-cxx-interop)
// REQUIRES: executable_test
import ScopedEnums
import StdlibUnittest
var ScopedEnumsTestSuite = TestSuite("Scoped Enums")
ScopedEnumsTestSuite.test("Make and compare") {
let val: ScopedEnumDefined = .x
expectEqual(val, .... | 29.818182 | 90 | 0.771341 |
9203dcbd35e7119b919a1fc61feed3dee6655bcd | 1,002 | rb | Ruby | lib/identitee/loader.rb | natedavisolds/identify | e1dbf150ebd7bec34ad2ab530058b44e5d68aeca | [
"MIT"
] | 1 | 2017-04-21T13:22:21.000Z | 2017-04-21T13:22:21.000Z | lib/identitee/loader.rb | natedavisolds/identify | e1dbf150ebd7bec34ad2ab530058b44e5d68aeca | [
"MIT"
] | null | null | null | lib/identitee/loader.rb | natedavisolds/identify | e1dbf150ebd7bec34ad2ab530058b44e5d68aeca | [
"MIT"
] | null | null | null | module Identitee
class Loader
def initialize options={}
@identify_root_directory = options.delete(:identify_root_directory)
end
def loadable? filename
File.exists? full_path(filename)
end
def lazy_load filename
if loadable? filename
force_load full_path(filename)
... | 18.90566 | 73 | 0.644711 |
27c904f95b693dc116d64c7b2efcfd74d0d889e5 | 1,487 | html | HTML | Events/item-10.html | SebastinSanty/QuarkWebsite2016 | a72d39fb80f107726fb354123b59f14ffb27784d | [
"Apache-2.0"
] | 1 | 2016-09-23T04:32:19.000Z | 2016-09-23T04:32:19.000Z | Events/item-10.html | SebastinSanty/QuarkWebsite2016 | a72d39fb80f107726fb354123b59f14ffb27784d | [
"Apache-2.0"
] | null | null | null | Events/item-10.html | SebastinSanty/QuarkWebsite2016 | a72d39fb80f107726fb354123b59f14ffb27784d | [
"Apache-2.0"
] | 2 | 2017-10-15T16:28:22.000Z | 2019-06-01T07:36:04.000Z | <!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/reset.css"> <!-- CSS reset -->
<link rel="stylesheet" href="css/style.css"> <!-- Resource style -->
<script src="js/modernizr.js"></scr... | 36.268293 | 398 | 0.712172 |
d5851d8dab2dc1b85ab1c509b35acc8ab381964b | 79 | sql | SQL | localization/bitcoin.sql | DeshiLeaksBD/esx_bitcoin-master | 2d8683b1b015f145deb4b1a2cc74fdb09195bb8a | [
"MIT"
] | null | null | null | localization/bitcoin.sql | DeshiLeaksBD/esx_bitcoin-master | 2d8683b1b015f145deb4b1a2cc74fdb09195bb8a | [
"MIT"
] | null | null | null | localization/bitcoin.sql | DeshiLeaksBD/esx_bitcoin-master | 2d8683b1b015f145deb4b1a2cc74fdb09195bb8a | [
"MIT"
] | null | null | null | INSERT INTO `items` (name, label, `limit`) VALUES
('bitcoin', 'Bitcoin', 50)
; | 26.333333 | 49 | 0.64557 |
ddd2025241b7ea35cce88eda76705bda3768d968 | 2,048 | java | Java | plugins_logicrepository/cfg/src/test/java/com/runtimeverification/rvmonitor/logicrepository/plugins/cfg/DeepCopyTest.java | mylibero/rv-monitor | 6997a4b06e25fab1a994e32b2fef1a908bb12830 | [
"MIT"
] | 15 | 2017-10-03T00:14:23.000Z | 2021-03-25T20:19:48.000Z | plugins_logicrepository/cfg/src/test/java/com/runtimeverification/rvmonitor/logicrepository/plugins/cfg/DeepCopyTest.java | mylibero/rv-monitor | 6997a4b06e25fab1a994e32b2fef1a908bb12830 | [
"MIT"
] | 5 | 2018-02-02T15:55:34.000Z | 2020-12-01T00:08:32.000Z | plugins_logicrepository/cfg/src/test/java/com/runtimeverification/rvmonitor/logicrepository/plugins/cfg/DeepCopyTest.java | mylibero/rv-monitor | 6997a4b06e25fab1a994e32b2fef1a908bb12830 | [
"MIT"
] | 7 | 2017-10-11T19:30:31.000Z | 2020-11-30T20:39:58.000Z | package com.runtimeverification.rvmonitor.logicrepository.plugins.cfg;
import com.runtimeverification.rvmonitor.logicrepository.plugins.cfg.util.DeepCopy;
import java.util.HashSet;
import java.util.ArrayList;
import java.util.Arrays;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Test code that pro... | 34.711864 | 83 | 0.631348 |
4bb5cecbca7450d24d67d5d5791d2c31537f8338 | 451 | h | C | Source/Public/consoleUtils.h | TK-Aria/apk-installer | fa7a8923ff46c82416867cec17781f51f9adfea7 | [
"MIT"
] | 6 | 2019-03-27T02:08:20.000Z | 2019-05-07T16:58:34.000Z | Source/Public/consoleUtils.h | TK-Aria/apk-installer | fa7a8923ff46c82416867cec17781f51f9adfea7 | [
"MIT"
] | null | null | null | Source/Public/consoleUtils.h | TK-Aria/apk-installer | fa7a8923ff46c82416867cec17781f51f9adfea7 | [
"MIT"
] | null | null | null | //
// @file main.cpp
// @brief 簡単な説明
// @author 作成者
// @date 作成日
// @details 詳細な説明
//
#pragma once
struct CommnadParameter
{
int argc;
const char** argv;
};
String SearchPathFromCommandArg( const String& searchTarget, CommnadParameter& param )
{
const int AppPathIndex = 0;
String appPath = param.argv[AppPathInd... | 16.107143 | 86 | 0.709534 |
a16a39f5ec6dd60a5fe45cbdd7c7df6e871fd21f | 156 | ts | TypeScript | src/components/button/index.ts | easynet-cn/easymesh-ui | a692b8123ea677a7a24b3e6e9b0da8c565e3b742 | [
"Apache-2.0"
] | null | null | null | src/components/button/index.ts | easynet-cn/easymesh-ui | a692b8123ea677a7a24b3e6e9b0da8c565e3b742 | [
"Apache-2.0"
] | null | null | null | src/components/button/index.ts | easynet-cn/easymesh-ui | a692b8123ea677a7a24b3e6e9b0da8c565e3b742 | [
"Apache-2.0"
] | null | null | null | import Button from './Button.vue'
import { App } from 'vue'
Button.install = (Vue: App) => {
Vue.component(Button.name, Button)
}
export default Button
| 17.333333 | 36 | 0.685897 |
ef5194fbd7ace4377816684a27f1fea637da8cf6 | 3,841 | js | JavaScript | test/unit/auth/auth-retry-queue.service.test.js | subrosa/subrosa-web-client | 5a781942e0b9b0ba0b27004241e17e695c46d819 | [
"MIT"
] | null | null | null | test/unit/auth/auth-retry-queue.service.test.js | subrosa/subrosa-web-client | 5a781942e0b9b0ba0b27004241e17e695c46d819 | [
"MIT"
] | null | null | null | test/unit/auth/auth-retry-queue.service.test.js | subrosa/subrosa-web-client | 5a781942e0b9b0ba0b27004241e17e695c46d819 | [
"MIT"
] | null | null | null | describe('Service: authRetryQueue', function () {
'use strict';
var $http, deferred, authRetryQueue;
beforeEach(module('subrosa.auth'));
beforeEach(function () {
deferred = {
resolve: function () {},
reject: function () {}
};
});
beforeEach(module(func... | 34.294643 | 74 | 0.568602 |
d637ae6a064ff7fb298aab64d1ac92ba0550bb2f | 1,032 | cs | C# | 01.Linear-Data-Structures/01.SumAndAverageOfSequence/Startup.cs | bozhidar-slavov/12.Data-Structures-and-Algorithms | 0acc3611dfedfd4c2213d010459d5b46e0def80c | [
"MIT"
] | null | null | null | 01.Linear-Data-Structures/01.SumAndAverageOfSequence/Startup.cs | bozhidar-slavov/12.Data-Structures-and-Algorithms | 0acc3611dfedfd4c2213d010459d5b46e0def80c | [
"MIT"
] | null | null | null | 01.Linear-Data-Structures/01.SumAndAverageOfSequence/Startup.cs | bozhidar-slavov/12.Data-Structures-and-Algorithms | 0acc3611dfedfd4c2213d010459d5b46e0def80c | [
"MIT"
] | null | null | null | namespace SumAndAverageOfSequence
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Startup
{
public static void Main()
{
Console.Write("Enter a positive integer: ");
string input = Console.ReadLine();
var list = ... | 26.461538 | 80 | 0.473837 |
25588b1351b50db88b5532b79e0d5c8a1d112c97 | 282 | cs | C# | src/MongoDB.Driver.Extensions/Paging/Requests/SimpleKeyRequest.cs | imperugo/MongoDB.Driver.Extensions | 3d6dbd0943803e965c14e8872e1081e42b1fb595 | [
"MIT"
] | 2 | 2020-04-01T16:17:43.000Z | 2021-01-18T09:03:18.000Z | src/MongoDB.Driver.Extensions/Paging/Requests/SimpleKeyRequest.cs | imperugo/MongoDB.Driver.Extensions | 3d6dbd0943803e965c14e8872e1081e42b1fb595 | [
"MIT"
] | null | null | null | src/MongoDB.Driver.Extensions/Paging/Requests/SimpleKeyRequest.cs | imperugo/MongoDB.Driver.Extensions | 3d6dbd0943803e965c14e8872e1081e42b1fb595 | [
"MIT"
] | 4 | 2018-11-27T11:35:34.000Z | 2020-06-25T13:42:35.000Z | namespace MongoDB.Driver.Extensions.Paging.Requests
{
public class SimpleKeyRequest<T>
{
public SimpleKeyRequest()
{
}
public SimpleKeyRequest(T id)
{
Id = id;
}
public virtual T Id { get; set; }
}
} | 17.625 | 52 | 0.521277 |
6df590020a3cacd7459b7f91ca111aa77f4ce4a4 | 516 | dart | Dart | lib/app/main_page/features/online_shop_main_page/presentation/pages/main_page/main_page_view_model.dart | Marcusjnr/online_shop_app | e3aa2cb90ec9730782200f050ac89d463820548d | [
"Apache-2.0"
] | 1 | 2022-03-16T23:58:34.000Z | 2022-03-16T23:58:34.000Z | lib/app/main_page/features/online_shop_main_page/presentation/pages/main_page/main_page_view_model.dart | Marcusjnr/online_shop_app | e3aa2cb90ec9730782200f050ac89d463820548d | [
"Apache-2.0"
] | null | null | null | lib/app/main_page/features/online_shop_main_page/presentation/pages/main_page/main_page_view_model.dart | Marcusjnr/online_shop_app | e3aa2cb90ec9730782200f050ac89d463820548d | [
"Apache-2.0"
] | null | null | null | import 'package:online_shop_app/app/base/base_view_model.dart';
import 'package:online_shop_app/app/main_page/features/online_shop_main_page/data/models/pastry_model.dart';
import 'package:online_shop_app/core/enums/pastry_type.dart';
import '../../bloc/get_local_mock_data/get_local_mock_data_cubit.dart';
class MainP... | 32.25 | 108 | 0.825581 |
cf3dfd91af002644d934cef5847a151f16f361d9 | 1,283 | lua | Lua | Lua/Mysteries/TheMarsBug.lua | dawnmist/SurvivingMars | 02a3dca12d10998c5fd0a077ca8939ef6b3d4dd3 | [
"BSD-Source-Code"
] | 94 | 2018-04-04T20:43:27.000Z | 2022-01-30T22:26:26.000Z | Lua/Mysteries/TheMarsBug.lua | dawnmist/SurvivingMars | 02a3dca12d10998c5fd0a077ca8939ef6b3d4dd3 | [
"BSD-Source-Code"
] | 4 | 2018-04-06T07:52:08.000Z | 2018-04-27T04:27:19.000Z | Lua/Mysteries/TheMarsBug.lua | dawnmist/SurvivingMars | 02a3dca12d10998c5fd0a077ca8939ef6b3d4dd3 | [
"BSD-Source-Code"
] | 26 | 2018-04-05T01:56:10.000Z | 2022-02-20T19:27:44.000Z | DefineClass.TheMarsBug = {
__parents = {"MysteryBase"},
scenario_name = "Mystery 8",
display_name = T(8067, "Wildfire (Hard)"),
rollover_text = T(8068, '"The worst pandemic in modern history was the Spanish flu of 1918, which killed tens of millions of people. Today, with how interconnected the world is, it wou... | 47.518519 | 234 | 0.758379 |
2fe401b5d59daf742b26e87d56c26284f5d7b47c | 1,953 | py | Python | eventsourcing/utils/cipher/aes.py | HanhThong/eventsourcing | 99c560cca7c6e9d59855bcd82c371794e1a8bfb9 | [
"BSD-3-Clause"
] | null | null | null | eventsourcing/utils/cipher/aes.py | HanhThong/eventsourcing | 99c560cca7c6e9d59855bcd82c371794e1a8bfb9 | [
"BSD-3-Clause"
] | null | null | null | eventsourcing/utils/cipher/aes.py | HanhThong/eventsourcing | 99c560cca7c6e9d59855bcd82c371794e1a8bfb9 | [
"BSD-3-Clause"
] | null | null | null | import zlib
import binascii
from base64 import b64decode, b64encode
from Crypto.Cipher import AES
from eventsourcing.exceptions import DataIntegrityError
from eventsourcing.utils.random import random_bytes
class AESCipher(object):
"""
Cipher strategy that uses Crypto library AES cipher in GCM mode.
"""... | 30.515625 | 84 | 0.642601 |
112262b87fd122c1c02b1ca5f26c182825368b21 | 2,715 | swift | Swift | Tests/JustSignalsTests/JustSignalsTests.swift | devandsev/JustSignals | b901c5e25e41dfc3d5559063e6b44c3ac2e06c8e | [
"MIT"
] | null | null | null | Tests/JustSignalsTests/JustSignalsTests.swift | devandsev/JustSignals | b901c5e25e41dfc3d5559063e6b44c3ac2e06c8e | [
"MIT"
] | null | null | null | Tests/JustSignalsTests/JustSignalsTests.swift | devandsev/JustSignals | b901c5e25e41dfc3d5559063e6b44c3ac2e06c8e | [
"MIT"
] | null | null | null | //
// JustSignalsTests.swift
// JustSignals
//
// Created by Andrey Sevrikov on 23/02/2018.
// Copyright © 2018 Andrey Sevrikov. All rights reserved.
//
import Foundation
import XCTest
@testable import JustSignals
class JustSignalsTests: XCTestCase {
// MARK: - Tests
func testFire() {
//... | 20.413534 | 65 | 0.474033 |
386a0d2519d79168e3aa7ad523e2f94eedaab06f | 1,910 | php | PHP | resources/views/admin/manufacturer/createManufacturer.blade.php | Robiulalam/laravelsmartshop | ba30233f80c09bdc279c5bafae2932871cbeda5c | [
"MIT"
] | null | null | null | resources/views/admin/manufacturer/createManufacturer.blade.php | Robiulalam/laravelsmartshop | ba30233f80c09bdc279c5bafae2932871cbeda5c | [
"MIT"
] | null | null | null | resources/views/admin/manufacturer/createManufacturer.blade.php | Robiulalam/laravelsmartshop | ba30233f80c09bdc279c5bafae2932871cbeda5c | [
"MIT"
] | null | null | null | @extends('admin.master')
@section('content')
<br/>
<hr/>
<h1 class="text-center text-success">Add Manufacturer Form</h1>
<hr/>
<h2 class="text-center text-success">{{ Session::get('message') }}</h2>
<hr/>
<div class="row">
<div class="col-sm-12">
<div class="well">
{!! Form::open(['url'=>'manufacturer/save', 'm... | 30.31746 | 132 | 0.627225 |
0ae6a958add0cbe7ef2a1ac31ad7a523b3e74d09 | 2,428 | cs | C# | Foundation/Server/Bit.Core/Contracts/IDependencyManager.cs | abidram/bit-framework | bf9af5c833afb5f6bb462c821e7510948f31918e | [
"MIT"
] | null | null | null | Foundation/Server/Bit.Core/Contracts/IDependencyManager.cs | abidram/bit-framework | bf9af5c833afb5f6bb462c821e7510948f31918e | [
"MIT"
] | null | null | null | Foundation/Server/Bit.Core/Contracts/IDependencyManager.cs | abidram/bit-framework | bf9af5c833afb5f6bb462c821e7510948f31918e | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using System.Reflection;
using System;
namespace Foundation.Core.Contracts
{
public enum DependencyLifeCycle
{
SingleInstance,
InstancePerLifetimeScope
}
public interface IDependencyResolver : IServiceProvider, IDisposable
{
TContract Reso... | 37.9375 | 139 | 0.739703 |
0d08ba7f68c818d15219decb5a904ca9f4c9b2b7 | 109 | rb | Ruby | src/app/models/article.rb | sourabhedake/rate-it | 0016883a292f9f2f4a98e68ea4f75ff0c7099325 | [
"MIT"
] | null | null | null | src/app/models/article.rb | sourabhedake/rate-it | 0016883a292f9f2f4a98e68ea4f75ff0c7099325 | [
"MIT"
] | 4 | 2020-06-17T09:11:45.000Z | 2021-09-28T03:51:05.000Z | src/app/models/article.rb | sourabhedake/rate-it | 0016883a292f9f2f4a98e68ea4f75ff0c7099325 | [
"MIT"
] | null | null | null | class Article
include Mongoid::Document
field :art_id, type: Integer
field :art_name, type: String
end
| 18.166667 | 31 | 0.752294 |
b8a4aa08300cb194220a048212c03ef9320f9d3c | 3,213 | lua | Lua | core/languages.lua | simoncozens/sile | 566eaccb19c0c6800f15f1cf43b273d17370f8ba | [
"MIT"
] | 630 | 2015-01-05T00:16:29.000Z | 2019-09-11T03:53:45.000Z | core/languages.lua | simoncozens/sile | 566eaccb19c0c6800f15f1cf43b273d17370f8ba | [
"MIT"
] | 586 | 2015-01-06T03:14:51.000Z | 2019-09-16T10:32:44.000Z | core/languages.lua | simoncozens/sile | 566eaccb19c0c6800f15f1cf43b273d17370f8ba | [
"MIT"
] | 101 | 2015-01-13T14:11:15.000Z | 2019-08-22T12:26:20.000Z | local loadkit = require("loadkit")
local cldr = require("cldr")
loadkit.register("ftl", function (file)
local contents = assert(file:read("*a"))
file:close()
return assert(SILE.fluent:add_messages(contents))
end)
SILE.languageSupport = {
languages = {},
loadLanguage = function (language)
language = lang... | 35.307692 | 89 | 0.70526 |
c9bfabb7d7798394df6c3f66120287e679e16f46 | 1,721 | ts | TypeScript | packages/dx-grid-core/src/utils/group-panel.ts | justincasey/devextreme-reactive | b026219116c1374eb548541f947a899f32bb7dd1 | [
"Apache-2.0"
] | 1,955 | 2017-05-16T12:16:27.000Z | 2022-03-27T17:29:41.000Z | packages/dx-grid-core/src/utils/group-panel.ts | MaximKudriavtsev/devextreme-reactive | 2ccbc84239bfc00bff5de2172678682cc5328ad2 | [
"Apache-2.0"
] | 1,812 | 2017-05-17T07:33:28.000Z | 2022-03-24T00:11:06.000Z | packages/dx-grid-core/src/utils/group-panel.ts | MaximKudriavtsev/devextreme-reactive | 2ccbc84239bfc00bff5de2172678682cc5328ad2 | [
"Apache-2.0"
] | 395 | 2017-05-16T11:01:00.000Z | 2022-03-15T05:47:50.000Z | import { getTargetColumnGeometries } from './column-geometries';
import { TargetColumnGeometry, GetGroupCellTargetIndexFn } from '../types';
import { PureComputed } from '@devexpress/dx-core';
const isOnTheSameLine: PureComputed<[TargetColumnGeometry, number], boolean> = (geometry, y) => (
y >= geometry.top && y <= ... | 33.745098 | 97 | 0.67054 |
c4cbe47d20eb60dbe65c1355487554b4fd602940 | 2,043 | dart | Dart | chapter_5/step_2_navigator_one/lib/src/ui/story/story_web_view.dart | PacktPublishing/Flutter-UI-Projects-for-iOS-Android-Web | fde7b6b95332ad05114930c72ed8b74a785fffc5 | [
"MIT"
] | 5 | 2021-12-27T08:41:00.000Z | 2022-03-27T22:53:27.000Z | chapter_5/step_2_navigator_one/lib/src/ui/story/story_web_view.dart | PacktPublishing/Flutter-UI-Projects-for-iOS-Android-Web | fde7b6b95332ad05114930c72ed8b74a785fffc5 | [
"MIT"
] | 3 | 2021-12-05T12:21:43.000Z | 2022-01-17T17:34:18.000Z | chapter_5/step_2_navigator_one/lib/src/ui/story/story_web_view.dart | PacktPublishing/Flutter-UI-Projects-for-iOS-Android-Web | fde7b6b95332ad05114930c72ed8b74a785fffc5 | [
"MIT"
] | 1 | 2021-12-27T08:41:01.000Z | 2021-12-27T08:41:01.000Z | import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:hacker_news/src/data/models/story.dart';
import 'package:hacker_news/src/ui/story/story_controller.dart';
import 'package:provider/provider.dart';
import 'package:webview_flutter/web... | 27.986301 | 75 | 0.623103 |
58147ea45a43868d286b9b2dacc05f2eb7c3d551 | 220 | css | CSS | src/components/global/main/main.css | calumryan/culturebook-frontend | 503442e9ff0d7279160c63d17c782c9cec05e57c | [
"MIT"
] | null | null | null | src/components/global/main/main.css | calumryan/culturebook-frontend | 503442e9ff0d7279160c63d17c782c9cec05e57c | [
"MIT"
] | null | null | null | src/components/global/main/main.css | calumryan/culturebook-frontend | 503442e9ff0d7279160c63d17c782c9cec05e57c | [
"MIT"
] | null | null | null | .c-main {
background-color: $navigation-color--offset;
@media (--upto-medium-screen) {
margin-top: $banner-height--small;
}
@media (--from-medium-screen) {
margin-right: $navigation-width--large;
}
}
| 18.333333 | 46 | 0.636364 |
126dc99dd469dca6a99812f2625f49e22e4422c7 | 2,459 | cs | C# | Game/Simulation/Village.cs | nshcat/asciikingdom | 84dea7bfa8efce8396b36659b14b9ef9bccb4c67 | [
"MIT"
] | null | null | null | Game/Simulation/Village.cs | nshcat/asciikingdom | 84dea7bfa8efce8396b36659b14b9ef9bccb4c67 | [
"MIT"
] | null | null | null | Game/Simulation/Village.cs | nshcat/asciikingdom | 84dea7bfa8efce8396b36659b14b9ef9bccb4c67 | [
"MIT"
] | null | null | null | using System.Collections.Generic;
using Engine.Core;
using Engine.Graphics;
using Game.Serialization;
namespace Game.Simulation
{
/// <summary>
/// A village is a small settlement associated with a city which produces basic, raw resources and is
/// taxed by its associated city.
/// </summary>
publ... | 32.786667 | 105 | 0.55063 |
58ce390ae387a3ae7b5b0f58d595c1977e86c07d | 3,882 | css | CSS | static/css/style.css | lamproslntz/cbir-deep-learning | 34a43cbe28afd4af49612c6e8010587b54a0656a | [
"MIT"
] | 2 | 2021-11-24T19:59:32.000Z | 2021-11-26T14:32:31.000Z | static/css/style.css | lamproslntz/cbir-deep-learning | 34a43cbe28afd4af49612c6e8010587b54a0656a | [
"MIT"
] | null | null | null | static/css/style.css | lamproslntz/cbir-deep-learning | 34a43cbe28afd4af49612c6e8010587b54a0656a | [
"MIT"
] | 1 | 2022-01-21T15:31:14.000Z | 2022-01-21T15:31:14.000Z | :root {
--white: #fff;
--black: #000;
--rose-taupe: rgb(141, 95, 91);
--rose-taupe-trans: rgba(141, 95, 91, 0.6);
--auburn-wave: #d8a194
}
/* General */
* {
margin: 0;
padding: 0;
}
::-webkit-scrollbar {
display: none;
}
body {
color: var(--black);
background: var(--white);
... | 17.026316 | 77 | 0.549717 |
c68a486d7e57618b6a75d692580cd9766a6cce63 | 7,495 | css | CSS | public_html/style.css | juliocnsouzadev/SunAndEarth | f803aff03ffd58639007be2b9f83e838e2d48c11 | [
"MIT"
] | null | null | null | public_html/style.css | juliocnsouzadev/SunAndEarth | f803aff03ffd58639007be2b9f83e838e2d48c11 | [
"MIT"
] | null | null | null | public_html/style.css | juliocnsouzadev/SunAndEarth | f803aff03ffd58639007be2b9f83e838e2d48c11 | [
"MIT"
] | null | null | null | html, body {
/* The universe takes up all available space */
width: 100%;
height: 100%;
/* The universe is black */
background-color: black;
}
#sun {
position: absolute;
/* Positions the top-left corner of the image to be *
/* in the middle of the box */
top: 50%;
left: 50%;
... | 20.534247 | 57 | 0.611608 |
ab770b0612c04c28b1f996fb8ea5e460700f516d | 985 | sql | SQL | src/main/resources/resources/cohortanalysis/heraclesanalyses/sql/600_601.sql | patrickfischer1/WebAPI | 759334d4161267b1f728a624590b566bb64abaec | [
"Apache-2.0"
] | 99 | 2015-01-06T18:24:25.000Z | 2022-03-10T16:34:04.000Z | src/main/resources/resources/cohortanalysis/heraclesanalyses/sql/600_601.sql | patrickfischer1/WebAPI | 759334d4161267b1f728a624590b566bb64abaec | [
"Apache-2.0"
] | 1,261 | 2015-01-01T17:33:35.000Z | 2022-03-28T18:16:27.000Z | src/main/resources/resources/cohortanalysis/heraclesanalyses/sql/600_601.sql | patrickfischer1/WebAPI | 759334d4161267b1f728a624590b566bb64abaec | [
"Apache-2.0"
] | 159 | 2015-01-12T13:39:42.000Z | 2022-03-15T13:39:31.000Z | -- @analysisId @analysisName
--insert into @results_schema.heracles_results (cohort_definition_id, analysis_id, stratum_1, count_value)
select c1.cohort_definition_id,
@analysisId as analysis_id,
po1.procedure_CONCEPT_ID as stratum_1,
cast( '' as varchar(1) ) as stratum_2, cast( '' as varchar(1) ) ... | 36.481481 | 118 | 0.745178 |
0a83308032a8190b1358e31968bea22966e45ecf | 546 | rs | Rust | examples/views/zstack.rs | robbert-vdh/vizia | a84c7258072f22fd2ad92f91b92a7cebbed2b118 | [
"MIT"
] | 53 | 2021-10-30T14:36:21.000Z | 2022-02-16T17:14:12.000Z | examples/views/zstack.rs | robbert-vdh/vizia | a84c7258072f22fd2ad92f91b92a7cebbed2b118 | [
"MIT"
] | 35 | 2022-02-22T22:14:40.000Z | 2022-03-31T17:09:42.000Z | examples/views/zstack.rs | robbert-vdh/vizia | a84c7258072f22fd2ad92f91b92a7cebbed2b118 | [
"MIT"
] | 8 | 2021-12-18T17:29:02.000Z | 2022-02-10T00:39:43.000Z | use vizia::prelude::*;
const COLORS: [Color; 3] = [Color::red(), Color::green(), Color::blue()];
fn main() {
Application::new(|cx| {
ZStack::new(cx, |cx| {
for i in 0..3 {
Element::new(cx)
.size(Pixels(100.0))
.top(Pixels(10.0 * i as f32)... | 24.818182 | 73 | 0.415751 |
8de629bbb6524f78415a4748037cb2c0ce3e4ad0 | 5,276 | js | JavaScript | App UI/app/screens/register/register.js | ApurvaBiswas5899/WIT-ACE-Call-for-code-Team-Eternals | edd7a9e093df3423c452fa6403d33c1be9f6b3de | [
"Apache-2.0",
"MIT"
] | null | null | null | App UI/app/screens/register/register.js | ApurvaBiswas5899/WIT-ACE-Call-for-code-Team-Eternals | edd7a9e093df3423c452fa6403d33c1be9f6b3de | [
"Apache-2.0",
"MIT"
] | null | null | null | App UI/app/screens/register/register.js | ApurvaBiswas5899/WIT-ACE-Call-for-code-Team-Eternals | edd7a9e093df3423c452fa6403d33c1be9f6b3de | [
"Apache-2.0",
"MIT"
] | null | null | null | import React from 'react';
import {
Text,
View,
Image,
TextInput,
SafeAreaView,
Pressable,
} from 'react-native';
import {ScrollView} from 'react-native-gesture-handler';
import {COLORS} from '../../constants';
import viewStyle from '../../screenStyle';
import ProcessButton from '../../components/proceed_bu... | 26.248756 | 67 | 0.511751 |
f1afee5b6a70f71c3a03b2e738bd5003ba1795f8 | 19,242 | lua | Lua | Contents/mods/FishingPlus/media/lua/client/FishingPlus.lua | MassCraxx/FishingPlus | 4ad32897e0ccd0200c54f2af0645bc9ad19ecd01 | [
"MIT"
] | null | null | null | Contents/mods/FishingPlus/media/lua/client/FishingPlus.lua | MassCraxx/FishingPlus | 4ad32897e0ccd0200c54f2af0645bc9ad19ecd01 | [
"MIT"
] | null | null | null | Contents/mods/FishingPlus/media/lua/client/FishingPlus.lua | MassCraxx/FishingPlus | 4ad32897e0ccd0200c54f2af0645bc9ad19ecd01 | [
"MIT"
] | null | null | null | --***********************************************************
--** Fishing+ v1 **
--** MassCraxx + ROBERT JOHNSON **
--***********************************************************
--[[
[h1]Vanilla Fishing Rework[/h1]
[h3]Features:[/h3]
> [b]Adds fea... | 40.766949 | 194 | 0.631379 |
fe8254500cc297409375f8d82dec1011937511ee | 665 | lua | Lua | nvim/lua/default_theme/init.lua | DanCarzano/dotfiles-awesomewm | 0742d5386648e21ea8ad9220e170859749c83964 | [
"MIT"
] | 1 | 2022-03-31T14:27:14.000Z | 2022-03-31T14:27:14.000Z | nvim/lua/default_theme/init.lua | DanCarzano/dotfiles-awesomewm | 0742d5386648e21ea8ad9220e170859749c83964 | [
"MIT"
] | null | null | null | nvim/lua/default_theme/init.lua | DanCarzano/dotfiles-awesomewm | 0742d5386648e21ea8ad9220e170859749c83964 | [
"MIT"
] | null | null | null | vim.cmd "hi clear"
if vim.fn.exists "syntax_on" then
vim.cmd "syntax reset"
end
vim.o.background = "dark"
vim.o.termguicolors = true
vim.g.colors_name = "default_theme"
local user_plugin_opts = require("core.utils").user_plugin_opts
local util = require "default_theme.util"
local modules = {
"base",
"treesitte... | 21.451613 | 92 | 0.732331 |