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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
702d2abdbf92b2c514edef46728a634254703384 | 2,316 | hpp | C++ | include/cppcoro/net/socket_send_operation.hpp | richard-vock/cppcoro | 8933f03ff18b6a004a3ff2a271f4f74fafb29a96 | [
"MIT"
] | 2,324 | 2017-04-20T00:53:31.000Z | 2022-03-31T08:30:35.000Z | include/cppcoro/net/socket_send_operation.hpp | AlexCr4ckPentest/cppcoro | 4e6b44eaec34b8a7fb82357515ece84d64381a50 | [
"MIT"
] | 165 | 2017-04-10T21:40:51.000Z | 2022-02-25T15:45:38.000Z | include/cppcoro/net/socket_send_operation.hpp | AlexCr4ckPentest/cppcoro | 4e6b44eaec34b8a7fb82357515ece84d64381a50 | [
"MIT"
] | 325 | 2017-05-04T18:48:21.000Z | 2022-03-28T19:29:54.000Z | ///////////////////////////////////////////////////////////////////////////////
// Copyright (c) Lewis Baker
// Licenced under MIT license. See LICENSE.txt for details.
///////////////////////////////////////////////////////////////////////////////
#ifndef CPPCORO_NET_SOCKET_SEND_OPERATION_HPP_INCLUDED
#define CPPCORO_... | 24.378947 | 110 | 0.718048 |
2fc7102688c701aaa329bcfa0f786cc0ecbade58 | 317 | py | Python | dkr-py310/docker-student-portal-310/course_files/experimental/py_socket_connector_info.py | pbarton666/virtual_classroom | a9d0dc2eb16ebc4d2fd451c3a3e6f96e37c87675 | [
"MIT"
] | null | null | null | dkr-py310/docker-student-portal-310/course_files/experimental/py_socket_connector_info.py | pbarton666/virtual_classroom | a9d0dc2eb16ebc4d2fd451c3a3e6f96e37c87675 | [
"MIT"
] | null | null | null | dkr-py310/docker-student-portal-310/course_files/experimental/py_socket_connector_info.py | pbarton666/virtual_classroom | a9d0dc2eb16ebc4d2fd451c3a3e6f96e37c87675 | [
"MIT"
] | null | null | null | #py_socket_connector_info.py
import socket
ip_address= 'localhost' #serving locally only
port = 8000 #an arbitrary 4-digit port
protocol_family_name= socket.AF_INET #olde tyme IPv4 protocol
socket_type= socket.SOCK_STREAM #a simple stream | 52.833333 | 72 | 0.624606 |
1a7460983fa368db0f31264f913e4750a7474fd7 | 1,483 | py | Python | packaging/versionator.py | guyang3532/builder | 94d4cb20f59ed72e81b5371655ee6d8fa2b75260 | [
"BSD-2-Clause"
] | 1 | 2021-06-22T15:33:32.000Z | 2021-06-22T15:33:32.000Z | packaging/versionator.py | guyang3532/builder | 94d4cb20f59ed72e81b5371655ee6d8fa2b75260 | [
"BSD-2-Clause"
] | null | null | null | packaging/versionator.py | guyang3532/builder | 94d4cb20f59ed72e81b5371655ee6d8fa2b75260 | [
"BSD-2-Clause"
] | 1 | 2019-06-27T20:53:46.000Z | 2019-06-27T20:53:46.000Z | #!/usr/bin/env python
"""
TODO: This was hard to read in pkg_helpers.bash, so I've extracted it
to its own script. This script is not yet being called by
pkg_helpers.bash yet.
"""
import os
import sys
import json
import re
cuver = os.environ.get('CU_VERSION')
cuver = (cuver[:-1] + '.' + cuver[-1]).replace('cu', 'c... | 30.265306 | 96 | 0.65408 |
12bbb57a25439888674e226c8c36e3a275b76d90 | 6,249 | cs | C# | src/Cosmos.Security.Cryptography/Cosmos/Security/Cryptography/SM2/Sm2KeyGenerator.cs | CosmosLoops/OneMore | f4b229b2fbd32f801a39b6c30edc45bbee3493a3 | [
"Apache-2.0"
] | 3 | 2021-02-17T08:01:56.000Z | 2021-05-16T05:15:39.000Z | src/Cosmos.Security.Cryptography/Cosmos/Security/Cryptography/SM2/Sm2KeyGenerator.cs | CosmosLoops/OneMore | f4b229b2fbd32f801a39b6c30edc45bbee3493a3 | [
"Apache-2.0"
] | 2 | 2021-04-25T02:50:14.000Z | 2021-04-30T07:04:02.000Z | src/Cosmos.Security.Cryptography/Cosmos/Security/Cryptography/SM2/Sm2KeyGenerator.cs | cosmos-loops/Encryption | f4b229b2fbd32f801a39b6c30edc45bbee3493a3 | [
"Apache-2.0"
] | 2 | 2020-09-11T06:41:35.000Z | 2020-11-23T01:39:07.000Z | using System;
using Cosmos.Conversions;
using Org.BouncyCastle.Crypto.Generators;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.Math;
using Org.BouncyCastle.Math.EC;
using Org.BouncyCastle.Pkcs;
using Org.BouncyCastle.Security;
using Org.BouncyCastle.X509;
// ReSharper disable CheckNamespace
names... | 36.54386 | 164 | 0.611138 |
be4227eb8889c514aaef956486e7ee64787f2fac | 1,812 | ts | TypeScript | Frontend/src/app/categories/category-form/category-form.component.ts | samaronesalles/RealFinance | 8186ae0f8a224cd8b53d4253154a3f99cf217d4b | [
"MIT"
] | 1 | 2020-03-31T23:05:15.000Z | 2020-03-31T23:05:15.000Z | Frontend/src/app/categories/category-form/category-form.component.ts | samaronesalles/RealFinance | 8186ae0f8a224cd8b53d4253154a3f99cf217d4b | [
"MIT"
] | 4 | 2021-09-02T08:25:28.000Z | 2022-02-27T01:38:11.000Z | Frontend/src/app/categories/category-form/category-form.component.ts | samaronesalles/RealFinance | 8186ae0f8a224cd8b53d4253154a3f99cf217d4b | [
"MIT"
] | null | null | null | import { Component, OnInit } from '@angular/core';
import { FormGroup, FormBuilder, Validators } from '@angular/forms';
import { CategoryService } from '../category.service'
import { Location } from '@angular/common';
import { ActivatedRoute, Router } from '@angular/router';
import { Category } from '../category/catego... | 25.166667 | 160 | 0.666115 |
ae6be8c431b9806c93114bd619400560fcc5c481 | 1,730 | lua | Lua | libraries/http.lua | Lexicality/libgmod | 8382a24dd0f10e4a9974a04453d82dd8c03900f0 | [
"MIT"
] | 6 | 2020-06-25T15:51:09.000Z | 2022-01-07T00:56:34.000Z | libraries/http.lua | Lexicality/libgmod | 8382a24dd0f10e4a9974a04453d82dd8c03900f0 | [
"MIT"
] | 1 | 2021-04-13T20:09:05.000Z | 2022-01-07T00:57:54.000Z | libraries/http.lua | Lexicality/libgmod | 8382a24dd0f10e4a9974a04453d82dd8c03900f0 | [
"MIT"
] | null | null | null | --- The http library allows either the server or client to communicate with external websites via HTTP, both GET (http.Fetch) and POST (http.Post) are supported. A more powerful & advanced method can be used via the global Global.HTTP function.
_G.http = {}
--- Launches a GET request.
--- ℹ **NOTE**: HTTP-requests ... | 69.2 | 246 | 0.757803 |
3f7dafb69cd314d6f094014fc4cc9d0b86f7305a | 504 | php | PHP | app/Models/EmployerTypeModel.php | SuntechITOverseasEducationPvtLtd/interviewxp_v1 | e0ad151d3910e445f758bf37cad0138f746577cf | [
"MIT"
] | null | null | null | app/Models/EmployerTypeModel.php | SuntechITOverseasEducationPvtLtd/interviewxp_v1 | e0ad151d3910e445f758bf37cad0138f746577cf | [
"MIT"
] | null | null | null | app/Models/EmployerTypeModel.php | SuntechITOverseasEducationPvtLtd/interviewxp_v1 | e0ad151d3910e445f758bf37cad0138f746577cf | [
"MIT"
] | null | null | null | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class EmployerTypeModel extends Model
{
protected $table ="employer_type";
protected $fillable = [
'member_id',
'designation',
'company_name',
'start_month',
'start_year',
'end_m... | 18.666667 | 40 | 0.511905 |
a44bc2c13ef1855316dab07bf5860388f3f97c57 | 3,479 | php | PHP | tests/TwilioProviderTest.php | nikkuang/twilio | 6c8df52e7cb260cbf87b2823abc96fd167ced3ce | [
"MIT"
] | null | null | null | tests/TwilioProviderTest.php | nikkuang/twilio | 6c8df52e7cb260cbf87b2823abc96fd167ced3ce | [
"MIT"
] | null | null | null | tests/TwilioProviderTest.php | nikkuang/twilio | 6c8df52e7cb260cbf87b2823abc96fd167ced3ce | [
"MIT"
] | 1 | 2021-09-02T19:45:23.000Z | 2021-09-02T19:45:23.000Z | <?php
namespace NotificationChannels\Twilio\Test;
use ArrayAccess;
use Illuminate\Contracts\Foundation\Application;
use Mockery;
use Mockery\Adapter\Phpunit\MockeryTestCase;
use NotificationChannels\Twilio\Twilio;
use NotificationChannels\Twilio\TwilioChannel;
use NotificationChannels\Twilio\TwilioConfig;
use Notific... | 33.451923 | 105 | 0.609945 |
1be926b44976c8f514ac2d40fc0a2c8b34bf5f3a | 306 | rb | Ruby | lib/parser/rule.rb | esbel/business-dsl-example | d28d83476ed8b621469ba777c26e7ec86d82cf7b | [
"MIT"
] | 1 | 2016-01-15T20:14:36.000Z | 2016-01-15T20:14:36.000Z | lib/parser/rule.rb | esbel/business-dsl-example | d28d83476ed8b621469ba777c26e7ec86d82cf7b | [
"MIT"
] | null | null | null | lib/parser/rule.rb | esbel/business-dsl-example | d28d83476ed8b621469ba777c26e7ec86d82cf7b | [
"MIT"
] | null | null | null | class Parser::Rule < Parser::BaseRule
def initialize(expr, opts = {}, &block)
raise Parser::NoMatchingRuleProvided.new("Rule must have matching rule Regexp provided.") unless expr.kind_of?(Regexp)
@expression = expr
@production_code = block
end
def multiline?
false
end
end | 27.818182 | 126 | 0.69281 |
b7770ffe54e055adc39a5bce768cddb392eb68be | 1,442 | cs | C# | src/RollerSnake/RollerSnakeTuning.cs | daviscook477/ONI-Mods | 8b59ae34d5fe8a74e3383756eca6f95a9d588ca5 | [
"MIT",
"Unlicense"
] | 4 | 2019-07-26T03:02:41.000Z | 2021-04-21T16:58:03.000Z | src/RollerSnake/RollerSnakeTuning.cs | daviscook477/ONI-Mods | 8b59ae34d5fe8a74e3383756eca6f95a9d588ca5 | [
"MIT",
"Unlicense"
] | 16 | 2019-08-12T22:10:39.000Z | 2022-02-03T08:02:40.000Z | src/RollerSnake/RollerSnakeTuning.cs | daviscook477/ONI-Mods | 8b59ae34d5fe8a74e3383756eca6f95a9d588ca5 | [
"MIT",
"Unlicense"
] | 29 | 2019-07-17T23:02:30.000Z | 2022-03-31T21:28:54.000Z | using System.Collections.Generic;
using TUNING;
namespace RollerSnake
{
public class RollerSnakeTuning
{
public static List<FertilityMonitor.BreedingChance> EGG_CHANCES_BASE = new List<FertilityMonitor.BreedingChance>()
{
new FertilityMonitor.BreedingChance()
{
... | 35.170732 | 123 | 0.599168 |
15c265de8f276d8fbc93c90210fdd3071b6ad598 | 316 | rb | Ruby | spec/models/inquiry/node_spec.rb | snkmr/shirasagi | f3fd6d3999d1f295fc08f8b00a335184934a3a35 | [
"MIT"
] | 1 | 2018-12-01T05:19:22.000Z | 2018-12-01T05:19:22.000Z | spec/models/inquiry/node_spec.rb | snkmr/shirasagi | f3fd6d3999d1f295fc08f8b00a335184934a3a35 | [
"MIT"
] | 2 | 2015-01-22T06:09:50.000Z | 2015-01-22T07:10:51.000Z | spec/models/inquiry/node_spec.rb | snkmr/shirasagi | f3fd6d3999d1f295fc08f8b00a335184934a3a35 | [
"MIT"
] | 2 | 2017-04-11T00:47:44.000Z | 2019-01-12T07:11:17.000Z | require 'spec_helper'
describe Inquiry::Node::Base, type: :model, dbscope: :example do
let(:item) { create :inquiry_node_base }
it_behaves_like "cms_node#spec"
end
describe Inquiry::Node::Form, type: :model, dbscope: :example do
let(:item) { create :inquiry_node_form }
it_behaves_like "cms_node#spec"
end
| 26.333333 | 64 | 0.740506 |
a1044372a48ce097072606a1bfd3ed4403f708b4 | 475 | ts | TypeScript | DataHub/IoTCommunicationGui/ClientApp/src/app/nav-menu/nav-menu.component.ts | LLDevLab/LLDevHomeAutomation | 907670f9812529dba51080e6490a2b9fd0c43d41 | [
"MIT"
] | 1 | 2021-05-07T18:49:27.000Z | 2021-05-07T18:49:27.000Z | DataHub/IoTCommunicationGui/ClientApp/src/app/nav-menu/nav-menu.component.ts | LLDevLab/LLDevHomeAutomation | 907670f9812529dba51080e6490a2b9fd0c43d41 | [
"MIT"
] | null | null | null | DataHub/IoTCommunicationGui/ClientApp/src/app/nav-menu/nav-menu.component.ts | LLDevLab/LLDevHomeAutomation | 907670f9812529dba51080e6490a2b9fd0c43d41 | [
"MIT"
] | null | null | null | import { Component, Input, OnChanges, SimpleChanges } from '@angular/core';
import { MenuType } from '../enums';
@Component({
selector: 'app-nav-menu',
templateUrl: './nav-menu.component.html',
styleUrls: ['./nav-menu.component.css']
})
export class NavMenuComponent implements OnChanges {
@Input() menuType: M... | 22.619048 | 75 | 0.684211 |
cd69d1ab40826ee4f2b9f5585fc555b26df8f55c | 15,778 | cs | C# | CHIP8.Emulator/Chip8.cs | severinkaderli/CHIP8.Emulator | cd10ccc5415e08e2a3166419e24bf2d0c3d1b67f | [
"MIT"
] | 2 | 2017-10-22T06:48:39.000Z | 2019-01-04T22:17:35.000Z | CHIP8.Emulator/Chip8.cs | severinkaderli/CHIP8.Emulator | cd10ccc5415e08e2a3166419e24bf2d0c3d1b67f | [
"MIT"
] | null | null | null | CHIP8.Emulator/Chip8.cs | severinkaderli/CHIP8.Emulator | cd10ccc5415e08e2a3166419e24bf2d0c3d1b67f | [
"MIT"
] | null | null | null | using System;
using System.IO;
using System.Collections.Generic;
using System.Drawing;
using OpenTK.Input;
using OpenTK.Graphics.OpenGL;
namespace CHIP8.Emulator
{
class Chip8
{
/// <summary>
/// Start of the working RAM.
/// </summary>
private const int START_PROGRAM_MEMORY = ... | 32.004057 | 116 | 0.333122 |
4d4088164b475720a9f368078583cc7f83bcdd29 | 224 | cs | C# | src/Fabricdot.Domain.Core/Entities/IHasConcurrencyStamp.cs | Winches/Fabricdot.Core | 002f29623feb203d6ee8355223c6b2f24bd20487 | [
"MIT"
] | 8 | 2021-07-15T09:24:48.000Z | 2022-01-19T07:06:52.000Z | src/Fabricdot.Domain.Core/Entities/IHasConcurrencyStamp.cs | Winches/Fabricdot.Core | 002f29623feb203d6ee8355223c6b2f24bd20487 | [
"MIT"
] | null | null | null | src/Fabricdot.Domain.Core/Entities/IHasConcurrencyStamp.cs | Winches/Fabricdot.Core | 002f29623feb203d6ee8355223c6b2f24bd20487 | [
"MIT"
] | 3 | 2021-11-11T14:25:00.000Z | 2022-02-07T09:30:27.000Z | namespace Fabricdot.Domain.Core.Entities
{
public interface IHasConcurrencyStamp
{
/// <summary>
/// concurrency token
/// </summary>
string ConcurrencyStamp { get; set; }
}
} | 22.4 | 45 | 0.575893 |
e27b12edde3ec7baac27972f0ef3f3477f678823 | 7,457 | py | Python | src/token_auth/tests/__init__.py | robmoggach/django-token-auth | 7ef6e10c27b0168c1272347d0169cdbd96232ed3 | [
"BSD-3-Clause"
] | 4 | 2015-03-04T16:35:18.000Z | 2016-07-08T19:50:47.000Z | src/token_auth/tests/__init__.py | robmoggach/django-token-auth | 7ef6e10c27b0168c1272347d0169cdbd96232ed3 | [
"BSD-3-Clause"
] | null | null | null | src/token_auth/tests/__init__.py | robmoggach/django-token-auth | 7ef6e10c27b0168c1272347d0169cdbd96232ed3 | [
"BSD-3-Clause"
] | 1 | 2021-02-17T05:22:44.000Z | 2021-02-17T05:22:44.000Z | from django.test import TestCase
from django.test.client import Client
from django.conf import settings
from django.contrib.auth.models import User
from django.core.urlresolvers import reverse
from django.utils.encoding import force_unicode
import datetime
from token_auth.models import ProtectedURL, Token
from token_a... | 31.200837 | 124 | 0.664208 |
8ebafb76e51c2f6f070575253e70051f34531ed0 | 4,319 | js | JavaScript | lib/rangy/rangy-serializer.js | PolicyStat/PolicyPad | a7bad6201afb473f2daa4a97207d3637894e7a36 | [
"Apache-2.0"
] | 2 | 2016-04-21T16:54:38.000Z | 2016-12-06T09:14:38.000Z | lib/rangy/rangy-serializer.js | PolicyStat/PolicyPad | a7bad6201afb473f2daa4a97207d3637894e7a36 | [
"Apache-2.0"
] | null | null | null | lib/rangy/rangy-serializer.js | PolicyStat/PolicyPad | a7bad6201afb473f2daa4a97207d3637894e7a36 | [
"Apache-2.0"
] | null | null | null | /*
Serializer module for Rangy.
Serializes Ranges and Selections. An example use would be to store a user's selection on a particular page in a
cookie or local storage and restore it on the user's next visit to the same page.
Part of Rangy, a cross-browser JavaScript range and selection library
http://code.google... | 187.782609 | 579 | 0.677472 |
90d8da9e1e041cd7127fa6d5b3b9343e084df165 | 700 | dart | Dart | lib/src/models/meta.dart | Xavjer/spotify-dart | 1ed33820fec92507a0e7331e9121ec7942ba6656 | [
"BSD-3-Clause"
] | null | null | null | lib/src/models/meta.dart | Xavjer/spotify-dart | 1ed33820fec92507a0e7331e9121ec7942ba6656 | [
"BSD-3-Clause"
] | null | null | null | lib/src/models/meta.dart | Xavjer/spotify-dart | 1ed33820fec92507a0e7331e9121ec7942ba6656 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2017, rinukkusu. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.
part of spotify.models;
@JsonSerializable(createToJson: false)
class Meta extends Object {
Meta();
factory Meta.fromJson(Map<String, dynamic> json) =>
... | 18.421053 | 78 | 0.677143 |
33d264ae19b84991195751fd2ecaa40a4c05c781 | 9,429 | c | C | deps/gettext/gettext-tools/src/libexpat-compat.c | JamesLinus/poedit | feae6a69f5b101a2b17d55cb9b32f1ab37edb9e2 | [
"MIT"
] | 1 | 2019-04-22T09:09:32.000Z | 2019-04-22T09:09:32.000Z | deps/gettext/gettext-tools/src/libexpat-compat.c | JamesLinus/poedit | feae6a69f5b101a2b17d55cb9b32f1ab37edb9e2 | [
"MIT"
] | null | null | null | deps/gettext/gettext-tools/src/libexpat-compat.c | JamesLinus/poedit | feae6a69f5b101a2b17d55cb9b32f1ab37edb9e2 | [
"MIT"
] | null | null | null | /* xgettext libexpat compatibility.
Copyright (C) 2002-2003, 2005-2009, 2013, 2015 Free Software
Foundation, Inc.
This file was written by Bruno Haible <haible@clisp.cons.org>, 2002.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public Licens... | 28.746951 | 87 | 0.634956 |
fb88aec7c17e1c94c26673df8e7e36dbf103a23b | 482 | sql | SQL | OfficeOlympicsDb/dbo/Tables/Record.sql | Matt23488/OfficeOlympics | 454a1da9c6ffeab1dc51797d9eb2c57c27b9f296 | [
"MIT"
] | null | null | null | OfficeOlympicsDb/dbo/Tables/Record.sql | Matt23488/OfficeOlympics | 454a1da9c6ffeab1dc51797d9eb2c57c27b9f296 | [
"MIT"
] | null | null | null | OfficeOlympicsDb/dbo/Tables/Record.sql | Matt23488/OfficeOlympics | 454a1da9c6ffeab1dc51797d9eb2c57c27b9f296 | [
"MIT"
] | null | null | null | CREATE TABLE [dbo].[Record]
(
[RecordId] INT IDENTITY(1, 1) NOT NULL,
[CompetitorId] INT NOT NULL,
[OlympicEventId] INT NOT NULL,
[Score] INT NOT NULL,
[DateAchieved] DATETIME NOT NULL,
CONSTRAINT [PK_Record] PRIMARY KEY CLUSTERED ([RecordId]),
CONSTRAINT [FK_Record_Competitor] FOREIGN KEY ([CompetitorId]) REFE... | 43.818182 | 117 | 0.755187 |
b76a1c7f3b7d63a8d107257a59dfbaed4a23d4d4 | 1,211 | cs | C# | src/WpfPlus/Mvvm/DelegateCommand.cs | tetrodoxin/WpfPlus.Plus | 7cd9141ca3e7d449f507185e46eee3458c7d791e | [
"MIT"
] | 1 | 2020-05-26T00:42:36.000Z | 2020-05-26T00:42:36.000Z | src/WpfPlus/Mvvm/DelegateCommand.cs | tetrodoxin/WpfPlus.Plus | 7cd9141ca3e7d449f507185e46eee3458c7d791e | [
"MIT"
] | null | null | null | src/WpfPlus/Mvvm/DelegateCommand.cs | tetrodoxin/WpfPlus.Plus | 7cd9141ca3e7d449f507185e46eee3458c7d791e | [
"MIT"
] | 1 | 2020-08-25T14:55:04.000Z | 2020-08-25T14:55:04.000Z | using System;
using System.Windows.Input;
namespace WpfPlus.Mvvm
{
/// <summary>
/// A delegate-based implementation of <see cref="ICommand"/>
/// that requires no command parameter
/// </summary>
/// <seealso cref="WpfPlus.Mvvm.DelegateCommandBase" />
public class DelegateCommand : DelegateC... | 32.72973 | 118 | 0.659785 |
8ecbef72cc0bf431e8edfabe6bc8c624655d2acb | 102 | rb | Ruby | examples/mrbgems/c_and_ruby_extension_example/mrblib/example.rb | stuarth/mruby | 5211a3f2094d458e92b171cf096d3a18e76afaef | [
"MIT"
] | 2,793 | 2019-07-28T02:15:11.000Z | 2022-03-30T02:52:20.000Z | examples/mrbgems/c_and_ruby_extension_example/mrblib/example.rb | Seanpm2001-Ruby-lang/mruby | 8b443aa43b752e97b839695708847180e9e518e6 | [
"MIT"
] | 1,633 | 2015-01-03T23:39:25.000Z | 2022-03-31T08:29:08.000Z | examples/mrbgems/c_and_ruby_extension_example/mrblib/example.rb | ak-mochi/mruby | 8981b2fb28dbaed76078aff6c84f19b90832aaaf | [
"MIT"
] | 564 | 2015-01-02T13:41:17.000Z | 2022-03-10T08:39:03.000Z | module CRubyExtension
def CRubyExtension.ruby_method
puts "#{self}: A Ruby Extension"
end
end
| 17 | 36 | 0.745098 |
3898250731b3391ec5796fdf3b37c621a805e41b | 10,879 | php | PHP | src/SclNominetEpp/Domain.php | jpswade/SclNominetEpp | 0bcb80c90b70f51d1dafffc82f2c651a2559a693 | [
"MIT"
] | null | null | null | src/SclNominetEpp/Domain.php | jpswade/SclNominetEpp | 0bcb80c90b70f51d1dafffc82f2c651a2559a693 | [
"MIT"
] | null | null | null | src/SclNominetEpp/Domain.php | jpswade/SclNominetEpp | 0bcb80c90b70f51d1dafffc82f2c651a2559a693 | [
"MIT"
] | null | null | null | <?php
namespace SclNominetEpp;
use DateTime;
/**
* A domain record
*
* @author Tom Oram <tom@scl.co.uk>
*/
class Domain
{
//BILLS
const BILL_REGISTRAR = 'th';
const BILL_CUSTOMER = 'bc';
/**
* Domain name
*
* @var string
*/
private $name;
/**
* Registratio... | 19.961468 | 109 | 0.543616 |
46ca95d64d1d3dfdd0fc39e3125e2c2bae4e38e1 | 174 | py | Python | thinglang/lexer/tokens/inline_comment.py | ofples/thinglang | b1391e8fb42d518fc0018400eecb608d18da915a | [
"MIT"
] | 5 | 2017-11-07T21:32:22.000Z | 2019-06-30T18:35:17.000Z | thinglang/lexer/tokens/inline_comment.py | ofples/thinglang | b1391e8fb42d518fc0018400eecb608d18da915a | [
"MIT"
] | null | null | null | thinglang/lexer/tokens/inline_comment.py | ofples/thinglang | b1391e8fb42d518fc0018400eecb608d18da915a | [
"MIT"
] | 1 | 2020-03-25T18:14:08.000Z | 2020-03-25T18:14:08.000Z | from thinglang.lexer.lexical_token import LexicalToken
class LexicalInlineComment(LexicalToken):
"""
Signifies the start of an inline comment, given by "#".
""" | 24.857143 | 59 | 0.729885 |
23cbb1921547b7b204dd54b8d842f7bc819d5e70 | 3,462 | js | JavaScript | src/malcolmWidgets/jsonTree/jsonTree.component.test.js | btester271828/malcolmjs | 16292d41864f00dd4f7e129618866eb8a732637e | [
"Apache-2.0"
] | 7 | 2017-02-27T17:41:02.000Z | 2019-06-20T12:59:06.000Z | src/malcolmWidgets/jsonTree/jsonTree.component.test.js | btester271828/malcolmjs | 16292d41864f00dd4f7e129618866eb8a732637e | [
"Apache-2.0"
] | 424 | 2018-04-12T15:15:24.000Z | 2022-03-08T23:05:40.000Z | src/malcolmWidgets/jsonTree/jsonTree.component.test.js | btester271828/malcolmjs | 16292d41864f00dd4f7e129618866eb8a732637e | [
"Apache-2.0"
] | 3 | 2016-05-19T15:13:03.000Z | 2018-11-15T10:58:56.000Z | import React from 'react';
import { createShallow, createMount } from '@material-ui/core/test-utils';
import configureStore from 'redux-mock-store';
import JSONTree from './jsonTree.component';
import { harderAttribute, expectedCopy } from '../table/table.stories';
describe('Table container', () => {
let shallow;
... | 25.455882 | 74 | 0.560081 |
d195730817b92aea1d63119a33a2bb7f50a09238 | 934 | rs | Rust | task1/task.rs | Nimor111/AdventOfCode2018 | b928d291d74924db5294d0711cf9fa75771750f7 | [
"Apache-2.0"
] | null | null | null | task1/task.rs | Nimor111/AdventOfCode2018 | b928d291d74924db5294d0711cf9fa75771750f7 | [
"Apache-2.0"
] | null | null | null | task1/task.rs | Nimor111/AdventOfCode2018 | b928d291d74924db5294d0711cf9fa75771750f7 | [
"Apache-2.0"
] | null | null | null | use std::fs::File;
use std::io::{BufRead, BufReader, Error};
use std::collections::HashSet;
fn read_file(filename: &str) -> Result<Vec<i32>, Error> {
let f = File::open(filename)?;
let buffered = BufReader::new(f);
Ok(buffered
.lines()
.map(|s| s.unwrap().parse().unwrap())
.colle... | 21.72093 | 61 | 0.539615 |
bb1b9b68f5d7e6eac1a795939ed73f123873f73f | 1,829 | cs | C# | SharedResources/SharedResources/Screens/iPhone/Accelerometer/ShakeScreen.xib.cs | ghuntley/monotouch-samples | 1e1a1e90a4608bbd13887b213b24989b0a4e8472 | [
"Apache-2.0"
] | 1 | 2019-03-08T09:32:06.000Z | 2019-03-08T09:32:06.000Z | SharedResources/SharedResources/Screens/iPhone/Accelerometer/ShakeScreen.xib.cs | Acidburn0zzz/monotouch-samples | 096b304d7226c3252cf042b73838887713a98ec5 | [
"Apache-2.0"
] | null | null | null | SharedResources/SharedResources/Screens/iPhone/Accelerometer/ShakeScreen.xib.cs | Acidburn0zzz/monotouch-samples | 096b304d7226c3252cf042b73838887713a98ec5 | [
"Apache-2.0"
] | null | null | null |
using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
namespace Example_SharedResources.Screens.iPhone.Accelerometer
{
public partial class ShakeScreen : UIViewController
{
#region Constructors
// The IntPtr and initWithCoder constructors are requ... | 22.036145 | 89 | 0.697102 |
660e27763d6c7649cf05112db0f97437a81fe4e6 | 2,035 | py | Python | lekce02_agregace/04_grupovani.py | qenett/pandas-intro-clone | b79d5383f37faf797eb443165fd4e3f3546f41a8 | [
"CC0-1.0"
] | 1 | 2020-06-01T11:08:30.000Z | 2020-06-01T11:08:30.000Z | lekce02_agregace/04_grupovani.py | qenett/pandas-intro-clone | b79d5383f37faf797eb443165fd4e3f3546f41a8 | [
"CC0-1.0"
] | null | null | null | lekce02_agregace/04_grupovani.py | qenett/pandas-intro-clone | b79d5383f37faf797eb443165fd4e3f3546f41a8 | [
"CC0-1.0"
] | null | null | null | import pandas
u202 = pandas.read_csv("u202.csv", encoding="utf-8")
u203 = pandas.read_csv("u203.csv", encoding="utf-8")
u302 = pandas.read_csv("u302.csv", encoding="utf-8")
u202.dropna(inplace=True)
u203.dropna(inplace=True)
u302.dropna(inplace=True)
u202["místnost"] = "u202"
u203["místnost"] = "u203"
u302["místnost... | 24.22619 | 117 | 0.707617 |
a48c8287d3ab793b3580d1cb545702bea9f17f76 | 756 | php | PHP | app/Http/Controllers/StudentController.php | dzkjz/laravel-advanced-learning | 832245e3fe4ba45097abcb6641a7f0de2c4f5469 | [
"MIT"
] | 1 | 2021-11-16T10:46:52.000Z | 2021-11-16T10:46:52.000Z | app/Http/Controllers/StudentController.php | dzkjz/laravel-advanced-learning | 832245e3fe4ba45097abcb6641a7f0de2c4f5469 | [
"MIT"
] | null | null | null | app/Http/Controllers/StudentController.php | dzkjz/laravel-advanced-learning | 832245e3fe4ba45097abcb6641a7f0de2c4f5469 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Models\Student;
use Illuminate\Http\Request;
class StudentController extends Controller
{
public function showPhone(Request $request)
{
$student = Student::find(1);
$phone = $student->phone;
}
public function pivotTableTest()
{
... | 21.6 | 105 | 0.613757 |
8aa237594b0fbd834eaf0e4e4c25d27c2961d858 | 669 | rs | Rust | crates/services/src/cri/image_service/image_status.rs | saschagrunert/containrs | 3ed113e6d42e6cac744d5a682cb24aa3d77c6707 | [
"Apache-2.0"
] | 49 | 2021-09-08T17:03:05.000Z | 2022-03-28T19:31:21.000Z | crates/services/src/cri/image_service/image_status.rs | containers/containrs | a4c41da700425ee4b38f46669aed9de06c377e37 | [
"Apache-2.0"
] | 321 | 2021-09-09T09:00:04.000Z | 2022-03-31T05:29:55.000Z | crates/services/src/cri/image_service/image_status.rs | saschagrunert/containrs | 3ed113e6d42e6cac744d5a682cb24aa3d77c6707 | [
"Apache-2.0"
] | 11 | 2020-09-04T20:45:11.000Z | 2020-11-06T18:32:42.000Z | use crate::cri::{
api::{ImageStatusRequest, ImageStatusResponse},
cri_service::CRIService,
};
use std::collections::HashMap;
use tonic::{Request, Response, Status};
impl CRIService {
/// handle_image_status returns the status of the image. If the image is not
/// present, returns a response with ImageS... | 29.086957 | 80 | 0.64275 |
dd03c7ef057f8d194e8de5177d3cfcf450936cac | 5,146 | swift | Swift | tipcalculator/ViewController.swift | hollyham/tipcalculator | 8fe50d41f4b33715d0fb4fe63d8fbe6ccb7269fc | [
"Apache-2.0"
] | null | null | null | tipcalculator/ViewController.swift | hollyham/tipcalculator | 8fe50d41f4b33715d0fb4fe63d8fbe6ccb7269fc | [
"Apache-2.0"
] | 1 | 2018-01-05T13:41:04.000Z | 2018-01-05T13:41:04.000Z | tipcalculator/ViewController.swift | hollyham/tipcalculator | 8fe50d41f4b33715d0fb4fe63d8fbe6ccb7269fc | [
"Apache-2.0"
] | null | null | null | //
// ViewController.swift
// tipcalculator
//
// Created by Holly Ham on 12/30/17.
// Copyright © 2017 Holly Ham. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var billField: UITextField!
@IBOutlet weak var tipLabel: UILabel!
@IBOutlet weak var totalLab... | 36.496454 | 107 | 0.611737 |
3880c0a513b606d04a26f4b6c93ad1a98eda4c4a | 1,170 | php | PHP | app/Models/infomationEmploy.php | hoangthanhht/gsxdWebBackend | 507b7337ea7c5fdf3dcf07f4e15a1202c77da672 | [
"MIT"
] | null | null | null | app/Models/infomationEmploy.php | hoangthanhht/gsxdWebBackend | 507b7337ea7c5fdf3dcf07f4e15a1202c77da672 | [
"MIT"
] | null | null | null | app/Models/infomationEmploy.php | hoangthanhht/gsxdWebBackend | 507b7337ea7c5fdf3dcf07f4e15a1202c77da672 | [
"MIT"
] | null | null | null | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class infomationEmploy extends Model
{
use HasFactory;
protected $fillable = [
'codeEmploy',
'userNameEmploy',
'nameEmploy',
'teleEmploy',
'emailEmploy',
'genderE... | 22.075472 | 54 | 0.686325 |
db9e1e38a4a7a0943c24a24a9b336ad8429763cd | 574 | php | PHP | app/Http/Controllers/Api/V1/ContactController.php | jmurphy45/powellsmythe | f07664de30e68a77c22584a22abc304f1d5d6e4f | [
"MIT"
] | null | null | null | app/Http/Controllers/Api/V1/ContactController.php | jmurphy45/powellsmythe | f07664de30e68a77c22584a22abc304f1d5d6e4f | [
"MIT"
] | null | null | null | app/Http/Controllers/Api/V1/ContactController.php | jmurphy45/powellsmythe | f07664de30e68a77c22584a22abc304f1d5d6e4f | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Api\V1;
use App\Http\Requests\ContactUsRequest;
use App\Http\Controllers\Controller;
use App\Mail\ContactUs;
use Illuminate\Support\Facades\Mail;
class ContactController extends Controller
{
/**
* Store a newly created resource in storage.
*
* @param \Illumin... | 22.96 | 65 | 0.681185 |
4d919aa01a7362a110519c108a7e65a9e259140a | 295 | cshtml | C# | HouseholdManager/HouseholdManager.Web/Views/Error/ServerError.cshtml | GalinStoychev/household-manager | 2402c5c25d9a4a84bb293c9212db5873336c7103 | [
"MIT"
] | 3 | 2017-03-27T12:06:05.000Z | 2018-04-09T08:05:39.000Z | HouseholdManager/HouseholdManager.Web/Views/Error/ServerError.cshtml | GalinStoychev/household-manager | 2402c5c25d9a4a84bb293c9212db5873336c7103 | [
"MIT"
] | null | null | null | HouseholdManager/HouseholdManager.Web/Views/Error/ServerError.cshtml | GalinStoychev/household-manager | 2402c5c25d9a4a84bb293c9212db5873336c7103 | [
"MIT"
] | null | null | null | @{
ViewBag.Title = "500 Server Error";
Response.StatusCode = 500;
}
<div class="row">
<div class="col-md-12 text-center">
<h1 class="text-danger">500 Server Error</h1>
<h2 class="header-page">Sorry, our server got confused. Plese try again.</h2>
</div>
</div>
| 22.692308 | 85 | 0.60678 |
03eef91bb371e8521edb16de45ee0ff479166f7c | 1,624 | swift | Swift | test/SILGen/lazy_globals_multiple_vars.swift | ackyshake/swift | 226a8258078bd4a9987fd5e2485ab72d956deda6 | [
"Apache-2.0"
] | 4 | 2016-01-06T22:53:32.000Z | 2021-09-11T23:50:05.000Z | test/SILGen/lazy_globals_multiple_vars.swift | ackyshake/swift | 226a8258078bd4a9987fd5e2485ab72d956deda6 | [
"Apache-2.0"
] | null | null | null | test/SILGen/lazy_globals_multiple_vars.swift | ackyshake/swift | 226a8258078bd4a9987fd5e2485ab72d956deda6 | [
"Apache-2.0"
] | 2 | 2016-11-04T10:07:52.000Z | 2018-04-14T21:55:55.000Z | // RUN: %target-swift-frontend -parse-as-library -emit-silgen %s | FileCheck %s
// CHECK: sil private [[INIT_A_B:@globalinit_.*]] :
// CHECK: global_addr @_Tv26lazy_globals_multiple_vars1aSi
// CHECK: global_addr @_Tv26lazy_globals_multiple_vars1bSi
// CHECK: sil hidden [global_init] @_TF26... | 52.387097 | 79 | 0.685961 |
23e881d477d16abb75808ce659c01d8424220cdb | 607 | lua | Lua | src/operators/distinct.lua | xtofl/RxLua | 34c8fee29aa467e4c0af1a0417c5c335b2b46a49 | [
"MIT"
] | 494 | 2015-08-28T23:13:40.000Z | 2022-02-24T08:47:23.000Z | src/operators/distinct.lua | starwing/RxLua | f3d00e6ac3a6cd12bc2e890b0b7fd0c199146b5a | [
"MIT"
] | 39 | 2015-10-25T15:42:06.000Z | 2021-11-19T09:13:52.000Z | src/operators/distinct.lua | starwing/RxLua | f3d00e6ac3a6cd12bc2e890b0b7fd0c199146b5a | [
"MIT"
] | 89 | 2015-10-30T00:21:13.000Z | 2022-03-16T07:41:11.000Z | local Observable = require 'observable'
--- Returns a new Observable that produces the values from the original with duplicates removed.
-- @returns {Observable}
function Observable:distinct()
return Observable.create(function(observer)
local values = {}
local function onNext(x)
if not values[x] then
... | 21.678571 | 96 | 0.686985 |
1f066b2fc24c1b9de9ee716ee531947e9b34258a | 1,187 | cs | C# | MarWac.Merlin/SourceDrivers/InvalidYamlConfigurationFormatException.cs | maw136/merlin | 8baddcccd9e409fcb85002d43a1b8e8d911ad421 | [
"MIT"
] | null | null | null | MarWac.Merlin/SourceDrivers/InvalidYamlConfigurationFormatException.cs | maw136/merlin | 8baddcccd9e409fcb85002d43a1b8e8d911ad421 | [
"MIT"
] | null | null | null | MarWac.Merlin/SourceDrivers/InvalidYamlConfigurationFormatException.cs | maw136/merlin | 8baddcccd9e409fcb85002d43a1b8e8d911ad421 | [
"MIT"
] | null | null | null | using System;
using System.Runtime.Serialization;
namespace MarWac.Merlin.SourceDrivers
{
/// <summary>
/// Thrown when configuration domain expressed with YAML source is invalid (e.g missing or disorder of expected
/// YAML node names/sequences/etc.). In this case YAML source is valid according t... | 33.914286 | 117 | 0.643639 |
d039ca11426a50f4bee6054978cd1ce62fe85286 | 577 | cpp | C++ | sketches/libraries/AUnit/tests/FailingTest/ExternalTests.cpp | gtraines/Robot1 | 2dfd20dd574aa1ee53b37ce885769d7265d4934b | [
"MIT"
] | 113 | 2018-04-25T12:42:28.000Z | 2022-03-26T23:20:17.000Z | sketches/libraries/AUnit/tests/FailingTest/ExternalTests.cpp | gtraines/Robot1 | 2dfd20dd574aa1ee53b37ce885769d7265d4934b | [
"MIT"
] | 47 | 2018-03-29T21:02:19.000Z | 2022-01-10T15:22:40.000Z | sketches/libraries/AUnit/tests/FailingTest/ExternalTests.cpp | gtraines/Robot1 | 2dfd20dd574aa1ee53b37ce885769d7265d4934b | [
"MIT"
] | 11 | 2018-07-16T16:42:42.000Z | 2022-02-20T15:47:35.000Z | #line 2 "ExternalTests.cpp"
#include "ExternalTests.h"
testing(slow_fail) {
static unsigned long start = millis();
if (millis() - start > 1000) fail();
}
testing(slow_expire) {
static unsigned long start = millis();
if (millis() - start > 1000) expire();
}
testingF(CustomAgainFixture, fixture_slow_fail) {
... | 21.37037 | 51 | 0.682842 |
a438da78a102bacedfa479e328d66fc1420beefa | 930 | php | PHP | app/Models/BahanBaku.php | Danyihza/Slokki | 6ca588290a20c907f4afec1fb0bd316707f8c92d | [
"MIT"
] | null | null | null | app/Models/BahanBaku.php | Danyihza/Slokki | 6ca588290a20c907f4afec1fb0bd316707f8c92d | [
"MIT"
] | null | null | null | app/Models/BahanBaku.php | Danyihza/Slokki | 6ca588290a20c907f4afec1fb0bd316707f8c92d | [
"MIT"
] | null | null | null | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class BahanBaku extends Model
{
use HasFactory;
protected $table = 'bahan_baku';
public $primaryKey = 'id_bahan_baku';
public $keyType = 'string';
/**
* The attributes... | 21.136364 | 66 | 0.562366 |
e547bd452a672a56f69edf973d130bc2815b328f | 1,244 | sql | SQL | docs/deployment/db_deployment_request/db_scripts/delete_duplicate_series_stage.sql | TCIA/national-biomedical-image-archive | ac26ef878a3d8818a0037e2b74ace6b8068f4ce1 | [
"BSD-3-Clause"
] | 1 | 2019-04-22T17:38:54.000Z | 2019-04-22T17:38:54.000Z | docs/deployment/db_deployment_request/db_scripts/delete_duplicate_series_stage.sql | TCIA/national-biomedical-image-archive | ac26ef878a3d8818a0037e2b74ace6b8068f4ce1 | [
"BSD-3-Clause"
] | null | null | null | docs/deployment/db_deployment_request/db_scripts/delete_duplicate_series_stage.sql | TCIA/national-biomedical-image-archive | ac26ef878a3d8818a0037e2b74ace6b8068f4ce1 | [
"BSD-3-Clause"
] | null | null | null | /*L
Copyright SAIC, Ellumen and RSNA (CTP)
Distributed under the OSI-approved BSD 3-Clause License.
See http://ncip.github.com/national-biomedical-image-archive/LICENSE.txt for details.
L*/
-- MAKE SURE YOU DONT LEAVE A DANGLING STUDY!!!
create temporary table series_temp as
select max(general_... | 25.387755 | 89 | 0.773312 |
d2ce3810e6a800398b54ce3d1be343c6a010c4a4 | 2,738 | rb | Ruby | spec/pomo/mo_file_spec.rb | e-tobi/get_pomo | 2b8e5649fa5860fed91e3967c71785656e6718ed | [
"MIT"
] | 7 | 2015-09-18T15:54:25.000Z | 2022-02-07T04:10:42.000Z | spec/pomo/mo_file_spec.rb | e-tobi/get_pomo | 2b8e5649fa5860fed91e3967c71785656e6718ed | [
"MIT"
] | 7 | 2015-01-11T23:49:40.000Z | 2021-05-21T22:27:42.000Z | spec/pomo/mo_file_spec.rb | e-tobi/get_pomo | 2b8e5649fa5860fed91e3967c71785656e6718ed | [
"MIT"
] | 4 | 2015-05-18T11:28:21.000Z | 2021-05-21T03:34:53.000Z | # encoding: utf-8
require 'spec_helper'
require 'get_pomo/mo_file'
describe GetPomo::MoFile do
it "parses empty mo file" do
GetPomo::MoFile.parse(File.read('spec/files/empty.mo')).should == []
end
it "parses empty strings" do
GetPomo::MoFile.parse(File.read('spec/files/empty.mo')).should == []
end
... | 29.12766 | 94 | 0.636596 |
9f9b754f24229148f89859775b136503f53004fd | 797 | ps1 | PowerShell | .github/workflows/scripts/Upload-ReleaseItem.ps1 | Smalls1652/SmallsOnline.Azure.AVDSetup | 3ad12db5e5a73b0af5da8fb9b4432f9eb6e7baae | [
"MIT"
] | null | null | null | .github/workflows/scripts/Upload-ReleaseItem.ps1 | Smalls1652/SmallsOnline.Azure.AVDSetup | 3ad12db5e5a73b0af5da8fb9b4432f9eb6e7baae | [
"MIT"
] | null | null | null | .github/workflows/scripts/Upload-ReleaseItem.ps1 | Smalls1652/SmallsOnline.Azure.AVDSetup | 3ad12db5e5a73b0af5da8fb9b4432f9eb6e7baae | [
"MIT"
] | null | null | null | [CmdletBinding()]
param(
[Parameter(Position = 0, Mandatory)]
[string]$Token,
[Parameter(Position = 1, Mandatory)]
[string]$Name
)
$commonSplat = @{
"Authentication" = "OAuth";
"Token" = (ConvertTo-SecureString -String $Token -AsPlainText -Force);
"ErrorAction" = "Stop";
}
$rel... | 37.952381 | 192 | 0.70138 |
e74adaa8197ecaa1f72956cb8a44b58810fedbfe | 130 | php | PHP | src/Exceptions/MassAssignmentException.php | marcth/ssc-deploy | f54c7c7fdbef6db0fb499ce70cc1fc5bff08fd02 | [
"MIT"
] | null | null | null | src/Exceptions/MassAssignmentException.php | marcth/ssc-deploy | f54c7c7fdbef6db0fb499ce70cc1fc5bff08fd02 | [
"MIT"
] | null | null | null | src/Exceptions/MassAssignmentException.php | marcth/ssc-deploy | f54c7c7fdbef6db0fb499ce70cc1fc5bff08fd02 | [
"MIT"
] | null | null | null | <?php
namespace Marcth\GocDeploy\Exceptions;
use RuntimeException;
class MassAssignmentException extends RuntimeException
{
}
| 11.818182 | 54 | 0.823077 |
8aa3bb7841243ebecf8b1affe63e38ad4faaddac | 6,339 | dart | Dart | lib/widgets/account/payment_item.dart | MohamedAskar/StoreApp | b354891e1f14230f4d5aec98248b3a7f6d18811f | [
"MIT"
] | null | null | null | lib/widgets/account/payment_item.dart | MohamedAskar/StoreApp | b354891e1f14230f4d5aec98248b3a7f6d18811f | [
"MIT"
] | null | null | null | lib/widgets/account/payment_item.dart | MohamedAskar/StoreApp | b354891e1f14230f4d5aec98248b3a7f6d18811f | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:store/Provider/payment_provider.dart';
import 'package:store/screens/account/add_payment_screen.dart';
import 'package:store/models/payment.dart';
import 'package:store/screens/store/checkout_screen.dart';
class PaymentIte... | 37.958084 | 82 | 0.318662 |
c98ceac67ed6a408528c1dc37462173d9567a13f | 438 | tsx | TypeScript | example-ssr/pages/_app.tsx | KirbyMcKenzie/react-modal-sheet | 6366a979fad11390110ca855539ab3fcfa5c5560 | [
"MIT"
] | 259 | 2020-08-12T12:10:55.000Z | 2022-03-30T15:25:45.000Z | example-ssr/pages/_app.tsx | KirbyMcKenzie/react-modal-sheet | 6366a979fad11390110ca855539ab3fcfa5c5560 | [
"MIT"
] | 62 | 2020-10-01T04:32:52.000Z | 2022-03-20T23:43:34.000Z | example-ssr/pages/_app.tsx | KirbyMcKenzie/react-modal-sheet | 6366a979fad11390110ca855539ab3fcfa5c5560 | [
"MIT"
] | 27 | 2020-10-14T12:38:59.000Z | 2022-03-25T23:41:05.000Z | import { createGlobalStyle } from 'styled-components';
import App from 'next/app';
import './index.css';
const GlobalStyle = createGlobalStyle`
body {
margin: 0;
padding: 0;
box-sizing: border-box;
}
`;
class MyApp extends App {
render() {
const { Component, pageProps } = this.props;
return ... | 16.846154 | 54 | 0.589041 |
0313bf4d864851b5817c2a401ca390df47cd0718 | 789 | cpp | C++ | leetcode/0219_Contains_Duplicate_2/result.cpp | theck17/notes | f32f0f4b8f821b1ed38d173ef0913efddd094b91 | [
"MIT"
] | null | null | null | leetcode/0219_Contains_Duplicate_2/result.cpp | theck17/notes | f32f0f4b8f821b1ed38d173ef0913efddd094b91 | [
"MIT"
] | null | null | null | leetcode/0219_Contains_Duplicate_2/result.cpp | theck17/notes | f32f0f4b8f821b1ed38d173ef0913efddd094b91 | [
"MIT"
] | null | null | null | /**
* Copyright (C) 2021 All rights reserved.
*
* FileName :result.cpp
* Author :C.K
* Email :theck17@163.com
* DateTime :2021-06-18 18:48:06
* Description :
*/
#include <string> //字符串类
#include <vector> //STL 动态数组容器
using namespace std;
class Solution {... | 19.725 | 58 | 0.47782 |
3f3c8e0c73349dc2b7708f4cfad7905772ab656e | 4,985 | php | PHP | public/creategraph/show_poll.php | devnouveau/my-first-php | 51baac5de0130802a0a5bdac8d3ac15e9385351f | [
"MIT"
] | null | null | null | public/creategraph/show_poll.php | devnouveau/my-first-php | 51baac5de0130802a0a5bdac8d3ac15e9385351f | [
"MIT"
] | null | null | null | public/creategraph/show_poll.php | devnouveau/my-first-php | 51baac5de0130802a0a5bdac8d3ac15e9385351f | [
"MIT"
] | null | null | null | <?php
// 입력값 전달받기
$vote = $_POST['vote'];
if (empty($vote)) {
echo '<p>You have not voted for a politician.</p>';
exit;
}
/*******************************************
DB 처리
*******************************************/
// DB 연결
$db = new mysqli('localhost', 'poll', 'poll', 'poll');
if (mysqli_connect_errno()) {... | 26.375661 | 81 | 0.567302 |
296baa37634433cef05ef421334310fbcca1a705 | 3,232 | swift | Swift | Clark/UI Components/Bubbles/Typing indicator/ClarkTypingIndicator.swift | ignotusverum/Clark | 697bb1ae25de18e6a81b0f88ef7ccd0f43092357 | [
"MIT"
] | null | null | null | Clark/UI Components/Bubbles/Typing indicator/ClarkTypingIndicator.swift | ignotusverum/Clark | 697bb1ae25de18e6a81b0f88ef7ccd0f43092357 | [
"MIT"
] | null | null | null | Clark/UI Components/Bubbles/Typing indicator/ClarkTypingIndicator.swift | ignotusverum/Clark | 697bb1ae25de18e6a81b0f88ef7ccd0f43092357 | [
"MIT"
] | null | null | null | //
// ClarkTypingIndicator.swift
// Clark
//
// Created by Vladislav Zagorodnyuk on 8/18/17.
// Copyright © 2017 Clark. All rights reserved.
//
import UIKit
import NMessenger
import AsyncDisplayKit
class ClarkTypingIndicator: ContentNode {
// MARK: Private Variables
/** gifNode holds the animated typ... | 43.093333 | 1,109 | 0.689047 |
54d855017db6b76022e7e71fdd5891a891c3432e | 4,242 | cpp | C++ | Tools/PL3dsMaxSceneExport_2008/src/PLSceneCell.cpp | ktotheoz/pixellight | 43a661e762034054b47766d7e38d94baf22d2038 | [
"MIT"
] | 83 | 2015-01-08T15:06:14.000Z | 2021-07-20T17:07:00.000Z | Tools/PL3dsMaxSceneExport_2008/src/PLSceneCell.cpp | PixelLightFoundation/pixellight | 43a661e762034054b47766d7e38d94baf22d2038 | [
"MIT"
] | 27 | 2019-06-18T06:46:07.000Z | 2020-02-02T11:11:28.000Z | Tools/PL3dsMaxSceneExport_2008/src/PLSceneCell.cpp | naetherm/PixelLight | d7666f5b49020334cbb5debbee11030f34cced56 | [
"MIT"
] | 40 | 2015-02-25T18:24:34.000Z | 2021-03-06T09:01:48.000Z | /*********************************************************\
* File: PLSceneCell.cpp *
*
* Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/)
*
* This file is part of PixelLight.
*
* Permission is hereby granted, free of charge, to any person obtaining a co... | 42.848485 | 290 | 0.578265 |
0ad0d945a941459ba1dd6139fd34f44b9bce2bc3 | 706 | cs | C# | samples/ResxFileSample/Models/TreeNode.cs | xakepbean/ResxLocalization | 8286d1174b698067dff6499830342ae7758966e4 | [
"MIT"
] | null | null | null | samples/ResxFileSample/Models/TreeNode.cs | xakepbean/ResxLocalization | 8286d1174b698067dff6499830342ae7758966e4 | [
"MIT"
] | null | null | null | samples/ResxFileSample/Models/TreeNode.cs | xakepbean/ResxLocalization | 8286d1174b698067dff6499830342ae7758966e4 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ResxFileSample.Models
{
public class TreeNode : IEquatable<TreeNode>
{
public string name { get; set; }
public string id { get; set; }
public bool isParent { get; set; }... | 21.393939 | 66 | 0.558074 |
aab4b1f4c7cde51b3d462834f0019fada98cfb5a | 16,859 | lua | Lua | libmoon/lua/filter.lua | imehrdad2012/MoonGen | ac5abec7ddf7140939be26b4e54f9ecb0e83127a | [
"MIT"
] | null | null | null | libmoon/lua/filter.lua | imehrdad2012/MoonGen | ac5abec7ddf7140939be26b4e54f9ecb0e83127a | [
"MIT"
] | null | null | null | libmoon/lua/filter.lua | imehrdad2012/MoonGen | ac5abec7ddf7140939be26b4e54f9ecb0e83127a | [
"MIT"
] | null | null | null | ---------------------------------
--- @file filter.lua
--- @brief Filter ...
--- @todo TODO docu
---------------------------------
local mod = {}
local dpdkc = require "dpdkc"
local device = require "device"
local ffi = require "ffi"
local dpdk = require "dpdk"
local mbitmask = require "bitmask"
local l... | 32.358925 | 121 | 0.719497 |
255f7f65edee479b3570aed337532caf830eec75 | 557 | swift | Swift | Provenance/Sources/Nodes/SpinnerCellNode.swift | themuzzleflare/Provenance | f356e598107b3a5ac0beb890d5a5807bd84444be | [
"MIT"
] | null | null | null | Provenance/Sources/Nodes/SpinnerCellNode.swift | themuzzleflare/Provenance | f356e598107b3a5ac0beb890d5a5807bd84444be | [
"MIT"
] | null | null | null | Provenance/Sources/Nodes/SpinnerCellNode.swift | themuzzleflare/Provenance | f356e598107b3a5ac0beb890d5a5807bd84444be | [
"MIT"
] | null | null | null | import AsyncDisplayKit
final class SpinnerCellNode: ASCellNode {
private let activityIndicatorViewBlock: ASDisplayNodeViewBlock = {
return UIActivityIndicatorView.mediumAnimating
}
init(_ sectionController: SpinnerSC? = nil) {
super.init()
sectionController?.spinnerDelegate = self
setViewBlock(a... | 24.217391 | 68 | 0.759425 |
8cd4a6056a89e3605c3fb7c548cb03f30794e05c | 663 | sql | SQL | layered_gis/poi_leisure/swimming_pool.sql | zdenulo/bigquery-openstreetmap | 2d30845513ac4fa36eec1537456c91a49164eaff | [
"BSD-3-Clause"
] | null | null | null | layered_gis/poi_leisure/swimming_pool.sql | zdenulo/bigquery-openstreetmap | 2d30845513ac4fa36eec1537456c91a49164eaff | [
"BSD-3-Clause"
] | null | null | null | layered_gis/poi_leisure/swimming_pool.sql | zdenulo/bigquery-openstreetmap | 2d30845513ac4fa36eec1537456c91a49164eaff | [
"BSD-3-Clause"
] | null | null | null | SELECT
2253 AS layer_code, 'poi_leisure' AS layer_class, 'swimming_pool' AS layer_name, feature_type AS gdal_type, osm_id, osm_way_id, osm_timestamp, all_tags, geometry
FROM `openstreetmap-public-data-prod.osm_planet.features`
WHERE EXISTS(SELECT 1 FROM UNNEST(all_tags) as tags WHERE tags.key = 'amenity' AND tags.val... | 82.875 | 163 | 0.773756 |
4922a730dc71cfd8af0ec0421b98b2b876d6dd48 | 3,166 | lua | Lua | Core/AddonLib/Widget/WidgetConstants.lua | kapresoft/wow-addon-actionbar-plus | b621fba0841ae385edee280716a4563421b7665f | [
"MIT"
] | 1 | 2022-01-03T01:48:31.000Z | 2022-01-03T01:48:31.000Z | Core/AddonLib/Widget/WidgetConstants.lua | kapresoft/wowaddon-actionbar-plus | b621fba0841ae385edee280716a4563421b7665f | [
"MIT"
] | null | null | null | Core/AddonLib/Widget/WidgetConstants.lua | kapresoft/wowaddon-actionbar-plus | b621fba0841ae385edee280716a4563421b7665f | [
"MIT"
] | null | null | null | local ReloadUI = ReloadUI
local LibStub, M, G = ABP_LibGlobals:LibPack()
---@type AceLibFactory
local CC = ABP_CommonConstants
local AceLibFactory = LibStub('AceLibFactory')
local LibSharedMedia = AceLibFactory:GetAceSharedMedia()
local LogFactory = LibStub(M.LogFactory)
local l = LogFactory('WidgetConstants')
-- ##... | 38.144578 | 116 | 0.781744 |
b6e362ab9d67e9552e6620a30febd031e8214857 | 2,740 | rb | Ruby | test/db/oracle/table_name_test.rb | headius/activerecord-jdbc-adapter | e9366a5a25dc919e7fe7d6319410aec2e9532edb | [
"BSD-2-Clause"
] | null | null | null | test/db/oracle/table_name_test.rb | headius/activerecord-jdbc-adapter | e9366a5a25dc919e7fe7d6319410aec2e9532edb | [
"BSD-2-Clause"
] | 1 | 2020-11-09T20:07:29.000Z | 2020-11-09T20:07:29.000Z | test/db/oracle/table_name_test.rb | headius/activerecord-jdbc-adapter | e9366a5a25dc919e7fe7d6319410aec2e9532edb | [
"BSD-2-Clause"
] | null | null | null | require 'jdbc_common'
require 'db/oracle'
class OracleTableNameTest < Test::Unit::TestCase
def self.startup
SerialNumberMigration.up
SerialMigration.up
end
def self.shutdown
SerialNumberMigration.down
SerialMigration.down
end
class SerialNumberMigration < ActiveRecord::Migration
def se... | 23.826087 | 76 | 0.632482 |
0898a4b356d158640188f815de86b4459c841d8e | 74 | sh | Shell | scripts/codecov.sh | onufrienkovi/django-core-helpers | fa645c75c85b2e5f6522c9e34de30ad6e3b4f265 | [
"MIT"
] | 2 | 2021-05-26T02:33:30.000Z | 2021-06-09T01:37:57.000Z | scripts/codecov.sh | onufrienkovi/django-core-helpers | fa645c75c85b2e5f6522c9e34de30ad6e3b4f265 | [
"MIT"
] | 3 | 2021-03-30T14:15:33.000Z | 2021-09-22T19:22:48.000Z | scripts/codecov.sh | onufrienkovi/django-core-helpers | fa645c75c85b2e5f6522c9e34de30ad6e3b4f265 | [
"MIT"
] | null | null | null | #!/usr/bin/env bash
set -e
bash <(curl -s https://codecov.io/bash) ${@}
| 12.333333 | 44 | 0.594595 |
c3fa30dad3b1950fbf62910408b470c273a9d0b8 | 377 | rb | Ruby | attributes/default.rb | prometheanfire/cookbook-statsd | 0365614c28be833b6c7e05c99eea2600b77ac50f | [
"Apache-2.0"
] | 1 | 2016-05-17T13:35:19.000Z | 2016-05-17T13:35:19.000Z | attributes/default.rb | prometheanfire/cookbook-statsd | 0365614c28be833b6c7e05c99eea2600b77ac50f | [
"Apache-2.0"
] | null | null | null | attributes/default.rb | prometheanfire/cookbook-statsd | 0365614c28be833b6c7e05c99eea2600b77ac50f | [
"Apache-2.0"
] | null | null | null | default['statsd']['graphitePort'] = '2003'
default['statsd']['graphiteHost'] = '127.0.0.1'
default['statsd']['debug'] = false
default['statsd']['address'] = '0.0.0.0'
default['statsd']['port'] = 8125
default['statsd']['mgmt_port'] = 8126
default['statsd']['title'] = 'statsd'
default['statsd']['flushInterval'] = 60000
d... | 37.7 | 57 | 0.65252 |
fef7c9f232ab4d566a37f8d98b8fbf4671e46c03 | 4,956 | lua | Lua | apps/loginMaster/actions/UserAction.lua | LuaGameServer/ORGS | 5d37e7da1e92ee3d8457e2ff94b58789677333e1 | [
"MIT"
] | null | null | null | apps/loginMaster/actions/UserAction.lua | LuaGameServer/ORGS | 5d37e7da1e92ee3d8457e2ff94b58789677333e1 | [
"MIT"
] | null | null | null | apps/loginMaster/actions/UserAction.lua | LuaGameServer/ORGS | 5d37e7da1e92ee3d8457e2ff94b58789677333e1 | [
"MIT"
] | 1 | 2018-12-26T02:51:35.000Z | 2018-12-26T02:51:35.000Z | --[[
Copyright (c) 2015 gameboxcloud.com
Permission is hereby granted, free of chargse, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | 31.169811 | 78 | 0.668684 |
a3b0690ccafd057c6c6dcf3cde48b3d65fcb884c | 21,909 | swift | Swift | Saving-our-Planet.playgroundbook/Contents/Sources/WorldScene.swift | Vyax/WWDC-2019-Saving-our-Planet | 587a4c0bc86b4d31d0d0516a4c03cb4d93ffb60a | [
"MIT"
] | 16 | 2019-05-02T16:05:38.000Z | 2019-05-10T23:38:43.000Z | Saving-our-Planet.playgroundbook/Contents/Sources/WorldScene.swift | Vyax/WWDC-2019-Saving-our-Planet | 587a4c0bc86b4d31d0d0516a4c03cb4d93ffb60a | [
"MIT"
] | null | null | null | Saving-our-Planet.playgroundbook/Contents/Sources/WorldScene.swift | Vyax/WWDC-2019-Saving-our-Planet | 587a4c0bc86b4d31d0d0516a4c03cb4d93ffb60a | [
"MIT"
] | null | null | null | import SceneKit
import UIKit
final class WorldScene : SCNScene {
let worldMapNode = SCNNode()
let tappableItemsNode = SCNNode()
private var waterColor = #colorLiteral(red: 0.2732537091, green: 0.613705039, blue: 0.6768248677, alpha: 1)
private let game: Bool
private var airTraffic = ... | 38.708481 | 202 | 0.565977 |
5f7af835a1511b5b41d9e86a489b8e8baa582e1c | 309 | kt | Kotlin | app/src/main/java/com/strings/attached/musiclibrary/api/album/AlbumDetailResponse.kt | shubham08gupta/MusicLibrary | 352de11b1d6fe623885e451b11322e9f14b4cbac | [
"MIT"
] | null | null | null | app/src/main/java/com/strings/attached/musiclibrary/api/album/AlbumDetailResponse.kt | shubham08gupta/MusicLibrary | 352de11b1d6fe623885e451b11322e9f14b4cbac | [
"MIT"
] | null | null | null | app/src/main/java/com/strings/attached/musiclibrary/api/album/AlbumDetailResponse.kt | shubham08gupta/MusicLibrary | 352de11b1d6fe623885e451b11322e9f14b4cbac | [
"MIT"
] | null | null | null | package com.strings.attached.musiclibrary.api.album
import com.strings.attached.musiclibrary.model.album.AlbumDetail
import kotlinx.serialization.Serializable
@Serializable
data class AlbumDetailResponse(
val album: AlbumDetail? = null,
val error: String? = null,
val message: String? = null,
)
| 25.75 | 64 | 0.779935 |
12511ee90c42bc59c10f621894b377b92e33063d | 1,804 | cs | C# | WhenWeGetMoney/Controllers/TestController.cs | lynnsamuelson/WhenWeGetMoney | bb4c361a8ac9479f381812fe3939102dee12f43a | [
"MIT"
] | null | null | null | WhenWeGetMoney/Controllers/TestController.cs | lynnsamuelson/WhenWeGetMoney | bb4c361a8ac9479f381812fe3939102dee12f43a | [
"MIT"
] | null | null | null | WhenWeGetMoney/Controllers/TestController.cs | lynnsamuelson/WhenWeGetMoney | bb4c361a8ac9479f381812fe3939102dee12f43a | [
"MIT"
] | null | null | null | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using WhenWeGetMoney.Models;
namespace WhenWeGetMoney.Controllers
{
public class TestController : ApiController
{
public WhenWeGetMoneyRep... | 22 | 78 | 0.521064 |
4f2f41ab570231dc61aada55d55751b2665f2427 | 239 | rb | Ruby | lib/chops/view_context.rb | tomasv/chops | 4da992fb8834b6d238dc6c79da317ff732d6e49d | [
"MIT"
] | null | null | null | lib/chops/view_context.rb | tomasv/chops | 4da992fb8834b6d238dc6c79da317ff732d6e49d | [
"MIT"
] | null | null | null | lib/chops/view_context.rb | tomasv/chops | 4da992fb8834b6d238dc6c79da317ff732d6e49d | [
"MIT"
] | null | null | null | module Chops
module ViewContext
def self.controller=(controller)
RequestStore.store[:chops_current_controller] = controller
end
def self.controller
RequestStore.store[:chops_current_controller]
end
end
end
| 19.916667 | 64 | 0.736402 |
2ca90424d40a4641dd04d9587efb5640fd422d2a | 6,106 | dart | Dart | test/network/package_aodv_test.dart | ThomasDem14/adhoc_plugin | e977d57d30a4d48a1f58ca9c080727f182fe0c1b | [
"BSD-3-Clause"
] | 6 | 2021-06-08T10:18:33.000Z | 2021-12-10T13:25:03.000Z | test/network/package_aodv_test.dart | ThomasDem14/adhoc_plugin | e977d57d30a4d48a1f58ca9c080727f182fe0c1b | [
"BSD-3-Clause"
] | 1 | 2021-11-25T18:24:26.000Z | 2021-12-19T11:03:49.000Z | test/network/package_aodv_test.dart | ThomasDem14/adhoc_plugin | e977d57d30a4d48a1f58ca9c080727f182fe0c1b | [
"BSD-3-Clause"
] | 1 | 2021-11-27T09:50:08.000Z | 2021-11-27T09:50:08.000Z | import 'package:adhoc_plugin/src/network/aodv/aodv_helper.dart';
import 'package:adhoc_plugin/src/network/aodv/entry_routing_table.dart';
import 'package:adhoc_plugin/src/network/aodv/routing_table.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
late String srcAddr;
late String dstAddr;
la... | 26.780702 | 79 | 0.647396 |
6f2e59c90f443d3b478c3c0c76e586bf9b2936e6 | 2,359 | html | HTML | application/index/view/resource/list.html | zhuangsuzheng/BLog | b349e5ca6aebbbe0340417eda9809dd62cb7a71a | [
"Apache-2.0"
] | null | null | null | application/index/view/resource/list.html | zhuangsuzheng/BLog | b349e5ca6aebbbe0340417eda9809dd62cb7a71a | [
"Apache-2.0"
] | null | null | null | application/index/view/resource/list.html | zhuangsuzheng/BLog | b349e5ca6aebbbe0340417eda9809dd62cb7a71a | [
"Apache-2.0"
] | null | null | null | <!---资源下载-->
<!DOCTYPE html>
<html lang="en">
<head>
{include file='../application/index/view/model/head.html'}
<link rel="stylesheet" href="/static/bt/css/bootstrap.min.css">
<link rel="stylesheet" href="/static/bt/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="/static/self/css/public.css">... | 28.421687 | 89 | 0.524375 |
ba02470322c04d72b4fd33222af8f4418df4e697 | 2,411 | lua | Lua | vendor/RainbowRepacker/tool/engine_android(5)/assets/scripts/hall/matchHall/gameMatchHall/data/matchRecordDataReward.lua | huangtao/cloud-test | 8087b1337d47daab9eb39335ca6e286df0e4b4dc | [
"Apache-2.0"
] | 1 | 2018-09-12T15:43:32.000Z | 2018-09-12T15:43:32.000Z | vendor/RainbowRepacker/tool/engine_android(5)/assets/scripts/hall/matchHall/gameMatchHall/data/matchRecordDataReward.lua | huangtao/cloud-test | 8087b1337d47daab9eb39335ca6e286df0e4b4dc | [
"Apache-2.0"
] | null | null | null | vendor/RainbowRepacker/tool/engine_android(5)/assets/scripts/hall/matchHall/gameMatchHall/data/matchRecordDataReward.lua | huangtao/cloud-test | 8087b1337d47daab9eb39335ca6e286df0e4b4dc | [
"Apache-2.0"
] | 3 | 2018-09-12T15:43:33.000Z | 2019-07-10T09:50:15.000Z | require("gameData/gameData");
require("core/dict");
--比赛奖励累计数据
local MatchRecordDataReward = class(GameData);
MatchRecordDataReward.Delegate = {
onGetMatchRecordReward = "onGetMatchRecordReward";
};
MatchRecordDataReward.ctor = function(self)
end
MatchRecordDataReward.dtor = function(self)
end
... | 27.089888 | 95 | 0.707175 |
8e992adbad30ada9b0068baa5a534042251619ff | 367 | js | JavaScript | src/utils/router.utils.js | LuciKritZ/critica | ad8014b4c77b32a626fdc48da60c1f17c4012ed7 | [
"MIT"
] | null | null | null | src/utils/router.utils.js | LuciKritZ/critica | ad8014b4c77b32a626fdc48da60c1f17c4012ed7 | [
"MIT"
] | null | null | null | src/utils/router.utils.js | LuciKritZ/critica | ad8014b4c77b32a626fdc48da60c1f17c4012ed7 | [
"MIT"
] | null | null | null | const PLACEHOLDER_ID = ':id';
export const AppRoute = {
HOMEPAGE: '/',
SEARCH: '/search',
PROFILE: '/profile',
USER_PROFILE: `/profile/${PLACEHOLDER_ID}`,
BOOK_DETAILS: `/books/${PLACEHOLDER_ID}`,
MY_BOOKS: `/users/my-books`,
BOOKMARKS: `/users/bookmarks`,
ADMIN_PANEL: `/admin`,
PAY... | 22.9375 | 47 | 0.632153 |
e7818ab1183f3427c8a58fb749c7dc86470678b8 | 281 | php | PHP | app/Modules/Admin/views/_partials/form_buttons/destroy_translation.blade.php | spajz/l5 | 96e40c4d0ce120a0ace07768b1cc02a650727d05 | [
"MIT"
] | null | null | null | app/Modules/Admin/views/_partials/form_buttons/destroy_translation.blade.php | spajz/l5 | 96e40c4d0ce120a0ace07768b1cc02a650727d05 | [
"MIT"
] | null | null | null | app/Modules/Admin/views/_partials/form_buttons/destroy_translation.blade.php | spajz/l5 | 96e40c4d0ce120a0ace07768b1cc02a650727d05 | [
"MIT"
] | null | null | null | @if(isset($item->id) && method_exists($item, 'hasTranslation') && $item->hasTranslation())
<a href="{{ route('admin.' . $moduleLower . '.destroy.translation', [$item->getTranslation()->id])}}" class="btn btn-danger" data-bb="confirm">
Delete Translation
</a>
@endif | 56.2 | 147 | 0.637011 |
20b56994cdb7755fbb2303c1512586cfba1f65c4 | 9,501 | cs | C# | src/NLU.DevOps.Luis.Shared/LuisNLUTrainClient.cs | in4margaret/NLU.DevOps | 44fe5bb8090ba4433ceb19b4ea804ffca0108cd2 | [
"MIT"
] | 1 | 2020-02-12T15:35:42.000Z | 2020-02-12T15:35:42.000Z | src/NLU.DevOps.Luis.Shared/LuisNLUTrainClient.cs | in4margaret/NLU.DevOps | 44fe5bb8090ba4433ceb19b4ea804ffca0108cd2 | [
"MIT"
] | 1 | 2020-02-12T15:32:47.000Z | 2020-02-12T15:32:47.000Z | src/NLU.DevOps.Luis.Shared/LuisNLUTrainClient.cs | in4margaret/NLU.DevOps | 44fe5bb8090ba4433ceb19b4ea804ffca0108cd2 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace NLU.DevOps.Luis
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Logging;
using Microsoft.Azure.CognitiveServices.Language.LU... | 41.671053 | 177 | 0.570466 |
8d7d5f7936525160600cb846209400dcaa3821d4 | 1,871 | js | JavaScript | src/pages/Docs/Doc3.js | GokulnathP/git-co-commit.github.io | af16f27680458e492841eade4fdd33b4b18fd590 | [
"MIT"
] | 1 | 2020-09-07T13:07:27.000Z | 2020-09-07T13:07:27.000Z | src/pages/Docs/Doc3.js | GokulnathP/git-co-commit.github.io | af16f27680458e492841eade4fdd33b4b18fd590 | [
"MIT"
] | null | null | null | src/pages/Docs/Doc3.js | GokulnathP/git-co-commit.github.io | af16f27680458e492841eade4fdd33b4b18fd590 | [
"MIT"
] | null | null | null | import React from 'react';
import Buttons from '../../Layout/Buttons/Buttons';
import BeforePairing from '../../img/git-co-commit-before-gitpair.webp';
import AfterPairing from '../../img/git-co-commit-after-gitpair.webp';
import classes from './Docs.module.css';
const Doc3 = () => {
return (
<>
... | 62.366667 | 343 | 0.667557 |
26bfedd759ebf49ae9ffa1d7e1180bff582ce7c6 | 1,191 | dart | Dart | alryne/lib/src/models/committee.g.dart | goldenercobra/alryne | 3b22d0d23c7a16e32d48479380ff6ac723b50a19 | [
"MIT"
] | null | null | null | alryne/lib/src/models/committee.g.dart | goldenercobra/alryne | 3b22d0d23c7a16e32d48479380ff6ac723b50a19 | [
"MIT"
] | 7 | 2018-02-22T20:07:37.000Z | 2018-03-09T17:57:28.000Z | alryne/lib/src/models/committee.g.dart | goldenercobra/alryne | 3b22d0d23c7a16e32d48479380ff6ac723b50a19 | [
"MIT"
] | null | null | null | // GENERATED CODE - DO NOT MODIFY BY HAND
part of 'committee.dart';
// **************************************************************************
// Generator: JsonSerializableGenerator
// **************************************************************************
Committee _$CommitteeFromJson(Map<String, dynamic> js... | 33.083333 | 80 | 0.515533 |
af285478a423ef756d66218779af643e917bf77d | 246 | py | Python | Python/Errors-and-Exceptions/incorrect-regex.py | ekant1999/HackerRank | 084d4550b4eaf130837ab26a4efdbcaf8b667cdc | [
"MIT"
] | 9 | 2017-03-19T16:27:31.000Z | 2022-02-17T11:42:21.000Z | Python/Errors-and-Exceptions/incorrect-regex.py | ekant1999/HackerRank | 084d4550b4eaf130837ab26a4efdbcaf8b667cdc | [
"MIT"
] | null | null | null | Python/Errors-and-Exceptions/incorrect-regex.py | ekant1999/HackerRank | 084d4550b4eaf130837ab26a4efdbcaf8b667cdc | [
"MIT"
] | 6 | 2019-02-18T11:26:24.000Z | 2022-03-21T14:13:15.000Z | # Enter your code here. Read input from STDIN. Print output to STDOUT
import re
t = int(raw_input())
for i in range(t):
try:
x = re.compile(raw_input())
if x:
print True
except:
print False | 20.5 | 70 | 0.556911 |
dbce3c5b7496a294a91e1eec90da0e22166a774a | 288 | php | PHP | resources/lang/ar/cpanel/models.php | Ahmed31916/CarSellerV2 | cde2ba0124d240895582b22599037aacdf5b70a3 | [
"MIT"
] | null | null | null | resources/lang/ar/cpanel/models.php | Ahmed31916/CarSellerV2 | cde2ba0124d240895582b22599037aacdf5b70a3 | [
"MIT"
] | null | null | null | resources/lang/ar/cpanel/models.php | Ahmed31916/CarSellerV2 | cde2ba0124d240895582b22599037aacdf5b70a3 | [
"MIT"
] | null | null | null | <?php
return [
"AllModels"=>"انواع السيارات",
"Home"=>"الرئيسية",
"Models"=>"الانواع",
"AddNew"=>"اضافة جديد",
"Name_ar"=>"الاسم",
"Name_en"=>"Name",
"Name_ru"=>"Имя",
"BrandName"=>"اسم الشركة",
"CarCount"=>"عدد السيارات",
"Actions"=>"اجراء",
];
| 18 | 34 | 0.53125 |
fe6a829dfbf8995288baefc7647a0bc1edf2fa5d | 23,434 | psm1 | PowerShell | Modules/Microsoft365DSC/DSCResources/MSFT_PPTenantIsolationSettings/MSFT_PPTenantIsolationSettings.psm1 | malauter/Microsoft365DSC | 4ac0b366db19335902bbed71ad1c4b265180ac3e | [
"MIT"
] | 96 | 2019-05-08T17:31:25.000Z | 2020-04-08T05:42:14.000Z | Modules/Microsoft365DSC/DSCResources/MSFT_PPTenantIsolationSettings/MSFT_PPTenantIsolationSettings.psm1 | malauter/Microsoft365DSC | 4ac0b366db19335902bbed71ad1c4b265180ac3e | [
"MIT"
] | 314 | 2019-05-08T11:29:17.000Z | 2020-04-08T19:55:01.000Z | Modules/Microsoft365DSC/DSCResources/MSFT_PPTenantIsolationSettings/MSFT_PPTenantIsolationSettings.psm1 | malauter/Microsoft365DSC | 4ac0b366db19335902bbed71ad1c4b265180ac3e | [
"MIT"
] | 68 | 2019-05-10T10:54:34.000Z | 2020-04-07T15:26:47.000Z | function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
[Parameter(Mandatory = $true)]
[ValidateSet('Yes')]
[System.String]
$IsSingleInstance,
[Parameter()]
[System.Boolean]
$Enabled = $true,
[... | 34.011611 | 142 | 0.551976 |
e4430e47c13f4a40a781038ff5be9c177d2cf17b | 506 | sql | SQL | samples/Solitons.Samples.Database/Scripts/Stubs/case000.sql | AlexeyEvlampiev/Solitons.Core | 22652ad801ca62e6668e4588f66ce49fa2669f27 | [
"MIT"
] | null | null | null | samples/Solitons.Samples.Database/Scripts/Stubs/case000.sql | AlexeyEvlampiev/Solitons.Core | 22652ad801ca62e6668e4588f66ce49fa2669f27 | [
"MIT"
] | null | null | null | samples/Solitons.Samples.Database/Scripts/Stubs/case000.sql | AlexeyEvlampiev/Solitons.Core | 22652ad801ca62e6668e4588f66ce49fa2669f27 | [
"MIT"
] | null | null | null | INSERT INTO data.organization(object_id, id, email)
VALUES('90b74b98-6ee7-491e-a555-71078545c020','Northwind','john@northwind.com')
ON CONFLICT(object_id) DO UPDATE SET
id = EXCLUDED.id, email = EXCLUDED.email;
SELECT FROM data.user_upsert(
'90b74b98-6ee7-491e-a555-71078545c020'
,'katherine@northwind.com',
'cu... | 22 | 79 | 0.729249 |
24b559a4959003621668b2079e52b4e235fb8d5b | 2,631 | php | PHP | src/Video/VideoAnalyzer.php | buddhawilliams/soluble-mediatools | 5d5bb9d3b8dd91fc48f41e25dc0a95e29fb28395 | [
"MIT"
] | 138 | 2018-08-08T13:27:08.000Z | 2022-01-14T21:27:18.000Z | src/Video/VideoAnalyzer.php | buddhawilliams/soluble-mediatools | 5d5bb9d3b8dd91fc48f41e25dc0a95e29fb28395 | [
"MIT"
] | 20 | 2018-08-09T10:30:34.000Z | 2020-07-10T10:19:07.000Z | src/Video/VideoAnalyzer.php | buddhawilliams/soluble-mediatools | 5d5bb9d3b8dd91fc48f41e25dc0a95e29fb28395 | [
"MIT"
] | 10 | 2018-08-20T11:52:37.000Z | 2021-01-13T01:53:07.000Z | <?php
declare(strict_types=1);
/**
* @see https://github.com/soluble-io/soluble-mediatools for the canonical repository
*
* @copyright Copyright (c) 2018-2020 Sébastien Vanvelthem. (https://github.com/belgattitude)
* @license https://github.com/soluble-io/soluble-mediatools/blob/master/LICENSE.md MIT
*/
... | 37.056338 | 195 | 0.695173 |
7f75125ef5b372d07bd08df9ec98f45d8715f401 | 917 | php | PHP | app/Http/Controllers/DiaController.php | lucasmknopf/sischool | 6381e1d4789a95a2d05b0a134e5d0ca223a60bb7 | [
"MIT"
] | null | null | null | app/Http/Controllers/DiaController.php | lucasmknopf/sischool | 6381e1d4789a95a2d05b0a134e5d0ca223a60bb7 | [
"MIT"
] | null | null | null | app/Http/Controllers/DiaController.php | lucasmknopf/sischool | 6381e1d4789a95a2d05b0a134e5d0ca223a60bb7 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Dia;
use App\Http\Requests\DiaRequest;
use Illuminate\Http\Request;
class DiaController extends Controller
{
public function index(){
$dias = Dia::all();
return view('dia.list', ['dias'=> $dias]);
}
public function create(){
return v... | 18.34 | 55 | 0.567067 |
b68b3008b24cf8fdafe7c53c4416e41ff0cd6a43 | 1,232 | rs | Rust | src/scale/errors.rs | 0x7CFE/rust-music-theory | 55a6f22ce697ce20227e9068cf1b343dce65e124 | [
"MIT"
] | 511 | 2020-01-25T05:48:18.000Z | 2022-03-26T10:35:45.000Z | src/scale/errors.rs | 0x7CFE/rust-music-theory | 55a6f22ce697ce20227e9068cf1b343dce65e124 | [
"MIT"
] | 28 | 2020-01-26T15:37:10.000Z | 2022-01-26T19:19:13.000Z | src/scale/errors.rs | 0x7CFE/rust-music-theory | 55a6f22ce697ce20227e9068cf1b343dce65e124 | [
"MIT"
] | 25 | 2020-01-27T16:58:44.000Z | 2022-03-06T12:32:13.000Z | use crate::interval::IntervalError;
use crate::note::NoteError;
use std::error;
use std::fmt;
#[derive(Debug, Clone)]
pub enum ScaleError {
InvalidInterval,
ModeFromRegex,
InvalidRegex,
}
impl fmt::Display for ScaleError {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match *self {
... | 22.814815 | 80 | 0.566558 |
93f6184e34aeef80eb9e5ea83ea51dc3e3f5ca30 | 952 | cs | C# | Data Integration Framework/LegacyIntegrator/IISBlobAdapter/IISBlobDetails.cs | Infosys/Intelligent-Bot-Management- | d3c8c29963ca66852d8925d2add0ba66af180b55 | [
"Apache-2.0"
] | null | null | null | Data Integration Framework/LegacyIntegrator/IISBlobAdapter/IISBlobDetails.cs | Infosys/Intelligent-Bot-Management- | d3c8c29963ca66852d8925d2add0ba66af180b55 | [
"Apache-2.0"
] | null | null | null | Data Integration Framework/LegacyIntegrator/IISBlobAdapter/IISBlobDetails.cs | Infosys/Intelligent-Bot-Management- | d3c8c29963ca66852d8925d2add0ba66af180b55 | [
"Apache-2.0"
] | null | null | null | /****************************************************************
Copyright 2021 Infosys Ltd.
Use of this source code is governed by Apache License Version 2.0 that can be found in the LICENSE file or at
http://www.apache.org/licenses/
***************************************************************/
//using Sy... | 34 | 111 | 0.542017 |
ed4d9c29ece3f838c90905a7992bb9aea7c95f6e | 394 | h | C | AnimalCooking/MenuButtonRenderer.h | TenByTen-Studios/AnimalCooking | 8bb22f426cdc819cefde16caa23d8eb045276be8 | [
"MIT"
] | null | null | null | AnimalCooking/MenuButtonRenderer.h | TenByTen-Studios/AnimalCooking | 8bb22f426cdc819cefde16caa23d8eb045276be8 | [
"MIT"
] | 23 | 2020-03-02T16:43:28.000Z | 2020-04-16T09:58:08.000Z | AnimalCooking/MenuButtonRenderer.h | TenByTen-Studios/AnimalCooking | 8bb22f426cdc819cefde16caa23d8eb045276be8 | [
"MIT"
] | null | null | null | #pragma once
#include "Component.h"
#include "Transform.h"
class MenuButtonRenderer : public Component
{
public:
MenuButtonRenderer(Texture* t);
~MenuButtonRenderer() { texture = nullptr; }
void setFocused(bool f) { focused = f; }
void init() override;
void draw() override;
void setTexture(Texture* t) { texture... | 17.130435 | 45 | 0.708122 |
95da4e1cfc29d9fda2f79ce0120f1939e1af776a | 1,181 | rb | Ruby | spec/phone_spec.rb | amymichellejohnson/phone_book | 1723f2806d271b5ba81f6a5b6703a769ac805663 | [
"MIT"
] | null | null | null | spec/phone_spec.rb | amymichellejohnson/phone_book | 1723f2806d271b5ba81f6a5b6703a769ac805663 | [
"MIT"
] | null | null | null | spec/phone_spec.rb | amymichellejohnson/phone_book | 1723f2806d271b5ba81f6a5b6703a769ac805663 | [
"MIT"
] | null | null | null | require("rspec")
require("phone")
require("contact")
describe("Phone") do
before() do
Phone.clear()
end
describe (".all") do
it ("is empty at first") do
expect(Phone.all()).to(eq([]))
end
end
describe("#save") do
it ("adds an object (type and phone number) to the array") do
tes... | 24.102041 | 88 | 0.61558 |
43f646dee33ffffa8de7ba3b3831c00b808a535e | 179 | ts | TypeScript | __tests__/text_node.test.ts | MeilCli/Jfol.Ts | 3ac7d4fb5c4f92ee82ed917d0d681daa1a74d78e | [
"MIT"
] | null | null | null | __tests__/text_node.test.ts | MeilCli/Jfol.Ts | 3ac7d4fb5c4f92ee82ed917d0d681daa1a74d78e | [
"MIT"
] | 2 | 2021-05-08T08:07:52.000Z | 2021-05-10T16:41:13.000Z | __tests__/text_node.test.ts | MeilCli/Jfol.Ts | 3ac7d4fb5c4f92ee82ed917d0d681daa1a74d78e | [
"MIT"
] | null | null | null | import { TextNode, isTextNode } from "../src/nodes/text_node";
test("isTextNode", () => {
const value: TextNode = { text: "" };
expect(isTextNode(value)).toBe(true);
});
| 25.571429 | 62 | 0.614525 |
0d3044e2136d8e1fb80bf77566df6ec88880452c | 5,629 | h | C | concept_tests/drivers/device_driver.h | jedrzejboczar/ubik-micromouse | 6470368de0c3207fc278bcfa604d1fdd74aaeb8f | [
"MIT"
] | 3 | 2019-10-30T07:37:47.000Z | 2021-01-21T11:50:20.000Z | concept_tests/drivers/device_driver.h | jedrzejboczar/ubik-micromouse | 6470368de0c3207fc278bcfa604d1fdd74aaeb8f | [
"MIT"
] | null | null | null | concept_tests/drivers/device_driver.h | jedrzejboczar/ubik-micromouse | 6470368de0c3207fc278bcfa604d1fdd74aaeb8f | [
"MIT"
] | null | null | null | #pragma once
#include <cstddef>
/*
* This is an interface for device configuration and control.
* It operates directly on hardware. It should confgure device
* based on request data and start it in interrupt mode (preferably
* with DMA). After waking up from sleep it is required to either
* abort() cleaning up t... | 33.111765 | 87 | 0.658732 |
06c3c7a6f5717b00db5be2b6e4a4f5cc83105d2f | 667 | py | Python | app/grandchallenge/reader_studies/migrations/0005_readerstudy_workstation_config.py | njmhendrix/grand-challenge.org | 9bc36f5e26561a78bd405e8ea5e4c0f86c95f011 | [
"Apache-2.0"
] | 1 | 2021-02-09T10:30:44.000Z | 2021-02-09T10:30:44.000Z | app/grandchallenge/reader_studies/migrations/0005_readerstudy_workstation_config.py | njmhendrix/grand-challenge.org | 9bc36f5e26561a78bd405e8ea5e4c0f86c95f011 | [
"Apache-2.0"
] | null | null | null | app/grandchallenge/reader_studies/migrations/0005_readerstudy_workstation_config.py | njmhendrix/grand-challenge.org | 9bc36f5e26561a78bd405e8ea5e4c0f86c95f011 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.2.6 on 2019-10-15 10:05
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("workstation_configs", "0001_initial"),
("reader_studies", "0004_auto_20191002_1322"),
]
operations = [
... | 25.653846 | 61 | 0.592204 |
5d1b2a4f682f4dd4ba7a71698dff5a1e231f6ddb | 1,943 | cpp | C++ | firmware/src/main.cpp | brianpepin/lpm | 969105a6374fa65c2de4e74a119d614b32e6ea2c | [
"MIT"
] | 3 | 2020-06-02T01:23:18.000Z | 2022-02-25T22:20:24.000Z | firmware/src/main.cpp | brianpepin/lpm | 969105a6374fa65c2de4e74a119d614b32e6ea2c | [
"MIT"
] | null | null | null | firmware/src/main.cpp | brianpepin/lpm | 969105a6374fa65c2de4e74a119d614b32e6ea2c | [
"MIT"
] | null | null | null | #include <globals.h>
#include <adc.h>
#include <battery.h>
#include <button.h>
#include <power.h>
#include <flash.h>
#include <logger.h>
#include <views/default.h>
Button buttons[] =
{
{PIN_UP, BUTTON_ACTIVE_LOW},
{PIN_DOWN, BUTTON_ACTIVE_LOW},
{PIN_LEFT, BUTTON_ACTIVE_LOW},
{PIN_RI... | 18.158879 | 75 | 0.626866 |
e715274ccafc94ce501569bd536f37065f4f7415 | 99 | php | PHP | hphp/hack/test/lint/stdlib_str_usage.php | donsbot/hhvm | ac98a590f75c569e1249b6c1145c7512c7bd240e | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2022-03-11T02:25:37.000Z | 2022-03-11T02:25:37.000Z | hphp/hack/test/lint/stdlib_str_usage.php | donsbot/hhvm | ac98a590f75c569e1249b6c1145c7512c7bd240e | [
"PHP-3.01",
"Zend-2.0"
] | 3 | 2022-02-17T04:00:03.000Z | 2022-03-24T03:45:33.000Z | hphp/hack/test/lint/stdlib_str_usage.php | donsbot/hhvm | ac98a590f75c569e1249b6c1145c7512c7bd240e | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2022-02-19T09:29:50.000Z | 2022-02-19T09:29:50.000Z | <?hh
function f() {
if (strstr("asdf", "s") === false) {}
if (strpos("asdf", "a") === 0) {}
}
| 14.142857 | 39 | 0.434343 |
a171d957e3b3cef40aa1154ea5098142804d5c6c | 35 | ts | TypeScript | node_modules/intl-list-format/locale-data/ky-KG.d.ts | Meysamsarabadani/devtools-frontend | b8286ab97de4f9b16881495cd76fa40a370ea8dc | [
"BSD-3-Clause"
] | 2,389 | 2015-06-05T05:06:05.000Z | 2022-03-31T07:08:56.000Z | node_modules/intl-list-format/locale-data/ky-KG.d.ts | Meysamsarabadani/devtools-frontend | b8286ab97de4f9b16881495cd76fa40a370ea8dc | [
"BSD-3-Clause"
] | 157 | 2016-02-03T06:03:25.000Z | 2022-02-03T13:55:47.000Z | node_modules/intl-list-format/locale-data/ky-KG.d.ts | Meysamsarabadani/devtools-frontend | b8286ab97de4f9b16881495cd76fa40a370ea8dc | [
"BSD-3-Clause"
] | 388 | 2015-10-10T12:45:24.000Z | 2022-03-22T18:11:08.000Z | //# sourceMappingURL=ky-KG.d.ts.map | 35 | 35 | 0.742857 |
0db116e70a6cac4422828c5dbbe8cb74d5db7feb | 1,189 | cs | C# | cv19ResSupportV3.Tests/V3/UseCase/UpdateResidentUseCaseTest.cs | LBHSPreston/cv-19-res-support-v3 | 20c8260bed6a43e2545ecfe3d2c5cc1a2f547f74 | [
"MIT"
] | null | null | null | cv19ResSupportV3.Tests/V3/UseCase/UpdateResidentUseCaseTest.cs | LBHSPreston/cv-19-res-support-v3 | 20c8260bed6a43e2545ecfe3d2c5cc1a2f547f74 | [
"MIT"
] | 5 | 2020-11-26T11:25:21.000Z | 2021-09-24T11:29:06.000Z | cv19ResSupportV3.Tests/V3/UseCase/UpdateResidentUseCaseTest.cs | LBHackney-IT/cv-19-res-support-v3 | ce3c54ac9307966be16efa567c6d3810da7d2e67 | [
"MIT"
] | null | null | null | using System.Runtime.InteropServices;
using cv19ResSupportV3.V3.Domain;
using cv19ResSupportV3.V3.Domain.Commands;
using cv19ResSupportV3.V3.Factories.Commands;
using cv19ResSupportV3.V3.Gateways;
using cv19ResSupportV3.V3.UseCase;
using FluentAssertions;
using Moq;
using NUnit.Framework;
namespace cv19ResSupportV3.Te... | 30.487179 | 117 | 0.679563 |
322fb14e9d2ad30a2be117f0db08935225c62714 | 72 | sh | Shell | scripts/stop-system-monitor.sh | pientaa/opening-black-box | 9fa3ecd5298a940893f289550d441a38b0bee71d | [
"Apache-2.0"
] | null | null | null | scripts/stop-system-monitor.sh | pientaa/opening-black-box | 9fa3ecd5298a940893f289550d441a38b0bee71d | [
"Apache-2.0"
] | 24 | 2020-12-31T09:21:55.000Z | 2021-06-16T12:06:00.000Z | scripts/stop-system-monitor.sh | pientaa/opening-black-box | 9fa3ecd5298a940893f289550d441a38b0bee71d | [
"Apache-2.0"
] | null | null | null | #!/bin/bash
kill -9 $(ps -aux | grep system-monitor | awk '{print $2}') | 24 | 59 | 0.597222 |
a96881e9a9375d59c083c41d9058f29ea62a0575 | 167,268 | html | HTML | Documentation/js/html/webgl/RenderingContext.html | babylonhx/babylonHX-Legacy | 76c7c40cd783c573c5127e4f87954cfcf402efba | [
"Apache-2.0"
] | 1 | 2015-03-08T20:00:01.000Z | 2015-03-08T20:00:01.000Z | Documentation/js/html/webgl/RenderingContext.html | babylonhx/babylonHX-Legacy | 76c7c40cd783c573c5127e4f87954cfcf402efba | [
"Apache-2.0"
] | null | null | null | Documentation/js/html/webgl/RenderingContext.html | babylonhx/babylonHX-Legacy | 76c7c40cd783c573c5127e4f87954cfcf402efba | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html>
<html lang="en"><head><meta charset="utf-8"/><link href="../../../bootstrap-combined.min.css" rel="stylesheet" /><script type="text/javascript" src="../../../jquery-1.9.1.min.js"></script><script type="text/javascript" src="../../../bootstrap.min.js"></script><link href="../../../styles.css" rel="styles... | 83,634 | 167,252 | 0.646274 |
86d3f91b5846d4ebbdbc53bbc4e9a8a6a0d2f469 | 26,075 | rs | Rust | tokio/src/runtime/thread_pool/worker.rs | fakeshadow/tokio | 345b29ca11755c4dcf6c371ddfd9ce3071e60273 | [
"MIT"
] | 1 | 2021-06-18T16:35:33.000Z | 2021-06-18T16:35:33.000Z | tokio/src/runtime/thread_pool/worker.rs | fakeshadow/tokio | 345b29ca11755c4dcf6c371ddfd9ce3071e60273 | [
"MIT"
] | null | null | null | tokio/src/runtime/thread_pool/worker.rs | fakeshadow/tokio | 345b29ca11755c4dcf6c371ddfd9ce3071e60273 | [
"MIT"
] | null | null | null | //! A scheduler is initialized with a fixed number of workers. Each worker is
//! driven by a thread. Each worker has a "core" which contains data such as the
//! run queue and other state. When `block_in_place` is called, the worker's
//! "core" is handed off to a new thread allowing the scheduler to continue to
//! m... | 31.302521 | 96 | 0.557546 |
0d5cfe06290a7f0088e12ee4250eaed3b2eddb3d | 11,439 | cs | C# | Assets/Scripts/_Player/Runtimes/KeyRuntimes/RuntimeVolunAmulet.cs | Amulet-Games/VolunsTale-Codes-Repository | 2169ad247df9dc859b192fb3c41048af6a8efc1d | [
"MIT"
] | null | null | null | Assets/Scripts/_Player/Runtimes/KeyRuntimes/RuntimeVolunAmulet.cs | Amulet-Games/VolunsTale-Codes-Repository | 2169ad247df9dc859b192fb3c41048af6a8efc1d | [
"MIT"
] | null | null | null | Assets/Scripts/_Player/Runtimes/KeyRuntimes/RuntimeVolunAmulet.cs | Amulet-Games/VolunsTale-Codes-Repository | 2169ad247df9dc859b192fb3c41048af6a8efc1d | [
"MIT"
] | null | null | null | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace SA
{
public class RuntimeVolunAmulet : MonoBehaviour
{
[Header("Intensity Config.")]
public float _originalEmitIntensity = 1.4f;
public float _maxEmitIntensity = 2.6f;
public ... | 35.414861 | 161 | 0.611505 |
d6543ae51717ff7fe31fceea9aff28efd682c36c | 4,835 | cs | C# | ONI/ElectrolyzerFix/Main.cs | gtrafford/unity-mods | e06d9f81451af74a09ee35d292b716341abef767 | [
"MIT"
] | 6 | 2018-09-13T22:43:47.000Z | 2020-09-22T17:51:33.000Z | ONI/ElectrolyzerFix/Main.cs | gtrafford/unity-mods | e06d9f81451af74a09ee35d292b716341abef767 | [
"MIT"
] | null | null | null | ONI/ElectrolyzerFix/Main.cs | gtrafford/unity-mods | e06d9f81451af74a09ee35d292b716341abef767 | [
"MIT"
] | 9 | 2018-09-28T06:06:47.000Z | 2022-03-07T10:14:34.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Harmony12;
using UnityModManagerNet;
namespace ElectrolyzerFix
{
public class Main
{
public static UnityModManager.ModEntry mod;
static bool Load(UnityModManager.ModEntry modEn... | 42.787611 | 245 | 0.448397 |
7f780d93febd31a881f73f08d7da77cb74377c87 | 2,064 | php | PHP | controllers/Fav.php | Berailitz/yamb | 4bd85fd3e57d0a619da54b6c39ea69f4f47e8f07 | [
"MIT"
] | null | null | null | controllers/Fav.php | Berailitz/yamb | 4bd85fd3e57d0a619da54b6c39ea69f4f47e8f07 | [
"MIT"
] | null | null | null | controllers/Fav.php | Berailitz/yamb | 4bd85fd3e57d0a619da54b6c39ea69f4f47e8f07 | [
"MIT"
] | null | null | null | <?php
/*
* Yamb - A module for NForum, a replacement of Mobile Module
*
* @auther paper777 <wuzhyy@163.com>
*
*/
class FavController extends NF_YambController
{
private $level = 0;
public function init()
{
parent::init();
$this->requestLogin();
if (!empty($this->params['l... | 26.126582 | 92 | 0.382267 |
af7a5770f1219659362fe52219dd88eb5e528d33 | 1,068 | py | Python | xtools/math.py | xikasan/xtools | 07c5642eb68a68e18d755fdd680058e843c3a789 | [
"MIT"
] | 1 | 2020-03-02T10:13:46.000Z | 2020-03-02T10:13:46.000Z | xtools/math.py | xikasan/xtools | 07c5642eb68a68e18d755fdd680058e843c3a789 | [
"MIT"
] | null | null | null | xtools/math.py | xikasan/xtools | 07c5642eb68a68e18d755fdd680058e843c3a789 | [
"MIT"
] | null | null | null | # coding: utf-8
import numpy as np
def d2r(d):
if hasattr(d, "__len__"):
if isinstance(d, list):
return [d2r(de) for de in d]
if isinstance(d, tuple):
return (d2r(de) for de in d)
return d * np.pi / 180
def r2d(r):
if hasattr(r, "__len__"):
if isinstance(... | 23.733333 | 77 | 0.486891 |
5bd30972d90a059ef03ae9bf6422b3c4c050fd72 | 815 | css | CSS | w7d4/skeleton/application.css | MasonChinkin/aA | 0118d92a023a8f5358138b01570f874e219e9942 | [
"Apache-2.0"
] | null | null | null | w7d4/skeleton/application.css | MasonChinkin/aA | 0118d92a023a8f5358138b01570f874e219e9942 | [
"Apache-2.0"
] | null | null | null | w7d4/skeleton/application.css | MasonChinkin/aA | 0118d92a023a8f5358138b01570f874e219e9942 | [
"Apache-2.0"
] | null | null | null | h4 {
color: darkblue;
cursor: pointer;
}
h4:hover {
text-decoration: underline;
}
#rainbow {
position: absolute;
top: 0;
left: 300px;
}
h3 {
position: absolute;
top: 1px;
}
.red {
background-color: red;
width: 100px;
height: 100px;
}
.orange {
background-color: orange;
width: 50px;
heig... | 11.013514 | 36 | 0.631902 |
9c123d2ea0d8561c65a4615b3461d01c608894bb | 405 | kt | Kotlin | app/src/main/java/com/myweatherapp/AppState.kt | Harasz/MyWeatherApp | 6aa85edd4686fa3af9f1b8061d1e929db80dce04 | [
"MIT"
] | null | null | null | app/src/main/java/com/myweatherapp/AppState.kt | Harasz/MyWeatherApp | 6aa85edd4686fa3af9f1b8061d1e929db80dce04 | [
"MIT"
] | null | null | null | app/src/main/java/com/myweatherapp/AppState.kt | Harasz/MyWeatherApp | 6aa85edd4686fa3af9f1b8061d1e929db80dce04 | [
"MIT"
] | null | null | null | package com.myweatherapp
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.myweatherapp.model.WeatherData
class AppState {
companion object {
private val _data = MutableLiveData<WeatherData>()
val data: LiveData<WeatherData> = _data
@JvmStatic
... | 23.823529 | 58 | 0.688889 |
8293721c93b71efabc4ec8ddffbcc167a1ffddb5 | 25,974 | ps1 | PowerShell | helpers/functions/Get-ChocolateyWebFile.ps1 | cryptchk/simbols | c68e6213111464a4031ca3cb18f41e741a55a715 | [
"Apache-2.0"
] | null | null | null | helpers/functions/Get-ChocolateyWebFile.ps1 | cryptchk/simbols | c68e6213111464a4031ca3cb18f41e741a55a715 | [
"Apache-2.0"
] | null | null | null | helpers/functions/Get-ChocolateyWebFile.ps1 | cryptchk/simbols | c68e6213111464a4031ca3cb18f41e741a55a715 | [
"Apache-2.0"
] | 2 | 2020-11-04T08:13:26.000Z | 2020-11-06T08:32:57.000Z | # Copyright 2011 - Present RealDimensions Software, LLC & original authors/contributors from https://github.com/chocolatey/chocolatey
#
# 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
#
# h... | 48.189239 | 239 | 0.806922 |
8c0d0d633e46a3f6c3b5cc23eda111f976165745 | 7,743 | sql | SQL | PolicyMicroservice/src/main/resources/data.sql | akshitchandora/Policy-Administration-System | f4182c25aabe20bdd530fb4b2866542edead8677 | [
"MIT"
] | 2 | 2021-01-29T07:59:13.000Z | 2021-04-04T06:56:43.000Z | PolicyMicroservice/src/main/resources/data.sql | akshitchandora/Policy-Administration-System | f4182c25aabe20bdd530fb4b2866542edead8677 | [
"MIT"
] | null | null | null | PolicyMicroservice/src/main/resources/data.sql | akshitchandora/Policy-Administration-System | f4182c25aabe20bdd530fb4b2866542edead8677 | [
"MIT"
] | 1 | 2021-05-25T04:45:25.000Z | 2021-05-25T04:45:25.000Z | INSERT INTO Policy_Master(Policy_ID,Property_Type,Consumer_Type,Assured_Sum,Tenure,Business_Value,Property_Value,Base_Location,Type) VALUES ('P01','Building','Owner','2,00,00,000','2 year',8,5,'Chennai','Pay Back');
INSERT INTO Policy_Master(Policy_ID,Property_Type,Consumer_Type,Assured_Sum,Tenure,Business_Value,Prope... | 215.083333 | 232 | 0.798528 |
5ad986896ee8fce4cd55ce9cf1e534158d03a928 | 3,582 | cs | C# | Runtime/Trigger/Triggers/StratusSelectableProxy.cs | Azurelol/Stratus-Core | ff86ec280eff23054cdff07e35fbbf8d113d5068 | [
"MIT"
] | 16 | 2016-08-12T00:39:26.000Z | 2021-08-19T17:09:26.000Z | Runtime/Trigger/Triggers/StratusSelectableProxy.cs | Azurelol/Stratus-Core | ff86ec280eff23054cdff07e35fbbf8d113d5068 | [
"MIT"
] | 13 | 2017-10-15T14:35:47.000Z | 2018-08-05T03:33:51.000Z | Runtime/Trigger/Triggers/StratusSelectableProxy.cs | Azurelol/Stratus-Core | ff86ec280eff23054cdff07e35fbbf8d113d5068 | [
"MIT"
] | 3 | 2019-11-03T05:52:48.000Z | 2020-11-13T01:15:30.000Z | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
using UnityEngine.Events;
namespace Stratus
{
public class StratusSelectableProxy : StratusProxy, IEventSystemHandler, IPointerEnterHandler,
IPointerExitHandler, IPointerDownHandler,... | 28.887097 | 140 | 0.617253 |
e8722e084dbef9cd3c466d5007423c235ae4fe80 | 5,416 | css | CSS | pacote-download/template_matrix/_css/style.css | KawanZadra3112/Meus-Templates | 3fcb6fc66846e4d495118c8c4988c3e0986384e7 | [
"MIT"
] | null | null | null | pacote-download/template_matrix/_css/style.css | KawanZadra3112/Meus-Templates | 3fcb6fc66846e4d495118c8c4988c3e0986384e7 | [
"MIT"
] | null | null | null | pacote-download/template_matrix/_css/style.css | KawanZadra3112/Meus-Templates | 3fcb6fc66846e4d495118c8c4988c3e0986384e7 | [
"MIT"
] | null | null | null | *{padding: 0; margin: 0; box-sizing: border-box;}
img{
max-width: 100% ;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.mb-30 {
margin-bottom: 30px;
}
.bl-0 {
border-left: 1px solid transparent !important;
}
.bbt-0{
border-bottom: 0 !important;
}
.bt-0{
border-top:... | 16.313253 | 83 | 0.61226 |
f610aa4c07d63a4b170aea3c6bde113f89ace473 | 331 | swift | Swift | Sources/Fakery/Generators/Car.swift | EricWVGG/Fakery | cc9df445328124b7f910771d60f4482f1ed8bdce | [
"MIT"
] | null | null | null | Sources/Fakery/Generators/Car.swift | EricWVGG/Fakery | cc9df445328124b7f910771d60f4482f1ed8bdce | [
"MIT"
] | null | null | null | Sources/Fakery/Generators/Car.swift | EricWVGG/Fakery | cc9df445328124b7f910771d60f4482f1ed8bdce | [
"MIT"
] | null | null | null | import Foundation
<<<<<<< HEAD
public final class Car: Generator {
public func brand() -> String {
return generate("car.brand")
=======
extension Faker {
public final class Car: Generator {
public func brand() -> String {
return generate("car.brand")
}
>>>>>>> 92d714d5b6626f629e3dccc79963f3ca8b16... | 20.6875 | 48 | 0.652568 |