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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b0d655bff2c524cde32371e2fe7001bcfc80c9cd | 781 | py | Python | test/test_haplotype.py | til-unc/mhcgnomes | 0bfbe193daeb7cd38d958222f6071dd657e9fb6e | [
"Apache-2.0"
] | 6 | 2020-10-27T15:31:32.000Z | 2020-11-29T03:26:06.000Z | test/test_haplotype.py | til-unc/mhcgnomes | 0bfbe193daeb7cd38d958222f6071dd657e9fb6e | [
"Apache-2.0"
] | 4 | 2020-10-27T14:57:16.000Z | 2020-11-04T21:56:39.000Z | test/test_haplotype.py | pirl-unc/mhcgnomes | 0bfbe193daeb7cd38d958222f6071dd657e9fb6e | [
"Apache-2.0"
] | null | null | null | from mhcgnomes import Haplotype, parse, Species, Parser
from nose.tools import eq_
def test_H2_a_in_species_haplotypes_dictionary():
species = Species.get("H2")
assert species is not None
assert "a" in species.haplotypes
def test_get_H2a_haplotype():
parser = Parser()
result = parser.get_haplotype... | 26.931034 | 55 | 0.708067 |
cdc3660f0a40604304a91693fe7b4c423eacb6ee | 1,161 | sql | SQL | Src/Entity.Database/EntityCode/Stored Procedures/VentureOptionSave.sql | goodtocode/Entities | 134a692973c80ccd417b36e303e9e28dc05c3bb9 | [
"Apache-2.0"
] | 1 | 2020-08-13T00:49:48.000Z | 2020-08-13T00:49:48.000Z | Src/Entity.Database/EntityCode/Stored Procedures/VentureOptionSave.sql | goodtocode/Entities | 134a692973c80ccd417b36e303e9e28dc05c3bb9 | [
"Apache-2.0"
] | null | null | null | Src/Entity.Database/EntityCode/Stored Procedures/VentureOptionSave.sql | goodtocode/Entities | 134a692973c80ccd417b36e303e9e28dc05c3bb9 | [
"Apache-2.0"
] | 1 | 2021-03-07T03:04:34.000Z | 2021-03-07T03:04:34.000Z | Create PROCEDURE [EntityCode].[VentureOptionSave]
@Id Int,
@Key Uniqueidentifier,
@VentureKey Uniqueidentifier,
@OptionKey Uniqueidentifier
AS
-- Id and Key are both valid. Sync now.
If (@Id <> -1) Select Top 1 @Key = IsNull([VentureOptionKey], @Key) From [Entity].[Ve... | 38.7 | 176 | 0.664944 |
8ef7b80ea9578b902bf2009fd655cec53511acbc | 206 | rb | Ruby | app/helpers/feed_helper.rb | nicklevenson/me-mix-3 | a3a10d2723d2a492f8d76c7f54c9e313ac0c749e | [
"Unlicense"
] | 3 | 2021-01-22T23:31:29.000Z | 2021-04-28T20:21:07.000Z | app/helpers/feed_helper.rb | nicklevenson/me-mix-3 | a3a10d2723d2a492f8d76c7f54c9e313ac0c749e | [
"Unlicense"
] | null | null | null | app/helpers/feed_helper.rb | nicklevenson/me-mix-3 | a3a10d2723d2a492f8d76c7f54c9e313ac0c749e | [
"Unlicense"
] | null | null | null | module FeedHelper
def no_feed
if @mixes.empty?
content_tag :h1, "This is where you'll see mixes by people you have followed. So go follow some people!", class: "jumbotron"
end
end
end
| 22.888889 | 131 | 0.684466 |
4dceb87325162d4f31e8caa0a436105956c88b61 | 3,968 | cs | C# | Src/RawHisDataCollect/RawDataCollect/RealDataMonWSS/Program.cs | knifecaojia/CoinsPro | 1ace0fd69289ab63d4406094c312402f9fa70d37 | [
"Apache-2.0"
] | null | null | null | Src/RawHisDataCollect/RawDataCollect/RealDataMonWSS/Program.cs | knifecaojia/CoinsPro | 1ace0fd69289ab63d4406094c312402f9fa70d37 | [
"Apache-2.0"
] | null | null | null | Src/RawHisDataCollect/RawDataCollect/RealDataMonWSS/Program.cs | knifecaojia/CoinsPro | 1ace0fd69289ab63d4406094c312402f9fa70d37 | [
"Apache-2.0"
] | 1 | 2021-02-25T02:23:34.000Z | 2021-02-25T02:23:34.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SuperSocket.ClientEngine;
using WebSocket4Net;
using Quobject.SocketIoClientDotNet.Client;
using Newtonsoft.Json.Linq;
namespace RealDataMonWSS
{
class Program
{
static WebSocket ... | 35.428571 | 107 | 0.530998 |
af498e8f8f7c07e2e41f8b3ca471ffcdd1b0c170 | 470 | py | Python | tests/unit/test_arg_parse.py | cloud-gov/external-domain-broker-migrator | 6f827b3242e6d45e29d3e2404955cbea9ae1a25b | [
"CC0-1.0"
] | 1 | 2020-08-14T22:53:03.000Z | 2020-08-14T22:53:03.000Z | tests/unit/test_arg_parse.py | cloud-gov/external-domain-broker-migrator | 6f827b3242e6d45e29d3e2404955cbea9ae1a25b | [
"CC0-1.0"
] | 63 | 2020-08-14T20:07:53.000Z | 2021-12-20T21:39:07.000Z | tests/unit/test_arg_parse.py | cloud-gov/external-domain-broker-migrator | 6f827b3242e6d45e29d3e2404955cbea9ae1a25b | [
"CC0-1.0"
] | null | null | null | import pytest
from migrator.__main__ import parse_args
def test_arg_parse_fails_with_no_args():
with pytest.raises(SystemExit):
parse_args([])
def test_arg_parse_returns_cron_for_cron():
parsed = parse_args(["--cron"])
assert parsed.cron
assert not parsed.instance
def test_arg_parse_retur... | 22.380952 | 52 | 0.731915 |
a392e317e4e494b5450ea77bf6eb2ad95556889e | 499 | java | Java | DataStructures And Algorithms/src/searchingandsorting/IsNumberInAP.java | faiz-siddiqh/DatastructuresAndAlgorithms | 470ecc05e3ec9a4c10c5a15f0912610c355bc60a | [
"MIT"
] | null | null | null | DataStructures And Algorithms/src/searchingandsorting/IsNumberInAP.java | faiz-siddiqh/DatastructuresAndAlgorithms | 470ecc05e3ec9a4c10c5a15f0912610c355bc60a | [
"MIT"
] | null | null | null | DataStructures And Algorithms/src/searchingandsorting/IsNumberInAP.java | faiz-siddiqh/DatastructuresAndAlgorithms | 470ecc05e3ec9a4c10c5a15f0912610c355bc60a | [
"MIT"
] | null | null | null | package searchingandsorting;
public class IsNumberInAP {
public static void main(String[] args) {
int firstNumber = 1;
int number = 2;
int diff = 3;
System.out.println(isNumberInAP(firstNumber, number, diff));
}
private static int isNumberInAP(int A, int B, int C) {
if (C == 0)
if (A == B)
retu... | 16.096774 | 62 | 0.599198 |
c38737d34d8011cadce1ce768b3a0ff8c494c5e9 | 2,168 | cs | C# | src/Common.ANCore/Middleware/LogResponseMiddleware.cs | b-a-x/Common | f1e00e28ff6341e3f4928dd1796790907137d242 | [
"Apache-2.0"
] | null | null | null | src/Common.ANCore/Middleware/LogResponseMiddleware.cs | b-a-x/Common | f1e00e28ff6341e3f4928dd1796790907137d242 | [
"Apache-2.0"
] | null | null | null | src/Common.ANCore/Middleware/LogResponseMiddleware.cs | b-a-x/Common | f1e00e28ff6341e3f4928dd1796790907137d242 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Diagnostics.CodeAnalysis;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Common.Core.Helpers;
using Common.Core.Utilities;
using Common.Core.Extensions;
using Common.Core.Structs;
namespace Common.... | 35.540984 | 123 | 0.640221 |
b11454c8b7f0b0802d600645110af040b5f27b63 | 1,603 | py | Python | fb_api/models.py | felipecerinzasick/blog | fbe2b3d7ecc2937a31a925d50f7112a299b9da3e | [
"MIT"
] | null | null | null | fb_api/models.py | felipecerinzasick/blog | fbe2b3d7ecc2937a31a925d50f7112a299b9da3e | [
"MIT"
] | null | null | null | fb_api/models.py | felipecerinzasick/blog | fbe2b3d7ecc2937a31a925d50f7112a299b9da3e | [
"MIT"
] | null | null | null | from django.contrib.postgres.fields import JSONField
from django.db import models
from django.utils.translation import ugettext_lazy as _
from social_django.models import UserSocialAuth
from fb_api.api_caller import ApiParser
class FbAdAccount(models.Model):
fb_acc = models.ForeignKey(
UserSocialAuth,
... | 29.685185 | 121 | 0.694947 |
bb4ae888312bc571b7599dce10e9367fee4a4730 | 884 | cs | C# | CosmosDB.Gremlin.Fluent/Functions/Local.cs | AieatAssam/CosmosDB.Gremlin.Fluent | ce8998feb8382f0dfed4737e7f31c2403116463f | [
"Apache-2.0"
] | 4 | 2019-08-05T11:59:28.000Z | 2021-08-05T14:14:38.000Z | CosmosDB.Gremlin.Fluent/Functions/Local.cs | AieatAssam/CosmosDB.Gremlin.Fluent | ce8998feb8382f0dfed4737e7f31c2403116463f | [
"Apache-2.0"
] | 1 | 2019-11-08T07:21:59.000Z | 2020-06-10T08:46:58.000Z | CosmosDB.Gremlin.Fluent/Functions/Local.cs | AieatAssam/CosmosDB.Gremlin.Fluent | ce8998feb8382f0dfed4737e7f31c2403116463f | [
"Apache-2.0"
] | 1 | 2019-07-31T15:28:26.000Z | 2019-07-31T15:28:26.000Z | namespace CosmosDB.Gremlin.Fluent.Functions
{
#pragma warning disable 1591
public static class LocalFunction
#pragma warning restore 1591
{
/// <summary>
/// A GraphTraversal operates on a continuous stream of objects. In many situations, it is important to
/// operate on a single elemen... | 38.434783 | 111 | 0.624434 |
fa76f2a5bd3168cbb8ee82bc71207df63652087a | 340 | cpp | C++ | Fundamental/00Intro/introTest.cpp | syahravi/CppCodes | e6369c75e9152a59ee4352b402a55d26ff88402e | [
"MIT"
] | null | null | null | Fundamental/00Intro/introTest.cpp | syahravi/CppCodes | e6369c75e9152a59ee4352b402a55d26ff88402e | [
"MIT"
] | null | null | null | Fundamental/00Intro/introTest.cpp | syahravi/CppCodes | e6369c75e9152a59ee4352b402a55d26ff88402e | [
"MIT"
] | null | null | null | /*Introduction: Test!
*
* 1. Buat kode Cpp yang "layak".
* 2. Beri komentar.
* 3. Kompilasi kode dengan IDE dan atau 'g++' pada text editor
* 4. Eksekusi program dan pahami yang terjadi.
*/
// Buat program yang layak berdasarkan kode di bawah ini
#include ...
using namespace ...
... {
...
}
// Program di atas... | 18.888889 | 63 | 0.658824 |
cc0493c0a9d8df1daf40df86d0af6c3c2900f776 | 323 | rb | Ruby | samples/sprues/_mints.rb | mzemel/squib | f141c9773a12d49b1e9ac92baf64a153a82ede01 | [
"MIT"
] | 935 | 2015-01-02T17:43:36.000Z | 2022-03-23T02:38:01.000Z | samples/sprues/_mints.rb | mzemel/squib | f141c9773a12d49b1e9ac92baf64a153a82ede01 | [
"MIT"
] | 324 | 2015-01-02T16:36:25.000Z | 2022-03-25T17:26:35.000Z | samples/sprues/_mints.rb | mzemel/squib | f141c9773a12d49b1e9ac92baf64a153a82ede01 | [
"MIT"
] | 97 | 2015-01-01T03:20:22.000Z | 2022-03-15T11:21:52.000Z | require 'squib'
# An example deck that uses "mint" sized cards (e.g. Altoids).
# These cards are pretty small but comfortably fit in a mint tin
Squib::Deck.new(cards: 21, width: '54.0mm', height: '68.0mm') do
background color: :gray
rect
text str: (1..21).to_a
save_pdf sprue: 'my_sprues/us_letter_mints.yml'
e... | 26.916667 | 64 | 0.708978 |
2f0b82ce9be848a9e8b1872c48d14bdcb4f4a144 | 379 | js | JavaScript | dist/spa/js/2d0decf2.1c05082e.js | Mary-Tyler-Moore/VeeValidate-Quasar | e3672e420d96bb4e1eebd002c13cc81ea16f58d3 | [
"MIT"
] | null | null | null | dist/spa/js/2d0decf2.1c05082e.js | Mary-Tyler-Moore/VeeValidate-Quasar | e3672e420d96bb4e1eebd002c13cc81ea16f58d3 | [
"MIT"
] | null | null | null | dist/spa/js/2d0decf2.1c05082e.js | Mary-Tyler-Moore/VeeValidate-Quasar | e3672e420d96bb4e1eebd002c13cc81ea16f58d3 | [
"MIT"
] | null | null | null | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["2d0decf2"],{"86db":function(t,e,n){"use strict";n.r(e);var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("q-page",{attrs:{padding:""}},[n("div",{staticClass:"text-h4"},[t._v("Nested Routing Demo")])])},a=[],c={},d=c,i=n("2877"),l=Object(i... | 379 | 379 | 0.622691 |
6dfa68c86098b9d510b434a796b2880444c009a2 | 2,093 | dart | Dart | lib/common_widgets/question/QuestionButton.dart | teambeca/beca-app | 4a837c0d2344316a295201b5f555bf0e016c6acc | [
"MIT"
] | 2 | 2020-07-29T02:56:15.000Z | 2020-07-29T15:42:43.000Z | lib/common_widgets/question/QuestionButton.dart | teambeca/beca-app | 4a837c0d2344316a295201b5f555bf0e016c6acc | [
"MIT"
] | null | null | null | lib/common_widgets/question/QuestionButton.dart | teambeca/beca-app | 4a837c0d2344316a295201b5f555bf0e016c6acc | [
"MIT"
] | null | null | null | import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:beca_app/bloc/question_bloc.dart';
import 'package:flutter/material.dart';
class QuestionButton extends StatelessWidget {
const QuestionButton({
Key key,
@required List<int> answer,
}) : _answer = answer,
super(key: key);
final Li... | 32.2 | 80 | 0.635452 |
da9bcc11ecb51c296b61d4dc1e6008e03834b57f | 7,014 | swift | Swift | OceanComponents/Classes/Components/NavigationBar/Ocean+NavigationBar.swift | Pagnet/ocean-ds-ios | f0ef037883ad0cb70011a06ad8148e6cf36f3ae9 | [
"MIT"
] | 1 | 2020-08-27T17:01:00.000Z | 2020-08-27T17:01:00.000Z | OceanComponents/Classes/Components/NavigationBar/Ocean+NavigationBar.swift | Pagnet/ocean-ds-ios | f0ef037883ad0cb70011a06ad8148e6cf36f3ae9 | [
"MIT"
] | 1 | 2020-08-27T17:33:06.000Z | 2020-08-27T17:33:06.000Z | OceanComponents/Classes/Components/NavigationBar/Ocean+NavigationBar.swift | Pagnet/ocean-ds-ios | f0ef037883ad0cb70011a06ad8148e6cf36f3ae9 | [
"MIT"
] | 1 | 2020-08-26T17:07:59.000Z | 2020-08-26T17:07:59.000Z | //
// Ocean+NavigationBar.swift
// Blu
//
// Created by Pedro Azevedo on 27/02/21.
// Copyright © 2021 Blu. All rights reserved.
//
import OceanTokens
import UIKit
public protocol OceanNavigationBar: UIViewController {
var navigationBackImage: UIImage? { get }
var navigationTitle: String { get }
var n... | 38.538462 | 205 | 0.631024 |
6d882dbbcb247e85a0bf9723d60278554a5eb53a | 19,367 | h | C | include/craftd/protocols/survival/Packet.h | PrecipiceGames/craftd | 237b9ef3063736380414a459fe4261781570ef39 | [
"BSD-2-Clause"
] | 2 | 2015-07-08T08:22:13.000Z | 2016-04-23T13:34:46.000Z | include/craftd/protocols/survival/Packet.h | PrecipiceGames/craftd | 237b9ef3063736380414a459fe4261781570ef39 | [
"BSD-2-Clause"
] | null | null | null | include/craftd/protocols/survival/Packet.h | PrecipiceGames/craftd | 237b9ef3063736380414a459fe4261781570ef39 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2010-2011 Kevin M. Bowling, <kevin.bowling@kev009.com>, USA
* 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 co... | 20.06943 | 111 | 0.673155 |
60ce6a3aa97cbe28106d6122059537a7113d5831 | 60,900 | css | CSS | module.min.css | JoopSoft/JSImageRotator | 6f9489f25f93db73c1d121f26bbe669ad06d1e56 | [
"MIT"
] | null | null | null | module.min.css | JoopSoft/JSImageRotator | 6f9489f25f93db73c1d121f26bbe669ad06d1e56 | [
"MIT"
] | null | null | null | module.min.css | JoopSoft/JSImageRotator | 6f9489f25f93db73c1d121f26bbe669ad06d1e56 | [
"MIT"
] | null | null | null | @keyframes roll{0%{transform:rotate(0);}100%{transform:rotate(360deg);}}.JSRotator *{-webkit-box-sizing:border-box !important;-moz-box-sizing:border-box !important;-o-box-sizing:border-box !important;box-sizing:border-box !important;}.JSRotator .link-dev{float:right;font-size:12px;color:#fff;margin-top:6px;}.JSRotator... | 60,900 | 60,900 | 0.790131 |
dd5db830793416316a0c80e82605925ff03b8fe6 | 1,984 | java | Java | pinot-tools/src/main/java/org/apache/pinot/tools/admin/command/filesystem/BaseFileOperation.java | WangCHX/pinot | ae02ecefa4b4367fc3547fa5bfb718d63b45b477 | [
"Apache-2.0"
] | 2,144 | 2015-06-10T16:02:11.000Z | 2018-11-08T07:59:13.000Z | pinot-tools/src/main/java/org/apache/pinot/tools/admin/command/filesystem/BaseFileOperation.java | WangCHX/pinot | ae02ecefa4b4367fc3547fa5bfb718d63b45b477 | [
"Apache-2.0"
] | 1,894 | 2015-06-11T05:17:48.000Z | 2018-11-09T19:22:27.000Z | pinot-tools/src/main/java/org/apache/pinot/tools/admin/command/filesystem/BaseFileOperation.java | WangCHX/pinot | ae02ecefa4b4367fc3547fa5bfb718d63b45b477 | [
"Apache-2.0"
] | 418 | 2015-06-10T15:53:06.000Z | 2018-11-09T00:05:06.000Z | /**
* 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... | 33.627119 | 95 | 0.762601 |
2d6e2eb6dcf027ec01cb4ad5de59c46c3f7c2fe3 | 3,388 | css | CSS | css/timeline.css | sharmaashish/Timeline-Bootstrap | c3837390c68c273f1d41fc542d7e2ba59955bbd7 | [
"Apache-2.0"
] | null | null | null | css/timeline.css | sharmaashish/Timeline-Bootstrap | c3837390c68c273f1d41fc542d7e2ba59955bbd7 | [
"Apache-2.0"
] | null | null | null | css/timeline.css | sharmaashish/Timeline-Bootstrap | c3837390c68c273f1d41fc542d7e2ba59955bbd7 | [
"Apache-2.0"
] | 1 | 2021-11-15T15:30:22.000Z | 2021-11-15T15:30:22.000Z | /*
Copyright (C) 2013 Shaohuan Li <shaohuan.li@gmail.com>, Ashish Sharma <ashish.sharma@emory.edu>
This file is part of A Timeline Viewer of Patient Medical Records developed under the Google of Summer of Code 2013 program.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file excep... | 21.858065 | 305 | 0.695396 |
99bba7c66a329f6731967e8732406513dd9a39cf | 163 | sql | SQL | Union - Copy.sql | StarcadeDesigns/SQL-Learning | f7eb2730f40f43e18c141e62f43c2f0b83b8561f | [
"MIT"
] | null | null | null | Union - Copy.sql | StarcadeDesigns/SQL-Learning | f7eb2730f40f43e18c141e62f43c2f0b83b8561f | [
"MIT"
] | null | null | null | Union - Copy.sql | StarcadeDesigns/SQL-Learning | f7eb2730f40f43e18c141e62f43c2f0b83b8561f | [
"MIT"
] | null | null | null | --2 queries - 1 result- 1 table
select id, name, age
from Adventurer
where age >45
or age <20
union all
select id, name, age
from adventurer
where MagicYN = 1 | 13.583333 | 31 | 0.717791 |
f434eb77f2d7f612596cb5e65f6b85dc1919c8a7 | 5,298 | cs | C# | SaTeatar.Mobile/SaTeatar.Mobile/ViewModels/KorpaViewModel.cs | eminafit/SaTeatar | 1906906888d663b1369ea2f4f50a1cf8a74941e9 | [
"MIT"
] | null | null | null | SaTeatar.Mobile/SaTeatar.Mobile/ViewModels/KorpaViewModel.cs | eminafit/SaTeatar | 1906906888d663b1369ea2f4f50a1cf8a74941e9 | [
"MIT"
] | null | null | null | SaTeatar.Mobile/SaTeatar.Mobile/ViewModels/KorpaViewModel.cs | eminafit/SaTeatar | 1906906888d663b1369ea2f4f50a1cf8a74941e9 | [
"MIT"
] | 1 | 2021-09-25T09:11:11.000Z | 2021-09-25T09:11:11.000Z | using QRCoder;
using SaTeatar.Mobile.Helpers;
using SaTeatar.Model.Models;
using SaTeatar.Model.Requests;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
namespace SaTeat... | 34.855263 | 146 | 0.506984 |
4f219fc69e9791d8097b1f72c3b7145dc3001596 | 1,310 | ps1 | PowerShell | chocolatey-visualstudio.extension/extensions/Get-VisualStudioInstance.ps1 | kc/ChocolateyPackages | a81267a008d6be8d37aaad09e4e470f260e98c77 | [
"MIT"
] | null | null | null | chocolatey-visualstudio.extension/extensions/Get-VisualStudioInstance.ps1 | kc/ChocolateyPackages | a81267a008d6be8d37aaad09e4e470f260e98c77 | [
"MIT"
] | null | null | null | chocolatey-visualstudio.extension/extensions/Get-VisualStudioInstance.ps1 | kc/ChocolateyPackages | a81267a008d6be8d37aaad09e4e470f260e98c77 | [
"MIT"
] | null | null | null | function Get-VisualStudioInstance
{
<#
.SYNOPSIS
Returns information about installed Visual Studio instances.
.DESCRIPTION
For each Visual Studio instance installed on the machine, this function returns an object
containing the basic properties of the instance.
.OUTPUTS
A System.Management.Automation.PSObject with t... | 29.111111 | 89 | 0.660305 |
a4634041fbac6e67b8e758a898facc0251da6b69 | 791 | php | PHP | src/Core/Migration/Migration1592466717AddKeywordIndex.php | logTom/platform | c4abfdc17d4583d3efd76498be395f5ec376828d | [
"MIT"
] | 1 | 2021-01-13T21:58:08.000Z | 2021-01-13T21:58:08.000Z | src/Core/Migration/Migration1592466717AddKeywordIndex.php | logTom/platform | c4abfdc17d4583d3efd76498be395f5ec376828d | [
"MIT"
] | 243 | 2020-08-05T07:54:54.000Z | 2022-03-25T17:53:20.000Z | src/Core/Migration/Migration1592466717AddKeywordIndex.php | logTom/platform | c4abfdc17d4583d3efd76498be395f5ec376828d | [
"MIT"
] | 1 | 2021-01-13T21:58:10.000Z | 2021-01-13T21:58:10.000Z | <?php declare(strict_types=1);
namespace Shopware\Core\Migration;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\DBALException;
use Shopware\Core\Framework\Migration\MigrationStep;
class Migration1592466717AddKeywordIndex extends MigrationStep
{
public function getCreationTimestamp(): int
{
return 1... | 26.366667 | 163 | 0.696587 |
8e428ef1cb2b558287d6a9c977cdb3b0b9e23478 | 402 | rb | Ruby | extensions/archetype-bundled/lib/archetype-bundled.rb | ima007/archetype | df7109fc33051b87c8e2f241708756838d1bb946 | [
"Apache-2.0"
] | 17 | 2015-02-08T02:28:53.000Z | 2020-07-31T12:34:16.000Z | extensions/archetype-bundled/lib/archetype-bundled.rb | ima007/archetype | df7109fc33051b87c8e2f241708756838d1bb946 | [
"Apache-2.0"
] | 4 | 2015-01-16T20:36:42.000Z | 2015-02-18T00:45:24.000Z | extensions/archetype-bundled/lib/archetype-bundled.rb | ima007/archetype | df7109fc33051b87c8e2f241708756838d1bb946 | [
"Apache-2.0"
] | 8 | 2015-02-10T00:15:32.000Z | 2019-11-24T17:14:51.000Z | require 'archetype'
require 'archetype-base'
require 'archetype-base-h5bp'
require 'archetype-base-hybrid'
require 'archetype-base-normalize'
require 'archetype-base-reset'
require 'archetype-grid'
require 'archetype-theme'
#
# register as an Archetype extension
#
Archetype::Extensions.register(
File.basename(__FILE... | 25.125 | 68 | 0.761194 |
a3e36be18945885a4911f67fa70403ce094618f1 | 1,654 | java | Java | addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/PersonDetailTests.java | martyanova/java_pft | e050e1bd690ddd318fbcf04dcc8ad8b003a1db7f | [
"Apache-2.0"
] | null | null | null | addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/PersonDetailTests.java | martyanova/java_pft | e050e1bd690ddd318fbcf04dcc8ad8b003a1db7f | [
"Apache-2.0"
] | null | null | null | addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/PersonDetailTests.java | martyanova/java_pft | e050e1bd690ddd318fbcf04dcc8ad8b003a1db7f | [
"Apache-2.0"
] | null | null | null | package ru.stqa.pft.addressbook.tests;
import org.hamcrest.CoreMatchers;
import org.hamcrest.MatcherAssert;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import ru.stqa.pft.addressbook.model.PersonData;
import java.util.Arrays;
import java.util.stream.Collectors;
/**
* Created by С... | 37.590909 | 140 | 0.674728 |
fd80bef78c39f8523dbc08401e00bb0f1e2370da | 3,585 | swift | Swift | weather/Classes/PresentationLayer/UserStories/WeatherUserStory/Modules/WeatherFeed/View/WeatherFeedViewController.swift | trykovyura/Swift-Viper-Weather-App | 1e995f1c78bdf12369c2d993afd427e04e9a7b82 | [
"MIT"
] | 23 | 2017-10-01T13:37:46.000Z | 2021-11-22T09:18:46.000Z | weather/Classes/PresentationLayer/UserStories/WeatherUserStory/Modules/WeatherFeed/View/WeatherFeedViewController.swift | trykovyura/Swift-Viper-Weather-App | 1e995f1c78bdf12369c2d993afd427e04e9a7b82 | [
"MIT"
] | null | null | null | weather/Classes/PresentationLayer/UserStories/WeatherUserStory/Modules/WeatherFeed/View/WeatherFeedViewController.swift | trykovyura/Swift-Viper-Weather-App | 1e995f1c78bdf12369c2d993afd427e04e9a7b82 | [
"MIT"
] | 1 | 2018-05-03T07:00:58.000Z | 2018-05-03T07:00:58.000Z | //
// WeatherFeedWeatherFeedViewController.swift
// weather
//
// Created by trykov on 24/08/2017.
// Copyright © 2017 trykov. All rights reserved.
//
import UIKit
import RxDataSources
import RxSwift
import RxCocoa
class WeatherFeedViewController: UIViewController, WeatherFeedViewInput, UISearchBarDelegate {
... | 32.590909 | 94 | 0.64463 |
31526599d94ba61a8f1d68bd30407a03c9b2aa2b | 2,590 | sh | Shell | install-all.sh | fernanj4/trustedx-ubuntu | b5cfe500040289df5b11f849a510a61ec09a14ca | [
"MIT"
] | null | null | null | install-all.sh | fernanj4/trustedx-ubuntu | b5cfe500040289df5b11f849a510a61ec09a14ca | [
"MIT"
] | null | null | null | install-all.sh | fernanj4/trustedx-ubuntu | b5cfe500040289df5b11f849a510a61ec09a14ca | [
"MIT"
] | null | null | null | #!/bin/bash
everything() {
if which tput >/dev/null 2>&1; then
ncolors=$(tput colors)
fi
if [ -t 1 ] && [ -n "$ncolors" ] && [ "$ncolors" -ge 8 ]; then
RED="$(tput setaf 1)"
GREEN="$(tput setaf 2)"
YELLOW="$(tput setaf 3)"
BLUE="$(tput setaf 4)"
BOLD="$(tput bold)"
NORMAL="$(tput sg... | 37.536232 | 130 | 0.694208 |
ef6a97523f57adc77c0daa2c25d9e4dc25b8ab65 | 99 | js | JavaScript | src/fs_related/isFileExtEq.sub.js | jaandrle/jaaCSS-cli | 4b5edc33728477d0debccc12b4a0976d40066ef6 | [
"MIT"
] | null | null | null | src/fs_related/isFileExtEq.sub.js | jaandrle/jaaCSS-cli | 4b5edc33728477d0debccc12b4a0976d40066ef6 | [
"MIT"
] | 1 | 2021-05-29T18:50:10.000Z | 2021-05-29T18:50:10.000Z | src/fs_related/isFileExtEq.sub.js | jaandrle/jaaCSS-cli | 4b5edc33728477d0debccc12b4a0976d40066ef6 | [
"MIT"
] | null | null | null | function isFileExtEq(file, target= "scss"){
return file.slice(-target.length-1)==="."+target;
} | 33 | 53 | 0.676768 |
e277c83f669dcff60d45f42e154fb1183a26d8d6 | 22,437 | py | Python | glearn/nerualnetworks/nn.py | ggutierrez545/neuralnetworks | 891fc622515af765b8529091b99e377215e195ca | [
"MIT"
] | null | null | null | glearn/nerualnetworks/nn.py | ggutierrez545/neuralnetworks | 891fc622515af765b8529091b99e377215e195ca | [
"MIT"
] | 7 | 2020-07-17T23:58:40.000Z | 2020-08-17T21:28:21.000Z | glearn/nerualnetworks/nn.py | ggutierrez545/neuralnetworks | 891fc622515af765b8529091b99e377215e195ca | [
"MIT"
] | null | null | null | import numpy as np
from ..utils.activation import activation, loss
class NeuralNetwork(object):
"""Base class representation of a neural network.
Contains the logic and framework to build any fully connected,
feed-forward neural network.
Parameters
----------
seed : int
... | 37.457429 | 131 | 0.627045 |
7be50855d3181a2efa58a3b2d49fbd7a36a69d6d | 435 | rb | Ruby | aem/recipes/master.rb | vivafish/opsworks-cookbooks | 8e03c495005019e1f0025a5d6e422b6cd86a7915 | [
"Apache-2.0"
] | null | null | null | aem/recipes/master.rb | vivafish/opsworks-cookbooks | 8e03c495005019e1f0025a5d6e422b6cd86a7915 | [
"Apache-2.0"
] | null | null | null | aem/recipes/master.rb | vivafish/opsworks-cookbooks | 8e03c495005019e1f0025a5d6e422b6cd86a7915 | [
"Apache-2.0"
] | null | null | null | # Create an aem user
#user node['adobe-aem']['master']['user'] do
# home node['adobe-aem']['master']['home']
#end
# Create the aem group
#group node['adobe-aem']['master']['group'] do
# members node['adobe-aem']['master']['user']
#end
# We want Oracle Java 7
node.set['java']['install_flavor'] = 'oracle'
node.set['... | 25.588235 | 65 | 0.664368 |
53348810a7b3e4abea9590b55bb646f6800eaeb7 | 42 | rs | Rust | src/utils/mod.rs | littleTitan/feo-math | 7bfc2b4e55ddcf8b1c13db30b23e60d69b581f14 | [
"MIT"
] | 1 | 2022-02-09T21:07:08.000Z | 2022-02-09T21:07:08.000Z | src/utils/mod.rs | littleTitan/feo-math | 7bfc2b4e55ddcf8b1c13db30b23e60d69b581f14 | [
"MIT"
] | null | null | null | src/utils/mod.rs | littleTitan/feo-math | 7bfc2b4e55ddcf8b1c13db30b23e60d69b581f14 | [
"MIT"
] | null | null | null | //! Higher level Utilities.
pub mod space; | 21 | 27 | 0.738095 |
393e0447e3fa7fdd02cccdf98e4027ae98ed8a66 | 7,632 | py | Python | tests/chainer_tests/functions_tests/pooling_tests/test_max_pooling_2d.py | lanpa/chainer-tensorboard-example | 33f0c6c1d414fd4e866179d77455ee8739e1f6d2 | [
"MIT"
] | 2 | 2018-02-05T07:25:48.000Z | 2018-08-28T20:29:45.000Z | tests/chainer_tests/functions_tests/pooling_tests/test_max_pooling_2d.py | lanpa/chainer-tensorboard-example | 33f0c6c1d414fd4e866179d77455ee8739e1f6d2 | [
"MIT"
] | null | null | null | tests/chainer_tests/functions_tests/pooling_tests/test_max_pooling_2d.py | lanpa/chainer-tensorboard-example | 33f0c6c1d414fd4e866179d77455ee8739e1f6d2 | [
"MIT"
] | null | null | null | import unittest
import mock
import numpy
import six
import chainer
from chainer import cuda
from chainer import functions
from chainer import gradient_check
from chainer import testing
from chainer.testing import attr
from chainer.testing import condition
@testing.parameterize(*testing.product({
'cover_all': [T... | 37.596059 | 79 | 0.587788 |
5e1c0d49bf2f877b637b2b54a3851d7a02ce6148 | 25 | rb | Ruby | p2/ch7/inspection/s1/list_string.rb | CaddyDz/Ruby | 7e17185b60e618c1452d312924172da648029d6f | [
"Unlicense"
] | null | null | null | p2/ch7/inspection/s1/list_string.rb | CaddyDz/Ruby | 7e17185b60e618c1452d312924172da648029d6f | [
"Unlicense"
] | null | null | null | p2/ch7/inspection/s1/list_string.rb | CaddyDz/Ruby | 7e17185b60e618c1452d312924172da648029d6f | [
"Unlicense"
] | null | null | null | puts String.methods.sort
| 12.5 | 24 | 0.84 |
38881596cfea6da1a730cbd33931df3f623cf433 | 311 | php | PHP | resources/views/includes/frontend/footer/info.blade.php | codingdriver15/LaravelAjaxCrud | 8735ffc4b68e692c5d03aa57d9cf817d7baa4800 | [
"MIT"
] | 1 | 2021-07-04T07:25:17.000Z | 2021-07-04T07:25:17.000Z | resources/views/includes/frontend/footer/info.blade.php | codingdriver15/LaravelAjaxCrud | 8735ffc4b68e692c5d03aa57d9cf817d7baa4800 | [
"MIT"
] | null | null | null | resources/views/includes/frontend/footer/info.blade.php | codingdriver15/LaravelAjaxCrud | 8735ffc4b68e692c5d03aa57d9cf817d7baa4800 | [
"MIT"
] | null | null | null | <div class="footer-info">
<h3>Rapid</h3>
<p>Cras fermentum odio eu feugiat lide par naso tierra. Justo eget nada terra videa magna derita valies darta donna mare fermentum iaculis eu non diam phasellus. Scelerisque felis imperdiet proin fermentum leo. Amet volutpat consequat mauris nunc congue.</p>
</div>
| 62.2 | 260 | 0.778135 |
bb4c0e1e9038a7f0b0066486910916f4fb0abe52 | 2,798 | cs | C# | sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LongRunningOperation/ServerVulnerabilityAssessmentCreateOrUpdateOperation.cs | ElleTojaroon/azure-sdk-for-net | 225c56c1b7d7e00c701a48642c31780b69d1e547 | [
"MIT"
] | 3,268 | 2015-01-08T04:21:52.000Z | 2022-03-31T11:10:48.000Z | sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LongRunningOperation/ServerVulnerabilityAssessmentCreateOrUpdateOperation.cs | meiling222/azure-sdk-for-net | 70ab0ee81d812683c767f2f1fef1a6bdc8e186e2 | [
"MIT"
] | 18,748 | 2015-01-06T00:12:22.000Z | 2022-03-31T23:55:50.000Z | sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LongRunningOperation/ServerVulnerabilityAssessmentCreateOrUpdateOperation.cs | meiling222/azure-sdk-for-net | 70ab0ee81d812683c767f2f1fef1a6bdc8e186e2 | [
"MIT"
] | 4,179 | 2015-01-07T20:13:22.000Z | 2022-03-31T09:09:02.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.ResourceManager.Core;
using Azure.ResourceManager.Sql;
namespace Azure... | 45.868852 | 268 | 0.756969 |
3d052e5a0477d31ad623d5afb140dc57645e2f28 | 3,086 | swift | Swift | src/common/extensions/UIColor+Extensions.swift | danielruuth/Mpiddy-iOS | 03187f08aaf73370013b7dca40570485db5fdfa0 | [
"MIT"
] | 32 | 2019-03-08T18:36:27.000Z | 2021-05-18T08:40:19.000Z | src/common/extensions/UIColor+Extensions.swift | danielruuth/Mpiddy-iOS | 03187f08aaf73370013b7dca40570485db5fdfa0 | [
"MIT"
] | 3 | 2019-11-04T20:41:08.000Z | 2020-11-13T07:21:30.000Z | src/common/extensions/UIColor+Extensions.swift | danielruuth/Mpiddy-iOS | 03187f08aaf73370013b7dca40570485db5fdfa0 | [
"MIT"
] | 3 | 2019-09-10T12:38:14.000Z | 2020-12-28T14:06:19.000Z | import UIKit
extension UIColor {
// MARK: - Initializers
public convenience init(rgb: Int32, alpha: CGFloat) {
let red = ((CGFloat)((rgb & 0xFF0000) >> 16)) / 255
let green = ((CGFloat)((rgb & 0x00FF00) >> 8)) / 255
let blue = ((CGFloat)(rgb & 0x0000FF)) / 255
self.init(red: red, green: green, blue: blue, a... | 30.86 | 141 | 0.622813 |
0af7f97357e64cdfa51492340f30499b302a3e53 | 445 | cs | C# | Timer.Web.Core/Controllers/Dto/JobHistoryViewModel.cs | whelshion/Timer | 6b994bfd096002b7c1c9512b73f40669b7ad29ef | [
"MIT"
] | 5 | 2018-05-06T08:16:36.000Z | 2021-02-22T20:09:15.000Z | Timer.Web.Core/Controllers/Dto/JobHistoryViewModel.cs | whelshion/Timer | 6b994bfd096002b7c1c9512b73f40669b7ad29ef | [
"MIT"
] | null | null | null | Timer.Web.Core/Controllers/Dto/JobHistoryViewModel.cs | whelshion/Timer | 6b994bfd096002b7c1c9512b73f40669b7ad29ef | [
"MIT"
] | 1 | 2018-07-08T11:12:58.000Z | 2018-07-08T11:12:58.000Z | using System.Collections.Generic;
namespace Timer.Web.Core.Controllers.Dto
{
public class JobHistoryViewModel
{
public JobHistoryViewModel(IReadOnlyList<JobHistoryEntryDto> entries, string errorMessage)
{
HistoryEntries = entries;
ErrorMessage = errorMessage;
}
... | 27.8125 | 98 | 0.676404 |
f44710272a70588d8c062b59f7826e1c3b0dcbaa | 2,581 | cshtml | C# | Golf.Tournament/Views/Tournament/DetailsTeam.cshtml | judgie79/iGolfTournament | eee2ce85fa667f2cc38d69bcf365f7386c08a68a | [
"MIT"
] | null | null | null | Golf.Tournament/Views/Tournament/DetailsTeam.cshtml | judgie79/iGolfTournament | eee2ce85fa667f2cc38d69bcf365f7386c08a68a | [
"MIT"
] | null | null | null | Golf.Tournament/Views/Tournament/DetailsTeam.cshtml | judgie79/iGolfTournament | eee2ce85fa667f2cc38d69bcf365f7386c08a68a | [
"MIT"
] | null | null | null | @model Golf.Tournament.ViewModels.TeamTournamentDetailsViewModel
@{
ViewBag.Title = "Details";
ViewBag.ShowHoles = true;
}
<div class="row">
<div class="col-md-6">
<h2>@Html.DisplayFor(model => model.Tournament.Title)</h2>
<h3>@Html.DisplayFor(model => Model.Tournament.Club.Name)</h3>
... | 35.356164 | 153 | 0.587757 |
54cb383a615b086cfdb18f4bbba37276851288a3 | 130 | css | CSS | src/components-examples/material/checkbox/checkbox-overview/checkbox-overview-example.css | tungyingwaltz/components | db126b579760263ea8de30689c54c4d32fa2137a | [
"MIT"
] | 19,494 | 2016-01-04T18:52:26.000Z | 2019-04-25T17:20:25.000Z | src/components-examples/material/checkbox/checkbox-overview/checkbox-overview-example.css | tungyingwaltz/components | db126b579760263ea8de30689c54c4d32fa2137a | [
"MIT"
] | 24,061 | 2019-04-25T19:39:27.000Z | 2022-03-31T17:22:43.000Z | src/components-examples/material/checkbox/checkbox-overview/checkbox-overview-example.css | tungyingwaltz/components | db126b579760263ea8de30689c54c4d32fa2137a | [
"MIT"
] | 6,150 | 2016-01-04T19:01:46.000Z | 2019-04-25T16:03:42.000Z | .example-section {
margin: 12px 0;
}
.example-margin {
margin: 0 12px;
}
ul {
list-style-type: none;
margin-top: 4px;
}
| 10 | 24 | 0.615385 |
0d280211ca54e503ff0c1849e70a1f1cc4728cae | 28,792 | h | C | include/ExynosCamera.h | Exynos7580/android_hardware_samsung_slsi_exynos5 | 3f00062f02f255c38e217a411f6d1711c287fb54 | [
"Apache-2.0"
] | null | null | null | include/ExynosCamera.h | Exynos7580/android_hardware_samsung_slsi_exynos5 | 3f00062f02f255c38e217a411f6d1711c287fb54 | [
"Apache-2.0"
] | null | null | null | include/ExynosCamera.h | Exynos7580/android_hardware_samsung_slsi_exynos5 | 3f00062f02f255c38e217a411f6d1711c287fb54 | [
"Apache-2.0"
] | 1 | 2020-02-02T00:36:55.000Z | 2020-02-02T00:36:55.000Z | /*
**
** Copyright 2008, The Android Open Source Project
** Copyright 2010, Samsung Electronics Co. LTD
**
** 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/lic... | 30.629787 | 156 | 0.57905 |
af585bb3fc5e4a00df7400b66ac75098db520aa3 | 1,003 | py | Python | scripts/stochastic_policy_ex.py | declanoller/rwg-benchmark | 4de250e08ab8f895d25bb24c0a63c64667de11be | [
"MIT"
] | 6 | 2020-05-05T16:57:18.000Z | 2021-12-21T22:43:46.000Z | scripts/stochastic_policy_ex.py | declanoller/rwg-benchmark | 4de250e08ab8f895d25bb24c0a63c64667de11be | [
"MIT"
] | null | null | null | scripts/stochastic_policy_ex.py | declanoller/rwg-benchmark | 4de250e08ab8f895d25bb24c0a63c64667de11be | [
"MIT"
] | 1 | 2021-12-21T22:43:50.000Z | 2021-12-21T22:43:50.000Z | import path_utils
from Sample import Sample
"""
This script tests using a stochastic policy output from the NN, rather than a
deterministic one.
For ex: typically in RWG, for a discrete action space, the action selected is
just the argmax of the output units (like in Q-learning). However, you could
alternatively do ... | 29.5 | 79 | 0.7667 |
072ff8ee741be8f19a51628374390ab3d62a6828 | 956 | cpp | C++ | sqlite/src/ossimGpkgDatabaseRecordBase.cpp | dardok/ossim-plugins | 3406ffed9fcab88fe4175b845381611ac4122c81 | [
"MIT"
] | 12 | 2016-09-09T01:24:12.000Z | 2022-01-09T21:45:58.000Z | sqlite/src/ossimGpkgDatabaseRecordBase.cpp | dardok/ossim-plugins | 3406ffed9fcab88fe4175b845381611ac4122c81 | [
"MIT"
] | 5 | 2016-02-04T16:10:40.000Z | 2021-06-29T05:00:29.000Z | sqlite/src/ossimGpkgDatabaseRecordBase.cpp | dardok/ossim-plugins | 3406ffed9fcab88fe4175b845381611ac4122c81 | [
"MIT"
] | 20 | 2015-11-17T11:46:22.000Z | 2021-11-12T19:23:54.000Z | //----------------------------------------------------------------------------
// File: ossimGpkgDatabaseRecordInferface.h
//
// License: LGPL
//
// See LICENSE.txt file in the top level directory for more details.
//
// Description: Base class definition for GeoPackage database record.
//
//-----------------------... | 23.317073 | 78 | 0.588912 |
ae3844fdab94a30f4a0f6b73f97810c946eaaed7 | 672 | cs | C# | Assets/Scripts/UI/MessageBoxes/PlayChallengeScrollViewItem.cs | circlesabound/LogicGateSimulator | 0264162b69531642b669e9e1f99830bc2f7c0fac | [
"MIT"
] | null | null | null | Assets/Scripts/UI/MessageBoxes/PlayChallengeScrollViewItem.cs | circlesabound/LogicGateSimulator | 0264162b69531642b669e9e1f99830bc2f7c0fac | [
"MIT"
] | null | null | null | Assets/Scripts/UI/MessageBoxes/PlayChallengeScrollViewItem.cs | circlesabound/LogicGateSimulator | 0264162b69531642b669e9e1f99830bc2f7c0fac | [
"MIT"
] | null | null | null | using UnityEngine.Assertions;
using UnityEngine.EventSystems;
namespace Assets.Scripts.UI.MessageBoxes
{
public class PlayChallengeScrollViewItem : MessageBoxScrollViewItem
{
public PlayChallengeMessageBox PlayChallengeMessageBox
{
get
{
// lul
... | 28 | 137 | 0.651786 |
7f6453efb1e33dccb45560fc812548bb82bbac65 | 704 | php | PHP | src/Functional/TailRecursion.php | joranvar/functional-php | 36560ba51157feab6323062235e57f112d163aa8 | [
"MIT"
] | null | null | null | src/Functional/TailRecursion.php | joranvar/functional-php | 36560ba51157feab6323062235e57f112d163aa8 | [
"MIT"
] | null | null | null | src/Functional/TailRecursion.php | joranvar/functional-php | 36560ba51157feab6323062235e57f112d163aa8 | [
"MIT"
] | 1 | 2019-08-22T12:32:16.000Z | 2019-08-22T12:32:16.000Z | <?php
namespace Functional;
/**
* Decorates given function with tail recursion optimization.
*
* I took solution here https://gist.github.com/beberlei/4145442
* but reworked it and make without classes.
*
* @param callable $fn
* @return callable
*/
function tail_recursion(callable $fn): callable
{
$underC... | 22.709677 | 65 | 0.551136 |
3c906808120355e8bced14119cee94d8a8ddb171 | 1,591 | ps1 | PowerShell | Exchange/Get-ExchangeUserMailboxMismatch.ps1 | bkeegan/PowershellBoilerplate2 | 3053fc60432fa7bd06225d6bcb4fa15ebc4ac34a | [
"MS-PL"
] | null | null | null | Exchange/Get-ExchangeUserMailboxMismatch.ps1 | bkeegan/PowershellBoilerplate2 | 3053fc60432fa7bd06225d6bcb4fa15ebc4ac34a | [
"MS-PL"
] | null | null | null | Exchange/Get-ExchangeUserMailboxMismatch.ps1 | bkeegan/PowershellBoilerplate2 | 3053fc60432fa7bd06225d6bcb4fa15ebc4ac34a | [
"MS-PL"
] | null | null | null | <#
.SYNOPSIS
Retrives mailbox logon statistics and returns entries where the username of the mailbox doesn't match the user accounts username that is connected to it.
.DESCRIPTION
Retrives mailbox logon statistics and returns entries where the username of the mailbox doesn't match the user accounts username th... | 28.410714 | 243 | 0.740415 |
d27433d8019e3590e58de7e83eabcaa89a572f5c | 3,611 | swift | Swift | KNU_CSE/KNU_CSE/View/Main/MyPage/UserInfrom/UserInformViewModel+Model.swift | KNU-CSE-APP/iOS | 2ed0069227bfc7ecc9607cb4019381630cc68bd6 | [
"MIT"
] | 1 | 2021-08-09T11:37:34.000Z | 2021-08-09T11:37:34.000Z | KNU_CSE/KNU_CSE/View/Main/MyPage/UserInfrom/UserInformViewModel+Model.swift | KNU-CSE-APP/iOS | 2ed0069227bfc7ecc9607cb4019381630cc68bd6 | [
"MIT"
] | 6 | 2021-07-15T18:45:22.000Z | 2021-09-03T08:29:49.000Z | KNU_CSE/KNU_CSE/View/Main/MyPage/UserInfrom/UserInformViewModel+Model.swift | KNU-CSE-APP/iOS | 2ed0069227bfc7ecc9607cb4019381630cc68bd6 | [
"MIT"
] | null | null | null | //
// UserInformViewModel.swift
// KNU_CSE
//
// Created by junseok on 2021/07/31.
//
import Foundation
import Alamofire
struct UserInformViewModel{
var model:Profile!
var getInformlistener: BaseAction<Profile, errorHandler> = BaseAction()
var setInformlistener: BaseAction<ProfileResponse, errorHandler... | 34.721154 | 151 | 0.669344 |
6aa0d7423f33aa0d8824dd48181a86544df92272 | 4,320 | lua | Lua | Dusk/dusk_core/run/tileculling.lua | alextrevisan/Dusk-Engine | 982c28a47a91544c21b232b2a12adee74f6bd314 | [
"MIT"
] | null | null | null | Dusk/dusk_core/run/tileculling.lua | alextrevisan/Dusk-Engine | 982c28a47a91544c21b232b2a12adee74f6bd314 | [
"MIT"
] | null | null | null | Dusk/dusk_core/run/tileculling.lua | alextrevisan/Dusk-Engine | 982c28a47a91544c21b232b2a12adee74f6bd314 | [
"MIT"
] | 1 | 2019-10-25T04:40:04.000Z | 2019-10-25T04:40:04.000Z | --------------------------------------------------------------------------------
--[[
Dusk Engine Component: Tile Culling
Manages displayed tiles for tile layers in a map.
--]]
--------------------------------------------------------------------------------
local tileculling = {}
------------------------------------... | 29.189189 | 109 | 0.49537 |
f438fc4fea7cf7915521b355147f18c7c4533ebe | 350 | cs | C# | revghost.Audio/Players/Components/AudioDelayComponent.cs | guerro323/GameHost | a38b0846545e06239e7e489b9f251a369ca9df02 | [
"MIT"
] | null | null | null | revghost.Audio/Players/Components/AudioDelayComponent.cs | guerro323/GameHost | a38b0846545e06239e7e489b9f251a369ca9df02 | [
"MIT"
] | 88 | 2020-07-17T17:02:16.000Z | 2022-02-21T04:02:59.000Z | revghost.Audio/Players/Components/AudioDelayComponent.cs | guerro323/GameHost | a38b0846545e06239e7e489b9f251a369ca9df02 | [
"MIT"
] | null | null | null | namespace GameHost.Audio.Players;
/// <summary>
/// Manage the delay of an <see cref="IAudioPlayerComponent" />
/// </summary>
public struct AudioDelayComponent
{
public TimeSpan Delay;
public AudioDelayComponent(TimeSpan delay)
{
if (delay < TimeSpan.Zero)
delay = TimeSpan.Zero;
... | 21.875 | 67 | 0.637143 |
f1730bd7a3305b1356596d90c127134c045aa747 | 1,818 | lua | Lua | class.lua | uscq/Karx3l | 4a900108fc0fbb2bbce810683eeb4d651e31321c | [
"MIT"
] | null | null | null | class.lua | uscq/Karx3l | 4a900108fc0fbb2bbce810683eeb4d651e31321c | [
"MIT"
] | null | null | null | class.lua | uscq/Karx3l | 4a900108fc0fbb2bbce810683eeb4d651e31321c | [
"MIT"
] | null | null | null | --[[
Copyright (c) 2016-2018 uscq <yuleader@163.com> All rights reserved.
Licensed under the MIT License (the "License"); you may not use this file except
in compliance with the License. You may obtain a copy of the License at
http://opensource.org/licenses/MIT
Unless required by applicable law or agreed to in writi... | 24.90411 | 80 | 0.648515 |
9e19b8e90e644431fa4d2d71f3bf24a02654d379 | 180 | lua | Lua | garrysmod/gamemodes/darkrp/plugins/flashlight/sh_plugin.lua | Kek1ch/Kek1ch | fa545ac1c261c20639ba7a7119ccd7aa4aaacbdc | [
"Apache-2.0"
] | 7 | 2019-06-15T09:10:59.000Z | 2021-11-21T18:15:03.000Z | garrysmod/gamemodes/darkrp/plugins/flashlight/sh_plugin.lua | Kek1ch/Kek1ch | fa545ac1c261c20639ba7a7119ccd7aa4aaacbdc | [
"Apache-2.0"
] | null | null | null | garrysmod/gamemodes/darkrp/plugins/flashlight/sh_plugin.lua | Kek1ch/Kek1ch | fa545ac1c261c20639ba7a7119ccd7aa4aaacbdc | [
"Apache-2.0"
] | 6 | 2019-06-15T08:33:15.000Z | 2020-10-25T07:50:32.000Z | PLUGIN.name = "Flashlight"
PLUGIN.author = "Chessnut ++ Kek1ch"
PLUGIN.desc = "Provides a flashlight item to regular flashlight usage."
nut.util.include("sv_plugin.lua")
| 22.5 | 72 | 0.716667 |
70477695733c81326c18dcca1fdc1a30ec224f6f | 23,657 | cpp | C++ | SDKs/CryCode/3.7.0/CryEngine/CryAction/AIDebugRenderer.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | 4 | 2017-12-18T20:10:16.000Z | 2021-02-07T21:21:24.000Z | SDKs/CryCode/3.7.0/CryEngine/CryAction/AIDebugRenderer.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | null | null | null | SDKs/CryCode/3.7.0/CryEngine/CryAction/AIDebugRenderer.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | 3 | 2019-03-11T21:36:15.000Z | 2021-02-07T21:21:26.000Z | /********************************************************************
Crytek Source File.
Copyright (C), Crytek Studios, 2001-2009.
-------------------------------------------------------------------------
File name: AIDebugRenderer.cpp
$Id$
Description: Helper functions to draw some interesting debug shapes.
------... | 31.005242 | 207 | 0.61914 |
633ad648d0d0a68942b089819276e011ee7c4af8 | 205 | rs | Rust | crates/loupe-old/src/memory_usage/marker.rs | qdeconinck/loupe-old | 7133cf298a9cb81c7799a4072408d3a47c2aa9ac | [
"MIT"
] | 28 | 2021-04-30T23:50:09.000Z | 2022-02-15T09:00:18.000Z | crates/loupe-old/src/memory_usage/marker.rs | qdeconinck/loupe-old | 7133cf298a9cb81c7799a4072408d3a47c2aa9ac | [
"MIT"
] | 5 | 2021-03-19T10:25:48.000Z | 2021-06-17T10:33:45.000Z | crates/loupe-old/src/memory_usage/marker.rs | qdeconinck/loupe-old | 7133cf298a9cb81c7799a4072408d3a47c2aa9ac | [
"MIT"
] | 2 | 2021-03-15T09:31:38.000Z | 2021-05-18T01:46:24.000Z | use crate::{MemoryUsage, MemoryUsageTracker};
use std::marker::PhantomData;
impl<T> MemoryUsage for PhantomData<T> {
fn size_of_val(&self, _: &mut dyn MemoryUsageTracker) -> usize {
0
}
}
| 22.777778 | 68 | 0.678049 |
0a48424db987aab3985405cd63cc346752fd28f5 | 1,155 | swift | Swift | Oak/Views/ScanCode/ScanQRCodeViewModel.swift | AlexCatch/Oak | 39793dc831f62f720e3393921514d5d4ab0667d8 | [
"MIT"
] | 7 | 2021-06-07T06:32:40.000Z | 2022-03-31T18:18:30.000Z | Oak/Views/ScanCode/ScanQRCodeViewModel.swift | AlexCatch/Oak | 39793dc831f62f720e3393921514d5d4ab0667d8 | [
"MIT"
] | null | null | null | Oak/Views/ScanCode/ScanQRCodeViewModel.swift | AlexCatch/Oak | 39793dc831f62f720e3393921514d5d4ab0667d8 | [
"MIT"
] | 2 | 2021-10-01T15:59:49.000Z | 2022-02-10T15:56:51.000Z | //
// ScanQRCodeViewModel.swift
// Oak
//
// Created by Alex Catchpole on 02/02/2021.
//
import Foundation
import SwiftUI
import Resolver
import CodeScanner
class ScanQRCodeViewModel: ObservableObject {
@Injected private var otpService: OTPService
@Injected private var accountsService: AccountService
... | 25.666667 | 93 | 0.623377 |
a12d555e1a702ad9f9e7a5cdd30000372f8b592e | 2,370 | ts | TypeScript | src/ts/file.ts | ncdcdev/apppot-sdk-js | e11100a0a3ba91a2ea748e5ec680ed1af8b69242 | [
"Apache-2.0"
] | 2 | 2020-10-20T01:20:02.000Z | 2021-12-21T02:58:31.000Z | src/ts/file.ts | ncdcdev/apppot-sdk-js | e11100a0a3ba91a2ea748e5ec680ed1af8b69242 | [
"Apache-2.0"
] | 3 | 2020-10-20T01:20:45.000Z | 2022-02-13T20:47:37.000Z | src/ts/file.ts | ncdcdev/apppot-sdk-js | e11100a0a3ba91a2ea748e5ec680ed1af8b69242 | [
"Apache-2.0"
] | null | null | null | import {Ajax, AjaxOptions} from './ajax';
import {AppPot} from './apppot';
export function getFileClass(appPot:AppPot){
return class File {
private _name: string;
private _url: string;
constructor(name, url){
this._name = name;
this._url = url;
}
static getUrl(filename){
return ... | 30.779221 | 111 | 0.551899 |
f462688260e498a246b9a3b27bf1bf6271f00475 | 905 | ts | TypeScript | src/pages/i18n.ts | JustalK/TEMPLATE-NEXT-TYPESCRIPT | d52e8b7d7a6c8e63b44c82db495d35a945072f13 | [
"MIT"
] | null | null | null | src/pages/i18n.ts | JustalK/TEMPLATE-NEXT-TYPESCRIPT | d52e8b7d7a6c8e63b44c82db495d35a945072f13 | [
"MIT"
] | null | null | null | src/pages/i18n.ts | JustalK/TEMPLATE-NEXT-TYPESCRIPT | d52e8b7d7a6c8e63b44c82db495d35a945072f13 | [
"MIT"
] | null | null | null | import i18n from 'i18next';
import { initReactI18next } from 'react-i18next';
import PhraseInContextEditorPostProcessor from 'i18next-phrase-in-context-editor-post-processor';
import translationFr from 'public/locales/fr/translation.json';
import translationDe from 'public/locales/en/translation.json';
const resources... | 24.459459 | 97 | 0.701657 |
e6015d78b1e489fe8021d422c620376a283ebd2b | 87 | sql | SQL | liquibase-core/src/test/java/liquibase/verify/saved_state/compareGeneratedSqlWithExpectedSqlForMinimalChangesets/dropIndex/oracle.sql | maketubo/liquibase | 435dcc169e5aab4d679c3fd922c1be90af09e288 | [
"Apache-2.0"
] | 2,591 | 2015-01-05T19:25:25.000Z | 2022-03-31T14:06:31.000Z | liquibase-core/src/test/java/liquibase/verify/saved_state/compareGeneratedSqlWithExpectedSqlForMinimalChangesets/dropIndex/oracle.sql | maketubo/liquibase | 435dcc169e5aab4d679c3fd922c1be90af09e288 | [
"Apache-2.0"
] | 1,904 | 2015-01-01T23:10:36.000Z | 2022-03-31T20:44:17.000Z | liquibase-core/src/test/java/liquibase/verify/saved_state/compareGeneratedSqlWithExpectedSqlForMinimalChangesets/dropIndex/oracle.sql | maketubo/liquibase | 435dcc169e5aab4d679c3fd922c1be90af09e288 | [
"Apache-2.0"
] | 1,422 | 2015-01-05T19:59:08.000Z | 2022-03-31T16:03:53.000Z | -- Database: oracle
-- Change Parameter: indexName=idx_address
DROP INDEX idx_address;
| 21.75 | 42 | 0.793103 |
0aaddb108e48750a54bb52fbe271905504c79c79 | 6,284 | cs | C# | CGALDotNetGeometry/Shapes/Plane3d.cs | Scrawk/CGALDotNetGeometry | a72cd5d4e9b86fe01b1d80adf9624d3f0fa0a2b8 | [
"MIT"
] | 10 | 2022-02-06T11:50:32.000Z | 2022-03-19T16:45:25.000Z | CGALDotNetGeometry/Shapes/Plane3d.cs | Scrawk/CGALDotNetGeometry | a72cd5d4e9b86fe01b1d80adf9624d3f0fa0a2b8 | [
"MIT"
] | null | null | null | CGALDotNetGeometry/Shapes/Plane3d.cs | Scrawk/CGALDotNetGeometry | a72cd5d4e9b86fe01b1d80adf9624d3f0fa0a2b8 | [
"MIT"
] | 2 | 2022-02-06T14:38:04.000Z | 2022-03-02T00:36:40.000Z | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using CGALDotNetGeometry.Numerics;
using REAL = System.Double;
using POINT3 = CGALDotNetGeometry.Numerics.Point3d;
using VECTOR3 = CGALDotNetGeometry.Numerics.Vector3d;
using MATRIX3 = CGALDotNetGeometry.Numerics.Matrix3x3d;
using ... | 30.955665 | 90 | 0.532941 |
2027987f00e20686160ed5645fefb8ffc0f08be8 | 308 | swift | Swift | RCE/Util/UICollectionView+Reusable.swift | MarcSteven/rongcloud-scene-ios-demo | 472310ca289618cefcd2893d52f4fcf3084622bb | [
"Apache-2.0"
] | 7 | 2021-07-08T07:54:04.000Z | 2022-03-18T05:34:59.000Z | RCE/Util/UICollectionView+Reusable.swift | MarcSteven/rongcloud-scene-ios-demo | 472310ca289618cefcd2893d52f4fcf3084622bb | [
"Apache-2.0"
] | 1 | 2021-08-21T08:39:04.000Z | 2021-09-08T08:11:14.000Z | RCE/Util/UICollectionView+Reusable.swift | MarcSteven/rongcloud-scene-ios-demo | 472310ca289618cefcd2893d52f4fcf3084622bb | [
"Apache-2.0"
] | 2 | 2021-11-29T00:04:02.000Z | 2022-03-18T07:51:32.000Z | //
// UICollectionView+Reusable.swift
// RCE
//
// Created by shaoshuai on 2021/7/2.
//
import Reusable
extension UICollectionView {
func cellForItem<T: UICollectionViewCell>(_ indexPath: IndexPath, cellType: T.Type) -> T? where T: Reusable {
return cellForItem(at: indexPath) as? T
}
}
| 20.533333 | 113 | 0.685065 |
4dc402f59d2744fd541d57870ffc2a3edeef7fd9 | 3,005 | cs | C# | samples/WebApp/Controller/DevOptionsController.cs | JTOne123/SoftwarePioniere.Fx | 1ef1df35bae8a912408df43284dd0c0f5146a820 | [
"MIT"
] | null | null | null | samples/WebApp/Controller/DevOptionsController.cs | JTOne123/SoftwarePioniere.Fx | 1ef1df35bae8a912408df43284dd0c0f5146a820 | [
"MIT"
] | 1 | 2018-11-01T16:00:29.000Z | 2018-11-01T16:00:29.000Z | samples/WebApp/Controller/DevOptionsController.cs | JTOne123/SoftwarePioniere.Fx | 1ef1df35bae8a912408df43284dd0c0f5146a820 | [
"MIT"
] | 1 | 2020-06-25T10:40:14.000Z | 2020-06-25T10:40:14.000Z | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using SoftwarePioniere.Builder;
using Swashbuckle.AspNetCore.Annotations;
namespace WebApp.Controller
{
[Rout... | 38.525641 | 83 | 0.67787 |
81cac5fb621f54aab968dbdd4dc1085d64a7cee1 | 329 | php | PHP | src/Http/Middleware/Authenticate.php | irongate/chief | 7b11e29f2d9b5869508a8a9f02a5f2a86f1274a8 | [
"MIT"
] | 5 | 2020-01-01T16:17:22.000Z | 2020-09-23T19:38:35.000Z | src/Http/Middleware/Authenticate.php | irongate/chief | 7b11e29f2d9b5869508a8a9f02a5f2a86f1274a8 | [
"MIT"
] | 7 | 2022-02-08T13:16:24.000Z | 2022-03-27T17:50:35.000Z | src/Http/Middleware/Authenticate.php | irongate/chief | 7b11e29f2d9b5869508a8a9f02a5f2a86f1274a8 | [
"MIT"
] | 1 | 2020-06-19T09:52:53.000Z | 2020-06-19T09:52:53.000Z | <?php
namespace IronGate\Chief\Http\Middleware;
use Illuminate\Auth\Middleware\Authenticate as IlluminateAuthenticate;
class Authenticate extends IlluminateAuthenticate
{
protected function authenticate($request, array $guards)
{
parent::authenticate($request, $guards);
sync_user_timezone();... | 20.5625 | 70 | 0.741641 |
298dd4e4f175aa55bbfdc52b4f262a2fa9cb592e | 5,213 | rs | Rust | jni-android-sys/src/generated/api-level-29/android/graphics/SweepGradient.rs | sjeohp/jni-bindgen | 848121402484f114fa978e8d4b4c19379f9e22a8 | [
"Apache-2.0",
"MIT"
] | null | null | null | jni-android-sys/src/generated/api-level-29/android/graphics/SweepGradient.rs | sjeohp/jni-bindgen | 848121402484f114fa978e8d4b4c19379f9e22a8 | [
"Apache-2.0",
"MIT"
] | null | null | null | jni-android-sys/src/generated/api-level-29/android/graphics/SweepGradient.rs | sjeohp/jni-bindgen | 848121402484f114fa978e8d4b4c19379f9e22a8 | [
"Apache-2.0",
"MIT"
] | null | null | null | // WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-graphics-SweepGradient"))]
__jni_bindgen! {
/// public class [SweepGradient](https://developer.android.com/reference/android/graphics/SweepGradient.html)
///
/// ... | 100.25 | 514 | 0.688279 |
da1852e7aa1cca33ef118e654d88f2cac68d134a | 4,502 | dart | Dart | example/hooks/over_react_redux/store.dart | hunterbreathat-wk/over_react | aec3dbc2faefd338d45a5ae810305f255095e59b | [
"Apache-2.0"
] | 430 | 2016-10-24T16:00:10.000Z | 2022-03-30T15:36:35.000Z | example/hooks/over_react_redux/store.dart | hunterbreathat-wk/over_react | aec3dbc2faefd338d45a5ae810305f255095e59b | [
"Apache-2.0"
] | 731 | 2016-10-24T15:23:21.000Z | 2022-03-30T21:39:27.000Z | example/hooks/over_react_redux/store.dart | hunterbreathat-wk/over_react | aec3dbc2faefd338d45a5ae810305f255095e59b | [
"Apache-2.0"
] | 70 | 2016-10-24T15:14:14.000Z | 2022-01-18T05:29:01.000Z | // Copyright 2021 Workiva Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 31.048276 | 120 | 0.702799 |
245471c58efa471f96ccc3933376206385777bf9 | 1,589 | rs | Rust | src/closure_mr.rs | dermesser/localmr | e846191e7a0de7fd51cb86e7ab20e00c94f6974f | [
"MIT"
] | null | null | null | src/closure_mr.rs | dermesser/localmr | e846191e7a0de7fd51cb86e7ab20e00c94f6974f | [
"MIT"
] | null | null | null | src/closure_mr.rs | dermesser/localmr | e846191e7a0de7fd51cb86e7ab20e00c94f6974f | [
"MIT"
] | null | null | null | //! A MapReducer that uses supplied map()/reduce() functions.
use mapreducer::{Mapper, Reducer, Sharder, MapperF, ReducerF, SharderF, _std_shard};
use record_types::{Record, MultiRecord, MEmitter, REmitter};
/// This type implements the MapReducer trait. You can use it to provide your own functions to a
/// MapReduce... | 28.890909 | 99 | 0.641284 |
6b78c3b42eb35cc954e2aaf99c807755c7cff021 | 373 | js | JavaScript | src/router/index.js | bakkujp/vue-prac | ca21ead288393c3dd5c28dbb108bc5105bb48f7c | [
"MIT"
] | null | null | null | src/router/index.js | bakkujp/vue-prac | ca21ead288393c3dd5c28dbb108bc5105bb48f7c | [
"MIT"
] | 4 | 2021-03-10T11:39:21.000Z | 2022-02-18T23:11:31.000Z | src/router/index.js | bakkujp/vue-practical | ca21ead288393c3dd5c28dbb108bc5105bb48f7c | [
"MIT"
] | null | null | null | import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
export default new Router({
routes: [
{
path: '/',
name: 'Employee',
default: true,
component: () => import('@/components/Employee')
},
{
path: '/view/:id',
name: 'EmployeeView',
component: ()... | 17.761905 | 58 | 0.546917 |
782cb9f9385039a7c572f7fe309740ee6a79fd97 | 812 | dart | Dart | packages/weather_repository/test/remote/meta_weather_api_url_builder_test.dart | EdsonBueno/very_good_weather | 1fc64e0479bd028a038026664d8aeaa9dc39ab3e | [
"MIT"
] | 3 | 2021-06-29T14:56:57.000Z | 2021-11-23T10:01:47.000Z | packages/weather_repository/test/remote/meta_weather_api_url_builder_test.dart | EdsonBueno/very_good_weather | 1fc64e0479bd028a038026664d8aeaa9dc39ab3e | [
"MIT"
] | null | null | null | packages/weather_repository/test/remote/meta_weather_api_url_builder_test.dart | EdsonBueno/very_good_weather | 1fc64e0479bd028a038026664d8aeaa9dc39ab3e | [
"MIT"
] | 1 | 2021-09-02T00:14:33.000Z | 2021-09-02T00:14:33.000Z | import 'package:test/test.dart';
import 'package:weather_repository/src/remote/meta_weather_api_url_builder.dart';
void main() {
group('MetaWeatherApiUrlBuilder', () {
const baseUrl = 'https://www.metaweather.com/api/location';
late MetaWeatherApiUrlBuilder urlBuilder;
setUp(() {
urlBuilder = Met... | 26.193548 | 81 | 0.682266 |
e1cfe622d9505278774dcb200f9261159f3f8e29 | 3,892 | dart | Dart | src/lib/app/phrases_group_editor_page.dart | kugjo/va | 66b4b25d276a3276f61a512ffa213c88978e1d92 | [
"MIT"
] | 9 | 2020-04-30T15:58:20.000Z | 2021-03-26T14:31:19.000Z | src/lib/app/phrases_group_editor_page.dart | kugjo/va | 66b4b25d276a3276f61a512ffa213c88978e1d92 | [
"MIT"
] | 1 | 2020-05-03T21:04:11.000Z | 2020-05-12T19:05:15.000Z | src/lib/app/phrases_group_editor_page.dart | kugjo/va | 66b4b25d276a3276f61a512ffa213c88978e1d92 | [
"MIT"
] | 2 | 2020-04-30T16:10:09.000Z | 2020-04-30T16:28:29.000Z | import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:vocabulary_advancer/app/i18n/strings.g.dart';
import 'package:vocabulary_advancer/app/phrases_group_editor_vm.dart';
import 'package:vocabulary_advancer/app/services/dialogs... | 40.968421 | 100 | 0.536742 |
95fa0d74bfda20ebf6c1d07901dcd6c2bf504031 | 1,494 | rb | Ruby | Formula/xa.rb | rchaput/homebrew-core | 52310a20bb5d0b68fc7fc7f5e995d76646b5fdae | [
"BSD-2-Clause"
] | 13 | 2020-07-24T18:19:19.000Z | 2022-02-11T04:02:24.000Z | Formula/xa.rb | rchaput/homebrew-core | 52310a20bb5d0b68fc7fc7f5e995d76646b5fdae | [
"BSD-2-Clause"
] | 8 | 2021-04-16T13:14:29.000Z | 2021-04-16T13:14:31.000Z | Formula/xa.rb | rchaput/homebrew-core | 52310a20bb5d0b68fc7fc7f5e995d76646b5fdae | [
"BSD-2-Clause"
] | 5 | 2020-01-20T06:41:25.000Z | 2021-11-03T16:46:42.000Z | class Xa < Formula
desc "6502 cross assembler"
homepage "https://www.floodgap.com/retrotech/xa/"
url "https://www.floodgap.com/retrotech/xa/dists/xa-2.3.12.tar.gz"
sha256 "f8fd1536012d676fc6cbfcdd6a91793e564c89b6ef747f8db8f467c178fb0704"
license "GPL-2.0"
livecheck do
url :homepage
regex(/href\s*?=... | 40.378378 | 123 | 0.71419 |
bf299a479e9b2afe301b426832c24b1b3f4ea5a3 | 303 | lua | Lua | Max Stats (9).lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 70 | 2021-02-09T17:21:32.000Z | 2022-03-28T12:41:42.000Z | Max Stats (9).lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 4 | 2021-08-19T22:05:58.000Z | 2022-03-19T18:58:01.000Z | Max Stats (9).lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 325 | 2021-02-26T22:23:41.000Z | 2022-03-31T19:36:12.000Z | plr = game.Players.LocalPlayer
plr.Stats.Stamina.Value=1250
plr.Stats.Level.Value=13337
plr.Stats.Strength.Value=26664
plr.Stats.Psychic.Value=26664
plr.Stats.Speed.Value=26664
plr.Stats.Durability.Value=26664
wait(1)
plr.Stats.LevelPoints.Value=0
plr.Stats.Kills.Value=1337
plr.Stats.Experience.Value=0 | 27.545455 | 32 | 0.825083 |
c954a197ec5f97098352b921198e3c0ef8e24d3a | 2,530 | asm | Assembly | libsrc/graphics/dfill2.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 38 | 2021-06-18T12:56:15.000Z | 2022-03-12T20:38:40.000Z | libsrc/graphics/dfill2.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 2 | 2021-06-20T16:28:12.000Z | 2021-11-17T21:33:56.000Z | libsrc/graphics/dfill2.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 6 | 2021-06-18T18:18:36.000Z | 2021-12-22T08:01:32.000Z | ; Z88DK Small C+ Graphics Functions
; Fills a screen area
; Original code by Massimo Morra (Thanks!)
; Ported by Stefano Bodrato
;
; Feb 2000 - Platform dependent stack usage
; Stack usage should be maxy*8 (512 bytes for the Z88)
;
; Since some platform (expecially the TI83) has very little stack space,... | 13.825137 | 72 | 0.578656 |
53616cb33ff2286143219ac0727fb91112d6fbd5 | 709 | sql | SQL | webserver/app-moe/sql/Archive/3.4.x/3.4.10/PHPOE-2423/commit.sql | tharangar/k8s-webserver | c0701842c711b93c2a65214adbbeb0de02f1e81a | [
"Apache-2.0"
] | 1 | 2019-04-23T19:05:24.000Z | 2019-04-23T19:05:24.000Z | webserver/app-moe/sql/Archive/3.4.x/3.4.10/PHPOE-2423/commit.sql | tharangar/k8s-webserver | c0701842c711b93c2a65214adbbeb0de02f1e81a | [
"Apache-2.0"
] | null | null | null | webserver/app-moe/sql/Archive/3.4.x/3.4.10/PHPOE-2423/commit.sql | tharangar/k8s-webserver | c0701842c711b93c2a65214adbbeb0de02f1e81a | [
"Apache-2.0"
] | null | null | null | INSERT INTO `db_patches` VALUES ('PHPOE-2423', NOW());
-- backing up
CREATE TABLE `z2423_assessment_items` LIKE `assessment_items`;
INSERT INTO `z2423_assessment_items` SELECT * FROM `assessment_items` WHERE 1;
CREATE TABLE `z2423_assessment_item_results` LIKE `assessment_item_results`;
INSERT INTO `z2423_assessment_i... | 47.266667 | 102 | 0.819464 |
f43564e0abc2501134fa889dbd18e6b7b8e5391d | 196 | sql | SQL | skrypty_sql_pl_sql/host_sql/migawka.sql | Rafal14/Rozproszone_bazy_danych | 516238fd7d87fd0564b26f148208395bd63e5303 | [
"MIT"
] | null | null | null | skrypty_sql_pl_sql/host_sql/migawka.sql | Rafal14/Rozproszone_bazy_danych | 516238fd7d87fd0564b26f148208395bd63e5303 | [
"MIT"
] | null | null | null | skrypty_sql_pl_sql/host_sql/migawka.sql | Rafal14/Rozproszone_bazy_danych | 516238fd7d87fd0564b26f148208395bd63e5303 | [
"MIT"
] | null | null | null | --migawka
CREATE MATERIALIZED VIEW mv_ubezpieczenia
BUILD IMMEDIATE
REFRESH FORCE
START WITH SYSDATE + (1/(24*60*3))
NEXT SYSDATE + (1/(24*60*12))
AS SELECT * FROM ubezpieczenia@VM_LINK; | 21.777778 | 42 | 0.729592 |
7d1432fd427f6593401dd65793b026feb0029cbc | 1,527 | rb | Ruby | spec/openhbx/cv2/irs_group_spec.rb | ideacrew/openhbx_cv2 | d774b23f5f5f431142eb2ed7c782f86cc5d0ad36 | [
"Unlicense",
"MIT"
] | null | null | null | spec/openhbx/cv2/irs_group_spec.rb | ideacrew/openhbx_cv2 | d774b23f5f5f431142eb2ed7c782f86cc5d0ad36 | [
"Unlicense",
"MIT"
] | 1 | 2017-08-08T16:14:43.000Z | 2017-08-08T16:14:43.000Z | spec/openhbx/cv2/irs_group_spec.rb | ideacrew/openhbx_cv2 | d774b23f5f5f431142eb2ed7c782f86cc5d0ad36 | [
"Unlicense",
"MIT"
] | null | null | null | require "spec_helper"
describe Openhbx::Cv2::IrsGroup, "given a sample xml" do
let(:irs_group_id) { "exchange assigned irs_group_id" }
let(:primary_family_member_id) { "primary_family_member_id" }
let(:tax_household_id_1) { "a tax household id" }
let(:effective_start_date) { "20060302" }
let(:effective_end_d... | 28.811321 | 106 | 0.722986 |
f477b060aaf09cfb1c6ae0fcf1e67b6350f3ff7d | 10,403 | ts | TypeScript | docs/angular/plan/Planner.component.ts | fzan/bosket | 2f480b8b5d7441e0772c6bb3188ff5b9e96d2094 | [
"MIT"
] | 484 | 2017-05-18T11:36:47.000Z | 2022-01-17T19:54:25.000Z | docs/angular/plan/Planner.component.ts | fzan/bosket | 2f480b8b5d7441e0772c6bb3188ff5b9e96d2094 | [
"MIT"
] | 60 | 2017-09-21T09:17:50.000Z | 2019-07-19T19:14:14.000Z | docs/angular/plan/Planner.component.ts | fzan/bosket | 2f480b8b5d7441e0772c6bb3188ff5b9e96d2094 | [
"MIT"
] | 53 | 2017-08-24T17:58:39.000Z | 2021-06-04T03:20:41.000Z | import { Component, Input, ChangeDetectionStrategy, ComponentFactoryResolver, NgZone,
SimpleChanges, Type, ViewChild, ElementRef, ViewContainerRef, ChangeDetectorRef } from "@angular/core"
import { css } from "@bosket/tools"
import { DisplayComponent } from "@bosket/angular"
import "self/common/styles/Planner.css... | 39.256604 | 169 | 0.488609 |
a45b72424cf8e9a99c44a36272c36c1e7f929c5e | 2,806 | php | PHP | src/NextForm/Data/Store.php | instance/nextform | 774fd7c4fe4f5b398ba73826c1bbc2dd21eb6696 | [
"MIT"
] | 1 | 2020-04-03T02:49:10.000Z | 2020-04-03T02:49:10.000Z | src/NextForm/Data/Store.php | instance/nextform | 774fd7c4fe4f5b398ba73826c1bbc2dd21eb6696 | [
"MIT"
] | null | null | null | src/NextForm/Data/Store.php | instance/nextform | 774fd7c4fe4f5b398ba73826c1bbc2dd21eb6696 | [
"MIT"
] | null | null | null | <?php
namespace Abivia\NextForm\Data;
use Abivia\Configurable\Configurable;
use Abivia\NextForm\Traits\JsonEncoderTrait;
/**
* Describes the storage characteristics of an object.
*/
class Store implements \JsonSerializable
{
use Configurable;
use JsonEncoderTrait;
/**
* Rules for the JsonEncoder
... | 22.269841 | 85 | 0.521026 |
796ecc9290401918ba7323f12dce6e5fabcc2811 | 8,489 | php | PHP | application/controllers/api/Jamaah.php | simaung/gomasgo | 2970bbdf802b846a8aa6e911281608ed6d54fe33 | [
"MIT"
] | null | null | null | application/controllers/api/Jamaah.php | simaung/gomasgo | 2970bbdf802b846a8aa6e911281608ed6d54fe33 | [
"MIT"
] | null | null | null | application/controllers/api/Jamaah.php | simaung/gomasgo | 2970bbdf802b846a8aa6e911281608ed6d54fe33 | [
"MIT"
] | null | null | null | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
require APPPATH . 'third_party/REST_Controller.php';
require APPPATH . 'third_party/Format.php';
use Restserver\Libraries\REST_Controller;
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DEL... | 36.908696 | 142 | 0.483567 |
e26cf19fabe9ce6e97506afa3ac0b51f3d4d1432 | 3,935 | py | Python | examples/HD143006/common_functions.py | Jaye-yi/MPoL | eab782c275a48c5185de290cacdf12e68bbb66a5 | [
"MIT"
] | 18 | 2020-12-18T18:25:42.000Z | 2022-02-25T18:43:38.000Z | examples/HD143006/common_functions.py | Jaye-yi/MPoL | eab782c275a48c5185de290cacdf12e68bbb66a5 | [
"MIT"
] | 49 | 2021-01-13T03:44:56.000Z | 2021-10-05T21:43:14.000Z | examples/HD143006/common_functions.py | Jaye-yi/MPoL | eab782c275a48c5185de290cacdf12e68bbb66a5 | [
"MIT"
] | 6 | 2021-05-09T21:54:55.000Z | 2021-10-05T14:13:43.000Z | import numpy as np
import torch
from mpol import (
losses,
coordinates,
images,
precomposed,
gridding,
datasets,
connectors,
utils,
)
from astropy.utils.data import download_file
from ray import tune
import matplotlib.pyplot as plt
# We want to split these
# because otherwise the data l... | 27.137931 | 85 | 0.633545 |
4519981518a70a9689ae40169b9f37c8c44df8f0 | 325 | ps1 | PowerShell | cleanup.ps1 | markgamache/FFPKILab | 3ad9ed59ac35bb2fc6f661386a66a701b1e30c0a | [
"MIT"
] | null | null | null | cleanup.ps1 | markgamache/FFPKILab | 3ad9ed59ac35bb2fc6f661386a66a701b1e30c0a | [
"MIT"
] | null | null | null | cleanup.ps1 | markgamache/FFPKILab | 3ad9ed59ac35bb2fc6f661386a66a701b1e30c0a | [
"MIT"
] | null | null | null | #! /snap/bin/pwsh
Remove-Item -Recurse -Force /home/ubuntu/labPkiPy/
dir /var/www | where name -like "*.*" | Remove-Item -Force -Recurse
dir /etc/nginx/pki | Remove-Item -Force -Recurse
cd /etc/nginx/sites-available
rm ./default
ren ./default.old ./default
cd /home/ubuntu/FFPKILab
aws s3 rm --recursive s3://certsync... | 25 | 67 | 0.716923 |
9f892dbae03d0d26937889a8e0bed5173725b0db | 274 | lua | Lua | sample/main.lua | Nigh/simple_dll_for_Love2D | a5231f3303e296d9c705c7ec927d7fb87a4d8b3f | [
"MIT"
] | 13 | 2015-05-17T17:23:13.000Z | 2022-01-07T15:15:08.000Z | sample/main.lua | Nigh/simple_dll_for_Love2D | a5231f3303e296d9c705c7ec927d7fb87a4d8b3f | [
"MIT"
] | null | null | null | sample/main.lua | Nigh/simple_dll_for_Love2D | a5231f3303e296d9c705c7ec927d7fb87a4d8b3f | [
"MIT"
] | 3 | 2015-07-04T05:05:21.000Z | 2021-06-09T13:20:39.000Z |
function love.load()
lib=require("lovelib")
print(lib.doubles(1234))
end
function love.update(dt)
_dt=dt
end
function love.draw()
love.graphics.printf(_dt, 1, 1,1)
love.graphics.printf(lib.doubles(_dt),1,20,1)
love.graphics.printf(lib.avr(1,2,3,6,7,8),1,40,1)
end
| 16.117647 | 50 | 0.711679 |
9fe893a9e587c5ede3d63f8e13b450018dc68f8a | 749 | py | Python | pseudogen/log.py | ansobolev/PseudoGenerator | 6d94f4cd93411a963120ea218d26091d7ac46e8a | [
"MIT"
] | 1 | 2020-05-17T16:17:12.000Z | 2020-05-17T16:17:12.000Z | pseudogen/log.py | ansobolev/PseudoGenerator | 6d94f4cd93411a963120ea218d26091d7ac46e8a | [
"MIT"
] | null | null | null | pseudogen/log.py | ansobolev/PseudoGenerator | 6d94f4cd93411a963120ea218d26091d7ac46e8a | [
"MIT"
] | 1 | 2021-11-18T02:14:55.000Z | 2021-11-18T02:14:55.000Z |
import logging
loggers = {}
def get_logger(name, element):
global loggers
if loggers.get(name):
return loggers.get(name)
else:
# create logger
logger = logging.getLogger(name)
logger.setLevel(logging.DEBUG)
# create console handler and set level to debug
... | 22.69697 | 92 | 0.604806 |
2fcbbf1c381b14f439b0cbb7f5b2a904b4f9f437 | 2,622 | py | Python | scrape.py | amitshankar97/basketball-reference-scraper | e2d22b79d06847afa6d12d5fd996c7ea575c2749 | [
"MIT"
] | null | null | null | scrape.py | amitshankar97/basketball-reference-scraper | e2d22b79d06847afa6d12d5fd996c7ea575c2749 | [
"MIT"
] | 6 | 2021-03-18T21:39:32.000Z | 2022-03-11T23:36:25.000Z | scrape.py | amitshankar97/basketball-reference-scraper | e2d22b79d06847afa6d12d5fd996c7ea575c2749 | [
"MIT"
] | null | null | null | import threading
from db import DB
BASE_URL = 'https://www.basketball-reference.com'
import requests
from bs4 import BeautifulSoup
import re
class Scraper (threading.Thread):
def __init__(self, threadID, letter):
threading.Thread.__init__(self)
self.threadID = threadID
self.letter = letter
... | 30.137931 | 93 | 0.532799 |
a41a28e544e65a35c1ee1c39d2348c3df76af36b | 20,631 | php | PHP | data/Chunks/2000/60/2/2062-05-11.php | PHPCraftdream/astro_de421 | 28bf0273641aa4805b269eb5a67e43a7da2f4a0f | [
"MIT"
] | null | null | null | data/Chunks/2000/60/2/2062-05-11.php | PHPCraftdream/astro_de421 | 28bf0273641aa4805b269eb5a67e43a7da2f4a0f | [
"MIT"
] | null | null | null | data/Chunks/2000/60/2/2062-05-11.php | PHPCraftdream/astro_de421 | 28bf0273641aa4805b269eb5a67e43a7da2f4a0f | [
"MIT"
] | null | null | null | <?php return [2474320.5,2474352.5,-32220390.64870908,11297236.55930683,398948.6729453676,-25591.61637524686,94.71326727751496,-9.259938712819963,-0.2699559637390544,0.01298677666429623,-0.0008246174819355001,3.742826776631365E-5,-1.185369438437838E-6,4.094880897437804E-8,3.99755711523941E-11,-1.229840022567294E-10,-551... | 20,631 | 20,631 | 0.855315 |
7997b1c3f2b8ed29de39ba12fc93b087008df563 | 3,441 | php | PHP | resources/views/core/reservas/index.blade.php | Shinseiki86/reservas-lavadoras | 5fc94b7234d399ede59ffd0e2067bc47c9765ed5 | [
"MIT"
] | null | null | null | resources/views/core/reservas/index.blade.php | Shinseiki86/reservas-lavadoras | 5fc94b7234d399ede59ffd0e2067bc47c9765ed5 | [
"MIT"
] | null | null | null | resources/views/core/reservas/index.blade.php | Shinseiki86/reservas-lavadoras | 5fc94b7234d399ede59ffd0e2067bc47c9765ed5 | [
"MIT"
] | null | null | null | @extends('layouts.menu')
@section('title', '/ Reservas')
@include('datepicker')
@include('select2')
@rinclude('index-head')
@rinclude('index-scripts')
@section('section')
<div class="panel panel-default">
<div class="panel-heading">
<div class="row">
<div class="col-xs-8">
<h2>Calendario de Reservas</h2>
... | 29.663793 | 110 | 0.593432 |
1427cb83c868750304ba9ceac5a36018b49c3516 | 903 | ts | TypeScript | src/router.ts | Sighmir/techtalk-rest-apis | 33cce4b24fa5260c0b9123017efafe96119e0ff6 | [
"MIT"
] | null | null | null | src/router.ts | Sighmir/techtalk-rest-apis | 33cce4b24fa5260c0b9123017efafe96119e0ff6 | [
"MIT"
] | null | null | null | src/router.ts | Sighmir/techtalk-rest-apis | 33cce4b24fa5260c0b9123017efafe96119e0ff6 | [
"MIT"
] | null | null | null | import express from "express";
import { addUser, deleteUser, getUsers, updateUser } from "./controller";
const router = express.Router();
router.get("/users", async (req, res) => {
const { status, message } = await getUsers();
res.status(status).end(message);
});
router.post("/users", async (req, res) => {
cons... | 31.137931 | 80 | 0.673311 |
9d4a139f34073b8bcf20e8309d4058b31959ceb3 | 9,488 | lua | Lua | lib/luvit/fs.lua | AndrewTsao/luvit | d016e25b699e97a1fc8ee50d133949580e9e9c06 | [
"Apache-2.0"
] | null | null | null | lib/luvit/fs.lua | AndrewTsao/luvit | d016e25b699e97a1fc8ee50d133949580e9e9c06 | [
"Apache-2.0"
] | null | null | null | lib/luvit/fs.lua | AndrewTsao/luvit | d016e25b699e97a1fc8ee50d133949580e9e9c06 | [
"Apache-2.0"
] | null | null | null | --[[
Copyright 2012 The Luvit 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 agr... | 22.862651 | 99 | 0.664945 |
07a1daebcb5b29d6388ac939eef9cedcf64c9861 | 265 | css | CSS | public/css/minified/queries.css | RetaxMaster/BaseDeDatos | a26bcb23b2237c978d187edcdd59125538511157 | [
"MIT"
] | null | null | null | public/css/minified/queries.css | RetaxMaster/BaseDeDatos | a26bcb23b2237c978d187edcdd59125538511157 | [
"MIT"
] | 7 | 2021-03-09T16:37:43.000Z | 2022-02-26T17:20:58.000Z | public/css/minified/queries.css | RetaxMaster/BaseDeDatos | a26bcb23b2237c978d187edcdd59125538511157 | [
"MIT"
] | null | null | null | /* lg */
@media (max-width: 991px) {
.margin-grid {
margin: 0 80px;
}
}
/* md */
@media (max-width: 767px) {
.margin-grid {
margin: 0 50px;
}
}
/* sm */
@media (max-width: 575px) {
.margin-grid {
margin: 0 25px;
}
} | 13.25 | 27 | 0.464151 |
cdfab437767c454e83a6f74088b4a3f6c49619aa | 5,004 | cs | C# | UnitTest1.cs | utilitydelta/dotnet-brotli-tester | 5f817b49b1c000a3ccbad0e2afd3170b1dfb8ae7 | [
"MIT"
] | null | null | null | UnitTest1.cs | utilitydelta/dotnet-brotli-tester | 5f817b49b1c000a3ccbad0e2afd3170b1dfb8ae7 | [
"MIT"
] | null | null | null | UnitTest1.cs | utilitydelta/dotnet-brotli-tester | 5f817b49b1c000a3ccbad0e2afd3170b1dfb8ae7 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Reflection;
using Xunit;
namespace DotnetCoreBrotliTester
{
public class UnitTest1
{
private static Stream ExtractResource(string filename)
{
var a = Assembly.GetExecutingAssem... | 32.921053 | 107 | 0.540368 |
d401212f6424c246b505b1deda02f8475f602e6c | 568,742 | sql | SQL | samples/databases/wide-world-importers/wwi-ssdt/wwi-ssdt/PostDeploymentScripts/pds142-upd-app-stateprovinces-borders.sql | manikanth/sql-server-samples | 43719f8e8e13566ad48ba977e80b406464cf109e | [
"MIT"
] | 4,474 | 2019-05-06T23:05:37.000Z | 2022-03-31T23:30:31.000Z | samples/databases/wide-world-importers/wwi-ssdt/wwi-ssdt/PostDeploymentScripts/pds142-upd-app-stateprovinces-borders.sql | manikanth/sql-server-samples | 43719f8e8e13566ad48ba977e80b406464cf109e | [
"MIT"
] | 256 | 2019-05-07T07:07:19.000Z | 2022-03-29T17:11:41.000Z | samples/databases/wide-world-importers/wwi-ssdt/wwi-ssdt/PostDeploymentScripts/pds142-upd-app-stateprovinces-borders.sql | manikanth/sql-server-samples | 43719f8e8e13566ad48ba977e80b406464cf109e | [
"MIT"
] | 5,075 | 2019-05-07T00:07:21.000Z | 2022-03-31T23:31:15.000Z | PRINT 'Update Application.StateProvinces Borders'
GO
DECLARE @CurrentDateTime datetime2(7) = '20130101';
DECLARE @EndOfTime datetime2(7) = '99991231 23:59:59.9999999';
DECLARE @BorderBinary varbinary(max);
DECLARE @Border geography;
SET @BorderBinary = 0x010300000001000000b60000003277ee90fe1d56c057bb58bad3e43f408... | 119.861328 | 126 | 0.931382 |
cf2e054efadd0634817c4dc38169784128e15f6c | 7,430 | php | PHP | tests/LINEBot/NarrowCastTest.php | masterlib8/sataypichai | 71599b4e091729c1b055da9af7858e2238119883 | [
"Apache-2.0"
] | 1 | 2021-02-01T07:18:14.000Z | 2021-02-01T07:18:14.000Z | tests/LINEBot/NarrowCastTest.php | masterlib8/sataypichai | 71599b4e091729c1b055da9af7858e2238119883 | [
"Apache-2.0"
] | null | null | null | tests/LINEBot/NarrowCastTest.php | masterlib8/sataypichai | 71599b4e091729c1b055da9af7858e2238119883 | [
"Apache-2.0"
] | null | null | null | <?php
/**
* Copyright 2020 LINE Corporation
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* U... | 42.457143 | 102 | 0.561507 |
748f9ba97072f07e7af516c41341a846f47c4254 | 3,518 | css | CSS | public/index.css | cfelde/attest-with-ethereum | 4515d913cb35893e7987d5c0d2b47685c65bb314 | [
"Unlicense"
] | 2 | 2021-12-17T19:48:06.000Z | 2021-12-18T21:20:05.000Z | public/index.css | cfelde/attest-with-ethereum | 4515d913cb35893e7987d5c0d2b47685c65bb314 | [
"Unlicense"
] | null | null | null | public/index.css | cfelde/attest-with-ethereum | 4515d913cb35893e7987d5c0d2b47685c65bb314 | [
"Unlicense"
] | null | null | null | html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, ... | 17.59 | 84 | 0.620807 |
aecec424c5f7bca001259719d8501f65b6984124 | 551 | sh | Shell | run_simulation.sh | asreview/paper-simulating-risk-analysis-documents-KNMP | 62c61ef7976bdefb76a10660e1d8c172f5b1a4a4 | [
"MIT"
] | 2 | 2021-12-10T09:00:21.000Z | 2021-12-10T09:50:14.000Z | run_simulation.sh | asreview/paper-simulating-risk-analysis-documents-KNMP | 62c61ef7976bdefb76a10660e1d8c172f5b1a4a4 | [
"MIT"
] | null | null | null | run_simulation.sh | asreview/paper-simulating-risk-analysis-documents-KNMP | 62c61ef7976bdefb76a10660e1d8c172f5b1a4a4 | [
"MIT"
] | null | null | null | DATA=$1
RUN=$2
PRIOR_INCL=$3
PRIOR_EXCL=$4
SEED=$5
# run simulation 1, final inclusions
rm simulations/output/${DATA}/simulation/run_${DATA}_${RUN}.h5
asreview simulate simulations/data/output/${DATA}.csv -s simulations/output/${DATA}/simulation/run_${DATA}_${RUN}.h5 --prior_idx $PRIOR_INCL $PRIOR_EXCL -m logistic --s... | 45.916667 | 177 | 0.760436 |
e73d7cedce5f899f9fc75b935c3ff35d2e15b59f | 481 | php | PHP | app/Http/Controllers/UserController.php | huseinfachruddin/lumen | 82af6bd6d70d1d616a3986adf87eb290c15a5f98 | [
"MIT"
] | null | null | null | app/Http/Controllers/UserController.php | huseinfachruddin/lumen | 82af6bd6d70d1d616a3986adf87eb290c15a5f98 | [
"MIT"
] | null | null | null | app/Http/Controllers/UserController.php | huseinfachruddin/lumen | 82af6bd6d70d1d616a3986adf87eb290c15a5f98 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class UserController extends Controller
{
public function login(Request $request){
$this->validate($request, [
'password' => 'required',
'email' => 'required'
... | 26.722222 | 79 | 0.571726 |
6d77663a2e4bad1f3fc050baa1c9a232797a164f | 560 | h | C | Sail/src/Sail/entities/components/Component.h | h3nx/Sail | 96c13ee50bf9666c01bb8bb263e0c2dc3ba0eff9 | [
"MIT"
] | null | null | null | Sail/src/Sail/entities/components/Component.h | h3nx/Sail | 96c13ee50bf9666c01bb8bb263e0c2dc3ba0eff9 | [
"MIT"
] | null | null | null | Sail/src/Sail/entities/components/Component.h | h3nx/Sail | 96c13ee50bf9666c01bb8bb263e0c2dc3ba0eff9 | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
// This method only works in debug without optimisations
//#define SAIL_COMPONENT static int getStaticID() { \
// return reinterpret_cast<int>(&getStaticID); \
//}
// Creates a unique id for each class which derives from component
// This method uses the gcc defined __COUNTER__ macro ... | 20 | 84 | 0.739286 |
7585414e3ac4275894b98d60270d3975d5b8eb8d | 58,803 | css | CSS | content/wp-content/themes/koofa/assets/css/menu.css | BethanyWorld/KoofaDesign | 6168d98576bffb1584e8a1f373c83b1608c22d92 | [
"Apache-2.0"
] | null | null | null | content/wp-content/themes/koofa/assets/css/menu.css | BethanyWorld/KoofaDesign | 6168d98576bffb1584e8a1f373c83b1608c22d92 | [
"Apache-2.0"
] | null | null | null | content/wp-content/themes/koofa/assets/css/menu.css | BethanyWorld/KoofaDesign | 6168d98576bffb1584e8a1f373c83b1608c22d92 | [
"Apache-2.0"
] | null | null | null | div.ruby-menu-demo-header {
position: relative;
left: 0;
top: 0;
width: 100%;
height: auto;
padding: 0;
margin: 0;
z-index: 999;
background: #fff;
border: 1px solid rgba(0, 159, 76, 0.4);
border-left: 0;
border-right: 0;
}
div.ruby-menu-demo-header-bg div.ruby-menu-demo-... | 26.251339 | 622 | 0.59133 |
0af461f37209bfab9597b27842c570145a33148c | 626 | cs | C# | Rendering/OpenGLBindings/TextureEnvModeOperandRgb.cs | Intemporel/WoWDatabaseEditor | 191a9a18a04cffdc3db20ec2d504dd1e1c9ccc1d | [
"MIT"
] | 6 | 2021-02-06T08:55:38.000Z | 2022-01-02T06:00:56.000Z | Rendering/OpenGLBindings/TextureEnvModeOperandRgb.cs | Intemporel/WoWDatabaseEditor | 191a9a18a04cffdc3db20ec2d504dd1e1c9ccc1d | [
"MIT"
] | 9 | 2021-01-14T09:41:30.000Z | 2022-02-23T01:25:05.000Z | Rendering/OpenGLBindings/TextureEnvModeOperandRgb.cs | Intemporel/WoWDatabaseEditor | 191a9a18a04cffdc3db20ec2d504dd1e1c9ccc1d | [
"MIT"
] | 5 | 2020-12-28T18:46:02.000Z | 2021-12-03T16:14:53.000Z | namespace OpenGLBindings
{
/// <summary>
/// Not used directly.
/// </summary>
public enum TextureEnvModeOperandRgb
{
/// <summary>
/// Original was GL_SRC_COLOR = 0x0300
/// </summary>
SrcColor = 768,
/// <summary>
/// Original was GL_ONE_MINUS_SRC_CO... | 25.04 | 56 | 0.525559 |
8b5e9bfac6d65dd18c681ec8fded67741f6524d4 | 4,704 | rb | Ruby | lib/aws/ec2/snapshot_collection.rb | centresource/aws-sdk-for-ruby | ddbd83fa5acb83d328e6fdeb2ccd75e1affdd2ee | [
"Apache-2.0"
] | null | null | null | lib/aws/ec2/snapshot_collection.rb | centresource/aws-sdk-for-ruby | ddbd83fa5acb83d328e6fdeb2ccd75e1affdd2ee | [
"Apache-2.0"
] | null | null | null | lib/aws/ec2/snapshot_collection.rb | centresource/aws-sdk-for-ruby | ddbd83fa5acb83d328e6fdeb2ccd75e1affdd2ee | [
"Apache-2.0"
] | 1 | 2018-06-26T17:03:14.000Z | 2018-06-26T17:03:14.000Z | # Copyright 2011 Amazon.com, Inc. or its affiliates. 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. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file acc... | 36.465116 | 100 | 0.633291 |
8e52a3a2bee2398f3a8fa20fe1a23476ef66c1aa | 8,578 | js | JavaScript | test/graph.js | ggoodman/resolve-npm-dependency-graph | 7e875739719f67ff869ad219990d0211b54eceb4 | [
"MIT"
] | 4 | 2018-06-12T21:56:34.000Z | 2019-04-22T19:21:01.000Z | test/graph.js | ggoodman/resolve-npm-dependency-graph | 7e875739719f67ff869ad219990d0211b54eceb4 | [
"MIT"
] | null | null | null | test/graph.js | ggoodman/resolve-npm-dependency-graph | 7e875739719f67ff869ad219990d0211b54eceb4 | [
"MIT"
] | 1 | 2019-11-26T23:34:17.000Z | 2019-11-26T23:34:17.000Z | //@ts-check
'use strict';
const { expect } = require('code');
const Lab = require('lab');
const Resolver = require('../');
const lab = (exports.lab = Lab.script({
cli: {
globals: [
'__extends',
'__assign',
'__rest',
'__decorate',
'__param',
... | 31.888476 | 114 | 0.501049 |
21c10f166ac5abf2e27a3fa6d36886aea5bf5b6b | 328 | kt | Kotlin | api/src/main/java/org/runestar/client/api/overlay/StrutOverlay.kt | BenjaminFaal/client | d02e7a382a34af117279be02f9f54a6a70fc012b | [
"MIT"
] | null | null | null | api/src/main/java/org/runestar/client/api/overlay/StrutOverlay.kt | BenjaminFaal/client | d02e7a382a34af117279be02f9f54a6a70fc012b | [
"MIT"
] | null | null | null | api/src/main/java/org/runestar/client/api/overlay/StrutOverlay.kt | BenjaminFaal/client | d02e7a382a34af117279be02f9f54a6a70fc012b | [
"MIT"
] | null | null | null | package org.runestar.client.api.overlay
import java.awt.Dimension
import java.awt.Graphics2D
class StrutOverlay(
val width: Int,
val height: Int
) : Overlay {
override fun draw(g: Graphics2D, size: Dimension) {}
override fun getSize(g: Graphics2D, result: Dimension) = result.setSize(width, h... | 23.428571 | 90 | 0.710366 |
9783b82adb84479944cf2fb69db06b233ce956a6 | 315 | tsx | TypeScript | pages/checkout.tsx | nickxiaohk01/de01-store | 316ec73212aa42dd193aaa73dfce07b682bba1e2 | [
"MIT"
] | null | null | null | pages/checkout.tsx | nickxiaohk01/de01-store | 316ec73212aa42dd193aaa73dfce07b682bba1e2 | [
"MIT"
] | 3 | 2021-03-23T02:46:52.000Z | 2021-06-03T15:09:10.000Z | pages/checkout.tsx | nickxiaohk01/de01-store | 316ec73212aa42dd193aaa73dfce07b682bba1e2 | [
"MIT"
] | null | null | null | import React from 'react'
import { CartSummary } from '@components/cart'
import { fakePartnerServerProxy } from '@proxy'
import { Checkout as CheckoutComp } from '@components/checkout'
const Checkout = () => (
<CheckoutComp checkoutMethod={fakePartnerServerProxy.submitPayment_V23} />
)
export default Checkout
| 28.636364 | 76 | 0.765079 |
9fe28045cd5e97868df36d08bc6a7e65ac0c5dfc | 680 | py | Python | factorial.py | fionanealon/python-exercises | f78ebd4ccd5504bf6c6cc07992ec5a72f6a02914 | [
"Apache-2.0"
] | null | null | null | factorial.py | fionanealon/python-exercises | f78ebd4ccd5504bf6c6cc07992ec5a72f6a02914 | [
"Apache-2.0"
] | null | null | null | factorial.py | fionanealon/python-exercises | f78ebd4ccd5504bf6c6cc07992ec5a72f6a02914 | [
"Apache-2.0"
] | null | null | null | # Fiona Nealon, 2018-04-07
# A function called factorial() which takes a single input and returns it's factorial
def factorial(upto):
# Create a variable that will become the answer
multupto = 1
# Loop through numbers i from 1 to upto
for i in range(1, upto + 1):
# Multiply ans by i, changing ans to that... | 37.777778 | 87 | 0.719118 |
8459792b1145996cd8f8f5567c50ef326ce389e8 | 2,081 | cs | C# | TaskControlSql/TaskControlSql.View/AddTodoTaskScreen.cs | pedro-ca/Task-Control-SQL | daec86e6e6305d4f4c4b8929b629973246fe3b2e | [
"MIT"
] | 2 | 2021-07-03T19:07:56.000Z | 2022-01-05T12:06:55.000Z | TaskControlSql/TaskControlSql.View/AddTodoTaskScreen.cs | pedro-ca/Task-Control-SQL | daec86e6e6305d4f4c4b8929b629973246fe3b2e | [
"MIT"
] | null | null | null | TaskControlSql/TaskControlSql.View/AddTodoTaskScreen.cs | pedro-ca/Task-Control-SQL | daec86e6e6305d4f4c4b8929b629973246fe3b2e | [
"MIT"
] | null | null | null | using System;
using System.Windows.Forms;
using TaskControlSql.Control;
using TaskControlSql.Domain;
namespace TaskControlSql.View
{
public partial class AddTodoTaskScreen : Form
{
TodoTaskController mainController;
public AddTodoTaskScreen(TodoTaskController mainController)
{
... | 37.836364 | 174 | 0.603556 |
b08161edc9ce6ed523379d6fe2f8473172b55797 | 3,637 | py | Python | captioner/hparams.py | svaisakh/captioner | 5c1144a9ed3986e1d8acdd7bb2732b252b3982d3 | [
"MIT"
] | 1 | 2018-07-23T14:44:14.000Z | 2018-07-23T14:44:14.000Z | captioner/hparams.py | svaisakh/captioner | 5c1144a9ed3986e1d8acdd7bb2732b252b3982d3 | [
"MIT"
] | null | null | null | captioner/hparams.py | svaisakh/captioner | 5c1144a9ed3986e1d8acdd7bb2732b252b3982d3 | [
"MIT"
] | 1 | 2018-09-05T20:52:24.000Z | 2018-09-05T20:52:24.000Z | from multiprocessing import cpu_count as __num_cores
# Extractor
architecture = 'resnet34'
image_shape = 224
extractor_batch_size = 16
num_workers = 8
num_workers = min(num_workers, __num_cores())
# Captions
vocab_size = 10000
caption_idx = 0
prune_batch_size = 8
# Model
rnn_type = 'LSTM'
hidden_size = 512
num_laye... | 29.096 | 159 | 0.68793 |